A folder management method and device

By merging the categories to which apps belong to generate folder names and recommending similar apps, the problem of low folder naming efficiency in existing technologies is solved, achieving more efficient and accurate folder management.

CN115543145BActive Publication Date: 2026-06-30HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2021-06-30
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In existing technologies, when users create folders, the electronic devices cannot accurately name the folders because the multiple applications (APPs) that are merged do not belong to the same category, resulting in low naming efficiency.

Method used

By merging the categories of multiple apps to generate folder names, the folder names can fully represent the categories of the merged apps, and similar apps can be recommended to users during the folder creation process to improve management efficiency.

Benefits of technology

It improves the efficiency and accuracy of folder naming, reduces the need for users to manually change folder names, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115543145B_ABST
    Figure CN115543145B_ABST
Patent Text Reader

Abstract

This application provides a folder management method and apparatus, relating to the field of terminal technology, which can, to some extent, solve the problem of low folder naming efficiency in the prior art. The method includes: in response to a merging operation on M apps, creating a folder, merging the categories to which the M apps belong, and obtaining the name of the folder, where M is an integer greater than or equal to 2; and displaying the folder and its name on the desktop of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] As applications (apps) become increasingly abundant, users are installing more and more apps on their phones. To avoid frequently switching between different screens to find the app they need, users often create folders on their home screen to group multiple apps together for easier access.

[0003] However, during the folder creation process, if the apps selected by the user to merge do not belong to the same category, the phone cannot accurately name the folder. For example, it may simply name it "folder", which requires the user to manually change the folder name, resulting in low naming efficiency. Summary of the Invention

[0004] This application provides a folder management method and apparatus, which to some extent solves the problem of low folder naming efficiency in the prior art.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] Firstly, a folder management method is provided for use on electronic devices, the method comprising:

[0007] In response to the merge operation of M apps, create a folder, merge the categories to which the M apps belong, and obtain the name of the folder, where M is an integer greater than or equal to 2; display the folder and its name on the desktop of the electronic device.

[0008] Based on the folder management method provided in this application, during the folder creation process, the folder name is obtained by merging the categories to which multiple apps belong, ensuring that the folder name fully represents the categories to which the merged apps belong. This improves the efficiency and accuracy of folder naming.

[0009] Optionally, if M apps do not belong to the same category, merge the categories of the M apps to obtain the folder name, which includes:

[0010] The name of the folder is determined based on the category to which each of the M apps belongs. The name of the folder is used to represent the category to which each of the M apps belongs.

[0011] Optionally, merge the categories of the M apps to obtain the folder name, which includes:

[0012] Obtain a list of categories for the M apps, which includes N different categories. Any one of the M apps belongs to at least one category in the list, and M ≥ N ≥ 2. If N is less than or equal to the preset number of categories, generate a folder name based on the list of categories. The folder name is used to represent each category in the list of categories.

[0013] Based on this optional method, when merging categories by setting a preset number of categories, if the number of categories included in the category list of the M apps is less than or equal to the preset number of categories, the electronic device avoids the folder names being too long, which would affect the aesthetics of the desktop.

[0014] Optionally, the method further includes:

[0015] Display a recommendation window showing recommended apps, which are apps in the same category as any of the M apps; in response to user actions, determine whether to merge the recommended apps into a folder.

[0016] Based on this optional method, electronic devices can recommend similar apps to users during the folder creation process, thereby organizing similar applications and preventing users from missing similar apps when creating folders, further improving folder management efficiency.

[0017] Optionally, display folders on the desktop of the electronic device, including:

[0018] The method further includes displaying the folder in a small folder format after displaying the folder on the desktop of the electronic device, and then displaying the folder in a large file format when it is determined that at least one recommended app will be merged into the folder.

[0019] The large folder format is a folder display format that supports one-click opening by apps. When a folder is displayed in large folder format, clicking the app icon within the folder will launch the app directly. In contrast, with small folder format, the user needs to click the folder to expand it, and then click the corresponding app icon to launch the app. In one example, the display area occupied by a small folder on the desktop is the same as that occupied by a single app, while the display area occupied by a large folder is the same as that occupied by four apps displayed on the desktop. For a more detailed definition of the large folder format, please refer to the large folder format documentation in the HarmonyOS system.

[0020] Based on this optional approach, after creating a folder, if the number of apps within the folder is small (e.g., M=2), the folder can be displayed in a small folder format to avoid wasting display resources. Once it is determined that recommended apps will be added to the folder, increasing the number of apps contained in the folder, the folder can be displayed in a large file format so that the apps within the folder can be launched with one click, thereby improving the user's efficiency in operating the folder to some extent.

[0021] Optionally, the method further includes:

[0022] When a first app is added to a folder, if the category of the first app is different from the categories of the M apps, the folder name is updated. The updated folder name is also used to indicate the category of the first app.

[0023] Optionally, the method further includes:

[0024] When a second app is removed from a folder, if the category of the second app is different from the category of the remaining apps in the folder, the information indicating the category of the second app will be deleted from the folder name.

[0025] Based on the two options mentioned above, when adding or removing apps from a created folder, the electronic device can automatically and adaptively modify the folder name according to the category of the added or removed apps, without requiring manual modification, thus further improving the efficiency and accuracy of folder naming.

[0026] Optionally, if the number of apps contained in a folder is greater than or equal to the first number, the folder will be displayed in a large folder format; if the number of apps contained in a folder is less than the first number, the folder will be displayed in a small folder format.

