Desktop icon management method, electronic device and storage medium
By generating folders to manage terminal device icons, the problem of low icon management efficiency caused by the increasing number of applications on terminal devices is solved, thus improving user experience and management efficiency.
Patent Information
- Application Number
- PCT/CN2025/090149
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-23
- Filing Date
- 2025-04-21
- Publication Date
- 2025-10-30
AI Technical Summary
As the number of applications on terminal devices increases, icon management becomes inefficient and leads to a poor user experience.
By receiving user actions, folders are generated, the icon display position is optimized, multiple application icons are stored in the folders, and the icon size and arrangement are adjusted according to the number of empty spaces and usage frequency.
It improves icon management efficiency, enhances user experience, and makes it easier for users to find and use frequently used applications.
Smart Images

Figure CN2025090149_30102025_PF_FP_ABST
Abstract
Description
A desktop icon management method, electronic device and storage medium
[0001] This application claims priority to Chinese Patent Application No. 202410495776.9, filed on April 23, 2024, with the invention entitled "A Desktop Icon Management Method, Electronic Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to a desktop icon management method, electronic device, and storage medium. Background Technology
[0003] With the development of terminal technology, the number of applications installed on electronic devices is increasing to meet functional requirements, resulting in a growing number of application icons on the device's icon display interface (also known as the desktop). To ensure a clean and efficient desktop, users can move application icons, folder icons, card icons, etc., and manage the display position of icons on the desktop. How to provide an efficient and convenient icon management method requires further research. Summary of the Invention
[0004] This application provides a desktop icon management method, an electronic device, and a storage medium, which improves the efficiency of users managing icons on the desktop and enhances the user experience.
[0005] In a first aspect, this application provides a desktop icon management method, the method comprising: an electronic device receiving a first operation from a user on multiple application icons on the desktop, the first operation being an operation to move the multiple application icons to a first fill space; in response to the first operation, the electronic device displaying a first folder in the first fill space or horizontally or vertically of the first fill space, the first folder containing multiple application icons.
[0006] Optionally, when the electronic device displays the first folder horizontally or vertically in the first filled space, the user can directly click the application icon in the first folder to open the application corresponding to that application icon.
[0007] Optionally, the electronic device can first determine whether the number of empty spaces near the first empty space is greater than the number of multiple application icons. If it is greater, the electronic device can display multiple application icons near the first empty space. If it is less, the electronic device can display a first folder near the first empty space, and the first folder contains multiple application icons.
[0008] Optionally, the electronic device may not need to determine whether the number of fill spaces near the first fill space is greater than the number of multiple application icons. Instead, it can directly display the first folder in the first fill space, or horizontally or vertically adjacent to the first fill space, with multiple application icons displayed within the first folder.
[0009] This method allows electronic devices to generate a first folder based on multiple application icons dragged by the user, improving the efficiency of user management of icons on the desktop and enhancing the user experience.
[0010] In conjunction with the first aspect, in one possible implementation, the size of the multiple application icons displayed in the first folder is less than or equal to the size of the multiple application icons displayed on the desktop of the electronic device before the electronic device receives the first operation.
[0011] When the number of empty spaces occupied by the first folder is equal to the number of application icons, the size of the multiple application icons displayed in the first folder is equal to the size of the multiple application icons displayed on the desktop of the electronic device before the first operation is received.
[0012] When the number of empty spaces occupied by the first folder is less than the number of application icons, the size of the application icons displayed in the first folder is smaller than the size of the application icons displayed on the desktop of the electronic device before the first operation is received.
[0013] In conjunction with the first aspect, in one possible implementation, multiple application icons include a first application icon and a second application icon. When the usage frequency of the first application is greater than that of the second application, the display position of the first application icon in the first folder is located before the display position of the second application icon in the first folder.
[0014] In this way, the electronic device 100 can display the icons of frequently used applications at the top of the first folder, making it convenient for users to find and use the applications.
[0015] In conjunction with the first aspect, in one possible implementation, the electronic device displays a first folder in the first fill space or horizontally or vertically above the first fill space, specifically including: when the number of fill spaces near the first fill space is less than the number of multiple application icons, the electronic device displays a first folder in the first fill space or horizontally or vertically above the first fill space, and the first folder displays multiple application icons.
[0016] In this way, the electronic device can determine whether the number of empty spaces near the first empty space is greater than the number of multiple application icons. If it is greater, the electronic device can directly display multiple application icons near the first empty space. If it is less, the electronic device can display the first folder horizontally or vertically within the first empty space.
[0017] In conjunction with the first aspect, in one possible implementation, the electronic device displays a first folder horizontally or vertically within the first fill space, specifically including: the electronic device acquiring a first number of fill spaces horizontally and a second number of fill spaces vertically within the first fill space; if both the first number of fill spaces and the second number of fill spaces are greater than a first value, the electronic device displays a first prompt message; the electronic device receives a second operation for a first option in the first prompt message, and displays the first folder horizontally or vertically within the first fill space.
[0018] In this way, when the number of horizontal fill spaces and the number of vertical fill spaces in the first fill space are both greater than the first value, the electronic device can prompt the user to generate a horizontal folder or a vertical folder.
[0019] In conjunction with the first aspect, in one possible implementation, the electronic device displays the first folder horizontally or vertically within the first fill space, specifically including: the electronic device obtaining the first number of fill spaces horizontally and the second number of fill spaces vertically within the first fill space; if both the first number of fill spaces and the second number of fill spaces are greater than a first value, and the first number of fill spaces is greater than the second number of fill spaces, the electronic device displays the first folder horizontally within the first fill space; and if the second number of fill spaces is greater than the first number of fill spaces, the electronic device displays the first folder vertically within the first fill space.
[0020] In one possible implementation, the method further includes: if the number of first fill spaces is greater than a first value and the number of second fill spaces is less than the first value, the electronic device displays a first folder horizontally in the first fill space; and / or, if the number of second fill spaces is greater than the first value and the number of first fill spaces is less than the first value, the electronic device displays a first folder vertically in the first fill space.
[0021] Thus, when both the number of horizontal and vertical fill spaces in the first fill space are greater than a first value, the electronic device can determine whether to generate a horizontal or vertical folder based on these values. Specifically, when the number of horizontal fill spaces in the first fill space is greater than the number of vertical fill spaces, the electronic device can generate a horizontal folder; conversely, when the number of vertical fill spaces in the first fill space is greater than the number of horizontal fill spaces, the electronic device can generate a vertical folder.
[0022] In conjunction with the first aspect, in one possible implementation, the electronic device displays the first folder in the first empty space. Specifically, if there are no adjacent empty spaces in either the horizontal or vertical direction of the first empty space, the electronic device displays the first folder in the first empty space. In this way, the electronic device can generate a minimal folder.
[0023] In conjunction with the first aspect, in one possible implementation, the method further includes: if the number of empty spaces near the first empty space is greater than the number of multiple application icons, the electronic device displays multiple application icons near the first empty space. Thus, when the number of empty spaces near the first empty space is greater than the number of multiple application icons, the electronic device can directly display multiple application icons near the first empty space. Optionally, when the number of empty spaces near the first empty space is greater than the number of multiple application icons, the electronic device can also generate and display a first folder near the first empty space, where the number of empty spaces occupied by the first folder is greater than or equal to the number of multiple application icons.
[0024] In conjunction with the first aspect, in one possible implementation, when the electronic device displays the first folder horizontally in the first fill space, the number of fill spaces occupied by the first folder is less than or equal to the number of first fill spaces horizontally in the first fill space; when the electronic device displays the first folder vertically in the first fill space, the number of fill spaces occupied by the first folder is less than or equal to the number of second fill spaces vertically in the first fill space.
[0025] In conjunction with the first aspect, in one possible implementation, before the electronic device displays the first folder horizontally or vertically within the first fill space, the method further includes: the electronic device determining the size of the multiple application icons displayed within the first folder based on the number of fill spaces occupied by the first folder and the number of multiple application icons; the electronic device displaying the first folder horizontally or vertically within the first fill space specifically includes: the electronic device displaying the first folder horizontally or vertically within the first fill space, and displaying multiple application icons within the first folder based on the size of the multiple application icons displayed within the first folder.
[0026] In conjunction with the first aspect, in one possible implementation, the first folder is a horizontal folder; the method further includes: the electronic device receiving a third operation on the first folder, the third operation being an operation to move the first folder to a second filler space; in response to the third operation, the electronic device vertically displays a second folder in the second filler space, the second folder displaying multiple application icons, the second folder being a vertical folder.
[0027] Using this method, the electronic device can drag a first folder and change the shape of the first folder based on the number of fill spaces near the second fill space dragged by the user, so that multiple application icons in the first folder can be displayed near the second fill space.
[0028] In conjunction with the first aspect, in one possible implementation, before the electronic device vertically displays the second folder in the second fill space, the method further includes: the electronic device determining the size of the multiple application icons displayed in the second folder based on the number of fill spaces occupied by the second folder and the number of multiple application icons; the electronic device vertically displays the second folder in the second fill space, specifically including: the electronic device vertically displays the second folder in the second fill space, and displays multiple application icons in the second folder based on the size of the multiple application icons displayed in the second folder.
[0029] Secondly, this application provides an electronic device, which includes a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes and calls the computer program, the electronic device executes a desktop icon management method provided in any possible implementation of any of the above aspects.
[0030] Thirdly, this application provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform a desktop icon management method provided in any possible implementation of any of the above aspects.
[0031] Fourthly, this application provides a chip system including one or more processors, which are used to invoke computer instructions to cause an electronic device to execute a desktop icon management method provided in any possible implementation of any of the above aspects.
[0032] Fifthly, this application provides a computer program product containing instructions that, when the computer program product is run on an electronic device, causes the electronic device to execute a desktop icon management method provided in any possible implementation of any of the above aspects.
[0033] For a description of the beneficial effects in aspects two through five, please refer to the description of the beneficial effects in aspect one; this application will not repeat them here. Attached Figure Description
[0034] Figures 1A-1H show schematic diagrams of filling vacancies;
[0035] Figure 2A shows a schematic diagram of the structure of the electronic device 100;
[0036] Figure 2B is a software structure block diagram of an electronic device 100 according to an embodiment of the present invention;
[0037] Figures 3A-3W illustrate the display positions of application icons on the mobile desktop of the electronic device 100 when it receives user input;
[0038] Figures 4A-4E illustrate how the electronic device 100 moves icons near target fill vacancies to other fill vacancies;
[0039] Figures 4F-4H illustrate schematic diagrams of how electronic device 100 generates folders based on application icons on a user's mobile desktop;
[0040] Figures 5A-5L illustrate schematic diagrams of an electronic device 100 receiving user input to a folder icon on a mobile desktop. Detailed Implementation
[0041] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0042] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0043] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with a user. It realizes the conversion between the internal form of information and the form that the user can accept. The most common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be visual interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of a wearable device.
[0044] First, the technical terms used in this application will be explained.
[0045] 1. Fill the empty spaces.
[0046] Filling empty spaces can refer to the locations on the desktop that will accommodate icons.
[0047] For example, Figure 1A shows a schematic diagram of fill slots on the desktop of an electronic device 100. As shown in Figure 1A, the desktop of the electronic device 100 includes multiple fill slots, and the dashed boxes in Figure 1A represent fill slots, for example, 12 fill slots. Fill slots can be used to fill application icons, folder icons, or card icons, etc.
[0048] Needless to say, Figure 1A only shows a schematic diagram of filling empty spaces on the desktop of an electronic device 100, and this application does not limit it.
[0049] For example, as shown in Figure 1B, when the fill space displays the application icon of a single application, one application icon can be displayed in one fill space. For example, the fill space 1001 displays the application icon of the Notes application.
[0050] For example, as shown in Figures 1C and 1D, when a folder icon is displayed in a fill space, a folder icon can occupy one or more fill spaces. As shown in Figure 1C, a folder icon can occupy one fill space, i.e., fill space 1001. A folder can display one or more application icons. Figure 1C shows a folder displaying two application icons, such as the flashlight application icon and the notes application icon. As shown in Figure 1D, a folder icon can also occupy multiple fill spaces, for example, occupying two fill spaces, i.e., fill spaces 1001 and 1002. Fill spaces 1001 and 1002 display folder icons, and these folders display the flashlight application icon and the notes application icon. In some embodiments, application card icons can also be displayed within the folder, but these are not shown in the figures.
[0051] For example, as shown in Figure 1E, when an application's card icon is displayed in a fill space, an application's card icon can occupy one or more fill spaces. The parking application's card icon shown in Figure 1E occupies two fill spaces, namely fill space 1001 and fill space 1002.
[0052] 2. Target fill space, number of fill spaces near the target fill space, number of fill spaces horizontally to the target fill space, and number of fill spaces vertically to the target fill space.
[0053] The target fill space can refer to the final position of the icon on the desktop when the user moves it.
[0054] The empty spaces near the target empty space can refer to multiple consecutive empty spaces, including the target empty space.
[0055] For example, as shown in Figure 1F, when the fill space 1001 is the target fill space, the number of fill spaces near the target fill space may include the 12 fill spaces shown in Figure 1F.
[0056] For example, as shown in Figure 1G, the fill space 1008 displays the application icon of the Memo app. When the fill space 1001 is the target fill space, the number of fill spaces near the target fill space can include 11 fill spaces other than the fill space 1008.
[0057] For example, as shown in Figure 1H, the fill space 1006 displays the app icon of the Notes app, the fill space 1009 displays the app icon of the Weather app, and the fill space 1010 displays the app icon of the Calendar app. When the fill space 1001 is the target fill space, the number of fill spaces near the target fill space can include the six fill spaces: fill space 1001, fill space 1003, fill space 1004, fill space 1005, fill space 1008, and fill space 1011.
[0058] The number of fill spaces horizontally in the target fill space can refer to multiple consecutive fill spaces to the left or right of the target fill space, including the target fill space itself.
[0059] For example, as shown in Figure 1G or Figure 1H, when the fill space 1001 is the target fill space, the number of fill spaces in the horizontal direction of fill space 1001 includes 3, namely fill space 1001, fill space 1003 and fill space 1004.
[0060] The number of fill gaps in the vertical direction of the target fill gap can refer to multiple consecutive fill gaps above or below the target fill gap, including the target fill gap itself.
[0061] For example, as shown in Figure 1G, when the fill space 1001 is the target fill space, the number of fill spaces in the vertical direction of fill space 1001 includes 4, namely fill space 1001, fill space 1005, fill space 1006 and fill space 1007.
[0062] For example, as shown in Figure 1H, when the fill space 1001 is the target fill space, the number of fill spaces in the vertical direction of fill space 1001 includes 2, namely fill space 1001 and fill space 1005.
[0063] To meet functional requirements, the number of applications installed on electronic devices is increasing, resulting in a growing number of application icons on the device's icon display interface (also known as the desktop). Users can move application icons displayed on the desktop, for example, to a target empty space. For an application icon to be moved to the target empty space, the number of empty spaces near the target empty space must be greater than or equal to the number of empty spaces required for the user to move the application icon. If the number of empty spaces near the target empty space is less than the number of empty spaces required for the user to move the application icon, the user will be unable to move the application icon to the target empty space, and the electronic device 100 will still display the user-moved application icon in its initial position.
[0064] Based on this, this application provides a desktop icon management method. The method includes: the desktop of an electronic device 100 includes multiple icons, which may include any one or more of application icons, folder icons, and card icons. One or more application icons or one or more card icons are displayed within a folder. The card can be a display method for shortcut operations of applications installed on the electronic device 100, and the card displays information within the application. In this way, the user can obtain information within the application without opening the application, through the information displayed on the card. For example, the card can be a weather application card; the user can view the weather conditions on the weather application card without opening the weather application. For example, the card can be a parking application card; the user can view parking information, such as parking duration and parking location, on the parking application card without opening the parking application.
[0065] The electronic device 100 can receive a first operation, which is to select multiple icons and drag them to the target to fill empty spaces.
[0066] In response to the first operation, the electronic device 100 needs to determine whether the number of fill spaces near the target fill space is greater than the number of multiple icons.
[0067] If the number of empty spaces near the target location is greater than or equal to the number of multiple icons, the electronic device 100 can display those multiple icons near the target location.
[0068] If the number of empty spaces near the target empty space is less than the number of multiple icons, the electronic device 100 can obtain the number of empty spaces in the horizontal direction or the number of empty spaces in the vertical direction of the target empty space.
[0069] If the number of horizontal and vertical fill spaces of the target fill space is both greater than or equal to a first value (e.g., 2), in one possible implementation, the electronic device 100 may prompt the user to create a horizontal folder or a vertical folder. If the user selects to create a horizontal folder, the electronic device 100 may display the horizontal folder near the target fill space and display multiple icons within the horizontal folder, wherein the number of fill spaces occupied by the horizontal folder is less than or equal to the number of horizontal fill spaces of the target fill space. If the user selects to create a vertical folder, the electronic device 100 may display the vertical folder near the target fill space and display multiple icons within the vertical folder, wherein the number of fill spaces occupied by the vertical folder is less than or equal to the number of vertical fill spaces of the target fill space.
[0070] In other possible implementations, if the number of horizontal fill spaces in the target fill space is greater than the number of vertical fill spaces in the target fill space, the electronic device 100 can generate a horizontal folder and display the horizontal folder near the target fill space. Similarly, if the number of vertical fill spaces in the target fill space is greater than the number of horizontal fill spaces in the target fill space, the electronic device 100 can generate a horizontal folder and display the horizontal folder near the target fill space.
[0071] In other possible implementations, the electronic device 100 may also generate either a horizontal or vertical folder by default. For example, the electronic device 100 may receive a setting to generate either a horizontal or vertical folder by default.
[0072] Not limited to the above methods, the electronic device 100 can also generate folders based on multiple icons dragged by the user in other ways, and this application does not limit this.
[0073] Optionally, after the electronic device 100 generates horizontal or vertical folders, the user can directly click the application icon in the first folder to open the application corresponding to that application icon.
[0074] In other embodiments, if the number of empty spaces near the target fill space is less than the number of icons, the electronic device 100 can move the icons near the target location to other locations, so that the number of empty spaces near the target fill space is greater than or equal to the number of icons. Then, the electronic device 100 can display multiple icons near the target fill space.
[0075] Using this method, the electronic device 100 can automatically generate a folder based on the number of icons moved by the user, when the number of empty spaces near the target empty space is less than the number of empty spaces occupied by the icons moved by the user. This enables the display of icons moved by the user near the target empty space, improving the efficiency of desktop icon management and enhancing the user experience.
[0076] The hardware structure of an electronic device 100 provided in the embodiments of this application is described below.
[0077] Figure 2A shows a schematic diagram of the structure of the electronic device 100.
[0078] The following description uses electronic device 100 as an example to illustrate the embodiment. It should be understood that the electronic device 100 shown in FIG. 2A is merely an example, and the electronic device 100 may have more or fewer components than those shown in FIG. 2A, may combine two or more components, or may have different component configurations. The various components shown in FIG. 2A can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0079] Electronic device 100 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0080] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0081] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0082] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0083] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0084] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0085] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0086] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0087] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0088] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0089] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0090] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0091] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0092] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0093] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0094] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0095] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD). The display panel can also be manufactured using organic light-emitting diodes (OLEDs), active-matrix organic light-emitting diodes (AMOLEDs), flexible light-emitting diodes (FLEDs), miniled, microled, micro-OLEDs, quantum dot light-emitting diodes (QLEDs), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0096] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0097] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, converting it into an image visible to the naked eye. The ISP can also perform algorithmic optimization on image noise and brightness. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0098] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0099] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0100] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0101] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0102] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0103] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0104] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0105] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0106] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0107] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0108] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0109] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0110] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. Gyroscope sensor 180B can be used to determine the motion posture of electronic device 100. Barometric pressure sensor 180C is used to measure air pressure. Magnetism sensor 180D includes a Hall sensor. Accelerometer sensor 180E can detect the magnitude of acceleration of electronic device 100 in various directions (generally three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic device, applied to applications such as screen orientation switching and pedometers. Distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, during scene shooting, electronic device 100 can use distance sensor 180F to measure distance for fast focusing. Proximity sensor 180G can include, for example, a light-emitting diode (LED) and a photodetector, such as a photodiode. The LED can be an infrared LED. Electronic device 100 emits infrared light outward through the LED. Electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that an object is near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that no object is near it. The electronic device 100 can use the proximity sensor 180G to detect when a user holds the electronic device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used for automatic unlocking and locking in folding case mode and pocket mode. The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness. The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the characteristics of the collected fingerprints to achieve fingerprint unlocking, access to application lock, fingerprint photography, fingerprint answering of calls, etc. The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. The touch sensor 180K is also called a "touch panel". Touch sensor 180K can be placed on display screen 194. The touch sensor 180K and display screen 194 together form a touch screen, also known as a "touchscreen". Touch sensor 180K is used to detect touch operations applied to or near it. Bone conduction sensor 180M can acquire vibration signals.
[0111] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0112] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0113] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0114] The SIM card interface 195 is used to connect the SIM card.
[0115] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.
[0116] Figure 2B is a software structure block diagram of an electronic device 100 according to an embodiment of the present invention.
[0117] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system libraries, and the kernel layer.
[0118] The application layer can include a series of application packages.
[0119] As shown in Figure 2B, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0120] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0121] As shown in Figure 2B, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0122] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0123] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0124] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0125] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0126] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0127] The notification manager allows applications to display notifications in the status bar. These notifications can convey information in a visual format and disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0128] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for system scheduling and management.
[0129] The core library consists of two parts: one part is the functionalities that the Java language needs to call, and the other part is the system's core library.
[0130] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0131] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0132] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0133] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0134] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0135] A 2D graphics engine is a graphics engine for 2D drawing.
[0136] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0137] This application provides a desktop icon management method, the method comprising: an electronic device receiving a first operation from a user on multiple application icons on the desktop, the first operation being an operation to move the multiple application icons to a first fill space; in response to the first operation, the electronic device displaying a first folder in the first fill space or horizontally or vertically above the first fill space, the first folder containing multiple application icons.
[0138] Optionally, when the electronic device displays the first folder horizontally or vertically in the first filled space, the user can directly click the application icon in the first folder to open the application corresponding to that application icon.
[0139] Optionally, the electronic device can first determine whether the number of empty spaces near the first empty space is greater than the number of multiple application icons. If it is greater, the electronic device can display multiple application icons near the first empty space. If it is less, the electronic device can display a first folder near the first empty space, and the first folder contains multiple application icons.
[0140] Optionally, the electronic device may not need to determine whether the number of fill spaces near the first fill space is greater than the number of multiple application icons. Instead, it can directly display the first folder in the first fill space, or horizontally or vertically adjacent to the first fill space, with multiple application icons displayed within the first folder.
[0141] This method allows electronic devices to generate a first folder based on multiple application icons dragged by the user, improving the efficiency of user management of icons on the desktop and enhancing the user experience.
[0142] Next, we will explain, in conjunction with the UI, how the electronic device 100 can receive user operations and the display position of application icons on the mobile desktop.
[0143] 1. Electronic device 100 receives user input of application icons on the mobile desktop.
[0144] Figures 3A-3W illustrate the display positions of application icons on the mobile desktop of the electronic device 100 when it receives user input.
[0145] Figures 3A-3F illustrate schematic diagrams of an electronic device 100 displaying user-dragged application icons near target-filled empty spaces based on user operations.
[0146] Figure 3A shows the desktop of the electronic device 100. As shown in Figure 3A, the desktop of the electronic device 100 displays multiple application icons and folder icons, such as application icons for life services, calendar, weather, Huawei Store, and smart home. Folders display application icons for multiple applications, such as application icons for music, reading, flashlight, and gallery.
[0147] Below the app icons are page indicators that show the total number of desktops, the location of the negative one screen, the location of the currently displayed desktop, and its position relative to other desktops. Below the page indicators is a tray area or dock. The tray area includes several tray icons, such as the camera app icon, the contacts app icon, the phone app icon, and the messaging app icon.
[0148] Optionally, application card icons can also be displayed on the desktop of the electronic device 100.
[0149] Electronic device 100 can also receive user operations, such as moving one or more of the application icons, folder icons, and card icons displayed on the desktop.
[0150] For example, as shown in FIG3A, the electronic device 100 can receive user actions on the desktop, such as a two-finger pinch operation. In response to the two-finger pinch operation, the electronic device 100 can display the user interface shown in FIG3B. As shown in FIG3B, multiple icons on the desktop of the electronic device 100 are in an editable state. The user can delete one or more application icons on the desktop, and the user can also move the display position of one or more application icons displayed on the desktop.
[0151] For example, as shown in FIG3B, the electronic device 100 can receive user input operations for the application icons of the life service application, the calendar application, and the weather application, such as clicking. In response to the user's input operation, the electronic device 100 can select the life service application, the calendar application, and the weather application.
[0152] Optionally, to indicate to the user the selected application, the electronic device 100 may display a mark on the application icon, such as mark 3001 on the icon of the life services application, mark 3002 on the icon of the calendar application, and mark 3003 on the icon of the weather application. Marks 3001, 3002, and 3003 are used to indicate to the user that the user has selected the life services application, the calendar application, and the weather application.
[0153] Users are not limited to selecting three applications; they can select more or fewer applications, and this application does not impose any restrictions on this.
[0154] After selecting the Life Services app, Calendar app, and Weather app, users can drag their finger to change the display position of the Life Services app, Calendar app, and Weather app on the desktop.
[0155] For example, as shown in FIG3C, the electronic device 100 can receive the user's operation of long-pressing and dragging the application icon, so that the user's finger moves from the display position of the application icon of the calendar application to the target fill space shown in FIG3C, where no other icons are displayed.
[0156] Optionally, while the user is dragging the application icon, the electronic device 100 may display icon 3004, which moves with the user's finger and is used to indicate the current display position of the application icon of one or more selected applications.
[0157] If a user needs to move the application icons of one or more selected applications to be displayed near the target fill space, the electronic device 100 needs to obtain the number of fill spaces required for the application icons of the one or more selected applications, as well as the number of fill spaces near the target fill space.
[0158] When the number of empty spaces near the target empty space is greater than or equal to the number of empty spaces required for the application icons of one or more applications selected by the user, the electronic device 100 may display the application icons of one or more applications selected by the user near the target empty space.
[0159] For example, as shown in Figure 3C, there are 4 fill spaces near the target fill space, and 3 fill spaces are required for the application icons of one or more applications selected by the user. The electronic device 100 can display the application icons of one or more applications selected by the user near the target fill space, such as displaying the user interface shown in Figure 3D. In this way, the electronic device 100 can display the application icons of multiple applications dragged by the user together, making it convenient to find and use multiple applications.
[0160] In some embodiments, when the number of fill spaces near the target fill space is greater than or equal to the number of fill spaces required for the application icons of one or more applications selected by the user, and the number of fill spaces horizontally to the target fill space is also greater than or equal to the number of fill spaces required for the application icons of one or more applications selected by the user, the electronic device 100 can also generate a horizontal folder, such as the folder 3210 shown in Figure 3E. Folder 3210 occupies three fill spaces and includes application icons for a life services application, a calendar application, and a weather application. The size of the application icons displayed in folder 3210 is the same as the size of the application icons shown in Figure 3B.
[0161] Figure 3F shows a schematic diagram of the method for generating a horizontal folder by an electronic device 100.
[0162] S301A, Electronic device 100 receives a first operation, the first operation being to drag application icons of multiple applications and move them to a target to fill empty spaces.
[0163] For example, the application icons of multiple applications can be the application icons of the life service application, the calendar application, and the weather application, as shown in Figure 3B.
[0164] For example, the first operation can be the operation shown in Figures 3B and 3C, which involves selecting multiple applications and dragging the application icons of the multiple applications.
[0165] Optionally, after selecting multiple applications, before dragging the application icons, the electronic device 100 may display markers on the application icons of the multiple applications to indicate to the user that these multiple applications are selected by the user. For example, as shown in Figure 3B, the electronic device 100 may display marker 3001 on the application icon of the lifestyle services application, marker 3002 on the application icon of the calendar application, and marker 3003 on the application icon of the weather application.
[0166] For example, not only the display position of the application icon of the mobile application, but also the display position of the application icon and the folder icon can be moved at the same time. For example, the user can select the folder icon and the weather application icon shown in Figure 3B, and drag the folder icon and the weather application icon to the target fill space. At this time, the user moves a total of 5 application icons, of which 4 are application icons of applications within the file and 1 is application icon of a single application.
[0167] S302A: If the number of empty spaces near the target empty space is greater than or equal to the number of multiple applications, the electronic device 100 displays the application icons of multiple applications near the target empty space.
[0168] In order for users to move the application icons of multiple applications to the vicinity of the target fill space, the electronic device 100 needs to confirm whether the number of fill spaces near the target fill space is greater than or equal to the number of multiple applications.
[0169] The vicinity of the target fill space can refer to multiple consecutive fill spaces, including the target fill space.
[0170] If the number of empty spaces near the target empty space is greater than or equal to the number of multiple applications, it means that the application icons of multiple applications can be moved to be displayed near the target empty space.
[0171] For example, as shown in FIG3C, there are 4 fill spaces near the target fill space and 3 applications moved by the user. The fill spaces near the target fill space can accommodate the application icons of multiple applications moved by the user. The electronic device 100 can display the application icons of multiple applications near the target fill space, such as displaying the user interface shown in FIG3D.
[0172] In some embodiments, when the number of fill spaces near the target fill space is greater than or equal to the number of multiple applications, the electronic device 100 may continue to determine whether the number of fill spaces in the horizontal direction of the target fill space, or the number of fill spaces in the vertical direction of the target fill space, is greater than the number of multiple applications.
[0173] When the number of empty spaces in the horizontal direction of the target empty space is greater than the number of multiple applications, the electronic device 100 can display application icons of multiple applications in the horizontal direction of the target empty space.
[0174] When the number of empty spaces in the vertical direction of the target filling space is greater than the number of multiple applications, the electronic device 100 can display application icons of multiple applications in the vertical direction of the target filling space.
[0175] When the number of empty spaces in both the horizontal and vertical directions of the target fill space exceeds the number of multiple applications, in one possible implementation, the electronic device 100 may prompt the user to choose whether to display the application icons of multiple applications horizontally or vertically in the target fill space. In other possible implementations, the electronic device 100 may also default to displaying the application icons of multiple applications horizontally or vertically in the target fill space.
[0176] In this way, the electronic device 100 can display the application icons of multiple applications that the user is moving in the same horizontal or vertical row, making it convenient for the user to view and use multiple applications.
[0177] In other embodiments, when the number of empty spaces near the target fill space is greater than or equal to the number of multiple applications, and when the number of empty spaces horizontally above the target fill space is greater than the number of multiple applications and / or the number of empty spaces vertically above the target fill space is greater than the number of multiple applications, the electronic device 100 may also generate a horizontal folder or a vertical folder, and display the application icons of multiple applications within the horizontal folder or vertical folder. The number of empty spaces occupied by the horizontal folder or vertical folder is greater than or equal to the vertical dimension of the multiple applications. For example, the electronic device 100 may generate the folder shown in FIG3E.
[0178] In this way, the electronic device 100 can display the application icons of multiple applications that the user moves in the same folder, making it convenient for the user to view and use multiple applications.
[0179] When the number of empty spaces near the target empty space is less than the number of empty spaces required for the application icons of one or more applications selected by the user, the electronic device 100 can obtain the number of empty spaces in the horizontal direction and the number of empty spaces in the vertical direction of the target empty space, determine the target folder size and target folder shape based on the number of empty spaces in the horizontal direction and the number of empty spaces in the vertical direction of the target empty space, and display the application icons of one or more applications selected by the user in the target folder.
[0180] The target folder size can refer to the number of empty spaces occupied by the target folder.
[0181] The target folder shape can include, but is not limited to, horizontal or vertical folders.
[0182] Figures 3G-3I show schematic diagrams of an electronic device 100 generating a horizontal folder.
[0183] For example, as shown in Figure 3G, the user interface shown in Figure 3G is similar to the user interface shown in Figure 3B, except that the user interface shown in Figure 3G includes the application icon for the Notes app.
[0184] After selecting the lifestyle services app, calendar app, and weather app, the user can drag their finger to change the display position of these apps on the desktop. For example, as shown in Figure 3H, the electronic device 100 can receive the user's long press and drag operation of the app icon, causing the user's finger to move from the display position of the calendar app icon to a target filled empty space, where no other icons are displayed.
[0185] As shown in Figure 3H, the number of fill spaces near the target fill space is 2, which is smaller than the application icons of one or more applications selected by the user. The electronic device 100 can obtain the number of fill spaces near the target fill space and determine the size and shape of the target folder based on the number of fill spaces near the target fill space. The target folder is then displayed near the fill spaces, and the size of the target folder is equal to the number of fill spaces near the target fill space. The shape of the target folder is a horizontal folder. For example, as shown in Figure 3I, the electronic device 100 can generate the folder 3005 shown in Figure 3I. The size of folder 3005 includes two fill spaces. Folder 3005 displays application icons for a life services application, a calendar application, and a weather application. The size of the application icons in folder 3005 is smaller than the icon size shown in Figure 3G.
[0186] Figures 3J-3L show schematic diagrams of an electronic device 100 generating vertical folders.
[0187] For example, as shown in Figure 3J, the user interface shown in Figure 3J is similar to the user interface shown in Figure 3E, except that the layout of the application icons shown in Figure 3J is different from that shown in Figure 3E.
[0188] After selecting the lifestyle services app, calendar app, and weather app, the user can drag their finger to change the display position of these apps on the desktop. For example, as shown in Figure 3K, the electronic device 100 can receive the user's operation of long-pressing and dragging the app icon, causing the user's finger to move from the display position of the calendar app icon to a target filled empty space, where no other icons are displayed.
[0189] As shown in Figure 3K, the number of fill spaces near the target fill space is two, which is smaller than the application icons of one or more applications selected by the user. The electronic device 100 can obtain the number of fill spaces near the target fill space and determine the size of the target folder based on the number of fill spaces near the target fill space. The target folder is then displayed near the fill spaces, and the size of the target folder is equal to the number of fill spaces near the target fill space. The target folder is a vertical folder. For example, as shown in Figure 3L, the electronic device 100 can generate the folder 3006 shown in Figure 3L. The size of folder 3006 includes two fill spaces. Folder 3006 displays application icons for a life services application, a calendar application, and a weather application. The size of the application icons in folder 3006 is smaller than the icon size shown in Figure 3J.
[0190] Figure 3M illustrates a flowchart of a method for generating horizontal or vertical folders using an electronic device 100.
[0191] S301B, electronic device 100 receives a first operation, the first operation being to drag application icons of multiple applications and move them to a target to fill empty spaces.
[0192] For example, the application icons of multiple applications can be the application icons of a life services application, a calendar application, and a weather application, as shown in Figure 3G. For example, the first operation can be the operation of selecting multiple applications and dragging their application icons, as shown in Figures 3G and 3H. Optionally, after selecting multiple applications but before dragging their icons, the electronic device 100 can display markers on the application icons to indicate to the user that these applications are selected. For example, as shown in Figure 3G, the electronic device 100 can display marker 3001 on the application icon of the life services application, marker 3002 on the application icon of the calendar application, and marker 3003 on the application icon of the weather application.
[0193] For example, the application icons of multiple applications can be the application icons of a life service application, a calendar application, and a weather application, as shown in Figure 3J. For example, the first operation can be the operation of selecting multiple applications and dragging their application icons, as shown in Figure 3J. Optionally, after selecting multiple applications but before dragging their icons, the electronic device 100 can display markers on the application icons to indicate to the user that these applications are selected. For example, as shown in Figure 3J, the electronic device 100 can display marker 3001 on the application icon of the life service application, marker 3002 on the application icon of the calendar application, and marker 3003 on the application icon of the weather application.
[0194] For example, not only the display position of the mobile application's icon, but also the display positions of the application icon and the folder icon can be moved at the same time. For instance, a user can select the folder icon and the weather application's icon, and drag the folder icon and the weather application's icon to the target fill space. In this case, the user moves a total of 5 application icons, of which 4 are application icons for applications within a file and 1 is an application icon for a single application.
[0195] S302B: If the number of empty spaces near the target fill space is less than the number of multiple applications, and the number of empty spaces horizontally in the target fill space is greater than or equal to a first value, the electronic device 100 displays the first folder horizontally in the target fill space. If the number of empty spaces vertically in the target fill space is greater than or equal to the first value, the electronic device 100 displays the first folder vertically in the target fill space.
[0196] For example, the first value can be 2, but it can also be other values, which are not limited in this application.
[0197] When the number of empty spaces near the target filling space is less than the number of multiple applications, and the number of empty spaces horizontally in the target filling space is greater than or equal to a first value, the electronic device 100 can automatically generate a horizontal folder. For example, if the first folder is a horizontal folder, the electronic device 100 can display the first folder horizontally in the target filling space.
[0198] In some embodiments, when the number of fill spaces near the target fill space is less than the number of multiple applications, the number of fill spaces in the horizontal direction of the target fill space is greater than or equal to a first value, and the number of fill spaces in the vertical direction of the target fill space is less than the first value, the electronic device 100 automatically generates a horizontal folder, for example, the first folder is a horizontal folder, and displays the first folder in the horizontal direction of the target fill space.
[0199] For example, a horizontal folder can be folder 3005 as shown in Figure 3I.
[0200] When the number of empty spaces near the target filling space is less than the number of multiple applications, and the number of empty spaces in the vertical direction of the target filling space is greater than or equal to a first value, the electronic device 100 can automatically generate a vertical folder. For example, if the first folder is a vertical folder, the electronic device 100 can display the first folder vertically in the target filling space.
[0201] In some embodiments, when the number of fill spaces near the target fill space is less than the number of multiple applications, the number of fill spaces in the vertical direction of the target fill space is greater than or equal to a first value, and the number of fill spaces in the horizontal direction of the target fill space is less than the first value, the electronic device 100 automatically generates a vertical folder, for example, the first folder is a vertical folder, and displays the first folder in the vertical direction of the target fill space.
[0202] For example, a vertical folder can be folder 3006 as shown in Figure 3L.
[0203] Using this method, electronic device 100 can automatically generate horizontal or vertical folders.
[0204] In some embodiments, when the number of horizontal fill spaces and the number of vertical fill spaces of the target fill space are both greater than or equal to a first value (e.g., 2), the electronic device 100 may prompt the user to generate a horizontal folder or a vertical folder.
[0205] Figures 3N-3P illustrate a schematic diagram of an electronic device 100 prompting a user to create a vertical or horizontal folder.
[0206] For example, as shown in Figure 3N, the user interface shown in Figure 3N is similar to the user interface shown in Figure 3F, except that the desktop shown in Figure 3N does not include icons for smart living applications.
[0207] After selecting the lifestyle services app, calendar app, and weather app, the user can drag their finger to change the display position of these apps on the desktop. For example, as shown in Figure 30, the electronic device 100 can receive the user's operation of long-pressing and dragging the app icon, causing the user's finger to move from the display position of the calendar app icon to a target filled empty space, where no other icons are displayed.
[0208] As shown in Figure 30, the number of horizontal fill spaces in the target fill space is 2, and the number of vertical fill spaces in the target fill space is also 2. The electronic device 100 can prompt the user to generate a horizontal folder or a vertical folder.
[0209] For example, as shown in Figure 3P, the electronic device 100 can display the prompt message 3007 shown in Figure 3P. The prompt message 3007 includes the text "Please select to create a horizontal folder or a vertical folder." This prompt message is used to prompt the user to create a horizontal folder or a vertical folder. The prompt message 3007 also includes horizontal folder options and vertical folder options. The user can select the horizontal folder option to make the electronic device 100 create a horizontal folder, such as displaying folder 3005 as shown in Figure 3I. The user can also select the vertical folder option to make the electronic device 100 create a vertical folder.
[0210] For example, as shown in Figure 3P, the electronic device 100 can receive user input operations for the vertical folder options in the prompt information 3007, such as clicking. In response to the user's input operation, the electronic device 100 can generate the target folder 3032 shown in Figure 3Q. As shown in Figure 3Q, the target folder 3032 includes two fill spaces. The target folder 3032 displays application icons for a life services application, a calendar application, and a weather application. The size of the application icons in the target folder 3032 is smaller than the icon size shown in Figure 3N.
[0211] Figure 3R illustrates a flowchart of the method by which an electronic device 100 prompts a user to create a horizontal or vertical folder.
[0212] S301C, electronic device 100 receives a first operation, the first operation being to drag application icons of multiple applications and move them to a target to fill empty spaces.
[0213] For example, the application icons of the multiple applications can be the application icons of a life services application, a calendar application, and a weather application, as shown in Figure 3N. For example, the first operation can be the operation shown in Figure 3N of selecting multiple applications and dragging their application icons. Optionally, after selecting multiple applications but before dragging their icons, the electronic device 100 can display markers on the application icons to indicate to the user that these applications are selected. For example, as shown in Figure 3N, the electronic device 100 can display marker 3001 on the application icon of the life services application, marker 3002 on the application icon of the calendar application, and marker 3003 on the application icon of the weather application.
[0214] For example, not only the display position of the application icon of the mobile application, but also the display position of the application icon and the folder icon can be moved at the same time. For example, the user can select the folder icon and the weather application icon shown in Figure 3N, and drag the folder icon and the weather application icon to the target fill space. At this time, the user moves a total of 5 application icons, of which 4 are application icons of applications within the file and 1 is application icon of a single application.
[0215] S302C. If the number of empty spaces near the target empty space is less than the number of multiple applications, and the number of empty spaces in both the horizontal and vertical directions of the target empty space is greater than the first value, the electronic device 100 displays the first prompt information, which prompts the user to select to generate a horizontal folder or a vertical folder.
[0216] In some embodiments, when the number of fill spaces in the horizontal direction and the number of fill spaces in the vertical direction of the target fill space in the electronic device 100 are both greater than or equal to a first value, the electronic device 100 may prompt the user to select to generate a horizontal folder or a vertical folder.
[0217] For example, the first prompt message can be prompt message 3007 as shown in Figure 3P.
[0218] S303C, electronic device 100 receives a second operation from the user in response to the first prompt information, and determines the size and shape of the first folder. When the shape of the first folder is a horizontal folder, the size of the first folder is less than or equal to the number of horizontal fill spaces of the target fill space. When the shape of the first folder is a vertical folder, the size of the first folder is less than or equal to the number of vertical fill spaces of the target fill space.
[0219] The second operation is used to select whether to generate a horizontal or vertical folder.
[0220] For example, the second action could be an input action on the horizontal folder option in prompt message 3007, such as clicking. For example, the first target folder could be folder 3005 as shown in Figure 3I.
[0221] After confirming the generation of the horizontal folder, the electronic device 100 can obtain the number of horizontal fill spaces in the target fill space and determine the size of the first target folder based on the number of horizontal fill spaces in the target fill space. The size of the first target folder is less than or equal to the number of horizontal fill spaces in the target fill space.
[0222] For example, the second operation could also be an input operation for the vertical folder option in prompt message 3007, such as clicking. For example, the first target folder could be a target folder 3032 similar to that shown in Figure 3Q.
[0223] After confirming the generation of the vertical folder, the electronic device 100 can obtain the number of fill spaces in the vertical direction of the target fill space, and determine the size of the first target folder based on the number of fill spaces in the vertical direction of the target fill space. The size of the first target folder is less than or equal to the number of fill spaces in the vertical direction of the target fill space.
[0224] Using this method, the electronic device 100 can prompt the user to create horizontal or vertical folders.
[0225] Figure 3S shows a schematic diagram of the method for automatically generating horizontal or vertical folders by electronic device 100.
[0226] S301D, electronic device 100 receives a first operation, which is to drag the application icons of multiple applications and move them to the target to fill the empty space.
[0227] For example, the application icons of the multiple applications can be the application icons of a life services application, a calendar application, and a weather application, as shown in Figure 3N. For example, the first operation can be the operation shown in Figure 3N of selecting multiple applications and dragging their application icons. Optionally, after selecting multiple applications but before dragging their icons, the electronic device 100 can display markers on the application icons to indicate to the user that these applications are selected. For example, as shown in Figure 3N, the electronic device 100 can display marker 3001 on the application icon of the life services application, marker 3002 on the application icon of the calendar application, and marker 3003 on the application icon of the weather application.
[0228] For example, not only the display position of the application icon of the mobile application, but also the display position of the application icon and the folder icon can be moved at the same time. For example, the user can select the folder icon and the weather application icon shown in Figure 3N, and drag the folder icon and the weather application icon to the target fill space. At this time, the user moves a total of 5 application icons, of which 4 are application icons of applications within the file and 1 is application icon of a single application.
[0229] S302D. If the number of empty spaces near the target filling space is less than the number of multiple applications, and the number of empty spaces in both the horizontal and vertical directions of the target filling space is greater than the first value, when the number of empty spaces in the horizontal direction of the target filling space is greater than the number of empty spaces in the vertical direction of the target filling space, the electronic device 100 displays the first folder in the horizontal direction of the target filling space; when the number of empty spaces in the vertical direction of the target filling space is greater than the number of empty spaces in the horizontal direction of the target filling space, the electronic device 100 displays the first folder in the vertical direction of the target filling space.
[0230] When the number of horizontal fill spaces in the target fill space is greater than or equal to the first value, and / or the number of vertical fill spaces in the target fill space is greater than or equal to the first value, the electronic device 100 needs to confirm whether the number of horizontal fill spaces in the target fill space and the number of vertical fill spaces in the target fill space are both greater than or equal to the first value, in order to confirm the generation of a horizontal folder or a vertical folder.
[0231] When the number of horizontal fill spaces in the target fill space is greater than the number of vertical fill spaces in the target fill space, for example, electronic device 100 can generate a horizontal folder. When the number of vertical fill spaces in the target fill space is greater than the number of horizontal fill spaces in the target fill space, for example, electronic device 100 can generate a vertical folder.
[0232] Using this method, electronic device 100 can automatically generate horizontal or vertical folders.
[0233] Figures 3T-3V show schematic diagrams of an electronic device 100 automatically generating a minimum unit folder.
[0234] For example, as shown in Figure 3T, the user interface shown in Figure 3T is similar to the user interface shown in Figure 3F, except that the layout of the application icons shown in Figure 3T is different from that shown in Figure 3F.
[0235] After selecting the lifestyle services app, calendar app, and weather app, the user can drag their finger to change the display position of these apps on the desktop. For example, as shown in Figure 3T, the electronic device 100 can receive the user's operation of long-pressing and dragging the app icon, causing the user's finger to move from the display position of the calendar app icon to a target filled empty space, where no other icons are displayed.
[0236] As shown in Figure 3U, the number of empty spaces near the target fill space is one, which is smaller than the application icons of one or more applications selected by the user. The electronic device 100 can obtain the number of empty spaces near the target fill space, determine the size of the target folder based on the number of empty spaces near the target fill space, and display the target folder near the fill space. The size of the target folder is equal to the number of empty spaces near the target fill space. For example, as shown in Figure 3V, the electronic device 100 can generate the target folder 3008 shown in Figure 3V. The size of the target folder 3008 includes one fill space. The target folder 3008 displays application icons for a life service application, a calendar application, and a weather application. The size of the application icons in the target folder 3008 is smaller than the icon size shown in Figure 3T.
[0237] Optionally, the size of the target folder 3008 is smaller than the size of the folder 3005, and the size of the application icon in the target folder 3008 is smaller than the size of the application icon in the folder 3005.
[0238] Figure 3W shows a schematic diagram of the method for generating the smallest unit folder by electronic device 100.
[0239] S301E, electronic device 100 receives a first operation, which is to drag the application icons of multiple applications and move them to the target to fill the empty space.
[0240] For example, the application icons of multiple applications can be the application icons of a life service application, a calendar application, and a weather application, as shown in Figure 3T. For example, the first operation can be the operation shown in Figure 3T of selecting multiple applications and dragging their application icons. Optionally, after selecting multiple applications but before dragging their icons, the electronic device 100 can display markers on the application icons to indicate to the user that these applications are selected. For example, as shown in Figure 3T, the electronic device 100 can display marker 3001 on the application icon of the life service application, marker 3002 on the application icon of the calendar application, and marker 3003 on the application icon of the weather application.
[0241] For example, not only the display position of the application icon of the mobile application, but also the display position of the application icon and the folder icon can be moved at the same time. For example, the user can select the folder icon and the weather application icon shown in Figure 3T, and drag the folder icon and the weather application icon to the target fill space. At this time, the user moves a total of 5 application icons, of which 4 are application icons of applications within the file and 1 is application icon of a single application.
[0242] S302E: If the number of empty spaces near the target empty space is less than the number of multiple applications, and the number of empty spaces in both the horizontal and vertical directions of the target empty space is less than the first value, the electronic device 100 displays the first folder in the target empty space and displays the application icons of multiple applications in the first folder.
[0243] When the number of fill gaps near the target fill gap is less than the number of multiple applications, the electronic device 100 needs to confirm whether the number of fill gaps in the horizontal direction of the target fill gap and the number of fill gaps in the vertical direction of the target fill gap are both less than the first value.
[0244] When the number of fill gaps in the horizontal direction and the number of fill gaps in the vertical direction of the target fill gap are both less than a first value, the electronic device 100 must be able to generate a minimum unit folder. For example, the minimum unit folder can be the target folder 3008 shown in Figure 3V.
[0245] Using this method, electronic device 100 can automatically generate the smallest unit folder.
[0246] Optionally, the target fill vacancy mentioned in Figures 3A-3W can also be referred to as the first fill vacancy.
[0247] In some embodiments, when the number of empty spaces near the target empty space is less than the number of empty spaces required for the application icons of one or more applications selected by the user, the electronic device 100 can move the icons near the target empty space to be displayed on other empty spaces, so that the number of empty spaces near the target empty space is greater than or equal to the number of empty spaces required for the application icons of one or more applications selected by the user.
[0248] Optionally, other padding spaces can refer to padding spaces within the page containing the target padding space, or padding spaces on other pages.
[0249] Figures 4A-4E illustrate how the electronic device 100 moves icons near target fill vacancies to other fill vacancies.
[0250] As shown in Figure 4A, after selecting the Life Services app, Calendar app, and Weather app, the user can drag their finger to change the display position of these apps on the desktop. For example, as shown in Figure 4A, the electronic device 100 can receive user long-press and drag operations on the app icons, causing the user's finger to move from the display position of the Calendar app icon to a target empty space where no other icons are displayed.
[0251] As shown in Figure 4B, the number of empty spaces near the target empty space is 2, which is less than the number of application icons of one or more applications selected by the user. The electronic device 100 can move the icons near the target empty space. For example, the electronic device 100 can move the display position of the application icon of the memo application.
[0252] In one possible implementation, the electronic device 100 can display the app icon of the Notes app on another page, such that the number of empty spaces near the target fill space is greater than or equal to the number of empty spaces required for the app icons of one or more apps selected by the user. For example, after the electronic device 100 displays the app icon of the Notes app on another page, if there are four empty spaces near the target fill space, the electronic device 100 can display the app icons of one or more apps selected by the user near the target fill space, such as displaying the user interface shown in Figure 4C.
[0253] Then, the electronic device 100 can receive a swiping operation performed by the user on the user interface shown in FIG4C, such as a swipe to the left. The electronic device 100 can then display the user interface shown in FIG4D. The user interface shown in FIG3U includes the application icon of the memo application.
[0254] In other possible implementations, the electronic device 100 can display the application icon of the Notes app on other empty spaces on this page, such that the number of empty spaces near the target empty space is greater than or equal to the number of empty spaces required for the application icons of one or more applications selected by the user. After the electronic device 100 displays the application icon of the Notes app on an empty space on this page, for example, the application icon of the Notes app is displayed on the empty space shown in Figure 4E, and the number of empty spaces near the target empty space is 3, the electronic device 100 can display the application icons of one or more applications selected by the user near the target empty space.
[0255] In some embodiments, the electronic device 100 may also prompt the user to choose whether to display the memo application icon in the fill space of this page or in the fill space of another page.
[0256] In this way, the electronic device 100 can display the application icons of multiple applications that the user drags together, making it convenient to find and use these multiple applications.
[0257] In some embodiments, the electronic device 100 may also receive user operations to generate a folder based on multiple application icons moved by the user, and the number of fill spaces occupied by the folder horizontally and vertically may be the same.
[0258] For example, as shown in Figure 4F, after selecting the Life Services app, Calendar app, and Weather app, the user can drag their finger to change the display position of the Life Services app, Calendar app, and Weather app on the desktop. For example, as shown in Figure 4G, the electronic device 100 can receive the user's operation of long-pressing and dragging the app icon, causing the user's finger to move from the display position of the Calendar app icon to the target filled empty space shown in Figure 4G, where no other icons are displayed.
[0259] As shown in Figure 4G, the number of fill spaces near the target fill space is 4, which is greater than the number of application icons of one or more applications selected by the user. The electronic device 100 can generate a first folder based on the fill spaces near the target fill space and display multiple application icons dragged by the user in the first folder.
[0260] For example, as shown in Figure 4H, the first folder can be folder 4010, which occupies 4 fill spaces, 2 fill spaces horizontally, and 2 fill spaces vertically.
[0261] 2. Electronic device 100 receives user input to move folder icons on the desktop.
[0262] In some embodiments, the electronic device 100 can also receive user actions to move folder icons on the desktop. When the number of horizontal and vertical fill spaces in the target fill space is less than the size of the folder being moved by the user, the electronic device 100 can change the size of the folder being moved by the user based on the number of horizontal or vertical fill spaces in the target fill space, so that the folder being moved by the user can be displayed near the target fill space.
[0263] Figures 5A-5L illustrate schematic diagrams of an electronic device 100 receiving user input to a folder icon on a mobile desktop.
[0264] In some embodiments, if the number of fill spaces in the horizontal direction of the target fill space is greater than or equal to a first value (e.g., 2), and the number of fill spaces in the vertical direction of the target fill space is less than the first value, the electronic device 100 can generate a horizontal folder from the folder dragged by the user.
[0265] Figures 5A-5C illustrate a schematic diagram of an electronic device 100 generating a horizontal folder based on a user-dragdled folder.
[0266] For example, this application embodiment uses the example of an electronic device 100 receiving user operation on a first folder on a mobile desktop for illustration.
[0267] Figure 5A shows the desktop of electronic device 100. As shown in Figure 5A, the desktop of electronic device 100 displays multiple application icons and folder 5001 icons, such as the application icons for Huawei Store and Smart Home. Folder 5001 displays application icons for multiple applications, such as the application icons for Music, Reading, Flashlight, and Gallery.
[0268] For example, as shown in FIG5A, electronic device 100 can receive user input operations on folder 5001, such as clicking, and in response to the user's input operation, electronic device 100 can select folder 5001.
[0269] Optionally, in order to prompt the user that the folder 5001 has been selected, the electronic device 100 may display a mark on the icon of the folder 5001, such as mark 5002 on the icon of the folder 5001. Mark 5002 is used to prompt the user that the folder 5001 has been selected.
[0270] Users are not limited to selecting one folder; they can also select and move more folders simultaneously. This application does not impose any restrictions on this.
[0271] For example, as shown in Figure 5B, the electronic device 100 can receive the user's operation of long-pressing and dragging the icon of folder 5001, so that the user's finger moves from the display position of the icon of folder 5001 to the target filling space, where no other icons are displayed.
[0272] Optionally, while the user is dragging folder 5001, the electronic device 100 may display icon 5003, which moves with the user's finger and is used to indicate the current display position of the icon of the selected folder.
[0273] If a user needs to move the selected folder 5001 to a location near the target fill space, the electronic device 100 needs to obtain the number of fill spaces required for the selected folder 5001, as well as the number of horizontal and vertical fill spaces of the target fill space. Based on the number of horizontal or vertical fill spaces of the target fill space, the electronic device 100 can change the size and shape of the folder the user is moving, so that the folder can be displayed near the target fill space.
[0274] For example, as shown in Figure 5C, the target fill space has 3 horizontal fill spaces, and the folder 5001 selected by the user requires 4 fill spaces. The electronic device 100 needs to change the size and shape of folder 5001. For example, it can change the shape of folder 5001 to a horizontal folder and change the size of folder 5001 to occupy three fill spaces. Based on the size-modified folder 5001, the size of the application icons displayed within folder 5001 can be modified. For example, the electronic device 100 can display folder 5004 as shown in Figure 5C. Folder 5004 includes application icons for a music application, a reading application, a flashlight application, and a gallery application. The size of folder 5004 is smaller than the size of folder 5001, and the size of the application icons displayed within folder 5004 is smaller than the size of the application icons displayed within folder 5001.
[0275] In some embodiments, if the number of fill spaces in the vertical direction of the target fill space is greater than or equal to a first value (e.g., 2), and the number of fill spaces in the horizontal direction of the target fill space is less than the first value, the electronic device 100 can generate a vertical folder from the folder dragged by the user.
[0276] Figures 5D-5F illustrate a schematic diagram of an electronic device 100 generating vertical folders based on user-dragdled folders.
[0277] For example, as shown in Figure 5D, the electronic device 100 can receive the user's operation of long-pressing and dragging the icon of folder 5001, so that the user's finger moves from the display position of the icon of folder 5001 to the target filling space, where no other icons are displayed.
[0278] If a user needs to move the selected folder 5001 to a location near the target fill space, the electronic device 100 needs to obtain the number of fill spaces required for the selected folder 5001, as well as the number of horizontal and vertical fill spaces of the target fill space. Based on the number of horizontal or vertical fill spaces of the target fill space, the electronic device 100 can change the size and shape of the folder the user is moving, so that the folder can be displayed near the target fill space.
[0279] For example, as shown in Figure 5D, the target fill space has 4 horizontal fill spaces, and the folder 5001 selected by the user requires 4 fill spaces. The electronic device 100 needs to change the shape of the folder 5001, for example, changing the shape of the folder 5001 to a vertical folder. The size of the folder 5001 does not need to be modified. For example, the electronic device 100 can display the folder 5005 shown in Figure 5E. The folder 5005 includes application icons for a music application, a reading application, a flashlight application, and a gallery application. The size of the folder 5005 is the same as the size of the folder 5001, and the size of the application icons displayed in the folder 5005 is the same as the size of the application icons displayed in the folder 5001.
[0280] In some embodiments, if the number of horizontal fill spaces in the target fill space is less than the number of fill spaces required by the folder 5001, the electronic device 100 also needs to reduce the size of the folder 5001 and the size of the application icons displayed in the folder 5001.
[0281] Figure 5F shows a schematic diagram of the method for generating horizontal or vertical folders based on user-dragdled folders in electronic device 100.
[0282] S501A, Electronic Device 100 receives the operation of dragging the first folder and moving it to the target to fill the empty space.
[0283] For example, the first folder can be folder 5001 as shown in Figure 5A, and the icon can be the icon of folder 5001 as shown in Figure 5A.
[0284] For example, dragging the first folder can be the dragging of folder 5001 as shown in Figure 5A.
[0285] Optionally, after selecting folder 5001, before dragging folder 5001, electronic device 100 may display a marker on the icon of folder 5001 to indicate to the user that folder 5001 has been selected. For example, as shown in Figure 5A, electronic device 100 may display marker 5002 on the icon of folder 5001.
[0286] S502A: If the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, and the number of fill spaces horizontally in the target fill space is greater than or equal to a first value, the electronic device 100 displays the second folder horizontally in the target fill space. If the number of fill spaces vertically in the target fill space is greater than or equal to the first value, the electronic device 100 displays the second folder vertically in the target fill space.
[0287] Electronic device 100 needs to confirm whether the shape formed by the fill spaces near the target fill space includes the shape of the first folder.
[0288] When the shape of the fill spaces near the target fill space includes the shape of the first folder, the electronic device 100 can display the first folder near the target fill space.
[0289] When the shape of the fill spaces near the target fill space does not include the shape of the first folder, the electronic device 100 needs to change the shape of the first folder.
[0290] For example, if the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, and the number of fill spaces in the horizontal direction of the target fill space is greater than or equal to the first value, the electronic device 100 can automatically generate a horizontal folder. For example, if the second folder is a horizontal folder, the electronic device 100 can display the second folder horizontally in the target fill space.
[0291] In some embodiments, if the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, the number of fill spaces in the horizontal direction of the target fill space is greater than or equal to a first value, and the number of fill spaces in the vertical direction of the target fill space is less than the first value, the electronic device 100 automatically generates a horizontal folder, for example, the second folder is a horizontal folder, and displays the second folder in the horizontal direction of the target fill space.
[0292] For example, a horizontal folder could be folder 5004 as shown in Figure 5C.
[0293] For example, if the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, and the number of fill spaces in the vertical direction of the target fill space is greater than or equal to the first value, the electronic device 100 can automatically generate a vertical folder. For example, if the second folder is a vertical folder, the electronic device 100 can display the second folder in the vertical direction of the target fill space.
[0294] In some embodiments, if the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, the number of fill spaces in the vertical direction of the target fill space is greater than or equal to a first value, and the number of fill spaces in the horizontal direction of the target fill space is less than the first value, the electronic device 100 automatically generates a vertical folder, for example, the second folder is a vertical folder, and displays the second folder in the vertical direction of the target fill space.
[0295] For example, a vertical folder can be folder 5005 as shown in Figure 5E.
[0296] Using this method, the electronic device 100 can automatically change the shape of the first folder dragged by the user.
[0297] In some embodiments, when the number of horizontal fill spaces and the number of vertical fill spaces of the target fill space are both greater than or equal to a first value (e.g., 2), the electronic device 100 may prompt the user to generate a horizontal folder or a vertical folder from the folder dragged by the user.
[0298] Figures 5G and 5I illustrate a schematic diagram of an electronic device 100 prompting a user to create a vertical or horizontal folder.
[0299] For example, as shown in Figure 5G, the electronic device 100 can receive the user's operation of long-pressing and dragging the icon of folder 5001, so that the user's finger moves from the display position of the icon of folder 5001 to the target filling space, where no other icons are displayed.
[0300] If a user needs to move the selected folder 5001 to a location near the target fill space, the electronic device 100 needs to obtain the number of fill spaces required for the selected folder 5001, as well as the number of horizontal and vertical fill spaces of the target fill space. Based on the number of horizontal or vertical fill spaces of the target fill space, the electronic device 100 can change the size and shape of the folder the user is moving, so that the folder can be displayed near the target fill space.
[0301] For example, as shown in Figure 5G, the number of horizontal fill gaps in the target fill gap is 3, the number of horizontal fill gaps in the target fill gap is 4, and the number of horizontal fill gaps in the target fill gap and the number of vertical fill gaps in the target fill gap are both greater than 2.
[0302] In one possible implementation, the electronic device 100 may prompt the user to generate a horizontal folder or a vertical folder from the folder the user drags.
[0303] For example, as shown in Figure 5H, the electronic device 100 can display the prompt message 5006 shown in Figure 5H. The prompt message 5006 includes the text "Please select to generate a horizontal folder or a vertical folder." This prompt message is used to prompt the user to generate a horizontal folder or a vertical folder. The prompt message 5006 also includes horizontal folder options and vertical folder options. The user can select the horizontal folder option to generate a horizontal folder, or the user can select the vertical folder option to generate a vertical folder.
[0304] For example, electronic device 100 can receive input from a user in response to the horizontal folder option in prompt information 5006, such as clicking. In response to the user's input, electronic device 100 can generate folder 5004 as shown in Figure 5C.
[0305] For example, electronic device 100 can also receive user input operations for the vertical folder options in prompt information 5006, such as clicking. In response to the user's input operation, electronic device 100 can generate folder 5005 as shown in Figure 5E.
[0306] In other possible implementations, the electronic device 100 can compare whether the number of horizontal fill spaces in the target fill space is greater than the number of vertical fill spaces. If the number of horizontal fill spaces in the target fill space is greater than the number of vertical fill spaces, the electronic device 100 can automatically generate a horizontal folder. If the number of vertical fill spaces in the target fill space is greater than the number of horizontal fill spaces, the electronic device 100 can automatically generate a vertical folder. If the number of horizontal fill spaces in the target fill space is the same as the number of vertical fill spaces, the electronic device 100 then prompts the user to generate either a horizontal or vertical folder.
[0307] In other possible implementations, if the number of horizontal and vertical fill spaces of the target fill space is greater than or equal to a first value (e.g., 2), the electronic device 100 may also generate a horizontal or vertical folder by default. This setting may be set automatically by the system or set by the user.
[0308] Figure 5I shows a schematic diagram of the method by which the electronic device 100 prompts the user to create a horizontal or vertical folder.
[0309] S501B, Electronic Device 100 receives and drags the first folder and moves it to the target to fill the empty space.
[0310] For example, the first folder can be folder 5001 as shown in Figure 5A, and the icon can be the icon of folder 5001 as shown in Figure 5A.
[0311] For example, dragging the first folder can be the dragging of folder 5001 as shown in Figure 5G.
[0312] Optionally, after selecting folder 5001, before dragging folder 5001, electronic device 100 may display a marker on the icon of folder 5001 to indicate to the user that folder 5001 has been selected. For example, as shown in Figure 5A, electronic device 100 may display marker 5002 on the icon of folder 5001.
[0313] For example, the target filling space can be the filling space where the user's finger is located, as shown in Figure 5G.
[0314] S502B If the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, and the number of fill spaces in both the horizontal and vertical directions of the target fill space is greater than the first value, the electronic device 100 displays a second prompt message. The second prompt message is used to prompt the user to select to generate a horizontal folder or a vertical folder.
[0315] If the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, and the number of fill spaces in both the horizontal and vertical directions of the target fill space is greater than the first value, the electronic device 100 can prompt the user to select to generate a horizontal folder or a vertical folder.
[0316] For example, the second prompt message can be prompt message 5006 as shown in Figure 5H.
[0317] S503B, electronic device 100 receives a third operation from the user in response to the second prompt information, and determines the size and shape of the second folder. When the shape of the second folder is a horizontal folder, the size of the second folder is less than or equal to the number of horizontal fill spaces of the target fill space. When the shape of the second folder is a vertical folder, the size of the second folder is less than or equal to the number of vertical fill spaces of the target fill space.
[0318] The third operation is used by the electronic device 100 to generate horizontal or vertical folders.
[0319] For example, the third action could be an input action in response to the horizontal folder option in prompt 5006, such as clicking. For example, the fourth target folder could be folder 5004 as shown in Figure 5C.
[0320] After confirming the generation of the horizontal folder, the electronic device 100 can obtain the number of horizontal fill spaces in the target fill space and determine the size of the fourth target folder based on the number of horizontal fill spaces in the target fill space. The size of the fourth target folder is less than or equal to the number of horizontal fill spaces in the target fill space.
[0321] For example, the third action could also be an input action for the vertical folder option in prompt message 5006, such as clicking. For example, the first target folder could be folder 5004 as shown in Figure 5E.
[0322] After confirming the generation of the vertical folder, the electronic device 100 can obtain the number of fill spaces in the vertical direction of the target fill space, and determine the size of the fourth target folder based on the number of fill spaces in the vertical direction of the target fill space. The size of the fourth target folder is less than or equal to the number of fill spaces in the vertical direction of the target fill space.
[0323] Using this method, the electronic device 100 can prompt the user to change the shape of the first folder being dragged.
[0324] In some embodiments, if the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, and the number of fill spaces in both the horizontal and vertical directions of the target fill space is greater than the first value, the electronic device 100 may not display the second prompt information. The electronic device 100 can confirm whether the number of fill spaces in the horizontal direction of the target fill space is greater than the number of fill spaces in the vertical direction of the target fill space.
[0325] When the number of horizontal fill spaces in the target fill space is greater than the number of vertical fill spaces in the target fill space, the electronic device 100 can generate a horizontal folder.
[0326] When the number of fill spaces in the vertical direction of the target fill space is greater than the number of fill spaces in the horizontal direction of the target fill space, the electronic device 100 can generate a vertical folder.
[0327] In this way, the electronic device 100 can automatically generate larger horizontal or vertical folders, making the application icons displayed in the folders as large as possible, so that users can easily view the applications in the folders.
[0328] In some embodiments, the number of fill spaces in the horizontal direction and the number of fill spaces in the vertical direction of the target fill space are both less than a first value (e.g., 2), and the electronic device 100 can generate a minimum unit folder on the target fill space.
[0329] Figures 5J-5K illustrate a schematic diagram of an electronic device 100 generating a minimum unit folder based on a user-dragdled folder.
[0330] For example, as shown in Figure 5J, the electronic device 100 can receive the user's operation of long-pressing and dragging the icon of folder 5001, so that the user's finger moves from the display position of the icon of folder 5001 to the target filling space, where no other icons are displayed.
[0331] If a user needs to move the selected folder 5001 to a location near the target fill space, the electronic device 100 needs to obtain the number of fill spaces required for the selected folder 5001, as well as the number of horizontal and vertical fill spaces of the target fill space. Based on the number of horizontal or vertical fill spaces of the target fill space, the electronic device 100 can change the size and shape of the folder the user is moving, so that the folder can be displayed near the target fill space.
[0332] For example, as shown in Figure 5J, the number of horizontal fill gaps in the target fill gap is 1, and the number of horizontal fill gaps in the target fill gap is also 1. The number of horizontal fill gaps in the target fill gap and the number of vertical fill gaps in the target fill gap are both less than 2.
[0333] Electronic device 100 needs to change the size and shape of folder 5001. For example, the shape of folder 5001 can be modified to a minimum unit folder, with the size of the minimum unit folder being one fill space. For example, electronic device 100 can display folder 5007 as shown in Figure 5K. Folder 5007 includes application icons for a music application, a reading application, a flashlight application, and a gallery application. The size of folder 5007 is smaller than the size of folder 5001, and the size of the application icons displayed in folder 5007 is also smaller than the size of the application icons displayed in folder 5001.
[0334] Figure 5L shows a schematic diagram of the method for generating the smallest unit folder by electronic device 100.
[0335] The S501C and electronic device 100 receive and drag the first folder and move it to the target to fill the empty space.
[0336] For example, the first folder can be folder 5001 as shown in Figure 5A, and the icon can be the icon of folder 5001 as shown in Figure 5A.
[0337] For example, dragging the first folder can be the dragging of folder 5001 as shown in Figure 5J.
[0338] Optionally, after selecting folder 5001, before dragging folder 5001, electronic device 100 may display a marker on the icon of folder 5001 to indicate to the user that folder 5001 has been selected. For example, as shown in Figure 5A, electronic device 100 may display marker 5002 on the icon of folder 5001.
[0339] For example, the target filling space can be the filling space where the user's finger is located, as shown in Figure 5J.
[0340] S502C. If the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, and the number of fill spaces in both the horizontal and vertical directions of the target fill space is less than the first value, the electronic device 100 displays the second folder in the target fill space and displays application icons of multiple applications in the second folder.
[0341] If the shape formed by the number of fill spaces near the target fill space does not include the shape of the first folder, and the number of fill spaces in both the horizontal and vertical directions of the target fill space is less than the first value, the electronic device 100 can generate a minimum unit folder, which includes a fill space, and display the minimum unit folder on the target fill space.
[0342] For example, the second folder could be folder 5007 as shown in Figure 5K.
[0343] In some embodiments, the electronic device 100 may also receive the display position of a card displayed on a mobile desktop as operated by the user. The specific implementation is similar to the electronic device 100 receiving the display position of a file displayed on a mobile desktop as operated by the user, and can be referred to the description in the embodiments of Figures 5A-5I, which will not be repeated here.
[0344] Optionally, the target fill vacancy mentioned in Figures 5A-5L can also be referred to as the second fill vacancy.
[0345] The above are merely some embodiments and implementation methods of this application. The scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0346] It is understood that the user interfaces described in the embodiments of this application are merely example interfaces and do not constitute a limitation on the solution of this application. In other embodiments, the user interface may adopt different interface layouts, may include more or fewer controls, and may add or remove other functional options, as long as they are based on the same inventive concept provided in this application, they are all within the protection scope of this application.
[0347] It should be noted that, without causing contradictions or conflicts, any feature in any embodiment of this application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of this application.
[0348] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for managing desktop icons, characterized in that, The method includes: The electronic device receives a first operation from a user on multiple application icons on the desktop, the first operation being to move the multiple application icons to a first empty space; In response to the first operation, the electronic device displays a first folder in the first fill space or horizontally or vertically of the first fill space, and the first folder displays the plurality of application icons.
2. The method according to claim 1, characterized in that, The size of the plurality of application icons displayed in the first folder is less than or equal to the size of the plurality of application icons displayed on the desktop of the electronic device before the first operation was received.
3. The method according to claim 1 or 2, characterized in that, The plurality of application icons include a first application icon and a second application icon. When the usage frequency of the first application is greater than that of the second application, the display position of the first application icon in the first folder is located before the display position of the second application icon in the first folder.
4. The method according to any one of claims 1-3, characterized in that, The electronic device displays the first folder in the first filled empty space, or horizontally or vertically within the first filled empty space, specifically including: When the number of empty spaces near the first empty space is less than the number of the plurality of application icons, the electronic device displays a first folder in the first empty space, or horizontally or vertically in the first empty space, and the plurality of application icons are displayed in the first folder.
5. The method according to claim 4, characterized in that, The electronic device displays the first folder horizontally or vertically within the first filled space, specifically including: The electronic device obtains the first number of horizontal fill vacancies and the second number of vertical fill vacancies of the first fill vacancies. If both the first number of empty spaces and the second number of empty spaces are greater than the first value, the electronic device displays a first prompt message. The electronic device receives a second operation in response to the first option in the first prompt message, and displays the first folder horizontally or vertically in the first fill space.
6. The method according to claim 4, characterized in that, The electronic device displays the first folder horizontally or vertically within the first filled space, specifically including: The electronic device obtains the first number of horizontal fill vacancies and the second number of vertical fill vacancies of the first fill vacancies. If both the first number of empty spaces and the second number of empty spaces are greater than the first value, and the first number of empty spaces is greater than the second number of empty spaces, the electronic device displays the first folder horizontally in the first empty space. When the number of second fill spaces is greater than the number of first fill spaces, the electronic device displays the first folder vertically in the first fill spaces.
7. The method according to claim 5 or 6, characterized in that, The method further includes: If the number of the first empty spaces is greater than the first value, and the number of the second empty spaces is less than the first value, the electronic device displays the first folder horizontally in the first empty spaces; And / or, If the number of the second fill space is greater than the first value, and the number of the first fill space is less than the first value, the electronic device displays the first folder vertically in the first fill space.
8. The method according to any one of claims 5-7, characterized in that, The electronic device displays the first folder in the first filled empty space, specifically including: If there are no adjacent fill spaces in either the horizontal or vertical direction of the first fill space, the electronic device displays the first folder in the first fill space.
9. The method according to any one of claims 4-8, characterized in that, The method further includes: If the number of empty spaces near the first empty space is greater than the number of application icons, the electronic device displays the application icons near the first empty space.
10. The method according to any one of claims 4-9, characterized in that, When the electronic device displays the first folder horizontally in the first fill space, the number of fill spaces occupied by the first folder is less than or equal to the number of first fill spaces horizontally in the first fill space. When the electronic device displays the first folder vertically in the first filling space, the number of filling spaces occupied by the first folder is less than or equal to the number of second filling spaces vertically in the first filling space.
11. The method according to any one of claims 4-10, characterized in that, Before the electronic device displays the first folder horizontally or vertically in the first fill space, the method further includes: The electronic device determines the size of the multiple application icons displayed in the first folder based on the number of empty spaces occupied by the first folder and the number of the multiple application icons. The electronic device displays the first folder horizontally or vertically within the first filled space, specifically including: The electronic device displays the first folder horizontally or vertically within the first filling space, and displays the multiple application icons within the first folder based on the size of the multiple application icons displayed within the first folder.
12. The method according to any one of claims 1-11, characterized in that, The first folder is a horizontal folder; the method further includes: The electronic device receives a third operation on the first folder, the third operation being the operation of moving the first folder to a second fill space; In response to the third operation, the electronic device vertically displays a second folder in the second fill space, the second folder containing the plurality of application icons, and the second folder is a vertical folder.
13. The method according to claim 12, characterized in that, Before the electronic device vertically displays the second folder in the second fill space, the method further includes: The electronic device determines the size of the multiple application icons displayed in the second folder based on the number of empty spaces occupied by the second folder and the number of application icons. The electronic device vertically displays a second folder in the second filled empty space, specifically including: The electronic device displays the second folder vertically in the second fill space, and displays the multiple application icons in the second folder based on the size of the multiple application icons displayed in the second folder.
14. An electronic device, characterized in that, The electronic device includes a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes the computer program, the electronic device performs the method of any one of claims 1-13.
15. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on an electronic device, the electronic device performs the method of any one of claims 1-13.
Citation Information
Patent Citations
Object execution method and apparatus
CN101727179A
Mobile terminal and control method of the mobile terminal
CN102446059A
Icon moving method and related device
CN116166156A
Method for generating desktop folder and electronic equipment
CN117648040A
Predictive application pre-launch
US10459887B1