Display method, electronic equipment, storage medium and chip

By detecting specific actions on the desktop interface of electronic devices and displaying the negative one screen in full screen, the difficulty for users to quickly find applications is solved, thus improving the user experience.

CN121764568APending Publication Date: 2026-03-31HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Users face difficulties in quickly and easily finding installed applications on their electronic devices, and existing technologies struggle to provide effective solutions.

Method used

By detecting specific operations on the desktop interface of electronic devices, it determines whether preset display conditions are met. If they are met, the negative one screen interface is displayed in full screen. The negative one screen contains a resource library and a search area where users can enter search information to quickly find applications.

Benefits of technology

This allows users to quickly and easily find and install applications on their electronic devices, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121764568A_ABST
    Figure CN121764568A_ABST
Patent Text Reader

Abstract

The invention discloses a display method, electronic equipment, a storage medium and a chip. The method is applied to the electronic equipment comprising a resource library and a negative one screen, and comprises the following steps: displaying a first interface serving as a desktop of the electronic equipment in a full-screen manner; under the condition that a first operation on a first area in the first interface is detected, judging whether a preset display condition is met or not, the preset display condition comprises that a negative screen and a resource library are started, the first operation is an operation of a preset type, and the first area does not comprise a first interface element (namely, a second interface element is displayed in response to the operation of the preset type); under the condition that the preset display condition is met, a negative screen is displayed in a full screen, an interface of a resource library is displayed in the negative screen, the interface of the resource library comprises a search area and icons of all applications installed in the electronic equipment, and the search area is used for displaying the icons matched with the search information in response to the search information. According to the method, the application in the electronic equipment can be quickly and conveniently found, so that the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic equipment technology, and more specifically, to a display method, electronic equipment, storage medium, and chip. Background Technology

[0002] With the continuous development of terminal technology, electronic devices can provide users with a variety of services through the various types of applications already installed on them, thereby better meeting user needs. In scenarios where electronic devices have a large number of applications installed, users have a need to quickly and conveniently find a specific application installed on the device. Summary of the Invention

[0003] This application provides a display method, electronic device, storage medium, and chip that can quickly and conveniently locate applications installed in electronic devices to improve user experience.

[0004] In a first aspect, embodiments of this application provide a display method applied to an electronic device including a resource library and a negative one screen. The method includes: displaying a first interface in full screen, wherein the first interface is the desktop of the electronic device; upon detecting a first operation on a first area within the first interface, determining whether preset display conditions are met, wherein the preset display conditions include the following conditions: the negative one screen is open, the resource library is open, the first operation is a preset type of operation, and the first area does not include a first interface element, wherein the first interface element is used to trigger the electronic device to display a second interface element associated with the first interface element in response to the preset type of operation; and upon determining that the preset display conditions are met, displaying the negative one screen in full screen, wherein the negative one screen displays the interface of the resource library, the interface of the resource library including a search area and icons of all applications installed on the electronic device, the search area being used to trigger the electronic device to display the icon of the application found from all application icons that matches the search information in response to search information.

[0005] In the above technical solution, when the user performs a first operation on the first interface, which is the desktop of the electronic device, and the electronic device determines that the preset display conditions are met, the electronic device can display a resource library interface, including a search area and icons of all applications installed on the electronic device, on the negative one screen. This allows the user to quickly and conveniently find the icon of the application that matches the search information by entering search information in the search area of ​​the resource library interface, thereby improving the user experience.

[0006] In one possible implementation, the preset display conditions also include at least one of the following conditions: the desktop style of the first interface is a preset format desktop style, the desktop mode of the first interface is not a desktop page turning mode, the desktop mode of the first interface is not a desktop editing mode, and the electronic device is a preset type of electronic device.

[0007] In the above technical solution, the preset display conditions may also include one or more of the preset conditions of the desktop style, desktop mode and electronic device type of the first interface, so that the negative one screen of the interface with the resource library is displayed in full screen in the scenario corresponding to the preset display conditions.

[0008] In another possible implementation, the preset type of operation is an upward swipe operation; or, the preset type of operation is an upward swipe operation, and the swipe distance of the upward swipe operation is greater than or equal to a first distance.

[0009] In another possible implementation, the first interface element is the icon of the second application on the desktop, and the second interface element is a transient card associated with the second application in the interface; or, the first interface element is the first card in a stack of cards on the desktop, and the second interface element is the second card in a stack of cards.

[0010] In another possible implementation, before displaying the negative one screen in full screen, the method includes: displaying a portion of the negative one screen and a portion of the first interface, provided that the negative one screen and the resource library are both open, the first operation is a preset type of operation and the second sliding distance of the first operation is less than the first distance and greater than or equal to the second distance, and the first area does not include the first interface elements. The portion of the negative one screen displays a portion of the resource library interface.

[0011] In another possible implementation, the method further includes: if it is determined that the preset display conditions are not met, displaying a second interface in full screen, wherein the second interface is the first interface, or the second interface is the interface obtained after displaying the elements of the second interface in the first interface.

[0012] In the above technical solution, if it is determined that the first operation does not meet the preset display conditions, or if the first operation is not an operation targeting a first interface element in the first interface, the electronic device will display the first interface in full screen. If it is determined that the first operation does not meet the preset display conditions, or if the first operation is an operation targeting a first interface element in the first interface, the electronic device will display the interface obtained after displaying the second interface element in the first interface in full screen.

[0013] In another possible implementation, the method further includes: when the library is open, displaying a third interface in response to detecting a second operation on the icon of a first application in the first interface, wherein the third interface includes a first pop-up window and the icon of the first application; displaying a fourth interface in response to detecting a third operation on a first removal control in the first pop-up window, wherein the fourth interface includes a second pop-up window; and displaying a fifth interface in response to detecting a fourth operation on a second removal control in the second pop-up window, wherein the fifth interface is a desktop that includes the interface content of the first interface other than the icon of the first application.

[0014] The fifth interface is the desktop that includes all the content of the first interface except for the icon of the first application. In other words, the fifth interface is the interface obtained after removing the icon of the first application from the first interface. Removing an application's icon from an interface can also be described as hiding the icon of an application within that interface.

[0015] In the above technical solution, when the resource library is enabled, the electronic device can achieve the goal of deleting the icon of a certain application from the desktop by performing multiple operations (i.e., the second operation, the third operation, and the third operation), thereby helping users organize their desktop and improving the user experience.

[0016] In another possible implementation, after displaying a fourth interface in response to detecting a fourth operation on the first removal control in the first pop-up window, the method further includes: displaying a sixth interface when the resource library is detected to be switched from open to closed, wherein the sixth interface is a desktop that includes the icon of the first application.

[0017] Optionally, the sixth interface can be a new splash screen on the desktop of the electronic device, or it can be an existing screen on the desktop of the electronic device, without any specific limitation.

[0018] In the above technical solution, when the resource library is switched from on to off, the electronic device can restore the icons of all applications that have been removed (i.e. hidden) from the desktop.

[0019] In another possible implementation, the electronic device also stores a container value for the icon of the first application, and; after displaying a fifth interface in response to detecting a fourth operation on the second removal control in the second pop-up window, the method further includes: updating the container value of the icon of the first application to a second value, wherein the second value is used to indicate that the icon of the first application is hidden on the desktop of the electronic device; after displaying a sixth interface upon detecting that the resource library has switched from being open to being closed, the method further includes: updating the container value of the icon of the first application to a first value, wherein the first value is used to indicate that the icon of the first application is displayed on the desktop of the electronic device.

[0020] In the above technical solution, when the icon of a certain application (i.e., the first application) displayed on the desktop of the electronic device has been successfully deleted, in order to ensure the consistency of the attributes of the icons of the applications stored in the electronic device with the icons displayed on the desktop, the electronic device can update the container value of the icon of the certain application to a second value. The second value is used to indicate that the icon of the certain application is hidden (i.e. not displayed) on the desktop of the electronic device, so as to ensure the consistency of the attributes of the icons of the applications stored in the electronic device and the application icons displayed on the desktop of the electronic device, thereby improving the user experience.

[0021] In another possible implementation, after displaying the fifth interface in response to detecting a fourth operation on the second removal control in the second pop-up window, the method further includes: if the resource library is open, in response to detecting a fifth operation on the fifth interface, and if the fifth operation meets preset display conditions, displaying the entire negative one screen; and if the icon of the first application displayed on the negative one screen is dragged to the fifth interface, displaying the icon of the first application in the fifth interface.

[0022] In another possible implementation, the first interface is displayed in full screen, including: when the resource library is enabled, the first interface is displayed in full screen, wherein the first interface also includes a search entry area, wherein the search entry area is used to trigger the electronic device to display the resource library interface including the search area on the negative one screen.

[0023] In the above technical solution, with the resource library already enabled, the first interface also includes a search entry area. Subsequently, users can trigger the search entry area to display the resource library interface, including the search area, on the negative one screen. Users can also quickly and conveniently find the icon of the application matching the search information from all the application icons installed on the electronic device by entering search information in the search area of ​​the resource library interface, thereby improving the user experience.

[0024] In another possible implementation, the first interface is displayed in full screen, including: when the resource library is enabled, the first interface is displayed in full screen, wherein the first interface does not include a search entry area, wherein the search entry area is used to trigger the electronic device to display the resource library interface including the search area on the negative one screen.

[0025] In another possible implementation, before determining whether a preset display condition is met upon detecting a first operation on a first area within the first interface, the method further includes: displaying an eighth interface in response to detecting a sixth operation on a first setting option in a seventh interface, wherein the seventh interface is the desktop settings interface of the electronic device and the eighth interface is the settings interface of the resource library; and opening the resource library in response to detecting a seventh operation on a second setting control in the eighth interface.

[0026] In the above technical solution, the resource library settings interface can be accessed through the desktop settings interface, and the resource library can be enabled.

[0027] In another possible implementation, the electronic device further includes a negative one screen application and a desktop application, and: full-screen display of the first interface, including: the desktop application full-screen display of the first interface; upon detecting a first operation on a first area within the first interface, determining whether preset display conditions are met, including: upon detecting a first operation on the first area, the desktop application determining whether preset display conditions are met; upon determining that the preset display conditions are met, full-screen display of the negative one screen, including: upon determining that the preset display conditions are met, the desktop application sending a first event to the negative one screen application; the negative one screen application full-screen display of the negative one screen according to the first event.

[0028] Secondly, embodiments of this application provide a display device, including a unit for performing any of the display methods in the first aspect.

[0029] Thirdly, embodiments of this application provide an electronic device including a unit for performing any of the display methods described in the first aspect. The electronic device may be a terminal device or a chip within a terminal device. The electronic device may include an input unit and a processing unit.

[0030] When the electronic device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory for storing computer program code, which, when the processor executes the computer program code stored in the memory, causes the terminal device to execute any of the display methods in the first aspect.

[0031] When the electronic device is a chip within a terminal device, the processing unit can be an internal processing unit of the chip, and the input unit can be an output interface, pin, or circuit, etc.; the chip can also include a memory, which can be an internal memory of the chip (e.g., a register, cache, etc.) or an external memory (e.g., a read-only memory, random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip executes any of the display methods in the first aspect.

[0032] In one possible implementation, the memory is used to store computer program code; the processor executes the computer program code stored in the memory, and when the computer program code stored in the memory is executed, the processor is used to execute any of the display methods in the first aspect.

[0033] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program code, which, when executed by an electronic device, causes the electronic device to perform any of the display methods described in the first aspect.

[0034] Fifthly, embodiments of this application provide a computer program product, the computer program product comprising: computer program code, which, when executed by an electronic device, causes the electronic device to perform any of the display methods described in the first aspect.

[0035] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.

[0036] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single embodiment. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one embodiment. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any suitable manner. Those skilled in the art will understand that embodiments can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular embodiment. In other embodiments, additional technical features and beneficial effects may be identified in specific embodiments that do not embody all embodiments. Attached Figure Description

[0037] Figure 1This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.

[0038] Figure 2 This is a schematic diagram of a software system for an electronic device provided in an embodiment of this application.

[0039] Figure 3 This is a schematic diagram of the desktop interface of an electronic device provided in an embodiment of this application.

[0040] Figure 4 The above Figure 3 A schematic diagram of the view structure of the desktop interface of the provided electronic device.

[0041] Figure 5 This is a schematic diagram of the user interface of an electronic device applicable to the display method provided in the embodiments of this application.

[0042] Figure 6 This is a schematic diagram of the user interface of an electronic device applicable to the display method provided in the embodiments of this application.

[0043] Figure 7 This is a schematic diagram of the user interface of an electronic device applicable to the display method provided in the embodiments of this application.

[0044] Figure 8 This is a schematic diagram of the user interface of an electronic device applicable to the display method provided in the embodiments of this application.

[0045] Figure 9A This is a schematic diagram of the user interface of an electronic device applicable to the display method provided in the embodiments of this application.

[0046] Figure 9B This is a schematic diagram of the user interface of an electronic device applicable to the display method provided in the embodiments of this application.

[0047] Figure 10 This is a schematic diagram of a display method provided in an embodiment of this application.

[0048] Figure 11 The above Figure 10 A schematic diagram of a specific implementation flow of step S1003 in the provided display method.

[0049] Figure 12 This is a schematic diagram of a display method provided in an embodiment of this application.

[0050] Figure 13 This is a schematic diagram of a display method provided in an embodiment of this application.

[0051] Figure 14 This is a schematic diagram of a display method provided in an embodiment of this application.

[0052] Figure 15 This is a schematic diagram of a display device provided in an embodiment of this application. Detailed Implementation

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

[0054] The terms "first," "second," etc., used in this application specification, claims, and drawings are used to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

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

[0056] This application provides a display method, an electronic device, a storage medium, and a chip. The method is applied to an electronic device including a resource library and a negative one screen, and includes: displaying a first interface in full screen, wherein the first interface is the desktop of the electronic device; upon detecting a first operation on a first area within the first interface, determining whether preset display conditions are met, wherein the preset display conditions include the following: the negative one screen is open, the resource library is open, the first operation is a preset type of operation, and the first area does not include a first interface element, the first interface element being used to trigger the electronic device to display a second interface element associated with the first interface element in response to the preset type of operation; if the preset display conditions are met, displaying the negative one screen in full screen, wherein the negative one screen displays the interface of the resource library, the resource library interface including a search area and icons of all applications installed on the electronic device, the search area being used to trigger the electronic device to display the icon of the application found from all application icons that matches the search information in response to search information. This method can quickly and conveniently find applications installed on the electronic device, thereby improving the user experience.

[0057] The display method provided in this application can be applied to electronic devices. These electronic devices can also be referred to as terminal devices, terminals, user equipment (UE), mobile stations (MS), mobile terminals (MT), or other electronic devices. Electronic devices can be mobile phones, tablets, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, smart TVs, wireless terminals in smart homes, etc. Mobile phones can include foldable phones, candybar phones, etc. The embodiments of this application do not limit the specific device form of the electronic device.

[0058] For example, Figure 1 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. See also... Figure 1 The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0059] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0060] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0061] The processor 110 is configured to: display a first interface in full screen, wherein the first interface is the desktop of the electronic device; upon detecting a first operation on a first area within the first interface, determine whether preset display conditions are met, wherein the preset display conditions include the following: the negative one screen is open, the resource library is open, the first operation is a preset type of operation, and the first area does not include a first interface element, wherein the first interface element is used to trigger the electronic device to display a second interface element associated with the first interface element in response to the preset type of operation; and, upon determining that the preset display conditions are met, display the negative one screen in full screen, wherein the negative one screen displays the interface of the resource library, the interface of the resource library includes a search area and icons of all applications installed on the electronic device, wherein the search area is used to trigger the electronic device to display the icon of the application found from all application icons that matches the search information in response to search information.

