Folder interaction method and related apparatus

By allowing users to interact directly with application icons without expanding the folder, the cumbersome problem of requiring the folder to be expanded in existing technologies is solved, thus improving the user experience.

WO2025201354A9PCT designated stage Publication Date: 2026-03-05HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2026-03-05

AI Technical Summary

Technical Problem

When users access folders on their electronic devices, they need to expand the folders before they can interact with application icons, such as bringing up shortcut menus or moving them. This cumbersome process negatively impacts the user experience.

Method used

This provides a folder interaction method that allows users to perform operations directly by long-pressing the application icon without expanding the large folder, such as moving, removing, or bringing up the shortcut menu, thus simplifying the operation process.

Benefits of technology

By simplifying the operation process, the user experience has been improved, allowing users to move icons, remove them from the folder, or bring up the shortcut menu directly without expanding the folder, thus improving operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025084816_05032026_PF_FP_ABST
    Figure CN2025084816_05032026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a folder interaction method and a related apparatus. By means of the method, a user can directly long-press a target application icon in a large folder to bring up a corresponding application shortcut menu, without expanding the large folder. In addition, the user can also directly long-press the target application icon in the large folder to move the target application icon to another position in the large folder, or drag the target application icon out of the large folder, without expanding the large folder. Moreover, the user can swipe up directly at the target application icon in the large folder to bring up a corresponding service card, without expanding the large folder. In this way, user operations are easier, faster and more convenient, such that the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

An interactive method and related apparatus for folders

[0001] This application claims priority to Chinese Patent Application No. 202410384707.0, filed on March 28, 2024, entitled "An Interactive Method and Related Apparatus for a Folder", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminal and terminal technology, and in particular to a folder interaction method and related apparatus. Background Technology

[0003] Currently, application icons are displayed on the desktops of users' mobile phones, tablets, and other electronic devices. To categorize and manage different types of application icons, folders are provided on the desktop. Each folder can contain one or more application icons. For larger folders, users can directly click on the application icon within the larger folder to launch the corresponding application. Currently, if a user wants to access the application's shortcut menu or move the application icon within a larger folder, they must first expand the larger folder, then locate the corresponding application icon and perform the necessary actions to access the shortcut menu or move the icon. This process is cumbersome and negatively impacts the user experience. Summary of the Invention

[0004] This application provides a folder interaction method and related apparatus. Through this method, users can directly manipulate application icons within a large folder even when the large file is not displayed. For example, they can long-press an application icon to bring up the application shortcut menu, or long-press and move the application icon. This simplifies user operations and improves the user experience.

[0005] In a first aspect, this application provides a folder interaction method, which may include: an electronic device displaying a desktop, the desktop including a large folder containing icons of a first application and a second application, the desktop also including an icon of a third application, the large folder not including an icon of the third application; the electronic device receiving a first operation performed by a user on the desktop; and in response to the first operation, the electronic device moving the icon of the first application from a first position to a second position.

[0006] This allows users to move the first application within a large folder directly, even when the folder is not expanded on the desktop. Users no longer need to expand the large folder first and then move the application icon, simplifying the user experience.

[0007] In conjunction with the first aspect, in one possible implementation, the first position and the second position are positions within the large folder, and the first position and the second position are different; or, the first position is a position within the large folder, and the second position is outside the large folder and is a position on the desktop; after the icon of the first application moves from the first position to the second position, the icon of the first application is no longer displayed in the large folder.

[0008] In conjunction with the first aspect, in one possible implementation, the first operation is to long-press the icon of the first application and move the icon of the first application within the large folder; or, the first operation is to long-press the icon of the first application and move the icon of the first application out of the large folder.

[0009] This allows users to adjust the position of the first application's icon within the main folder on the desktop, or to move the first application's icon out of the main folder, without first expanding the main folder. Users no longer need to expand the main folder first, and then adjust the position of the first application's icon within it, nor do they need to expand the main folder first, and then move the first application's icon out of it. This simplifies user operations and improves the user experience.

[0010] In conjunction with the first aspect, in one possible implementation, where the large folder contains only the icons of the first application and the second application, and the second location is outside the large folder and is a location on the desktop, after the electronic device moves the icon of the first application from the first location to the second location, the method may further include: the electronic device no longer displays the large folder, and displays the icon of the second application in a third location on the desktop.

[0011] In this way, when there are only two app icons in a large folder, users can remove one app icon to hide the large folder from the device without expanding it. Users no longer need to first expand the large folder and then remove an app to hide it. This simplifies the user experience.

[0012] In conjunction with the first aspect, in one possible implementation, the large folder also contains an icon for a fourth application, and the method may further include: when the electronic device displays the desktop, the electronic device detects a second operation performed by the user on the desktop; in response to the second operation, the electronic device displays a shortcut menu for the second application, the shortcut menu of the second application containing one or more functional options provided by the second application.

[0013] The second operation is to long-press the icon of the second application.

[0014] This allows users to directly long-press the icon of a second application within a large folder on the desktop (even if the large folder is not expanded) to access the application's shortcut menu. Users no longer need to expand the large folder first and then long-press the second application's icon. This simplifies the user experience.

[0015] In conjunction with the first aspect, in one possible implementation, after the electronic device detects a second operation performed by the user on the desktop, the method may further include: in response to the second operation, the electronic device also displays a shortcut menu for a large folder, the shortcut menu of the large folder containing one or more functional options for the large folder.

[0016] In this way, even when the large folder on the desktop is not expanded, users can directly long-press the icon of the second application in the large folder to bring up not only the shortcut menu of the second application, but also the shortcut menu of the large folder.

[0017] In conjunction with the first aspect, in one possible implementation, the method may further include: when the electronic device displays the desktop, the electronic device detects a third operation performed by the user on the desktop; in response to the third operation, the electronic device displays a service card of a fourth application.

[0018] The third operation involves long-pressing the icon of the fourth application and swiping upwards.

[0019] This allows users to swipe up on the fourth application within the main folder on the desktop, even when the main folder is not expanded, to access its service card. Users no longer need to expand the main folder first and then swipe up on the fourth application, simplifying the process and improving the user experience.

[0020] In conjunction with the first aspect, in one possible implementation, the electronic device displays the service card of the fourth application, specifically by overlaying the service card of the fourth application onto a large folder. This way, the service card does not occupy other space on the desktop and does not disrupt the original desktop layout.

