Display method, electronic device, 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.

WO2026066716A1PCT designated stage Publication Date: 2026-04-02HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-08-07
Publication Date
2026-04-02

AI Technical Summary

Technical Problem

Users face difficulties in quickly and easily finding installed applications on their electronic devices, and existing technologies struggle to meet this need.

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. This interface contains the resource library and icons of all applications. Users can enter information in the search area to find matching applications.

Benefits of technology

It enables users to quickly and easily find the applications installed on their electronic devices, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025113364_02042026_PF_FP_ABST
    Figure CN2025113364_02042026_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a display method, an electronic device, a storage medium, and a chip. The method is applied to an electronic device comprising a resource library and a minus one screen, and comprises: displaying, in full screen, a first interface serving as a desktop of the electronic device; when a first operation on a first area in the first interface is detected, determining whether preset display conditions are satisfied, wherein the preset display conditions include: the minus one screen and the resource library are enabled, the first operation is a preset type of operation, and the first area does not comprise a first interface element (i.e., being used for displaying a second interface element in response to the preset type of operation); when the preset display conditions are satisfied, displaying the minus one screen in full screen, wherein an interface of the resource library is displayed in the minus one screen, the interface of the resource library comprises a search area and icons of all applications installed in the electronic device, and the search area is used for in response to search information, displaying an icon matching the search information. By using the method, an application in an electronic device can be quickly and conveniently found, improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Display method, electronic device, storage medium and chip

[0001] The present application claims priority to the Chinese patent application No. 202411391987.4, filed on September 30, 2024, and entitled "Display method, electronic device, storage medium and chip", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the technical field of electronic devices, and more particularly, to a display method, an electronic device, a storage medium and a chip. BACKGROUND

[0003] With the continuous development of terminal technology, electronic devices can provide users with a variety of services corresponding to a variety of different types of applications already installed in the electronic devices, thereby better meeting user needs. In the scenario where a large number of applications are installed in the electronic device, users have the need to quickly and conveniently find a certain application installed in the electronic device. SUMMARY

[0004] The present application provides a display method, an electronic device, a storage medium and a chip, which can quickly and conveniently find an application installed in the electronic device to improve user experience.

[0005] In a first aspect, an embodiment of the present application provides a display method applied to an electronic device including a resource library and a negative one screen, the method comprising: 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 includes the following conditions: the negative one screen is opened, the resource library is opened, the first operation is a preset type of operation, and the first region 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; in a case where it is determined that the preset display condition is met, full-screen displaying the negative one screen, wherein the negative one screen displays an interface of the resource library, the interface of the resource library including a search region and icons of all applications installed in the electronic device, the search region being used to trigger the electronic device to display an icon of an application found from the icons of all applications and matching search information in response to the search information.

[0006] In the technical solution, when the first operation performed by the user on the first interface of the desktop of the electronic device is detected, and the electronic device determines that the preset display condition is met, the electronic device can display the resource library interface including the search area and the icons of all applications installed on the electronic device on the negative one screen, so that the user can input search information in the search area of the resource library interface to quickly and conveniently find the icon of the application matching the search information from all the icons of the applications installed on the electronic device, thereby improving the user experience.

[0007] In a possible implementation, the preset display condition further includes at least one of the following conditions: the desktop style of the first interface is a preset format of desktop style, the 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.

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

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

[0010] In another possible implementation, 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.

[0011] In another possible implementation, before displaying the negative one screen in full screen, the method includes: when it is determined that the negative one screen and the resource library are both opened, the first operation is a preset type of operation, 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, displaying a partial negative one screen and a partial first interface, wherein the partial negative one screen displays a partial interface of the resource library.

[0012] In another possible implementation, the method further includes: when it is determined that the preset display condition is not met, displaying the second interface in full screen, 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.

[0013] In the technical solution, in a case where the first operation does not meet the preset display condition and the first operation is not an operation on the first interface element in the first interface, the electronic device displays the first interface in full screen. In a case where the first operation does not meet the preset display condition and the first operation is an operation on the first interface element in the first interface, the electronic device displays an interface obtained after the second interface element is displayed in the first interface.

[0014] In another possible implementation, the method further includes: in a case where the resource library is opened, in response to detecting a second operation on an icon of the first application in the first interface, displaying a third interface, where the third interface includes the 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, displaying a fourth interface, 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, displaying a fifth interface, where the fifth interface is a desktop including interface content in the first interface except the icon of the first application.

[0015] The fifth interface is a desktop including interface content in the first interface except the icon of the first application, that is, the fifth interface is an interface obtained after the icon of the first application in the first interface is deleted from the first interface. Deleting an icon of an application from an interface can also be referred to as hiding the icon of the application in the interface.

[0016] In the technical solution, in a case where the resource library is opened, the electronic device can achieve the goal of deleting an icon of a certain application from a desktop by performing a plurality of operations (that is, the second operation, the third operation, and the fourth operation), thereby helping the user to organize the desktop and improving the user experience.

[0017] In another possible implementation, after displaying the fourth interface 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 it is detected that the resource library is switched from being opened to being closed, displaying a sixth interface, where the sixth interface is a desktop including the icon of the first application.

[0018] Optionally, the sixth interface can be a new home screen located in the desktop of the electronic device, or can also be an existing screen located in the desktop of the electronic device, which is not limited in this regard.

[0019] In the technical solution, in a case where the resource library is switched from being opened to being closed, the electronic device can display all icons of applications that have been removed (that is, hidden) from the desktop again in the desktop.

[0020] In another possible implementation, the electronic device further stores a container value of the icon of the first application, and in response to detecting the fourth operation on the second removal control in the second pop-up window, the fifth interface is displayed, and then the method further includes: updating the container value of the icon of the first application 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; in the case where it is detected that the resource library has switched from being opened to being closed, after the sixth interface is displayed, the method further includes: updating the container value of the icon of the first application to the 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.

[0021] In the above technical solution, in the case where the electronic device has successfully deleted the icon of a certain application (i.e., the first application) displayed in the desktop, in order to ensure the consistency of the properties of the icons of the applications stored in the electronic device and the icons of the applications displayed in the desktop of the electronic device, the electronic device can update the container value of the icon of the certain application to a second value, where the second value is used to indicate that the icon of the certain application is hidden (i.e., not displayed) in the desktop of the electronic device, so that the consistency of the properties of the icons of the applications stored in the electronic device and the icons of the applications displayed in the desktop of the electronic device is ensured, thereby improving the user experience.

[0022] In another possible implementation, 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 the case where the resource library is opened, in response to detecting a fifth operation on the fifth interface, and in the case where the fifth operation meets a preset display condition, displaying the negative one screen in its entirety; in the case where the icon of the first application displayed in the negative one screen is dragged to the fifth interface, displaying the icon of the first application in the fifth interface.

[0023] In another possible implementation, the first interface is displayed in full screen, including: in the case where the resource library is opened, displaying the first interface in full screen, where the first interface further includes a search entry region, and the search entry region is used to trigger the electronic device to display the interface of the resource library including the search region in the negative one screen.

[0024] In the above technical solution, in the case where the resource library is opened, the first interface further includes a search entry region. Then, the user can further trigger the search entry region to display the interface of the resource library including the search region in the negative one screen, and the user can further input search information in the search region in the interface of the resource library to quickly and conveniently find the icon of the application matching the search information from all the icons of the applications installed in the electronic device, thereby improving the user experience.

[0025] In a possible implementation, the first interface is displayed in full screen, including: in a case where the resource library is opened, the first interface is displayed in full screen, wherein the first interface does not include the search entry region, and wherein the search entry region is used to trigger the electronic device to display, in the minus one screen, the interface of the resource library including the search region.

[0026] In a possible implementation, before determining whether the preset display condition is met in a case where the first operation on the 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, displaying an eighth interface, wherein the seventh interface is a desktop setting interface of the electronic device, and the eighth interface is a setting interface of the resource library; and in response to detecting a seventh operation on a second setting control in the eighth interface, opening the resource library.

[0027] In the above technical solution, the desktop setting interface can be used to enter the setting interface of the resource library, and the opening of the resource library can be implemented.

[0028] In a possible implementation, the electronic device further includes a minus one screen application and a desktop application, and the first interface is displayed in full screen, including: the desktop application displays the first interface in full screen; and in a case where the first operation on the first region in the first interface is detected, determining whether the preset display condition is met, including: the desktop application determines whether the preset display condition is met in a case where the first operation on the first region is detected; and in a case where it is determined that the preset display condition is met, displaying the minus one screen in full screen, including: in a case where the desktop application determines that the preset display condition is met, sending a first event to the minus one screen application; and the minus one screen application displays the minus one screen in full screen according to the first event.

[0029] In a second aspect, an embodiment of the present application provides a display apparatus, including units for performing any of the display methods in the first aspect.

[0030] In a third aspect, an embodiment of the present application provides an electronic device, including units for performing any of the display methods in the first aspect. The electronic device can be a terminal device, or a chip in the terminal device. The electronic device can include an input unit and a processing unit.

[0031] When the electronic device is a terminal device, the processing unit can be a processor, and the input unit can be a communication interface. The terminal device can further include a memory for storing computer program code, and when the processor executes the computer program code stored in the memory, the terminal device performs any of the display methods in the first aspect.

[0032] When the electronic device is a chip in a terminal device, the processing unit can be a processing unit inside the chip, and the input unit can be an output interface, a pin, a circuit, or the like. The chip can further include a memory, which can be a memory (for example, a register, a cache, or the like) inside the chip, or a memory (for example, a read-only memory, a random access memory, or the like) outside the chip. The memory is configured to store computer program code. When the processor executes the computer program code stored in the memory, the chip is caused to perform any one of the display methods in the first aspect.

[0033] In a possible implementation, the memory is configured to store computer program code, and the processor is configured to execute the computer program code stored in the memory. When the computer program code stored in the memory is executed, the processor is configured to perform any one of the display methods in the first aspect.

[0034] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores computer program code. When the computer program code is run by an electronic device, the electronic device is caused to perform any one of the display methods in the first aspect.

[0035] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes computer program code. When the computer program code is run by an electronic device, the electronic device is caused to perform any one of the display methods in the first aspect.

[0036] It can be understood that beneficial effects of the second aspect to the fifth aspect can be referred to the related description in the first aspect, and will not be described here.

[0037] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in the present application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it can be understood that the description of a feature or a beneficial effect means that the specific technical feature, technical solution or beneficial effect is included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in the specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the embodiments can be combined in any appropriate manner. Those skilled in the art will understand that the embodiments can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can be identified in specific embodiments that do not embody all embodiments. BRIEF DESCRIPTION OF DRAWINGS

[0038] FIG. 1 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.

[0039] FIG. 2 is a schematic diagram of a software system of an electronic device according to an embodiment of the present application.

[0040] FIG. 3 is a schematic diagram of a desktop interface of an electronic device according to an embodiment of the present application.

[0041] FIG. 4 is a schematic diagram of a view structure of the desktop interface of the electronic device according to the embodiment of the present application.

[0042] FIG. 5 is a schematic diagram of a user interface of an electronic device suitable for a display method according to an embodiment of the present application.

[0043] FIG. 6 is a schematic diagram of a user interface of an electronic device suitable for a display method according to an embodiment of the present application.

[0044] FIG. 7 is a schematic diagram of a user interface of an electronic device suitable for a display method according to an embodiment of the present application.

[0045] FIG. 8 is a schematic diagram of a user interface of an electronic device suitable for a display method according to an embodiment of the present application.

[0046] FIG. 9A is a schematic diagram of a user interface of an electronic device suitable for a display method according to an embodiment of the present application.

[0047] FIG. 9B is a schematic diagram of a user interface of an electronic device suitable for a display method according to an embodiment of the present application.

[0048] FIG. 10 is a schematic diagram of a display method according to an embodiment of the present application.

[0049] FIG. 11 is a schematic diagram of a specific implementation flow of step S1003 in the display method according to the embodiment of the present application.

[0050] FIG. 12 is a schematic diagram of a display method according to an embodiment of the present application.

[0051] FIG. 13 is a schematic diagram of a display method according to an embodiment of the present application.

[0052] FIG. 14 is a schematic diagram of a display method according to an embodiment of the present application.

[0053] FIG. 15 is a schematic diagram of a display device according to an embodiment of the present application. DETAILED DESCRIPTION

[0054] With reference to the drawings and the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of the present application.

[0055] The terms “first”, “second”, and the like in the specification of the present application, claims, and the description of drawings are used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the definition of “first”, “second” features can explicitly or implicitly include one or more of the features.

[0056] In the embodiments of the present application, the words “exemplary” or “for example” are used to mean serving as an example, instance, or illustration. Any embodiment or design presented as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or advantageous than other embodiments or design solutions. Rather, the use of “exemplary” or “for example” is intended to present concepts in a concrete manner.

[0057] The embodiments of the present application provide 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: 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 includes the following conditions: the negative one screen is opened, the resource library is opened, the first operation is a preset type of operation, and 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 the negative one screen displays an interface of the resource library, and the interface of the resource library includes 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. The method can quickly and conveniently find the applications installed in the electronic device, so as to improve user experience.

[0058] The display method provided by the embodiments of the present application can be applied to an electronic device. The electronic device can also be referred to as a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), an electronic device, and the like. The electronic device can be a mobile phone, a tablet computer, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, a smart television, a wireless terminal in a smart home, and the like. The mobile phone can include a foldable screen mobile phone, a straight mobile phone, and the like. The embodiments of the present application do not limit the specific device form of the electronic device.

[0059] For example, FIG. 1 is a schematic diagram of a hardware structure of an electronic device provided by the embodiments of the present application. Referring to FIG. 1, the electronic device 100 can 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 loudspeaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, and the like. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.