[0062] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0063] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0064] In some embodiments, the processor 110 may include one or more interfaces, such as 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.

[0065] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0066] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via a USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device 100 via the power management module 141.

[0067] The power management module 141 connects 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, internal memory 121, external memory, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

[0068] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0069] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. Mobile communication module 150 can provide solutions for wireless communication applications in electronic device 100, including 2G / 3G / 4G / 5G. Wireless communication module 160 can provide solutions for wireless communication applications in electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), and other wireless communication technologies.

[0070] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0071] Display screen 194 is used to display application interfaces, images, videos, etc. For example, the application interface displayed on display screen 194 may include, but is not limited to, […]. Figure 3 , Figure 5 , Figure 6 , Figure 7 , Figure 8 , Figure 9A and Figure 9BThe user interface is shown. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a minimized LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N displays 194, where N is an integer greater than 1.

[0072] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0073] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's image sensor. The light signal is converted into an electrical signal, and the image sensor transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimizations on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be integrated into the camera 193.

[0074] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is an integer greater than 1.

[0075] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP performs Fourier transforms on the frequency energy.

[0076] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0077] The external storage 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 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions, such as saving music, video, and other files on the external memory card.

[0078] Internal memory 121 can be used to store computer-executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created by electronic device 100 during use (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0079] Electronic device 100 can realize audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D and application processor.

[0080] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A may be disposed on display screen 194. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. For example, taking the user interface of electronic device 100 as an example... Figure 3 Taking the user interface 301 of the mobile phone shown in Figure (1) as an example, when the user interacts with... Figure 3 When the icon 302a1 of the settings application in the user interface 302 of the mobile phone shown in Figure (2) is touched, the touch sensor in the mobile phone can detect the pressure intensity of the touch operation. The electronic device 100 can also calculate the touch position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that are applied to the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is applied to the SMS application icon, an instruction to view SMS is executed; when a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, an instruction to create a new SMS is executed.

[0081] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch display." Touch sensor 180K detects touch operations applied to or near it. Touch sensor 180K can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.

[0082] The hardware system of electronic device 100 has been described in detail above. The software system of electronic device 100 is described below. The software system can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment takes the layered architecture Android system as an example to exemplarily describe the software system of electronic device 100.

[0083] For example, Figure 2 This is a schematic diagram of a software system for an electronic device according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some implementations, the software architecture of the electronic device 100 can be divided into five layers, namely… Figure 2 The application layer 210, application framework (FWK) layer 220, core library layer 230, and kernel layer 240 are shown.

[0084] Application layer 210 may include multiple applications. See also Figure 2The application layer 210 may include a desktop application (also known as a launcher), a negative one screen application, and a resource library application; this embodiment does not impose any limitations on these. Specifically, the desktop application is used to implement desktop display and manage the desktop. For example, it can display icons of multiple applications installed on the electronic device 100, or display cards (such as stacked cards or transient cards). For example, the view structure of the mobile phone desktop managed by the desktop application may include: a Launcher view, a DragLayer view, a Workspace view, and a CellLayout view. The DragLayer view is the root view of the Launcher, and the DragLayer view is the parent view of the Workspace view, while the CellLayout view is a child view of the Workspace view. The Workspace view may include one or more CellLayout views. The negative one screen application is used to implement negative one screen display; for example, it can display the interface of the resource library application on the negative one screen. The resource library application is a new application provided in this application embodiment. Through the global entry point provided by the resource library application, users can be provided with efficient and convenient functions such as searching, adding to the desktop, and removing icons of applications installed on electronic devices, quickly finding and organizing desktop icons, and creating a streamlined and organized desktop experience for users.

[0085] Alternatively, compared to Figure 2 The application layer 210 shown contains applications, and the application layer 210 may also include more applications, such as camera, map, calendar, music, call, navigation, Bluetooth, video and other applications.

[0086] The application framework layer 220 provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer 220 includes some predefined functions.

[0087] See Figure 2 The application framework layer 220 may include a window manager, content provider, view system, input manager, and notification manager, etc.

[0088] The window manager provides window management service (WMS), which can be used for window management, window animation management, surface management, and as a relay station for the input system.

[0089] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, etc.

[0090] The view system is the user interface system for Android applications. It's responsible for displaying the application's user interface. Developers can use the view system to create a wide variety of user interfaces, such as buttons, text boxes, and dropdown menus. For example, the user interface displayed by the view system can, but is not limited to, [buttons, text boxes, dropdown menus, etc.]. Figure 3 , Figure 5 , Figure 6 , Figure 7 , Figure 8 , Figure 9A and Figure 9B The user interface shown.

[0091] An input manager can capture user input and pass it to the corresponding program for processing. For example, it can listen for click events generated by input hardware, convert the events into a standardized format, and then distribute them to desktop applications for processing.

[0092] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0093] Alternatively, compared to Figure 2 The application framework layer 220 shown includes modules, and may further include more modules, such as a sensor manager and / or an activity manager. The sensor manager is used to monitor sensors (e.g., in the electronic device 100) within the device. Figure 1 The sensor module 180 shown can be used for management. The Activity Manager provides activity management services; AMS can be used for starting, switching, and scheduling system components (such as activities, services, content providers, and broadcast receivers), as well as managing and scheduling application processes. The Resource Manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, etc.

[0094] The core library layer 230 may include multiple functional modules, as well as the Android Runtime. For example, these multiple functional modules may include, but are not limited to, […]. Figure 2 The diagram shows a surface manager, media libraries, a 2D graphics engine (such as SGL), and a 3D graphics processing library (such as OpenGL ES). The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

[0095] The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.

[0096] The core library consists of two parts: one part is the functionalities that need to be called by programming languages ​​(such as Java), and the other part is the Android core library.

[0097] Application Layer 210 and Application Framework Layer 220 run in a virtual machine. The virtual machine executes the programming files (e.g., Java files) of Application Layer 210 and Application Framework Layer 220 as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0098] Kernel layer 240 is the foundation of the Android operating system; all the final functions of the Android operating system are implemented through kernel layer 240. Kernel layer 240 can contain multiple drivers, such as display drivers, camera drivers, and image processor drivers. Each driver is used to abstract hardware, hiding specific hardware channels and allowing applications to access (or invoke) the hardware. Specifically, the display driver drives the display screen to show preview images or optimize images. The camera driver drives the image sensors of one or more cameras to acquire images and also drives the image signal processor to preprocess the images. The processor driver drives the processor to process images; for example, this processing driver may include a digital signal processor driver and / or an image processor driver, where the digital signal processor driver drives the digital signal processor to process images, and the image processor driver drives the graphics processor to process images.

[0099] Optionally, Figure 2 The software system of the illustrated electronic device 100 may also include a hardware abstraction layer (HAL), which is an interface layer located between the operating system kernel and upper-level software, and its purpose is to abstract the hardware. The hardware abstraction layer is an abstract interface for the device kernel driver, used to provide application programming interfaces for accessing the underlying device to higher-level Java API frameworks.

[0100] For ease of explanation, Figure 2The document also includes a hardware layer 250 that interacts with the aforementioned software structure. For example, the hardware layer 250 may include a display screen. The display screen can be used to display interfaces such as the negative one screen or the desktop, and can be used to display cards on the negative one screen or the desktop.

[0101] It should be noted that although the embodiments of this application are described using the Android system as an example, the basic principles are also applicable to electronic devices based on operating systems such as iOS or Windows.

[0102] It should be understood that the above Figure 2 The software architecture diagram shown is merely an example; other software architectures may also be used, such as those relative to... Figure 2 The software structure has different numbers of layers and functional modules relative to each other. Figure 2 This application does not limit the naming and / or placement of items.

[0103] The following example uses a non-foldable screen mobile phone as an example, combined with... Figures 3 to 9B The user interface of an electronic device executing the display method provided in the embodiments of this application will be described executively. It should be noted that the executing entity of the display method provided in the embodiments of this application can be an electronic device, or a functional module and / or functional entity in the electronic device that can implement the display method. Furthermore, the solution of this application can be implemented by hardware and / or software, and the specific implementation can be determined according to actual usage requirements. The embodiments of this application do not impose specific limitations in this regard.

[0104] Typically, electronic devices with displays (such as mobile phones) can display desktop pages, which are pages that can be turned in response to a user's swiping gestures. An electronic device may have one or more desktop interfaces, which can be displayed to the user through the device's screen.

[0105] Figure 3 This is a schematic diagram of the desktop interface of an electronic device provided in an embodiment of this application.

[0106] For example, see Figure 3The mobile phone display shown in Figure (1) displays a desktop interface 301, which includes display areas 301a, 301b, and 301c. Display area 301a includes multiple icons corresponding to multiple applications, including icons for the clock application, calendar application, weather application, file management application, gallery application, and camera application. Display area 301b includes icons for the contacts application, phone application, and messaging application. Display area 301c displays a fixed navigation point 301c1, which indicates the positional relationship between the screen currently displayed on the desktop interface (i.e., user interface 301) and other screens on the desktop, and also indicates that the screen currently displayed on the desktop interface (i.e., user interface 301) is the first screen on the desktop.

[0107] When the user executes the following in the desktop interface 301: Figure 3 When the left swipe operation is shown in Figure (1), the phone can detect the left swipe operation, and then the phone can display... Figure 3 The desktop interface 302 is shown in Figure (2). The desktop interface 302 includes display area 302a, display area 302b, and display area 302c. Display area 302a includes multiple icons that correspond one-to-one with multiple applications, which are different from the multiple icons in display area 301a, namely, the icons of browser application, memo application, recording application, video application, email application, calculator application, and settings application 302a1. The content displayed in display area 302b is the same as that displayed in display area 301b, and will not be described again here. Display area 302c displays a fixed navigation point 302c1. The navigation point 302c1 is used to indicate the positional relationship between the screen in the desktop interface (i.e., user interface 301) currently displayed by the mobile phone and other screens on the desktop, and the navigation point 302c1 is used to indicate that the desktop interface (i.e., user interface 301) currently displayed by the mobile phone is located on the second screen of the desktop.

[0108] It is understood that the specific content displayed on the first and second screens in this embodiment is not limited. The wallpapers displayed on the first and second screens can be identical.

[0109] The above Figure 3 The desktop interface of Chinese and Israeli mobile phones includes Figure 4 The first and second screens shown are examples. Optionally, the mobile phone's desktop interface may also include more desktop interfaces in addition to the first and second screens. The mobile phone can view these more desktop interfaces based on the user's swipe left or right operation. This embodiment of the application does not specifically limit this.

[0110] It should be understood that the above Figure 3 This example only uses a mobile phone's home screen displaying multiple application icons. Optionally, the above... Figure 3 The desktop interface shown can also display cards, folders, and application widgets. Folders are used by users to manage and find different applications; users can add multiple app icons to the same folder. Folders can include large folders and small folders. Within a small folder, when a user clicks on the folder, the phone displays all the apps within that folder; clicking the app icon will open the app. Within a large folder, users can directly click on the app icon to open the app without expanding the folder. Cards are generally pages within an application; clicking a card will navigate to a specific service page within that application. Cards can include small and large cards. Application widgets can be used to trigger the phone to display the functional interface of the application corresponding to that widget.

[0111] Enables or disables the library provided by the library application.

[0112] The display method provided in this application is applied to electronic devices including resource library applications. Through the global entry point provided by the resource library application, it can provide users with efficient and convenient functions such as searching, adding to the desktop, and removing icons of applications installed on the electronic device, quickly finding and organizing desktop icons, and creating a streamlined and organized desktop experience for users. To facilitate a better understanding of the display method provided in this application, the following will be based on the above... Figure 3 Using the mobile phone's desktop interface as an example, this section introduces the desktop interface for turning on the Library switch and the interface of the Library application. It should be understood that when the Library switch is turned on, the user can use the relevant functions provided by the Library application.

[0113] When the Library switch on the phone is turned off, users cannot use the related functions provided by the Library app through their phones.

[0114] In this embodiment of the application, the user can enable the library switch through the settings application, thus keeping the library switch in the "on" state. See also... Figure 3 In Figure (2), when the user clicks the settings application icon 302a1 on the desktop interface 302, the phone can detect the click operation on the settings application icon 302a1, and then the phone can display as shown in Figure (2). Figure 5 The user interface 303 shown serves as the interface for the settings application. The user interface 303 includes multiple settings options, such as WLAN options, Bluetooth options, smart connectivity options, desktop and personalization options 303a, display and brightness options, and eye comfort mode options.

[0115] In response to user clicks on the desktop and personalization options 303a, the interface displayed on the phone can be as follows: Figure 5 The user interface 304 is shown in Figure (2). User interface 304 includes multiple desktop settings options, namely, desktop layout options, locked layout options, auto-alignment options, library options 304a, and negative one screen options. The negative one screen option indicates that the negative one screen switch is on, meaning the negative one screen is active and the phone can display it. Library options 304a indicate that the library is off. It should be emphasized that user interface 304 is a page of the desktop application (also known as the desktop launcher), which is embedded within the settings application. This means that the settings application can display this page as the desktop application and configure the desktop settings options within it.

[0116] In scenarios where users need to access the resource library, they can do so via resource library option 304a by turning on the resource library switch. The interface displayed on the phone after clicking resource library option 304a can be found in the image below. Figure 5 The user interface 305 is shown in Figure (3). User interface 305 includes a library switch 305a that is in a closed state. Afterwards, when the user clicks the library switch 305a to open the library, the phone can display the following... Figure 5 The user interface 306 shown in diagram (4) indicates that the library switch 306a is in the "on" state, meaning the library is also in the "on" state. Afterwards, exiting the library settings interface will allow the phone to display its desktop interface, such as... Figure 5 The user interface 307 shown in Figure (5) serves as the desktop interface. It should be noted that the above... Figure 3 The desktop interface shown is when the resource library switch is off. When the resource library switch is on, Figure 3 The display area 302c in the user interface 302 shown in Figure (2) will be updated to Figure 5 The search area 307a in the user interface 307 shown in (5) is used to trigger the search for applications already installed on the phone that are displayed on the interface of the resource library application. That is, after the user clicks on the search area 307a, the phone screen can display the interface of the resource library application, so that multiple applications installed on the phone managed by the resource library application can be searched.