[0021] In conjunction with the first aspect, in one possible implementation, before the electronic device displays the large folder on the desktop, the method may further include: the electronic device displaying a small folder containing icons for a first application and a second application; receiving and responding to a fourth operation by the user to display the small folder as a large folder, the electronic device then displays the large folder containing icons for both the first and second applications; the size of the first application's icon in the large folder is larger than its size in the small folder, and the size of the second application's icon in the large folder is larger than its size in the small folder. Thus, the large folder can be generated based on user actions.

[0022] In conjunction with the first aspect, in one possible implementation, after the electronic device displays a large folder on the desktop, the method may further include: the electronic device detecting a fifth operation performed by the user on the desktop; and in response to the fifth operation, the electronic device displaying an icon of a third application in the large folder.

[0023] The fifth operation is to long-press the icon of the third application and drag the icon of the third application into the large folder.

[0024] This allows users to directly drag and drop the icon of a third-party application into the large folder on the desktop, even before the large folder is expanded. Furthermore, users no longer need to expand the large folder first and then drag the application icon into it, simplifying the user experience and improving overall user satisfaction.

[0025] In a second aspect, an electronic device is provided, which may include a display, one or more processors, and one or more memories; wherein the display, one or more memories are coupled to one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when executed by one or more processors, cause the electronic device to perform the methods involved in any possible implementation of the first aspect.

[0026] Thirdly, an electronic device is provided, which may include one or more functional modules for the methods involved in any possible implementation of the first aspect.

[0027] Fourthly, a chip system is provided for use in an electronic device, the chip system including one or more processors for invoking computer instructions to cause the electronic device to perform the methods involved in any possible implementation of the first aspect.

[0028] Fifthly, a computationally readable storage medium is provided, including instructions that, when executed on an electronic device, cause the electronic device to perform the methods involved in any possible implementation of the first aspect.

[0029] In a sixth aspect, a computer program product is provided, comprising a computer program / instructions that, when executed on an electronic device, cause the electronic device to perform the methods involved in any possible implementation of the first aspect. Attached Figure Description

[0030] Figure 1 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application;

[0031] Figure 2 is a schematic diagram of the software framework of the electronic device provided in an embodiment of this application;

[0032] Figure 3 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0033] Figure 4 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0034] Figure 5 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0035] Figure 6 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0036] Figure 7 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0037] Figure 8 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0038] Figure 9 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0039] Figure 10 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0040] Figure 11 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0041] Figure 12 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0042] Figure 13 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0043] Figure 14 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0044] Figure 15 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0045] Figure 16 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0046] Figure 17 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0047] Figure 18 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0048] Figure 19 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0049] Figure 20 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0050] Figure 21 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0051] Figure 22 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0052] Figure 23 is a flowchart of a folder interaction method provided in an embodiment of this application;

[0053] Figure 24 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0054] Figure 25 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0055] Figure 26 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0056] Figure 27 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0057] Figure 28 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application;

[0058] Figure 29 is a schematic diagram of a user interface of an electronic device provided in an embodiment of this application. Detailed Implementation

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

[0060] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. 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. “First” and “second,” etc., are used to distinguish different objects, not to describe a particular order of objects. For example, a first object and a second object are used to distinguish different objects, not to describe a particular order of objects.

[0061] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

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

[0063] The term "and / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A existing alone, A and B existing simultaneously, and B existing alone.

[0064] 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 the user. It realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java or Extensible Markup Language (XML). The interface source code is parsed and rendered on the electronic device, ultimately presenting content that the user can recognize. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of an electronic device.

[0065] To better understand the technical solutions provided in this application, before describing the technical solutions, we will first refer to the accompanying drawings to explain the applicable electronic device 100 with a display screen. The electronic device 100 can display a desktop on the display screen. In the embodiments of this application, the electronic device 100 may include, but is not limited to, devices with display screens such as mobile phones, tablets, smartwatches, and foldable screen devices. The embodiments of this application do not limit the specific form or type of the electronic device 100.

[0066] The exemplary electronic device 100 provided in the embodiments of this application will be introduced first below.

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

[0068] The following detailed description uses electronic device 100 as an example. It should be understood that electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have different component configurations. The various components shown in the figures 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.

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

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

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

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

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

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

[0075] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0076] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.

[0077] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via the PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0078] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.

[0079] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to capture images. The processor 110 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to display images.

[0080] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0081] The SIM interface can be used to communicate with the SIM card interface 195 to transmit data to or read data from the SIM card.

[0082] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

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

[0084] The charging management module 140 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger.

[0085] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.

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

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

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

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

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

[0091] 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).

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

[0093] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

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

[0095] 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, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and color. 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.

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

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

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

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

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

[0101] 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, applications required for at least one function (such as facial recognition, fingerprint recognition, mobile payment, etc.). The data storage area may store data created during the use of electronic device 100 (such as facial information template data, fingerprint information templates, etc.). Furthermore, internal memory 121 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

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

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

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

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

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

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

[0108] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.

[0109] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.

[0110] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.

[0111] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.

[0112] The 180E accelerometer can detect the magnitude of acceleration of electronic device 100 in various directions (typically 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 devices and applied to applications such as screen orientation switching and pedometers.

[0113] A distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, electronic device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.

[0114] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 100 emits infrared light outward through the LED. The 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 there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 may 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 in holster mode and pocket mode for automatic unlocking and locking of the screen.

[0115] The ambient light sensor 180L is used to sense the brightness of ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0116] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.

[0117] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, electronic device 100 heats battery 142 to prevent abnormal shutdown of electronic device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.

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

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

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

[0121] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0122] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and detach from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, and other SIM cards. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication.

[0123] Figure 2 is a schematic diagram of the software framework of an electronic device 100 according to an embodiment of this application.

[0124] 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 system is divided into four layers, from top to bottom: the application layer, the application framework layer, the runtime and system libraries, and the kernel layer.

[0125] The application layer can include a series of application packages.

[0126] As shown in Figure 2, the application package can include applications (also known as apps) such as desktop, weather, Xiaoyi suggestions, music, SMS, gallery, call, navigation, Bluetooth, and video.