[0027] Based on this optional method, electronic devices can switch the display format of folders according to the number of apps contained within them. This improves the efficiency of users operating folders to some extent.

[0028] Secondly, this application provides a folder management device, comprising:

[0029] A creation unit is used to create a folder in response to a merge operation of M apps, and merge the categories to which the M apps belong to obtain the name of the folder, where M is an integer greater than or equal to 2;

[0030] A display unit is used to display the folder and its name on the desktop of the electronic device.

[0031] Optionally, if the M apps do not belong to the same category, the creation unit merges the categories to which the M apps belong to obtain the name of the folder, specifically including:

[0032] The name of the folder is determined according to the category to which the M apps belong, and the name of the folder is used to represent the category to which the M apps belong.

[0033] Optionally, the creation unit merges the categories of the M apps to obtain the name of the folder, specifically including:

[0034] Obtain a category list of the M apps, the category list includes N different categories, and any one of the M apps belongs to at least one category in the category list, where M≥N≥2;

[0035] If N is less than or equal to the preset number of categories, then the name of the folder is generated based on the category list, and the name of the folder is used to represent each category in the category list.

[0036] Optionally, the creation unit is further configured to:

[0037] A recommendation window is displayed, which shows recommended apps. The recommended apps are apps that belong to the same category as any of the M apps.

[0038] In response to user actions, determine whether to merge the recommended apps into the folder.

[0039] Optionally, the display unit displays the folder on the desktop of the electronic device, specifically including:

[0040] The folder is displayed in a small folder format;

[0041] After the display unit displays the folder on the desktop of the electronic device, the creation unit is further configured to:

[0042] When it is determined that at least one of the recommended apps will be merged into the folder, the folder will be displayed in a large file format.

[0043] Optionally, the creation unit is further configured to:

[0044] When a first app is added to the folder, if the category to which the first app belongs is different from the categories to which the M apps belong, the name of the folder is updated. The updated name of the folder is also used to indicate the category to which the first app belongs.

[0045] Optionally, the creation unit is further configured to:

[0046] When a second app is removed from the folder, if the category to which the second app belongs is different from the category to which the remaining apps in the folder belong, the information indicating the category to which the second app belongs is deleted from the folder name.

[0047] Optionally, if the number of apps contained in the folder is greater than or equal to the first number, the display unit displays the folder in a large folder format;

[0048] If the number of apps contained in the folder is less than the first number, the display unit will display the folder in a small folder format.

[0049] Thirdly, this application provides an electronic device, including: a processor, the processor being configured to run a computer program stored in a memory to implement the method described in the first aspect or any alternative manner of the first aspect.

[0050] Fourthly, this application provides a chip system including a processor that executes a computer program stored in a memory to implement the method described in the first aspect or any optional manner of the first aspect.

[0051] Fifthly, this application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method as described in the first aspect or any optional manner of the first aspect.

[0052] Sixthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the electronic device to perform the method described in the first aspect or any optional method of the first aspect.

[0053] The technical effects of the second to sixth aspects provided in this application can be found in the technical effects of the first aspect or the various alternative methods of the first aspect, and will not be repeated here. Attached Figure Description

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

[0055] Figure 2 A schematic diagram of the software structure of an electronic device provided in an embodiment of this application;

[0056] Figure 3 A flowchart illustrating a folder management method provided in an embodiment of this application;

[0057] Figures 4-12This application provides a schematic diagram of a folder management scenario.

[0058] Figure 13 This is a schematic diagram of another folder management device provided in an embodiment of this application. Detailed Implementation

[0059] When an app is listed, the publisher selects its category based on the classification tags provided by the app store. For example, the Huawei App Store offers three levels of categories, with the first-level category including Games and Apps. The second-level categories for Games include Casual & Puzzle, Strategy, Sports, Board Games, Action Shooting, and Role-Playing. The second-level categories for Apps include Audio-Visual Entertainment, Utilities, Social Communication, Education, News Reading, Photography & Beautification, Food, Travel Navigation, Travel & Accommodation, Shopping & Price Comparison, Business, Children's, Finance & Investment, Sports & Health, Convenience Living, Automobile, and Themes & Personalization. Each second-level category also has corresponding third-level categories. For example, the third-level categories for Casual & Puzzle include Casual, IO, Puzzle, Elimination, Music Rhythm, and Puzzle. The third-level categories for Audio-Visual Entertainment include TV, Video, Music, Karaoke, Live Streaming, and Radio.

[0060] As the number of apps installed on electronic devices increases, users often merge multiple apps of the same category into folders to avoid frequently switching home screens to find the app they need. When the merged apps belong to the exact same category, the electronic device can name the folder according to the app's category. For example, if the merged apps are all games, the electronic device can name the folder "Games".

[0061] However, as the functionality of various apps becomes increasingly overlapping, users may not be able to accurately distinguish the category of an app based on their daily usage habits. For example, app 1 might be categorized as "Camera & Beautification" in the app store, primarily providing users with short video shooting and video / photo beautification functions. However, some users might use app 1 to watch short videos posted by other users or search for movies and TV shows, without utilizing its shooting or beautification functions. Therefore, these users might assume app 1 belongs to the "Entertainment" category. When creating a folder, these users might merge app 1 with other entertainment apps. In this case, because app 1 belongs to a different category than other entertainment apps, the electronic device cannot accurately name the folder. For example, simply naming it "Folder" makes it difficult for users to quickly determine which apps might be merged into the folder. Alternatively, the electronic device might directly display an input box for the user to enter the name.