[0117] In scenarios where the resource library is enabled and the user needs to disable it, the user can click as follows: Figure 5 The library switch 306a in the user interface 306 shown in (4) is used to turn off the library switch, thereby closing the library. Afterwards, the phone can display as shown... Figure 5The user interface 308 is shown in Figure (6). User interface 308 includes a secondary confirmation pop-up window 308a, which includes a cancel control 308a1 and a confirmation control 308a2. The cancel control 308a1 is used to trigger the phone to cancel the current resource library closure event, and the confirmation control 308a2 is used to trigger the phone to close the resource library event, so that the resource library switch 306a is in the closed state, thereby closing the resource library. After the user clicks the resource library confirmation control 308a2, the phone can display a loading pop-up window, such as... Figure 5 The user interface 309 is shown in Figure (7). User interface 309 includes a loading pop-up 309a, which indicates that the desktop is being set up. After loading is complete, the user interface 309 displayed on the phone can be automatically updated to... Figure 5 The user interface 310 shown in Figure (8) has its resource library switch 310a in the off state. Afterwards, the phone can automatically close the user interface 310 and return the desktop interface, meaning the user interface 310 displayed on the phone can automatically update to... Figure 5 The user interface 311 is illustrated in (9) of the diagram. It should be understood that the content of the user interface 311 and... Figure 3 The content of the user interface 302 shown in (2) is the same, and will not be repeated here.

[0118] It should be understood that the above Figure 5 The interfaces shown for turning the Library function on and off on the phone, as well as the Library application interface, are for illustrative purposes only and do not constitute any limitation. It should also be understood that the above... Figure 5 This paper only uses the example of enabling and disabling the library function on a mobile phone via a switch to illustrate how to enable and disable the library function on an electronic device. However, the method for enabling and disabling the library function on an electronic device is not specifically limited. That is to say, in this embodiment, the library function on an electronic device can also be enabled and disabled using methods other than a switch.

[0119] When the library is enabled, the interface of the library application is displayed on the screen of the electronic device.

[0120] In this embodiment, after the resource library in the electronic device is opened based on the foregoing description, the user can perform a trigger operation on the desktop of the electronic device to display the interface of the resource library application (also known as the application management interface) on the screen of the electronic device. The interface of the resource library application can include icons of all applications installed on the mobile phone. The following describes the user interface in the process of calling up the interface of the resource library application and displaying it on the screen of the electronic device based on the user's trigger operation, as provided in this embodiment. For ease of description, the electronic device will continue to be described using a mobile phone as an example. Optionally, the mobile phone in the following description can be replaced with other electronic devices, such as tablets or wearable devices, etc. It should be understood that the user's trigger operation and user interface described below are for illustration only and do not constitute any limitation on the embodiments of this application. For example, the upward swipe operation in the following description can be replaced with other operations, such as downward swipe operation, left swipe operation, or right swipe operation, etc.

[0121] Example 1: The phone's home screen is in non-split-screen mode.

[0122] See Figure 6 The user interface 307 shown in (1) is a desktop interface in non-split-screen mode. Figure 6 The user interface 307 shown in Figure (1) includes the following content and Figure 5 The user interface 307 shown in (5) contains the same content, so it will not be repeated here.

[0123] The user performs the following in user interface 307: Figure 6 In the case of the upward swipe operation shown in Figure (1) (i.e., the touch start point of the upward swipe operation is touch start point 307b, and the touch end point of the upward swipe operation is touch end point 307c), the mobile phone can execute the display method provided in the embodiments of this application. That is, after the mobile phone detects the upward swipe operation, it follows the swipe operation of the hand on the display screen and slides out of the negative one screen to display part of the interface of the resource library application, such as... Figure 6 The user interface 312 shown in Figure (2) is displayed in the negative one screen of the user interface 312. The interface 312a of the resource library application is displayed in the negative one screen that slides out in the user interface 312. The interface 312a includes multiple icons corresponding to multiple applications.

[0124] At the same time, the phone will also determine whether to display the full interface of the resource library application on the negative one screen or exit the negative one screen to return to the desktop interface based on the swipe distance corresponding to the upward swipe operation.

[0125] In one example, when the phone detects that the swipe distance corresponding to the upward swipe operation (i.e., the distance from the touch start point 307b to the touch end point 307c) is equal to the preset swipe distance, the phone can display the complete interface of the resource library application on the negative one screen. The interface of the resource library application can include the icons of all applications installed on the phone.

[0126] In some implementations, the interface of the Library app on a phone with the Library app installed can be displayed through the negative one screen. The icon of the Library app will not be displayed on the phone's desktop interface. Therefore, the interface of the Library app can display the icons of every app in all apps installed on the phone except for the Library app.

[0127] Optionally, the interface of the resource library application displays the icons of multiple applications installed on the phone in the form of multiple folders. Each of these folders corresponds to a different type, and each folder is used to display the icon of the corresponding type of application.

[0128] Optionally, the interface of the resource library application may also display a suggestion folder, which is used to display icons of applications that the user has recently used and installed on their phone.

[0129] For example, in the above example, the mobile phone can display the complete interface of the resource library application on the negative one screen, as shown below. Figure 6 The user interface 313 shown in Figure (3) serves as the negative one screen. User interface 313 includes several types of folders: a suggestion folder 313a, a social communication folder 313b, a camera folder 313c, a tools folder 313d, and an office folder 313e. The suggestion folder 313a includes icons for settings apps and video apps that the user has recently used frequently. The various types of folders included in user interface 313 are... Figure 3 In Figure (1), display areas 301a, 301b and Figure 3 The display area 302a in Figure (2) includes multiple folders after classifying multiple icons. Each folder includes icons for the corresponding application.

[0130] In another example, if the phone detects that the swipe distance corresponding to the upward swipe operation (i.e., the distance from the touch start point 307b to the touch end point 307c) is less than a preset swipe distance, the phone can exit the negative one screen and return to the desktop interface, such as... Figure 6 The user interface 316 is illustrated in (6) of the diagram. It should be understood that the user interface 316 includes the following content and Figure 6 The user interface 307 shown in (1) contains the same content, which will not be repeated here.

[0131] When the user clicks, Figure 6 In the case of the search area 307a in the user interface 307 shown in Figure (1), after the mobile phone detects the click operation, the mobile phone can display as follows: Figure 6 The user interface 314 is shown in (4) of the diagram. User interface 314 is the search interface for the library application. In the search box 314a included in user interface 314, the application name can be entered to search for the icon of the application included in the library application interface. See also... Figure 6 In the user interface 315 shown in Figure (5), the user can enter "Settings" in the search box 315a1 through the soft keyboard 315a displayed in the user interface 315, so that "Settings" will be displayed in the search box 315b in the user interface 315. At the same time, the icon of the settings application corresponding to "Settings" is displayed below the search box 315b that displays "Settings". It should be understood that the search box 314a included in the user interface 314 and the search box 313f included in the user interface 313 are the same search box. The difference between the user interface 314 and the user interface 313 is that the user interface 314 does not include the multiple folders with application icons included in the user interface 313.

[0132] Example 2: The phone's desktop interface is in split-screen mode.

[0133] The phone displays as follows Figure 7 In the case of user interface 307, which is the desktop interface in non-split-screen mode as shown in Figure (1), after the user performs a split-screen mode display operation on the phone, the phone can display as follows: Figure 7 The user interface 317 shown in Figure (2) is the desktop interface in split-screen mode. User interface 317 is a desktop interface that displays the interface 317a of another application on top of user interface 307; that is, user interface 317 is the desktop interface in split-screen mode. It should be understood that... Figure 7 The user interface 307 shown in Figure (1) includes the following content and Figure 5 The user interface 307 shown in (5) contains the same content, so it will not be repeated here.

[0134] The user performs the following in user interface 317: Figure 7 In the case of the upward swipe operation shown in Figure (2) (i.e., the touch start point of the upward swipe operation is touch start point 317b, and the touch end point of the upward swipe operation is touch end point 317c), the mobile phone can execute the display method provided in the embodiments of this application. That is, after the mobile phone detects the upward swipe operation, during the follow-up process (the follow-up process is that the touch point moves from touch start point 317b to touch end point 317c), the negative screen displaying a portion of the interface of the resource library application slides out from the bottom of the display screen, such as... Figure 7The user interface 318 is shown in (3) of the figure. The negative one screen that slides out from the bottom of the user interface 318 displays part of the interface 318a of the resource library application. The interface 318a includes multiple icons corresponding to multiple applications.

[0135] At the same time, the phone will also determine whether to display the full interface of the resource library application on the negative one screen or exit the negative one screen to return to the desktop interface based on the swipe distance corresponding to the upward swipe operation.

[0136] In one example, if the phone detects that the swipe distance corresponding to the upward swipe operation (i.e., the distance from the touch start point 307b to the touch end point 307c) is equal to a preset swipe distance, the phone can display the complete interface of the resource library application on the negative one screen. The interface of the resource library application can include icons of all applications installed on the phone, such as... Figure 7 The user interface 319 is shown in (4) of the diagram. It should be understood that the content displayed in the user interface 319 is the same as the content displayed in the user interface 313, and will not be described again here.

[0137] In another example, if the phone detects that the swipe distance corresponding to the upward swipe operation (i.e., the distance from the touch start point 317b to the touch end point 317c) is less than a preset swipe distance, the phone can exit the negative one screen and return to the desktop interface, such as... Figure 7 The user interface 320 is shown in (5) of the diagram. It should be understood that the content of the user interface 320 includes the same as... Figure 6 The user interface 307 shown in (1) contains the same content, which will not be repeated here.

[0138] Remove application icons from the desktop interface when the library is enabled.

[0139] In this embodiment, after enabling the resource library on the electronic device based on the foregoing description, the user can perform a trigger operation on the desktop of the electronic device to remove the icon of a certain application displayed on the desktop interface. It should be understood that after removing the icon of a certain application from the desktop interface, the application is still installed on the electronic device, and the interface of the resource library application still includes the icon of that application; only the icon is no longer displayed on the desktop interface. The following describes the user interface in the implementation process of removing the icon of a certain application displayed on the desktop interface based on a user trigger operation, as provided in this embodiment.

[0140] For example, see Figure 8 The user interface 307 shown in Figure (1) responds to a long press operation by the user on the icon 307d of the settings application in the user interface 307. The phone can also display, as shown in Figure (1). Figure 8The user interface 321 shown in (2) of the diagram. It should be understood that... Figure 8 The content of the user interface 307 shown in Figure (1) and Figure 5 The content of the user interface 307 shown in Figure (5) is the same, and will not be repeated here. User interface 321 is the negative one screen of the phone. User interface 321 includes a highlighted settings application icon 321a and a pop-up window 321b. Pop-up window 321b includes a remove control 321b1, a share control, and application information. After this, in response to the user's click operation on the highlighted settings application icon 321a, the phone can display as follows: Figure 8 The user interface 322 is shown in Figure (3). The user interface 322 includes a pop-up window 322a, which includes an uninstall control, a remove-from-desktop control 322a1, and a cancel control. The uninstall control triggers the phone to uninstall the Settings app. The remove-from-desktop control 322a1 triggers the phone to delete the Settings app icon 307d from the desktop interface 302. The cancel control triggers the phone to cancel the removal of the Settings app, so that the phone does not display the pop-up window 322a. Subsequently, in response to the user's click on the remove-from-desktop control 322a1 of the Settings app in the user interface 322, the user interface 322 displayed on the phone can be updated as follows: Figure 8 The user interface 323 is illustrated in (4) of the diagram. It should be understood that user interface 323 and... Figure 8 The difference between the user interface 307 shown in (1) is that the user interface 323 does not include the icon 307d of the settings application, while the user interface 307 includes the icon 307d of the settings application.

[0141] When the resource library is enabled, in response to detecting that the resource library is closed, the icons of applications that have been removed from the desktop will be restored to be displayed on the desktop interface.

[0142] In this embodiment, after enabling the resource library on the electronic device based on the foregoing description, the user can perform a trigger operation on the desktop of the electronic device to remove the icon of a certain application displayed on the desktop interface. Afterwards, after closing the resource library on the electronic device, the desktop interface can restore the display of all previously removed application icons.

[0143] In one example, the icons of apps that have been removed from the home screen are restored in the new splash screen.

[0144] For example, continuing with the above Figure 8 Taking Figure (4) as an example, that is, when the phone displays... Figure 8 (4) The user interface 323 is shown in the figure. After this, the user can... Figure 5The user interface shown demonstrates how to close the app library. After the phone detects that the user has closed the app library, it can restore the icons of all removed apps from the home screen on the new splash screen. Since the icons of all removed apps on the home screen only include the Settings app icon, the phone can display something like this: Figure 8 The user interface 324 shown in (5) includes an icon 307d for settings applications and a navigation point 324b. The navigation point 324b indicates the positional relationship between the screen currently displayed on the mobile phone's desktop (i.e., user interface 324) and other screens on the desktop, and also indicates that the currently displayed desktop (i.e., user interface 324) is located on the third screen of the desktop. It should be understood that the third screen is a newly created screen; the second screen can be found in [reference needed]. Figure 3 The user interface 301 shown in Figure (1) can be found on the first screen. Figure 3 The user interface 302 shown in (2) is not described in detail here.

[0145] In another example, icons of applications that have been removed from the desktop are restored to the original screen of the desktop interface.

[0146] For example, continuing with the above Figure 8 Taking Figure (4) as an example, that is, when the phone displays... Figure 8 (4) The user interface 323 is shown in the figure. After this, the user can... Figure 5 The user interface shown demonstrates how to close the resource library. After detecting this action, the phone can restore the icons of all removed apps from the original home screen. Since the icons of removed apps only include the settings app, and there is still space on the second screen of the original home screen that is not occupied by app icons, the phone can display... Figure 8 The user interface 307 shown in (1) includes an icon for setting the application and is a second screen of the desktop.

[0147] When the library is enabled, the library application interface is not displayed on the screen of the electronic device.

[0148] The display method provided in this application is compatible with a certain interface element on the desktop interface of an electronic device that supports an upward swipe operation, and the priority of this interface element is higher than the priority of the resource library application's interface. A certain interface element that supports an upward swipe operation means that when an upward swipe operation is performed on this interface element, the electronic device can display the interface content related to that interface element. It should be understood that the higher priority of this interface element than the resource library application's interface means that when the electronic device detects a user's upward swipe operation on this interface element on the desktop interface, the electronic device will display the interface content related to that interface element on the desktop interface, instead of displaying the resource library application's interface on the negative one screen.

[0149] In this embodiment of the application, no specific limitation is made on a certain interface element in the desktop interface, and it can be set according to the actual scenario.

[0150] In one example, this UI element is the icon of an application that supports transient cards, located on the desktop interface. See also: Figure 9A In the user interface 307 shown in Figure (1), when the user's upward swipe operation in the user interface 307 is applied to the phone application icon 307e on the phone's desktop interface, since the priority of the stacked cards on the desktop interface is higher than the priority of the library application interface, the phone displays... Figure 9A After (1) the image in the image, the phone can display the following: Figure 9A The user interface 325 shown in (2) includes the transient card 325a, instead of displaying the interface of the library application on the negative one screen.