[0127] Optionally, the application package may also include applications such as camera, calendar, map, WLAN, and music. It is understood that the types and number of applications included in the application package of the electronic device 100 will change as the user downloads or uninstalls applications. This application embodiment does not limit the specific types and number of applications included in the application package.

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

[0129] As shown in Figure 2, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

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

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

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

[0133] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).

[0134] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

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

[0136] The runtime consists of the core libraries and the virtual machine. The runtime is responsible for system scheduling and management.

[0137] The core library consists of two parts: one part is the functionalities that the programming language (e.g., Java) needs to call, and the other part is the system's core library.

[0138] The application layer and application framework layer run in a virtual machine. The virtual machine executes the programming files (e.g., .jave 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.

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

[0140] The Surface Manager is used to manage the display subsystem and provides the fusion of two-dimensional (2D) and three-dimensional (3D) layers for multiple applications.

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

[0142] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0143] A 2D graphics engine is a graphics engine for 2D drawing.

[0144] The kernel layer is the layer between hardware and software. The kernel layer includes at least the display driver, camera driver, audio driver, sensor driver, and virtual card driver.

[0145] The following example, using a scene of capturing a photograph, illustrates the workflow of the software and hardware of the electronic device 100.

[0146] When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, etc.). The raw input event is stored in the kernel layer. The application framework layer retrieves the raw input event from the kernel layer and identifies the control corresponding to the input event. Taking a touch click as an example, where the corresponding control is the camera application icon, the camera application calls the application framework layer's interface to launch the camera application, and then calls the kernel layer to launch the camera driver, capturing still images or videos through camera 193.

[0147] This application relates to the application of a folder interaction method. For ease of understanding, the desktop displayed on the electronic device 100 will be described below with reference to the accompanying drawings.

[0148] As shown in Figure 3, the electronic device 100 can display a desktop interface 300. This interface 300 displays a page containing application icons. This page can include icons for multiple applications (e.g., gallery application icon 305, health application icon 307, music application icon 308, settings application icon 309, and weather application icon 310, etc.). The page may also include icons for application folders (e.g., the daily application folder icon 306 and the large folder 1 icon 311). These application folders can be used to trigger the electronic device 100 to display one or more application icons.

[0149] This large folder 1 may contain: Application icon 311A Application icon 311B Application icon 311C Application icon 311D Application icon 311E, Contacts application icon 311F, Application icon 311G Application icon 311H, video application icon 311I, and stock application icon 311J, etc.

[0150] Optionally, the page may also include a Xiaoyi Suggestion Card 303 and a Fitness & Health Card 304. The Xiaoyi Suggestion Card 303 may display icons of one or more applications recommended by the Xiaoyi Suggestion app. The Fitness & Health Card 304 may display the user's fitness and health data (e.g., steps "1314 steps").

[0151] Optionally, if a tooltip appears below the app icon, it indicates that the app has embedded a service card. For example, tooltip 3051 is displayed below the Gallery app icon 305, and tooltip 3081 is displayed below the Music app icon 308. For instance, a user can swipe up on the app icon to access the service card. For example, a user can swipe up on the Gallery app icon 305 to access the Gallery service card.

[0152] Optionally, below the page displaying the application icon, a page indicator 312 is also displayed to indicate the total number of pages on the desktop and the positional relationship between the currently displayed page and other pages. For example, the desktop interface 300 may include four pages, and the black dot in the page indicator being the second one indicates that the currently displayed page is the second of the four pages. This second page can be referred to as the main page (or the first screen) of the desktop interface 300.

[0153] Optionally, in some examples, the black dot in the page indicator may also be first. When the black dot in the page indicator is first, it can indicate that the currently displayed page is the leftmost of the four pages. This leftmost page can also be referred to as the negative one screen of the desktop interface 300.

[0154] Optionally, in some examples, the black dot in the page indicator can also be the fourth one. When the black dot in the page indicator is the fourth one, it can indicate that the currently displayed page is the rightmost of the four pages. This rightmost page can also be referred to as the tail screen of the desktop interface 300.

[0155] Optionally, a status bar 301 may be displayed above the page containing the application icons. This status bar 301 may include information such as a signal strength indicator, battery level, and time. Further optionally, a tray icon area may be present below the page indicator. This tray icon area may include one or more tray icons (e.g., dialer application icon 313A, messaging application icon 313B, browser application icon 313C, camera application icon 313D, etc.), and these one or more tray icons may remain displayed during page transitions.

[0156] Optionally, the page containing the application icon may also display weather clock information 302. The weather clock information may include time information (e.g., year, month, day, weekday, lunar calendar, and minutes) and weather information (e.g., icons for identifying the weather and temperature).

[0157] The relevant terms and concepts involved in the embodiments of this application are introduced below.

[0158] 1. Cards

[0159] The card may include information displaying one or more functions from one or more applications. The card can serve as a convenient entry point for the corresponding application on the desktop. Users can access the interface of the application corresponding to the card through the card. For example, consider the sports and health card 304 shown in Figure 3. Using this sports and health card 304 as an example, users can access the interface of a sports and health application through it.

[0160] The card may also be called a service card, component, or card component, and this application embodiment does not limit this. The size of the cards corresponding to different applications may be the same or different. This application embodiment also does not limit the size of the cards displayed on the desktop of the electronic device 100.

[0161] 2. Large folders, small folders

[0162] The desktop of electronic device 100 can contain large folders with icons for one or more applications. Users can directly click on the application icon within the large folder to access the application. For example, in the large file 1 shown in Figure 3, users can directly click on the application icon 311 within the large file 1 to access the application.

[0163] The desktop of electronic device 100 can contain small folders that hold icons for one or more applications. Users cannot directly click on application icons within these small folders. Users must first click on the small folder icon; in response to this action, electronic device 100 expands and enlarges the display of the application icons within that small folder. For example, the "Daily Applications" and "Utility Applications" folders shown in Figure 3 are both small folders. Taking the "Daily Applications" folder as an example, the user must first click on the "Daily Applications" folder icon 306; electronic device 100 then expands and enlarges the display of the application icons within that folder in response to this action. Only then can the user click on an application icon to access the application.

[0164] 3. Xiaoyi's suggestion card