[0062] Some users will use APP1 as their primary social platform, communicating with other users through short videos, comments, and private messages. These users may consider APP1 to be a social communication app. When creating a folder, these users may merge APP1 with other social communication apps. Similarly, because APP1 belongs to a different category than other social communication apps, the electronic device may not be able to accurately name the folder.

[0063] Therefore, to address the problem that in the current folder creation process, multiple merged apps belonging to different categories cannot accurately name the folders on electronic devices, this application provides a folder management method. During folder creation, the folder name is obtained by merging the categories of multiple apps, ensuring that the folder name fully reflects the categories of the merged apps. This improves the efficiency and accuracy of folder naming.

[0064] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings and related embodiments. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, "at least one" and "one or more" refer to one or more (including two). The term "and / or" is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0065] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.

[0066] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0067] The folder management method provided in this application can be applied to electronic devices that support APP operation. For example, mobile phones, tablets, wearable devices, in-vehicle devices, smart screens, etc. This application does not limit the specific type of electronic device.

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

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

[0070] For example, when the electronic device 100 is a mobile phone or a tablet computer, it may include all the components shown in the figure, or it may include only some of the components shown in the figure.

[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 via the I1C bus interface, thereby realizing the touch function of the electronic device 100.

[0076] The I1S 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 I1S 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 I1S interface.

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

[0078] In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface. Both the I2S interface and the PCM interface can be used for audio communication.

[0079] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus, converting the data to be transmitted between parallel and non-parallel communication.

[0080] 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 via Bluetooth headphones.

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

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

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

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

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

[0086] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 131, external memory interface 120, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance).

[0087] In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be located in the same device.

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

[0089] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0090] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.

[0091] In some embodiments, at least some functional modules of the mobile communication module 150 may be disposed 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 disposed in the same device.

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

[0093] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (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.

[0094] 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. 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. GNSS can 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).

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

[0096] The display screen 194 is used to display images, videos, etc., such as the icon, folder, and folder name of the APP in this embodiment. 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.

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

[0098] 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 skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0099] Camera 193 is used to capture still images or videos. An object passes through the lens, generating an optical image that is projected onto a photosensitive element. The focal length of the lens indicates the camera's field of view; a smaller focal length indicates a larger field of view. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts light signals into electrical signals, which are then transmitted to the ISP (Image Signal Processor) for conversion into digital image signals. The ISP outputs the digital image signals to the DSP (Digital Signal Processor) for processing. The DSP converts the digital image signals into standard RGB, YUV, or other image signal formats.

[0100] In this application, the electronic device 100 may include two or more cameras 193 with different focal lengths.

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

[0102] 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, MPEG1, MPEG3, MPEG4, etc.

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

[0104] In this embodiment of the application, the NPU or other processor can be used to perform operations such as analysis and processing of images in the video stored in the electronic device 100.

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

[0106] Internal memory 131 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 131. Internal memory 131 may include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function (such as sound playback, image playback, etc.). The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.).

[0107] In addition, the internal memory 131 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0108] Electronic device 100 can implement audio functions through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0109] The audio module 170 is used to convert digital audio signals into analog audio signals for output, and also to convert analog audio inputs 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.

[0110] 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 hands-free calls through the speaker 170A. For example, the speaker can play the comparison analysis results provided in the embodiments of this application.

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

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

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

[0114] 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 a 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 touch operation intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A.

[0115] In some embodiments, touch operations applied to the same touch location but with different touch intensity 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 message 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 message is executed.

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

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

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

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

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

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

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

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

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

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

[0126] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from vibrating bone fragments in the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals.

[0127] In some embodiments, the bone conduction sensor 180M can also be integrated into the headphones to form bone conduction headphones. The audio module 170 can analyze the vibration signal of the sound-vibrating bone block acquired by the bone conduction sensor 180M to extract the voice signal and realize the voice function. The application processor can analyze the heart rate information based on the blood pressure fluctuation signal acquired by the bone conduction sensor 180M to realize the heart rate detection function.

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

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

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

[0131] 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 separate 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, SIM cards, etc. 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. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0132] See Figure 2 This is a schematic diagram of the software structure of an electronic device according to an embodiment of this application. The operating system in the electronic device can be Android, Microsoft Windows, Apple iOS, or HarmonyOS, etc. Here, HarmonyOS is used as an example for illustration.

[0133] In some embodiments, the HarmonyOS system can be divided into four layers, including the kernel layer, system service layer, framework layer, and application layer, with the layers communicating with each other through software interfaces.

[0134] like Figure 2As shown, the kernel layer includes the Kernel Abstraction Layer (KAL) and the driver subsystem. The KAL contains multiple kernels, such as the Linux Kernel for the Linux system and the LiteOS kernel for lightweight IoT systems. The driver subsystem can include a Hardware Driver Foundation (HDF). The HDF provides unified peripheral access capabilities and a framework for driver development and management. A multi-kernel kernel layer can select the appropriate kernel for processing based on system requirements.

[0135] The system service layer is the core capability set of the HarmonyOS system. It provides services to applications through the framework layer. This layer may include a set of basic system capability subsystems, a set of basic software service subsystems, a set of enhanced software service subsystems, and a set of hardware service subsystems.