[0151] In one example, this UI element is a stack of cards located in the desktop interface. See also: Figure 9B The user interface 326 shown in Figure (1) includes stacked cards 326a and navigation points 326b for indicating calendar cards in the stacked cards 326a. When an upward swipe operation entered by the user in the user interface 326 acts on the stacked cards 326a on the phone's desktop interface, since the stacked cards on the desktop interface have a higher priority than the library application's interface, the user's swipe gesture will not be executed on the phone's desktop interface. Figure 9B After (1) the image in the image, the phone can display the following: Figure 9B The user interface 327 shown in (2) includes card 327a and navigation point 327b for indicating card 327a, instead of displaying the interface of the library application on the negative one screen.

[0152] It should be understood that the above description uses a temporary card or stacked card as an example of a certain interface element in the desktop interface. Optionally, the interface element in the desktop interface can also be other controls, and there is no specific limitation on this. The above description uses an upward swipe operation as an example of the operation that triggers the display of the resource library application interface on the negative one screen of the electronic device. Optionally, the upward swipe operation can also be other touch operations, such as, but not limited to, left swipe operations or right swipe operations. When the touch operation that triggers the display of the resource library application interface on the negative one screen is other than the upward swipe operation, the display method provided in this application embodiment can be compatible with a certain interface element in the desktop interface of the electronic device that supports the other touch operation.

[0153] It should be understood that the above Figures 3 to 9B The user interface of the electronic device shown is for illustrative purposes only and does not constitute any limitation on the user interface of the electronic device to which the embodiments of this application apply.

[0154] The embodiments of this application will be described below with reference to the accompanying drawings and through several exemplary embodiments. The methods in the following embodiments can all be implemented in an electronic device having the above-described hardware structure and software architecture. The hardware structure diagram of the electronic device can be as follows: Figure 1 As shown, the software structure block diagram of an electronic device can be as follows: Figure 2 As shown, the embodiments of this application are not limited thereto. The execution subject of the display method provided in the embodiments of this application can be an electronic device, or a hardware and / or software module in an electronic device. For ease of explanation, the embodiments of this application use an electronic device (e.g., a mobile phone) as an example for illustrative purposes.

[0155] Example 1: When the resource library is enabled, the interface of the resource library application is displayed on the negative one screen.

[0156] Figure 10 This is a schematic diagram illustrating a display method provided in an embodiment of this application. The display method provided in this embodiment can be executed by an electronic device. It is understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in this embodiment can be, but is not limited to, […]. Figure 1 The electronic device 100 is shown. It should be understood that... Figure 10 This example uses a mobile phone as an example. The phone includes a desktop application, a negative one screen connection proxy module, and a negative one screen application. The desktop application includes a launcher module, a drag-and-drop layer module, a HiBoardClientManager module, a HiBoardClient module, and a HiBoardClientlmpl module. These modules can be understood as multiple classes included in the desktop application. Figure 10 As shown, the display method provided in this application embodiment includes steps S1001 to S1015. Steps S1001 to S1015 will be described in detail below.

[0157] In step S1001, the desktop module receives touch event A for the desktop interface.

[0158] The desktop module executes step S1001 above, that is, when the user inputs touch event A on the desktop interface of the mobile phone, the desktop module can successfully detect touch event A.

[0159] The specific form of the phone's desktop interface is not specifically limited. In one example, the phone's desktop interface can be a non-split-screen interface. For example, the phone's non-split-screen desktop interface could be... Figure 6 The user interface 307 is illustrated in (1) of the diagram. In another example, the phone's desktop interface can be a split-screen mode interface. For example, the phone's split-screen mode desktop interface could be... Figure 7 The user interface 317 is shown in (2) of the diagram.

[0160] In this embodiment of the application, touch event A is not specifically limited.

[0161] For example, when the phone's home screen is Figure 6 When the user interface 307 shown in (1) is shown in the figure, the touch event A can be the upward swipe operation shown in the user interface 307, the touch start point of the upward swipe operation is the touch start point 307b, and the touch end point of the upward swipe operation is the touch end point 307c.

[0162] For example, when the phone's home screen is Figure 7 When the user interface 317 shown in (2) is shown in the figure, the touch event A can be the upward swipe operation shown in the user interface 317, the touch start point of the upward swipe operation is the touch start point 317b, and the touch end point of the upward swipe operation is the touch end point 317c.

[0163] For example, when the phone's home screen is Figure 9A When the user interface 307 shown in Figure (1) is displayed, touch event A can be... Figure 9A The upward sliding operation is shown in Figure (1).

[0164] For example, when the phone's home screen is Figure 9B In the user interface 326 shown in (2) of the figure, touch event A can be Figure 9B The upward sliding operation is shown in (2) of the diagram.

[0165] There are no specific limitations on the method by which the desktop module obtains touch event A. For example, the touch sensor in the phone could detect touch event A and send it to the desktop application, which would then distribute touch event A to the desktop module.

[0166] For example, the desktop application can be a Launcher application, and the desktop module is a module within the Launcher application.

[0167] In step S1002, the desktop module transmits touch event A to the drag-and-drop layer module. Correspondingly, the drag-and-drop layer module receives touch event A transmitted by the desktop module.

[0168] In step S1003, the drag layer module determines whether touch event A meets the preset requirements.

[0169] After the drag-and-drop module executes step S1003, if it determines that touch event A meets the preset requirements, it continues to execute step S1004; if it determines that touch event A does not meet the preset requirements, it continues to execute step S1005 to end the display method process. It should be understood that touch event A that meets the preset requirements can trigger the phone to display the interface of the resource library application on the negative one screen when the resource library is open. Touch event A that does not meet the preset requirements cannot trigger the phone to display the interface of the resource library application on the negative one screen when the resource library is open.

[0170] In this embodiment, the process of the drag-and-drop layer module performing step S1003 can be found in [reference needed]. Figure 11 Steps S10031 to S10037 are shown. Below, the process of the drag-and-drop layer module executing step S1003 is described in detail, in conjunction with steps S10031 to S10037. It should be understood that... Figure 11 The process shown is for illustrative purposes only and does not constitute any limitation on the specific process of the drag-and-drop layer module executing step S1003.

[0171] In step S10031, it is determined whether touch event A is an upward swipe event located on the desktop page.

[0172] In this embodiment, when the resource library is enabled, an upward swipe event on the desktop interface is used as the trigger condition for displaying the resource library application interface on the negative one screen of the phone. Therefore, executing the above step S10031 can determine whether touch event A meets this requirement.

[0173] In this embodiment of the application, after executing the above step S10031, if it is determined that touch event A is an upward swipe event located on the desktop page, then step S10032 is executed; if it is determined that touch event A is not an upward swipe event located on the desktop page, then step S1005 is executed to end the display method.

[0174] In step S10032, it is determined whether the mobile phone is a preset type of electronic device.

[0175] The display method provided in this application embodiment can be applied to electronic devices of a preset type. Therefore, it is also necessary to perform the above step S10032 to determine whether the mobile phone is an electronic device of a preset type.

[0176] Execute step S10032 above, that is, if it is determined that touch event A is an upward swipe event on the desktop interface, further determine whether the mobile phone is a preset type of electronic device.

[0177] The preset type of electronic device can be information predefined and stored in the drag-and-drop layer module, and there is no specific limitation on the presentation form of the preset type of electronic device. For example, the preset type of electronic device includes at least one of the following types of devices: non-foldable screen mobile phone, foldable screen mobile phone, tablet computer, etc.

[0178] In this embodiment of the application, after executing the above step S10032, if it is determined that the mobile phone is a preset type of electronic device, then step S10033 is executed; if it is determined that the mobile phone is not a preset type of electronic device, then step S1005 is executed to end the display method.

[0179] In step S10033, it is determined whether the phone's desktop mode is the standard mode.

[0180] Step S10033 is executed, which involves determining that touch event A is an upward swipe event on the desktop interface and the phone is a preset type of electronic device, and then further determining whether the phone's desktop mode is standard mode. It should be understood that when the phone's desktop mode is standard mode, the phone's desktop interface can display icons for all applications installed on the phone.

[0181] In this embodiment of the application, after executing the above step S10033, if it is determined that the desktop mode of the mobile phone is the standard mode, then step S10034 is executed; if it is determined that the desktop mode of the mobile phone is not the standard mode, then step S1005 is executed to end the display method.

[0182] In step S10034, it is determined whether the phone's resource library switch is turned on.

[0183] Executing step S10034 above, that is, after determining that touch event A is an upward swipe event on the desktop interface, the phone is a preset type of electronic device, and the phone's desktop mode is standard mode, further determining whether the phone's resource library switch is turned on. It should be understood that when the resource library switch is turned on, the phone can display the resource library application interface when it detects certain triggering operations by the user on the desktop interface. When the resource library switch is turned off, the phone's display will not show the resource library application interface regardless of any triggering operation performed by the user on the desktop interface.

[0184] In this embodiment of the application, after executing the above step S10034, if it is determined that the resource library switch of the mobile phone is turned on, then step S10035 is executed; if it is determined that the resource library switch of the mobile phone is turned off, then step S1005 is executed to end the display method.

[0185] In step S10035, it is determined whether the mobile phone's desktop page is in page-turning mode or editing mode.

[0186] Execute the above step S10035, that is, if it is determined that touch event A is an upward swipe event on the desktop interface, the mobile phone is a preset type of electronic device, and the desktop mode of the mobile phone is the standard mode, and the resource library switch of the mobile phone is turned on, further determine whether the desktop page of the mobile phone is in page turning mode and editing mode.

[0187] In this embodiment, after executing step S10035, if it is determined that the phone's desktop page is not in page-turning or editing mode, then step S10036 is executed; if it is determined that the phone's desktop page is in page-turning or editing mode, then step S1005 is executed to end the display method. It should be understood that executing step S1005 to end the display method when the phone's desktop page is in page-turning or editing mode means that the display method provided in this embodiment does not support displaying the resource library application interface on the negative one screen based on user-triggered operations on this type of desktop interface when the phone's desktop interface is in page-turning or editing mode. This implementation can satisfy the user's need to perform page-turning and editing on the desktop interface.

[0188] In step S10036, it is determined whether touch event A is a touch event located in a preset control. The preset controls include transient cards, stacked cards, and swipe-up controls.

[0189] Execute the above step S10036, that is, if it is determined that touch event A is an upward swipe event on the desktop interface, the mobile phone is a preset type of electronic device, and the mobile phone's desktop mode is standard mode, and the mobile phone's resource library switch is turned on, and the mobile phone's desktop mode is not page turning mode or editing mode, further determine whether touch event A is a touch event on a preset control.

[0190] In this embodiment of the application, after executing the above step S10036, if it is determined that touch event A is not a touch event located in a preset control, then step S10037 is executed; if it is determined that touch event A is a touch event located in a preset control, then step S1005 is executed to end the display method.

[0191] It should be understood that when it is determined that touch event A is a touch event located on a preset control, step S1005 is executed to end the display method. That is, when touch event A is a touch event located on a preset control, the display method provided in this application embodiment will not display the interface of the resource library application on the negative one screen, but will instead execute the trigger event of the preset control to meet the user's needs for the trigger event of the preset control. In other words, the display method provided in this application embodiment is also compatible with touch events of certain preset controls in the desktop interface of the mobile phone, and the priority of displaying the touch events of the preset controls is higher than that of displaying the interface of the resource library application.

[0192] In step S10037, it is determined whether the sliding distance of touch event A is equal to the preset sliding distance.

[0193] Step S10037 is executed as follows: If it is determined that touch event A is an upward swipe event on the desktop interface, the phone is a preset type of electronic device, and the phone's desktop mode is standard mode; and if the phone's resource library switch is on, the phone's desktop mode is not page-turning mode or edit mode, and touch event A is not a touch event on a preset control, then it is further determined whether the swipe distance of touch event A is equal to a preset swipe distance. It should be understood that the purpose of executing step S10037 is to prevent accidental touches by the user, that is, to avoid displaying the resource library application interface on the phone's negative one screen in scenarios where the user's finger only swipes a very small distance on the desktop interface (e.g., the user taps the desktop interface).

[0194] In this embodiment, after executing step S10037, if it is determined that the sliding distance of touch event A is greater than or equal to the preset sliding distance, then step S1004 is executed; if it is determined that the sliding distance of touch event A is less than the preset sliding distance, then step S1005 is executed to end the display method. The preset sliding distance is not specifically limited and can be set according to actual conditions.

[0195] It should be understood that the above Figure 11 The execution flow of the seven decision diagrams corresponding to steps S10031 to S10037 shown is for illustrative purposes only. That is, the execution order of steps S10031 to S10037 is not specifically limited. For example, steps S10031 to S10037 can be executed in the following order, but not limited to: step S10031, step S10032, step S10035, step S10032, step S10034, step S10036, and step S10037. Alternatively, steps S10031 to S10037 can be executed in the following order, but not limited to: step S10032, step S10034, step S10036, step S10031, step S10033, step S10035, and step S10037.

[0196] It should be understood that the drag-and-drop layer module performs step S1003, that is, the process by which the drag-and-drop layer module determines whether touch event A meets the preset requirements includes the above. Figure 11 The steps S10031 to S10037 shown are illustrated as an example. Optionally, dragging the layer module to perform the above step S1003 may also include only... Figure 11 The illustrated process corresponds to steps S10031 to S10037. For example, dragging and dropping a layer module to perform step S1003 may also include... Figure 11 The steps S10031, S10034, S10035, S10036, and S10037 are shown. For example, dragging and dropping a layer module to perform step S1003 may also include... Figure 11 The steps S10031, S10033, S10034, S10035, S10036 and S10037 are shown.

[0197] In step S1004, the drag-and-drop layer module transmits touch event A to the HiBoardClientManager module. Correspondingly, the HiBoardClientManager module receives touch event A transmitted by the drag-and-drop layer module.

[0198] The drag-and-drop layer module executes step S1004 above, that is, if it determines that touch event A meets the preset requirements, it passes touch event A to the HiBoardClientManager module.

[0199] In step S1005, the desktop module ends its display method.

[0200] In step S1006, the HiBoardClientManager module determines the movement event A based on the touch event A.

[0201] Movement event A can be understood as the movement event of the user's finger corresponding to touch event A. Movement event A can include the touch start point, touch end point, and drag event from the touch start point to the touch end point corresponding to touch event A.

[0202] For example, touch event A is Figure 6 In the user interface 307 shown in (1), the upward swipe operation can include the touch start point 307b, the touch end point 307c, and the drag event from the touch start point 307b to the touch end point 307c.

[0203] In step S1007, the HiBoardClientManager module transmits move event A to the HiBoardClient module. Correspondingly, the HiBoardClient module receives move event A transmitted by the HiBoardClientManager module.

[0204] In step S1008, the HiBoardClient module determines the scrolling OnScroll event A based on the movement event A.

[0205] OnScroll event A can be understood as the event that scrolls the resource library application interface on the negative one screen as the user's finger moves across the screen.