[0165] Electronic device 100 can recommend one or more apps to a user based on their app usage patterns over a period of time, placing the icons of these apps in a "Xiaoyi Suggestion Card." While both the Xiaoyi Suggestion Card and the main folder contain one or more app icons, allowing users to directly access the application by clicking the icon, the app icons in the Xiaoyi Suggestion Card cannot be moved in or out by the user, whereas icons in the main folder can be moved in or out by the user.

[0166] In some examples, a user can drag app icon 1 onto app icon 2. Based on the user's action, the device can create a small folder on the desktop, which can include both app icons 1 and 2. The user can then long-press the small folder and select to display it as a larger folder. The user can then tap to expand the larger folder, drag the app icons from the larger folder, or move app icons from the desktop into the larger folder.

[0167] Generally, a large folder can have nine grids for placing application icons. As shown in Figure 4, taking large folder 1 as an example, large folder 1 can have nine grids: grid 1-1, grid 1-2, grid 1-3, grid 2-1, grid 2-2, grid 2-3, grid 3-1, grid 3-2, and grid 3-3. Each grid (grids 1-1, 1-2, 1-3, 2-1, 2-2, 2-3, 3-1, and 3-2) can hold one application icon. Grid 3-3 can hold multiple application icons. When large folder 1 has more than nine application icons, the ninth icon and the remaining icons can be placed in grid 3-3. For example, as shown in Figure 3, large folder 1 has a video application icon 311I and a stock application icon 311J placed in grid 3-3.

[0168] Optionally, in some feasible examples, when multiple application icons are placed in grid 3-3 of large folder 1, the size of these multiple application icons is smaller than the size of application icons in other grids (e.g., grid 1-1). That is, the size of video application icon 311I and stock application icon 311J can be smaller than... Application icon 311A Application icon 311B Application icon 311C Application icon 311D Application icon 311E, Contacts application icon 311F, Application icon 311G The size of application icons such as 311H.

[0169] In some examples, for application icons in grids 1-1, 1-2, 1-3, 2-1, 2-2, 2-3, 3-1, and 3-2, users can directly click the application icon in the main folder 1 to launch the corresponding application. However, for application icons in grid 3-3, users cannot directly click the application icon in the main folder 1 to launch the corresponding application. If a user wants to launch an application icon in grid 3-3, they need to first expand the main folder 1 and then click the application icon to launch the corresponding application.

[0170] In some examples, grid 3-3 can be referred to as the grid in the lower right corner of large file 1.

[0171] In some examples, when a user long-presses on a large folder 1, the shortcut menu corresponding to the large folder 1 can be brought up, but the shortcut menu corresponding to the application icon touched by the user's finger cannot be brought up directly. For example, as shown in Figure 5, a user can long-press on the icon 311 of the large folder 1 on the desktop interface 300, and in response to the user's operation, the electronic device 100 can display the user interface 600.

[0172] Figure 6 exemplarily illustrates the user interface 600 of the electronic device 100. As shown in Figure 6, the user interface 600 may include an icon 311 for the large folder 1 and a shortcut menu 601 for the large folder 1. The shortcut menu 601 may include function options 602 and 603. Function option 602 can be used to display the large folder 1 as a smaller folder. Function option 603 can be used to rename the large folder 1.

[0173] In some examples, if a user wants to bring up the app shortcut menu by long-pressing an app icon or long-press and drag an app icon to move or reposition an app icon in the large folder 1, the user needs to click the lower right corner of the large folder 1 to expand the large folder 1 before performing long-press or drag operations on the target app. For example, as shown in Figure 7, a user can click on the area where the video app icon 311I is located in the large folder 1. In response to this user operation, the electronic device 100 can display the user interface 800.

[0174] Figure 8 exemplarily illustrates a user interface 800 of an electronic device 100. As shown in Figure 8, the user interface 800 expands and displays a large folder 1. Specifically, the user interface 800 may include... Application icon 311A ​​and the Application name corresponding to application icon 311A Application icon 311B and the Application name corresponding to application icon 311B Application icon 311C and this Application name corresponding to application icon 311C Application icon 311D and the Application name corresponding to application icon 311D Application icon 311E and this The application name corresponding to application icon 311E The Contacts app icon 311F and the corresponding app name "Contacts" Application icon 311G and this The application name corresponding to the application icon 311G Application icon 311H and this The application name corresponding to application icon 311H The video application icon 311I and the corresponding application name "Video"; the stock application icon 311J and the corresponding application name "Stock".

[0175] Optionally, the user interface 800 may also include a notification bar 801, which may be located below the contact application icon 311F. The notification bar 801 may indicate that the contact application has embedded service cards. Users can access these service cards by swiping up on the contact application icon 311F.

[0176] Optionally, the user interface 800 may also include a control 802, which can be used to add application icons to the folder 1.

[0177] When a user wants to access the application shortcut menu corresponding to the application icon in the large folder 1, the user can long-press the application icon in the user interface 800. For example, as shown in Figure 9, the user can also long-press the Contacts application icon 311F in the user interface 800. In response to this user operation, the electronic device 100 can display the user interface 1000.

[0178] Figure 10 exemplarily illustrates the user interface 1000 of an electronic device 100. As shown in Figure 10, the user interface 1000 may include a contacts application icon 311F, and application shortcut menus 1001 and 1002 corresponding to the contacts application icon 311F. The application shortcut menu 1001 may include one or more function options provided by the contacts application. For example, a "Create Contact" function option, a "Frequently Used Contacts" function option, a "Scan Business Card" function option, a "My Business Cards" function option, etc. The application shortcut menu 1002 may include a function option for calling up a service card of the contacts application, and the name of this function option may be: "Contacts" card. It is understood that the embodiments of this application do not limit what specific function options the application shortcut menus 1001 and 1002 include, or the number of function options included.

[0179] Optionally, in some examples, when the large folder is expanded, the user can also bring up the service card by swiping up. For example, as shown in Figure 11, the user can swipe up on the Contacts app icon 311F of the user interface 800. In response to this user action, the electronic device 100 can display the Contacts app's service card.

[0180] As shown in Figure 12, the electronic device 100 can display a service card 803 for the Contacts application in the user interface 800. Optionally, the service card 803 can be overlaid on the Contacts application icon 311F. This embodiment of the application does not limit the specific shape, size, or content of the service card 803.