[0136] The system's basic capability subsystems provide foundational capabilities for the operation, scheduling, and migration of distributed applications on HarmonyOS devices. These may include subsystems such as distributed soft bus, distributed data management, distributed task scheduling, Ark multi-language runtime, common base libraries, multi-modal input, graphics, security, artificial intelligence (AI), and user program frameworks. Among these, the Ark multi-language runtime provides runtime environments for C, C++, or JavaScript (JS) languages ​​and basic system class libraries. It can also provide a runtime environment for Java programs statically generated using the Ark compiler (i.e., the parts of the application or framework layer developed using the Java language).

[0137] The basic software service subsystem provides common and general software services for the HarmonyOS system. These may include subsystems such as event notification, telephony, multimedia, Design For X (DFX), and MSDP & DV.

[0138] The enhanced software service subsystem provides HarmonyOS with differentiated enhanced software services for different devices. It may include dedicated subsystems for smart screens, wearables, and the Internet of Things (IoT).

[0139] The hardware service subsystem provides hardware services for the HarmonyOS system. This may include subsystems such as location services, biometric recognition, wearable hardware services, and IoT hardware services.

[0140] The framework layer provides HarmonyOS application development with user program frameworks and capability frameworks in multiple languages, including Java, C, C++, and JS; two user interface (UI) frameworks (JavaUI framework for Java and JS UI framework for JS); and multi-language framework application programming interfaces (APIs) for various software and hardware services. The APIs supported by HarmonyOS devices will vary depending on the degree of system componentization.

[0141] The application layer includes system applications and third-party applications (or extended applications). System applications can include applications that are installed by default on electronic devices, such as the desktop, control bar, settings, and phone. Extended applications can be non-essential applications developed and designed by the electronic device manufacturer, such as applications for managing electronic devices, migrating between devices, note-taking, and weather. Third-party non-system applications can be applications developed by other manufacturers that can run on the HarmonyOS system, such as games, navigation, social networking, or shopping applications.

[0142] It provides the ability to run background tasks and a unified data access abstraction. PA mainly supports FA, for example, by providing computing power as a background service or providing data access capabilities as a data warehouse. Applications developed based on FA or PA can implement specific business functions, support cross-device scheduling and distribution, and provide users with a consistent and efficient application experience.

[0143] Multiple electronic devices running the HarmonyOS system can achieve hardware cooperation and resource sharing through distributed soft bus, distributed device virtualization, distributed data management, and distributed task scheduling.

[0144] See Figure 3 This is a flowchart illustrating an embodiment of a folder management method provided in this application, mainly involving the folder creation and naming process. Figure 3 As shown, the method includes:

[0145] S301, in response to the merge operation of M apps, create a folder, merge the categories to which the M apps belong, and obtain the name of the folder.

[0146] Where M is an integer greater than or equal to 2.

[0147] S302, Display the folder and its name on the desktop of the electronic device.

[0148] In this embodiment, the merge operation may involve selecting the icon of at least one app and dragging it to the location of the icon of another app. When the electronic device detects the merge operation, it can determine that a folder needs to be created and named to merge the at least one app and the other app into that folder.

[0149] The so-called merging of the categories to which M apps belong means extracting information from the categories to which the M apps belong, combining the extracted information into file names so that the folder name can represent the category to which the M apps belong.

[0150] Therefore, if M apps do not belong to the same category, the folder name determined by the category to which each of the M apps belongs can be used to represent the category to which each of the M apps belongs.

[0151] The following is based on Figure 4 Using the desktop shown as an example, this application provides an exemplary description of the folder creation and naming process, combining two folder creation methods and various possible naming scenarios. Figure 4 As shown, the apps displayed on the desktop include Clock, Calendar, Gallery, Notes, File Manager, Email, Music, Calculator, Huawei Video, Health, Weather, Browser, Smart Life, Settings, Voice Recorder, App Store, Camera, Contacts, Phone, and Messages.

[0152] Method 1: Long press to select the icon of one app, and then drag the icon of that app to the position of the icon of another app.

[0153] In Method 1, a folder is typically created by merging two apps (i.e., M=2). This Method 1 can be implemented on the desktop. For example, because users frequently use memos and email for work, they consider email and memos to be work-related apps and therefore choose to merge them into one folder. Figure 4 ,like Figure 5 As shown, when creating a folder, the user long-presses the icon of one of the apps (e.g., email) on the desktop of the electronic device to select the email. Then, the user drags the email icon to the location of the notes icon and releases the email icon. The electronic device, in response to this merge operation, creates a folder, names it by merging the categories to which the email and notes belong, and displays the folder and its name on the desktop.

[0154] In this embodiment, since the electronic device detects that the email belongs to the "Business" category and the memo belongs to the "Utilities" category, it can merge these two categories into "Business and Utilities" and name the created folder using "Business and Utilities." It can be seen that although the email and memo belong to different categories, the electronic device can still accurately name the created folder, ensuring that the folder name accurately represents the category of the email and memo, thus eliminating the need for manual naming and improving the accuracy and efficiency of folder naming.

[0155] Optionally, the solution described in Method 1 can also be implemented on a desktop editing page. For example, based on... Figure 4 ,like Figure 6 As shown, based on user actions (such as swiping two fingers from the sides of the screen towards the center), the electronic device switches to the desktop editing page. Based on... Figure 6 The desktop editing page shown is as follows: Figure 7 As shown, the user long-presses the email icon on the desktop area displayed in the desktop editing page to select the email. Then, the user drags the email icon to the location of the memo icon and releases the email icon. The electronic device responds to this merge operation by creating a folder, naming it according to the category of the merged email and memo, and displaying the folder and its name on the desktop area displayed in the desktop editing page. Afterward, the user can click on an empty area of ​​the desktop (i.e., the area not displayed by the app), and the electronic device switches from the desktop editing page to the desktop. This desktop displays the folder created in the desktop editing page and its name, "Business & Tools."