[0060] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than those illustrated, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0061] The processor 110 can include one or more processing units, such as: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors.

[0062] The processor 110 is configured to: display the first interface in full screen, where 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, determine whether a preset display condition is met, where the preset display condition includes the following conditions: the negative one screen is opened, the resource library is opened, the first operation is an operation of a preset type, and 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 operation of the preset type; and in a case where it is determined that the preset display condition is met, display the negative one screen in full screen, where the negative one screen displays an interface of the resource library, and the interface of the resource library includes 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 that matches search information and is found from the icons of all the applications in response to the search information.

[0063] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of instruction fetching and instruction execution.

[0064] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can be directly called from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the system.

[0065] In some embodiments, the processor 110 can 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.

[0066] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a limitation on the structure of the electronic device 100. In some other embodiments of the present application, the electronic device 100 can also use different interface connection modes or a combination of multiple interface connection modes.

[0067] The charging management module 140 is configured to receive 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 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 can charge the battery 142 and also supply power to the electronic device 100 through the power management module 141.

[0068] The power management module 141 is configured to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160, etc. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be arranged in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be arranged in the same device.

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

[0070] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied on the electronic device 100. The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied on the electronic device 100.

[0071] The electronic device 100 implements the display function through the GPU, the display screen 194, and the application processor, etc. 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 for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.

[0072] The display screen 194 is configured to display application interfaces, images, videos, and the like. For example, the application interfaces displayed by the display screen 194 can include, but are not limited to, the user interfaces shown in FIG. 3, FIG. 5, FIG. 6, FIG. 7, FIG. 8, FIG. 9A, and FIG. 9B. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 100 can include one or N display screens 194, where N is an integer greater than 1.

[0073] The electronic device 100 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor.

[0074] The ISP is configured to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize the algorithm for the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be disposed in the camera 193.

[0075] The camera 193 is configured to capture still images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. 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 transmitted to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the electronic device 100 can include one or N cameras 193, where N is an integer greater than 1.

[0076] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0077] The video codec is used to compress or decompress digital video. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0078] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize data storage functions. For example, save music, video, etc. Files in the external memory card.

[0079] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created by the electronic device 100 during use (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), etc.

[0080] The electronic device 100 can realize audio functions such as music playing, recording, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc.

[0081] The pressure sensor 180A is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. When a touch operation is performed on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. For example, referring to the user interface 301 of the mobile phone shown in (1) of FIG. 3, when a user performs a touch operation on the icon 302a1 of the settings application in the user interface 302 of the mobile phone shown in (2) of FIG. 3, the touch sensor in the mobile phone can detect the pressure intensity of the touch operation. The electronic device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations performed on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is performed on the short message application icon, an instruction to view a short message is executed; when a touch operation with an intensity greater than or equal to the first pressure threshold is performed on the short message application icon, an instruction to create a new short message is executed.

[0082] The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch panel". The touch sensor 180K is configured to detect a touch operation performed on or near the touch sensor 180K. The 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 the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0083] The hardware system of the electronic device 100 is described in detail above, and the software system of the electronic device 100 is described below. The software system can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The software system of the electronic device 100 is described exemplarily by taking an Android system with a layered architecture as an example.

[0084] Exemplarily, FIG. 2 is a schematic diagram of a software system of an electronic device according to an embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The 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, the application program layer 210, the application program framework (FWK) layer 220, the core library layer 230, and the kernel layer 240 shown in FIG. 2.

[0085] The application program layer 210 can include a plurality of application programs. Referring to FIG. 2, the application program layer 210 can include a desktop application (also referred to as a desktop launcher), a minus one screen application, and a resource library application, and the embodiments of the present application do not make any limitation in this regard. Specifically, the desktop application is used to implement desktop display and manage the desktop, for example, icons of a plurality of applications installed in the electronic device 100 can be displayed on the desktop, or cards (for example, stacked cards or transient cards) can be displayed, and the like. For example, the view structure of the home screen managed by the desktop application can 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, and the CellLayout view is the child view of the Workspace view. The Workspace view can include one or more CellLayout views. The minus one screen application is used to implement minus one screen display, for example, an interface of the resource library application can be displayed on the minus one screen. The resource library application is a new application provided by the embodiments of the present application, and through a global entry provided by the resource library application, the user can be provided with efficient and convenient functions such as searching, adding, and removing icons of applications installed in the electronic device on the desktop, quickly searching and arranging the desktop icons, and creating a simple and tidy desktop experience for the user.

[0086] Optionally, compared with the applications included in the application program layer 210 shown in FIG. 2, the application program layer 210 can further include a larger number of applications, for example, the application program layer 210 can further include camera, map, calendar, music, call, navigation, Bluetooth, video, and the like.

[0087] The application program framework layer 220 provides an application programming interface (application programming interface, API) and a programming framework for the application programs of the application program layer. The application program framework layer 220 includes a plurality of pre-defined functions.

[0088] Referring to FIG. 2, the application program framework layer 220 can include a window manager, a content provider, a view system, an input manager, and a notification manager, and the like.

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

[0090] The content provider stores and retrieves data and makes the data accessible to applications. The data can include videos, images, audio, dialed and received calls, browsing history and bookmarks, phonebook, etc.

[0091] The view system is a user interface system for Android applications. The view system is used to be responsible for displaying the user interface of an application. Developers can use the view system to create a variety of user interfaces, such as buttons, text boxes, drop-down boxes, etc. For example, the user interface of an application displayed by the view system can be, but is not limited to, the user interfaces shown in FIG. 3, FIG. 5, FIG. 6, FIG. 7, FIG. 8, FIG. 9A and FIG. 9B.

[0092] The input manager can capture the user's input and pass it to the corresponding program for processing, for example, listen to the click event generated by the input hardware, convert the event into a standardized format, and then distribute it to the desktop application for processing.

[0093] The notification manager enables an application to display notification information in the status bar, which can be used to convey messages of the notification type, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the completion of the download, message reminders, etc. The notification manager can also be a notification in the form of a chart or a scroll bar text appearing in the top status bar of the system, such as a notification of an application running in the background, and can also be a notification in the form of a dialog window appearing on the screen. For example, the text information is prompted in the status bar, a prompt sound is emitted, the electronic device vibrates, the indicator light flashes, etc.

[0094] Optionally, compared with the modules included in the application framework layer 220 shown in FIG. 2, the application framework layer 220 can also include a larger number of modules, for example, the application framework layer 220 can also include a sensor manager and / or an activity manager. The sensor manager is used to manage the sensors in the electronic device 100 (for example, any one of the sensor modules 180 shown in FIG. 1). The activity manager can provide activity management services, and the AMS can be used for the start, switching, scheduling of system components (such as activities, services, content providers, broadcast receivers), and the management and scheduling of application processes. The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.

[0095] The core library layer 230 can include a plurality of function modules, and an Android runtime. The plurality of function modules can be, for example, but are not limited to, a surface manager, media libraries, a two-dimensional graphics engine (for example, SGL), and a three-dimensional graphics processing library (for example, OpenGL ES), and the like shown in FIG. 2. The surface manager is used to manage the display subsystem, and provides a two-dimensional layer and a three-dimensional layer for a plurality of applications.

[0096] The Android runtime includes a core library and a virtual machine. The Android runtime is responsible for scheduling and management of the Android system.

[0097] The core library includes two parts: one part is a function function that a programming language (for example, a java language) needs to call, and the other part is a core library of the Android.

[0098] The application layer 210 and the application framework layer 220 run in the virtual machine. The virtual machine executes the programming files (for example, java files) of the application layer 210 and the application framework layer 220 into binary files. The virtual machine is used to perform functions such as management of object life cycle, stack management, thread management, security and exception management, and garbage collection.

[0099] The kernel layer 240 is the basis of the Android operating system, and the final functions of the Android operating system are all completed through the kernel layer 240. The kernel layer 240 can include a display driver, a camera driver, and an image processor driver, and the like. Each driver is used to abstract hardware to hide specific channels of the hardware, so that the application can access (or call) the hardware. Among them, the display driver is used to drive the display screen to display a preview image or an optimized image, and the like. The camera driver is used to drive the image sensor of one or more cameras in the camera to collect images, and is also used to drive the image signal processor to pre-process the images. The processor driver is used to drive the processor to process the images, for example, the processing driver can include a digital signal processor driver and / or an image processor driver, wherein the digital signal processor driver is used to drive the digital signal processor to process the images, and the image processor driver is used to drive the graphics processor to process the images.

[0100] Optionally, the software system of the electronic device 100 shown in FIG. 2 can also include a hardware abstraction layer (HAL), which is an interface layer between the operating system kernel and the upper layer software, and its purpose is to abstract the hardware. The hardware abstraction layer is an abstract interface of the device kernel driver, which is used to provide an application programming interface to access the underlying device to the higher level Java API framework.

[0101] For ease of illustration, a hardware layer 250 interacting with the software structure described above is also embodied in FIG. 2. For example, the hardware layer 250 can include a display screen. The display screen can be used to display an interface such as a home screen or a desktop, and can be used to display a card on the interface such as a home screen or a desktop.

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

[0103] It should be understood that the software structure block diagram shown in FIG. 2 is only an example, and other software structures can also be selected, for example, the software structure has a different number of layers, the functional modules have different names and / or placement positions relative to FIG. 2, and the present application does not limit this.

[0104] The user interface of the electronic device executing the display method provided by the embodiments of the present application will be described below by taking a non-foldable-screen mobile phone as an example in combination with FIGS. 3 to 9B. It should be noted that the execution subject of the display method provided by the embodiments of the present application can be an electronic device, or a functional module and / or functional entity capable of implementing the display method in the electronic device, and the present application can be implemented by hardware and / or software, and the specific implementation can be determined according to actual use requirements, which is not limited by the embodiments of the present application.

[0105] Generally, an electronic device (for example, a mobile phone) with a display screen can display a desktop page, where the desktop page refers to a page that performs a page turning operation in response to a user's sliding operation. The electronic device can have one or more desktop interfaces, which can be displayed to the user through the display screen of the electronic device.

[0106] FIG. 3 is a schematic diagram of a desktop interface of an electronic device according to an embodiment of the present application.

[0107] For example, referring to (1) of FIG. 3, a display screen of a mobile phone is shown, which displays a desktop interface 301 including a display area 301a, a display area 301b and a display area 301c. The display area 301a includes a plurality of icons corresponding to a plurality of applications, including an icon of a clock application, an icon of a calendar application, an icon of a weather application, an icon of a file management application, an icon of a gallery application and an icon of a camera application. The display area 301b includes an icon of a phonebook application, an icon of a phone application and an icon of an information application. The display area 301c fixedly displays a navigation point 301c1, which is used to indicate the positional relationship between the screen of the desktop interface (i.e., the user interface 301) currently displayed by the mobile phone and other screens of the desktop, and is used to indicate that the screen of the desktop interface (i.e., the user interface 301) currently displayed by the mobile phone is located at the first screen of the desktop.

[0108] When a user performs a leftward sliding operation in the desktop interface 301 as shown in (1) of FIG. 3, the mobile phone can detect the leftward sliding operation, and then display a desktop interface 302 as shown in (2) of FIG. 3. The desktop interface 302 includes a display area 302a, a display area 302b and a display area 302c. The display area 302a includes a plurality of icons corresponding to a plurality of applications, which are different from the plurality of icons in the display area 301a, i.e., an icon of a browser application, an icon of a memo application, an icon of a voice recording application, an icon of a video application, an icon of a mail application, an icon of a calculator application and an icon 302a1 of a settings application. The display area 302b displays the same content as the display area 301b, which will not be described herein again. The display area 302c fixedly displays a navigation point 302c1, which is used to indicate the positional relationship between the screen of the desktop interface (i.e., the user interface 301) currently displayed by the mobile phone and other screens of the desktop, and is used to indicate that the screen of the desktop interface (i.e., the user interface 301) currently displayed by the mobile phone is located at the second screen of the desktop.

[0109] It can be understood that the specific content displayed on the first screen and the second screen is not limited in the embodiments of the present application. The wallpaper displayed on the first screen and the second screen can be consistent.

[0110] The above-mentioned first screen and the second screen of the desktop interface of the mobile phone are taken as an example in FIG. 3. Alternatively, the desktop interface of the mobile phone can further include more desktop interfaces in addition to the first screen and the second screen, and the mobile phone can view the more desktop interfaces based on the leftward sliding operation or the rightward sliding operation of the user, which is not limited in the embodiments of the present application.

[0111] It should be understood that the above only takes the desktop interface of the mobile phone displaying icons of multiple applications as an example in FIG. 3. Alternatively, the desktop interface shown in FIG. 3 can also display cards, folders, application components and the like. The folder is used for the user to manage and find different applications, and the user can add application icons of multiple APPs into the same folder. The folder can include a large folder and a small folder. Under the small folder, when the user clicks the small folder, the mobile phone can display all APPs under the folder, and at this time, the user can click the application icon of the APP to open the APP. Under the large folder, the user can directly click the application icon of the APP to open the APP without unfolding the folder. The card is generally a page in the application, and the user can click the card to jump to a certain service page in the corresponding application. The card can include a small-size card and a large-size card. The application component can be used to trigger the mobile phone to display a function interface of the application corresponding to the application component.

[0112] Turning on or off the resource library provided by the resource library application.

[0113] The display method provided by the embodiments of the present application is applied to an electronic device including a resource library application. Through a global entry provided by the resource library application, the user can be provided with efficient and convenient functions such as searching, adding and removing icons of installed applications on the desktop of the electronic device, quickly searching and arranging the desktop icons, and creating a simple and arranged desktop experience for the user. In order to better understand the display method provided by the embodiments of the present application, next, based on the desktop interface of the mobile phone shown in FIG. 3, the desktop interface of the resource library switch in the mobile phone and the interface of the resource library application are introduced. It should be understood that when the resource library switch in the mobile phone is in the on state, the user can use the related functions provided by the resource library application through the mobile phone.