[0181] Optionally, in some examples, when the large folder is expanded, the user can also move the position of the application icons within the large folder. For example, as shown in Figure 13, the user can long-press the Contacts application icon 311F in the user interface 800 and drag the Contacts application icon 311F to... The application icon 311E is located at the address specified in Figure 14. In response to this user action, the electronic device 100 can move the contact application icon 311F to the desired location. The location of application icon 311E. Accordingly, electronic device 100 will... The application icon 311E is moved to the position where the contacts application icon 311F was located before the user's operation. That is, the electronic device 100 moves the contacts application icon 311F and... The application icon 311E is swapped. It is understood that the user can also move the contact application icon 311F to any location in the area where the large folder 1 is located (area 1501 shown in Figure 15), and this embodiment of the application does not limit this.

[0182] Optionally, in some examples, after the large folder is expanded, the user can also long-press and drag the application icon to move the application icon out of the large folder. For example, as shown in Figure 15, the user can long-press the contact application icon 311F in the large folder 1 in the user interface 800 and drag the contact application icon 311F out of the area 1501 where the large folder 1 is located. In response to this user operation, the electronic device 100 may no longer display the contact application icon 311F in the large folder 1.

[0183] As shown in Figure 16, the user can drag the contact application icon 311F to the dock area 313. The contact application icon 311F will then be displayed in the dock area 313 on the desktop interface 300. The electronic device 100 can also adjust the position of the application icons in the large folder 1. For example, the electronic device 100 can adjust the position of the application icons in the grid below the contact application icon 311F (e.g., Application icon 311G The positions of application icons such as application icon 311H, video application icon 311I, and stock application icon 311J.

[0184] In the user interface shown in Figures 3-16 above, regarding user operations on large folders or application icons within them, if a user wants to bring up the application shortcut menu corresponding to the target application icon in the large folder, move the target application icon in the large folder, swipe up on the target application icon to bring up the service card, or drag the target application icon out of the large folder, the user must first click the grid in the lower right corner of the large folder to expand it. Only then can the user perform operations such as long-pressing, long-pressing and dragging, or swiping up on the target application icon. This is not convenient for users and affects the user experience.

[0185] This application provides a folder interaction method. In this method, users can directly long-press the target application icon in the large folder to bring up the corresponding application shortcut menu without expanding the large folder. Furthermore, users can also move the target application icon within the large folder or drag it out of the large folder without expanding it. Additionally, users can swipe up on the target application icon in the large folder to bring up the corresponding service card without expanding the large folder. This makes user operation simpler and faster, improving the user experience.

[0186] Figures 17-22 exemplarily illustrate relevant user interface diagrams showing how a user interacts with a target application icon in a large folder without expanding the large folder.

[0187] In this embodiment of the application, the user can directly long-press the target application icon in the large folder when the large folder is not expanded to bring up the shortcut menu corresponding to the target application icon.

[0188] As shown in Figure 5, when a user long-presses the Contacts application icon 311F in the large folder 1, the electronic device 100 can display the user interface 1700 in response to the user's operation.

[0189] Figure 17 exemplarily illustrates the user interface 1700 of the electronic device 100. As shown in Figure 17, the user interface 1700 may display an icon 311 for the large folder 1, contact application shortcut menus 1701 and 1702, and a shortcut menu 1703 for the large folder 1. The contact application shortcut menu 1701 can be referred to in the description of application shortcut menu 1001 above, and will not be repeated here. The contact application shortcut menu 1702 can be referred to in the description of application shortcut menu 1002 above, and will not be repeated here. The shortcut menu 1703 can be referred to in the description of shortcut menu 601 above, and will not be repeated here.

[0190] In this embodiment, a user can directly swipe up on the target application icon to bring up the corresponding service card when the large folder is not expanded. The target application is an application configured with a service card. When the target application is in a large folder and the large folder is not expanded, no prompt bar may be displayed below the target application icon. When the large folder is expanded, a prompt bar may be displayed below the target application icon. For example, as shown in FIG18, a user can swipe up on the contact application icon 311F in icon 311 of the large folder 1. In response to this user operation, the electronic device 100 can display the service card corresponding to the contact application icon 311F. As shown in FIG19, the electronic device 100 can display the service card 803 corresponding to the contact application icon 311F. Optionally, the service card 803 may be placed on top of the icon 311 of the large folder 1.

[0191] In this embodiment, the user can directly long-press and drag the target application out of the large folder when it is not expanded. For example, as shown in FIG20, the user can long-press and drag the contact application icon 311F to the dock area 313 in the large folder 1. In response to this user operation, the electronic device 100 can display the contact application icon 311F in the dock area 313. For example, as shown in FIG16, the contact application icon 311F can be displayed in the dock area 313 on the desktop interface 300. The electronic device 100 can also adjust the position of the application icons in the large folder 1. For example, the electronic device 100 can adjust the position of the application icons in the grid below the contact application icon 311F (e.g., Application icon 311G The positions of application icons such as application icon 311H, video application icon 311I, and stock application icon 311J.

[0192] In this embodiment, the user can directly long-press and drag the target application when the large folder is not expanded to move the target application's position within the large folder. For example, as shown in Figure 21, the user can long-press the Contacts application icon 311F and move it to... In response to the user's action, at application icon 311E, electronic device 100 moves the contact application icon 311F within the large folder 1. As shown in Figure 22, electronic device 100 can move the contact application icon 311F from its original position in grid 2-3 to grid 3-2. Correspondingly, electronic device 100 can move the contact application icon 311F from its original position in grid 3-2. Application icon 311E moves from grid 2-2 to grid 3-3. That is, based on this user action, electronic device 100 changes the contact application icon 311F and... The application icon 311E is swapped. It is understood that the user can move the contact application icon 311F to any of the nine grids in the large folder 1, and this embodiment of the application does not limit this.

[0193] Alternatively, in one possible implementation, when the user moves the contact application icon 311F to the grid in the lower right corner of the large folder 1, i.e., grid 3-3, the electronic device 100 can shrink the display of the contact application icon 311F.

[0194] Optionally, in this embodiment, when the large folder is not expanded, the user can only long-press the application icons in the eight grids of the large folder (grids 1-1, 1-2, 1-3, 2-1, 2-2, 2-3, 3-1, and 3-2) to bring up the corresponding application shortcut menu, or long-press and drag to move the application icon's position or remove it from the large folder, or swipe up on the application icon to bring up the corresponding service card. When the user long-presses on the application icon in grid 3-3, only the shortcut menu of the large folder is brought up. When the user long-presses and drags in grid 3-3, the position of the large folder on the desktop can be moved. When the user clicks on grid 3-3 of the large folder, the electronic device 100 can expand the large folder. In this way, it is possible to conveniently and quickly implement the relevant functions of application icons in the eight grids of the large folder, namely grid 1-1, grid 1-2, grid 1-3, grid 2-1, grid 2-2, grid 2-3, grid 3-1, and grid 3-2 (such as bringing up the shortcut menu corresponding to the application icon, moving the application icon, moving the application icon out of the large folder, and calling up the service card), without affecting the original functions of the large folder (such as expanding the large folder and moving the large folder).

[0195] Figure 23 illustrates an exemplary flowchart of a folder interaction method provided in an embodiment of this application. As shown in Figure 23, a folder interaction method provided in an embodiment of this application may include the following steps:

[0196] S2301, Electronic device 100 detects user operation 1, in which the user drags the icon of application 1 onto the icon of application 2.

[0197] S2302, In response to user operation 1, electronic device 100 generates a small folder A on the desktop, which contains the icons of application 1 and application 2.

[0198] Users can combine the icons of any two applications into a small folder on the desktop of electronic device 100. For example, a user can drag and drop the icon of application 1 onto the icon of application 2. Upon detecting this user action, electronic device 100 can generate a small folder A on the desktop. This small folder A can contain the icons of application 2 and application 1. For instance, the icon of application 1 could be the music application icon 308 shown in Figure 3, and the icon of application 2 could be the health and fitness application icon 307 shown in Figure 3. As shown in Figure 24, the user can drag and drop the music application icon 308 onto the health and fitness application icon 307. In response to this user action, as shown in Figure 25, electronic device 100 can generate the small folder and display its icon 314. This small folder can include the music application icon 308 and the health and fitness application icon 307.

[0199] Understandably, electronic device 100 can display the icons of application 1 and application 2 in a smaller size within the small folder A. That is, the size of the icons for application 1 and application 2 in small folder A is smaller than the sizes of the icons for application 1 and application 2 displayed on the desktop before user operation 1. As shown in Figure 25, the size of the music application icon 308 in this small folder can be smaller than the size of the music application icon 308 shown in Figure 3. The size of the health and fitness application icon 307 in the small folder shown in Figure 25 can be smaller than the size of the health and fitness application icon 307 shown in Figure 3. In this way, the small folder can hold more application icons.

[0200] S2303, Electronic device 100 detected user operation 2, where the user long-pressed small folder A.

[0201] S2304. In response to user operation 2, electronic device 100 displays function option 1, which is used to display small folder A as large folder B.

[0202] S2305, Electronic device 100 detects user operation 3 where the user clicks on function option 1.

[0203] S2306. In response to user operation 3, electronic device 100 displays a large folder B, which contains an icon for application 1 and an icon for application 2. The icon for application 1 is located in grid 1 of the large folder B, and the icon for application 2 is located in grid 2 of the large folder B.

[0204] Users can also display small folder A as large folder B on electronic device 100. Specifically, electronic device 100 can detect user operation 2 of long-pressing small folder A. In response to user operation 2, electronic device 100 can display a shortcut menu for the small folder, which may contain function option 1. Function option 1 can be used to display small folder A as large folder B. For example, take the small folder shown in Figure 26. As shown in Figure 26, users can long-press the icon 314 of the small folder. In response to this user operation, electronic device 100 can display a shortcut menu 2701 as shown in Figure 27. The shortcut menu 2701 may contain function option 2702 for displaying the small folder as a large folder and function option 2703 for renaming the small folder.

[0205] Function option 1 can be function option 2702 shown in Figure 27. As shown in Figure 28, the user can click on function option 2702. In response to this user action, the electronic device 100 can display a large folder 2 as shown in Figure 29.

[0206] It is understandable that the large folder B can be either the large folder 2 shown in Figure 29 or the large folder 1 shown in Figure 27. When the large folder B is the large folder 1 shown in Figure 27, the display process of the large folder 1 can refer to the display process of the large folder 2. The large folder B can contain more than two application icons. In some examples, after combining two application icons into a small folder, the user can continue to move other application icons into the small folder, and then long-press the small folder and click function option 1 to display the small folder as a large folder. Optionally, in other examples, the user can also display the small folder A as a large folder B, and then drag or add application icons into the large folder B.

[0207] In this embodiment of the application, when a large folder is displayed on the desktop of the electronic device 100, the user can directly perform the following four operations on the applications in the large folder without expanding it.

[0208] Operation Method 1: Steps S2307a-S2310a, without expanding the large folder, directly long-press the application icon in the large folder to bring up the application's shortcut menu.

[0209] S2307a, Electronic device 100 detects user operation 4, where a user long-presses the icon of application 1 in large folder B.

[0210] S2308a, in response to user operation 4, electronic device 100 displays shortcut menu 1 of application 1, shortcut menu 1 contains one or more function options provided by application 1, and one or more function options contain function option 1.

[0211] S2309a, Electronic device 100 detects user operation 5 where the user clicks on function option 1.

[0212] S2310a, In response to user operation 5, electronic device 100 executes the function corresponding to function option 1.

[0213] Electronic device 100 can detect user operation 4, which is a user long-pressing the icon of application 1 in the large folder B. For example, the icon of application 1 could be the contacts application icon 311F in the large folder 1 as shown in Figure 5. User operation 4 could be a user long-pressing the contacts application icon 311F in the large folder 1.

[0214] In response to user operation 4, electronic device 100 can display a shortcut menu 1 of application 1. The shortcut menu 1 contains one or more function options provided by application 1, and the one or more function options include function option 1. For example, as shown in FIG17, the shortcut menu 1 can be the Contacts application shortcut menu 1701 and / or Contacts application shortcut menu 1702 shown in FIG17. Function option 1 can be any one of the function options contained in Contacts application shortcut menu 1701 and / or Contacts application shortcut menu 1702.

[0215] Optionally, while displaying the shortcut menu 1 of application 1, the electronic device 100 may also display the shortcut menu of the large folder B. For example, the shortcut menu of the large folder B may be the shortcut menu 1703 of the large folder 1 shown in FIG17. This application embodiment does not limit this.

[0216] Optionally, the electronic device 100 can also detect user operation 5, which involves clicking on function option 1. In response to this user operation 5, the electronic device 100 can execute the function corresponding to function option 1. For example, if function option 1 is the "Create Contact" function option shown in Figure 17, when the user clicks on the "Create Contact" function option, the electronic device 100 can enter the Create Contact page in the Contacts application in response to the user operation. On this page, the user can add contact-related information (e.g., contact name, phone number, etc.).

[0217] It is understood that the shortcut menus of different applications may contain different function options. This application embodiment does not limit the shortcut menu 1 of application 1, nor the specific function options contained in the shortcut menu 1.

[0218] Operation Method 2: Steps S2307b-S2308b, without expanding the large folder, directly long-press the application icon in the large folder B and move the application icon to its position in the large folder.

[0219] S2307b, Electronic device 100 detects user operation 6 in which the user moves the icon of application 1 from grid 1 to grid 2 in the large folder B.

[0220] S2308b, in response to user operation 6, electronic device 100 displays the icon of application 1 at grid 2.

[0221] Optionally, in one possible implementation, the user can also long-press the icon of application 1 and move its position while the large folder B is not expanded. The electronic device 100 can detect the user operation 6 of moving the icon of application 1 from grid 1 to grid 2 within the large folder B. In response to this user operation 6, the electronic device 100 can display the icon of application 1 in grid 2. For example, if the icon of application 1 is the contacts application icon 311F shown in Figure 21, the user can move the contacts application icon 311F to... The grid where application icon 311E is located. In response to this user action, as shown in Figure 22, electronic device 100 can move the contact application icon 311F to the grid. The application icon 311E is located in the grid. Please refer to the description of Figure 22 above for details; it will not be repeated here.

[0222] Optionally, in one possible implementation, if grid 2 is in the same row as grid 1, adjacent to grid 1 and located to the left of grid 1, when electronic device 100 displays the icon of application 1 at grid 2, it can also display the icon of application 2 at grid 1.

[0223] Optionally, in one possible implementation, if grid 2 is located above grid 1, when the electronic device 100 displays the icon of application 1 at grid 2, the icon of application 2 can also be displayed in the grid adjacent to the right of grid 2 or in the next row of grids. For example, taking the large folder 1 shown in Figure 4, which has three rows of grids, if grid 2 is located in the first row and grid 1 is located in the second or third row: If grid 2 is located in grid 1-1 of the first row, then when the electronic device 100 displays the icon of application 1 in grid 1-1, the icon of application 2 can be displayed in grid 1-2. If grid 2 is grid 1-2, then when the electronic device 100 displays the icon of application 1 in grid 1-2, the icon of application 2 can be displayed in grid 1-3. If grid 2 is grid 1-3, then when the electronic device 100 displays the icon of application 1 in grid 1-3, the icon of application 2 can be displayed in grid 2-1.

[0224] Alternatively, in one possible implementation, if grid 2 is located in the next row of grid 1, when the electronic device 100 displays the icon of application 1 at grid 2, it can also display the icon of application 2 in the grid adjacent to the left of grid 2 or in the grid above it.

[0225] Operation Method 3: Steps S2309b-S2310b, without expanding the large folder, directly swipe up on the application icon in the large folder B to bring up the application's service card.

[0226] S2309b, Electronic device 100 detects user action 8 where the user swipes up on the icon of application 1 in the large folder B.

[0227] S2310b, in response to user operation 8, electronic device 100 displays service card 1 of application 1.

[0228] Optionally, in one possible implementation, the user can also directly swipe up on the application icon in the large folder B to bring up the application's service card even when the large folder B is not expanded. Specifically, the electronic device 100 can detect the user operation 8 of swiping up on the application 1 icon in the large folder B. In response to the user operation 8, the electronic device 100 can display the service card 1 of application 1. For example, taking the large folder B as the large folder 1 shown in FIG18, the icon of application 1 can be the contact application icon 311F in the large folder 1. The user can swipe up on the contact application icon 311F in the large folder 1, and in response to the user operation, the electronic device 100 can display the service card 803 as shown in FIG19.

[0229] Operation Method 4: Steps S2307c-S2308c, without expanding the large folder, directly long-press the application icon in the large folder B and move the application icon out of the large folder.

[0230] S2307c, Electronic device 100 detects user operation 7: long press on the icon of application 2 in large folder B and drag the icon of application 2 out of large folder B.

[0231] S2308c, in response to user operation 7, electronic device 100 displays the icon of application 2 in area 1 of the desktop, which is the area outside the large folder B on the desktop.

[0232] In one possible implementation, the user can also long-press the application icon in the large folder B and drag it out of the large folder even when the large folder B is not expanded. The electronic device 100 can detect this user operation 7: long-pressing the application 2 icon in the large folder B and dragging it out. In response to this user operation 7, the electronic device 100 can display the application 2 icon in area 1 of the desktop, which is an area outside the large folder B on the desktop. For example, taking the large folder B as shown in Figure 20 and the contact application icon 311F in the large folder 1 as the example, the user can long-press the contact application icon 311F and drag it out of the large folder 1. In response to this user operation, the electronic device 100 can display the contact application icon 311F in the dock area 313, no longer displaying it in the large folder 1.

[0233] Furthermore, in one possible implementation, when there are only two application icons in the large folder B, for example, the icon of application 1 and the icon of application 2, after the electronic device 100 drags the icon of application 2 out of the large folder B, the electronic device 100 can stop displaying the large folder B and directly display the icon of application 1 on the desktop.

[0234] Understandably, the icons for both Application 1 and Application 2 are not located in the bottom right corner grid of the large folder B (e.g., grid 3-3 shown in Figure 4). This allows users to manipulate the bottom right corner grid to access functions within the large folder. For example, a user can click the bottom right corner grid to expand the large folder. A user can also long-press the bottom right corner grid to bring up the large folder's shortcut menu. Furthermore, a user can long-press the bottom right corner grid and drag it to move the large folder's position on the desktop.

[0235] It is understood that the execution order of the above four operation methods is not limited in the embodiments of this application. When the number of application icons in the large folder B exceeds two, the electronic device 100 may first execute any one of the following steps: S2307a-S2310a, S2307b-S2308b, S2309b-S2310b, and S2307c-S2308c. For example, the electronic device 100 may first execute steps S2309b-S2310b, then execute steps S2307b-S2308b, then execute S2307a-S2310a, and finally execute steps S2307c-S2308c. This application embodiment does not limit the execution order of steps S2307a-S2310a, S2307b-S2308b, S2309b-S2310b, and S2307c-S2308c. When there are only two application icons in the large folder B, after the electronic device 100 moves one of the application icons out of the large folder B according to steps S2307c-S2308c, the electronic device 100 no longer displays the large folder B. In this case, the electronic device 100 does not need to execute steps S2307a-S2310a, S2307b-S2308b, and S2309b-S2310b. However, if the electronic device 100 has other large folders, the user can operate on the application icons in other large folders according to any of the following steps: S2307a-S2310a, S2307b-S2308b, S2309b-S2310b, and S2307c-S2308c.

[0236] This application provides a folder interaction method that allows users to access a shortcut menu for a target application within a large folder by long-pressing its icon. Users can also move the target application icon within the folder or drag it out without expanding the folder. Furthermore, users can swipe up on the target application icon within the large folder to access its corresponding service card without expanding it. This simplifies user operation and improves the user experience.

[0237] It is understood that the folder interaction method provided in this application embodiment can also be applied to foldable screen devices. When the foldable screen device is in the unfolded state, since the unfolded display screen is larger than the folded display screen, when the user directly drags an application icon from the unfolded large folder, the area on the display screen that can hold the application icon is larger. In other words, the user can drag a larger range, thus making the user's interactive experience more obvious.

[0238] In this embodiment, the first application, the second application, and the third application can be any application displayed on the user's desktop. For example, the first application, the second application, and the third application can be any application icon shown in the large folder 1 shown in Figure 3. The fourth application can be an application configured with a service card. For example, the fourth application can be any of the applications shown in Figure 3, such as the gallery application, the music application, and the contacts application.

[0239] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.

[0240] In some examples, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.

[0241] In some examples, the memory in the chip system may be one or more. The memory may be integrated with the processor or set separately from the processor, and this application embodiment does not limit this. Exemplarily, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or set separately on different chips. This application embodiment does not specifically limit the type of memory or the way the memory and processor are set.

[0242] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0243] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.

[0244] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run on a computer, it causes the computer to perform the aforementioned related steps to implement the folder interaction method in the above embodiments.

[0245] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the folder interaction method described in the above embodiments.

[0246] Additionally, this application also provides an apparatus. Specifically, the apparatus may be a component or module, and may include one or more processors and a memory connected together. The memory is used to store a computer program. When the computer program is executed by one or more processors, the apparatus causes it to execute the folder interaction methods described in the above method embodiments.

[0247] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0248] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an application-specific integrated circuit (ASIC).

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