[0156] Method 2: Select M-1 app icons by clicking, and then drag the M-1 app icons to the position of another app icon.

[0157] In method two, folders can be created by merging two or more apps (i.e., M≥2). This method two can be implemented on the desktop editing page.

[0158] For example, suppose a user chooses to merge emails, Huawei videos, and notes into one folder. Based on Figure 6 ,like Figure 8 As shown, users can click the email and Huawei video icons to select email and Huawei video. Once selected, the selected icon will appear in the upper left corner of the email and Huawei video icons (i.e.,...). Figure 8The checkmark (√) indicates that the user has selected an app. The user then taps the icon of any of the selected apps (e.g., the email icon) and drags it towards the location of the notes icon. The selected app's icon follows the user's drag path, and once it reaches the notes icon, the user releases the selected app's icon. The electronic device responds to this merge operation by creating a folder and naming it according to the merged categories of email, Huawei video, and notes.

[0159] In this example, since the electronic device detects that the email belongs to the Business category, the memo belongs to the Utilities category, and the Huawei Video belongs to the Media & Entertainment category, it can merge these three categories into "Business & Tools & Media" and name the created folder accordingly. It can be seen that although the email, Huawei Video, and memo belong to different categories, the electronic device can still accurately name the created folder, ensuring that the folder name accurately represents the category of each email, Huawei Video, and memo. This eliminates the need for manual naming, improving the accuracy and efficiency of folder naming.

[0160] After the user releases the selected app icon, the electronic device displays the folder and its name "Business & Tools & Media" on the desktop area of ​​the desktop editing page. Then, if the user clicks on an empty area of ​​the desktop (i.e., the area not displayed by the app), the electronic device switches from the desktop editing page to the desktop. This desktop displays the folder created on the desktop editing page and its name, "Business & Tools & Media."

[0161] In this embodiment, when an electronic device merges the categories of M applications, it can first obtain a list of categories for the M apps. This list of categories satisfies the following conditions: it includes N different categories, and any one of the M apps belongs to at least one category in this list, where M ≥ N ≥ 2. The electronic device can then generate folder names based on the category list. The following examples illustrate several possible scenarios for folder naming methods.

[0162] Scenario 1: The M apps selected by the user all belong to a single category.

[0163] In this scenario, if each app belongs to a different category, the category list of the M apps will include M different categories. The electronic device can then merge these M different categories into a folder name. For example, in the example above, when creating a folder by merging Email and Memos, since Email belongs to the Business category and Memos belongs to the Utilities category, and the two apps belong to different categories (i.e., their category lists include both Business and Utilities), the electronic device can merge Business and Utilities into "Business & Utilities" as the folder name.

[0164] If M apps belong to the same category, those duplicate categories are treated as a single category. For example, when merging the four apps Email, Notes, Huawei Video, and Music, since Email belongs to the Business category, Notes to the Utilities category, and Huawei Video and Music to the Media & Entertainment category, the category list for these four apps would include Business, Utilities, and Media & Entertainment. Therefore, the electronic device can merge these three categories into a single folder named "Business & Tools & Media".

[0165] Scenario 2: Among the M apps selected by the user, some apps fall into multiple categories.

[0166] Taking APP2, APP3, APP4 and APP5 as examples, APP2 has category a, APP3 has category (a, b), APP4 has category c, and APP5 has category (d, c).

[0167] When creating a folder by merging APP2, APP3, APP4, and APP5, in one example, the device can determine the category list for APP2, APP3, APP4, and APP5 based on their first priority category. For instance, if the first priority category for APP2 is 'a', the first priority category for APP3 is 'a', the first priority category for APP4 is 'c', and the first priority category for APP5 is 'd', then the category list for APP2, APP3, APP4, and APP5 includes 'a', 'c', and 'd'. The device can then name the folder created by merging APP2, APP3, APP4, and APP5 as "a, c, and d".

[0168] Optionally, the electronic device can also prioritize duplicate categories. For example, APP2 and APP3 have a duplicate category 'a', and APP4 and APP5 have a duplicate category 'c'. Then, the electronic device can determine that the category list for APP2, APP3, APP4, and APP5 includes both 'a' and 'c'. The electronic device can then name the folder created by merging APP2, APP3, APP4, and APP5 as "a and c".

[0169] In one example, the electronic device can also set merge priorities. For instance, categories with more repetitions have higher merge priorities. For example, if APP6 has categories (a, d), when creating a folder by merging APP6, APP2, APP3, APP4, and APP5, category a has the highest merge priority because it repeats 3 times, category d repeats 2 times, and category c repeats 2 times. Categories d and c have the same merge priority. However, since the combination of categories a and c can cover the categories of each APP, the electronic device determines that the category list for APP2, APP3, APP4, APP5, and APP6 includes both a and c. The electronic device can name the folder created by merging APP2, APP3, APP4, APP5, and APP6 as "a and c".

[0170] Understandably, when M apps belong to the same category, the electronic device determines that the same category as the category list of the M apps and uses the same category to name the folder.

[0171] It's worth noting that for M apps, the electronic device may obtain multiple lists of categories that meet the criteria. In this case, the electronic device can choose the category list with the smallest N (i.e., the fewest number of categories) as the category list for the M apps.