[0114] When the resource library switch in the mobile phone is in the off state, the user cannot use the related functions provided by the resource library application through the mobile phone.

[0115] In the embodiments of the present application, the user can turn on the resource library switch through the settings application, so that the resource library switch is in the on state. Referring to (2) in FIG. 3, in the case that the user clicks the icon 302a1 of the settings application in the desktop interface 302, the mobile phone can detect the click operation on the icon 302a1 of the settings application, and then the mobile phone can display the user interface 303 shown in FIG. 5 as the interface of the settings application. The user interface 303 includes multiple setting options, that is, the WLAN option, the Bluetooth option, the smart interconnection option, the desktop and personalization option 303a, the display and brightness option and the eye protection mode option and the like.

[0116] In response to the user performing a click operation on the desktop and personalization option 303a, the phone displays a user interface 304 as illustrated in (2) of FIG. 5. The user interface 304 includes a plurality of desktop setting options, i.e., a desktop layout option, a lock layout option, an auto-align option, a resource library option 304a, and a negative one screen option. The negative one screen option indicates that the negative one screen switch is in an on state, i.e., the negative one screen is in an on state, that is, the phone can display the negative one screen. The resource library option 304a is used to indicate that the resource library is in an off state. It is emphasized that the user interface 304 is a page of the desktop application (also referred to as a desktop launcher) embedded in a page of the settings application, i.e., the page of the desktop application can be displayed through the settings application and the desktop setting options in the page can be set through the settings application.

[0117] In a scenario where the user needs to turn on the resource library, the user can turn on the resource library switch through the resource library option 304a to turn on the resource library. After the user clicks the resource library option 304a, the phone displays a user interface 305 as illustrated in (3) of FIG. 5. The user interface 305 includes a resource library switch 305a in an off state. After the user clicks the resource library switch 305a to turn on the resource library, the phone displays a user interface 306 as illustrated in (4) of FIG. 5, and the resource library switch 306a indicates that the resource library switch is in an on state, i.e., the resource library is also in an on state. After exiting the resource library setting interface, the phone displays a desktop interface of the phone as illustrated in (5) of FIG. 5, i.e., a user interface 307 as a desktop interface. It is noted that the desktop interface illustrated in FIG. 3 is an interface in which the resource library switch is in an off state, and in a case where the resource library switch is in an on state, the display area 302c in the user interface 302 illustrated in (2) of FIG. 3 is updated to a search area 307a in the user interface 307 illustrated in (5) of FIG. 5. The search area 307a is used to trigger a search of the installed applications in the phone in which the interface of the resource library application is displayed. That is, after the user clicks the search area 307a, the display screen of the phone displays the interface of the resource library application, so that a search of the plurality of applications installed in the phone managed by the resource library application can be performed.

[0118] In the case that the resource library is opened and the user needs to close the resource library, the user can click the resource library switch 306a in the user interface 306 as illustrated in (4) of FIG. 5 to close the resource library switch, so as to close the resource library. Then, the mobile phone can display a user interface 308 as illustrated in (6) of FIG. 5. The user interface 308 includes a secondary confirmation pop-up window 308a, which includes a cancel control 308a1 for triggering the mobile phone to cancel the closing of the resource library event and a confirmation control 308a2 for triggering the mobile phone to close the resource library event, so as to make the resource library switch 306a in the closed state, thereby closing the resource library. After the user clicks the resource library confirmation control 308a2, the mobile phone can display a loading pop-up window, i.e., a user interface 309 as illustrated in (7) of FIG. 5. The user interface 309 includes a loading pop-up window 309a for indicating that the desktop is being set. After the loading is completed, the user interface 309 displayed by the mobile phone can be automatically updated to a user interface 310 as illustrated in (8) of FIG. 5, in which the resource library switch 310a is in the closed state. Then, the mobile phone can automatically close the user interface 310, i.e., the home desktop interface, that is, the user interface 310 displayed by the mobile phone can be automatically updated to a user interface 311 as illustrated in (9) of FIG. 5. It should be understood that the content of the user interface 311 is consistent with that of the user interface 302 as illustrated in (2) of FIG. 3, which will not be described herein again.

[0119] It should be understood that the interfaces for opening and closing the resource library function switch in the mobile phone and the interfaces of the resource library application shown in FIG. 5 above are only illustrative and do not constitute any limitation. It should also be understood that the opening and closing of the resource library function in the electronic device based on the switch mode is only used as an example to introduce the opening and closing of the resource library function in the electronic device, but the method for opening and closing the resource library function in the electronic device is not specifically limited. That is, in the embodiments of the present application, the resource library function in the electronic device can also be opened and closed based on other modes other than the switch.

[0120] In the case that the resource library is opened, the interface of the resource library application is displayed in the display screen of the electronic device.

[0121] In the embodiments of the present application, based on the foregoing content, after the resource library in the electronic device is opened, the user can perform a triggering operation on the desktop of the electronic device, so that the interface of the resource library application (also referred to as the application management interface) is displayed on the display screen of the electronic device. The interface of the resource library application can include icons of all applications installed in the mobile phone. Next, the user interface in the implementation process of calling out and displaying the interface of the resource library application to the display screen of the electronic device based on the triggering operation of the user is introduced. For ease of description, the electronic device is still taken as a mobile phone in the following description. Alternatively, the mobile phone in the following description can also be replaced by other electronic devices, such as a tablet computer or a wearable device. It should be understood that the triggering operation of the user and the user interface described below are only illustrative and do not constitute any limitation on the embodiments of the present application. For example, the upward sliding operation below can also be replaced by other operations, such as a downward sliding operation, a leftward sliding operation or a rightward sliding operation.

[0122] In example one, the desktop interface of the mobile phone is in a non-split screen mode.

[0123] Referring to the user interface 307 shown in (1) of FIG. 6, the user interface 307 is a desktop interface in a non-split screen mode. The content included in the user interface 307 shown in (1) of FIG. 6 is consistent with that included in the user interface 307 shown in (5) of FIG. 5, which will not be described herein again.

[0124] In the case where the user performs the upward sliding operation shown in (1) of FIG. 6 (i.e., the touch starting point of the upward sliding operation is touch starting point 307b, and the touch ending point of the upward sliding operation is touch ending point 307c) in the user interface 307, the mobile phone can perform the display method provided by the embodiments of the present application, i.e., the mobile phone displays the partial interface of the resource library application in the negative one screen following the sliding operation of the hand on the display screen, as shown in the user interface 312 in (2) of FIG. 6. The partial interface 312a of the resource library application is displayed in the negative one screen in the user interface 312, and the interface 312a includes a plurality of icons corresponding to a plurality of applications.

[0125] At the same time, the mobile phone also determines whether the complete interface of the resource library application needs to be displayed in the negative one screen or the negative one screen needs to be exited to return to the display of the desktop interface based on the sliding distance corresponding to the upward sliding operation.

[0126] In one example, in the case where the mobile phone detects that the sliding distance (i.e., the distance from the touch starting point 307b to the touch ending point 307c) corresponding to the upward sliding operation is equal to the preset sliding distance, the mobile phone can display the complete interface of the resource library application in the negative one screen. The interface of the resource library application can include icons of all applications installed in the mobile phone.

[0127] In some implementations, the interface of the resource library application in the mobile phone where the resource library application is installed can be displayed on the negative one screen, and no icon of the resource library application can be displayed on the desktop interface of the mobile phone. Therefore, the interface of the resource library application can display icons of each of all the applications installed in the mobile phone except the resource library application.

[0128] Optionally, the interface of the resource library application displays icons of the plurality of applications installed in the mobile phone in the form of a plurality of folders, and the plurality of folders one-to-one correspond to a plurality of types, and each folder is used to display icons of applications of the corresponding type.

[0129] Optionally, the interface of the resource library application can further display a suggestion folder, and the suggestion folder is used to display icons of applications installed in the mobile phone and frequently used by the user recently.

[0130] For example, in the above example, the mobile phone can display the complete interface of the resource library application on the negative one screen, which can be illustrated as the user interface 313 of the negative one screen as shown in (3) of FIG. 6. The user interface 313 includes a plurality of folders of types, i.e., a suggestion folder 313a, a social communication folder 313b, a shooting folder 313c, a tool folder 313d, and an office folder 313e. The suggestion folder 313a includes an icon of a settings application and an icon of a video application frequently used by the user recently. The plurality of folders of types included in the user interface 313 are obtained by classifying the plurality of icons included in the display area 301a, the display area 301b in (1) of FIG. 3, and the display area 302a in (2) of FIG. 3, and each folder includes icons of applications of the corresponding function.

[0131] In another example, when the mobile phone detects that the sliding distance corresponding to the upward sliding operation (i.e., the distance from the touch starting point 307b to the touch ending point 307c) is less than the preset sliding distance, the mobile phone can exit the negative one screen and return to display the desktop interface, which can be illustrated as the user interface 316 as shown in (6) of FIG. 6. It should be understood that the content included in the user interface 316 is consistent with the content included in the user interface 307 as shown in (1) of FIG. 6, and will not be described here again.

[0132] In the case that the user clicks the search area 307a in the user interface 307 as shown in (1) of FIG. 6, after detecting the click operation, the mobile phone can display the user interface 314 as shown in (4) of FIG. 6. The user interface 314 is a search interface of the resource library application, in the search box 314a included in the user interface 314, the application name can be input to search the icons of the applications included in the resource library application. Referring to the user interface 315 as shown in (5) of FIG. 6, the user can input "Settings" in the search box 315a1 through the soft keyboard 315a displayed by the user interface 315, so that "Settings" is 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. 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 including the icons of the applications included in the user interface 313.

[0133] Example two, the desktop interface of the mobile phone is in split-screen mode.

[0134] In the case that the mobile phone displays the user interface 307 as shown in (1) of FIG. 7 as the desktop interface in non-split-screen mode, after the user performs a split-screen mode display operation on the mobile phone, the mobile phone can display the user interface 317 as shown in (2) of FIG. 7 as the desktop interface in split-screen mode. The user interface 317 is a desktop interface in which the user interface 317a of another application is displayed on the basis of the user interface 307, that is, the user interface 317 is a desktop interface in split-screen mode. It should be understood that the content included in the user interface 307 as shown in (1) of FIG. 7 is consistent with the content included in the user interface 307 as shown in (5) of FIG. 5, which will not be described here.

[0135] In the case that the user performs an upward sliding operation as shown in (2) of FIG. 7 in the user interface 317 (that is, the touch starting point of the upward sliding operation is the touch starting point 317b, and the touch ending point of the upward sliding operation is the touch ending point 317c), the mobile phone can perform the display method provided by the embodiments of the present application, that is, after detecting the upward sliding operation, the mobile phone displays the user interface 318 as shown in (3) of FIG. 7 in which the part of the interface of the resource library application is displayed on the minus one screen sliding out from the low end of the display screen in the follow-up process (the follow-up process is that the touch point moves from the touch starting point 317b to the touch ending point 317c). The part of the interface of the resource library application 318a is displayed on the minus one screen sliding out from the bottom of the user interface 318, and the user interface 318a includes multiple icons corresponding to multiple applications.

[0136] Meanwhile, the phone can determine, based on the sliding distance corresponding to the upward sliding operation, whether to display the interface of the full-featured resource library application in the minus one screen or exit the minus one screen to return to display the desktop interface.

[0137] In one example, in a case where the phone detects that the sliding distance corresponding to the upward sliding operation (i.e., the distance from the touch starting point 307b to the touch ending point 307c) is equal to the preset sliding distance, the phone can display the interface of the full-featured resource library application in the minus one screen, which can include icons of all applications installed in the phone, as shown in (4) of FIG. 7. It should be understood that the content displayed by the user interface 319 is consistent with that displayed by the user interface 313, and thus will not be repeated here.

[0138] In another example, in a case where the phone detects that the sliding distance corresponding to the upward sliding operation (i.e., the distance from the touch starting point 317b to the touch ending point 317c) is less than the preset sliding distance, the phone can exit the minus one screen and return to display the desktop interface, as shown in (5) of FIG. 7. It should be understood that the content included by the user interface 320 is consistent with that included by the user interface 307 shown in (1) of FIG. 6, and thus will not be repeated here.

[0139] In a case where the resource library is opened, the icon of the application is removed from the desktop interface.

[0140] In the embodiments of the present application, after the resource library in the electronic device is opened based on the content described above, the user can perform a trigger operation on the desktop of the electronic device to remove the icon of a certain application from the desktop interface of the electronic device. It should be understood that after the icon of the certain application is removed from the desktop interface, the certain application is still installed in the electronic device, and the interface of the resource library application also includes the icon of the certain application, and only the icon of the certain application is not displayed in the desktop interface. Hereinafter, the user interface in the implementation process of removing the icon of a certain application from the desktop interface based on the trigger operation of the user provided in the embodiments of the present application is introduced.

[0141] For example, referring to the user interface 307 shown in (1) of FIG. 8, in response to the long press operation of the user on the icon 307d of the setting application in the user interface 307, the phone can also display the user interface 321 shown in (2) of FIG. 8.