[0206] For example, touch event A is Figure 6 Taking the upward swipe operation in the user interface 307 shown in Figure (1) as an example, the OnScroll event A can be displayed scrolling in the negative one screen as the user's finger moves. Figure 6 (2) The diagram shows a portion of the Library application interface 312a in the user interface 312. The area of ​​the Library application interface displayed on the negative one screen is associated with the user's finger movement events.

[0207] In step S1009, the HiBoardClient module passes OnScroll event A to the HiBoardClientlmpl module. Correspondingly, the HiBoardClientlmpl module receives the OnScroll event A passed by the HiBoardClient module.

[0208] In step S1010, the HiBoardClientlmpl module determines whether to establish a communication connection with the negative one screen application.

[0209] In this embodiment of the application, after the HiBoardClientlmpl module executes the above step S1010, if it is determined that no communication connection has been established with the negative one screen application, then step S1005 is executed to end the display method; if it is determined that a communication connection has been successfully established with the negative one screen application, then step S1011 is executed.

[0210] In step S1011, the HiBoardClientlmpl module transmits OnScroll event A to the negative one screen connection proxy module. Correspondingly, the negative one screen connection proxy module receives the OnScroll event A transmitted by the HiBoardClientlmpl module.

[0211] In step S1012, the negative one screen connection proxy module transmits OnScroll event A to the negative one screen application. Correspondingly, the negative one screen application receives the OnScroll event A transmitted by the negative one screen connection proxy module.

[0212] Execute the above steps S1011 and S1012, that is, the HiBoardClientlmpl module passes the OnScroll event A to the negative one screen application through the negative one screen connection proxy module.

[0213] In step S1013, the negative one screen application executes the OnScroll event A to slide and display a portion of the resource library application's interface on the negative one screen.

[0214] The negative one screen application executes the above step S1013, that is, the negative one screen application performs a follow-up process in the negative one screen interface to follow up and display part of the interface of the resource library application in the negative one screen.

[0215] For example, part of the interface of the aforementioned resource library application could be Figure 6 (2) The user interface 312 shows a portion of the resource library application interface 312a in the user interface 312.

[0216] For example, part of the interface of the aforementioned resource library application could be Figure 7 (3) The user interface 318 shows a portion of the resource library application interface 318a in the user interface 318.

[0217] In step S1014, the negative one screen application determines whether the upward sliding distance corresponding to OnScroll event A is greater than or equal to a preset distance.

[0218] In this embodiment of the application, after the negative one screen application executes the above step S1014, if it is determined that the upward sliding distance corresponding to OnScroll event A is less than the preset distance, then step S1005 is executed to end the display method; if it is determined that the upward sliding distance corresponding to OnScroll event A is greater than or equal to the preset distance, then step S1015 is executed.

[0219] It should be understood that when the upward swipe distance corresponding to OnScroll event A is less than the preset distance, step S1005 is executed to end the display method. In this implementation, the mobile phone's display screen can update the part of the interface of the resource library application that is swiped and displayed in the negative one screen in step S1013 above to the mobile phone's desktop interface.

[0220] For example, touch event A is Figure 6 Taking the upward swipe operation in the user interface 307 shown in Figure (1) as an example, the OnScroll event A can be displayed scrolling in the negative one screen as the user's finger moves. Figure 6 (2) The user interface 312a of the resource library application in the user interface 312 is shown in Figure 312. Since the upward swipe distance corresponding to OnScroll event A (i.e., the distance between the touch start point 307b and the touch end point 307c) is less than the preset distance, the phone can then display as shown in Figure 312a. Figure 6 The user interface 316 shown in (6) is the desktop interface.

[0221] For example, touch event A is Figure 7 Taking the upward swipe operation in the user interface 317 shown in Figure (2) as an example, the OnScroll event A can be displayed scrolling in the negative one screen as the user's finger moves. Figure 7 (3) The diagram shows a portion of the resource library application interface 318a in the user interface 318. Because the upward swipe distance corresponding to OnScroll event A (i.e., the distance between the touch start point 317b and the touch end point 317c) is less than the preset distance, the phone can then display the following: Figure 7 The user interface 320 shown in (5) is the desktop interface.

[0222] In step S1015, the negative one screen application displays the complete interface of the resource library application on the negative one screen.

[0223] The application on the negative one screen executes the above step S1015, that is, if it is determined that the upward scrolling distance corresponding to OnScroll event A is greater than or equal to the preset distance, the complete interface of the resource library application is displayed on the negative one screen.

[0224] For example, touch event A is Figure 6 Taking the upward swipe operation in the user interface 307 shown in Figure (1) as an example, the OnScroll event A can be displayed scrolling in the negative one screen as the user's finger moves. Figure 6(2) The user interface 312a of the resource library application in the user interface 312 is shown in Figure 312. Since the upward swipe distance corresponding to OnScroll event A (i.e., the distance between the touch start point 307b and the touch end point 307c) is greater than or equal to the preset distance, the phone can then display as shown in Figure 312a. Figure 6 The user interface 313 shown in (3) is the negative one screen and is the interface of the resource library application.

[0225] For example, touch event A is Figure 7 Taking the upward swipe operation in the user interface 317 shown in Figure (2) as an example, the OnScroll event A can be displayed scrolling in the negative one screen as the user's finger moves. Figure 7 (3) The diagram shows a portion of the resource library application interface 318a in the user interface 318. Since the upward swipe distance corresponding to OnScroll event A (i.e., the distance between the touch start point 317b and the touch end point 317c) is greater than or equal to the preset distance, the phone can then display the following: Figure 7 The user interface 319 shown in (4) is the negative one screen and is the interface of the resource library application.

[0226] It should be understood that the above Figure 10 The display method shown is for illustrative purposes only and does not constitute any limitation on the display method provided in this application.

[0227] In this embodiment of the application, when a touch event A is detected by the user on the desktop interface of the mobile phone, and the mobile phone determines that the touch event A meets the preset requirements, the mobile phone can display the interface of the resource library application (i.e. the interface of the resource library) through the negative one screen, so that the user can quickly and conveniently find the icon of the application that matches the search information from all the application icons installed on the mobile phone by entering search information in the search area of ​​the resource library application interface, thereby improving the user experience.

[0228] Example 2: With the resource library enabled, remove the application icons from the desktop interface.

[0229] Figure 12 This is a schematic diagram illustrating a display method provided in an embodiment of this application. The display method provided in this embodiment can be executed by an electronic device. It is understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in this embodiment can be, but is not limited to, […]. Figure 1 The electronic device 100 is shown. It should be understood that... Figure 12This example uses a mobile phone as an example, where the desktop application includes a Launcher module, a Workspace module, a speech bubble container module, speech bubble content modules, an uninstall command module, an uninstall dialog box module, a remove command module, a CellLayout module, and a ModeWriter module. These modules can be understood as multiple classes included in the desktop application. Figure 12 As shown, the display method provided in this application embodiment includes steps S1201 to S1220. Steps S1201 to S1220 will be described below.

[0230] In step S1201, when the resource library is enabled, the desktop module obtains a long press event B on the icon of the settings application on the desktop interface.

[0231] Long press event B is a long press operation event for the settings application on the desktop interface. For example, long press event B could be like this: Figure 8 The long press event performed on the icon 307d of the settings application in the user interface 307 shown in (1) is illustrated.

[0232] The method for the desktop module to obtain long press event B is the same as the method for obtaining touch event A in step S1101 above, and will not be repeated here.

[0233] In step S1202, the desktop module transmits a long press event B to the workspace module. Correspondingly, the workspace module receives the long press event B transmitted by the desktop module.

[0234] In step S1203, the work area module sends call instruction 1 to the bubble container module. Correspondingly, the bubble container module receives call instruction 1 sent by the work area module.

[0235] Instruction 1 is used to invoke the bubble container module to create and display pop-up #1. It should be understood that pop-up #1 refers to a pop-up that does not contain any content.

[0236] For example, the bubble container module can be a class in a desktop application, and the name of the class can be, but is not limited to, PopupContainerWitjArrow.

[0237] In step S1204, in response to receiving call instruction 1, the bubble container module creates pop-up window #1 and displays pop-up window #1.

[0238] There are no specific limitations on the shape and position of pop-up #1 on the desktop interface; it can be set according to actual needs. For example, the shape of pop-up #1 can be, but is not limited to, a rounded rectangle or a rectangle. For example, pop-up #1 can be located above the icon of the settings application.

[0239] In step S1205, the bubble container module sends call instruction 2 to the bubble content module. Correspondingly, the bubble container module receives call instruction 2 sent by the work area module.

[0240] Instruction 2 is used to invoke the bubble content module to add pop-up content to pop-up #1.

[0241] For example, the bubble content module can be a class in a desktop application, and the name of the class can be, but is not limited to, PopupContainerHeader.

[0242] In step S1206, in response to receiving call instruction 2, the bubble content module adds pop-up content to pop-up #1 to display pop-up #2 which includes pop-up content, including a removal control.

[0243] Optionally, the pop-up content may also include other controls or information besides the remove control. For example, other controls or information may include application information and a share control.

[0244] For example, the pop-up window #1 mentioned above could be as follows: Figure 8 The pop-up 321b shown in (2) does not include any pop-up content (i.e., remove control 321b1, share control and application information). The pop-up content may include remove control 321b1, share control and application information. The pop-up #2 may refer to pop-up 321b that includes remove control 321b1, share control and application information.

[0245] In step S1207, the bubble content module detects a click event C on the remove control in pop-up #2.

[0246] For example, the pop-up window #2 mentioned above is as follows: Figure 8 Taking the pop-up window 321b, which includes the removal control 321b1 and the sharing control and application information, as shown in (2) of the figure, the click event C can be Figure 8 Figure (2) shows the click event of the user's finger clicking the control 321b1 once.

[0247] In step S1208, the bubble content module transmits click event C to the uninstall command module. Correspondingly, the uninstall command module receives click event C transmitted by the bubble content module.

[0248] In step S1209, the uninstallation command module determines, based on click event C, that a removal uninstallation pop-up needs to be displayed.

[0249] The uninstallation pop-up includes at least a "Remove from Desktop" control, which triggers the phone to remove the Settings app icon from the desktop interface, i.e., it triggers the phone to delete the Settings app icon from the desktop interface.

[0250] Optionally, the uninstall pop-up may also include other controls, such as, but not limited to, cancel and / or uninstall controls.

[0251] In step S1210, the uninstallation command module sends action information 1 to the desktop module. Action information 1 is used to instruct the execution of the display removal uninstallation pop-up event. Correspondingly, the desktop module receives action information 1 sent by the uninstallation command module.

[0252] In step S1211, the desktop module displays a pop-up window for removal / uninstallation #1 on the desktop interface based on action information 1.

[0253] The "Remove Uninstall Pop-up #1" refers to a pop-up that does not contain any content. The shape of the "Remove Uninstall Pop-up #1" is not specifically limited and can be set according to actual needs. For example, the shape of the "Remove Uninstall Pop-up #1" can be, but is not limited to, a rounded rectangle or a rectangle.

[0254] After performing step S1211, a uninstallation pop-up window #1 without any content will be displayed on the desktop interface. In step S1212, the desktop module sends a call instruction 3 to the uninstallation dialog module in the desktop application. Correspondingly, the uninstallation dialog module receives the call instruction 3 sent by the desktop module.

[0255] In step S1213, in response to receiving the call instruction 3, the uninstall dialog module adds the content of the uninstall pop-up to the uninstall pop-up #1 and then displays the uninstall pop-up #2.

[0256] The Remove Uninstall pop-up #2 is a pop-up window that is obtained after adding uninstall pop-up content to Remove Uninstall pop-up #1. The uninstall pop-up content includes at least the Remove Control from Desktop. The Remove Control from Desktop is used to trigger the phone to remove the icon of the Settings app from the desktop interface, that is, to trigger the phone to delete the icon of the Settings app from the desktop interface.

[0257] Optionally, the uninstall pop-up may also include other controls, such as, but not limited to, cancel and / or uninstall controls.

[0258] For example, the aforementioned uninstallation pop-up #1 could be as follows: Figure 8The pop-up 322a shown in (3) does not include any pop-up content. The content of the uninstall pop-up can include all the content shown in the pop-up 322a, such as the prompt message (Do you want to remove "Settings"? "Remove from desktop" will keep the application in the library.), uninstallation control, remove control 322a1 from desktop and cancel control, etc. The uninstall pop-up #2 mentioned above can refer to the pop-up 322a that includes the content of the uninstall pop-up.

[0259] In step S1214, the desktop module detects a click event D on the removal control from desktop in the uninstallation pop-up #2.

[0260] For example, click event D can be, but is not limited to, Figure 8 Figure (3) shows the click event of the user's finger clicking to remove control 322a1 from the desktop.

[0261] In step S1215, the desktop module transmits click event D to the remove command module in the desktop application. Correspondingly, the remove command module receives the click event D transmitted by the desktop module.

[0262] In step S1216, the removal command module determines, based on click event D, that the icon of the settings application in the desktop interface needs to be deleted.

[0263] In step S1217, the removal command module sends action information 2 to the CellLayout module, which instructs the removal of the settings application icon from the desktop interface. Correspondingly, the CellLayout module receives action information 2 from the removal command module.

[0264] In step S1218, the CellLayout module deletes the icon of the settings application from the desktop interface according to the execution action information 2, and displays a desktop interface that does not include the icon of the settings application.

[0265] It should be understood that the difference between the desktop interface in step S1218 and the desktop interface in step S1201 is that the desktop interface in step S1218 does not include the icon of the settings application, while the desktop interface in step S1201 includes the icon of the settings application.

[0266] For example, click event D is Figure 8 Taking the click event of the user's finger clicking to remove the control 322a1 from the desktop as an example in Figure (3), after the CellLayout module executes the above step S1218, the desktop displayed on the phone can be entered. Figure 8 The user interface 323 shown in (4) is a desktop interface that includes icons for setting applications (i.e., Figure 8The desktop interface after the icon of the settings application is deleted, as shown in Figure (1) of the user interface 307).

[0267] In step S1219, the CellLayout module sends update command 1 to the ModeWriter module. Correspondingly, the ModeWriter module receives update command 1 from the CellLayout module.

[0268] In step S1220, the ModeWriter module updates the container value of the stored settings application icon from value 1 to value 2 according to update instruction 1, so as to delete the stored settings application icon.

[0269] The ModeWriter module stores the icons of each application in the desktop interface. When an application's icon is displayed in the desktop interface, the container value of that application's icon stored in the ModeWriter module is 1. That is, the value 1 is used to indicate that the icon of each application is displayed in the desktop interface.

[0270] In cases where it is necessary to delete the icon of an application that is already displayed on the desktop interface, in order to ensure the consistency between the icon displayed on the desktop interface and the application icon stored in the ModeWriter module, the ModeWriter module can update the container value of the application icon from the value 1 to the value 2. The value 2 is used to indicate that the icon of each application is not displayed (i.e., hidden) on the desktop interface.

[0271] It should be understood that in step S1220 above, the ModeWriter module deleting the icon of a certain application (e.g., a settings application) stored in the ModeWriter module is a logical deletion, not a physical deletion. That is, the ModeWriter module deleting the icon of a certain application means setting the attribute (i.e., container value) of that application's icon to hidden. Similarly, in the scenario below where the icon of a certain application that has been deleted from the desktop interface is restored to be displayed, the ModeWriter module can set the attribute of that application's icon to displayed.