[0172] In one example, considering the limited display space on the desktop, a preset number of categories can be used to avoid excessively long folder names. If the number of categories in the category list of M apps is less than or equal to the preset number of categories (i.e., N is less than or equal to the preset number of categories), then a folder name is generated based on this category list. The generated folder name can be used to represent each category in the category list. Otherwise, the preset names, such as Folder1, Folder2, etc., are used to name the folders. Alternatively, an edit bar can be displayed directly, allowing the user to name the folders themselves.

[0173] For example, suppose the preset number of categories is 2. When creating a folder by merging APP6, APP2, APP3, APP4, and APP5, since the category lists of APP6, APP2, APP3, APP4, and APP5 include categories 'a' and 'c', and since the total number of categories in the category list is less than 2, the electronic device can name the folder "a and c" by merging categories 'a' and 'c'. When creating a folder by merging email, music, and Huawei videos, since the category lists of email, music, and Huawei videos contain 3 categories, exceeding the preset number of categories, the electronic device can use preset names such as Folder1, Folder2, etc., to name the folder. Alternatively, it can directly display the editing bar and allow the user to name the folder themselves.

[0174] In one example, after creating a folder with M apps, the electronic device can find recommended apps based on the categories to which the M apps belong. Here, a recommended app is an app that belongs to the same category as any one of the M apps. In this example, a recommended app specifically refers to an app belonging to any category in the list of categories for the M apps.

[0175] The electronic device can search for recommended apps among the apps displayed on the desktop (i.e., apps whose icons are not merged into any folder). It can also search for recommended apps among all apps installed on the electronic device. Furthermore, it can search for popular apps of the same type in the app store based on a list of M app categories as recommended apps. This application does not impose any limitations on this.

[0176] If at least one recommended app is displayed on the desktop of an electronic device, a recommendation window can also be displayed after creating a folder. This window shows the at least one recommended app, allowing the user to choose whether to merge the recommended app into the folder, thus organizing similar applications.

[0177] For example, based on Figure 5 The folder shown is "Business and Tools". Figure 9 As shown, the electronic device detected that the voice recorder, calculator, calendar, clock, browser, weather, and settings belong to the same category as the notes app—all utilities. Therefore, the electronic device determined that the voice recorder, calculator, calendar, clock, browser, weather, and settings are recommended apps and displayed a recommendation window.

[0178] Users can select recommended apps to be merged into the folder from the recommendation window. For example, a user can click on the recorder app, select it, and then click the "OK" button. The device will then merge the recorder app into the "Business & Tools" folder based on the user's action. Alternatively, users can click the "Cancel" button to skip this process.

[0179] In one example, when an electronic device creates a folder by merging M apps, the folder may contain fewer apps (for example, if the folder is created using method one above, it might contain 2 apps). Therefore, the electronic device can initially display the folder in a smaller folder format.

[0180] The electronic device then displays a recommendation window to the user. If, based on user actions, it is determined that at least one recommended app should be merged into this folder, the electronic device can display the folder in a large file format.

[0181] The large folder format is a folder display format that supports one-click opening by apps. When a folder is displayed in large folder format, clicking the app icon within the folder will launch the app directly. In contrast, with small folder format, the user needs to click the folder to expand it, and then click the corresponding app icon to launch the app. In one example, the display area occupied by a small folder on the desktop is the same as that occupied by a single app, while the display area occupied by a large folder is the same as that occupied by four apps displayed on the desktop. For a more detailed definition of the large folder format, please refer to the large folder format documentation in the HarmonyOS system.

[0182] Therefore, when a folder contains a small number of apps (e.g., two), the electronic device can initially display the folder as a small file to avoid wasting display resources. Once it's decided to add recommended apps to the folder, increasing the total number of apps, the electronic device can then display the folder as a large file, allowing the apps within the folder to be launched with a single click, thereby improving the user's efficiency in operating the folder to some extent.

[0183] In one example, after a folder is created, the user may change its contents during use. For instance, when a user adds a first app to the folder, the electronic device will merge the first app into the folder. If the category of the first app differs from the existing category list of apps in the folder, the electronic device can add information indicating the category of the first app to the folder name. In other words, the folder name is updated so that it can also be used to indicate the category of the first app.

[0184] For example, based on Figure 5 ,like Figure 10 As shown, the first app is music. Users can drag the music icon to... Figure 5The electronic device has merged music into the folder "Business & Tools". Since music belongs to the Media & Entertainment category, which differs from the category lists for emails and memos, the device then renames the folder, adding information indicating Media & Entertainment, such as "Media," to "Business & Tools". In other words, the folder name is changed to "Business & Tools & Media".

[0185] Of course, if the number of categories is preset for the folder name, the electronic device can keep the folder name unchanged when the number of categories in the category list of the first APP and the existing APPs in the folder exceeds the preset number of categories.

[0186] Optionally, when a user removes a second app from a folder, if the category to which the second app belongs is different from the category to which the remaining apps in the folder belong, the information indicating the category to which the second app belongs is deleted from the folder name.

[0187] For example, based on Figure 8 The folder shown is "Business & Tools & Media," assuming the second app is Huawei Video. For example... Figure 11 As shown, after the folder expands, the user can long-press on the Huawei Video folder, select it, and then drag it out of the folder, or uninstall it. At this point, the folder will not contain the Huawei Video. This is because the Huawei Video belongs to the Media & Entertainment category, which differs from the category of the remaining emails and memos in the folder. Therefore, the electronic device can remove the "Media" information from the folder name "Business & Tools & Media" that indicates Media & Entertainment, resulting in the new name "Business & Tools".