[0142] It should be understood that the content of the user interface 307 illustrated in (1) of FIG. 8 is consistent with the content of the user interface 307 illustrated in (5) of FIG. 5, and thus will not be repeated here. The user interface 321 is the minus one screen of the phone, and the user interface 321 includes a highlighted icon 321a of the settings application and a pop-up window 321b, the pop-up window 321b including a remove control 321b1, a share control, and application information. Subsequently, in response to a click operation of the highlighted icon 321a of the settings application by the user, the phone can display the user interface 322 as illustrated in (3) of FIG. 8. The user interface 322 includes a pop-up window 322a, the pop-up window 322a including an uninstall control, a remove from desktop control 322a1, and a cancel control. The uninstall control is used to trigger the phone to uninstall the settings application. The remove from desktop control 322a1 is used to trigger the phone to delete the icon 307d of the settings application in the desktop interface 302. The cancel control is used to trigger the phone to cancel the operation of removing the settings application, so that the phone does not display the pop-up window 322a. Subsequently, in response to a click operation of the remove from desktop control 322a1 of the settings application in the user interface 322 by the user, the user interface 322 displayed by the phone can be updated to the user interface 323 as illustrated in (4) of FIG. 8. It should be understood that the difference between the user interface 323 and the user interface 307 illustrated in (1) of FIG. 8 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.

[0143] In the case where the resource library is opened, in response to detecting that the resource library is closed, the icon of the application that has been removed in the desktop interface is restored to be displayed in the desktop interface.

[0144] In the embodiments of the present application, based on the foregoing content, after the resource library in the electronic device is opened, the user can perform a trigger operation on the desktop of the electronic device to remove the icon of a certain application displayed in the desktop interface of the electronic device. Subsequently, after the resource library in the electronic device is closed, the desktop interface of the electronic device can restore to display the icons of all the applications that have been removed.

[0145] In one example, the icon of the application that has been removed in the desktop interface is restored to be displayed in the new start screen.

[0146] For example, continue with the (4) of FIG. 8 as an example, that is, after the phone displays the user interface 323 shown in the (4) of FIG. 8. After that, the user can close the function of the resource library based on the user interface shown in FIG. 5 for closing the resource library. After the phone detects the operation of the user for closing the resource library, the phone can display the icons of all the applications that have been removed from the desktop interface in the new home screen. Since the icons of all the applications that have been removed from the desktop interface only include the icon of the settings application, the phone can display the user interface 324 shown in the (5) of FIG. 8, which includes the icon 307d of the settings application and a navigation point 324b. The navigation point 324b is used to indicate the positional relationship between the screen of the desktop interface (i.e., the user interface 324) currently displayed by the phone and other screens of the desktop, and the navigation point 324b is used to indicate that the desktop interface (i.e., the user interface 324) currently displayed by the phone 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 refer to the user interface 301 shown in the (1) of FIG. 3, and the first screen can refer to the user interface 302 shown in the (2) of FIG. 3, which will not be described here.

[0147] In another example, the icons of the applications that have been removed from the desktop interface are displayed in the original screen of the desktop interface.

[0148] For example, continue with the (4) of FIG. 8 as an example, that is, after the phone displays the user interface 323 shown in the (4) of FIG. 8. After that, the user can close the function of the resource library based on the user interface shown in FIG. 5 for closing the resource library. After the phone detects the operation of the user for closing the resource library, the phone can display the icons of all the applications that have been removed from the desktop interface in the original screen of the desktop interface. Since the icons of all the applications that have been removed from the desktop interface only include the icon of the settings application, and the second screen of the original screen of the desktop interface has a position that is not occupied by the icon of the application, the phone can display the user interface 307 shown in the (1) of FIG. 8, which includes the icon of the settings application. The user interface 307 is the second screen of the desktop.

[0149] In the case where the resource library is opened, the interface of the resource library application is not displayed in the display screen of the electronic device.

[0150] The display method provided in the embodiments of the present application can be compatible with a certain interface element in the desktop interface of the electronic device that supports the upward sliding operation, and the priority of the certain interface element is higher than the priority of the interface of the resource library application. The certain interface element that supports the upward sliding operation refers to that, in the case that the upward sliding-out operation is performed on the certain interface element, the electronic device can display the interface content related to the certain interface element. It should be understood that the priority of the certain interface element being higher than the priority of the interface of the resource library application can mean that, in the case that the electronic device detects the upward sliding operation of the user on the certain interface element in the desktop interface, the electronic device displays the interface content related to the certain interface element in the desktop interface instead of displaying the interface of the resource library application in the minus one screen.

[0151] In the embodiments of the present application, the certain interface element in the desktop interface is not specifically limited and can be set according to actual scenarios.

[0152] In one example, the certain interface element is an icon of an application that supports the transient card in the desktop interface. For example, referring to the user interface 307 shown in (1) of FIG. 9A, in the case that the upward sliding operation input by the user in the user interface 307 acts on the icon 307e of the telephone application in the desktop interface of the mobile phone, since the priority of the stacked card in the desktop interface is higher than the priority of the interface of the resource library application, after the mobile phone displays (1) of FIG. 9A, the mobile phone can display the user interface 325 including the transient card 325a as shown in (2) of FIG. 9A instead of displaying the interface of the resource library application in the minus one screen.

[0153] In one example, the certain interface element is a stacked card in the desktop interface. For example, referring to the user interface 326 shown in (1) of FIG. 9B, the user interface 326 includes a stacked card 326a and a navigation point 326b for indicating a calendar card in the stacked card 326a. In the case that the upward sliding operation input by the user in the user interface 326 acts on the stacked card 326a in the desktop interface of the mobile phone, since the priority of the stacked card in the desktop interface is higher than the priority of the interface of the resource library application, after the mobile phone displays (1) of FIG. 9B, the mobile phone can display the user interface 327 including the card 327a and a navigation point 327b for indicating the card 327a as shown in (2) of FIG. 9B instead of displaying the interface of the resource library application in the minus one screen.

[0154] It should be understood that the above description takes the certain interface element in the desktop interface as an example of the transient card or the stacked card, and optionally, the certain interface element in the desktop interface can also be other controls, which are not limited specifically. The above description takes the upward sliding operation as an example of the operation of triggering the electronic device to display the interface of the resource library application in the minus one screen, and optionally, the upward sliding operation can also be other touch operations, for example, other touch operations can be, but are not limited to, a leftward sliding operation or a rightward sliding operation, and the like. When the operation of triggering the display of the interface of the resource library application in the minus one screen is other touch operations except the upward sliding operation, the display method provided in the embodiments of the present application can be compatible with a certain interface element in the desktop interface of the electronic device supporting the other touch operations.

[0155] It should be understood that the user interfaces of the electronic device shown in FIGS. 3 to 9B are only schematic and do not constitute any limitation on the user interfaces of the electronic device to which the embodiments of the present application are applicable.

[0156] The embodiments of the present application will be described below by way of example with reference to the accompanying drawings. The methods in the following embodiments can be implemented in the electronic device with the hardware structure and the software architecture described above. The hardware structure diagram of the electronic device can be as shown in FIG. 1, and the software structure block diagram of the electronic device can be as shown in FIG. 2, but the embodiments of the present application are not limited thereto. The execution subject of the display method provided in the embodiments of the present application can be the electronic device, or the hardware and / or software modules in the electronic device. For the convenience of description, the execution subject is taken as the electronic device (for example, a mobile phone) in the embodiments of the present application.

[0157] In the first embodiment, the interface of the resource library application is displayed in the minus one screen in the case of opening the resource library.

[0158] FIG. 10 is a schematic diagram of a display method according to an embodiment of the present application. The display method according to an embodiment of the present application can be executed by an electronic device. It can be understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in the embodiments of the present application can be, but is not limited to, the electronic device 100 shown in FIG. 1. It should be understood that the electronic device in FIG. 10 is taken as a mobile phone as an example, wherein the mobile phone comprises a desktop application, a negative one screen connection agent module and a negative one screen application, the desktop application comprises a desktop (Launcher) module, a drag layer (DragLayer) module, a HiBoardClientManager module, a HiBoardClient module and a HiBoardClientImpl module, and the modules included in the desktop application can be understood as a plurality of classes included in the desktop application. As shown in FIG. 10, the display method according to an embodiment of the present application comprises steps S1001 to S1015. In the following, steps S1001 to S1015 are described in detail.

[0159] In step S1001, the desktop module obtains a touch event A directed to a desktop interface.

[0160] The desktop module performs step S1001 described above, that is, in the case that the user inputs the touch event A in the desktop interface of the mobile phone, the desktop module can successfully detect the touch event A.

[0161] The specific form of the desktop interface of the mobile phone is not limited. In one example, the desktop interface of the mobile phone can be an interface in a non-split screen mode. For example, the desktop interface of the mobile phone in the non-split screen mode can be the user interface 307 shown in (1) of FIG. 6. In another example, the desktop interface of the mobile phone can be an interface in a split screen mode. For example, the desktop interface of the mobile phone in the split screen mode can be the user interface 317 shown in (2) of FIG. 7.

[0162] In the embodiments of the present application, the touch event A is not limited.

[0163] For example, when the desktop interface of the mobile phone is the user interface 307 shown in (1) of FIG. 6, the touch event A can be an upward sliding operation shown in the user interface 307, the touch starting point of the upward sliding operation is the touch starting point 307b, and the touch ending point of the upward sliding operation is the touch ending point 307c.

[0164] For example, when the desktop interface of the mobile phone is the user interface 317 shown in (2) of FIG. 7, the touch event A can be an upward sliding operation shown in the user interface 317, the touch starting point of the upward sliding operation is the touch starting point 317b, and the touch ending point of the upward sliding operation is the touch ending point 317c.

[0165] For example, when the desktop interface of the mobile phone is the user interface 307 shown in (1) of FIG. 9A, the touch event A can be the upward sliding operation shown in (1) of FIG. 9A.

[0166] For example, when the desktop interface of the mobile phone is the user interface 326 shown in (2) of FIG. 9B, the touch event A can be the upward sliding operation shown in (2) of FIG. 9B.

[0167] The acquisition method of the touch event A by the desktop module is not limited. For example, the touch event A can be sent to the desktop application by the touch sensor in the mobile phone after detecting the touch event A, and the touch event A is distributed to the desktop module by the desktop application.

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

[0169] In step S1002, the desktop module delivers the touch event A to the drag layer module. Correspondingly, the drag layer module receives the touch event A delivered by the desktop module.

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

[0171] After the drag layer module performs step S1003, if it is determined that the touch event A meets the preset requirement, the method proceeds to step S1004; if it is determined that the touch event A does not meet the preset requirement, the method proceeds to step S1005 to end the display method. It should be understood that the touch event A meeting the preset requirement can trigger the mobile phone to display the interface of the resource library application in the minus one screen when the resource library is opened. The touch event A not meeting the preset requirement cannot trigger the mobile phone to display the interface of the resource library application in the minus one screen when the resource library is opened.

[0172] In the embodiment of the present application, the drag layer module performs the process of step S1003 can refer to steps S10031 to S10037 shown in FIG. 11. Next, the process of step S1003 performed by the drag layer module will be described in detail in combination with steps S10031 to S10037. It should be understood that the process shown in FIG. 11 is only illustrative, and does not constitute any limitation on the specific process of step S1003 performed by the drag layer module.

[0173] In step S10031, it is determined whether the touch event A is an upward sliding event located in the desktop page.

[0174] In the embodiment of the present application, in the case that the resource library is opened, the upward sliding event in the desktop interface is taken as the trigger condition for triggering the mobile phone to display the interface of the resource library application in the negative screen. Therefore, step S10031 is executed to determine whether the touch event A meets the requirement.

[0175] In the embodiment of the present application, after step S10031 is executed, if it is determined that the touch event A is an upward sliding event in the desktop page, step S10032 is executed; if it is determined that the touch event A is not an upward sliding event in the desktop page, step S1005 is executed to end the display method.

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

[0177] The display method provided by the embodiment of the present application can be applied to a preset type of electronic device. Therefore, step S10032 is executed to determine whether the mobile phone is a preset type of electronic device.

[0178] Step S10032 is executed, that is, in the case that it is determined that the touch event A is an upward sliding event in the desktop interface, it is further determined whether the mobile phone is a preset type of electronic device.

[0179] The preset type of electronic device can be information predefined in advance and stored in the drag layer module, and the appearance of the preset type of electronic device is not limited. For example, the preset type of electronic device includes at least one of the following types of devices: a non-foldable screen mobile phone, a foldable screen mobile phone, a tablet computer, and the like.

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

[0181] In step S10033, it is determined whether the desktop mode of the mobile phone is a standard mode.

[0182] Step S10033 is executed, that is, in the case that it is determined that the touch event A is an upward sliding event in the desktop interface and the mobile phone is a preset type of electronic device, it is further determined whether the desktop mode of the mobile phone is a standard mode. It should be understood that when the desktop mode of the mobile phone is a standard mode, the desktop interface of the mobile phone can display icons of all applications installed in the mobile phone.

[0183] In the embodiment of the present application, after step S10033 is performed, if it is judged that the desktop mode of the mobile phone is the standard mode, step S10034 is performed; if it is judged that the desktop mode of the mobile phone is not the standard mode, step S1005 is performed to end the display method.

[0184] In step S10034, it is judged whether the resource library switch of the mobile phone is opened.

[0185] After step S10034 is performed, it is further judged whether the resource library switch of the mobile phone is opened, in the case that it is judged that the touch event A is the upward sliding event in the desktop interface, the mobile phone is the preset type of electronic device, and the desktop mode of the mobile phone is the standard mode. It should be understood that when the resource library switch is opened, the display screen of the mobile phone can display the interface of the resource library application when the mobile phone detects the triggering operation of the user in the desktop interface. When the resource library switch is closed, the display screen of the mobile phone cannot display the interface of the resource library application when the user performs any triggering operation in the desktop interface.

[0186] In the embodiment of the present application, after step S10034 is performed, if it is judged that the resource library switch of the mobile phone is opened, step S10035 is performed; if it is judged that the resource library switch of the mobile phone is closed, step S1005 is performed to end the display method.