[0272] Value 2 and value 1 are two different values. Value 2 indicates that the icon is hidden, and value 1 indicates that the icon is shown. There are no specific limitations on the values ​​of value 2 and value 1; they can be set according to the actual situation. For example, value 2 could be -106, and value 1 could be -100.

[0273] It should be understood that the above Figure 12The display method shown is for illustrative purposes only and does not constitute any limitation on the display method provided in this application. Optionally, the icon of the above-mentioned settings application can also be replaced with the icon of other applications installed on the electronic device, without specific limitation.

[0274] In this embodiment of the application, when the resource library is enabled, the electronic device can perform multiple operations to remove the icon of a certain application (i.e., the settings application) from the desktop, thereby helping the user organize the desktop and improve the user experience.

[0275] Example 3: When the resource library is enabled, after disabling the resource library, the icons of applications that have been removed from the desktop interface are restored and displayed on the desktop interface.

[0276] Figure 13 This is a schematic diagram illustrating a display method provided in an embodiment of this application. The display method provided in this embodiment can be executed by an electronic device. It is understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in this embodiment can be, but is not limited to, […]. Figure 1 The electronic device 100 is shown. It should be understood that... Figure 13 This example uses a mobile phone as an example, where the desktop application includes the ResourceLibSettingActivity module, the ResourceLibCloseUtils module, the Workspace module, and the ModeWriter module. These modules can be understood as multiple classes within the desktop application. Figure 13 As shown, the display method provided in this application embodiment includes steps S1301 to S1313. Steps S1301 to S1313 will be described below.

[0277] In step S1301, when the resource library settings activity page module detects the trigger operation B of turning off the resource library switch, it displays a secondary confirmation pop-up window.

[0278] The Resource Library Settings activity page module manages the resource library settings interface, which includes at least a resource library toggle switch. When the resource library toggle switch is off, the resource library is off. When the resource library toggle switch is on, the resource library is on.

[0279] It should be understood that before the Resource Library Settings Activity Page module executes the above step S1301, the Resource Library switch in the Resource Library Settings interface is in the on state, that is, the Resource Library is in the on state.

[0280] Optionally, the resource library settings interface may also include other settings options. There are no specific limitations on these other settings options, and they can be set according to the actual situation.

[0281] For example, the library settings interface can be Figure 5 The user interface 305 shown in (3) is the library switch 305a in the user interface 305.

[0282] In this embodiment, the secondary confirmation pop-up includes at least a confirmation control, which triggers the phone to close the resource library. Optionally, the secondary confirmation pop-up may also include other controls, such as, but not limited to, a cancel control, which triggers the phone to cancel the event of closing the resource library.

[0283] For example, the secondary confirmation pop-up in step S1301 above can be... Figure 5 The secondary confirmation pop-up 308a in the user interface 308 shown in (6) includes a cancel control 308a1 and a confirmation control 308a2.

[0284] In step S1302, when an operation of clicking the confirmation control in the secondary confirmation pop-up is detected, the resource library settings activity page module displays a loading pop-up, and after loading is complete, displays an interface indicating that the resource library switch is in the off state.

[0285] For example, continuing with the secondary confirmation pop-up in step S1302 above is Figure 5 Taking the secondary confirmation pop-up 308a in the user interface 308 shown in Figure (6) as an example, the loading pop-up in step S1302 above can be... Figure 5 In Figure (7), the loading pop-up 309a in the user interface 309, and the "displaying the interface where the resource library switch is in the off state after loading" in step S1302 above, can be... Figure 5 The user interface 310 is shown in (8) of the figure.

[0286] The purpose of steps S1301 and S1302 described above is to turn off the resource library switch that is currently active, thereby closing the resource library. It should be understood that the method for closing the resource library described in steps S1301 and S1302 is merely illustrative and does not constitute any limitation. For example, step S1302 can also be replaced by the following step: upon detecting a click on the confirmation control in the secondary confirmation pop-up window, displaying an interface indicating that the resource library switch is in the off state.

[0287] In step S1303, the resource library setting active page module determines whether the number of desktop pages has reached the upper limit.

[0288] In this embodiment, icons of applications that have been deleted from the desktop can be restored and displayed in a newly created splash screen. Based on this, the purpose of the resource library setting active page module performing step S1303 is to determine whether the number of existing desktop pages on the phone has reached its limit. If the number of existing desktop pages on the phone has not reached its limit, a new desktop screen can be created. If the number of existing desktop pages on the phone has reached its limit, a new desktop screen cannot be created.

[0289] There is no specific limit to the maximum number of desktop interfaces provided by the mobile phone's desktop application. For example, the maximum number of desktop interfaces can be, but is not limited to, 18.

[0290] In this embodiment of the application, after the resource library setting activity page module executes the above step S1303, if it is determined that the number of desktop pages has reached the upper limit, then step S1305 is executed to end the display process; after the resource library setting activity page module executes the above step S1303, if it is determined that the number of desktop pages has not reached the upper limit, then step S1304 is executed.

[0291] In step S1304, the resource library setting activity page module determines whether the newly opened screen can accommodate the icons of all applications that have been removed from the desktop page.

[0292] The maximum number of new splash screens is equal to the difference between the maximum number of desktop interfaces provided by the desktop application and the number of existing desktop pages on the phone. The resource library setting active page module executes the above step S1304, that is, it determines whether the new splash screens that the current phone can create can accommodate the icons of all applications that have been removed from the desktop interface.

[0293] In this embodiment of the application, after the resource library setting activity page module executes the above step S1304, if it is determined that the desktop page cannot fit all the icons of all applications that have been removed from the desktop page, then step S1305 is executed to end the display process; after the resource library setting activity page module executes the above step S1303, if it is determined that the desktop page can fit all the icons of all applications that have been removed from the desktop page, then step S1306 is executed.

[0294] It should be understood that the Resource Library settings activity page module executes steps S1303, S1304, and S1306 sequentially. That is, it only restores the display of icons for all applications removed from the desktop interface if it determines that the new splash screen that the current phone can create cannot accommodate the icons of all applications removed from the desktop interface. The Resource Library settings activity page module executes steps S1303, S1304, and S1305 sequentially. That is, if it determines that the new splash screen that the current phone can create cannot accommodate the icons of all applications removed from the desktop interface, the display method ends. It should be understood that steps S1303 to S1306 are merely illustrative and do not constitute any limitation. Optionally, if it is determined that the new splash screen that the current phone can create cannot accommodate the icons of all applications removed from the desktop interface, it is also possible to restore the display of only some of the icons of the applications removed from the desktop interface. Optionally, if the maximum number of desktop interfaces has been reached, and there is still free space on the current desktop interface, icons of all or some of the applications that have been removed from the desktop interface can be placed in that free space.

[0295] In step S1305, the resource library sets the method for ending the display of the active page module.

[0296] The triggering conditions for the end display method of the activity page module in the resource library settings are not specifically limited.

[0297] In one example, after the Resource Library Setting Activity Page module executes step S1303, it continues to execute step S1305.

[0298] In another example, after the Resource Library Setting Activity Page module performs step S1304 above, it continues to perform step S1305 above.

[0299] In step S1306, the library closing module determines whether a folder needs to be created.

[0300] It should be understood that when a large number of app icons have been removed from the home screen, displaying them in a non-folder format might not be sufficient to accommodate all the apps in the new splash screen. In such cases, displaying the app icons as folders allows for successful restoration of each removed app's icon in the new splash screen. Each folder can contain multiple icons corresponding to multiple apps.

[0301] The resource library closing module executes step S1306 above, that is, the resource library closing module determines whether a folder needs to be created. For example, it may include the following steps: The resource library closing module determines whether the number of application icons that can be placed in a non-folder format in the new splash screen is greater than or equal to the total number of application icons that have been removed from the desktop page; if the number of application icons that can be placed in a non-folder format in the new splash screen is greater than or equal to the total number of application icons that have been removed from the desktop page, the resource library closing module determines that no folder needs to be created; if the number of application icons that can be placed in a non-folder format in the new splash screen is less than the total number of application icons that have been removed from the desktop page, the resource library closing module determines that a folder needs to be created, wherein the number of folders that need to be created is determined based on the difference between the number of application icons that can be placed in a non-folder format and the total number of application icons that have been removed from the desktop page.

[0302] There is no specific limit to the number of application icons that can be placed in a folder; you can set it according to your actual needs. For example, the maximum number of application icons that a folder can hold can be, but is not limited to, 135.

[0303] There is no specific limit to the maximum number of app icons that can be placed in a new splash screen. The limit depends on the desktop layout of the splash screen and whether the app icons are arranged in a folder format. For example, if a new splash screen's layout uses folders to arrange app icons, the maximum number of app icons that can be placed is 4 × 6 × 135 = 3240. 4 × 6 means the splash screen layout is 4 columns and 6 rows, and 135 refers to the maximum number of icons a folder can hold. Conversely, if a new splash screen's layout uses non-folder (scattered) app icons, the maximum number of app icons that can be placed is 4 × 6 = 24. 4 × 6 means the splash screen layout is 4 columns and 6 rows, and a folder is placed in a specific row (e.g., the first row) within a specific column.

[0304] In step S1307, the resource library closing module creates a folder in the new opening screen.

[0305] There is no specific limit to the number of folders created by the resource library closing module in the new splash screen; it can be determined based on the actual situation.

[0306] It should be understood that after the resource library closing module executes step S1307, the newly opened screen will contain the folder created by the resource library closing module. For example, if the resource library closing module creates a file in the newly opened screen when executing step S1307, then the newly opened screen will contain that folder created by the resource library closing module.

[0307] In step S1308, the resource library closing module adds the parameter value of the container value of each application icon from all the application icons that have been removed from the desktop interface to the new splash screen.

[0308] It should be understood that the container value of each application icon among all the application icons that have been removed from the desktop interface is the value 2. That is, the container value of each application icon among all the application icons that have been removed from the desktop interface stored in the write mode module before executing the above step S1308 is the value 2. Therefore, the resource library closing module can add the parameter of the container value of each application icon among all the application icons that have been removed from the desktop interface obtained from the write mode module to the new splash screen.

[0309] Optionally, before the resource library closing module performs the above step S1308, it can also execute the container value of the icon of each application among the icons of all applications that have been removed from the desktop interface obtained from the write mode module.

[0310] It should be understood that after performing step S1308 above, the new splash screen includes the container value of the icon of each application among all the icons of applications that have been removed from the desktop interface, and the container value of each application icon is equal to the value 2. Furthermore, the new splash screen does not yet display the icons of each application among all the icons of applications that have been removed from the desktop interface; that is, the user cannot observe the icons of each application among all the icons of applications that have been removed from the desktop interface in the new splash screen.

[0311] In step S1309, the resource library closing module updates the screen value of the icon of each application from all the icons of all applications that have been removed from the desktop interface to the screen value of the newly opened screen, and updates the container value of the icon of each application from all the icons of all applications that have been removed from the desktop interface from the value 2 to the value 1.

[0312] The purpose of the Library Closure module is to update the screen value of each app icon from all app icons that have been removed from the desktop interface to the screen value of the new splash screen, thereby adding the icon of each app from all app icons that have been removed from the desktop interface to the new splash screen.

[0313] The purpose of updating the container value of each app's icon in the resource library closing module is to update the attributes of each app's icon added to the new splash screen from a logically hidden state to a logically restored display state.

[0314] It should be understood that the container value of each application icon in the list of all applications removed from the desktop interface is the value 2. That is, the container value of each application icon in the list of all applications removed from the desktop interface stored in the write mode module before executing the above step S1309 is the value 2. Therefore, the library closing module can update the container value of each application icon in the list of all applications removed from the desktop interface obtained from the write mode module to the value 1.

[0315] Value 2 and value 1 are two different values. Value 2 indicates that the icon is hidden, and value 1 indicates that the icon is shown. There are no specific limitations on the values ​​of value 2 and value 1; they can be set according to the actual situation. For example, value 2 could be -106, and value 1 could be -100.

[0316] It should be understood that after performing the above step S1309, the icon of each application among all the application icons that have been removed from the desktop interface is not yet displayed in the new splash screen. That is, the user cannot observe the icon of each application among all the application icons that have been removed from the desktop interface in the new splash screen.

[0317] In step S1310, the resource library closing module sends a call instruction 4 to the workspace module. Correspondingly, the workspace module receives the call instruction 4 sent by the resource library closing module.

[0318] Invoking instruction 4 is used to instruct the creation of a view of the icons of each of the removed apps in the new splash screen, with a container value of 2.

[0319] In step S1311, the workspace module creates an icon for each application among all the applications that have been removed from the desktop interface according to the call instruction 4, and displays it in the new splash screen.

[0320] For example, the icons of all applications that have been removed from the desktop interface only include... Figure 8 Taking the settings application icon 307d in the user interface 307 shown in Figure (1) as an example, the icon of the settings application can be displayed in the new splash screen as follows: Figure 8 The icon 307d of the settings application is shown in the user interface 324 illustrated in (5).

[0321] After performing step S1311 above, the new splash screen displays the icon of each application among all the applications that have been removed from the desktop interface. In other words, the user can observe the icon of each application among all the applications that have been removed from the desktop interface in the new splash screen.

[0322] It should be understood that the above steps S1306 to S1311 are the process for restoring a hidden application provided in the embodiments of this application, but the above steps S1306 to S1311 are only illustrative and do not constitute any limitation on the method provided in the embodiments of this application.

[0323] In step S1312, the workspace module sends update command 2 to the write mode module in the desktop application. Correspondingly, the write mode module receives update command 2 from the workspace module.

[0324] Update instruction 2 is used to instruct the container value of the icon of each application from all the icons of applications that have been removed from the desktop interface to be updated to the value 1.

[0325] In step S1313, the write mode module updates the container value of each application icon in the stored icons of all applications that have been removed from the desktop interface from the value 2 to the value 1 according to update instruction 2.

[0326] The purpose of the write mode module performing the above step S1313 is to ensure that the container value of each application icon in the icons of all applications that have been removed from the desktop interface stored in the write mode module is consistent with the container value of the icon displayed in the new splash screen.

[0327] It should be understood that the above Figure 13 The display method shown is for illustrative purposes only and does not constitute any limitation on the display method provided in this application. Optionally, the above-mentioned restoration of the icon of an application removed from the desktop interface in the new splash screen can be replaced by displaying the icon of the application removed from the desktop interface in the existing desktop interface of the phone (i.e., not the new splash screen).

[0328] In this embodiment of the application, when the resource library is switched from on to off, the mobile phone can restore the icons of all applications (i.e. settings applications) that have been removed (i.e. hidden) from the desktop to be displayed on the desktop again.

[0329] Example 4

