Display method and electronic equipment
By responding to user operations on electronic devices and displaying contents of different operable objects on different desktop pages, the complex operation of existing large-screen devices is solved, and ease of use and freedom is improved.
Patent Information
- Application Number
- CN202311612226.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2025-05-27
AI Technical Summary
The operation steps of existing large-screen devices in split screens and launching multiple applications are complicated, resulting in poor ease of use and low freedom when using them.
By providing a display method on an electronic device, the display content corresponding to different operable objects is displayed on different desktop pages in response to user operations, simplifying the operation step of the user initiating the display content corresponding to multiple operable objects.
It improves the ease of use and freedom of electronic devices, simplifies user operation steps, and enables users to more conveniently meet the needs of multi-application operation.
Smart Images

Figure CN120045114A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a display method and an electronic device. Background Art
[0002] At present, in work and life, large-screen devices such as foldable phones, tablets, and car computers are becoming more and more popular among users, becoming a new outlet and trend. Users have more and more demands for split-screen and multi-application operations on large-screen devices, and the frequency is higher.
[0003] However, the current operation steps for splitting the screen and launching multiple applications on large-screen devices are complicated, resulting in poor usability and low freedom for users when using large-screen devices. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a display method and an electronic device. Through the technical solution provided by the present application, the electronic device displays display contents corresponding to different operable objects on different desktop pages in response to user operations, which simplifies the operation steps for users to start display contents corresponding to multiple operable objects and improves the usability and freedom of the electronic device.
[0005] In order to achieve the above technical objectives, the embodiments of the present application provide the following technical solutions:
[0006] In a first aspect, a display method is provided, which is applied to an electronic device, and the method includes: displaying a first interface, the first interface is used to display the desktop of the electronic device; in response to a first operation of a user on the first interface, obtaining a first desktop page and a second desktop page currently displayed on the first interface, the desktop including the first desktop page and the second desktop page; in response to a second operation of a user on a first object displayed on the first interface, displaying first display content corresponding to the first object on the first desktop page; in response to a third operation of a user on a second object displayed on the first interface, displaying second display content corresponding to the second object on the second desktop page.
[0007] In some examples, the first object or the second object is, for example, an application icon, a folder, a card, a widget, etc.
[0008] In this way, the user can trigger the electronic device to obtain multiple desktop pages included in the current display interface through simple operations. In this way, the user can instruct the electronic device to display display content associated with different applications on different desktop pages as needed, meeting the user's multi-application operation needs, and the operation is simple and easy for users to use.
[0009] According to the first aspect, the first object is displayed on the first desktop page or the second desktop page, and the second object is displayed on the first desktop page or the second desktop page.
[0010] In some examples, the first object and the second object are displayed on the same desktop page. In other examples, the first object and the second object are displayed on different desktop pages.
[0011] In this way, the electronic device can activate the operable objects on the same or different desktop pages in response to the user operation, and display the display content corresponding to the operable objects on the same or different desktop pages on the interface, thereby expanding the application scope of the user's multi-application operation.
[0012] According to the first aspect, or any implementation method of the first aspect above, in response to a first operation of a user on a first interface, a first desktop page and a second desktop page displayed on the current first interface are obtained, including: in the process of detecting a first gesture operation of a user on the first desktop page, a second gesture operation of a user on the second desktop page is detected, and the first desktop page and the second desktop page displayed on the current first interface are obtained; wherein the first operation includes a first gesture operation and a second gesture operation.
[0013] In some examples, the first gesture operation is, for example, a gesture operation of long pressing a blank area of the screen, and the second gesture operation is, for example, a gesture operation of sliding a blank area of the screen.
[0014] It should be understood that the second gesture operation may also be a gesture operation of long pressing a blank area of the screen.
[0015] In this way, the electronic device can obtain the desktop page displayed on the first interface in response to a simple operation consisting of the user's first gesture operation and the second gesture operation, and then display content corresponding to different operable objects on the obtained different desktop pages, thereby simplifying user operations and improving the usability of the electronic device.
[0016] According to the first aspect, or any implementation method of the first aspect above, in response to a first operation of a user on a first interface, a first desktop page and a second desktop page currently displayed on the first interface are obtained, including: in response to a third gesture operation of a user on the first interface, a first window is displayed; in response to a user operation on a first preset control displayed in the first window, the first desktop page and the second desktop page currently displayed on the first interface are obtained.
[0017] In some examples, the first window is, for example, a sidebar, and different function entrances are displayed in the sidebar, such as a first preset control for triggering the electronic device to enter a multi-application startup mode, an icon for starting an application, etc.
[0018] In this way, the electronic device can obtain the desktop page displayed on the first interface in response to a simple operation of the user through the provided first window and the first preset control, and can provide users with different usage habits or in different usage scenarios with richer ways to start display content corresponding to multiple operable objects.
[0019] According to the first aspect, or any implementation of the first aspect above, in response to a first operation of a user on a first interface, a first desktop page and a second desktop page currently displayed on the first interface are obtained, including: in response to a user operation on a first preset control displayed on the first interface, the first desktop page and the second desktop page currently displayed on the first interface are obtained.
[0020] In some examples, the first preset control for triggering the electronic device to enter the multi-application startup mode can also be directly displayed on the desktop, thereby making it more convenient for the user to trigger the multi-application startup mode and simplifying the user operation.
[0021] In this way, the electronic device provides users with different usage habits or in different usage scenarios with a richer way of starting display content corresponding to multiple operable objects by displaying the first preset control on the first interface.
[0022] According to the first aspect, or any implementation method of the first aspect above, in response to the user's first operation on the first interface, the first desktop page and the second desktop page displayed on the current first interface are obtained, including: in response to the user's fourth operation on the first interface, the negative one screen is displayed; in response to the user's operation on the first preset control displayed in the negative one screen, the first desktop page and the second desktop page displayed on the current first interface are obtained.
[0023] In some examples, the first preset control used to trigger the electronic device to enter the multi-application startup mode can also be displayed in the negative first screen. Compared with searching for the first preset control on the sidebar or desktop, configuring the first preset control in the negative first screen can help users quickly lock the display position of the first preset control, improve the efficiency of users triggering the multi-application startup mode, and enhance the user's experience.
[0024] It should be understood that the first preset control can also be configured in other positions of the electronic device, and the electronic device can configure the first preset control in multiple positions, and the display of the first preset control configured in different positions is the same or different. For example, the electronic device can also configure the first preset control in the sliding notification bar. For another example, the electronic device arranges the first preset control on the sidebar and the desktop at the same time.
[0025] In this way, the electronic device can obtain the desktop page displayed on the first interface in response to a simple operation of the user through the first preset control provided in the negative first screen or other position, and can provide users with different usage habits or in different usage scenarios with richer ways to start display content corresponding to multiple operable objects.
[0026] According to the first aspect, or any implementation of the first aspect above, in response to a first operation of a user, the electronic device may set the first desktop page as a fixed desktop page and the second desktop page as an active desktop page. Then, subsequently, upon detecting a fifth operation of the user on the active second desktop page, the electronic device may no longer display the second desktop page, but switch to display the third desktop page.
[0027] In some examples, within a preset time interval, the fixed desktop page remains unchanged on the screen, while the active desktop page can be switched with the user's gesture, and the desktop page touched by the user's gesture is switched to a desktop page that has not been displayed. In some examples, the fifth operation is a sliding gesture operation, and the switching direction of the second desktop page is the same as the sliding direction of the fifth gesture operation.
[0028] In this way, the electronic device can fix part of the desktop page and switch the active desktop page in response to the user's simple operation, and display the combination of the fixed desktop page and different active desktop pages to the user, so as to facilitate the user to operate the operable objects on the fixed desktop page and different active desktop pages. The convenience of the user's multi-application operation and the ease of use of the electronic device are improved.
[0029] According to the first aspect, or any implementation of the first aspect above, the desktop also includes at least one undisplayed desktop page, and in response to the user's first operation on the first interface, the first desktop page and the second desktop page displayed on the current first interface are obtained. The method also includes: in response to the user's fifth operation on the second desktop page, switching to display a third desktop page at the first display position of the second desktop page, the third desktop page being the desktop page with the closest sorting interval to the second desktop page among at least one undisplayed desktop page and matching the switching direction indicated by the fifth operation.
[0030] In some examples, desktop page 1, desktop page 4, and desktop page 6 are displayed on the screen of the electronic device. Desktop pages not displayed on the screen of the electronic device include desktop page 2, desktop page 3, and desktop page 5. In response to the user's operation of sliding the screen to the right on desktop page 4, the electronic device obtains a desktop page 3 from the undisplayed desktop pages that is closest to the sorting interval of desktop page 3 and matches the left switching direction indicated by the operation of sliding the screen to the right. Desktop page 3 is switched to be displayed at the position where desktop page 4 is displayed.
[0031] In this way, in response to the user's fifth operation, the electronic device switches the displayed second desktop page to the undisplayed third desktop page, so as to achieve different combinations of desktop pages on the screen. Thus, more content corresponding to the desktop page combination is displayed to the user, which improves the convenience of user operation and the freedom of user browsing desktop pages.
[0032] According to the first aspect, or any implementation of the first aspect above, in response to a sixth operation of the user on a third object displayed on a third desktop page, a second display content corresponding to the third object is displayed on the third desktop page.
[0033] In this way, the electronic device can respond to the user operation to display the first object on the first desktop page that was previously displayed and the third object on the third desktop page that was not displayed, and can further respond to the user operation to display the first display content corresponding to the first object and the second display content corresponding to the third object. The user's freedom to open the display content corresponding to the operable objects displayed on different desktop pages is improved.
[0034] According to the first aspect, or any implementation of the first aspect above, after obtaining the first desktop page and the second desktop page included in the desktop in response to the user's first operation on the first interface, the method also includes: setting the first desktop page as a fixed desktop page and the second desktop page as an active desktop page; or, setting the first desktop page and the second desktop page to be both active desktop pages.
[0035] In some examples, the electronic device can set the first desktop page to be a fixed desktop page and the second desktop page to be an active desktop page based on the number of desktop pages, the content of the desktop page, or the user settings. In response to the user's first operation, the first desktop page is set to be a fixed desktop page and the second desktop page is set to be an active desktop page. If the first desktop page includes an operable object that the user intends to operate, the second desktop page does not include the operable object that the user intends to operate. The electronic device subsequently responds to the user's operation, keeps the first desktop page fixed, and switches the second desktop page to the desktop page that the user intends to browse or operate, which can facilitate the user to perform multi-application operations.
[0036] In other examples, in response to the user's first operation, all desktop pages currently displayed by the electronic device can be set as active desktop pages. If the number of desktop pages that can be currently displayed by the electronic device is small, and the number of undisplayed desktop pages is large, the electronic device sets the currently displayed desktop page as the active desktop page, which can facilitate the user to quickly browse all desktop pages included in the desktop, so as to find the required operable objects as soon as possible.
[0037] In this way, the electronic device sets part of the currently displayed desktop pages to be fixedly displayed, sets part of the desktop pages to be active and switchable, or sets all the desktop pages to be active and switchable. This is closer to the user's use needs and improves the user's efficiency in using the electronic device and multi-application operations.
[0038] According to the first aspect, or any implementation of the first aspect above, the desktop page displayed on the first interface also includes a fourth desktop page, and the fourth desktop page is an active desktop page; the method also includes: in response to the user's sixth operation on the second desktop page, determining that a first number of desktop pages not displayed in the desktop is greater than or equal to a second number of active desktop pages displayed; switching to display the third desktop page at the first display position of the second desktop page, and switching to display the fifth desktop page at the second display position of the fourth desktop page; wherein the desktop pages not displayed in the desktop include the third desktop page and the fifth desktop page, and the positional relationship between the third desktop page and the fifth desktop page is the same as the positional relationship between the second desktop page and the fourth desktop page.
[0039] In this way, when the electronic device displays more than two desktop pages and the number of undisplayed desktop pages is greater than or equal to the displayed active desktop page, in response to the user operation, the multiple active desktop pages can be switched to the multiple desktop pages that are glued and not displayed. The user only needs one operation to switch more than one desktop page, which reduces the user's operation steps and improves the user's efficiency in operating the electronic device and the user experience.
[0040] According to the first aspect, or any implementation of the first aspect above, in response to the user's fifth operation on the second desktop page, the third desktop page and the fifth desktop page hidden on the desktop are obtained, and before the third desktop page is switched to be displayed at the first display position of the second desktop page, the method also includes: in response to the user's seventh operation, the second desktop page and the fourth desktop page are associated as a first sticky desktop page, and the third desktop page and the fifth desktop page are associated as a second sticky desktop page; the second sticky desktop page is the desktop page with the closest sorting interval to the first sticky desktop page among the sticky desktop pages hidden on the desktop.
[0041] In this way, when the electronic device displays more than two desktop pages, in response to user operations, it can combine the displayed active desktop pages into a sticky desktop page, and combine the hidden desktop pages into a sticky desktop page, so that the user can switch more than one desktop page with only one operation.
[0042] According to the first aspect, or any implementation method of the first aspect above, the first object includes at least one of an application icon, a folder, and a card, and in response to the user's second operation on the first object displayed on the first interface, the first display content corresponding to the first object is displayed on the first desktop page, including: in response to the user's second operation on the first application icon displayed on the first interface, the first application interface corresponding to the first application icon is displayed on the first desktop page; or, in response to the user's eighth operation on the desktop folder displayed on the first interface, the expanded folder is displayed on the first desktop page; in response to the user's ninth operation on the second application icon in the expanded folder, the second application interface corresponding to the second application icon is displayed on the first desktop page; or, in response to the user's second operation on the card displayed on the first interface, the third application interface corresponding to the card is displayed on the first desktop page.
[0043] It should be understood that the types of objects displayed on the desktop are not limited to the icons, cards, etc. in the above examples. The display method provided in the embodiments of the present application can also be applied to other objects that can be used to trigger electronic devices to display corresponding display content. The display content corresponding to other objects is also displayed on the desktop page without triggering full-screen display, thereby meeting the user's flexible display needs.
[0044] In this way, the electronic device displays the first display content corresponding to the application icon, desktop folder or card on the first interface on the first desktop page in response to the user's simple operation. The electronic device can subsequently display the second display content corresponding to the second object on the second desktop page in response to the user's operation, and the display content corresponding to the operable objects on different desktop pages can be displayed to the user without the user having to close the expanded desktop folder. For example, when the electronic device starts the application corresponding to the icon in the desktop folder or folded object in the current interface and the application corresponding to the application icon, and displays the application interface corresponding to the application, the user does not need to close the expanded desktop folder or folded object. Therefore, the user operation steps are reduced, the user's operation range and optional application range for opening multiple applications are expanded, and the usability and user experience of the electronic device are improved.
[0045] According to the first aspect, or any implementation method of the first aspect above, the first gesture operation is a long press operation on the screen; the second operation, the third operation, the sixth operation, and the eighth operation are operations of clicking the screen; the second gesture operation and the fourth operation are sliding operations on the screen; the seventh operation is a sliding operation or a configuration operation on the screen.
[0046] Thus, through the logic of processing multi-touch events in the embodiment of the present application, the electronic device can perform multi-application operations in response to the multi-touch gesture operation of long pressing, sliding or clicking by the user, thereby simplifying the user operation steps and improving the usability of the electronic device.
[0047] In a second aspect, an electronic device is provided, including: a processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code, the computer program code including computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes:
[0048] Display a first interface, where the first interface is used to display the desktop of an electronic device; in response to a first operation of a user on the first interface, obtain a first desktop page and a second desktop page displayed on the current first interface, where the desktop includes the first desktop page and the second desktop page; in response to a second operation of a user on a first object displayed on the first interface, display first display content corresponding to the first object on the first desktop page; in response to a third operation of a user on a second object displayed on the first interface, display second display content corresponding to the second object on the second desktop page.
[0049] According to the second aspect, the first object is displayed on the first desktop page or the second desktop page, and the second object is displayed on the first desktop page or the second desktop page.
[0050] According to the second aspect, or any implementation method of the second aspect above, in response to the user's first operation on the first interface, the first desktop page and the second desktop page displayed on the current first interface are obtained, including: in the process of detecting the user's first gesture operation on the first desktop page, the user's second gesture operation on the second desktop page is detected, and the first desktop page and the second desktop page displayed on the current first interface are obtained; wherein the first operation includes the first gesture operation and the second gesture operation.
[0051] According to the second aspect, or any implementation method of the second aspect above, in response to the user's first operation on the first interface, the first desktop page and the second desktop page displayed on the current first interface are obtained, including: in response to the user's third gesture operation on the first interface, the first window is displayed; in response to the user's operation on the first preset control displayed in the first window, the first desktop page and the second desktop page displayed on the current first interface are obtained.
[0052] According to the second aspect, or any implementation of the second aspect above, in response to the user's first operation on the first interface, the first desktop page and the second desktop page currently displayed on the first interface are obtained, including: in response to the user's operation on the first preset control displayed on the first interface, the first desktop page and the second desktop page currently displayed on the first interface are obtained.
[0053] According to the second aspect, or any implementation of the second aspect above, in response to the user's first operation on the first interface, the first desktop page and the second desktop page displayed on the current first interface are obtained, including: in response to the user's fourth operation on the first interface, the negative one screen is displayed; in response to the user's operation on the first preset control displayed in the negative one screen, the first desktop page and the second desktop page displayed on the current first interface are obtained.
[0054] According to the second aspect, or any implementation of the second aspect above, when the processor reads computer instructions from the memory, it also causes the electronic device to execute: in response to the user's fifth operation on the second desktop page, switch to display the third desktop page at the first display position of the second desktop page, the third desktop page being the desktop page with the closest sorting interval to the second desktop page among at least one undisplayed desktop page and matching the switching direction indicated by the fifth operation.
[0055] According to the second aspect, or any implementation of the second aspect above, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: in response to the user's sixth operation on the third object displayed on the third desktop page, display the second display content corresponding to the third object on the third desktop page.
[0056] According to the second aspect, or any implementation of the second aspect above, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: setting the first desktop page as a fixed desktop page and the second desktop page as an active desktop page; or setting the first desktop page and the second desktop page to be active desktop pages.
[0057] According to the second aspect, or any implementation of the second aspect above, the desktop page displayed on the first interface also includes a fourth desktop page, and the fourth desktop page is an active desktop page; when the processor reads computer instructions from the memory, it also enables the electronic device to execute: in response to the user's sixth operation on the second desktop page, determine that the first number of desktop pages not displayed in the desktop is greater than or equal to the second number of active desktop pages displayed; switch to display the third desktop page at the first display position of the second desktop page, and switch to display the fifth desktop page at the second display position of the fourth desktop page; wherein the desktop pages not displayed in the desktop include the third desktop page and the fifth desktop page, and the positional relationship between the third desktop page and the fifth desktop page is the same as the positional relationship between the second desktop page and the fourth desktop page.
[0058] According to the second aspect, or any implementation method of the second aspect above, the first object includes at least one of an application icon, a folder, and a card, and in response to the user's second operation on the first object displayed on the first interface, the first display content corresponding to the first object is displayed on the first desktop page, including: in response to the user's second operation on the first application icon displayed on the first interface, the first application interface corresponding to the first application icon is displayed on the first desktop page; or, in response to the user's eighth operation on the desktop folder displayed on the first interface, the expanded folder is displayed on the first desktop page; in response to the user's ninth operation on the second application icon in the expanded folder, the second application interface corresponding to the second application icon is displayed on the first desktop page; or, in response to the user's second operation on the card displayed on the first interface, the third application interface corresponding to the card is displayed on the first desktop page.
[0059] In a third aspect, an electronic device is provided, which has the function of implementing the display method in the first aspect and any possible implementation thereof. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0060] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as an instruction or code), and when the computer program is executed by an electronic device, the electronic device executes the method of the first aspect or any one of the implementations of the first aspect.
[0061] According to a fifth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the method according to the first aspect or any one of the implementations of the first aspect.
[0062] According to a sixth aspect, a circuit system is provided, the circuit system comprising a processing circuit, wherein the processing circuit is configured to execute the method according to the first aspect or any one of the embodiments of the first aspect.
[0063] In the seventh aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor, and when the at least one processor executes the instructions, the at least one processor executes the method of the first aspect or any one of the embodiments of the first aspect.
[0064] The technical effects of the aforementioned aspects can be referenced to each other and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1A Interface diagram 1 provided for an embodiment of the present application;
[0066] Figure 1B Interface diagram 2 provided for an embodiment of the present application;
[0067] Figure 2A A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0068] Figure 2B A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0069] Figure 3 A schematic diagram of a nested distribution of desktop layouts provided in an embodiment of the present application;
[0070] Figure 4 Interface diagram provided for the embodiment of the present application Figure 3 ;
[0071] Figure 5 A schematic diagram of the relationship between user gestures and desktop page turning provided in an embodiment of the present application;
[0072] Figure 6 Interface diagram provided for the embodiment of the present application Figure 4 ;
[0073] Figure 7 Flowchart 1 provided for an embodiment of the present application;
[0074] Figure 8 Interface diagram provided for the embodiment of the present application Figure 5 ;
[0075] Fig. 9 Flowchart 2 provided for the embodiment of the present application;
[0076] Fig.10 Interface diagram provided for the embodiment of the present application Figure 6 ;
[0077] Fig.11 Process provided for the embodiment of this application Figure 3 ;
[0078] Fig.12 Interface diagram provided for the embodiment of the present application Figure 7 ;
[0079] Fig.13 Interface diagram provided for the embodiment of the present application Figure 8 ;
[0080] Fig.14 Process provided for the embodiment of this application Figure 4 ;
[0081] Fig.15 Interface diagram provided for the embodiment of the present application Figure 9 ;
[0082] Fig.16 Interface diagram provided for the embodiment of the present application Figure 10 ;
[0083] Fig.17 Process provided for the embodiment of this application Figure 5 ;
[0084] Fig.18 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0085] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two).
[0086] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0087] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0088] In some embodiments, large-screen devices are widely used in users' daily life, study and office due to their advantages of large display screens. For example, users can use large display screens to operate multiple applications, taking into account the user's needs for operating different applications at the same time. For example, users can use split screens to watch videos while replying to short messages. For another example, users can get a better video or game viewing experience through large display screens.
[0089] In some examples, when browsing applications, the user can use preset gestures to trigger the display of the currently running application in one window and open another application in another window, thereby realizing multi-application operation.
[0090] For example, Figure 1A As shown in (a), the electronic device responds to Figure 1A In (a), the user operates the video application control 101 to start the video application and display the following Figure 1A During the display of the video application interface, the electronic device detects that the user pulls up the video application interface to the designated area in the upper left corner of the screen as shown by reference numeral 102, shrinks the video application interface, and displays the video application interface in the upper left corner of the screen as shown by reference numeral 102. Figure 1A In (c), a split screen mode control as shown by reference numeral 103 and a floating window mode control as shown by reference numeral 104 are displayed. The electronic device detects that the user drags the video application interface to the position of the split screen control as shown by reference numeral 103, and enters the split screen mode. Figure 1A In the split-screen mode shown in (d), the electronic device displays part of the interface of the video application in the top area 105 of the screen, and displays the desktop in other areas of the screen, and the desktop displays application controls. The electronic device detects that the user clicks the memo application control 106 and starts the memo application interface. Figure 1A As shown in FIG. 8( e ), in response to the above operation, the electronic device simultaneously displays the video application interface 107 and the memo application interface 108 on the screen.
[0091] In other examples, the electronic device detects that the user drags the video application interface to Figure 1A The operation of the floating window mode control position shown by reference numeral 104 in (c) is as follows: Figure 1B As shown in (a), the electronic device shrinks the video application interface into a floating window for display. Figure 1B In the interface shown in Figure (a), the electronic device displays a reduced video application interface 109 in the upper right area of the screen. The desktop is displayed in other areas of the screen, and the desktop displays application controls. Figure 1B As shown in (a), the electronic device detects that the user clicks the memo application control 106 on the desktop and starts the memo application. Figure 1BIn the interface shown in (b), the interface of the memo application is displayed in full screen, and the reduced video application interface displayed in suspension remains unchanged.
[0092] It can be seen that in the current multi-application operation triggering scenario, the user needs to open an application first to trigger the split-screen mode or floating window mode before opening another window and displaying another application at the same time. The user operation is cumbersome, and the operation of entering the split-screen mode is difficult, which affects the user experience.
[0093] In some other examples, when browsing applications, the user can also trigger the opening of a floating window for displaying another application through the sidebar, thereby realizing multi-application operation. For example, the electronic device starts and displays a video application in response to a user operation. In the process of displaying the video application interface, the electronic device detects a preset operation of the user at the edge of the screen and displays a sidebar. The sidebar is used to display at least one application icon, which corresponds to a recommended application in the applications installed by the electronic device. In response to the user clicking on the application control in the sidebar, the electronic device starts another application, such as a memo application. The video application interface and the memo application interface are displayed on the screen at the same time.
[0094] It can be seen that although the method of triggering the display of multiple applications in floating windows through the sidebar simplifies user operations, users still need to open one application first and then open another application, which is cumbersome. In addition, only a few application controls can be preset in the sidebar, and the user's selection range for launching multiple applications through the sidebar is very small.
[0095] In other examples, the user can save the current split-screen result while operating two applications through the split-screen window. For example, when the electronic device detects the user's operation on the preset control in the middle split-screen line during the split-screen display of application 1 and application 2, the current split-screen result can be saved and the split-screen combination icon can be displayed on the desktop. Subsequently, the electronic device detects the user's operation on the split-screen combination icon and can directly start application 1 and application 2, and display application 1 and application 2 in the split-screen window respectively.
[0096] It can be seen that although the current method can quickly trigger multi-application operations, it requires users to pre-configure the split-screen results. In addition, the split-screen results only allow a fixed combination of two applications. If the user needs to quickly realize the split-screen display of other applications, he or she needs to create other split-screen results, which has poor freedom.
[0097] Therefore, an embodiment of the present application provides a display method, whereby an electronic device can respond to a user's preset gesture operation on the screen to obtain a desktop page included in the screen, and in response to a user's operation on an object on the screen, display content corresponding to different objects on different desktop pages, thereby simplifying the user's operation steps and improving the usability and freedom of the electronic device.
[0098] Optionally, the display method provided in the embodiment of the present application can be applied to the electronic device 100. For example, the electronic device 100 can be a folding screen mobile phone, a non-folding screen mobile phone, a computer, a tablet computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a wearable device, an artificial intelligence (AI) device, and other terminal devices. The operating system installed in the electronic device 100 includes but is not limited to Or other operating systems. This application does not limit the specific type of the above electronic equipment and the operating system installed. For example, Figure 2A A structural schematic diagram of an electronic device is shown.
[0099] The electronic device 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 sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0100] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0101] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.
[0102] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0103] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0104] In some embodiments, the processor 110 may include one or more interfaces. The interface 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 identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0105] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor, charger, flash, camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor through the I2C interface, so that the processor 110 communicates with the touch sensor through the I2C bus interface to realize the touch function of the electronic device.
[0106] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to realize the shooting function of the electronic device. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the electronic device.
[0107] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge an electronic device, and can also be used to transfer data between an electronic device and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0108] It is understandable that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0109] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of an electronic device. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0110] The power management module 141 is used to connect 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 supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0111] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0112] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0113] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0114] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to electronic devices. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0115] In some embodiments, antenna 1 of the electronic device is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology.
[0116] The electronic device implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0117] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be manufactured using a liquid crystal display (LCD), such as an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini-led, Micro-led, Micro-oled, quantum dot light emitting diodes (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0118] The camera 193 is used to capture still images or videos. In some embodiments, the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0119] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0120] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc.
[0121] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110. The audio module 170 can include a speaker, a receiver, a microphone, a headphone interface, and an application processor to realize audio functions.
[0122] The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0123] A touch sensor is also called a "touch control device". The touch sensor can be arranged on the display screen 194. The touch sensor and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor is used to detect a touch operation acting on or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. A visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor can also be arranged on the surface of the electronic device, which is different from the position of the display screen 194.
[0124] The key 190 includes a power key, a volume key, etc. The key 190 can be a mechanical key or a touch key. The electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.
[0125] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. Indicator 192 can be an indicator light, which can be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0126] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device by inserting the SIM card interface 195 or removing the SIM card interface 195. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
[0127] The software system of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device.
[0128] Figure 2B It is a software structure block diagram of the electronic device according to an embodiment of the present application.
[0129] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into three layers, from top to bottom: the application layer, the application framework layer, and the kernel layer.
[0130] The application layer can include a series of application packages. Figure 2BAs shown, the application package may include applications such as the launcher, video, memo, Bluetooth, and gallery.
[0131] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0132] The kernel layer is the layer between hardware and software. The kernel layer contains at least the event input subsystem, inter-process driver, display driver, audio driver, and sensor driver.
[0133] like Figure 2B As shown, the application framework layer may include a window manager (WindowManagerService), a system service manager (ActivityManagerService), a phone manager, a notification manager, a view system, a resource manager, and the like.
[0134] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0135] The system service manager is part of the Android system. Its main function is to manage the life cycle of applications and the interaction between applications. Most interfaces on the Android system are of the activity type, so you can monitor interface changes by monitoring the switching of Activity. All activities are scheduled in the system service ActivityManagerService.
[0136] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0137] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0138] The phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).
[0139] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0140] The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and disappear automatically after a short stay without user interaction.
[0141] The application layer and the application framework layer run in 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 used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0142] In some embodiments, the event input subsystem of the kernel layer of the electronic device responds to the operation of the user touching the screen and processes the operation of the user touching the screen into a user touch input event. The window manager of the application framework layer obtains the user touch input event from the kernel layer and distributes the touch input event to the desktop application of the application layer. After the desktop application in the application layer performs input recognition on the touch input event obtained by the application framework layer, it can switch the desktop and call the system service manager of the application framework layer to start multiple applications.
[0143] The following is an example of the workflow of electronic device software and hardware in conjunction with the startup application scenario.
[0144] When the sensor 180 receives the operation of the user touching the screen, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the operation of the user touching the screen into an original input event (including touch coordinates, timestamp of the touch operation, and other information). The original input event is stored in the kernel layer. The application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. The application layer identifies the original input event of the application framework layer, calls the interface of the application framework layer, performs desktop switching, multi-application startup, etc., and displays the corresponding display content on the display screen 194. Take the touch operation as a touch single-click operation, and the control corresponding to the single-click operation is the control of the video application icon as an example. The application framework layer obtains the user's touch event 1 on the screen from the kernel layer, identifies the position corresponding to the touch event 1 as the position of the video control, and the touch operation is a single-click operation. The video application of the application layer calls the interface of the application framework layer, starts the video application, and displays the video application interface on the display screen 194.
[0145] In some embodiments, the desktop layout of the electronic device is nested with multiple layers of structures.
[0146] Figure 3 It is a schematic diagram of the nested distribution of the desktop (launcher) layout of an electronic device.
[0147] Those skilled in the art will understand that an Activity is a display component of an Android application (APP). An Activity provides a window for interaction with the user and is used to display the content of the APP. An Activity is usually a separate window, which can fill the display area of the electronic device screen or be smaller than the display area of the electronic device and float above other windows. Figure 3 As shown, the desktop (launcher) 301 can be understood as a large Activity, on which a desktop space (workspace) 302 is nested, on which a desktop page 303 is nested, and on which an application icon (or other desktop display object) 304 is nested. Among them, the desktop space 302 is used to uniformly manage all desktop pages included in the launcher. Corresponding to the launcher, each desktop page 303 can be regarded as a grid layout (Celllayout), and each application icon 304 on the desktop page 303 can be regarded as a bubble view (BubbleTextView). The switching of desktop pages is the switching of CellLayout layout, and the user's click on the application icon and other objects displayed on the desktop is the click event of BubbleTextView.
[0148] Optionally, the desktop includes at least one desktop page. For an electronic device with a smaller screen, one of the desktop pages is displayed on the electronic device screen. For an electronic device with a larger screen, one or more of the desktop pages are displayed on the electronic device screen. For example, Figure 3 As shown, the electronic device displays 2 desktop pages included in the desktop.
[0149] In some embodiments, the electronic device may display the display content corresponding to the display object in response to the user's operation on the display object on the desktop. For example, in response to the user's operation on the shopping application icon displayed on the desktop, the electronic device may start the shopping application and display the shopping application interface. In some examples, the electronic device currently displays only one desktop page, so after the shopping application is started, the electronic device may display the shopping application interface in full screen on the desktop page. In other examples, the electronic device currently displays multiple desktop pages, such as Figure 3 As shown, the electronic device displays desktop page 1 and desktop page 2. After the shopping application is started, the electronic device can display the main page of the shopping application on desktop page 1, and display the shopping cart page on desktop page 2. It can be seen that although the current electronic devices can display multiple desktop pages, different desktop pages can display different content, but the different content belongs to the content of the same application. That is, in a multi-desktop page scenario, if the user needs to trigger a multi-application operation, it is still necessary to trigger the electronic device to display split screen or floating window through the more complicated method described above.
[0150] In some embodiments, when the electronic device currently displays multiple desktop pages, it is determined that the display content corresponding to the display object operated by the user needs to be displayed in full screen. In response to the user's operation on the display object on the desktop, the electronic device can display the application interface in full screen. For example, in order to better meet user needs, applications such as e-book applications, video applications, and game applications need to display the application interface in full screen in most cases. Exemplarily, the electronic device currently displays two desktop pages. The event input subsystem of the kernel layer of the electronic device detects the operation of the user clicking on the e-book application, and the event input subsystem of the kernel layer of the electronic device uploads the user click event to the window manager of the application framework layer. The window manager of the application framework layer distributes the user click event to the desktop application of the application layer. The desktop application of the application layer identifies and responds to the user click event. The desktop space nested in the desktop application of the application layer receives the user click event, and the desktop space determines that the position of the user clicking the screen in the user click event falls on the e-book application icon. The desktop space determines that the e-book application interface needs to be displayed in full screen, thereby providing a better reading experience for the user. The desktop space calls the system service manager, starts the e-book application, and uses a desktop page nested in the desktop application to display the e-book application interface in full screen.
[0151] In some embodiments, the electronic device can obtain multiple desktop pages included in the desktop in response to the user's operation on the current display interface, and the multiple desktop pages include at least two desktop pages displayed on the current display interface and other hidden desktop pages (there may also be no hidden desktop pages). In addition, the electronic device sets multiple desktop pages to display different applications. In this way, after detecting the user's operation of starting different applications, the electronic device can display different application interfaces on different desktop pages to meet the user's multi-application operation needs.
[0152] For example, Figure 4In the interface 40a shown in (a), the electronic device can display two desktop pages included in the desktop. For example, as shown in reference numeral 401, the desktop includes two desktop pages currently being displayed and three hidden desktop pages, totaling five desktop pages. In the process of displaying the desktop, the electronic device detects a preset operation of the user on the interface 40a, and can determine that the user instructs to trigger the acquisition of different desktop pages to implement multi-application operations on different desktop pages. For example, during the process of the electronic device detecting a long press operation of the user on the blank area shown in reference numeral 402, it detects a sliding operation of the user on the blank area shown in reference numeral 403, and determines that the two operations are located on different desktop pages. Then, the electronic device can obtain the first desktop page and the second desktop page (such as desktop page 2 and desktop page 3) where the two operations are located. Afterwards, the electronic device detects the user's operation on the video control 404 displayed on the interface 40a and the operation on the application store control 405, and can determine that the user instructs to start the two applications. Then, as Figure 4 As shown in (b), the electronic device displays video application page content 406 on the first desktop page, and displays application store page content 407 on the second desktop page.
[0153] It can be seen that the user can trigger the electronic device to display different applications in units of desktop pages through simple gesture operations.
[0154] Optionally, icons of multiple applications triggered by the user can be displayed on the same desktop page or on different desktop pages. Figure 4 In the scenario shown, the electronic device detects the user's operation on the video application icon and the clock application icon displayed on the first desktop page, and can display the video application page content on the first desktop page and the clock application page content on the second desktop page. Alternatively, the clock application page content is displayed on the first desktop page and the video application page content is displayed on the second desktop page.
[0155] In some examples, the mode in which different desktop pages can display different applications is described as a multi-application startup mode. It should be understood that in addition to the long press plus sliding gesture described above, the user can also trigger the electronic device to enter the multi-application startup mode in other ways. The specific content is detailed in the relevant content below and will not be repeated here.
[0156] In some embodiments, the objects included in the desktop page currently displayed by the electronic device may not be the objects required by the user, such as the icon of the application that the user needs to start is displayed on other hidden desktop pages. Then, the user can instruct the electronic device to switch to display other hidden interfaces by sliding gestures on the screen.
[0157] In some examples, currently, when an electronic device detects a user sliding operation on the screen and determines that the user indicates to turn a page, the electronic device generally switches all currently displayed interfaces to hidden interfaces. Figure 4 In the illustrated scenario, the electronic device displays desktop pages 2 and 3 on the desktop. During this process, a page turning operation by the user is detected, and the electronic device can display hidden desktop pages 4 and 5. It can be seen that page switching is not flexible enough.
[0158] After the electronic device triggers the multi-application startup mode in response to the user's preset operation, the display of the desktop page can be switched separately according to the desktop page where the user's page turning operation is located. Figure 4 In the scenario shown, the electronic device detects the user's page turning operation on desktop page 3, and can switch to display the hidden desktop page 4 at the display position of desktop page 3, so as to achieve more flexible page switching. And subsequently, the electronic device detects the user's operation on icon 1 displayed on desktop page 2, and the operation on icon 2 displayed on desktop page 4, and can display the application content corresponding to icon 1 on desktop page 2, and display the application content corresponding to icon 2 on desktop page 4. In this way, the user can realize the simultaneous operation of the application icons that were not hidden before and the hidden application icons according to the needs.
[0159] In some examples, after the electronic device enters the multi-application startup mode, it can set the multiple desktop pages currently displayed, such as setting the desktop page to be an active desktop page or a fixed desktop page. In response to the user's page turning operation on the active desktop page, the electronic device can turn the page at the display position of the active desktop page, such as no longer displaying the active desktop page, but switching other desktop pages that are not displayed at the position of the active desktop page.
[0160] Optionally, after entering the multi-application startup mode, the electronic device can set all currently displayed desktop pages as active desktop pages, or set some of the desktop pages as active desktop pages according to preset rules, or set some desktop pages as active desktop pages or fixed desktop pages according to user operations.
[0161] For example, in response to a user's long press operation on a first desktop page and a sliding operation on a second desktop page, the electronic device enters a multi-application startup mode and sets the first desktop page as a fixed desktop page and the second desktop page as an active desktop page.
[0162] For another example, after the electronic device enters the multi-application startup mode, it sets all currently displayed desktop pages as active desktop pages (or all as fixed desktop pages). Optionally, the electronic device is provided with a preset control on the multiple currently displayed desktop pages, through which the user can set the desktop page as an active desktop page or a fixed desktop page.
[0163] For example, Figure 6 As shown in icons 606 and 607 in (c), the electronic device provides a locked / unlocked desktop page control. After the electronic device enters the multi-application startup mode, a locked / unlocked desktop page control is provided on each desktop page. When the electronic device detects that a user clicks on a locked / unlocked desktop page control displayed on a desktop page, the identity of the desktop page where the locked / unlocked desktop page control is located can be switched. For example, when the electronic device detects that a user operates on a locked / unlocked desktop page control displayed on an active desktop page, the active desktop page can be set as a fixed desktop page. For another example, when the electronic device detects that a user operates on a locked / unlocked desktop page control displayed on a fixed desktop page, the fixed desktop page can be unlocked as an active desktop page.
[0164] In this way, users are provided with a more flexible way to display and switch desktop pages. Users can set active desktop pages or fixed desktop pages according to their own needs, further improving the convenience of users using multiple applications.
[0165] In some embodiments, in order to more clearly illustrate the logic of the electronic device switching desktop pages in response to a user gesture operation. Figure 5 The relationship between user gestures and desktop page switching in the prior art is shown.
[0166] like Figure 5 As shown, the electronic device detects the operation of the user's finger touching the screen, reports the user's gesture press event to the desktop, and the desktop enters the switching process judgment. If the electronic device detects the user's gesture press and does not move, the desktop responds to the user's gesture press and does not move event reported by the electronic device and keeps the desktop page still.
[0167] The electronic device detects the user's gesture sliding operation and reports the gesture sliding event to the desktop. If the electronic device detects the user's gesture sliding operation continuously, the desktop responds to the user's gesture sliding event reported by the electronic device and displays the desktop page continuous sliding animation.
[0168] The electronic device detects the user's gesture leaving the screen and reports the gesture lift event to the desktop. In response to the received user gesture lift event, the desktop settles the user combination gesture operation consisting of the user gesture press event, the user gesture slide event and the user gesture lift event to determine whether the user combination gesture operation meets the desktop page switching condition.
[0169] The desktop determines the type of desktop page to be switched and whether the current gesture sliding event meets the switching conditions for switching desktop pages based on the sliding distance, sliding speed and whether there is a next desktop page. The types of desktop page switching include switching to the previous page (flipping back), switching to the next page (flipping forward), and not switching desktop pages.
[0170] If the user's combination gesture operation meets the switching conditions for switching desktop pages, the desktop responds to the user's combination gesture operation event reported by the electronic device, displays a page turning effect, and switches to display other desktop pages. Switching to display other desktop pages includes switching the desktop page to the previous page (flipping forward) or switching the desktop page to the next page (flipping back). If the electronic device detects an operation canceled by a user gesture (i.e., the user clicks on the screen but does not slide, and the gesture is lifted again), the desktop responds to the user gesture cancellation event reported by the electronic device and does not switch the desktop page.
[0171] Figure 5 The electronic device is shown to respond to the logic of switching desktop pages in response to a single-touch event of the user. The embodiment of the present application provides a set of logic of multi-touch events, so that the electronic device can enter a multi-application startup mode in response to a multi-touch event of the user.
[0172] Among them, multi-touch refers to the gesture touch operation performed by the user on more than one position on the electronic device. The multi-application startup mode refers to a mode in which, after the user's gesture operation meets the preset conditions, some desktop pages of the electronic device are fixed, some desktop pages can be slid and switched in response to the user's operation, and multiple applications can be opened and displayed on different desktop pages in response to the user's continuous click operation on the application icon.
[0173] In some embodiments, in the multi-application startup mode, the electronic device detects a multi-touch gesture operation by the user and can lock certain desktop pages and switch other active desktop pages. Figure 6 In (a), as shown in icon 601, the desktop pages displayed in interface 60a are the 2nd and 3rd desktop pages counted from the left among all the current desktop pages of the electronic device, such as desktop page 2 and desktop page 3. The electronic device detects a first gesture operation of the user long pressing the screen in a blank area 602 of desktop page 2 (first desktop page) shown in the left half of interface 60a. Before the user lifts the first gesture, the electronic device detects a second gesture operation of the user sliding the screen in a blank area 603 of desktop page 3 (second desktop page) shown in the right half of interface 60a. In response to the first operation of the user long pressing and sliding, the electronic device locks the desktop page 2 long pressed by the user shown in the left half of interface 60a as a fixed desktop page, and sets the desktop page 3 slid by the user shown in the right half of interface 60a as an active desktop page.
[0174] In some examples, in response to a user's sliding operation on an active desktop page, the electronic device may switch the active desktop page for display. Figure 6As shown in the interface 60b in (b), the electronic device detects a sliding gesture operation (fifth operation) of the user on the blank area 604 on the active desktop page 3 (the second desktop page). The electronic device determines that the sliding gesture is a left sliding gesture operation, and can determine that the user intends to switch the display position of desktop page 3 to the adjacent active desktop page on the right side of desktop page 3, such as desktop page 4 (the third desktop page). Then, Figure 6 As shown in interface 60c in (c), the electronic device switches the displayed desktop page 3 (the second desktop page) to desktop page 4 (the third desktop page). As shown in icon 605 in interface 60c, after the electronic device switches the desktop page in response to the user's fifth gesture operation, the desktop page displayed in interface 60c switches to the second and fourth desktop pages counted from the left among all the desktop pages of the electronic device, namely, desktop page 2 and desktop page 4.
[0175] In other examples, there is no adjacent active desktop page on the right side of the active desktop page 5 of the electronic device. The electronic device detects a sliding gesture operation (fifth operation) of the user on the blank area of the active desktop page 5. The electronic device determines that the sliding gesture is a gesture operation of sliding to the left, and can determine that the user indicates to switch the display position of the desktop page 5 to display the adjacent active desktop page on the right side of the desktop page 5, and the electronic device determines that there is no adjacent active desktop page on the right side of the desktop page 5. The electronic device can respond to the user's sliding gesture operation and display a special effect of page shaking to remind the user that there is no active desktop page to be displayed on the right side of the active desktop page currently slid by the user.
[0176] Optionally, the user gesture operation (first operation) may be a long press plus a slide operation performed by fingers of one hand, or a long press plus a slide operation performed by fingers of both hands.
[0177] In this way, the electronic device can enter the multi-application startup mode through the user's long press and sliding multi-point gesture operation. In the multi-application startup mode, the electronic device can respond to the user's operation, fix certain desktop pages, switch other active desktop pages, and then display the contents of the fixed desktop page and different active desktop pages to the user on the screen at the same time, thereby improving the convenience of user operation and the user's freedom to browse desktop pages.
[0178] It should be understood that when a user uses a combination of long press and sliding gestures to operate an electronic device to enter the multi-application launch mode, it is not easy to cause accidental touches or confusion, and the gesture for entering the multi-application launch mode is not limited to the combination of long press and sliding gestures. For example, a user can also trigger an electronic device to enter the multi-application launch mode by long pressing on different desktop pages at the same time.
[0179] In some embodiments, the logic of the electronic device entering the multi-application startup mode in response to a user operation includes: if the electronic device detects that the user has performed a long press gesture and a sliding gesture operation on different desktop pages, and the sliding gesture operation has ended before the long press gesture operation ends, then it is confirmed that the electronic device has entered the multi-application startup mode.
[0180] In order to more clearly illustrate the implementation method of the user entering the multi-application startup mode through multi-touch in the embodiment of the present application, Figure 7 The implementation logic of the electronic device entering the multi-application startup mode in response to the user's multi-touch operation is shown from the perspective of the desktop nesting structure of the electronic device. Figure 7 As shown, the desktop nesting structure of the electronic device enters the multi-application startup mode in response to the user's multi-touch operation, including the following steps S701-S739.
[0181] S701: The event input subsystem of the electronic device receives the user's first screen click operation.
[0182] In some embodiments, the touch sensor of the electronic device receives the user's first screen click operation, and the corresponding hardware interrupt is sent to the kernel layer. The kernel layer's event input subsystem processes the user's screen touch operation into the user's first screen click event.
[0183] S702: The event input subsystem of the kernel layer of the electronic device sends notification information 1 to the desktop space.
[0184] In some embodiments, the event input subsystem of the electronic device sends notification information 1 to the desktop space of the electronic device in response to the user's first screen click operation, notifying the desktop space of the user's first screen click event on the electronic device.
[0185] S703: The desktop space of the electronic device receives notification information 1.
[0186] In some embodiments, the desktop space of the electronic device uniformly manages the nested hierarchical structure of the desktop. The desktop space of the electronic device receives the notification information 1, and identifies and responds to the first screen click event of the user corresponding to the notification information 1.
[0187] S704: The desktop space of the electronic device sends a confirmation request 1 to the desktop page 2.
[0188] S705: The desktop space of the electronic device sends a confirmation request 2 to the desktop page 3.
[0189] Among them, the following is the above Figure 6 Taking the scenario shown as an example, the electronic device displays a desktop, which includes desktop page 2 and desktop page 3, and introduces the startup process of the multi-application startup mode.
[0190] In some embodiments, the desktop space of the electronic device is nested with multiple desktop pages, and multiple application icons are nested on the desktop page. The desktop space communicates with the multiple desktop pages to determine the desktop page where the click position of the user click event is located, and whether the click position falls on the application icon.
[0191] Exemplarily, the desktop space of the electronic device responds to the received notification information 1 and sends a message to the desktop space such as Figure 6 The desktop page 2 shown in the left half of (a) sends a confirmation request 2 to confirm the click position of the user's first screen click event, and to the desktop space such as Figure 6 The desktop page 3 displayed in the right half of (a) sends a confirmation request 2 to confirm the click position of the user's first screen click event.
[0192] It should be understood that the embodiment of the present application does not limit the execution order of S704 and S705. The confirmation requests sent by the desktop space to different desktop pages currently displayed may be sent simultaneously or separately.
[0193] S706: The desktop page 2 of the electronic device determines that the position where the user clicks the screen is on the desktop page, but in a blank area of the desktop page.
[0194] In some embodiments, the desktop page 2 of the electronic device identifies the confirmation request 1 received from the desktop space, and determines that the location of the screen click event of the user's first screen click is on the current desktop page, but in a blank area of the desktop page.
[0195] S707: The desktop page 3 of the electronic device determines that the location where the user clicks the screen is not on the desktop page.
[0196] In some embodiments, the desktop page 3 of the electronic device identifies the confirmation request 2 received from the desktop space, and determines that the location where the user clicks the screen for the first time is not on the desktop page.
[0197] S708: The desktop page 2 of the electronic device sends a confirmation response 1 to the desktop space.
[0198] In some embodiments, the desktop page 2 of the electronic device sends a confirmation response message 1 to the desktop space, notifying the desktop space that the location where the user clicked the screen is on the desktop page, but in a blank area of the desktop page.
[0199] S709: The desktop page 3 of the electronic device sends a confirmation response 2 to the desktop space.
[0200] In some embodiments, the desktop page 3 of the electronic device sends a confirmation response message 2 to the desktop space, notifying the desktop space that the location where the user clicked the screen is not on the desktop page.
[0201] It should be understood that the embodiment of the present application does not limit the execution order of S708 and S709. The confirmation requests sent by the desktop space to different desktop pages currently displayed may be sent simultaneously or separately.
[0202] S710: The desktop space of the electronic device marks the desktop page clicked by the user and waits for the next user touch event.
[0203] In some embodiments, the desktop space of the electronic device responds to multiple confirmation response messages received from the desktop page, such as confirmation response message 1 and confirmation response message 2. The electronic device marks the user's first click location as a blank area of desktop page 2, waiting for the next user touch event.
[0204] S711: The event input subsystem of the electronic device receives the user's second screen click operation.
[0205] In some embodiments, the touch sensor of the electronic device receives the user's second screen click operation, and the corresponding hardware interrupt is sent to the kernel layer. The kernel layer's event input subsystem processes the user's screen touch operation into a user's second screen click event.
[0206] S712: The event input subsystem of the electronic device sends notification information 2 to the desktop space.
[0207] In some embodiments, in response to the user clicking the screen for the second time, the event input subsystem of the electronic device sends notification information 2 to the desktop space, notifying the desktop space that the electronic device has received the event of the user clicking the screen for the second time.
[0208] S713: The desktop space of the electronic device determines that the time interval between two click operations of the user is less than a preset value.
[0209] In some embodiments, the desktop space determines whether the time interval between the first click event and the second click event is less than or equal to a preset value based on the received first click event and the second click event of the user. If the time interval is less than or equal to the preset value, the two consecutive events are determined to be multi-touch events. Otherwise, they are not multi-touch events. Optionally, the preset value can be 100ms or 150ms, etc.
[0210] S714: The desktop space of the electronic device sends a confirmation request 3 to the desktop page 2.
[0211] S715: The desktop space of the electronic device sends a confirmation request 4 to the desktop page 3.
[0212] In some embodiments, the desktop space of the electronic device sends a confirmation request 3 to the desktop page 2 being displayed, requesting confirmation of the location of the second screen click by the user, and sends a confirmation request 4 to the desktop page 3 being displayed, requesting confirmation of the location of the second screen click by the user.
[0213] It should be understood that the embodiment of the present application does not limit the execution order of S714 and S715. The confirmation requests sent by the desktop space to different desktop pages currently displayed may be sent simultaneously or separately.
[0214] S716: The desktop page 2 of the electronic device confirms that the location where the user clicks the screen is not on this desktop page.
[0215] In some embodiments, the desktop page 2 of the electronic device responds to the received confirmation request 2 by confirming that the location where the user clicks the screen for the second time is not on the desktop page.
[0216] S717: The desktop page 3 of the electronic device confirms that the location where the user clicks the screen operation is on this desktop page and in a blank area of the desktop page.
[0217] In some embodiments, the desktop page 3 of the electronic device responds to the received confirmation request 2 to confirm that the location of the second screen click operation by the user is on the desktop page and in a blank area of the desktop page.
[0218] S718: The desktop page 2 of the electronic device sends a confirmation response 3 to the desktop space.
[0219] In some embodiments, the desktop page 2 of the electronic device sends a confirmation response 3 to the desktop space, notifying the desktop space that the location where the user clicked the screen is not on the desktop page.
[0220] S719: The desktop page 3 of the electronic device sends a confirmation response 4 to the desktop space.
[0221] In some embodiments, the desktop page 3 of the electronic device sends a confirmation response 4 to the desktop space, notifying the desktop space that the location where the user clicked the screen is on the desktop page and in a blank area of the desktop page.
[0222] It should be understood that the embodiment of the present application does not limit the execution order of S718 and S719. The confirmation responses sent by different desktop pages to the current desktop space can be sent simultaneously or one after another.
[0223] S720: The desktop space of the electronic device determines that the desktop page where the click position of the second screen click operation of the user is located is different from the desktop page where the click position of the first screen click operation of the user is located.
[0224] In some embodiments, if the click positions of the user's two screen click operations are not on the same desktop page, the electronic device determines that the user may be operating the electronic device to enter a multi-application startup mode.
[0225] S721: The event input subsystem of the electronic device receives the user's first gesture lift operation.
[0226] In some embodiments, the touch sensor of the electronic device receives the user's gesture lift operation, and the corresponding hardware interrupt is sent to the kernel layer. The kernel layer's event input subsystem processes the user's touch screen operation into the user's first gesture lift event.
[0227] S722: The event input subsystem of the electronic device sends notification information 3 to the desktop space.
[0228] In some embodiments, notification information 3 is used to notify the desktop space electronic device that the first user gesture lift event has been received.
[0229] S723: The desktop space of the electronic device determines that the gesture operation performed by the user on the screen is sliding.
[0230] In some embodiments, the desktop space of the electronic device responds to notification information 3, settles the user's first gesture lifting event according to notification information 3, and determines that the user's finger performed a gesture sliding operation on the screen during the first gesture lifting operation.
[0231] S724: The desktop space of the electronic device sends a confirmation request 5 to the desktop page 2 being displayed, requesting confirmation of the position of the user's first gesture lift operation.
[0232] S725: The desktop space of the electronic device sends a confirmation request 6 to the desktop page 3, requesting confirmation of the position of the user's first gesture lifting operation.
[0233] In some embodiments, the desktop space of the electronic device sends a confirmation request 5 to the desktop page 2 being displayed, requesting confirmation of the position of the user's hand gesture lift operation on the screen, and sends a confirmation request 6 to the desktop page 3 being displayed, requesting confirmation of the position of the user's first hand gesture lift operation.
[0234] It should be understood that the embodiment of the present application does not limit the execution order of S724 and S725. The confirmation requests sent by the desktop space to different desktop pages currently displayed may be sent simultaneously or separately.
[0235] S726: The desktop page 2 of the electronic device confirms that the location of the user's gesture lifting operation is not on this desktop page.
[0236] In some embodiments, the desktop page 2 of the electronic device responds to the received confirmation request 5 and confirms that the location of the user's first gesture lifting operation is not on the desktop page.
[0237] S727: The desktop page 3 of the electronic device confirms that the position of the user's gesture lifting operation is on this desktop page.
[0238] In some embodiments, the desktop page 3 of the electronic device responds to the received confirmation request 2 and confirms that the location of the user's first gesture lifting operation is on the desktop page.
[0239] S728: The desktop page 2 of the electronic device sends a confirmation response 5 to the desktop space.
[0240] In some embodiments, the desktop page 2 of the electronic device sends a confirmation response 5 to the desktop space, notifying the desktop space that the location of the user's first gesture lift operation is not on the current desktop page.
[0241] S729: The desktop page 3 of the electronic device sends a confirmation response 6 to the desktop space.
[0242] In some embodiments, the desktop page 3 of the electronic device sends a confirmation response 6 to the desktop space, notifying the desktop space that the location of the user's first gesture lift operation is on the desktop page.
[0243] The desktop space determines that the location of the user's first gesture lifting operation and the user's second screen click operation are on the same desktop page based on the received confirmation response 5 and confirmation response 6. The desktop space combines S723 to determine that the finger of the user's first gesture lifting operation slid on the screen, and further determines that the user slid another desktop page before the long press of the desktop page ended. The desktop space further determines that the user's gesture operation may conform to the gesture of operating the electronic device to enter the multi-application startup mode, that is, the user may be operating the electronic device to enter the multi-application startup mode.
[0244] It should be understood that the embodiment of the present application does not limit the execution order of S728 and S729. The confirmation responses sent by different desktop pages to the current desktop space can be sent simultaneously or one after another.
[0245] S730: The event input subsystem of the electronic device receives the user's second gesture lifting operation.
[0246] In some embodiments, the touch sensor of the electronic device receives the user's second gesture lift operation, and the corresponding hardware interrupt is sent to the kernel layer. The kernel layer's event input subsystem processes the user's touch screen operation into the user's second gesture lift event.
[0247] S731: The event input subsystem of the electronic device sends notification information 4 to the desktop space.
[0248] In some embodiments, notification information 4 is used to notify the desktop space electronic device that a second user gesture lift event has been received.
[0249] S732: The desktop space of the electronic device determines that the second gesture operation of the user on the screen is a long press.
[0250] In some embodiments, the desktop space of the electronic device responds to the notification information 4, settles the user's second gesture lifting event according to the notification information 4, and determines that the user has performed a long press gesture operation on the screen.
[0251] S733: The desktop space of the electronic device sends a confirmation request 7 to the desktop page 2 being displayed, requesting confirmation of the position of the user's second gesture lift operation.
[0252] S734: The desktop space of the electronic device sends a confirmation request 8 to the desktop page 3 being displayed, requesting confirmation of the position of the user's second gesture lifting operation.
[0253] In some embodiments, the desktop space of the electronic device sends a confirmation request 7 to the desktop page 2 being displayed, requesting confirmation of the position of the second user's gesture lift operation on the screen, and sends a confirmation request 8 to the desktop page 3 being displayed, requesting confirmation of the position of the second user's gesture lift operation.
[0254] It should be understood that the embodiment of the present application does not limit the execution order of S733 and S734. The confirmation requests sent by the desktop space to different desktop pages currently displayed may be sent simultaneously or separately.
[0255] S735: The desktop page 2 of the electronic device confirms that the location of the user's gesture lifting operation is on this desktop page.
[0256] In some embodiments, the desktop page 2 of the electronic device responds to the received confirmation request 7 by confirming that the location of the second user's gesture lifting operation is on the desktop page.
[0257] S736: The desktop page 3 of the electronic device confirms that the location of the user's gesture lifting operation is not on this desktop page.
[0258] In some embodiments, the desktop page 3 of the electronic device responds to the received confirmation request 8 and confirms that the location of the second user's gesture lifting operation is not on the desktop page.
[0259] S737: The desktop page 2 of the electronic device sends a confirmation response 7 to the desktop space.
[0260] In some embodiments, the desktop page 2 of the electronic device sends a confirmation response 7 to the desktop space, notifying the desktop space that the location of the user's second gesture lift operation is on the desktop page.
[0261] S738: The desktop page 3 of the electronic device sends a confirmation response 8 to the desktop space.
[0262] In some embodiments, the desktop page 3 of the electronic device sends a confirmation response 8 to the desktop space, notifying the desktop space that the location of the second gesture lift operation of the user is not on the current desktop page.
[0263] It should be understood that the embodiment of the present application does not limit the execution order of S737 and S738. The confirmation responses sent by different desktop pages to the current desktop space can be sent simultaneously or one after another.
[0264] S739: The desktop space of the electronic device determines that the electronic device enters a multi-application startup mode, and marks desktop page 2 as a fixed desktop page.
[0265] In some embodiments, the desktop space of the electronic device determines that the position of the user's first gesture lifting operation on the screen and the click position of the second screen clicking operation are both on desktop page 3 based on the confirmation response 7 and confirmation response 8 fed back by the desktop page. The position of the user's second gesture lifting operation on the screen and the click position of the user's first clicking operation are both on desktop page 2. And the user's gesture on desktop page 2 is a long press gesture, and the gesture on desktop page 3 is a sliding gesture. The desktop space of the electronic device determines that the user's gesture operation meets the preset gesture conditions of the multi-application startup mode, determines that the electronic device enters the multi-application startup mode, marks desktop page 2 as a fixed desktop page, and marks desktop page 3 as an active desktop page.
[0266] Thus, through the logic of processing multi-touch events in the embodiment of the present application, the electronic device can enter the multi-application startup mode in response to the multi-touch gesture operation of the user by long pressing and sliding, thereby simplifying the user operation steps and improving the usability of the electronic device.
[0267] It should be understood that the above text introduces the identity setting process of the desktop page by taking the example of setting the desktop page where the long press gesture is located as the fixed desktop page and the desktop page where the sliding gesture is located as the active desktop page. In some examples, the electronic device may also set the desktop page where the long press gesture is located as the active desktop page, and the desktop page where the sliding gesture is located as the fixed desktop page. Alternatively, in other examples, the user's multi-touch gestures are all long press gestures or all sliding gestures, which may also trigger the electronic device to enter the multi-application startup mode. In this case, the electronic device may set the desktop page where the gesture detected for the first time is located as the fixed desktop page, and the desktop page where the gesture detected for the second time is located as the active desktop page. Alternatively, the desktop page where the gesture detected for the first time is located is set as the active desktop page, and the desktop page where the gesture detected for the second time is set as the fixed desktop page.
[0268] In some embodiments, the user may also trigger the electronic device to enter the multi-application startup mode in other ways. For example, the electronic device provides an entry to enter the multi-application startup mode, and in response to the user clicking the multi-application startup mode entry, the electronic device enters the multi-application startup mode.
[0269] Optionally, the entry to the multi-application startup mode is, for example, a control displayed in a sidebar, a desktop control, a control displayed in a negative one screen, a control displayed in a sliding menu bar, a control displayed in an upward sliding control center, etc.
[0270] For example, Figure 8 As shown in (a), the electronic device responds to the user's gesture sliding operation (third gesture operation) along the edge of the screen inward in the direction indicated by arrow 801, and displays the following Figure 8 The sidebar (first window) shown in (b) of FIG. Figure 8 The sidebar in (b) displays a multi-application startup mode entry as shown by icon 802. The electronic device detects a user clicking operation on icon 802 (a first preset control) and enters the multi-application startup mode.
[0271] In this way, the electronic device provides an entry into the multi-application startup mode, thereby providing users with different usage habits or in different usage scenarios with more diverse ways of entering the multi-application startup mode.
[0272] In some examples, there is a sequence between multiple desktop pages included on the desktop, such as Figure 6 In the scenario shown, the desktop includes 5 desktop pages from left to right. After the electronic device enters the multi-application startup mode in response to the user's operation on the multi-application startup mode entrance, the leftmost (or rightmost, or middle) desktop page among the multiple desktop pages currently displayed can be set as a fixed desktop page, and the other displayed desktop pages can be set as active desktop pages. Alternatively, the electronic device can also set all desktop pages as active desktop pages.
[0273] In some examples, if the electronic device already displays an application interface on the desktop, the electronic device may also enter the multi-application startup mode in response to a user operation. For example, the electronic device already displays an interface of application 1, and the electronic device triggers entry into the multi-application startup mode in response to the user's operation on the multi-application startup mode entry in the sidebar. In the multi-application startup mode, the electronic device may shrink the interface of application 1 being displayed to a desktop page for display. In this way, the user can trigger the display of other applications on other desktop pages to meet the needs of multi-application usage. For example, in response to a user clicking on the icon of application 2 on other desktop pages, the application interface of application 2 may be displayed. The embodiments of the present application do not limit the typesetting and layout of the application interfaces of application 1 and application 2.
[0274] Optionally, the electronic device sets the desktop page displayed by the reduced application as a fixed desktop page, and sets other desktop pages displayed on the desktop as active desktop pages.
[0275] In some embodiments, after the electronic device enters the multi-application startup mode, it can flexibly switch to display different desktop pages. Figure 6 In the scenario shown, the desktop displays desktop page 2 and desktop page 3. After entering the multi-application startup mode, the electronic device can respond to the user's sliding gesture operation on desktop page 3 (the fifth operation) to switch the display of desktop page 3 separately. Compared with the prior art, the user cannot independently operate the switching display of a desktop page. The display method provided in the embodiment of the present application can achieve more flexible desktop page control. Optionally, after the electronic device enters the multi-application startup mode, it can also fix any certain desktop pages and switch other active desktop pages in response to simple user operations to achieve different combinations of desktop pages on the screen. It is convenient for users to browse the contents of multiple desktop pages and open multiple applications corresponding to multiple objects on different desktop pages. For example, Figure 6 In the scenario shown, the user needs to start the application in desktop page 2, but does not need to start the application in desktop page 3. Then, the user can instruct the electronic device to enter the multi-application startup mode, and trigger the electronic device to set desktop page 2 as the fixed desktop page and desktop page 3 as the active desktop page. In this way, the user can instruct the electronic device to switch to display other currently hidden desktop pages through a sliding gesture operation on the display position of desktop page 3, so as to find the desktop page where the application to be started is located. In this way, after completing the desktop page display switching, the user can open the two different required applications on desktop page 2 and the switched desktop page respectively, to meet the needs of multi-application use. Among them, the specific content of multi-application startup is detailed in the relevant content below, which will not be repeated here.
[0276] Optionally, still with the above Figure 6 In the scenario shown, the desktop pages displayed on the current desktop include desktop page 2 (first desktop page) and desktop page 3 (second desktop page) as an example, and the switching process of the desktop page is described in detail. Fig. 9 As shown, the electronic device can switch the active desktop page in response to the user operating a fixed part of the desktop page through the method shown in steps S901-S920.
[0277] S901: The event input subsystem of the electronic device receives an operation of the user clicking the screen.
[0278] In some embodiments, the touch sensor of the electronic device receives the operation of the user clicking the screen, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the operation of the user clicking the screen into a user clicking screen event.
[0279] In some examples, the electronic device detects the operation of clicking the screen within a preset time after entering the multi-application startup mode, and can determine that the user indicates in the multi-application startup mode, triggering the corresponding interface display or desktop page switching, etc. Optionally, the electronic device does not detect the user's operation on the electronic device within a preset time after entering the multi-application startup mode, and can exit the multi-application startup mode.
[0280] S902: The event input subsystem of the electronic device sends notification information 4 to the desktop space.
[0281] In some embodiments, in response to a screen-clicking operation by a user, the event input subsystem of the electronic device sends notification information 4 to the desktop space of the electronic device, notifying the desktop space that the electronic device has received the screen-clicking event by the user.
[0282] S903: The desktop space of the electronic device determines that the current electronic device is in a multi-application startup mode, and the position where the user clicks the screen is not on the fixed desktop page, but in a blank area of the desktop page.
[0283] In some embodiments, the desktop space of the electronic device uniformly manages the nested hierarchical structure of the desktop, and the desktop space of the electronic device receives the notification information 4 sent by the event input subsystem, and identifies and responds to the user's screen click event notified by the notification information 4. The desktop space of the electronic device determines that the electronic device is currently in a multi-application startup mode, and the desktop space of the electronic device further determines from the desktop page currently being displayed by the electronic device that the click position of the user's screen click operation is not on a fixed desktop page, but in a blank area of the desktop page. The electronic device determines, based on the obtained confirmation result, that the desktop page clicked by the user enters a page turning state. If the click position of the user's screen click operation is on desktop page 3, as described above, desktop page 3 is an active desktop page.
[0284] S904: The desktop space of the electronic device sends an indication 1 of entering the page turning state to the desktop page clicked by the user (the second desktop page).
[0285] In some embodiments, the desktop space of the electronic device determines that the desktop page clicked by the user enters the page turning state, and sends an entry page turning state indication 1 to the desktop page clicked by the user (such as desktop page 3), which is used to indicate that the desktop page clicked by the user is ready to turn the page in response to the user's next operation.
[0286] S905: The event input subsystem of the electronic device receives the user's screen sliding operation.
[0287] In some embodiments, after the touch sensor of the electronic device receives the user's screen click operation, the screen continues to slide, i.e., the screen sliding operation, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the user's screen sliding operation into a user screen sliding event.
[0288] S906: The event input subsystem of the electronic device sends notification information 5 to the desktop space.
[0289] In some embodiments, the event input subsystem of the electronic device sends notification information 5 to the desktop space of the electronic device in response to the user's screen sliding operation, notifying the desktop space that the electronic device has received the user's screen sliding operation.
[0290] S907: When the sliding speed and sliding distance of the user's screen sliding operation reach a preset switching condition, the desktop space of the electronic device searches for a desktop page to be displayed.
[0291] In some embodiments, the preset switching condition includes a first switching condition and a second switching condition, and the gesture sliding event needs to satisfy the first switching condition and the second switching condition at the same time. The first switching condition may be a preset sliding distance condition, such as when the user's sliding distance exceeds the preset distance. The first switching condition may also be a preset sliding speed condition, such as when the user's gesture sliding speed exceeds the preset speed. The first switching condition may also be a preset comprehensive condition calculated based on the user's gesture sliding distance and sliding speed, such as when the user's gesture sliding distance is less than the first preset value but greater than the second preset value, the user's gesture sliding speed is greater than the third preset value, that is, although the user's gesture operation slides a short distance, the sliding speed is faster. In some examples, the desktop page determines the user's intention based on the user's gesture sliding speed and gesture sliding distance, and confirms whether to switch the desktop page. If the user's gesture sliding speed is less than or greater than the preset value, the desktop space determines not to switch the desktop page. In other examples, if the user's gesture sliding distance is less than or greater than the preset value, the desktop space determines not to switch the desktop page. In other instances, the desktop page determines whether to switch the desktop page based on the user's gesture sliding speed and sliding distance. If the user's gesture sliding distance is short but the user's gesture sliding speed is fast, it is also determined to switch the desktop page.
[0292] The second switching condition is whether the desktop of the electronic device has the next desktop page to be displayed. For example, the electronic device determines whether there is a next desktop page to be displayed in the opposite direction of the sliding direction based on the sliding direction. For example, the electronic device detects the user's left sliding operation on desktop page 3, determines whether there are other hidden desktop pages on the right side of desktop page 3, and then determines whether the second switching condition is met. It should be understood that during the desktop page configuration (or creation) process, the electronic device can obtain the positional relationship between different desktop pages, such as the electronic device can determine that desktop page 4 is located on the right side of desktop page 3.
[0293] In some embodiments, the desktop space of the electronic device responds to the notification information 5 input by the event input subsystem and identifies that the current event is a user sliding screen event. When the sliding distance and sliding speed of the user's sliding operation reach the first preset condition, the desktop space of the electronic device searches for the desktop page to be displayed. Subsequently, based on the search result, it is determined whether there is a next page to be displayed to comprehensively decide whether to turn the page.
[0294] For example, the desktop space determines that the sliding speed and / or sliding distance of the second sliding screen operation of the user reaches the first switching condition, the desktop space determines that the desktop page to be switched is to be displayed, and the desktop space searches for the desktop page to be displayed. When the desktop space searches for the desktop page to be displayed, if the desktop page found is a displayed page, it continues to search for the next page until a desktop page that has not been displayed is found, and the desktop page that has not been displayed is determined to be a new desktop page. If there is no next page that has not been displayed, the page is not turned.
[0295] For example, Figure 6 The desktop of the electronic device shown in (c) includes 5 desktop pages, and the currently displayed desktop pages are desktop page 2 and desktop page 4. In some examples, the electronic device is Figure 6 In the desktop of the electronic device shown in (c), the user's gesture operation of long pressing desktop page 2 and sliding desktop page 4 is detected, and the electronic device enters the multi-application startup mode. In the multi-application startup mode, desktop page 2 is a fixed desktop page, and desktop page 4 is an active desktop page. The electronic device obtains desktop page 5 in response to the user's operation of sliding desktop page 4 to the left. The electronic device determines that desktop page 5 is a desktop page that has not been displayed. The electronic device determines that if the user's gesture meets the page turning condition, it switches to display desktop page 5 and hides desktop page 4.
[0296] Similarly, the electronic device continues to detect the user's operation of sliding desktop page 5 to the left, and obtains desktop page 1. The electronic device determines that desktop page 1 (the third desktop page) is a desktop page that has not been displayed. The electronic device determines that if the user's gesture reaches the first switching condition, desktop page 1 (the third desktop page) is displayed at the position where desktop page 5 is displayed, and desktop page 5 (the second desktop page) is hidden.
[0297] In some examples, in response to the user sliding desktop page 1 to the left, the electronic device finds desktop page 2. The electronic device determines that desktop page 2 is a desktop page that has been displayed, and the electronic device continues to find desktop page 3. The electronic device determines that desktop page 3 is a desktop page that has not been displayed after the electronic device enters the multi-application startup mode, and the electronic device determines that when the user gesture reaches the first switching condition, desktop page 3 is displayed at the position where desktop page 1 is displayed, and the display of desktop page 1 is hidden.
[0298] In some instances, the electronic device responds to the user's operation of sliding desktop page 3 to the left and determines that there are no desktop pages that have not been displayed in the desktop pages being searched, and the electronic device does not switch the desktop page, that is, does not turn the page. At this time, the electronic device can respond to the user's operation of sliding desktop page 3 when it is determined that the user's gesture has reached the first switching condition, and only display the desktop page shaking effect to inform the user that there are no desktop pages that have not been displayed.
[0299] The page turning logic of the electronic device can be flexibly set in response to user operations. In the above example, the electronic device responds to the user operation, and when the undisplayed desktop page arranged on the right or left side of the desktop page switched by the user cannot be found, the electronic device determines that when the user gesture reaches the first switching condition, the page will not be turned. In other examples, the electronic device can respond to the user operation, and when any desktop page arranged on the right or left side of the desktop page switched by the user cannot be found, the electronic device determines that when the user gesture reaches the first switching condition, the page will not be turned. For example, when the electronic device is displaying desktop page 5, it detects that the user slides desktop page 5 to the left, the electronic device determines that desktop page 5 is the desktop page arranged on the far right of all desktop pages, and there are no other desktop pages on the right side of desktop page 5, and the electronic device determines that when the user gesture reaches the first switching condition, the page will not be turned.
[0300] S908: The desktop space of the electronic device sends an instruction to display a desktop page sliding animation to the desktop page slid by the user.
[0301] In some embodiments, in response to the user sliding screen event notified by notification information 5, the electronic device sends an instruction to display the desktop page sliding animation to the desktop page slid by the user. Through the displayed sliding animation, feedback is given to the user that the user's sliding gesture operation has been received. After the desktop space causes the desktop page to display the sliding animation, if it is subsequently confirmed that the desktop page switching condition is not met, the desktop page is not switched.
[0302] S909: The event input subsystem of the electronic device receives a user's gesture lift operation.
[0303] In some embodiments, the touch sensor of the electronic device receives the user's gesture lift operation, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the user's gesture lift operation into a user's gesture lift event.
[0304] S910: The event input subsystem of the electronic device sends notification information 6 to the desktop space.
[0305] In some embodiments, the event input subsystem of the electronic device sends notification information 6 to the desktop space of the electronic device in response to the user's lifting gesture operation, notifying the desktop space that the electronic device has received the user's lifting gesture operation.
[0306] S911: The desktop space of the electronic device receives notification information 6 and determines to switch the desktop page. In some embodiments, the desktop space of the electronic device determines to switch the desktop page based on the user gesture lift event notified by notification information 6 and if it is determined that the desktop has a desktop page to be displayed.
[0307] S912: The desktop space of the electronic device sends a page turning instruction 1 to the desktop page that the user is sliding.
[0308] In some embodiments, after the desktop space of the electronic device determines to switch the desktop page, Figure 6 In (a), the desktop page 3 that the user is sliding on the right side of the interface 60a sends a page turning instruction 1.
[0309] S913: The desktop space of the electronic device sends a page turning instruction 2 to the desktop page that the user is sliding.
[0310] In some embodiments, after the desktop space of the electronic device determines to switch the desktop page, it sends a page turning instruction 2 to the desktop page 4 that needs to be displayed and has been determined in the above step S907.
[0311] It should be understood that the embodiment of the present application does not limit the execution order of S912 and S913. The page turning instructions sent by the desktop space to different desktop pages currently displayed may be sent simultaneously or separately.
[0312] S914: The desktop page 3 of the electronic device sends a confirmation response 9 to the desktop space.
[0313] In some embodiments, the desktop page 3 of the electronic device sends a confirmation response 9 to the desktop space, notifying the desktop space of successful page turning.
[0314] S915: The desktop page 4 of the electronic device sends a confirmation response 10 to the desktop space.
[0315] In some embodiments, the desktop page 4 of the electronic device sends a confirmation response 10 to the desktop space, notifying the desktop space of successful page turning.
[0316] S916: The desktop space of the electronic device confirms that the page is turned successfully.
[0317] In some embodiments, the desktop space of the electronic device confirms that desktop page 3 is switched to desktop page 4 based on the confirmation response 9 received from desktop page 3 and the confirmation response 10 received from desktop page 4, confirming that the page turning is successful.
[0318] S917: The desktop space of the electronic device sends a display indication 1 to the desktop page touched by the user's sliding gesture.
[0319] In some embodiments, after determining that the page has been successfully turned, the desktop space of the electronic device moves to Figure 6In (a), the desktop page 3 touched by the user's sliding gesture shown on the right side of the interface 60a sends a display instruction 1, indicating that the desktop page 3 is not displayed.
[0320] S918: The desktop space of the electronic device sends a display instruction 2 to the desktop page that needs to be displayed.
[0321] In some embodiments, after determining that the page has been successfully turned, the desktop space of the electronic device sends a display instruction 2 to the desktop page 4 that needs to be displayed, instructing the desktop page 4 to be displayed.
[0322] S919: The desktop page that does not need to be displayed in the electronic device is not displayed.
[0323] In some embodiments, the desktop page 3 that does not need to be displayed in the electronic device is no longer displayed on the screen in response to the display instruction 1 received from the desktop space.
[0324] S920: Display the desktop page that needs to be displayed in the electronic device.
[0325] In some embodiments, the desktop page 4 to be displayed in the electronic device is displayed in response to the display instruction 2 received from the desktop space. Figure 6 The page shown on the right side of the interface 60b in (b).
[0326] In this way, in the multi-application startup mode, the electronic device can fix certain desktop pages while switching other desktop pages in response to a simple sliding gesture operation by the user, so as to achieve different combinations of desktop pages on the screen, making it convenient for the user to open and browse the desktop page content.
[0327] In some embodiments, after the user finds the required object on the desktop page, he can start multiple applications on different desktop pages and display multiple application interfaces by clicking two or more objects. Fig.10 As shown, the electronic device starts multiple application programs and displays multiple application interfaces in response to the user clicking on multiple application icons, thereby meeting the user's multi-application operation needs.
[0328] For example, Fig.10 As shown in (a) in the figure, the electronic device is in a multi-application startup mode, and the two desktop pages currently displayed are desktop page 2 and desktop page 4. The electronic device detects that the user clicks the second operation of the video application icon 1001 (first object) displayed on desktop page 2 and the third operation of clicking the memo application icon 1002 (second object) displayed on desktop page 4. Optionally, the time interval between the two click operations is within a preset time interval (such as 100 milliseconds). Afterwards, the electronic device determines to start the video application and the memo application. Fig.10As shown in (b), the electronic device can display the video application interface 1003 (first display content) on the desktop page 2 and display the memo application interface 1004 (second display content) on the desktop page 4.
[0329] It should be understood that after the electronic device enters the multi-application startup mode, it can respond to the user's operations on multiple objects on different desktop pages and open the applications corresponding to the multiple objects. It can also respond to the user's operations on multiple objects on the same desktop page and open the applications corresponding to the multiple objects. For example, Fig.10 As shown in (a), the electronic device starts the video application icon and the clock application icon in response to the user clicking the video application icon and the clock application icon on the same desktop page 2 in sequence. Fig.10 In (b), a video application interface is displayed on one desktop page, and a clock application interface is displayed on another desktop page.
[0330] The embodiments of the present application do not limit the desktop page that displays the application interface corresponding to the different application icons clicked by the user. For example, the electronic device can display the video application interface corresponding to the video application icon clicked by the user first on the desktop page with a higher ranking. The electronic device can also display the video application interface on the desktop page with a lower ranking. The electronic device can also display the video application interface on the desktop page where the user clicks the video application icon.
[0331] Thus, through the display method provided by the embodiment of the present application, after the electronic device enters the multi-application startup mode, in response to the user's click operation on multiple objects within a preset time, the electronic device can start and display the applications corresponding to the multiple objects, etc. This simplifies the user's operation of starting multiple applications, reduces the user's learning cost, makes the operation more user-friendly, and improves the large-screen and split-screen experience.
[0332] For example, Fig.11 The electronic device in the multi-application startup mode, in response to user operation, opens the application corresponding to multiple objects to implement the process, as follows S1101-S1118 in the figure are explained. The desktop page, application icon and desktop launcher involved in S1101-S1118 are as follows: Figure 4 The components of the desktop nesting structure are shown.
[0333] S1101: The event input subsystem of the electronic device receives an operation of the user clicking the screen.
[0334] In some embodiments, the touch sensor of the electronic device receives the operation of the user clicking the screen, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the operation of the user clicking the screen into a user clicking screen event.
[0335] S1102: The event input subsystem of the electronic device sends notification information 7 to the desktop space.
[0336] In some embodiments, in response to a screen-clicking operation by a user, the event input subsystem of the electronic device sends notification information 7 to the desktop space of the electronic device, notifying the desktop space that the electronic device has received the screen-clicking event by the user.
[0337] S1103: The desktop space of the electronic device searches for the desktop page where the click position of the screen operation by the user is located.
[0338] In some embodiments, the desktop space of the electronic device receives the notification information 7 sent by the event input subsystem, and identifies and responds to the user screen click event notified by the notification information 7. The desktop space of the electronic device searches for the desktop page where the click position of the user screen click operation is located based on the notification information 7.
[0339] S1104: The desktop space of the electronic device sends a confirmation request 9 to the desktop page where the user clicks.
[0340] In some embodiments, the confirmation request 9 is used to confirm whether the position where the user clicks the screen is a clickable element and whether it is an application icon. The application icon is a structure nested on the desktop page in the desktop nesting structure, and each application icon corresponds to an application. The application icon can respond to user operations to start the application, delete the application, or move the position of the application icon, etc.
[0341] S1105: The desktop page where the user clicks in the electronic device determines the application icon clicked by the user.
[0342] In some embodiments, the desktop page where the user clicks in the electronic device determines that the click position of the user's click operation is a clickable element, and determines the application icon where the user click position is located.
[0343] S1106: The desktop page where the user clicks in the electronic device sends notification information 8 to the application icon clicked by the user.
[0344] In some embodiments, the notification information 8 is used to notify the application icon clicked by the user of the user click event.
[0345] S1107: The application icon clicked by the user of the electronic device receives and identifies the notification information 8.
[0346] For example, the application icon clicked by the user receives the notification information 8, identifies and responds to the event of the user clicking the application icon in the notification information 8.
[0347] S1108: The application icon clicked by the user of the electronic device sends reporting information 1 to the desktop launcher.
[0348] For example, the application icon clicked by the user sends reporting information 1 to the desktop launcher in the desktop nested structure, and the reporting information 1 is used to notify the desktop launcher of the click event of the user clicking the application icon.
[0349] S1109: The desktop launcher of the electronic device delays detecting the next click event within a preset time interval.
[0350] In some embodiments, when the electronic device is in a multi-application launch mode, after receiving the reporting information 1, the desktop launcher determines that the user has intended to open an application. The desktop launcher waits for the next click event within a preset time interval. If the next one or more user click events of the application icon are detected within the preset time interval, multiple applications corresponding to the multiple application icons clicked by the user will be started. If the desktop launcher does not detect the next user click event of the application icon within the preset time interval, the desktop launcher only starts the application corresponding to the user click event.
[0351] Optionally, the preset time interval may be 100 ms or 150 ms, which is not limited in the embodiment of the present application.
[0352] S1110: The event input subsystem of the electronic device receives the operation of the user clicking the screen again.
[0353] In some embodiments, the touch sensor of the electronic device receives the operation of the user clicking the screen again, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the operation of the user clicking the screen again into a user clicking the screen again event.
[0354] S1111: The event input subsystem of the electronic device sends notification information 9 to the desktop space.
[0355] In some embodiments, in response to the user clicking the screen again, the event input subsystem of the electronic device sends notification information 9 to the desktop space of the electronic device, notifying the desktop space that the electronic device has received the user's screen clicking event again.
[0356] S1112: The desktop space of the electronic device searches for the desktop page where the user clicks.
[0357] In some embodiments, the desktop space of the electronic device receives the notification information 9 sent by the event input subsystem, and identifies and responds to the user's screen click event notified by the notification information 9. The desktop space of the electronic device searches for the desktop page where the click position of the user's screen click operation is confirmed based on the notification information 9.
[0358] S1113: The desktop space of the electronic device sends a confirmation request 10 to the desktop page where the user clicks.
[0359] In some embodiments, the confirmation request 10 is used to confirm whether the location where the user clicks the screen is a clickable element and whether it is an application icon.
[0360] S1114: The user in the electronic device clicks again on the desktop page where the operation is located to determine the application icon clicked by the user.
[0361] In some embodiments, the electronic device determines that the location where the user clicks the desktop page again is a clickable element, and determines the application icon where the user clicks.
[0362] S1115: The desktop page where the user clicks in the electronic device sends notification information 10 to the application icon clicked by the user.
[0363] In some embodiments, the notification information 10 is used to notify the application icon clicked by the user of the user's second click event.
[0364] S1116: The application icon clicked by the user of the electronic device receives and identifies the notification information 10.
[0365] For example, the application icon clicked by the user receives the notification information 10, and identifies and responds to the user's re-click event.
[0366] S1117: The application icon clicked by the user of the electronic device sends reporting information 2 to the desktop launcher.
[0367] For example, the application icon clicked by the user sends reporting information 2 to the desktop launcher in the desktop nested structure, and the reporting information 2 is used to notify the desktop launcher of the second click event of the user clicking the application icon.
[0368] S1118: When the time interval between two click events of the user is within a preset condition, the desktop launcher of the electronic device launches multiple applications corresponding to the multiple application icons clicked by the user.
[0369] In some examples, after the electronic device enters the multi-application startup mode, the desktop launcher of the electronic device determines the user's selection of the application icon within the first preset time as an operation to start multiple applications. The user's selection of the application icon beyond the first preset time interval is not counted as an operation to start multiple applications. The electronic device further determines whether the click events of the user selecting multiple applications meet the second preset time interval. For example, the desktop launcher of the electronic device verifies through a performance analysis tool (systrace) that the user's two click events within the first preset time are both click events on the application icon. The desktop launcher of the electronic device further determines whether the multi-touch event composed of the user's two click events meets the conditions for starting multiple applications in the multi-application startup mode. For example, the desktop launcher of the electronic device determines whether the time interval between the user's two click events is within the second preset time interval. If within the second preset time interval, the desktop launcher packages the application information corresponding to the user's two click events, and calls the system service to start the application corresponding to the user's two click events. It should be understood that the two click events in the above example are only for distinguishing different click events of the user, and do not constitute a limit on the number of user click events. Other click events may also occur between the two click events.
[0370] Optionally, the second preset time interval may be 100 ms or 150 ms, which is not limited in the embodiment of the present application.
[0371] In some examples, after the electronic device enters the multi-application startup mode, it can start multiple applications and display multiple application interfaces after the user completes clicking on multiple application icons. The electronic device can also start and display applications one by one in response to the user's clicking on the application icons when the user has not completed clicking on all application icons to be started. For example, after detecting that the user clicks on the application 1 icon, application 1 is started and the application interface of application 1 is displayed.
[0372] In this way, in the multi-application startup mode, the electronic device can start and display the applications corresponding to the multiple application icons in response to the user's operation on the multiple application icons within a preset time interval. This simplifies the steps for users to open multiple applications, reduces the user's learning cost, makes the operation more user-friendly, and improves the large-screen and split-screen experience.
[0373] In some embodiments, the electronic device supports displaying two or more desktop pages. When the electronic device supports displaying more than two desktop pages at the same time, some of the desktop pages can be combined and set as glued desktop pages. Optionally, the glued desktop pages are switched and displayed simultaneously in response to user operations.
[0374] In some examples, after entering the multi-application startup mode, the electronic device obtains multiple currently displayed active desktop pages. The electronic device detects the user's operation on one of the active desktop pages, and determines that the number of currently hidden desktop pages is greater than or equal to the number of currently displayed active desktop pages. Then, the electronic device can set the multiple currently displayed active desktop pages as sticky desktop pages, and select the same number of hidden desktop pages from the currently hidden desktop pages according to the number of active desktop pages as sticky desktop pages. The electronic device regards the detected user operation on one of the active desktop pages as acting on other active desktop pages at the same time. In this way, during the desktop page display switching process, the electronic device can simultaneously switch the multiple currently displayed sticky desktop pages to display hidden desktop pages.
[0375] In some examples, the electronic device may also set some of the currently displayed active desktop pages as sticky desktop pages. For example, the electronic device currently displays five active desktop pages, and the electronic device detects the user's sliding operation on the active desktop page 1, and determines that the number of currently hidden desktop pages is three. Then, the electronic device can set three of the five currently displayed desktop pages (including the active desktop page 1) as sticky desktop pages, and also set the three currently hidden desktop pages as sticky desktop pages. The electronic device regards the detected user's operation on the active desktop page 1 as acting on the other two desktop pages that are stuck to the active desktop page at the same time. In this way, during the desktop page display switching process, the electronic device can simultaneously display multiple currently hidden desktop pages on the screen at one time. In this way, when the number of hidden desktop pages is less than the number of active desktop pages, simultaneous switching of multiple active desktop pages can also be achieved.
[0376] Optionally, the electronic device may also pre-set the sticky desktop page according to the user operation. For example, after the electronic device enters the multi-application startup mode, it obtains the active desktop page. The electronic device detects the user's sliding operation on the active desktop page, determines that there are one or more sticky desktop pages for the active desktop page, and the one or more sticky desktop pages are the desktop pages currently being displayed, and the sliding operation can be regarded as acting on the one or more sticky desktop pages at the same time. Alternatively, it is determined that there is no sticky desktop page for the active desktop page, and the sliding operation can be regarded as acting on the active desktop page alone.
[0377] In some examples, the electronic device can set whether to start the sticky desktop page mode according to the user operation. After starting the sticky desktop page mode, the electronic device will determine whether there is a sticky desktop page for the active desktop page after detecting the user's operation on the active desktop page.
[0378] For example, the electronic device does not start the sticky desktop page mode, as shown in FIG1 Fig.12As shown in (a) of FIG. 1 , the electronic device displays three desktop pages on the screen. As shown in the icon in the area indicated by reference numeral 1203, the screen currently displays desktop page 2, desktop page 3, and desktop page 4, counting from the left. When the electronic device has entered the multi-application startup mode, it detects a user sliding operation 1202 on desktop page 4 indicated by reference numeral 1201, and switches the desktop page 4 that the user slides. Fig.12 As shown in (b), the electronic device switches the desktop page 4 to the desktop page 5 shown by the reference numeral 1204 which has not been displayed. Fig.12 As shown in the icon in the area indicated by reference numeral 1205 in (b), after the screen of the electronic device switches the desktop page, desktop page 2, desktop page 3 and desktop page 5 are displayed from the left. Fig.12 In the illustrated embodiment, in response to the user sliding the desktop page operation, the electronic device only switches a single desktop page, switching the desktop page 4 to be displayed as the desktop page 5, and the desktop page 2 and the desktop page 3 remain unchanged.
[0379] In another exemplary embodiment, the electronic device starts the sticky desktop page mode, such as Fig.13 As shown in (a) in the figure, the electronic device displays three desktop pages on the screen. As shown in the icon in the area indicated by reference numeral 1303, the electronic device currently has a total of six desktop pages, and the screen currently displays desktop page 2 (the second desktop page), desktop page 3 (the first desktop page), and desktop page 4 (the fourth desktop page) counting from the left. In the case of entering the multi-application startup mode, if desktop page 3 is a fixed desktop page, desktop page 2 and desktop page 4 are active desktop pages, and 2 and 4 are the first sticky desktop pages. Among the desktop pages that are not displayed, desktop page 5 (the third desktop page) and desktop page 6 (the fifth desktop page) are the second sticky desktop pages. The electronic device detects the user's sixth operation 1302 on desktop page 4 shown in reference numeral 1301, and switches the sticky desktop page 2 and desktop page 4 currently displayed on the screen. As Fig.13 As shown in (b), the electronic device switches the desktop page 2 (the second desktop page) to the desktop page 5 (the third desktop page) shown by the reference mark 1306 which has not been displayed, and switches the desktop page 4 (the fourth desktop page) to the desktop page 6 (the fifth desktop page) shown by the reference mark 1307 which has not been displayed. Fig.13 As shown in the icon in the area marked with reference numeral 1308 in (b), after the screen of the electronic device switches the desktop page, the desktop page 3, the desktop page 5 and the desktop page 6 are displayed from the left. Fig.13 In the illustrated embodiment, the electronic device switches the active desktop page 2 and the desktop page 4 to the adhered desktop page 5 and the desktop page 6 at one time in response to the user's operation of sliding the desktop page, and the fixed desktop page 3 remains stationary.
[0380] Optionally, the electronic device can flexibly set, combine or dissolve the sticky desktop page in response to the user operation. For example, in response to the user operation, the electronic device can set the desktop page combination not displayed in the current screen of the electronic device as the sticky desktop page, and also set the active desktop page displayed in the screen of the electronic device as the sticky desktop page. It is also possible to only set the desktop page combination not displayed in the current screen of the electronic device as the sticky desktop page, and not set the active desktop page displayed in the screen as the sticky desktop page.
[0381] Exemplarily, the electronic device automatically combines the undisplayed desktop pages according to the situation of the undisplayed desktop pages. For example, the electronic device includes a total of 5 desktop pages. The electronic device currently displays 3 desktop pages, including desktop page 1, desktop page 2 and desktop page 3. Among them, desktop page 1 is a fixed desktop page, and desktop page 2 and desktop page 3 are active desktop pages. The electronic device detects the gesture of the user sliding to switch desktop page 2, and the electronic device finds that there are two undisplayed desktop pages, namely desktop page 4 and desktop page 5, and there are also two active desktop pages displayed. According to the situation of the undisplayed desktop pages, the electronic device combines desktop page 4 and desktop page 5 into a sticky desktop page, and in response to the user sliding desktop page 2, switches the sticky desktop page composed of desktop page 4 and desktop page 5 at one time. Desktop page 4 is displayed at the position where desktop page 2 is displayed on the screen, and desktop page 5 is displayed at the position where desktop page 3 is displayed, and the previously displayed active desktop page 2 and active desktop page 3 are hidden at one time.
[0382] In some embodiments, the electronic device can dissolve the adhesion of the displayed active desktop page. For example, when the electronic device has only one undisplayed desktop page, it can dissolve the adhesion desktop page in the displayed desktop page, and only switch one of the adhesion desktop pages, while the other desktop pages are fixed. Exemplarily, the desktop of the electronic device includes a total of 5 desktop pages, and the current desktop of the electronic device displays desktop page 1, desktop page 2, desktop page 3 and desktop page 4, and only one undisplayed desktop page 5. Among the active desktop pages displayed, desktop page 2 and desktop page 4 are adhesion desktop pages. If the electronic device detects a gesture of the user sliding to switch desktop pages on desktop page 2, the electronic device dissolves the adhesion of desktop page 2 and desktop page 4 according to the situation that there is only one undisplayed desktop page. The electronic device displays desktop page 5 on desktop page 2, hides desktop page 2, and desktop page 4 remains fixed.
[0383] Optionally, the electronic device can also set the sticky desktop page as a fixed desktop page in response to user operations. If the electronic device detects that the user long presses the sticky desktop page and slides other desktop pages, the electronic device determines that the user gesture operation meets the preset gesture for entering the multi-application startup mode, and the electronic device enters the multi-application startup mode. In the multi-application startup mode, the electronic device uses the sticky desktop page as a fixed desktop page and sets other desktop pages as active desktop pages. The electronic device can switch other desktop pages in response to the user sliding other desktop pages, and the sticky fixed desktop page remains fixed.
[0384] In this way, when the electronic device displays more than two desktop pages, in response to user operations, it can switch multiple active desktop pages to sticky, undisplayed desktop pages, so that the user only needs one operation to switch more than one desktop page, reducing the user's operation steps and improving the user's efficiency in operating the electronic device and the user experience.
[0385] For example, Fig.14 The present invention shows an implementation process of an electronic device in a multi-application startup mode, in response to a user operation, switching a first sticky desktop page slid by a user to a second sticky desktop page that is not displayed, and the process includes S1401-S1414.
[0386] S1401: The event input subsystem of the electronic device detects the user clicking the screen.
[0387] In some embodiments, the touch sensor of the electronic device detects the operation of the user clicking the screen, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the operation of the user clicking the screen into a user clicking screen event.
[0388] S1402: The event input subsystem of the electronic device sends notification information 11 to the desktop space.
[0389] In some embodiments, in response to a screen-clicking operation by a user, the event input subsystem of the electronic device sends notification information 11 to the desktop space of the electronic device, notifying the desktop space that the electronic device has received the screen-clicking event by the user.
[0390] S1403: The desktop space of the electronic device receives the notification information 11, and determines that the desktop page clicked by the marked user enters the page turning state.
[0391] In some embodiments, after the desktop space of the electronic device receives the notification information 11 sent by the event input subsystem, it confirms that the electronic device is in a multi-application startup mode, confirms that the desktop page needs to stick and slide, and confirms that the position where the user clicks the screen is located on the active desktop page. Based on the above confirmed conditions, the desktop space determines that the user may want to turn the page, and the desktop space determines that the desktop page clicked by the user enters the page turning state. After the desktop page clicked by the user enters the page turning state, the page can be turned in response to the no longer display instruction sent by the desktop space.
[0392] S1404: The desktop space of the electronic device sends a page turning state indication 2 to the first sticky desktop page clicked by the user.
[0393] In some embodiments, the page turning state indication 2 is used to indicate that the sticky desktop page clicked by the user enters the page turning state. The desktop space will then settle the user gesture in response to the user operation. If the user gesture meets the preset switching condition, the desktop space will send a no longer display indication to the sticky desktop page clicked by the user, indicating that the sticky desktop page clicked by the user has turned pages.
[0394] S1405: The event input subsystem of the electronic device detects the user's screen sliding operation.
[0395] In some embodiments, the touch sensor of the electronic device detects the user sliding the screen, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the user sliding the screen into a user sliding screen event.
[0396] S1406: The event input subsystem of the electronic device sends notification information 12 to the desktop space.
[0397] In some embodiments, in response to a screen sliding operation by a user, the event input subsystem of the electronic device sends notification information 12 to the desktop space of the electronic device, notifying the desktop space that the electronic device has received the screen sliding event of the user.
[0398] S1407: The desktop space of the electronic device receives the notification information 12 and obtains the undisplayed second sticky desktop page.
[0399] In some embodiments, the desktop space of the electronic device receives the notification information 12 sent by the event input subsystem, and when it is identified that the sliding speed and sliding distance of the user gesture sliding in the notification information 12 reach a first preset condition, it further determines a second sticky desktop page that has not been displayed before and needs to be displayed.
[0400] S1408: The desktop space of the electronic device sends a display instruction 3 to the first sticky desktop page clicked by the user.
[0401] In some embodiments, the display indication 3 is used to indicate that the first sticky desktop page clicked by the user displays a sliding animation effect.
[0402] S1409: The desktop space of the electronic device sends a display instruction 4 to the second sticky desktop page.
[0403] In some embodiments, display indication 3 is used to indicate that the second sticky desktop page displays a sliding animation.
[0404] S1410: The event input subsystem of the electronic device detects a user's lifting gesture.
[0405] In some embodiments, the touch sensor of the electronic device detects the user's gesture lifting operation, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the user's gesture lifting operation into a user's gesture lifting event.
[0406] S1411: The event input subsystem of the electronic device sends notification information 13 to the desktop space.
[0407] In some embodiments, the event input subsystem of the electronic device sends notification information 13 to the desktop space of the electronic device in response to the user's gesture lifting operation, and the notification information 13 is used to notify the desktop space of the operation information that the user's gesture leaves the screen.
[0408] S1412: The desktop space of the electronic device receives the notification information 13 and confirms whether the page turning is successful.
[0409] In some embodiments, the desktop space of the electronic device responds to the user gesture lift event notified by the notification information 13, and further confirms whether the desktop page is turned successfully with the first sticky desktop page clicked by the user and the second sticky desktop page to be displayed nested in the desktop space.
[0410] S1413: The desktop space of the electronic device sends a no longer display instruction 5 to the desktop page clicked by the user.
[0411] In some embodiments, the no longer display indication 5 is used to indicate that the first sticky desktop page clicked by the user is no longer displayed, ie, the page is turned.
[0412] S1414: The desktop space of the electronic device sends a display instruction 6 to the second sticky desktop page.
[0413] In some embodiments, the display indication 6 is used to indicate that the second sticky desktop page is displayed on the screen.
[0414] Thus, through Fig.14According to the method shown, when the electronic device displays more than two desktop pages, in response to user operations, the electronic device can switch multiple active desktop pages to sticky, undisplayed desktop pages, so that the user only needs one operation to switch more than one desktop page, thereby reducing the user's operation steps and improving the user's efficiency in operating the electronic device and the user experience.
[0415] In some embodiments, the objects displayed by the electronic device include but are not limited to application icons, and may also be desktop folders, widgets (desktop controls provided by Android), service cards, etc. In response to a user's click operation on a display object, the electronic device may expand the display content corresponding to the display object, such as expanding to display an application interface, or expanding to display a desktop folder, etc.
[0416] In some scenarios, such as Fig.15 As shown, when the electronic device expands the folder control on the desktop, it will occupy the full screen space to expand and display the folder. Fig.15 After the user clicks on the folder 1501 in (a), the electronic device occupies all desktop pages to expand and display the folder. Fig.15 As shown by reference numeral 1502 in (b), after the folder is expanded, it is displayed in the full screen space.
[0417] In some scenarios, when an electronic device is in a multi-application startup mode, if a folder is expanded and displayed in full screen, when a user wants to start an application corresponding to an icon in the folder and then start an application corresponding to an icon outside the folder, the user needs to perform operations such as opening and closing the folder, and the operation steps are relatively complicated. Through the interaction method provided in the embodiment of the present application, when the electronic device is in a multi-application startup mode, the folder is expanded and displayed on a desktop page, and the user can operate the icons outside the folder at the same time without closing the folder.
[0418] For example, Fig.16 As shown in (a), the electronic device detects the eighth operation of the user clicking the utility folder 1601, and displays the following Fig.16 The interface shown in (b) is shown in the figure. Fig.16 As shown in the figure mark 1602, the folder is expanded and displayed only on one desktop page. Other desktop pages of the electronic device that do not display the expanded folder can switch desktop pages in response to the user's ninth operation (such as a sliding gesture), and the electronic device can also open multiple applications in response to the user's third operation of clicking multiple application icons on the desktop page that does not display the expanded folder.
[0419] In this way, when the electronic device enters the multi-application startup mode, in response to the user's operation of opening a folder or other foldable object, the expansion animation of the folder or foldable object is only displayed on the current desktop page, and other desktop pages are not affected. The electronic device can subsequently respond to the user's operation to start the application corresponding to the icon in the folder or folded object and the application corresponding to the icon on the desktop page that is not displayed. When opening the above-mentioned multiple applications, the user no longer needs to close the expanded desktop folder or foldable object. The user's operation steps are reduced, the user's operation range for opening multiple applications is expanded, and the usability of the electronic device and the user experience are improved.
[0420] For example, Fig.17 The embodiment shows an implementation process of an electronic device in a multi-application startup mode, in response to a user operation, expanding a desktop folder and displaying it on a current desktop page. The process includes S1701-S1710.
[0421] S1701: The event input subsystem of the electronic device detects the user clicking the screen.
[0422] In some embodiments, the touch sensor of the electronic device detects the operation of the user clicking the screen, and the corresponding hardware interrupt is sent to the kernel layer. The event input subsystem of the kernel layer processes the operation of the user clicking the screen into a user clicking screen event.
[0423] S1702: The event input subsystem of the electronic device sends notification information 14 to the desktop space.
[0424] In some embodiments, in response to a user clicking the screen, the event input subsystem of the electronic device sends notification information 14 to the desktop space of the electronic device to notify the desktop space of the user clicking the screen event.
[0425] S1703: The desktop space of the electronic device receives notification information 14.
[0426] In some embodiments, after receiving the notification information 14 sent by the event input subsystem, the desktop space of the electronic device identifies and processes the user screen click event in the notification information 14, and confirms the desktop page clicked by the user.
[0427] S1704: The desktop space of the electronic device sends a confirmation request 11 to the desktop page clicked by the user.
[0428] In some embodiments, the desktop space of the electronic device responds to the user screen click event in the communication information 14, needs to confirm whether the object clicked by the user is a desktop folder, and the desktop space sends a confirmation request 11 to the desktop page clicked by the user. The confirmation request 1 is used to request the desktop page clicked by the user to confirm whether the object clicked by the user is a desktop folder.
[0429] S1705: The desktop page clicked by the user of the electronic device confirms that the object clicked by the user is a desktop folder.
[0430] In some embodiments, the desktop page clicked by the user of the electronic device responds to the received confirmation request 11 to confirm that the object clicked by the user is a desktop folder.
[0431] S1706: The desktop page clicked by the user of the electronic device sends a confirmation response 11 to the desktop space.
[0432] In some embodiments, the confirmation response 11 is used to notify the desktop space that the object clicked by the user is a desktop folder.
[0433] S1707: The desktop space of the electronic device receives a confirmation response 11 to confirm whether the electronic device is in a multi-application startup mode.
[0434] In some embodiments, the confirmation response 11 is used to notify the desktop space that the element clicked by the user is a desktop folder.
[0435] S1708: The desktop space of the electronic device sends a display instruction 13 to the desktop page clicked by the user.
[0436] In some embodiments, the desktop space responds to the received confirmation response 11, confirms that the electronic device is in the multi-application startup mode, and sends a display instruction 13 to the desktop page clicked by the user. The display instruction 13 is used to instruct the desktop page clicked by the user to display the expanded desktop folder.
[0437] S1709: The desktop space of the electronic device sends a display instruction 14 to the application icon.
[0438] In some embodiments, the desktop space responds to the received confirmation response 11, confirms that the electronic device is in the multi-application startup mode, and sends a display instruction 14 to the application icons included in the desktop folder. The display instruction 14 is used to instruct the application icons included in the desktop folder to be displayed in the desktop folder expanded on the desktop page clicked by the user.
[0439] S1710: The application icons in the desktop folder of the electronic device are expanded and displayed on a single desktop page.
[0440] In some embodiments, the application icon in the desktop folder of the electronic device is displayed in the desktop folder expanded on the desktop page clicked by the user in response to the received display instruction 14.
[0441] It should be understood that when the desktop folder or foldable object is expanded and displayed, it can be displayed on the desktop page where the utility folder is located, or it can be displayed on the preset desktop page, or it can be fixed at certain positions on the screen to expand and display the desktop folder. The expanded desktop folder or foldable object can also move to a full-screen position in response to user operations. The embodiment of the present application does not limit the display position of the expanded desktop folder or foldable object on the screen.
[0442] Thus, through Fig.17 According to the method shown, when the electronic device is in a multi-application startup mode, in response to the user's eighth operation of opening a folder or a folding object, the expansion animation of the desktop folder or folding object can be covered on only one desktop page.
[0443] In some embodiments, when a desktop folder is expanded and displayed on a desktop page, the electronic device can respond to a user long pressing a blank area of the folder expanded and displayed by sliding the remaining desktop pages to re-enter the multi-application startup mode. Alternatively, in response to a user long pressing a desktop page, the electronic device can respond to a user long pressing a desktop page by sliding the blank area of the folder expanded and displayed to re-enter the multi-application startup mode, which is not limited in the embodiments of the present application. In this way, the way in which the electronic device enters the multi-application startup mode is expanded, and the convenience of the user operating the electronic device is improved.
[0444] Combination of the above Figure 4-Figure 17 The display method provided by the embodiment of the present application is described in detail. Fig.18 The electronic device provided by the embodiments of the present application is described in detail.
[0445] In one possible design, Fig.18 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.18 As shown, the electronic device 1800 may include: a transceiver unit 1801, a processing unit 1802 and a display unit 1803. The electronic device 1800 may be used to implement the display method involved in the above method embodiment. Optionally, the electronic device 1800 may include, for example Figure 2A The electronic devices shown (such as foldable screen mobile phones, tablets, etc.) and devices in electronic devices that are equipped with display functions and have corresponding processing capabilities.
[0446] Optionally, the transceiver unit 1801 is used to support the electronic device 1800 to execute Figure 7 S701, S711, S721, S730, and / or supporting electronic device 1800 to execute Fig.11 S1101 and S1110 in the table.
[0447] Optionally, the processing unit 1802 is used to support the electronic device 1800 to execute Figure 7S702-S710, S712-S720, S722-S729, S731-S739 in the embodiment, and / or supporting the electronic device 1800 to execute Fig.11 S1102-S1109, S1111-S1118 in.
[0448] Optionally, the display unit 1803 is used to support the electronic device 1800 to display interface content.
[0449] Among them, the transceiver unit may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the electronic device 1800 are respectively to implement the corresponding process of the display method in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.
[0450] Optionally, Fig.18 The electronic device 1800 shown may also include a storage unit ( Fig.18 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1801, the processing unit 1802 and the display unit 1803 execute the program or instruction, Fig.18 The electronic device 1800 shown can execute the display method in the above method embodiment.
[0451] Fig.18 The technical effects of the electronic device 1800 shown can refer to the technical effects of the display method in the above method embodiment, which will not be repeated here.
[0452] In addition to being in the form of electronic device 1800, the technical solution provided in the present application may also be a functional unit or chip in the electronic device, or a device used in conjunction with the electronic device.
[0453] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.
[0454] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0455] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0456] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0457] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0458] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run on a computer, the computer executes the above-mentioned related steps to implement the display method in the above-mentioned embodiment.
[0459] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the display method in the above-mentioned embodiment.
[0460] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the display method in each of the above method embodiments.
[0461] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0462] The steps of the method or algorithm described in conjunction with the disclosed content of the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).
[0463] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0464] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.
[0465] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0466] Computer-readable storage media include, but are not limited to, any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program codes.
[0467] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A display method, characterized in that, applied to an electronic device, the method comprising: displaying a first interface for displaying the desktop of the electronic device; in response to a first operation of the user on the first interface, obtaining a first desktop page and a second desktop page currently displayed on the first interface, the desktop including the first desktop page and the second desktop page; in response to a second operation of the user on a first object displayed on the first interface, displaying first display content corresponding to the first object on the first desktop page; in response to a third operation of the user on a second object displayed on the first interface, displaying second display content corresponding to the second object on the second desktop page.
2. The method according to claim 1, characterized in that, the first object is displayed on the first desktop page or the second desktop page, and the second object is displayed on the first desktop page or the second desktop page.
3. The method according to claim 1 or 2, characterized in that, the step of, in response to a first operation of the user on the first interface, obtaining a first desktop page and a second desktop page currently displayed on the first interface, includes: during detecting a first gesture operation of the user on the first desktop page, detecting a second gesture operation of the user on the second desktop page, and obtaining the first desktop page and the second desktop page currently displayed on the first interface; wherein the first operation includes the first gesture operation and the second gesture operation.
4. The method according to claim 1 or 2, characterized in that, the step of, in response to a first operation of the user on the first interface, obtaining a first desktop page and a second desktop page currently displayed on the first interface, includes: in response to a third gesture operation of the user on the first interface, displaying a first window; in response to an operation of the user on a first preset control displayed in the first window, obtaining the first desktop page and the second desktop page currently displayed on the first interface.
5. The method according to claim 1 or 2, characterized in that, the step of, in response to a first operation of the user on the first interface, obtaining a first desktop page and a second desktop page currently displayed on the first interface, includes: in response to an operation of the user on the first preset control displayed on the first interface, obtaining the first desktop page and the second desktop page currently displayed on the first interface.
6. The method according to claim 1 or 2, characterized in that, the step of, in response to a first operation of the user on the first interface, obtaining a first desktop page and a second desktop page currently displayed on the first interface, includes: in response to a fourth operation of the user on the first interface, displaying a negative first screen; in response to an operation of the user on a first preset control displayed in the negative first screen, obtaining the first desktop page and the second desktop page currently displayed on the first interface.
7. The method according to any one of claims 1-6, characterized in that, The desktop further includes at least one un-displayed desktop page. In response to a first operation of the user on the first interface, the first desktop page and the second desktop page currently displayed on the first interface are obtained. The method further includes: In response to a fifth operation of the user on the second desktop page, the third desktop page is switched and displayed at a first display position where the second desktop page is displayed. The third desktop page is the desktop page in the at least one un-displayed desktop pages that has the closest sorting interval to the second desktop page and matches the switching direction indicated by the fifth operation.
8. The method according to claim 7, wherein, the method further includes: In response to a sixth operation of the user on a third object displayed on the third desktop page, second display content corresponding to the third object is displayed on the third desktop page.
9. The method according to any one of claims 1-8, wherein, after obtaining the first desktop page and the second desktop page included in the desktop in response to a first operation of the user on the first interface, the method further includes: Setting the first desktop page as a fixed desktop page and the second desktop page as an active desktop page; or setting both the first desktop page and the second desktop page as active desktop pages.
10. The method according to claim 9, wherein, the desktop pages displayed on the first interface further include a fourth desktop page, and the fourth desktop page is an active desktop page; the method further includes: In response to a sixth operation of the user on the second desktop page, determining that a first number of un-displayed desktop pages in the desktop is greater than or equal to a second number of displayed active desktop pages; switching and displaying the third desktop page at a first display position where the second desktop page is displayed, and switching and displaying a fifth desktop page at a second display position where the fourth desktop page is displayed; wherein, the un-displayed desktop pages in the desktop include the third desktop page and the fifth desktop page, and the positional relationship between the third desktop page and the fifth desktop page is the same as the positional relationship between the second desktop page and the fourth desktop page.
11. The method according to any one of claims 1-10, wherein, the first object includes at least one of an application icon, a folder, and a card. The step of, in response to a second operation of the user on the first object displayed on the first interface, displaying first display content corresponding to the first object on the first desktop page includes: In response to a second operation of the user on a first application icon displayed on the first interface, a first application interface corresponding to the first application icon is displayed on the first desktop page; or, in response to an eighth operation of the user on a folder displayed on the first interface, an expanded folder is displayed on the first desktop page; in response to a ninth operation of the user on a second application icon in the expanded folder, a second application interface corresponding to the second application icon is displayed on the first desktop page; or, in response to a second operation of the user on a card displayed on the first interface, a third application interface corresponding to the card is displayed on the first desktop page.
12. An electronic device It is characterized in that it includes: a processor, a memory, and a display screen, where the memory and the display screen are coupled to the processor, the memory is used to store computer program code, and the computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device is caused to execute the method according to any one of claims 1-11.
13. A computer-readable storage medium It is characterized in that the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1-11.
14. A computer program product It is characterized in that when the computer program product runs on a computer, the computer is caused to execute the method according to any one of claims 1-11.