[0187] In step S10035, it is judged whether the desktop page of the mobile phone is the flipping mode and the editing mode.

[0188] After step S10035 is performed, it is further judged whether the desktop page of the mobile phone is the flipping mode and the editing mode, in the case that it is judged that the touch event A is the upward sliding event in the desktop interface, the mobile phone is the preset type of electronic device, and the desktop mode of the mobile phone is the standard mode, and in the case that the resource library switch of the mobile phone is opened.

[0189] In the embodiment of the present application, after step S10035 is performed, if it is judged that the desktop page of the mobile phone is not the flipping mode and the editing mode, step S10036 is performed; if it is judged that the desktop page of the mobile phone is the flipping mode or the editing mode, step S1005 is performed to end the display method. It should be understood that in the case that it is judged that the desktop page of the mobile phone is the flipping mode or the editing mode, step S1005 is performed to end the display method, that is, the display method provided by the embodiment of the present application does not support displaying the interface of the resource library application in the minus one screen based on the triggering operation of the user in the desktop interface of this type in the case that the desktop interface of the mobile phone is the flipping mode or the editing mode. In this implementation manner, the demand of the user for performing flipping and editing on the desktop interface can be met.

[0190] In step S10036, it is judged whether the touch event A is a touch event on a preset control, the preset control including a transient card, a stacked card and an up sliding control.

[0191] In step S10036, it is judged whether the touch event A is a touch event on a preset control, the preset control including a transient card, a stacked card and an up sliding control.

[0192] In step S10036, it is judged whether the touch event A is a touch event on a preset control, the preset control including a transient card, a stacked card and an up sliding control.

[0193] It should be understood that, in the case that the touch event A is a touch event on a preset control, step S1005 is executed to end the display method, that is, the display method provided by the present application does not display the interface of the resource library application in the negative one screen in the case that the touch event A is a touch event on a preset control, but executes the triggering event of the preset control to meet the user's demand for the triggering event of the preset control. That is, the display method provided by the present application is also compatible with the touch event on some preset controls in the desktop interface of the mobile phone, and the priority of displaying the touch event of the preset control is higher than that of displaying the interface of the resource library application.

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

[0195] In step S10036, it is judged whether the touch event A is a touch event on a preset control, the preset control including a transient card, a stacked card and an up sliding control.

[0196] In the embodiment of the present application, after step S10037 is performed, if it is judged that the sliding distance of the touch event A is greater than or equal to the preset sliding distance, step S1004 is continuously performed; if it is judged that the sliding distance of the touch event A is less than the preset sliding distance, step S1005 is continuously performed to end the display method. The length of the preset sliding distance is not limited in particular and can be set according to actual conditions.

[0197] It should be understood that the execution flow of the seven judgment block diagrams corresponding to steps S10031 to S10037 shown in FIG. 11 is only illustrative, that is, the execution order of steps S10031 to S10037 is not limited in particular. For example, steps S10031 to S10037 can be executed in the following order: step S10031, step S10032, step S10035, step S10032, step S10034, step S10036 and step S10037, but are not limited to this. For another example, steps S10031 to S10037 can be executed in the following order: step S10032, step S10034, step S10036, step S10031, step S10033, step S10035 and step S10037, but are not limited to this.

[0198] It should be understood that the flow of the drag layer module performing step S1003, that is, judging whether the touch event A meets the preset requirement, is introduced by taking steps S10031 to S10037 shown in FIG. 11 as an example. Alternatively, the drag layer module performing step S1003 can only include part of the flow corresponding to steps S10031 to S10037 shown in FIG. 11. For example, the drag layer module performing step S1003 can include steps S10031, S10034, S10035, S10036 and S10037 shown in FIG. 11. For another example, the drag layer module performing step S1003 can include steps S10031, S10033, S10034, S10035, S10036 and S10037 shown in FIG. 11.

[0199] In step S1004, the drag layer module passes the touch event A to the HiBoardClientManager module. Correspondingly, the HiBoardClientManager module receives the touch event A passed by the drag layer module.

[0200] The drag layer module performs step S1004, that is, passes the touch event A to the HiBoardClientManager module in the case that it is judged that the touch event A meets the preset requirement.

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

[0202] In step S1006, the HiBoardClientManager module determines a movement event A according to the touch event A.

[0203] The movement event A can be understood as a movement event of the user's finger corresponding to the touch event A. The movement event A can include a touch starting point, a touch ending point and a drag event from the touch starting point to the touch ending point corresponding to the touch event A.

[0204] For example, taking the touch event A as the upward sliding operation in the user interface 307 shown in (1) of FIG. 6, the movement event A can include the touch starting point 307b, the touch ending point 307c and the drag event from the touch starting point 307b to the touch ending point 307c.

[0205] In step S1007, the HiBoardClientManager module passes the movement event A to the HiBoardClient module. Correspondingly, the HiBoardClient module receives the movement event A passed by the HiBoardClientManager module.

[0206] In step S1008, the HiBoardClient module determines a scroll OnScroll event A according to the movement event A.

[0207] The OnScroll event A can be understood as an event of scrolling the interface of the resource library application in the negative one screen according to the movement of the user's finger in the screen when the user's finger moves in the screen according to the movement event A.

[0208] For example, taking the touch event A as the upward sliding operation in the user interface 307 shown in (1) of FIG. 6, the OnScroll event A can be scrolling the part of the interface 312a of the resource library application in the user interface 312 shown in (2) of FIG. 6 in the negative one screen according to the movement event A of the user's finger. The area of the interface of the resource library application displayed in the negative one screen is associated with the movement event of the user's finger.

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

[0210] In step S1010, the HiBoardClientlmpl module determines whether a communication connection is established with the negative one screen application.

[0211] In the embodiment of the present application, after the HiBoardClientlmpl module executes the step S1010, if it is determined that the communication connection is not established with the negative one screen application, the step S1005 is executed to end the display method; if it is determined that the communication connection is successfully established with the negative one screen application, the step S1011 is executed.

[0212] In step S1011, the HiBoardClientlmpl module delivers the OnScroll event A to the negative one screen connection agent module. Correspondingly, the negative one screen connection agent module receives the OnScroll event A delivered by the HiBoardClientlmpl module.

[0213] In step S1012, the negative one screen connection agent module delivers the OnScroll event A to the negative one screen application. Correspondingly, the negative one screen application receives the OnScroll event A delivered by the negative one screen connection agent module.

[0214] The steps S1011 and S1012 are executed, i.e., the HiBoardClientlmpl module delivers the OnScroll event A to the negative one screen application through the negative one screen connection agent module.

[0215] In step S1013, the negative one screen application executes the OnScroll event A to display the partial interface of the resource library application in the negative one screen.

[0216] The step S1013 is executed by the negative one screen application, i.e., the negative one screen application executes the follow-up process in the negative one screen interface to display the partial interface of the resource library application in the negative one screen.

[0217] For example, the partial interface of the resource library application can be the partial interface 312a of the resource library application in the user interface 312 shown in (2) of FIG. 6.

[0218] For example, the partial interface of the resource library application can be the partial interface 318a of the resource library application in the user interface 318 shown in (3) of FIG. 7.

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

[0220] In the embodiment of the present application, after the step S1014 is executed by the one-screen-before application, if it is judged that the upward sliding distance corresponding to the OnScroll event A is less than the preset distance, the step S1005 is executed to end the display method; if it is judged that the upward sliding distance corresponding to the OnScroll event A is greater than or equal to the preset distance, the step S1015 is executed.

[0221] It should be understood that when the upward sliding distance corresponding to the OnScroll event A is less than the preset distance, the step S1005 is executed to end the display method, and in this implementation mode, the display screen of the mobile phone can update the part of the interface of the resource library application slidingly displayed in the one-screen-before to the desktop interface of the mobile phone.

[0222] For example, taking the upward sliding operation in the user interface 307 shown in (1) of FIG. 6 as the touch event A, the OnScroll event A can be that the mobile phone scrolls and displays the part of the interface 312a of the resource library application in the user interface 312 shown in (2) of FIG. 6 in the one-screen-before as the user's finger moves. Since the upward sliding distance corresponding to the OnScroll event A (i.e. the distance between the touch starting point 307b and the touch ending point 307c) is less than the preset distance, the mobile phone can display the user interface 316 as the desktop interface as shown in (6) of FIG. 6.

[0223] For example, taking the upward sliding operation in the user interface 317 shown in (2) of FIG. 7 as the touch event A, the OnScroll event A can be that the mobile phone scrolls and displays the part of the interface 318a of the resource library application in the user interface 318 shown in (3) of FIG. 7 in the one-screen-before as the user's finger moves. Since the upward sliding distance corresponding to the OnScroll event A (i.e. the distance between the touch starting point 317b and the touch ending point 317c) is less than the preset distance, the mobile phone can display the user interface 320 as the desktop interface as shown in (5) of FIG. 7.

[0224] In the step S1015, the one-screen-before application displays the complete interface of the resource library application in the one-screen-before.

[0225] The one-screen-before application executes the step S1015, i.e. displays the complete interface of the resource library application in the one-screen-before when it is judged that the upward sliding distance corresponding to the OnScroll event A is greater than or equal to the preset distance.

[0226] For example, taking the touch event A as an upward sliding operation in the user interface 307 shown in (1) of FIG. 6 as an example, the OnScroll event A can be that the mobile phone scrolls and displays a partial interface 312a of the resource library application in the user interface 312 shown in (2) of FIG. 6 in the minus one screen along with the movement of the user's finger. Since the upward sliding distance corresponding to the OnScroll event A (i.e. the distance between the touch starting point 307b and the touch ending point 307c) is greater than or equal to the preset distance, the mobile phone can then display the user interface 313 shown in (3) of FIG. 6, which is the minus one screen and is the interface of the resource library application.

[0227] For example, taking the touch event A as an upward sliding operation in the user interface 317 shown in (2) of FIG. 7 as an example, the OnScroll event A can be that the mobile phone scrolls and displays a partial interface 318a of the resource library application in the user interface 318 shown in (3) of FIG. 7 in the minus one screen along with the movement of the user's finger. Since the upward sliding distance corresponding to the OnScroll event A (i.e. the distance between the touch starting point 317b and the touch ending point 317c) is greater than or equal to the preset distance, the mobile phone can then display the user interface 319 shown in (4) of FIG. 7, which is the minus one screen and is the interface of the resource library application.

[0228] It should be understood that the display method shown in FIG. 10 is merely illustrative and does not limit the display method provided in the present application.

[0229] In the embodiments of the present application, in the case that the touch event A performed by the user on the desktop interface of the mobile phone is detected and the mobile phone determines that the touch event A meets the preset requirement, the mobile phone can display the interface of the resource library application (i.e. the interface of the resource library) in the minus one screen, so that the user can input search information in the search area in the interface of the resource library application to quickly and conveniently find the icon of the application matching the search information from all the icons of the applications installed in the mobile phone, thereby improving the user experience.

[0230] In the embodiments of the present application, in the case that the touch event A performed by the user on the desktop interface of the mobile phone is detected and the mobile phone determines that the touch event A meets the preset requirement, the mobile phone can display the interface of the resource library application (i.e. the interface of the resource library) in the minus one screen, so that the user can input search information in the search area in the interface of the resource library application to quickly and conveniently find the icon of the application matching the search information from all the icons of the applications installed in the mobile phone, thereby improving the user experience.

[0231] FIG. 12 is a schematic diagram of a display method according to an embodiment of the present application. The display method according to an embodiment of the present application can be executed by an electronic device. It can be understood that the electronic device can be implemented as software, or a combination of software and hardware. For example, the electronic device in the embodiments of the present application can be, but is not limited to, the electronic device 100 shown in FIG. 1. It should be understood that the electronic device in FIG. 12 is taken as a mobile phone for example, and the desktop application in the mobile phone includes a Launcher module, a Workspace module, a BubbleContainer module, a BubbleContent module, an UninstallCommand module, an UninstallDialog module, a RemoveCommand module, a CellLayout module and a ModeWriter module. It can be understood that these modules included in the desktop application are a plurality of classes included in the desktop application. As shown in FIG. 12, the display method according to an embodiment of the present application includes steps S1201 to S1220. Hereinafter, steps S1201 to S1220 are introduced.

[0232] In step S1201, the desktop module obtains a long-press event B on an icon of a setting application in a desktop interface when the resource library is opened.

[0233] The long-press event B is a long-press operation event on the icon of the setting application in the desktop interface. For example, the long-press event B can be a long-press event performed on the icon 307d of the setting application in the user interface 307 as shown in (1) of FIG. 8.

[0234] The method for the desktop module to obtain the long-press event B is the same as the method for the desktop module to obtain the touch event A in step S1101, which is not described herein again.

[0235] In step S1202, the desktop module delivers the long-press event B to the Workspace module. Correspondingly, the Workspace module receives the long-press event B delivered by the desktop module.

[0236] In step S1203, the Workspace module sends a calling instruction 1 to the BubbleContainer module. Correspondingly, the BubbleContainer module receives the calling instruction 1 sent by the Workspace module.

[0237] The calling instruction 1 is used to call the BubbleContainer module to create a pop-up window #1 and display the pop-up window #1. It can be understood that the pop-up window #1 refers to a pop-up window without any content.

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

[0239] In step S1204, in response to receiving the calling instruction 1, the BubbleContainer module creates the pop-up window #1 and displays the pop-up window #1.

[0240] 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.

[0241] 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.

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

[0243] 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.

[0244] 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.

[0245] 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.

[0246] For example, the pop-up #1 can be a pop-up 321b that does not include any pop-up content (i.e., remove control 321b1, share control and application information) as shown in Figure 8 (2). The pop-up content can include remove control 321b1, share control and application information. The pop-up #2 can refer to pop-up 321b that includes remove control 321b1, share control and application information.

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