[0250] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0251] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0252] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for interacting with folders, characterized in that, include: An electronic device displays a desktop, which includes a large folder containing icons for a first application and a second application. The desktop also includes an icon for a third application, but the large folder does not contain the icon for the third application. The electronic device receives a first operation performed by the user on the desktop; In response to the first operation, the electronic device moves the icon of the first application from a first position to a second position.

2. The method according to claim 1, characterized in that, The first position and the second position are the positions in the large folder, and the first position and the second position are different; Alternatively, the first location is within the large folder, and the second location is outside the large folder but within the desktop; After the icon of the first application moves from the first position to the second position, the icon of the first application will no longer be displayed in the large folder.

3. The method according to claim 2, characterized in that, The first operation is to long-press the icon of the first application and move the icon of the first application within the large folder; or, the first operation is to long-press the icon of the first application and move the icon of the first application out of the large folder.

4. The method according to claim 3, characterized in that, When the large folder contains only the icons of the first application and the second application, and the second location is outside the large folder and is a location on the desktop, after the electronic device moves the icon of the first application from the first location to the second location, the method further includes: The electronic device no longer displays the large folder, and instead displays the icon of the second application in a third position on the desktop.

5. The method according to claim 3, characterized in that, The large folder also contains an icon for a fourth application, and the method further includes: When the electronic device displays the desktop, the electronic device detects a second operation performed by the user on the icon of the second application in the large folder. In response to the second operation, the electronic device displays a shortcut menu of the second application, which contains one or more function options provided by the second application.