[0188] Understandably, when adding or removing apps from a created folder, the electronic device can automatically and adaptively modify the folder name based on the category of the added or removed app, without requiring manual modification, thus further improving the efficiency and accuracy of folder naming.

[0189] It is worth noting that the above embodiment uses "AND" to connect and represent different categories of information, which is only an example. Other words or symbols, such as "and", "&", "-", " / ", "·", etc., can also be used to connect and combine different categories of information. Of course, information of each category can also be directly concatenated to represent each category. For example, the above "Business and Tools and Media" can also be represented as "Business Tools and Media". This application does not limit this.

[0190] In one example, based on the large file format mentioned above, this application also provides another method for displaying folders. After an electronic device creates a folder, it can directly use the large folder format to display the created folder.

[0191] Optionally, this application also provides another method for displaying folders, which can adaptively switch the display format according to the number of apps contained in the folder. For example, if the number of apps contained in the folder is greater than or equal to the first number, the folder is displayed in a large folder format; if the number of apps contained in the folder is less than the first number, the folder is displayed in a small folder format.

[0192] For example, the first number can be set based on the display area occupied by the large folder on the desktop. For instance, the display area occupied by a small folder is the same as the display area occupied by one app on the desktop, while the display area occupied by a large folder is the same as the display area occupied by four apps on the desktop. Therefore, if a folder contains two apps, displaying the folder as a large folder would waste the display area of ​​both apps.

[0193] To address this issue, the first number can be set to a value greater than or equal to 3.

[0194] For example, if the first number is 3, then... Figure 5 As shown, when an electronic device creates a folder named "Business & Tools," it can directly display the files as small files because the folder contains two apps. Based on... Figure 8 ,like Figure 12 As shown, when an electronic device creates a folder named "Business, Tools and Media", it can directly display the files as large files because the folder contains three apps.

[0195] Furthermore, after a folder is created, the electronic device can adjust its format based on user changes to the folder's contents. For example, if the folder is displayed in a large folder format, and the user removes some apps from the folder, causing the number of apps in the folder to fall below a preset number, the electronic device can switch the folder's display format to a small folder format. Conversely, if the folder is displayed in a small folder format, and the user adds apps to the folder, causing the number of apps in the folder to exceed or equal to a preset number, the electronic device can switch the folder's display format to a large folder format.

[0196] It is understood that, in this embodiment of the application, by flexibly adjusting the display format of the folder according to the number of apps in the folder, the user's efficiency in operating the folder can be improved to a certain extent.

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

[0198] Corresponding to the folder management method described in the above embodiments, Figure 13 This is a structural block diagram of a folder management device provided in an embodiment of this application. For ease of explanation, only the parts related to the embodiment of this application are shown.

[0199] like Figure 13 As shown, the folder management device includes a creation unit 1301 and a display unit 1302.

[0200] The creation unit 1301 is used to create a folder in response to the merging operation of M apps, and merge the categories to which the M apps belong to obtain the name of the folder, where M is an integer greater than or equal to 2;

[0201] Display unit 1302 is used to display the folder and the folder name on the desktop of the electronic device.

[0202] Optionally, if the M apps do not belong to the same category, the creation unit 1301 merges the categories to which the M apps belong to obtain the name of the folder, specifically including:

[0203] The name of the folder is determined according to the category to which the M apps belong, and the name of the folder is used to represent the category to which the M apps belong.

[0204] Optionally, the creation unit 1301 merges the categories of the M apps to obtain the name of the folder, specifically including:

[0205] Obtain a category list of the M apps, the category list includes N different categories, and any one of the M apps belongs to at least one category in the category list, where M≥N≥2;

[0206] If N is less than or equal to the preset number of categories, then the name of the folder is generated based on the category list, and the name of the folder is used to represent each category in the category list.

[0207] Optionally, the creation unit 1301 is further configured to:

[0208] A recommendation window is displayed, which shows recommended apps. The recommended apps are apps that belong to the same category as any of the M apps.

[0209] In response to user actions, determine whether to merge the recommended apps into the folder.

[0210] Optionally, the display unit 1302 displays the folder on the desktop of the electronic device, specifically including:

[0211] The folder is displayed in a small folder format;

[0212] After the display unit 1302 displays the folder on the desktop of the electronic device, the creation unit 1301 is further configured to:

[0213] When it is determined that at least one of the recommended apps will be merged into the folder, the folder will be displayed in a large file format.

[0214] Optionally, the creation unit 1301 is further configured to:

[0215] When a first app is added to the folder, if the category to which the first app belongs is different from the categories to which the M apps belong, the name of the folder is updated. The updated name of the folder is also used to indicate the category to which the first app belongs.

[0216] Optionally, the creation unit 1301 is further configured to:

[0217] When a second app is removed from the folder, if the category to which the second app belongs is different from the category to which the remaining apps in the folder belong, the information indicating the category to which the second app belongs is deleted from the folder name.

[0218] Optionally, if the number of apps contained in the folder is greater than or equal to the first number, the display unit 1302 displays the folder in a large folder format;

[0219] If the number of apps contained in the folder is less than the first number, the display unit 1302 will display the folder in a small folder format.

[0220] Based on the folder management methods provided in the above embodiments, this application also provides the following:

[0221] This embodiment provides a computer program product, which includes a program that, when run by an electronic device, enables the electronic device to perform the folder management method shown in the above embodiments.

[0222] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the folder management methods shown in the above embodiments.