[0248] For example, taking the pop-up #2 above as an example, which is a pop-up 321b including the removal control 321b1, sharing control and application information as shown in Figure 8 (2), the click event C can be the click event of the user's finger clicking the control 321b1 once as shown in Figure 8 (2).

[0249] 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.

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

[0251] The remove uninstall pop-up window at least includes a remove from desktop control, and the remove from desktop control is used to trigger the mobile phone to remove the icon of the settings application in the desktop interface from the desktop interface, i.e., trigger the mobile phone to delete the icon of the settings application in the desktop interface.

[0252] Optionally, the remove uninstall pop-up window can also include other controls, for example, the other controls can be, but are not limited to, a cancel control and / or an uninstall control, etc.

[0253] In step S1210, the uninstall command module sends action information 1 to the desktop module, and the action information 1 is used to instruct to display a remove uninstall pop-up window. Correspondingly, the desktop module receives the action information 1 sent by the uninstall command module.

[0254] In step S1211, the desktop module displays the remove uninstall pop-up window #1 in the desktop interface according to the action information 1.

[0255] The remove uninstall pop-up window #1 refers to a pop-up window without any content. The shape of the remove uninstall pop-up window #1 is not specifically limited, and can be set according to actual needs. For example, the shape of the remove uninstall pop-up window #1 can be, but is not limited to, a rounded rectangle or a rectangle, etc.

[0256] After the above step S1211 is performed, the remove uninstall pop-up window #1 without any content is displayed in the desktop interface. In step S1212, the desktop module sends a calling instruction 3 to the uninstall dialog box module in the desktop application. Correspondingly, the uninstall dialog box module receives the calling instruction 3 sent by the desktop module.

[0257] In step S1213, in response to receiving the calling instruction 3, the uninstall dialog box module displays the remove uninstall pop-up window #2 after adding remove uninstall pop-up window content to the remove uninstall pop-up window #1.

[0258] The remove uninstall pop-up window #2 is a pop-up window obtained after adding uninstall pop-up window content to the remove uninstall pop-up window #1, and the uninstall pop-up window content at least includes a remove from desktop control, and the remove from desktop control is used to trigger the mobile phone to remove the icon of the settings application in the desktop interface from the desktop interface, i.e., trigger the mobile phone to delete the icon of the settings application in the desktop interface.

[0259] Optionally, the uninstall pop-up window content can also include other controls, for example, the other controls can be, but are not limited to, a cancel control and / or an uninstall control, etc.

[0260] For example, the remove uninstall pop-up window #1 can be a pop-up window 322a as shown in (3) of FIG. 8, which does not include any pop-up window content. The uninstall pop-up window content can include all the content shown in the pop-up window 322a, such as prompt information (whether to remove the "Settings"? "Remove from desktop" will keep the application in the repository.), uninstall control, remove from desktop control 322a1, and cancel control. The remove uninstall pop-up window #2 can refer to the pop-up window 322a including the uninstall pop-up window content.

[0261] In step S1214, the desktop module detects a click event D on the remove from desktop control in the remove uninstall pop-up window #2.

[0262] For example, the click event D can be, but is not limited to, a click event of a user's finger clicking the remove from desktop control 322a1 as shown in (3) of FIG. 8.

[0263] In step S1215, the desktop module passes the click event D to the remove command module in the desktop application. Accordingly, the remove command module receives the click event D passed by the desktop module.

[0264] In step S1216, the remove command module determines, according to the click event D, that the icon of the Settings application needs to be deleted from the desktop interface.

[0265] In step S1217, the remove command module sends action information 2 to the CellLayout module, where the action information 2 is used to instruct to delete the icon of the Settings application from the desktop interface. Accordingly, the CellLayout module receives the action information 2 sent by the remove command module.

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

[0267] 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.

[0268] For example, taking the click event D as the click event of a user's finger clicking the remove from desktop control 322a1 as shown in (3) of FIG. 8, after the CellLayout module executes step S1218, the desktop displayed by the mobile phone can be the user interface 323 as shown in (4) of FIG. 8, which is the desktop interface after deleting the icon of the Settings application from the desktop interface (i.e., the user interface 307 as shown in (1) of FIG. 8) that includes the icon of the Settings application.

[0269] In step S1219, the CellLayout module sends an update instruction 1 to the ModeWriter module. Correspondingly, the ModeWriter module receives the update instruction 1 sent by the CellLayout module.

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

[0271] The ModeWriter module stores the icon of each application in the desktop interface, and in the case that the icon of a certain application is displayed in the desktop interface, the container value of the icon of the certain application stored in the ModeWriter module is the value 1, i.e., the value 1 is used to indicate that the icon of each application is displayed in the desktop interface.

[0272] In the case that the icon of a certain application that has been displayed in the desktop interface needs to be deleted, in order to ensure the consistency between the icons displayed in the desktop interface and the icons of the applications stored in the ModeWriter module, therefore, the ModeWriter module can update the container value of the icon of the certain application from the value 1 to the value 2, and the value 2 is used to indicate that the icon of each application is not displayed (i.e., hidden) in the desktop interface.

[0273] It should be understood that the deletion of the icon of a certain application (e.g., the setting application) stored in the ModeWriter module by the ModeWriter module in the above step S1220 is a logical deletion, and is not a physical deletion, i.e., the deletion of the icon of the certain application by the ModeWriter module means that the attribute (i.e., the container value) of the icon of the certain application is set to hidden. Similarly, in the following scenario of restoring the display of the icon of the certain application that has been deleted from the desktop interface in the desktop interface, the ModeWriter module can set the attribute of the icon of the certain application to displayed.

[0274] The value 2 and the value 1 are two different values, the value 2 is used to indicate that the icon is hidden, and the value 1 is used to indicate that the icon is displayed. The values of the value 2 and the value 1 are not specifically limited, and can be set according to actual conditions. For example, the value 2 can be -106, and the value 1 can be -100.

[0275] It should be understood that the display method shown in the above FIG. 12 is only illustrative, and does not constitute any limitation on the display method provided in the present application. Alternatively, the above icon of the setting application can also be replaced by the icon of other application installed in the electronic device, which is not specifically limited.

[0276] In the embodiment of the present application, in the case that the resource library is opened, the electronic device can achieve the goal of deleting the icon of a certain application (i.e., the setting application) from the desktop by performing a plurality of operations, thereby helping the user to arrange the desktop and improving the user experience.

[0277] In the third embodiment, in the case that the resource library is opened, the icon of the application that has been removed from the desktop interface is displayed in the desktop interface after the resource library is closed.

[0278] FIG. 13 is a schematic diagram of a display method according to an embodiment of the present application. The display method according to an embodiment of the present application can be performed by an electronic device. It can be understood that the electronic device can be implemented as software or a combination of software and hardware. For example, the electronic device in the embodiments of the present application can be, but is not limited to, the electronic device 100 shown in FIG. 1. It should be understood that the electronic device in FIG. 13 is taken as a mobile phone for example, and the desktop application in the mobile phone includes a resource library setting activity (ResourceLibSettingActivity) page module, a resource library closing (ResourceLibCloseUtils) module, a workspace (Workspace) module, and a write mode (ModeWriter) module. It can be understood that these modules included in the desktop application are a plurality of classes included in the desktop application. As shown in FIG. 13, the display method according to an embodiment of the present application includes steps S1301 to S1313. Next, steps S1301 to S1313 are introduced.

[0279] In step S1301, the resource library setting activity page module displays a secondary confirmation pop-up window in the case that a trigger operation B of closing the resource library switch is detected.

[0280] The resource library setting activity page module is used to manage the resource library setting interface, and the resource library setting interface at least includes the resource library switch. In the case that the resource library switch in the resource library setting interface is in the closed state, the resource library is in the closed state. In the case that the resource library switch in the resource library setting interface is in the opened state, the resource library is in the opened state.

[0281] It should be understood that before the resource library setting activity page module performs the above step S1301, the resource library switch in the resource library setting interface is in the opened state, i.e., the resource library is in the opened state.

[0282] Optionally, the resource library setting interface can further include other setting options, which are not specifically limited and can be set according to actual conditions.

[0283] For example, the resource library setting interface can be the user interface 305 shown in (3) of FIG. 5, and the resource library switch is the resource library switch 305a in the user interface 305.

[0284] 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.

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

[0286] 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.

[0287] For example, continuing with the example that the secondary confirmation pop-up in step S1302 is the secondary confirmation pop-up 308a in the user interface 308 shown in Figure 5 (6), the loading pop-up in step S1302 can be the loading pop-up 309a in the user interface 309 shown in Figure 5 (7), and the "interface that displays the resource library switch as closed after loading" in step S1302 can be the user interface 310 shown in Figure 5 (8).

[0288] 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.

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

[0290] 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.

[0291] The upper limit of the number of the desktop interface provided by the desktop application of the mobile phone is not specifically limited, for example, the upper limit of the number of the desktop interface can be, but is not limited to, equal to 18.

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

[0293] In the step S1304, the resource library setting activity page module judges whether the new start screen can accommodate all the icons of the applications removed from the desktop page.

[0294] The upper limit of the number of the new start screen is equal to the difference between the upper limit of the number of the desktop interface provided by the desktop application and the number of the existing desktop page in the mobile phone. The resource library setting activity page module executes the step S1304, that is, judges whether the new start screen that can be created in the current mobile phone can accommodate all the icons of the applications removed from the desktop interface.

[0295] In the embodiment of the present application, after the resource library setting activity page module executes the step S1304, if it is judged that the desktop page cannot accommodate all the icons of the applications removed from the desktop page, the step S1305 is executed to end the display process; after the resource library setting activity page module executes the step S1303, if it is judged that the desktop page can accommodate all the icons of the applications removed from the desktop page, the step S1306 is executed.

[0296] It should be understood that the resource setting active page module executes step S1303, step S1304 and step S1306 in sequence, that is, in the case that the new start screen that can be created by the current mobile phone cannot accommodate all the icons of the applications that have been removed from the desktop interface, the method of displaying the icons of the applications that have been removed from the desktop interface is executed. The resource setting active page module executes step S1303, step S1304 and step S1305 in sequence, that is, in the case that the new start screen that can be created by the current mobile phone cannot accommodate all the icons of the applications that have been removed from the desktop interface, the method of displaying is ended. It should be understood that steps S1303 to S1306 are only illustrative and do not constitute any limitation. Alternatively, in the case that the new start screen that can be created by the current mobile phone cannot accommodate all the icons of the applications that have been removed from the desktop interface, only part of the icons of the applications that have been removed from the desktop interface can be displayed. Alternatively, in the case that the number of desktop interfaces has reached the upper limit, if the current desktop interface of the mobile phone has a spare position, all or part of the icons of the applications that have been removed from the desktop interface can be placed in the spare position.

[0297] In step S1305, the resource setting active page module ends the method of displaying.

[0298] The triggering condition for the resource setting active page module to end the method of displaying is not specifically limited.

[0299] In one example, after the resource setting active page module executes step S1303, it continues to execute step S1305.

[0300] In another example, after the resource setting active page module executes step S1304, it continues to execute step S1305.

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

[0302] It should be understood that in the case that the number of icons of the applications that have been removed from the desktop interface is large, when the icons of the large number of applications that have been removed from the desktop interface are displayed in the desktop interface of the new start screen, if each icon of the applications that have been removed from the desktop interface is displayed in a non-folder form, the new start screen can not be able to accommodate the large number of icons of the applications. In this case, the icons of the applications can be displayed in a folder form, so that each icon of the applications that have been removed from the desktop interface is successfully restored in the new start screen, wherein one folder can include a plurality of icons corresponding to a plurality of applications.

[0303] The resource library closing module performs the step S1306, i.e., the resource library closing module determines whether the folders need to be created. Exemplarily, the step S1306 can include the following steps: the resource library closing module determines whether the number of the icons of the applications that can be placed in the non-folder form in the new opening screen is greater than or equal to the number of the icons of all the applications that have been removed from the desktop page; in the case that the number of the icons of the applications that can be placed in the non-folder form in the new opening screen is greater than or equal to the number of the icons of all the applications that have been removed from the desktop page, the resource library closing module determines that the folders do not need to be created; in the case that the number of the icons of the applications that can be placed in the non-folder form in the new opening screen is less than the number of the icons of all the applications that have been removed from the desktop page, the resource library closing module determines that the folders need to be created, wherein the number of the folders that need to be created is determined based on the difference between the number of the icons of the applications that can be placed in the non-folder form and the number of the icons of all the applications that have been removed from the desktop page.

[0304] The number of the icons of the applications that can be placed in one folder is not specifically limited and can be set according to actual conditions. For example, the upper limit of the number of the icons of the applications that can be placed in one folder can be, but is not limited to, 135.

[0305] The upper limit of the number of the icons of the applications that can be placed in one new opening screen is not specifically limited and can be determined according to the desktop layout of the one new opening screen and whether the icons of the applications are placed in the folder form in the one new opening screen. For example, when the desktop layout of one new opening screen is that the icons of the applications are placed in the folder form in the one new opening screen, the upper limit of the number of the icons of the applications that can be placed in the one new opening screen can be equal to 4×6×135=3240, 4×6 means that the layout of the one new opening screen is 4 columns and 6 rows, and 135 means the upper limit of the number of the icons that can be placed in one folder. For another example, when the desktop layout of one new opening screen is that the icons of the applications are placed in the non-folder form (i.e., scattered) in the one new opening screen, the upper limit of the number of the icons of the applications that can be placed in the one new opening screen can be equal to 4×6=24, 4×6 means that the layout of the one new opening screen is 4 columns and 6 rows, and a folder will be placed in a certain column (e.g., the first column) and a certain row (e.g., the first row).