[0330] Figure 14 This is a schematic diagram illustrating a display method provided in an embodiment of this application. The display method provided in this embodiment can be executed by an electronic device. It is understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in this embodiment can be, but is not limited to, […]. Figure 1The illustrated electronic device 100. An electronic device performing the display method provided in the embodiments of this application may include a resource library and a negative one screen. For example... Figure 14 As shown, the display method provided in this application embodiment includes steps S1410 to S1430. Steps S1410 to S1430 will be described below.

[0331] In step S1410, the electronic device displays the first interface in full screen, where the first interface is the desktop of the electronic device.

[0332] The first interface is the desktop of the electronic device, which can include one or more screens. Specifically, the first interface can be the interface displayed on one or more of these screens located on the desktop.

[0333] For example, taking a mobile phone as an example of an electronic device, the aforementioned first interface could be... Figure 3 The user interface 301 shown in Figure (1) is either Figure 3 The user interface 302 shown in (2) of the figure.

[0334] In the embodiments of this application, the method for displaying the first interface in full screen on an electronic device is not specifically limited.

[0335] In one example, the electronic device displays a first interface in full screen, including: when the resource library is enabled, displaying the first interface in full screen, wherein the first interface also includes a search entry area, wherein the search entry area is used to trigger the electronic device to display the resource library interface including the search area on the negative one screen.

[0336] For example, taking a mobile phone as an electronic device, the aforementioned first interface can be... Figure 5 The user interface 307 shown in (2) above can have a search entry area of ​​search area 307a. For details not elaborated here, please refer to the above text. Figure 5 The relevant description in the document.

[0337] In another example, the electronic device displays a first interface in full screen, including: when the resource library is not open, the first interface is displayed in full screen, wherein the first interface does not include a search entry area, wherein the search entry area is used to trigger the electronic device to display the resource library interface including the search area on the negative one screen.

[0338] For example, taking a mobile phone as an electronic device, the aforementioned first interface can be... Figure 3 The user interface 301 shown in Figure (1) is either Figure 3 The user interface 302 shown in (2) above is not detailed here. Figure 3 The relevant description in the document.

[0339] Optionally, in the scenario mentioned above where the resource library is already enabled, that is, before the electronic device displays the first interface in full screen, the electronic device can also perform the relevant steps to enable the resource library.

[0340] In one example, the electronic device can open the resource library based on the following method: in response to detecting a sixth operation on a first settings option in a seventh interface, the electronic device displays an eighth interface, where the seventh interface is the desktop settings interface of the electronic device and the eighth interface is the resource library settings interface; in response to detecting a seventh operation on a second settings control in the eighth interface, the electronic device opens the resource library.

[0341] For example, a specific example of the aforementioned seventh interface could be... Figure 5 In the user interface 304 shown in (2), a specific example of the first setting option can be the resource library option 304a in the user interface 304, and a specific example of the eighth interface mentioned above can be... Figure 5 The user interface 306 shown in (4) above can be exemplified by the library switch 306a in the user interface 306 when it is in the on state. For details not elaborated here, please refer to the above text. Figure 5 The relevant description in the document.

[0342] There are no specific limitations on the triggering conditions for an electronic device to display its first screen in full screen. For example, it could be triggered by the user powering on the device. Or, it could be triggered by the user switching pages on the device's desktop.

[0343] In step S1420, when a first operation is detected on the first area within the first interface, the electronic device determines whether a preset display condition is met. The preset display condition includes the following conditions: the negative one screen is open, the resource library is open, the first operation is a preset type of operation, the first area does not include the first interface element, and the first interface element is used to trigger the electronic device to display the second interface element associated with the first interface element in response to the preset type of operation.

[0344] The first interface element is a UI element on the desktop of an electronic device that supports preset types of operations. In response to detecting a preset type of operation performed on the first interface element, the electronic device will display a second interface element associated with the first interface element on the desktop. There are no specific limitations on the first and second interface elements; they can be set according to actual needs.

[0345] In one example, the first interface element is the icon of the second application on the desktop, and the second interface element is a transient card associated with the second application in the interface.

[0346] For example, the first interface element in the above example could be Figure 9A The icon 307e of the telephone application in the user interface 307 shown in (1) above, the second interface element in the above example can be Figure 9A (2) The transient card 325a in the user interface 325 shown in the figure above can be found for details not described in detail here. Figure 9A The relevant description in the document.

[0347] In another example, the first interface element is the first card in a stack of cards on the desktop, and the second interface element is the second card in a stack of cards.

[0348] For example, the first interface element in the above example could be Figure 9B In the user interface 326 illustrated in (1), the stacked cards 326a, the second interface element in the above example can be... Figure 9B (2) The user interface 327 shown in Figure 327 contains card 327a.

[0349] Optionally, the preset type of operation in the above example is an upward swipe operation.

[0350] For example, the preset type of operation can be Figure 6 The upward swipe operation in the user interface 307 shown in Figure (1) may be... Figure 7 The up swipe operation in the user interface 317 shown in (2) of the figure.

[0351] Optionally, the preset type of operation can also be other operations besides the upward swipe operation, such as, but not limited to, downward swipe operation, left swipe operation, or right swipe operation.

[0352] Optionally, the preset type of operation in the above example is an upward swipe operation, and the swipe distance of the upward swipe operation is greater than or equal to a first distance. The swipe distance of the preset type of operation refers to the distance from the touch start point corresponding to the preset type of operation to the touch end point corresponding to the preset type of operation.

[0353] In the example above, the first distance can be a predefined distance, and there are no specific limitations on the first distance.

[0354] Optionally, the preset display conditions in the above examples also include at least one of the following conditions: the desktop style of the first interface is a preset format desktop style, the desktop mode of the first interface is not a desktop page turning mode, the desktop mode of the first interface is not a desktop editing mode, and the electronic device is a preset type of electronic device.

[0355] Optionally, the preset display conditions may also include: the desktop mode of the first interface is either split-screen mode or non-split-screen mode.

[0356] For example, Figure 6 The user interface 307 shown in (1) can be a specific example of the desktop mode of the first interface described above, which is a split-screen mode. Figure 7 The user interface 317 shown in (2) can be a specific example of the desktop mode of the first interface, which is a split-screen mode. For details not elaborated here, please refer to the above text. Figure 7 The relevant description in the document.

[0357] The desktop styles in the above examples can be, but are not limited to, standard desktop styles. They can be set according to actual needs, and there are no specific limitations on this.

[0358] The electronic devices of the preset type in the above examples can be, but are not limited to, one or more of non-foldable phones (i.e., candybar phones), tablets, or foldable phones, etc., and can be set according to actual needs, without specific limitations.

[0359] For example, a specific example of the above-mentioned preset display conditions could be the above-mentioned Figure 10 The preset requirements in step S1003 of the provided display method, which are not detailed here, can be found in the relevant descriptions of step S1003 above.

[0360] In step S1430, when it is determined that the preset display conditions are met, the electronic device displays the negative one screen in full screen. The negative one screen displays the interface of the resource library. The interface of the resource library includes a search area and icons of all applications installed on the electronic device. The search area is used to trigger the electronic device to display the icon of the application that matches the search information found from all the application icons in response to the search information.

[0361] The library interface includes a search area and icons of all applications installed on the electronic device. The search area is used to trigger the electronic device to display icons of applications that match the search information from all the application icons in response to search information.

[0362] Optionally, icons for all applications installed on an electronic device and included in the library interface can be located in folders included in the library interface.

[0363] Optionally, the electronic device may not include icons for the negative one screen applications and the resource library applications. Therefore, the resource library interface includes icons for all applications installed on the electronic device except for the negative one screen applications and the resource library applications, and these icons may be located in folders included in the resource library interface.

[0364] Optionally, the library interface may also include a suggestion area, which displays icons of applications that the user has recently used frequently.

[0365] For example, the interface of the above resource library can be Figure 6 The user interface 313, shown in diagram (3) in the diagram, is displayed in full screen on the negative one screen. User interface 313 includes several types of folders: a suggestion folder 313a, a social communication folder 313b, a camera folder 313c, a tools folder 313d, and an office folder 313e. The suggestion folder 313a includes icons for settings applications and video applications that the user has recently used. The various types of folders included in user interface 313 are... Figure 3 In Figure (1), display areas 301a, 301b and Figure 3 (2) The display area 302a in the figure includes multiple folders after classifying the multiple icons. Each folder includes icons of the corresponding application. For details not described here, please refer to the above text. Figure 6 The relevant description in the document.

[0366] Optionally, before the electronic device displays the negative one screen in full screen, the electronic device may also perform the following steps: if it is determined that the negative one screen and the resource library are both open, the first operation is a preset type of operation and the second sliding distance of the first operation is less than the first distance and greater than or equal to the second distance, and the first area does not include the first interface elements, the electronic device displays a portion of the negative one screen and a portion of the first interface, wherein a portion of the resource library interface is displayed in the portion of the negative one screen.

[0367] The second sliding distance refers to the sliding distance from the starting point of the first operation to the middle point of the first operation. The middle point of the first operation is a touch point located between the starting point and the ending point of the first operation.

[0368] For example, the first operation described above could be Figure 6 The upward swipe operation in the user interface 307 shown in Figure (1) (i.e., the distance from the touch start point 307b to the touch end point 307c), the second swipe distance of the first operation refers to the distance from the touch start point 307b to the touch midpoint, the touch midpoint is a touch point between the touch start point 307b and the touch end point 307c, the interface of the resource library displayed on the negative one screen mentioned above can be Figure 6 (2) The user interface 312 shown in the figure is a portion of the resource library application interface 312a. The portion of the first interface can be any interface in the user interface 312 other than the portion of the resource library application interface 312a. For details not described here, please refer to the above text. Figure 6 The relevant description in the document.

[0369] For example, the first operation described above could be Figure 7 The upward swipe operation in the user interface 317 shown in Figure (2) (i.e., the distance from the touch start point 317b to the touch end point 317c), the second swipe distance of the first operation refers to the distance from the touch start point 307b to the touch midpoint, the touch midpoint is a touch point between the touch start point 317b and the touch end point 317c, the interface of the resource library displayed on the negative one screen mentioned above can be Figure 7 (3) The user interface 318 shown in the figure has a partial interface 318a of the resource library application. The partial first interface can be any interface in the user interface 318 other than the partial interface 318a of the resource library application. For details not described here, please refer to the above text. Figure 7 The relevant description in the document.

[0370] Optionally, if the resource library is enabled on the electronic device, the user can also delete (i.e. remove) the icon of a specific application (such as the settings app) from the desktop. It should be understood that even after an application's icon is removed from the desktop, the application is still installed on the electronic device; that is, the application's icon will still be displayed in the resource library interface.

[0371] For example, an electronic device can delete an icon on the desktop by performing the following steps: with the resource library enabled, in response to detecting a second operation on the icon of a first application in a first interface, the electronic device displays a third interface, wherein the third interface includes a first pop-up window and the icon of the first application; in response to detecting a third operation on a first removal control in the first pop-up window, the electronic device displays a fourth interface, wherein the fourth interface includes a second pop-up window; in response to detecting a fourth operation on a second removal control in the second pop-up window, the electronic device displays a fifth interface, wherein the fifth interface is the desktop that includes the interface content of the first interface except for the icon of the first application.

[0372] The fifth interface is the interface obtained after deleting the icon of the first application from the first interface. It should be understood that after deleting the icon of the first application from the desktop, the icon of the first application will still be included in the resource library interface.

[0373] Optionally, the second pop-up may also include other content besides the second removal control, such as, but not limited to, an uninstallation control (for uninstalling the application) and / or a prompt message, wherein the prompt message is used to indicate whether the icon of the first application needs to be removed from the desktop main interface.

[0374] For example, a specific example of the first interface described above could be... Figure 8In the user interface 307 shown in (1), a specific example of the first application icon can be the settings application icon 307d in the user interface 307; a specific example of the second operation can be the user's finger clicking the settings application icon 307d shown in the user interface 307; and a specific example of the third interface can be... Figure 8 The user interface 321 shown in (2) above, a specific example of the first pop-up window in the third interface above can be pop-up window 321b in user interface 321, a specific example of the icon of the first application in the third interface can be the icon 321a of the settings application in user interface 321, and a specific example of the fourth interface above can be Figure 8 The user interface 322 shown in (3) above, a specific example of the second pop-up window can be pop-up window 322a in user interface 322, a specific example of the second removal control can be the remove control 322a1 from desktop in pop-up window 322a, and a specific example of the fifth interface can be... Figure 8 The user interface 323 shown in (4) above is not detailed here. Figure 8 The relevant description in the document.

[0375] For example, the electronic device can also perform actions based on the above. Figure 12 The provided display method aims to delete a specific icon from the desktop, as mentioned above. Figure 12 In the provided display method, the setting application in step S1201 can be a specific example of the icon of the first application; the long press event B in step S1201 can be a specific example of the second operation; the pop-up #2 in step S1207 can be a specific example of the first pop-up; the click event C in step S1207 can be a specific example of the third operation; the remove / uninstall pop-up #2 in step S1213 can be a specific example of the second pop-up; and the click event D in step S1216 can be a specific example of the fourth operation. Details not elaborated here can be found above. Figure 12 The relevant description in the document.

[0376] Optionally, with the resource library powered on, after the electronic device removes an application's icon from the desktop as described above, it can also close the resource library. Afterwards, the icon of the application previously removed from the desktop can be restored to the electronic device's desktop.

[0377] For example, after displaying a fourth interface in response to detecting a fourth operation on the first removal control in the first pop-up window, the electronic device may also perform the following steps to restore the display of the icon of the deleted application: if the resource library is detected to be switched from open to closed, the electronic device displays a sixth interface, wherein the sixth interface is a desktop including the icon of the first application.

[0378] The sixth screen is the desktop that includes the icon of the first application. The sixth screen can be a newly opened screen on the desktop, or it can be an existing screen on the desktop.

[0379] Optionally, when the icons of multiple applications are removed from the desktop, the sixth interface may include the icons of those multiple applications. Optionally, the icons of those multiple applications may also be placed in a folder included in the sixth interface, or scattered throughout the sixth interface; there is no specific limitation on this.

[0380] For example, the electronic device can also perform actions based on the above. Figure 13 The provided display method aims to restore the icon of a deleted application on the desktop when the resource library is switched from on to off. Details not elaborated here can be found in the above text. Figure 13 The relevant description in the document.

[0381] For example, with the resource library enabled, Figure 8 After the icon 307d of the settings application in the user interface 307 shown in Figure (1) is removed from the desktop, the following is obtained: Figure 8 Taking the user interface 323 shown in Figure (4) as an example, when the resource library is switched from on to off, a specific example of the sixth interface displayed by the electronic device can be... Figure 8 The user interface 324 shown in (5) includes an icon 307d for setting the application.

[0382] Optionally, the electronic device also stores a container value for the icon of the first application, and; in response to detecting a fourth operation on the second removal control in the second pop-up window, the electronic device displays a fifth interface, and thereafter, the electronic device may also perform the following steps: the electronic device updates the container value for the icon of the first application to a second value, wherein the second value is used to indicate that the icon of the first application is hidden on the desktop of the electronic device; after detecting that the resource library has switched from being open to being closed, the electronic device displays a sixth interface, and the electronic device may also perform the following steps: updating the container value for the icon of the first application to a first value, wherein the first value is used to indicate that the icon of the first application is displayed on the desktop of the electronic device.