[0223] This application provides a chip including a memory and a processor. The processor executes a computer program stored in the memory to control the electronic device to perform the folder management method shown in the above embodiments.

[0224] It should be understood that the processor mentioned in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0225] It should also be understood that the memory mentioned in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0226] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0227] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

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

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

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

[0231] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0232] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a large-screen device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0233] Finally, it should be noted that the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A folder management method applied to an electronic device, characterized by, The method includes: In response to the merge operation of M apps, a folder is created, and the categories to which the M apps belong are merged to obtain the name of the folder, where M is an integer greater than or equal to 2; The folder and its name are displayed on the desktop of the electronic device; When a first app is added to the folder, if the category to which the first app belongs is different from the category to which the M apps belong, and the number of categories contained in the names of the first app and the folder is less than or equal to the preset number of categories, the name of the folder is updated, and the updated name of the folder is also used to indicate the category to which the first app belongs; When a second app is added to the folder, if the category to which the second app belongs is different from the category to which the M apps belong, and the number of categories contained in the names of the second app and the folder is greater than the preset number of categories, the name of the folder is not changed.

2. The method of claim 1, wherein, The M apps do not belong to the same category. The process of merging the categories of the M apps to obtain the folder name specifically includes: The name of the folder is determined according to the category to which the M apps belong, and the name of the folder is used to represent the category to which the M apps belong.

3. The method according to claim 1, characterized in that, The process of merging the categories of the M apps to obtain the folder name specifically includes: Obtain a category list of the M apps, the category list includes N different categories, and any one of the M apps belongs to at least one category in the category list, where M≥N≥2; If N is less than or equal to the preset number of categories, then the name of the folder is generated based on the category list, and the name of the folder is used to represent each category in the category list.

4. The method according to claim 1, characterized in that, The method further includes: A recommendation window is displayed, which shows recommended apps. The recommended apps are apps that belong to the same category as any of the M apps. In response to user actions, determine whether to merge the recommended apps into the folder.

5. The method according to claim 4, characterized in that, Displaying the folder on the desktop of the electronic device specifically includes: The folder is displayed in a small folder format; After the folder is displayed on the desktop of the electronic device, the method further includes: When it is determined that at least one of the recommended apps will be merged into the folder, the folder will be displayed in a large file format.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: When a second app is removed from the folder, if the category to which the second app belongs is different from the category to which the remaining apps in the folder belong, the information indicating the category to which the second app belongs is deleted from the folder name.

7. The method according to any one of claims 1-5, characterized in that, If the number of apps contained in the folder is greater than or equal to the first number, the folder will be displayed in a large folder format. If the number of apps contained in the folder is less than the first number, the folder will be displayed in a smaller folder format.

8. A folder management device, characterized in that, include: A creation unit is used to create a folder in response to a merge operation of M apps, and merge the categories to which the M apps belong to obtain the name of the folder, where M is an integer greater than or equal to 2; A display unit is used to display the folder and the name of the folder on the desktop of an electronic device; The creation unit is further configured to, when adding a first APP to the folder, update the name of the folder if the category to which the first APP belongs is different from the category to which the M APPs belong, and the number of categories contained in the names of the first APP and the folder is less than or equal to a preset number of categories. The updated name of the folder is also used to indicate the category to which the first APP belongs. The creation unit is further configured to, when adding a second APP to the folder, not change the name of the folder if the category to which the second APP belongs is different from the category to which the M APPs belong, and the number of categories contained in the names of the second APP and the folder is greater than the preset number of categories.

9. The folder management device according to claim 8, characterized in that, The M apps do not belong to the same category. The creation unit merges the categories to which the M apps belong to to obtain the name of the folder, specifically including: The name of the folder is determined according to the category to which the M apps belong, and the name of the folder is used to represent the category to which the M apps belong.

10. The folder management device according to claim 8, characterized in that, The creation unit merges the categories to which the M apps belong to obtain the name of the folder, specifically including: Obtain a category list of the M apps, the category list includes N different categories, and any one of the M apps belongs to at least one category in the category list, where M≥N≥2; If N is less than or equal to the preset number of categories, then the name of the folder is generated based on the category list, and the name of the folder is used to represent each category in the category list.

11. The folder management device according to claim 8, characterized in that, The creation unit is also used for: A recommendation window is displayed, which shows recommended apps. The recommended apps are apps that belong to the same category as any of the M apps. In response to user actions, determine whether to merge the recommended apps into the folder.

12. The folder management device according to claim 11, characterized in that, The display unit displays the folder on the desktop of the electronic device, specifically including: The folder is displayed in a small folder format; After the display unit displays the folder on the desktop of the electronic device, the creation unit is further configured to: When it is determined that at least one of the recommended apps will be merged into the folder, the folder will be displayed in a large file format.

13. The folder management device according to any one of claims 8-12, characterized in that, The creation unit is also used for: When a second app is removed from the folder, if the category to which the second app belongs is different from the category to which the remaining apps in the folder belong, the information indicating the category to which the second app belongs is deleted from the folder name.

14. The folder management device according to any one of claims 8-12, characterized in that, If the number of apps contained in the folder is greater than or equal to the first number, the display unit will display the folder in a large folder format; If the number of apps contained in the folder is less than the first number, the display unit will display the folder in a small folder format.

15. An electronic device, characterized in that, include: A processor for running a computer program stored in a memory to implement the method as claimed in any one of claims 1 to 7.

16. A chip system, characterized in that, The chip system includes a processor that executes a computer program stored in a memory to implement the method as described in any one of claims 1-7.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 7.