[0306] In step S1307, the resource library closing module creates the folders in the new opening screen.

[0307] The number of the folders created by the resource library closing module in the new opening screen is not specifically limited and can be determined according to actual conditions.

[0308] It should be understood that after the resource library closing module executes the above step S1307, the new start screen has the folder created by the resource library closing module. For example, taking the case that the resource library closing module creates one folder for one file in the new start screen when executing the above step S1307 as an example, the new start screen has the folder created by the resource library closing module for the one file.

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

[0310] It should be understood that the container value of each application icon of 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 of 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, and therefore, the resource library closing module can add the parameter of the container value of each application icon of all the application icons that have been removed from the desktop interface and is equal to the value 2 obtained from the write mode module to the new start screen.

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

[0312] It should be understood that after executing the above step S1308, the new start screen includes the container value of each application icon of all the application icons that have been removed from the desktop interface, and the container value of each application icon is equal to the value 2. Moreover, the new start screen does not display each application icon of all the application icons that have been removed from the desktop interface, that is, the user cannot observe each application icon of all the application icons that have been removed from the desktop interface in the new start screen.

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

[0314] The purpose of the resource library closing module updating the screen value of each application icon of all the application icons that have been removed from the desktop interface to the screen value of the new start screen is to add each application icon of all the application icons that have been removed from the desktop interface to the new start screen.

[0315] The resource library closing module updates the container value of each of the icons of the applications that have been removed from the desktop interface from the logical hidden state to the logical display restored state.

[0316] It should be understood that the container value of each of the icons of the applications that have been removed from the desktop interface is the value 2, i.e., the container value of each of the icons of the applications that have been removed from the desktop interface stored in the write mode module before the step S1309 is executed is the value 2, and therefore, the resource library closing module can update the container value of each of the icons of the applications that have been removed from the desktop interface obtained from the write mode module to the value 1.

[0317] The value 2 and the value 1 are two different values, the value 2 is used to indicate a hidden icon, and the value 1 is used to indicate a displayed icon. The values of the value 2 and the value 1 are not specifically limited and can be set according to actual conditions. For example, the value 2 can be -106, and the value 1 can be -100.

[0318] It should be understood that after the step S1309 is executed, each of the icons of the applications that have been removed from the desktop interface has not been displayed in the new start screen, i.e., the user cannot observe each of the icons of the applications that have been removed from the desktop interface in the new start screen.

[0319] In the step S1310, the resource library closing module sends a calling instruction 4 to the work area module. Correspondingly, the work area module receives the calling instruction 4 sent by the resource closing module.

[0320] The calling instruction 4 is used to instruct to create a view of each of the icons of the applications that have been removed from the desktop interface with the container value of 2 in the new start screen.

[0321] In the step S1311, the work area module creates each of the icons of the applications that have been removed from the desktop interface according to the calling instruction 4 and displays in the new start screen.

[0322] For example, if the applications that have been removed from the desktop interface only include the setting application icon 307d in the user interface 307 shown in (1) of FIG. 8, the setting application icon 307d displayed in the new start screen can be as shown in the setting application icon 307d displayed in the user interface 324 shown in (5) of FIG. 8.

[0323] After the step S1311 is executed, each of the icons of the applications that have been removed from the desktop interface has been displayed in the new start screen, i.e., the user can observe each of the icons of the applications that have been removed from the desktop interface in the new start screen.

[0324] It should be understood that the steps S1306 to S1311 are the process of recovering the hidden application provided by the embodiments of the present application, but the steps S1306 to S1311 are only illustrative and do not constitute any limitation on the method provided by the embodiments of the present application.

[0325] In step S1312, the workspace module sends an update instruction 2 to the write mode module in the desktop application. Correspondingly, the write mode module receives the update instruction 2 sent by the workspace module.

[0326] The update instruction 2 is used to instruct to update the container value of each icon of all the icons of the applications that have been removed from the desktop interface to the value 1.

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

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

[0329] It should be understood that the display method shown in the above Fig. 13 is only illustrative and does not constitute any limitation on the display method provided by the present application. Alternatively, the display of the icon of the application that has been removed from the desktop interface in the new start screen can be replaced by the display of the icon of the application that has been removed from the desktop interface in the existing desktop interface of the mobile phone (i.e. the non-new start screen).

[0330] In the embodiments of the present application, in the case that the resource library is switched from being opened to being closed, the mobile phone can display the icons of all the applications (i.e. the setting application) that have been removed (i.e. hidden) from the desktop in the desktop again.

[0331] Embodiment Four

[0332] Fig. 14 is a schematic diagram of a display method provided by the embodiments of the present application. The display method provided by the embodiments of the present application can be executed by an electronic device. It can be understood that the electronic device can be implemented as software or a combination of software and hardware. Illustratively, the electronic device in the embodiments of the present application can be but is not limited to the electronic device 100 shown in Fig. 1. The electronic device that executes the display method provided by the embodiments of the present application can include a resource library and a negative screen. As shown in Fig. 14, the display method provided by the embodiments of the present application includes steps S1410 to S1430. Hereinafter, the steps S1410 to S1430 are introduced.

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

[0334] The first interface is a desktop of the electronic device, and the desktop of the electronic device can include one screen or multiple screens. The first interface can be specifically an interface displayed by one of the one screen or the multiple screens in the desktop.

[0335] For example, taking the electronic device as a mobile phone, the first interface can be the user interface 301 illustrated in (1) of FIG. 3 or the user interface 302 illustrated in (2) of FIG. 3.

[0336] In the embodiments of the present application, the method for displaying the first interface in full screen by the electronic device is not specifically limited.

[0337] In one example, the electronic device displays the first interface in full screen, including: in the case where the resource library is opened, displaying the first interface in full screen, where the first interface further includes a search entry area, and the search entry area is used to trigger the electronic device to display an interface of the resource library including a search area in a negative one screen.

[0338] For example, taking the electronic device as a mobile phone, the first interface can be the user interface 307 illustrated in (2) of FIG. 5, and the search entry area can be the search area 307a in the user interface 307. The contents not specifically described herein can be referred to the related description in FIG. 5.

[0339] In another example, the electronic device displays the first interface in full screen, including: in the case where the resource library is not opened, displaying the first interface in full screen, where the first interface does not include a search entry area, and the search entry area is used to trigger the electronic device to display an interface of the resource library including a search area in a negative one screen.

[0340] For example, taking the electronic device as a mobile phone, the first interface can be the user interface 301 illustrated in (1) of FIG. 3 or the user interface 302 illustrated in (2) of FIG. 3. The contents not specifically described herein can be referred to the related description in FIG. 3.

[0341] Optionally, in the above scenario where the resource library is opened, before the electronic device displays the first interface in full screen, the electronic device can further perform the related steps of opening the resource library.

[0342] 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 setting option in a seventh interface, the electronic device displays an eighth interface, wherein 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 electronic device opens the resource library.

[0343] For example, the seventh interface can be the user interface 304 illustrated in (2) of FIG. 5, the first setting option can be the resource library option 304a in the user interface 304, the eighth interface can be the user interface 306 illustrated in (4) of FIG. 5, and the second setting control can be the resource library switch 306a in the user interface 306. Details not described herein can be found in the foregoing description of FIG. 5.

[0344] The trigger condition for the electronic device to perform full-screen display of the first interface is not limited. For example, the electronic device can be triggered to perform full-screen display of the first interface after the user performs a power-on operation. For another example, the electronic device can be triggered to perform full-screen display of the first interface after the user performs a page switching operation on the desktop of the electronic device.

[0345] In step S1420, in a case where a first operation on a first region in the first interface is detected, the electronic device determines whether a preset display condition is met, wherein the preset display condition includes the following conditions: a negative one screen is opened, a resource library is opened, the first operation is a preset type of operation, and 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.

[0346] The first interface element is an interface element in the desktop of the electronic device that supports the preset type of operation, i.e., in response to detecting the preset type of operation on the first interface element, the electronic device displays the second interface element associated with the first interface element on the desktop. The first interface element and the second interface element are not limited and can be set according to actual conditions.

[0347] In one example, 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.

[0348] For example, the first interface element in the above example can be the icon 307e of the phone application in the user interface 307 illustrated in (1) of FIG. 9A, and the second interface element in the above example can be the transient card 325a in the user interface 325 illustrated in (2) of FIG. 9A. Details not described herein can be found in the foregoing description of FIG. 9A.

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

[0350] Illustratively, the first interface element in the above example can be the stack of cards 326a in the user interface 326 illustrated in (1) of FIG. 9B, and the second interface element in the above example can be the card 327a in the user interface 327 illustrated in (2) of FIG. 9B.

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

[0352] Illustratively, the preset type of operation can be an upward swiping operation in the user interface 307 illustrated in (1) of FIG. 6, or can be an upward swiping operation in the user interface 317 illustrated in (2) of FIG. 7.

[0353] Optionally, the preset type of operation can also be other operations in addition to the upward swiping operation, for example, the other operations can be but are not limited to a downward swiping operation, a leftward swiping operation, or a rightward swiping operation, etc.

[0354] Optionally, the preset type of operation in the above example is an upward swiping operation, and the swiping distance of the upward swiping operation is greater than or equal to a first distance. The swiping distance of the preset type of operation refers to the distance from the touch starting point corresponding to the preset type of operation to the touch ending point corresponding to the preset type of operation.

[0355] The first distance in the above example can be a predefined distance, and the first distance is not specifically limited.

[0356] Optionally, the preset display condition in the above example further includes at least one of the following conditions: the desktop style of the first interface is a preset format of desktop style, the 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.

[0357] Optionally, the preset display condition can further include that the desktop mode of the first interface is a split-screen mode or a non-split-screen mode.

[0358] Illustratively, the user interface 307 illustrated in (1) of FIG. 6 can be one specific example in which the desktop mode of the above first interface is a split-screen mode, and the user interface 317 illustrated in (2) of FIG. 7 can be one specific example in which the desktop mode of the first interface is a split-screen mode, and the contents not specifically described herein can be referred to the related description in FIG. 7 above.

[0359] The preset format of the desktop style in the above example can be, but is not limited to, a standard format of the desktop style, and can be set according to actual needs, and no specific limitation is made herein.

[0360] The preset type of the electronic device in the above example can be, but is not limited to, one or more of a non-foldable mobile phone (i.e., a straight mobile phone), a tablet computer, or a foldable mobile phone, and can be set according to actual needs, and no specific limitation is made herein.

[0361] For example, one specific example of the preset display condition can be the preset requirement in step S1003 of the display method provided in FIG. 10, and the content not described in detail herein can be referred to the related description in step S1003.

[0362] In step S1430, in a case where it is determined that the preset display condition is met, the electronic device displays a minus one screen in full screen, wherein the minus one screen displays an interface of a resource library, and the interface of the resource library includes a search area and icons of all applications installed in the electronic device, and the search area is configured to trigger the electronic device to display an icon of an application matched with the search information from the icons of all applications in response to search information.

[0363] The interface of the resource library includes the search area and the icons of all applications installed in the electronic device, and the search area is configured to trigger the electronic device to display an icon of an application matched with the search information from the icons of all applications in response to search information.

[0364] Optionally, the icons of all applications installed in the electronic device included in the interface of the resource library can be located in a folder included in the interface of the resource library.

[0365] Optionally, the electronic device can not include an icon of a minus one screen application and an icon of a resource library application, and therefore, the icons of all applications installed in the electronic device included in the interface of the resource library, except for the minus one screen application and the resource library application, and these icons can be located in a folder included in the interface of the resource library.

[0366] Optionally, the interface of the resource library can further include a suggestion area configured to display an icon of an application recently used by the user with a higher frequency.

[0367] Exemplarily, the interface of the above-mentioned resource library can be the user interface 313 shown in (3) of FIG. 6, which is displayed in full screen by the negative one screen, and the user interface 313 includes multiple types of folders, i.e., a suggestion folder 313a, a social communication folder 313b, a shooting folder 313c, a tool folder 313d and an office folder 313e. The suggestion folder 313a includes icons of a settings application and a video application which are frequently used by the user recently. The multiple types of folders included in the user interface 313 are multiple folders obtained by classifying the multiple icons included in the display area 301a, the display area 301b in (1) of FIG. 3 and the display area 302a in (2) of FIG. 3, and each folder includes an icon of an application of a corresponding function, and the contents not described in detail herein can be referred to the related description in FIG. 6 above.

[0368] Optionally, before the electronic device displays the negative one screen in full screen, the electronic device can further perform the following step: in a case where it is determined that the negative one screen and the resource library are both opened, the first operation is a preset type of operation, 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, the electronic device displays a partial negative one screen and a partial first interface, and the partial negative one screen displays a partial interface of the resource library.

[0369] The second sliding distance refers to a sliding distance from a touch starting point corresponding to the first operation to a touch intermediate point corresponding to the first operation, and the touch intermediate point corresponding to the first operation is one touch point between the touch starting point corresponding to the first operation and a touch ending point corresponding to the first operation.

[0370] Exemplarily, the above-mentioned first operation can be an upward sliding operation (i.e., a distance from the touch starting point 307b to the touch ending point 307c) in the user interface 307 shown in (1) of FIG. 6, the second sliding distance of the first operation refers to a distance from the touch starting point 307b to a touch intermediate point, and the touch intermediate point is one touch point between the touch starting point 307b and the touch ending point 307c, and the partial interface of the resource library displayed in the partial negative one screen can be the partial interface 312a of the resource library application in the user interface 312 shown in (2) of FIG. 6, and the partial first interface can be an interface of the user interface 312 except the partial interface 312a of the resource library application, and the contents not described in detail herein can be referred to the related description in FIG. 6 above.