[0383] Optionally, after the electronic device displays the fifth interface in response to the detection of a fourth operation on the second removal control in the second pop-up window, the electronic device may also perform the following steps: when the resource library is enabled, in response to the detection of a fifth operation on the fifth interface, and when the fifth operation meets the preset display conditions, the electronic device displays the negative one screen; when the icon of the first application displayed on the negative one screen is dragged to the fifth interface, the electronic device displays the icon of the first application in the fifth interface.

[0384] The following describes the module steps within the electronic device corresponding to the execution of steps S1410 to S1430.

[0385] For example, the electronic device also includes a negative one screen application and a desktop application, and: a first interface is displayed in full screen, including the desktop application displaying the first interface in full screen; when a first operation on a first area within the first interface is detected, it is determined whether a preset display condition is met, including: when the desktop application detects a first operation on the first area, it determines whether the preset display condition is met; when it is determined that the preset display condition is met, the negative one screen is displayed in full screen, including: when the desktop application determines that the preset display condition is met, it sends a first event to the negative one screen application; the negative one screen application displays the negative one screen in full screen according to the first event.

[0386] For example, the desktop application mentioned above could be Figure 10 The desktop application shown above, the application on the negative one screen, can be... Figure 10 The negative one screen application shown above, a specific example of the first interface mentioned above could be... Figure 10 In step S1001, the desktop interface, the first operation mentioned above can be touch operation A in step S1001, and a specific example of the first event mentioned above can be... Figure 10 The OnScroll event in the middle step, which is not detailed here, can be found in the above text. Figure 10 The relevant steps in the provided display method.

[0387] Optionally, the electronic device may also perform the following steps: if it is determined that the preset display conditions are not met, the electronic device displays a second interface in full screen, wherein the second interface is the first interface, or the second interface is the interface obtained after displaying the elements of the second interface in the first interface.

[0388] It should be understood that in the above examples, when the first operation is not an operation on a first element within the first interface, the electronic device displays the first interface in full screen. In the above examples, when the first operation is an operation on a first element within the first interface, the electronic device displays the second interface in full screen.

[0389] For example, a specific example of the second interface described above could be... Figure 9AThe user interface 325 shown in (2) of the diagram may be... Figure 9B The user interface 327 is shown in (2) of the diagram.

[0390] It should be understood that the above Figure 14 The display method shown is for illustrative purposes only and does not constitute any limitation on the display method provided in the embodiments of this application.

[0391] In this embodiment of the application, when a user performs a first operation on the first interface, which serves as the desktop of the electronic device, and the electronic device determines that the preset display conditions are met, the electronic device can display a resource library interface, including a search area and icons of all applications installed on the electronic device, on the negative one screen. This allows the user to quickly and conveniently find the icon of the application that matches the search information by entering search information in the search area of ​​the resource library interface, thereby improving the user experience.

[0392] The above text combined Figures 1 to 14 This document describes in detail the application scenarios, user interface of the electronic device, and display method of the display method according to embodiments of this application. The following will combine... Figure 15 The apparatus embodiments of this application are described in detail below. It should be understood that the display device in the embodiments of this application can execute the various display methods described in the foregoing embodiments of this application. That is, the specific working processes of the various products described below can be referred to the corresponding processes in the foregoing method embodiments.

[0393] Figure 15 This is a schematic diagram of a display device provided in an embodiment of this application.

[0394] For example, Figure 15 The display device 1500 shown includes a processing unit 1510. The function of the processing unit 1510 will be described below.

[0395] The processing unit 1510 is configured to: display a first interface in full screen, wherein the first interface is the desktop of the electronic device; upon detecting a first operation on a first area within the first interface, determine whether preset display conditions are met, wherein the preset display conditions include the following conditions: the negative one screen is open, the resource library is open, the first operation is a preset type of operation, and the first area does not include a first interface element, wherein the first interface element is used to trigger the electronic device to display a second interface element associated with the first interface element in response to the preset type of operation; and, upon determining that the preset display conditions are met, display the negative one screen in full screen, wherein the negative one screen displays the interface of the resource library, the interface of the resource library includes a search area and icons of all applications installed on the electronic device, and the search area is used to trigger the electronic device to display the icon of the application found from all application icons that matches the search information in response to search information.

[0396] In one possible implementation, the preset display conditions also include at least one of the following conditions: the desktop style of the first interface is a preset format desktop style, the desktop mode of the first interface is not a desktop page turning mode, the desktop mode of the first interface is not a desktop editing mode, and the electronic device is a preset type of electronic device.

[0397] In another possible implementation, the preset type of operation is an upward swipe operation; or, the preset type of operation is an upward swipe operation, and the swipe distance of the upward swipe operation is greater than or equal to a first distance.

[0398] In another possible implementation, the first interface element is the icon of the second application on the desktop, and the second interface element is a transient card associated with the second application in the interface; or, the first interface element is the first card in a stack of cards on the desktop, and the second interface element is the second card in a stack of cards.

[0399] In another possible implementation, the processing unit 1510 is further configured to perform the following steps before displaying the negative one screen in full screen: if it is determined that the negative one screen and the resource library are both open, the first operation is a preset type of operation and the second sliding distance of the first operation is less than the first distance and greater than or equal to the second distance, and the first area does not include the first interface element, display a portion of the negative one screen and a portion of the first interface, wherein a portion of the resource library interface is displayed in the portion of the negative one screen.

[0400] In another possible implementation, the processing unit 1510 is further configured to: display a second interface in full screen when it is determined that the preset display conditions are not met, wherein the second interface is the first interface, or the second interface is the interface obtained after displaying the second interface elements in the first interface.

[0401] In another possible implementation, the processing unit 1510 is further configured to: when the resource library is open, in response to detecting a second operation on the icon of the first application in the first interface, display a third interface, wherein the third interface includes a first pop-up window and the icon of the first application; in response to detecting a third operation on the first removal control in the first pop-up window, display a fourth interface, wherein the fourth interface includes a second pop-up window; and in response to detecting a fourth operation on the second removal control in the second pop-up window, display a fifth interface, wherein the fifth interface is a desktop that includes the interface content of the first interface other than the icon of the first application.

[0402] In another possible implementation, the processing unit 1510 is further configured to: after displaying a fourth interface in response to detecting a fourth operation on the first removal control in the first pop-up window, perform the following steps: display a sixth interface when the resource library is detected to be switched from open to closed, wherein the sixth interface is a desktop including the icon of the first application.

[0403] In another possible implementation, the electronic device also stores a container value for the icon of the first application; and the processing unit 1510 is further configured to: after displaying a fifth interface in response to detecting a fourth operation on the second removal control in the second pop-up window, perform the following operations: update the container value of the icon of the first application to a second value, wherein the second value is used to indicate that the icon of the first application is hidden on the desktop of the electronic device; after displaying a sixth interface upon detecting that the resource library has switched from being open to being closed, the method further includes: updating the container value of the icon of the first application to a first value, wherein the first value is used to indicate that the icon of the first application is displayed on the desktop of the electronic device.

[0404] In another possible implementation, the processing unit 1510 is further configured to: after displaying the fifth interface in response to detecting a fourth operation on the second removal control in the second pop-up window, perform the following operations: if the resource library is open, in response to detecting a fifth operation on the fifth interface and if the fifth operation meets preset display conditions, display the entire negative one screen; if the icon of the first application displayed on the negative one screen is dragged to the fifth interface, display the icon of the first application in the fifth interface.

[0405] In another possible implementation, the processing unit 1510 is further configured to: display a first interface in full screen when the resource library is open, wherein the first interface further includes a search entry area, wherein the search entry area is used to trigger the electronic device to display the interface of the resource library including the search area on the negative one screen.

[0406] In another possible implementation, the processing unit 1510 is further configured to: before determining whether a preset display condition is met upon detecting a first operation on a first area within the first interface, perform the following operations: in response to detecting a sixth operation on a first setting option in the seventh interface, display an eighth interface, wherein the seventh interface is the desktop settings interface of the electronic device and the eighth interface is the settings interface of the resource library; in response to detecting a seventh operation on a second setting control in the eighth interface, open the resource library.

[0407] It should be noted that the aforementioned display device 1500 is embodied in the form of a functional unit. The term "unit" here can be implemented in software and / or hardware, without specific limitations.

[0408] For example, a "unit" can be a software program, a hardware circuit, or a combination of both that implements the above functions. The hardware circuit may include an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components that support the described functions.

[0409] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0410] This application also provides a computer program product that, when executed by a processor, implements the display method described in any of the method embodiments of this application.

[0411] The computer program product can be stored in memory, for example, it is a program. The program is eventually converted into an executable object file that can be executed by the processor after processes such as preprocessing, compilation, assembly and linking.

[0412] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the display method described in any of the method embodiments of this application. The computer program may be a high-level language program or an executable object program.

[0413] This application also provides a chip for use in an electronic device. The chip includes one or more processors that invoke computer instructions to cause the electronic device to execute the display method described in any of the method embodiments of this application.

[0414] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0415] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0416] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0417] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0418] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and other division methods may exist in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0419] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0420] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0421] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A display method characterized by comprising: The method is applied to an electronic device including a resource library and a negative one screen, and the method comprises: full-screen displaying a first interface, wherein the first interface is a desktop of the electronic device; in a case where a first operation on a first region in the first interface is detected, determining whether a preset display condition is met, wherein the preset display condition comprises the following conditions: the negative one screen is opened, the resource library is opened, the first operation is a preset type of operation, the first region does not include a first interface element, and the first interface element is used to trigger the electronic device to display a second interface element associated with the first interface element in response to the preset type of operation; in a case where it is determined that the preset display condition is met, full-screen displaying the negative one screen, wherein an interface of the resource library is displayed in the negative one screen, the interface of the resource library comprises a search region and icons of all applications installed in the electronic device, and the search region is used to trigger the electronic device to display an icon of an application matched with search information from the icons of all applications in response to the search information.

2. The method of claim 1, wherein the preset display condition further comprises at least one of the following conditions: a desktop style of the first interface is a preset format of desktop style, a desktop mode of the first interface is not a desktop flipping mode, the desktop mode of the first interface is not a desktop editing mode, and the electronic device is a preset type of electronic device.

3. The method of claim 1 or 2, wherein the preset type of operation is an upward sliding operation; or the preset type of operation is an upward sliding operation, and a sliding distance of the upward sliding operation is greater than or equal to a first distance.

4. The method of any one of claims 1 to 3, wherein the first interface element is an icon of a second application in the desktop, and the second interface element is a transient card associated with the second application in the interface; or the first interface element is a first card in a stacked card in the desktop, and the second interface element is a second card in the stacked card.

5. The method according to any one of claims 1 to 4, characterized in that, Before the full-screen displaying the negative one screen, the method comprises: in a case where it is determined that the negative one screen and the resource library are both opened, the first operation is the preset type of operation, a second sliding distance of the first operation is less than the first distance and greater than or equal to a second distance, and the first region does not include the first interface element, displaying part of the negative one screen and part of the first interface, wherein part of the interface of the resource library is displayed in part of the negative one screen.

6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: in a case where it is determined that the preset display condition is not met, full-screen displaying a second interface, wherein the second interface is the first interface, or the second interface is an interface obtained after the second interface element is displayed in the first interface.

7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: In a case where the resource library is opened, in response to detecting a second operation on an icon of a first application in the first interface, a third interface is displayed, where the third interface includes a first pop-up window and the icon of the first application; In response to detecting a third operation on a first removal control in the first pop-up window, a fourth interface is displayed, where the fourth interface includes a second pop-up window; In response to detecting a fourth operation on a second removal control in the second pop-up window, a fifth interface is displayed, where the fifth interface is a desktop including interface content in the first interface except the icon of the first application.

8. The method of claim 7, wherein, After the fourth interface is displayed in response to detecting the fourth operation on the first removal control in the first pop-up window, the method further includes: In a case where the resource library is switched from being opened to being closed after the first operation is detected, a sixth interface is displayed, where the sixth interface is a desktop including the icon of the first application.

9. The method of claim 8, wherein, The electronic device further stores a container value of the icon of the first application, and After the fifth interface is displayed in response to detecting the fourth operation on the second removal control in the second pop-up window, the method further includes: The container value of the icon of the first application is updated to a second value, where the second value is used to indicate that the icon of the first application is hidden in the desktop of the electronic device; After the sixth interface is displayed in the case where the resource library is switched from being opened to being closed after the first operation is detected, the method further includes: The container value of the icon of the first application is updated to a first value, where the first value is used to indicate that the icon of the first application is displayed in the desktop of the electronic device.

10. The method according to any one of claims 7 to 9, characterized in that, After the fifth interface is displayed in response to detecting the fourth operation on the second removal control in the second pop-up window, the method further includes: In a case where the resource library is opened, in response to detecting a fifth operation on the fifth interface, and in a case where the fifth operation meets the preset display condition, the negative one screen is displayed in its entirety; In a case where the icon of the first application displayed in the negative one screen is dragged to the fifth interface, the icon of the first application is displayed in the fifth interface.

11. The method according to any one of claims 1 to 10, characterized in that, The full-screen display of the first interface includes: In a case where the resource library is opened, the first interface is displayed in full screen, where the first interface further includes a search entry region, where the search entry region is used to trigger the electronic device to display an interface of the resource library including the search region in the negative one screen.

12. The method according to any one of claims 1 to 11, characterized in that, Before determining whether the preset display condition is met in a case where a first operation on a first region in the first interface is detected, the method further includes: In response to detecting a sixth operation on a first setting option in a seventh interface, an eighth interface is displayed, where the seventh interface is a desktop setting interface of the electronic device, and the eighth interface is a setting interface of the resource library; In response to detecting a seventh operation on a second setting control in the eighth interface, the resource library is opened.

13. The method according to any one of claims 1 to 12, characterized in that, The electronic device further includes a negative one screen application and a desktop application, and The full-screen display first interface, comprising: The desktop application full-screen displays the first interface; The first operation on the first region in the first interface is detected, and whether a preset display condition is satisfied is determined, comprising: The desktop application determines whether the preset display condition is satisfied when the first operation on the first region is detected; The full-screen display of the negative one screen is determined to satisfy the preset display condition, comprising: The desktop application determines to satisfy the preset display condition, and sends a first event to the negative one screen application; The negative one screen application full-screen displays the negative one screen according to the first event.

14. An electronic device, comprising: One or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer programs, when the one or more processors execute the computer programs, the electronic device executes the display method as claimed in any one of claims 1 to 13.

15. A chip system applied to an electronic device, the chip system comprising one or more processors, characterized in that, The processor is used to call computer instructions, so that the electronic device executes the display method as claimed in any one of claims 1 to 13.

16. A computer readable storage medium comprising a computer program, characterized in that, When the computer program runs on the electronic device, the electronic device executes the display method as claimed in any one of claims 1 to 13.

17. A computer program product, characterised in that, When the computer program product runs on the electronic device, the electronic device executes the display method as claimed in any one of claims 1 to 13.