6. The method according to claim 5, characterized in that, The second operation is to long-press the icon of the second application.

7. The method according to claim 6, characterized in that, After the electronic device detects a second operation by the user on the desktop, the method further includes: In response to the second operation, the electronic device also displays a shortcut menu for the large folder, the shortcut menu of the large folder containing one or more function options for the large folder.

8. The method according to claim 7, characterized in that, The method further includes: When the electronic device displays the desktop, the electronic device detects a third operation performed on the fourth application icon in the large folder; In response to the third operation, the electronic device displays the service card of the fourth application.

9. The method according to claim 8, characterized in that, The third operation is to long-press the icon of the fourth application and slide it upwards.

10. The method according to claim 9, characterized in that, The electronic device displays the service card of the fourth application, specifically including: The electronic device displays the service card of the fourth application over the large folder.

11. The method according to any one of claims 1-10, characterized in that, Before the electronic device displays a large folder on the desktop, the method further includes: The electronic device displays a small folder containing the icons of the first application and the second application; The electronic device receives and responds to a fourth operation by the user to display the small folder as a large folder, wherein the large folder contains the icon of the first application and the icon of the second application; the size of the icon of the first application in the large folder is larger than the size of the icon of the first application in the small folder, and the size of the icon of the second application in the large folder is larger than the size of the icon of the second application in the small folder.

12. The method according to claim 11, characterized in that, After the electronic device displays a large folder on the desktop, the method further includes: The electronic device detects a fifth operation performed on the icon of the third application; In response to the fifth operation, the electronic device displays the icon of the third application in the large folder.

13. An electronic device, characterized in that, The device includes a display screen, one or more processors, and one or more memories; wherein the display screen, the one or more memories, and the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the method as described in any one of claims 1-12 to be performed.

14. A chip system applied to an electronic device, the chip system comprising one or more processors, characterized in that, The processor is used to invoke computer instructions to cause the execution of the method as described in any one of claims 1-12.

15. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on an electronic device, they cause the method as described in any one of claims 1-12 to be performed.

16. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are run on the electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-12.