[0371] Exemplarily, the first operation described above can be an upward sliding operation (i.e. the distance from the touch starting point 317b to the touch ending point 317c) in the user interface 317 illustrated in (2) of FIG. 7, the second sliding distance of the first operation refers to the distance from the touch starting point 307b to the touch intermediate point, the touch intermediate point is one touch point between the touch starting point 317b and the touch ending point 317c, the interface of the part of the resource library displayed on the partial negative one screen can be the partial interface 318a of the resource library application in the user interface 318 illustrated in (3) of FIG. 7, the partial first interface can be the interface in the user interface 318 except the partial interface 318a of the resource library application, and the content not described in detail herein can be referred to the related description in FIG. 7 above.

[0372] Optionally, in the case that the resource library in the electronic device has been opened, the electronic device can also delete (i.e. remove) the icon of a certain application (for example, the setting application) in the desktop according to the user demand. It should be understood that after the icon of the certain application is removed from the desktop, the certain application is still installed in the electronic device, that is, the icon of the certain application is still displayed in the interface of the resource library.

[0373] Exemplarily, the electronic device can delete a certain icon in the desktop by performing the following steps: in the case that the resource library has been opened, in response to detecting a second operation on the icon of the first application in the 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 the 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 the second removal control in the second pop-up window, the electronic device displays a fifth interface, wherein the fifth interface is the desktop including the interface content in the first interface except the icon of the first application.

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

[0375] Optionally, the second pop-up window can also include other content in addition to the second removal control, for example, the other content can be but is not limited to an uninstall control (for uninstalling the application) and / or a prompt information, wherein the prompt information is used to indicate whether the icon of the first application needs to be removed from the main interface of the desktop.

[0376] For example, one specific example of the first interface described above can be the user interface 307 shown in (1) of FIG. 8, one specific example of the icon of the first application can be the icon 307d of the settings application in the user interface 307, one specific example of the second operation can be the operation of clicking the icon 307d of the settings application by the user's finger shown in the user interface 307, one specific example of the third interface described above can be the user interface 321 shown in (2) of FIG. 8, one specific example of the first pop-up window in the third interface described above can be the pop-up window 321b in the user interface 321, one specific example of the icon of the first application in the third interface can be the icon 321a of the settings application in the user interface 321, one specific example of the fourth interface described above can be the user interface 322 shown in (3) of FIG. 8, one specific example of the second pop-up window described above can be the pop-up window 322a in the user interface 322, one specific example of the second removal control described above can be the removal control 322a1 in the pop-up window 322a, and one specific example of the fifth interface described above can be the user interface 323 shown in (4) of FIG. 8, and the content not described in detail herein can be found in the related description of FIG. 8 above.

[0377] For example, the electronic device can also perform the display method provided in FIG. 12 above to achieve the purpose of deleting an icon in the desktop, the settings application in step S1201 of the display method provided in FIG. 12 above can be one specific example of the icon of the first application, the long-press event B in step S1201 can be one specific example of the second operation, the pop-up window #2 in step S1207 described above can be one specific example of the first pop-up window, the click event C in step S1207 can be one specific example of the third operation, the removal uninstall pop-up window #2 in step S1213 can be one specific example of the second pop-up window, and the click event D in step S1216 can be one specific example of the fourth operation, and the content not described in detail herein can be found in the related description of FIG. 12 above.

[0378] Optionally, after the electronic device performs the above-mentioned operation of removing an icon of a certain application from the desktop in the case that the resource library is started, the electronic device can also close the resource library. Subsequently, the icon of the certain application that has been removed from the desktop can also be displayed again in the desktop of the electronic device.

[0379] For example, after displaying the fourth interface in response to detecting the fourth operation on the first removal control in the first pop-up window, the electronic device can also perform the following steps to display the icon of the deleted application again: in the case that it is detected that the resource library has been switched from being started to being closed, the electronic device displays a sixth interface, wherein the sixth interface is a desktop including the icon of the first application.

[0380] The sixth interface is a desktop including the icon of the first application. The sixth interface can be a newly opened interface in the desktop, or can also be an interface already existing in the desktop.

[0381] Optionally, when the icons of the plurality of applications in the desktop are removed from the desktop, the sixth interface can include the icons of the plurality of applications. Optionally, the icons of the plurality of applications can also be put into a folder included in the sixth interface, or be scattered in the sixth interface, which is not limited herein.

[0382] For example, the electronic device can also achieve the purpose of restoring the icon of the application that has been deleted in the desktop in the case where the resource library is switched from being opened to being closed, by performing the display method provided in FIG. 13 above. Details not described herein can be referred to the related description in FIG. 13 above.

[0383] For example, after the icon 307d of the settings application in the user interface 307 shown in (1) of FIG. 8 is removed from the desktop in the case where the resource library is opened, the user interface 323 shown in (4) of FIG. 8 is obtained. In the case where the resource library is switched from being opened to being closed, one specific example of the sixth interface displayed by the electronic device can be the user interface 324 shown in (5) of FIG. 8, and the user interface 324 includes the icon 307d of the settings application.

[0384] Optionally, the electronic device further stores a container value of the icon of the first application, and in response to detecting the fourth operation on the second removal control in the second pop-up window, the electronic device displays the fifth interface, and then the electronic device can further perform the following steps: the electronic device updates the container value of the icon of the first application 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 detecting that the resource library has been switched from being opened to being closed, the electronic device displays the sixth interface, and then the electronic device can further perform the following steps: updating the container value of the icon of the first application 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.

[0385] Optionally, after the electronic device displays the fifth interface in response to detecting the fourth operation on the second removal control in the second pop-up window, the electronic device can further perform the following steps: in the case where the resource library is opened, in response to detecting a fifth operation on the fifth interface, and in the case where the fifth operation meets a preset display condition, the electronic device displays a negative one screen; in the case where 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.

[0386] Next, the module steps in the electronic device corresponding to the above steps S1410 to S1430 are introduced.

[0387] In an example, the electronic device further includes a home screen application and a desktop application, and the method further includes: displaying a first interface in full screen, wherein the first interface is a desktop application interface displayed in full screen; and in response to detecting a first operation on a first region in the first interface, determining whether a preset display condition is met, including: in response to detecting the first operation on the first region in the desktop application, determining whether the preset display condition is met; and in response to determining that the preset display condition is met, displaying a home screen in full screen, including: in response to the desktop application determining that the preset display condition is met, sending a first event to the home screen application; and in response to the home screen application receiving the first event, displaying the home screen in full screen.

[0388] In an example, the desktop application can be the desktop application shown in FIG. 10, the home screen application can be the home screen application shown in FIG. 10, the first interface can be the desktop interface in step S1001 in FIG. 10, the first operation can be the touch operation A in step S1001, and the first event can be the OnScroll event in FIG. 10. Details not described herein can be found in the display method shown in FIG. 10.

[0389] Optionally, the electronic device can further perform the following step: in response to determining that the preset display condition is not met, displaying a second interface in full screen, wherein the second interface is the first interface, or the second interface is an interface obtained after displaying a second interface element in the first interface.

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

[0391] In an example, the second interface can be the user interface 325 shown in (2) of FIG. 9A, or the user interface 327 shown in (2) of FIG. 9B.

[0392] It should be understood that the display method shown in FIG. 14 is only illustrative, and does not limit the display method provided by the embodiments of the present application.

[0393] In the embodiments of the present application, in a case where a first operation performed by a user on a first interface as a desktop of an electronic device is detected, and the electronic device determines that a preset display condition is met, the electronic device can display a resource library interface including a search area and icons of all applications installed in the electronic device through a negative one screen, so that the user can input search information in the search area in the resource library interface to quickly and conveniently find an icon of an application matching the search information from all the icons of the applications installed in the electronic device, thereby improving the user experience.

[0394] The application scenarios, the user interface of the electronic device, and the display method of the embodiments of the present application are described in detail above in combination with FIGS. 1 to 14. The device embodiments of the present application will be described in detail below in combination with FIG. 15. It should be understood that the display device in the embodiments of the present application can perform various display methods of the foregoing embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the foregoing method embodiments.

[0395] FIG. 15 is a schematic diagram of a display device provided in an embodiment of the present application.

[0396] For example, the display device 1500 shown in FIG. 15 includes a processing unit 1510. The role of the processing unit 1510 will be introduced below.

[0397] The processing unit 1510 is configured to display a first interface in full screen, where the first interface is a desktop of an electronic device; in a case where a first operation on a first region in the first interface is detected, determine whether a preset display condition is met, where the preset display condition includes at least one of the following conditions: the negative one screen is opened, the resource library is opened, the first operation is a preset type of operation, and 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; and in a case where it is determined that the preset display condition is met, display the negative one screen in full screen, where the negative one screen displays an interface of the resource library, and the interface of the resource library includes a search area and icons of all applications installed in the electronic device, and the search area is used to trigger the electronic device to display an icon of an application found from the icons of all the applications and matching search information in response to the search information.

[0398] In a possible implementation, the preset display condition further includes at least one of the following conditions: the desktop style of the first interface is a preset format of desktop style, the 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.

[0399] In a possible implementation, the preset type of operation is a sliding-up operation; or, the preset type of operation is a sliding-up operation, and a sliding distance of the sliding-up operation is greater than or equal to the first distance.

[0400] In a possible implementation, 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 the stacked cards in the desktop, and the second interface element is a second card in the stacked cards.

[0401] In a possible implementation, the processing unit 1510 is further configured to, before displaying the full-screen display of the negative one screen, perform the following steps: 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, 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 region does not include the first interface element, display a partial negative one screen and a partial first interface, where the partial negative one screen displays a partial interface of the partial resource library.

[0402] In a possible implementation, the processing unit 1510 is further configured to, in a case where it is determined that the preset display condition is not met, display the second interface in full screen, where 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.

[0403] In a possible implementation, the processing unit 1510 is further configured to, in a case where the resource library is opened, perform the following steps in response to detecting a second operation on an icon of a first application in the first interface: display a third interface, where the third interface includes the first pop-up and the icon of the first application; in response to detecting a third operation on a first removal control in the first pop-up, display a fourth interface, where the fourth interface includes a second pop-up; and in response to detecting a fourth operation on a second removal control in the second pop-up, display a fifth interface, where the fifth interface is a desktop including interface content in the first interface except the icon of the first application.

[0404] In a possible implementation, the processing unit 1510 is further configured to, after displaying the fourth interface in response to detecting the fourth operation on the first removal control in the first pop-up, perform the following steps: in a case where it is detected that the resource library is switched from being opened to being closed, display a sixth interface, where the sixth interface is a desktop including the icon of the first application.

[0405] In another possible implementation, the electronic device further stores a container value of the icon of the first application, and the processing unit 1510 is further configured to: after displaying the fifth interface in response to detecting the fourth operation on the second removal control in the second pop-up window, perform the following operation: updating the container value of the icon of the first application 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 detecting that the resource library has switched from being opened to being closed, after displaying the sixth interface, the method further includes: updating the container value of the icon of the first application to the 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.

[0406] In another possible implementation, the processing unit 1510 is further configured to: after displaying the fifth interface in response to detecting the fourth operation on the second removal control in the second pop-up window, perform the following operation: 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 a preset display condition, displaying the negative one screen in full screen.

[0407] In another possible implementation, the processing unit 1510 is further configured to: in a case where the resource library is opened, displaying the first interface in full screen, where the first interface further includes a search entry region, and the search entry region is used to trigger the electronic device to display an interface of the resource library including a search region in the negative one screen.

[0408] In another possible implementation, the processing unit 1510 is further configured to: in a case where the first operation on the first region in the first interface is detected, before determining whether the preset display condition is met, perform the following operation: in response to detecting a sixth operation on a first setting option in the seventh interface, displaying an eighth interface, 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, opening the resource library.

[0409] It should be noted that the display apparatus 1500 is embodied in the form of functional units. The term “unit” herein can be implemented in the form of software and / or hardware, and is not limited to a specific implementation.

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

[0411] Therefore, the units of each example described in the embodiments of the present application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. A person 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 the present application.

[0412] The present application also provides a computer program product, which, when executed by a processor, implements the display method described in any method embodiment of the present application.

[0413] The computer program product can be stored in a memory, for example, a program, which is finally converted into an executable object file that can be executed by a processor through preprocessing, compiling, assembling, and linking, etc.

[0414] The present application also provides a computer readable storage medium, which stores a computer program, which, when executed by a computer, implements the display method described in any method embodiment of the present application. The computer program can be a high-level language program or an executable object program.

[0415] The present application also provides a chip, which is applied to an electronic device, and the chip includes one or more processors, which are used to call computer instructions, so that the electronic device is executed to implement the display method described in any method embodiment of the present application.

[0416] In the present application, "at least one" means one or more, and "multiple" means two or more. "At least one of the following" or similar expressions means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.

[0417] It should be understood that the size of the sequence number of the above processes does not mean the order of execution in various embodiments of the present application, and the execution order of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0418] Those skilled in the art can appreciate that the units and algorithm steps of the 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 the functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. A person 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 the present application.

[0419] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

[0420] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic; for example, the division of the units is only a logical function division, and actual implementation can have another division manner; for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0421] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0422] In addition, the functional units in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically, or two or more units can be integrated into one unit.

[0423] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection 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.

Citation Information

Patent Citations

  • Application lookup method, device, storage medium and electronic device

    CN109284261A

  • Method and device for starting application program, electronic equipment and storage medium

    CN111273828A

  • Application search method and device

    CN112199561A

  • Method and device for setting sidebar of smart television, electronic equipment and medium

    CN115714872A

  • Content display method and electronic equipment thereof

    CN116679861A