File arrangement method, electronic equipment and computer readable storage medium
By setting clustering rules in electronic devices, intelligent file management is achieved, solving the problem of low efficiency in file organization and retrieval, and improving the accuracy and convenience of file management.
Patent Information
- Application Number
- CN202510933963.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2026-02-13
AI Technical Summary
In the existing technology, file management on electronic devices is complex. Users need to manually create and classify folders, which is time-consuming and makes it difficult to efficiently organize and find files.
This paper provides a file organization method that automatically categorizes electronic devices into folders by creating clustering rules. It supports multi-dimensional rule settings, including file content, type, source, time, etc., to achieve intelligent file management.
It improves the accuracy and efficiency of file organization, enhances the convenience and flexibility of file searching, reduces user operations, and improves the user experience.
Smart Images

Figure CN121524142A_ABST
Abstract
Description
Technical Field
[0001] This application relates, and more particularly to, a document organization method, an electronic device, and a computer-readable storage medium. Background Technology
[0002] The amount of data generated by people using electronic devices in their daily work and life is growing exponentially. For example, as users spend more time using electronic devices, the number of files stored on these devices increases. As the number of files increases, file management on electronic devices becomes increasingly complex.
[0003] Currently, users need to manually create folders and manually select files to categorize and store them in the corresponding folders. However, manually categorizing files is time-consuming. How to improve the efficiency of organizing files on electronic devices requires further research. Summary of the Invention
[0004] This application provides a file organization method, an electronic device, and a computer-readable storage medium. Implementing this method, users can create folder clustering rules, and based on these rules, categorize and organize files in the electronic device into folders, improving the accuracy and efficiency of file organization. It also allows users to organize files in the electronic device according to user-specified rules, enhancing the user experience.
[0005] Firstly, this application provides a file organization method. An electronic device displays a first interface; the electronic device receives and responds to an operation by a user inputting a first clustering rule on the first interface, creating a first folder, the first clustering rule including one or more conditions; the electronic device receives and responds to an operation on the first folder, displaying an interface for the first folder, the interface of the first folder including options for one or more files in a first file set, the one or more files in the first file set satisfying the first clustering rule.
[0006] The first clustering rule includes any one or more of the following: file content includes the first content, file type includes the first type, file source includes the first source, file browsing time includes the first time, file modification time includes the second time, file creation date includes the third time, file name includes the first name, and file size includes the first size.
[0007] The file types of one or more files in the first file set include any one or more of the following: text document, spreadsheet, presentation, database, compressed file, image, video, and audio.
[0008] Optionally, after the first folder is created, the electronic device can automatically display the first folder's icon on the desktop. Alternatively, the electronic device can choose not to display the first folder's icon on the desktop, but instead display it after receiving a user interaction.
[0009] Implementing this method has several advantages. First, electronic devices can create a first folder based on a predefined first clustering rule and automatically categorize and organize files within the device into this folder, improving the accuracy and efficiency of file organization. It can also categorize and organize files according to user-specified rules, enhancing the user experience. Second, given the large number of files on an electronic device, users may not know the location of a specific file. The device can then use this information to determine the first clustering rule, allowing it to create the first folder based on the user's input. After creation, the device can search for files matching the first clustering rule and categorize them into the first folder, facilitating file retrieval and improving efficiency. Third, newly added files can be automatically categorized into appropriate folders, reducing user intervention and achieving automated file organization.
[0010] In summary, this application improves file organization efficiency. Traditionally, users need to manually organize files, analyzing and judging each one individually, and then manually placing them into appropriate folders—a time-consuming and laborious process. This application allows users to set multi-dimensional rules, enabling electronic devices to automatically traverse computer storage areas to retrieve file information. The electronic device quickly matches the file information with the rules, resulting in a highly automated process. Users only need to perform simple rule settings to allow the electronic device to complete the organization of large numbers of files, significantly saving users time and effort.
[0011] This application also improves the convenience and accuracy of file searching. Previously, users might struggle to quickly locate the desired file due to complex folder hierarchies, inconsistent file naming, or lingering memories. This system uses smart folders generated by multi-dimensional rules to group files with similar characteristics together. For example, if a user wants to find a specific type of file generated by an application within a specific time period, they can simply open the corresponding smart folder to find it quickly, eliminating the need to search through numerous folders one by one, greatly improving the speed and accuracy of file searching.
[0012] This application also enhances the flexibility and adaptability of file management. Different users have different needs for file management, and traditional fixed-level folder structures are difficult to meet diverse requirements. With this system, users can freely combine elements such as subject keywords, time, application source, and file type to set rules and generate smart folders that suit their personal work or life habits. Whether it's project managers managing files by project theme and time, or photography enthusiasts organizing photos by shooting time and image type, it all works.
[0013] An exemplary description of how an electronic device receives and responds to a user's input of a first clustering rule on the first interface, and creates a first folder, can be found in [reference needed]. Figures 3A-3K , Figures 4A-4I The examples are described below.
[0014] In conjunction with the first aspect, in one possible implementation, before the electronic device displays the first interface, the method further includes: the electronic device receiving an operation to create the first folder; the electronic device displaying the first interface specifically includes: displaying the first interface in response to the operation to create the first folder.
[0015] For example, the first interface can be Figure 3E The window shown is 3005.
[0016] For example, the operation of creating the first folder can be... Figure 3D The cursor 3001 shown refers to the operation of the "Create Smart Folder" option.
[0017] For example, the operation of creating the first folder can also be Figure 4C The cursor 3001 shown is for inputting the option to create a new smart folder.
[0018] In conjunction with the first aspect, in one possible implementation, after the electronic device creates the first folder, the method further includes: the electronic device acquiring and saving the first file, and automatically placing the first file into the first file set, wherein the first file satisfies the first clustering rule.
[0019] Optionally, before the electronic device adds the first file to the first file set, it may obtain the file information of the first file. This file information includes, but is not limited to, any one or more of the following: file content, file type, source, browsing time, modification time, creation date, file name, and size. The electronic device may compare the file information with the first clustering rule. If the electronic device determines that the file information satisfies the first clustering rule, it may add the first file to the first file set.
[0020] Optionally, the content of the first file can be a summary or the main content of the first file. For example, if the first file includes an image, the content can be the main content of the image. If the first file includes a video, the content can be the main content of the video. If the first file includes audio, the content can be the main content of the audio.
[0021] By implementing this method, newly added files that meet the first clustering rule can be categorized into the first folder on the electronic device, thereby achieving intelligent file management of the electronic device. Users do not need to manually categorize each file, reducing user operations and improving user experience.
[0022] In conjunction with the first aspect, in one possible implementation, after the electronic device creates the first folder and before the electronic device acquires and saves the first file, the method further includes: the electronic device receiving and responding to an operation on the interface for the first folder, enabling the automatic update function of the first folder; the electronic device acquiring and saving the first file, and automatically placing the first file into the first file set, specifically including: after the electronic device enables the automatic update function of the first folder, the electronic device acquiring and saving the first file, and automatically placing the first file into the first file set.
[0023] By implementing this method, the electronic device can receive user input to enable the smart update function of the first folder. After enabling the smart update function of the first folder, the electronic device will then categorize newly added files that meet the first clustering rule into the first folder, thereby achieving intelligent file management of the electronic device.
[0024] In some embodiments, before enabling the smart update function of the first folder, the electronic device may not automatically categorize newly added files that meet the first clustering rule into the first folder.
[0025] For example, a description of how the smart update function for the first folder works can be found in [reference needed]. Figures 5A-5C The examples are described below.
[0026] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the interface of the first folder, the method further includes: the electronic device receiving and responding to an operation on the first folder, modifying the first clustering rule of the first folder to a second clustering rule, the second clustering rule including one or more conditions, the second clustering rule being different from the first clustering rule; after the electronic device modifies the first clustering rule of the first folder to the second clustering rule, the electronic device receiving and responding to an operation on the first folder, displaying the interface of the first folder, the interface of the first folder including options for one or more files in a second file set, the one or more files in the second file set satisfying the second clustering rule.
[0027] In one possible implementation, the second file set may be the same as or different from the first file set.
[0028] By implementing this method, electronic devices can modify the clustering rules of the created smart folders and reclassify files that meet the modified clustering rules into the smart folders.
[0029] For an example description of how to modify the clustering rules of an already created smart folder, please refer to [link / reference]. Figures 6A-6E The examples are described below.
[0030] In conjunction with the first aspect, in one possible implementation, the electronic device includes a second file; after the electronic device creates a first folder, the method further includes: the electronic device receiving and responding to an operation on the second file by displaying a second option; and the electronic device receiving and responding to an operation on the second option by placing the second file into the first file set.
[0031] According to this method, electronic devices can receive user input and actively categorize files into smart folders.
[0032] In conjunction with the first aspect, in one possible implementation, the electronic device receives and responds to an operation on the second file by displaying a second option, specifically including: the electronic device receives and responds to an operation on the second file, and if the second file satisfies the first clustering rule, displays the second option.
[0033] Optionally, before displaying the second option, the electronic device may obtain the file information of the second file, which includes, but is not limited to, any one or more of the following: the file content, file type, source, browsing time, modification time, creation date, file name, and size. The electronic device may compare the file information of the second file with the first clustering rule. If the electronic device determines that the file information of the second file satisfies the first clustering rule, then the electronic device may display the second option.
[0034] For example, the second option could be Figure 9B Option 9004 is shown in the first folder.
[0035] The method described in this embodiment can ensure that all files moved into the first folder are files that satisfy the first clustering rule.
[0036] For example, the second option could be Figure 9B Option 9004 is shown in the first folder.
[0037] In conjunction with the first aspect, in one possible implementation, the first file set includes a third file; after displaying the interface of the first folder, the method further includes: the electronic device receiving and responding to an operation on the option for the third file, stopping the display of the option for the third file in the interface of the first folder; the electronic device receiving and responding to an operation on the interface of the first folder, displaying a second interface, the second interface including the option for the third file.
[0038] In this embodiment, after the electronic device creates a first folder based on a first clustering rule, it can categorize a set of files that satisfy the first clustering rule into that folder. The electronic device may also misidentify files that do not satisfy the first clustering rule as satisfying them and categorize these files into the first folder. Therefore, the electronic device can also receive user input to manually remove categorized files from the first folder, improving the accuracy of file categorization. After removing a third file, the electronic device can receive user input to display a second interface where the user can view the removed files.
[0039] For example, you can refer to Figures 10A-10F The examples are described below.
[0040] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the second interface, the method further includes: the electronic device receiving and responding to an operation on the option for the third file, stopping the display of the option for the third file on the second interface; after the electronic device stops displaying the option for the third file on the second interface, the electronic device displays the interface of the first folder, the interface of the first folder including the option for the third file.
[0041] After the electronic device receives a user's command to remove the third file from the first folder, the electronic device can receive another user command to reclassify the third file back into the first folder.
[0042] For example, you can refer to Figures 10G-10H The examples are described below.
[0043] Secondly, this application provides an electronic device, which includes: one or more processors and one or more memories, wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer program. When the one or more processors execute the computer program, they execute a file organization method provided in any possible implementation of any of the above aspects.
[0044] Thirdly, this application provides a computer-readable storage medium including instructions that, when executed by a processor, implement a file organization method provided in any possible implementation of any of the above aspects.
[0045] Fourthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements a file organization method provided in any possible implementation of any of the above aspects.
[0046] Fifthly, this application provides a chip system, which includes a processing circuit and an interface circuit. The chip system is characterized in that it includes a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform a file organization method provided in any possible implementation of any of the above aspects.
[0047] For a description of the beneficial effects of the second to fifth aspects, please refer to the description of the beneficial effects in the first aspect; this application will not repeat it here. Attached Figure Description
[0048] Figure 1 A schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of this application;
[0049] Figure 2A schematic diagram of the software structure of an electronic device 100 provided in an embodiment of this application;
[0050] Figures 3A-3K A schematic diagram is shown of a set of electronic devices 100 receiving user operations on the desktop and creating a first folder;
[0051] Figures 4A-4I A schematic diagram is shown of a set of electronic devices 100 receiving user operations in a file manager and creating a first folder;
[0052] Figure 4J This diagram illustrates a method for an electronic device 100 to create a first folder by receiving user input.
[0053] Figures 5A-5C A schematic diagram is shown of a set of electronic devices 100 receiving user operation to enable the smart update function of the first folder;
[0054] Figure 5D This diagram illustrates a method for an electronic device 100 to receive a user's operation to enable the smart update function of a first folder.
[0055] Figures 6A-6E A schematic diagram is shown of a group of electronic devices 100 receiving user operations to change the clustering rules of a first folder;
[0056] Figure 6F This diagram illustrates a method for an electronic device 100 to receive user operations to change the clustering rules of a first folder.
[0057] Figures 7A-7D A schematic diagram is shown of a set of electronic devices 100 receiving user operations to change the name of a first folder;
[0058] Figures 8A-8C A schematic diagram is shown of a set of electronic devices 100 receiving a user operation to delete a first folder;
[0059] Figures 9A-9F This diagram illustrates a set of electronic devices 100 receiving user input and categorizing other files into a first folder.
[0060] Figures 10A-10H This diagram illustrates a set of electronic devices 100 receiving user commands to remove one or more files categorized in a first folder;
[0061] Figure 11 A flowchart illustrating a document organization method is shown. Detailed Implementation
[0062] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0063] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0064] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with a user. It realizes the conversion between the internal form of information and the form that the user can accept. The most common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be visual interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of a wearable device.
[0065] This application provides a file organization method in which an electronic device 100 can receive user operations and create a first folder based on a first clustering rule set by the user. Then, the electronic device 100 can traverse the files in the electronic device 100 based on the first clustering rule, find one or more files that match the first clustering rule, and display the icons of one or more files in the first folder.
[0066] Optionally, before the electronic device displays icons for one or more files in the first folder, it may obtain file information for the one or more files. This file information includes, but is not limited to, any one or more of the following: file content, file type, file source, browsing time, modification time, creation date, file name, and file size. The electronic device may compare this file information with a first clustering rule. If the electronic device determines that the file information satisfies the first clustering rule, it may then display the icons for the one or more files in the first folder.
[0067] Optionally, the content of one or more files can be a summary or main content of the content of one or more files. For example, if the file includes an image, the file content can be the main content of the image. If the file includes a video, the file content can be the main content of the video. If the file includes audio, the file content can be the main content of the audio.
[0068] The types of one or more files may include, but are not limited to, any of the following: text documents, spreadsheets, presentations, databases, compressed files, images, videos, audio, etc.
[0069] The first clustering rule may include one or more conditions, which may include, but are not limited to, any of the following: file content includes first content, file type includes first file type, file source includes first source, file browsing time includes first time, file modification time includes second time, file creation date includes third time, file name includes first name, file size includes first size, etc.
[0070] Optionally, after creating the first folder, if new files are added to the electronic device 100, and the new files also satisfy the first clustering rule, the electronic device 100 can classify the new files into the first folder.
[0071] Implementing this method has several advantages. First, the electronic device 100 can create a first folder based on a predefined first clustering rule and automatically categorize and organize files within the device into this folder, improving the accuracy and efficiency of file organization. It can also categorize and organize files according to user-specified rules, enhancing the user experience. Second, given the large number of files on the electronic device 100, if a user needs to find a specific file but doesn't know its location, the user can obtain the first clustering rule based on that file's information. The electronic device 100 can then receive user input and create the first folder based on this rule. After creating the first folder, the device 100 can search for files within the device according to the first clustering rule, finding one or more files that match the rule and categorizing them into the first folder. This facilitates file retrieval and improves efficiency and convenience. Third, the electronic device 100 can automatically categorize newly added files into corresponding folders, reducing user operations and achieving automated file organization.
[0072] See below. Figure 1 The structure of the electronic device to which the method provided in the embodiments of this application is applicable will be described.
[0073] like Figure 1 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a 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 sensor module 180, a display screen 194, and a SIM card interface 195, etc.
[0074] The sensor module 180 may include a gyroscope sensor 180B, a magnetic sensor 180D, an accelerometer sensor 180E, a proximity sensor 180F, a touch sensor 180K, etc. The sensor module 180 may also include a temperature sensor, a pressure sensor, a proximity sensor, a fingerprint sensor, an ambient light sensor, a barometric pressure sensor, a bone conduction sensor, etc.
[0075] Understandable, Figure 1 The electronic device 100 shown is merely an example and does not constitute a limitation on the electronic device. The electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 1The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0076] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.
[0077] The processor 110 may also include a memory for storing instructions and data.
[0078] The execution of the display method provided in this application embodiment can be controlled by the processor 110 or by calling other components. For example, it can call the processing program of this application embodiment stored in the internal memory 121, or call the processing program of this application embodiment stored in a third-party device through the external memory interface 120 to control the wireless communication module 160 to perform data communication with other devices, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 may include different devices. For example, when integrating a CPU and a GPU, the CPU and GPU can cooperate to execute the display method provided in this application embodiment. For example, some algorithms in the display method can be executed by the CPU, and other algorithms can be executed by the GPU to achieve faster processing efficiency.
[0079] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. Display screen 194 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 194 can display various interfaces from the embodiments of this application.
[0080] In this embodiment of the application, the display screen 194 can be a single flexible display screen, or it can be a splicing display screen composed of two rigid screens and a flexible screen located between the two rigid screens.
[0081] The electronic device 100 may also include a camera (a front-facing camera or a rear-facing camera, or a camera that can function as both a front-facing and a rear-facing camera), which is used to capture still images or videos.
[0082] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121.
[0083] The internal memory 121 may also store one or more computer programs corresponding to the algorithm of this application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by one or more processors 110. The one or more computer programs include instructions that can be used to perform the various steps in the following embodiments.
[0084] Of course, the algorithm code of the embodiment of this application can also be stored in external memory. In this case, the processor 110 can run the algorithm code of the embodiment of this application stored in external memory through the external memory interface 120.
[0085] A touch sensor, also known as a "touch panel". The touch sensor can be set on the display screen 194, and the touch sensor and the display screen 194 together form a touch display screen, also known as a "touch screen".
[0086] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0087] 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.
[0088] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc.
[0089] In addition, the electronic device 100 can implement audio functions such as music playback and recording through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, and an application processor.
[0090] In some embodiments, the electronic device 100 may further include buttons, motors, indicators, etc. The electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of the electronic device 100. The electronic device 100 can utilize a motor to generate vibration alerts (such as vibration alerts for incoming calls). The indicators in the electronic device 100 may be indicator lights, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc.
[0091] The SIM card interface 195 in the electronic device 100 is used to connect a SIM card. The SIM card can be inserted into or removed from the electronic device 100 to achieve contact and separation with the electronic device 100.
[0092] It should be understood that, in practical applications, electronic device 100 may include more than Figure 1 The number of more or fewer components shown is not limited in the embodiments of this application. The illustrated electronic device 100 is merely an example, and the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0093] Please refer to Figure 2 , Figure 2 An exemplary software structure block diagram of an electronic device 100 is shown.
[0094] The electronic device provided in this application embodiment can run an operating system (OS). This operating system can be various operating systems used in industry, such as operating systems developed based on OpenHarmony, like HarmonyOS; or other operating systems such as Android™, iOS mobile operating systems; it can also be various open-source operating systems or their derivatives, such as Linux OS, and other embedded operating systems; or it can be a future new operating system, such as an AI operating system based on artificial intelligence. An operating system is a set of interconnected system software programs that manage and control the operation of electronic devices, utilize and run hardware and software resources, and provide public services to organize user interaction. In electronic devices, the operating system connects downwards to the physical devices at the hardware layer and provides a runtime environment for application software upwards.
[0095] An operating system typically includes a kernel layer, a middleware layer, and an application layer. The application layer includes applications, which can include system applications and third-party applications. The middleware layer includes a suite of software providing various services to application developers, or frameworks providing services such as databases, multimedia, and graphics, or capabilities such as distributed scheduling and system scaling. For example, the middleware layer may include a framework layer and / or a system service layer. The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The system service layer includes the system's core capabilities, providing services to applications through the framework layer. The kernel layer is the layer between hardware and software. The kernel layer may include hardware drivers and the operating system kernel. In addition to providing hardware drivers, the kernel layer also supports functions such as memory management and system process management.
[0096] The electronic devices we use in our daily lives come in various types and forms, and are applied in a wide range of scenarios. Therefore, based on the different forms and functions of electronic devices, different application scenarios, and different user needs, the operating systems used in these devices may also differ. The basic functions implemented by the electronic device provided in this application can be implemented using a general-purpose operating system or a dedicated operating system. To more clearly illustrate the implementation of the embodiments of this application under a specific operating system, the architecture of HarmonyOS is shown below. Those skilled in the art can deduce the implementation of the embodiments of this application under other specific operating systems, such as AAndroid™.
[0097] like Figure 2As shown, the software architecture of an electronic device can be divided into several layers. In some embodiments, from bottom to top, these layers are: kernel layer, system service layer, framework layer, and application layer. Layers communicate with each other through software interfaces. System functions can be tailored, added, or combined at the subsystem granularity in different device deployment scenarios, and each subsystem can also be tailored, added, or combined at the functional granularity.
[0098] The Kernel Abstraction Layer (KAL) provides basic kernel capabilities to upper layers by shielding the differences between multiple kernels, including but not limited to process / thread management, memory management, file system, network management, and peripheral device management.
[0099] Kernel Subsystem: Supports the selection of a suitable OS kernel for different resource-constrained devices, including but not limited to Linux kernel, HarmonyOS kernel, LiteOS (Lite Operating System), etc.
[0100] Driver Subsystem: The driver framework is the foundation for the open system hardware ecosystem, providing unified peripheral access capabilities and a framework for driver development and management. The driver framework includes: display drivers, camera drivers, audio drivers, Bluetooth drivers, sensor drivers, etc.
[0101] The system service layer comprises the core capabilities of the system, providing services to applications through the framework layer. This layer includes, but is not limited to, the following subsystems:
[0102] The system's basic capability subsystem set provides fundamental capabilities for the operation, scheduling, and migration of distributed applications across multiple devices. This set may include distributed soft bus, distributed data management, distributed task scheduling, and Ark multi-language runtime; it may also include multi-modal input subsystem, graphics subsystem, security subsystem, and AI sub-business system.
[0103] Basic software service subsystem set: provides public and general software services; the basic software service subsystem set may include event notification subsystem, telephone service subsystem, multimedia subsystem, etc.
[0104] Enhanced software service subsystem suite: Provides differentiated enhanced software services for different devices; the enhanced software service subsystem suite may include smart screen proprietary business subsystem, wearable proprietary business subsystem, IoT proprietary business subsystem, etc.
[0105] Hardware service subsystem set: Provides hardware services; the hardware service subsystem set may include location service subsystem, user IAM (Identity and Access Management) subsystem, wearable proprietary hardware service subsystem, biometric identification, IoT proprietary hardware service subsystem, etc.
[0106] Distributed task scheduling enables distributed service management (discovery, synchronization, registration, and invocation), supporting remote startup, remote invocation, remote connection, and migration of applications across devices.
[0107] Distributed data management enables data synchronization, data storage, data sharing, and data access across all scenarios and devices.
[0108] The distributed soft bus provides communication-related capabilities for seamless interconnection between multiple devices, including: WLAN service capabilities, Bluetooth service capabilities, soft bus, inter-process communication (IPC), and StarFlash communication capabilities.
[0109] Ark Multilingual Runtime is a unified compilation runtime platform designed to support the joint compilation and execution of multiple programming languages and multiple chip platforms.
[0110] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The framework layer includes: the ArkUI framework (which provides a complete infrastructure for UI development of system applications, including UI functions such as components, layouts, animations, and interactive events, as well as a real-time interface preview tool), the user application framework, and the Ability framework (an Ability is a lightweight application; the Ability framework schedules and manages the operation and lifecycle of Abilities). Different devices may have different operating systems, and the APIs they support may also differ.
[0111] The HarmonyOS API is a series of open capabilities provided to support HarmonyOS application development. The HarmonyOS API can be set at the framework layer or independently of the framework layer. The HarmonyOS API includes the Audio API (audio service), Push API (push service), and Account API (account service), among others.
[0112] Applications can include system apps and extended / third-party apps. System apps can include the desktop, control bar, settings, contacts, phone, camera, gallery, etc., while extended / third-party apps can include, but are not limited to, social apps, travel apps, etc.
[0113] The following section provides a detailed explanation of the document organization method provided in this application, using UI illustrations as an example.
[0114] 1. Electronic device 100 receives user input to create the first folder.
[0115] Example 1: Electronic device 100 receives user operations on the desktop, creates a first folder, and displays the icon of the first folder on the desktop.
[0116] Figures 3A-3K A schematic diagram is shown of a set of electronic devices 100 receiving user operations on the desktop and creating a first folder.
[0117] like Figure 3A As shown, the electronic device 100 displays a desktop, which includes icons for multiple applications (such as This PC app and Recycle Bin app), icons for multiple files (such as icons for file 3019 and file 3020), a cursor 3001, and a taskbar. The cursor 3001 displays the position of the mouse pointer connected to the electronic device 100. The electronic device 100 can receive user input, moving the cursor 3001. The user can control the electronic device 100 using the cursor 3001. The taskbar displays icons for multiple applications, the time, a battery indicator, a Wi-Fi indicator, etc.
[0118] Electronic device 100 can receive user operations on cursor 3001 and create folders.
[0119] For example, electronic device 100 can receive user operations on cursor 3001, such as long-pressing an empty area on the desktop with cursor 3001. In response to this operation, electronic device 100 can display... Figure 3A The prompt bar 3002 is shown. Prompt bar 3002 includes several operation options, such as view options, sorting options, refresh options, paste options, and new option 3003. Users can create regular folders or smart folders using new option 3003.
[0120] like Figure 3B and Figure 3C As shown, the electronic device 100 can receive and respond to user actions such as moving the cursor 3001 to the new option 3003, and display... Figure 3BThe prompt bar 3004 is shown. Prompt bar 3004 includes a "Create New Folder" option and a "Create Smart Folder" option. Users can create ordinary folders using the "Create New Folder" option, and smart folders using the "Create Smart Folder" option. A smart folder refers to a folder that electronic device 100 can create based on user-defined clustering rules. After creating a smart folder, electronic device 100 can categorize files within electronic device 100 into that smart folder based on the smart folder's clustering rules. Electronic device 100 can also periodically / irregularly categorize newly added files within electronic device 100 that meet the smart folder's clustering rules into that smart folder.
[0121] like Figure 3D and Figure 3E As shown, electronic device 100 can receive and respond to cursor 3001's operation on the "Create Smart Folder" option, and display... Figure 3E As shown in window 3005, electronic device 100 can receive user operations in window 3005 and set clustering rules for smart folders.
[0122] like Figure 3E As shown, window 3005 includes multiple options, through which users can set the clustering rules for the smart folder.
[0123] For example, the multiple options may include a file content option 3006, where the user can enter the main content of the file. Below the content option 3006 are multiple keywords and options 3007. In some embodiments, the user can enter the main content of the file within the content option 3006. In other embodiments, the user can select any one or more keywords from the multiple keywords, and the electronic device 100 can display any one or more of the selected keywords within the content option 3006, eliminating the need for the user to manually enter the main content of the file within the content option 3006, thus saving user effort. Optionally, when the multiple keywords do not include the keyword the user needs to select, the electronic device 100 can receive and respond to the cursor 3001's input operation on option 3007, such as a click operation, obtain the updated keyword, and display the updated keyword below the content option 3006.
[0124] For example, Figure 3E The keywords shown include "artificial intelligence", "competitive analysis", "visual design", "OpenAI", "keywords", and "no restrictions".
[0125] The clustering rules for smart folders are not limited to including the main content of the files. Electronic device 100 can also receive other conditions for adding clustering rules for smart folders by user operation.
[0126] For example, electronic device 100 can receive and respond to input operations by cursor 3001 on more condition options 3008 in window 3005, such as click operations, adding other conditions for clustering rules of smart folders.
[0127] like Figure 3F As shown, the more conditions option 3008 includes options 3011, 3012, 3013, and 3014. Users can use option 3011 to select the type of other conditions in the clustering rule, and option 3012 to select the values of other conditions. Users can use option 3013 to delete other conditions. Users can use option 3014 to add more conditions to the clustering rule.
[0128] like Figure 3F and Figure 3G As shown, the electronic device 100 can receive and respond to user operations such as moving the cursor 3001 to the option 3011, and display... Figure 3G The prompt bar 3015 is shown. Prompt bar 3015 includes options for various conditions, such as file type, source, browsing time, modification time, creation time, and filename.
[0129] Electronic device 100 can receive and respond to cursor 3001 input operations for file type options, such as a click operation, and display options 3011 as follows: Figure 3H The text information shown is for the "file type".
[0130] like Figure 3H As shown, the electronic device 100 can receive and respond to user operations such as moving the cursor 3001 to the option 3012, and display... Figure 3H The prompt bar 3015 is shown. Prompt bar 3015 includes numerical options for multiple file types, such as options for text files, spreadsheets, presentations, databases, compressed files, images, videos, and unlimited options.
[0131] Electronic device 100 can receive and respond to input operations from cursor 3001 for any number of options, such as a click operation, and display options 3012 as follows: Figure 3I The text message "Unlimited" is shown.
[0132] according to Figures 3E-3I The method shown allows electronic device 100 to create one or more conditions for clustering rules of smart folders.
[0133] Figure 3I This shows one or more conditions of the clustering rules for smart folders and the name of the smart folder.
[0134] like Figure 3I As shown, the clustering rules for the Smart Folder include a condition: "The files were viewed within the last three days." The name of the Smart Folder is "Work Files."
[0135] After setting one or more conditions for the clustering rules of the smart folder and the name of the smart folder, such as Figure 3I As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 on the creation option 3010 in the window 3005, such as a click operation. The electronic device 100 can then create a first folder, which will be displayed on the desktop. Figure 3J The icon 3017 of the first folder is shown, and the name of the first folder, "Working Files," is displayed below the icon 3017.
[0136] In other embodiments, after the electronic device 100 creates the first folder, the electronic device 100 may not display the first folder icon 3017 on the desktop. The electronic device 100 can receive user input and then display the first folder icon on the desktop. For details, please refer to... Figures 4G-4I The examples are described below.
[0137] After creating the first folder, the electronic device 100 can categorize and organize the files in the electronic device 100 into the first folder based on the clustering rules of the first folder. If the electronic device 100 determines that files 3019 and 3020 meet the clustering rules of the first folder, the electronic device 100 can categorize and organize files 3019 and 3020 into the first folder. Figure 3J As shown, the icons for file 3019 and file 3020 are still displayed on the desktop. In other embodiments, after the electronic device 100 has categorized and organized file 3019 and file 3020 into the first folder, the electronic device 100 may also stop displaying the icons for file 3019 and file 3020 on the desktop.
[0138] like Figure 3J and Figure 3K As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 on the icon 3017 of the first folder, such as a click operation, and display... Figure 3KThe file management interface 3018 shown includes a first area and a second area. The first area displays a file directory, including a smart folder directory name, and below the smart folder directory name is the name of the first folder 3021, such as "Work Files". The second area displays icons for one or more files categorized into the first folder, such as the icons for file 3019 and file 3020. The second area also displays the first clustering rule 3022 for the first folder and the "Enable Smart Update" option 3023. The first clustering rule 3022 for the first folder may include "files viewed within the last three days". The "Enable Smart Update" option 3023 displays the text "Enable Smart Update", indicating that the smart update function of the first folder is off. The fact that the smart update function of the first folder is off means that the electronic device 100 will not periodically / irregularly categorize newly added files on the electronic device 100 into this smart folder. The smart update function of the first folder is enabled, which means that the electronic device 100 can periodically / irregularly classify new files that meet the clustering rules of the first folder into the first folder.
[0139] In this way, users can Figure 3K The interface provides a clear view of the first folder's name, its clustering rules, and the icons of the files categorized within it.
[0140] Example 2: Electronic device 100 receives user operations in the file management interface provided by the file manager and creates the first folder.
[0141] Figures 4A-4I A schematic diagram is shown of a set of electronic devices 100 receiving user operations in a file manager and creating a first folder.
[0142] like Figure 4A As shown, the electronic device 100 displays a desktop. The electronic device 100 can receive and respond to user operations, and display... Figure 4B The file manager application shown provides a file management interface 4001. The user operations may include, but are not limited to: operations on keyboard shortcuts, and operations on the file manager application icon using the cursor 3001.
[0143] Figure 4B The file management interface 4001 shown includes a new option 4002, which allows users to create regular folders or smart folders.
[0144] like Figure 4B As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 for the new option 4002, such as a click operation, and display...Figure 4B The prompt bar 4003 is shown. Prompt bar 4003 includes the "Create New Folder" option and the "Create New Smart Folder" option. Users can create ordinary folders using the "Create New Folder" option, and users can also create smart folders using the "Create New Smart Folder" option.
[0145] like Figure 4C and Figure 4D As shown, the electronic device 100 can receive and respond to input operations by the cursor 3001 regarding the option to create a new smart folder, such as a click operation, and display... Figure 4D As shown in window 3005, electronic device 100 can receive user operations within window 3005 and set clustering rules for the smart folder. For details, please refer to... Figures 3E-3K The examples are described below.
[0146] Electronic device 100 can set clustering rules for the first folder, create the first folder, and display it. Figure 4E The file management interface shown is 3018.
[0147] like Figure 4E and Figure 4F As shown, the electronic device 100 receives and responds to input operations such as a click operation by moving the cursor 3001 to select the close option of the file management interface 3018. The electronic device 100 can then stop displaying the file management interface 3018. Figure 4F As shown, the icon for the first folder is not displayed on the desktop.
[0148] In some embodiments, the electronic device 100 can receive and respond to user operations, displaying the icon of the first folder on the desktop to facilitate user operation of the first folder on the desktop.
[0149] Electronic device 100 can receive and respond to user operations, and display... Figure 4G The file manager application shown provides a file management interface 3018. The user operations may include, but are not limited to, operations on keyboard shortcuts, and operations on the file manager application icon using the cursor 3001. The electronic device 100 can receive and respond to user operations such as moving the cursor 3001 to the name of the first folder 3021, and display... Figure 4GThe prompt bar 4004 shown includes several operation options, such as opening the first folder in a new window, creating a shortcut to the first folder, deleting the first folder, renaming the first folder, and changing settings (or changing the clustering rules of the first folder). Users can open the first folder in a new window to display its interface in another window, create a shortcut to the first folder to display its icon on the desktop, delete the first folder, rename it, and change its clustering rules.
[0150] like Figure 4H and Figure 4I As shown, when the electronic device 100 receives and responds to the input operation of the cursor 3001 for the option to create a shortcut to the first folder, such as a click operation, the electronic device 100 can display an icon of the first folder 3017 on the desktop, and display the name of the first folder "Work Files" below the icon 3017.
[0151] In other embodiments, after the electronic device 100 receives a user operation to create a first folder in the file management interface provided by the file manager, the electronic device 100 can also automatically display the icon of the first folder on the desktop.
[0152] Figure 4J A flowchart illustrating a method for an electronic device 100 to create a first folder by receiving user operations is shown.
[0153] S4001, Electronic device 100 receives a first clustering rule input by the user, the first clustering rule including one or more conditions.
[0154] The first clustering rule may include one or more conditions, which may include, but are not limited to, any of the following: file content includes first content, file type includes first file type, file source includes first source, file browsing time includes first time, file modification time includes second time, file creation date includes third time, file name includes first name, file size includes first size, etc.
[0155] Keywords can be the main content or summary of the file. File source refers to the download source of the file on electronic device 100, which can include, but is not limited to, applications, devices, etc. File browsing time refers to the time the file was last opened. The file browsing time changes every time the file is opened after being saved to electronic device 100. File modification time refers to the time the file content was last modified. The file modification time changes every time the file content is modified after being saved to electronic device 100. If electronic device 100 opens the file but does not modify its content, the file browsing time will change, but the file modification time will not. File creation date refers to the time the file was saved to electronic device 100. The file creation date will not change after the file is saved to electronic device 100. File name refers to the file's name, and file size refers to the file's data volume.
[0156] It should be noted that the first clustering rule may include other conditions beyond those mentioned above, and this application does not limit them.
[0157] In this embodiment of the application, the electronic device 100 can receive user operations and set the first clustering rule for the first folder.
[0158] In some embodiments, the electronic device 100 can receive user operations on the desktop to enter the smart folder creation interface, where a first clustering rule for the first folder can be set. For details, please refer to... Figures 3A-3I The examples are described below.
[0159] In other embodiments, the electronic device 100 can receive user operations in the file management interface provided by the file manager application, enter the smart folder creation interface, and set the first clustering rule for the first folder in the smart folder creation interface. Specifically, refer to... Figures 4A-4E The examples are described below.
[0160] It should be noted that the clustering rules for different folders can be different.
[0161] S4002, Electronic device 100 obtains files on electronic device 100 and determines a first set of files that satisfy the first clustering rule. The first set of files includes one or more files.
[0162] S4003, Electronic device 100 creates a first folder and categorizes the first set of files that meet the first clustering rule into the first folder.
[0163] The first set of files includes one or more files.
[0164] After receiving user operation and setting the first clustering rule for the first folder, the electronic device 100 can obtain the first set of files in the electronic device 100 that satisfy the first clustering rule.
[0165] Specifically, electronic device 100 can obtain information about file A and determine whether the information of file A satisfies the first clustering rule. If electronic device 100 determines that the information of file A satisfies the first clustering rule, then electronic device 100 can add file A to the first file set. If the information of file A does not satisfy the first clustering rule, then electronic device 100 may not add file A to the first file set. The information of file A may include, but is not limited to, any one or more of the following: the content of file A, the type of file A, the source of file A, the browsing time of file A, the modification time of file A, the creation date of file A, the name of file A, and the size of file A. The content of file A can be obtained based on the name of file A and / or the content of file A.
[0166] The file in electronic device 100 can refer to the file stored in electronic device 100.
[0167] Electronic device 100 can create a first folder and categorize the first collection of files into the first folder.
[0168] The types of one or more files may include, but are not limited to, any of the following: text documents, spreadsheets, presentations, databases, compressed files, images, videos, audio, etc.
[0169] In some embodiments, after the electronic device 100 creates a first folder, the electronic device 100 can display an icon of the first folder on the desktop, allowing the user to directly operate the first folder from the desktop. For example, see [link to example]. Figures 3I-3K The examples are described below.
[0170] In other embodiments, after the electronic device 100 creates the first folder, the electronic device 100 may not display the icon of the first folder on the desktop. The electronic device 100 may then receive a user action to display the icon of the first folder on the desktop. For example, see [reference needed]. Figures 4F-4I The examples are described below.
[0171] In some embodiments, after the electronic device 100 creates the first folder, the electronic device 100 can receive a user operation to open the first folder and display the interface of the first file. The interface of the first file includes a first area and a second area. The first area displays the name of the first folder, and the second area displays the icons of one or more files in the first file set and the first clustering rule of the first folder.
[0172] For example, the first folder could be Figure 4I The first folder 3017 shown can be the interface of the first file. Figure 3K The file management interface 3018 shown can have the following names for the first folder: Figure 3K The first folder 3021 is shown as a name. The icons of one or more files in the first file set can be the icons of file 3019 and file 3020. The first clustering rule of the first folder can be "the browsing time of the files is within three days".
[0173] Optionally, the interface for the first folder may also include an option to enable smart updates. When the smart update function is disabled as indicated by the enabled smart update option, the electronic device 100 will not periodically or irregularly categorize newly added files in the electronic device 100 into the first folder. When the smart update function is enabled as indicated by the enabled smart update option, the electronic device 100 may periodically or irregularly categorize newly added files in the electronic device 100 into the first folder.
[0174] Implementing this method has two advantages. First, the electronic device 100 can create a first folder based on a set first clustering rule and automatically categorize and organize files within the device into this first folder, improving the accuracy and efficiency of file organization. It can also categorize and organize files according to user-specified rules, enhancing the user experience. Second, given the large number of files on the electronic device 100, if a user needs to find a specific file but doesn't know its location, the user can obtain the first clustering rule based on that file's information. The electronic device 100 can then receive user input and create the first folder based on this rule. After creating the first folder, the electronic device 100 can search for files within the device according to the first clustering rule, finding one or more files that match the rule and categorizing them into the first folder. This facilitates file retrieval for the user, improving both efficiency and convenience.
[0175] II. Electronic device 100 receives user input and edits the first folder.
[0176] Editing the first folder can include, but is not limited to: enabling the smart update function of the first folder, changing the clustering rules of the first folder, changing the name of the first folder, deleting the first folder, etc.
[0177] Example 1: Electronic device 100 receives a user's operation to enable the smart update function of the first folder.
[0178] Figures 5A-5CA schematic diagram is shown of a set of electronic devices 100 receiving user operation to enable the smart update function of the first folder.
[0179] like Figure 5A As shown, the electronic device 100 displays a file management interface 3018, which shows an option 3023 to enable smart updates. The option 3023 to enable smart updates displays the text "Enable Smart Updates," which indicates that the smart update function of the first folder is turned off.
[0180] like Figure 5A As shown, the electronic device 100 can receive and respond to the input operation of the cursor 3001 for enabling the smart update option 3023, such as a click operation, and the electronic device 100 can enable the smart update function of the first folder.
[0181] Before enabling the smart update function in the first folder, electronic device 100 can display... Figure 5B The prompt bar 5001 displayed the text "After activation, the files contained in this smart folder will be automatically refreshed based on the keyword you selected." This text prompts the user to confirm whether to enable the smart update function for the first folder. The prompt bar 5001 also includes a cancel option and an immediate activation option. The user can cancel the smart update function for the first folder by using the cancel option, and the user can activate the smart update function for the first folder by using the immediate activation option. In this way, the electronic device 100 can prevent the user from accidentally activating the smart update function for the first folder by displaying the prompt bar 5001.
[0182] like Figure 5B As shown and Figure 5C As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 for the immediate activation option, such as a click operation, and the electronic device 100 can activate the smart update function of the first folder. After activating the smart update function of the first folder, the electronic device 100 can display the text message "Disable Smart Update" in the smart update option 3023, which indicates that the smart update function of the first folder is enabled.
[0183] Optionally, electronic device 100 may also not display the prompt bar 5001. This is in response to cursor 3001. Figure 5A By inputting the "Enable Smart Update Option 3023" shown, the electronic device 100 can enable the smart update function of the first folder.
[0184] After enabling the smart update function of the first folder, the electronic device 100 can periodically / irregularly analyze the newly added files in the electronic device 100 and classify the newly added files that meet the first clustering rule into the first folder.
[0185] Figure 5D A flowchart illustrating a method for an electronic device 100 to receive a user operation to enable the smart update function of a first folder is shown.
[0186] S5001, Electronic device 100 enables the smart update function of the first folder.
[0187] After the electronic device 100 creates the first folder, the electronic device 100 can receive user input to enable the smart update function of the first folder.
[0188] Enabling the smart update feature in the first folder is a user action that can be targeted at... Figure 5A The input action shown for enabling the Smart Update option 3023 is a click action.
[0189] In some embodiments, when the electronic device 100 receives a signal targeting Figure 5A After the input operation of enabling the smart update option 3023 shown, before enabling the smart update function of the first folder, the electronic device 100 can display a prompt message to prompt the user whether to enable the smart update function of the first folder, so as to avoid the user accidentally enabling the smart update function of the first folder.
[0190] For example, the prompt message could be Figure 5B The prompt bar shown is 5001.
[0191] S5002, Electronic device 100 acquires and saves the first file.
[0192] S5003, Electronic device 100 determines that the first file satisfies the first clustering rule and classifies the first file into the first folder.
[0193] After the electronic device 100 enables the smart update function of the first folder, the electronic device 100 can obtain and save the first file. The electronic device 100 can determine whether the first file meets the first clustering rule of the first folder.
[0194] Optionally, the electronic device 100 may determine whether the first file satisfies the first clustering rule of the first folder when the electronic device 100 is in a screen-off state and / or charging state and / or the load is less than a preset value.
[0195] If the electronic device 100 determines that the first file satisfies the first clustering rule of the first folder, then the electronic device 100 can classify the first file into the first folder.
[0196] If the electronic device 100 determines that the first file does not meet the first clustering rule of the first folder, then the electronic device 100 may not classify the first file into the first folder.
[0197] By implementing this method, electronic device 100 can enable the intelligent update function of the first folder. After enabling the intelligent update function of the first folder, electronic device 100 can classify newly added files that meet the first clustering rule into the first folder, thereby realizing intelligent file management of electronic device 100. This eliminates the need for users to manually classify individual files, reducing user operations and improving the user experience.
[0198] Example 2: Electronic device 100 receives user operation to change the clustering rules of the first folder.
[0199] In some embodiments, after the electronic device 100 creates a first folder based on a first clustering rule set by the user, the electronic device 100 can also receive user operations to change the clustering rule of the first folder, for example, changing the clustering rule of the first folder from the first clustering rule to a second clustering rule, the second clustering rule being different from the first clustering rule.
[0200] Figures 6A-6E A schematic diagram is shown of a group of electronic devices 100 receiving user operations to change the clustering rules of the first folder.
[0201] In some embodiments, after the electronic device 100 displays the file management interface 3018, the electronic device 100 can receive and respond to user operations such as moving the cursor 3001 to the name of the first folder 3021, and display... Figure 6A The prompt bar 4004 shown includes multiple operation options, such as opening the first folder in a new window, creating a shortcut to the first folder, deleting the first folder, renaming the first folder, and changing settings (or changing the clustering rules of the first folder).
[0202] like Figure 6A and Figure 6B As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 for changing setting options, such as a click operation. The electronic device 100 can display... Figure 6B The file management interface 3018 is shown. The electronic device 100 can receive user operations in the file management interface 3018 and change the clustering rules of "working files".
[0203] likeFigure 6C As shown, the electronic device 100 can change the clustering rule of "working files" from the first clustering rule to the second clustering rule. The second clustering rule can include two conditions: the first condition can be "the text type is a text file" and the second condition can be "the file was viewed within the last three days".
[0204] like Figure 6C and Figure 6D As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 on the creation option 3010 in the file management interface 3018, such as a click operation. The electronic device 100 can save the second clustering rule of the first folder, and the electronic device 100 can also display it on the desktop. Figure 6D The icon 3017 of the first folder is shown, and the name of the first folder, "Working Files," is displayed below the icon 3017.
[0205] like Figure 6D and Figure 6E As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 on the icon 3017 of the first folder, such as a click operation, and display... Figure 6E The file management interface 6001 shown includes a first area and a second area. The first area displays a file directory, including a smart folder directory name, and below the smart folder directory name is the name of the first folder 3021, such as "Work Files". The second area displays icons for one or more files categorized into the first folder, such as the icon for file 3019. The second area also displays the second clustering rule 6002 for the first folder and the option to enable smart updates 3023. The second clustering rule 6002 for the first folder may include "file type is text file" and "file browsing time is within the last three days".
[0206] Figure 6F A flowchart illustrating a method for an electronic device 100 to receive user operations to change the clustering rules of a first folder is shown.
[0207] S6001, Electronic device 100 receives user operation and modifies the clustering rule of the first folder from the first clustering rule to the second clustering rule.
[0208] In some embodiments, after the electronic device 100 creates a first folder and a first clustering rule for the first folder, the electronic device 100 may also receive a user operation to modify the clustering rule of the first folder from the first clustering rule to a second clustering rule, the second clustering rule being different from the first clustering rule.
[0209] For example, the user operation of changing the clustering rule of the first folder from the first clustering rule to the second clustering rule can be referred to Figures 6A-6D The operations within.
[0210] S6002, Electronic device 100 obtains files on electronic device 100 and determines a second set of files that satisfy the second clustering rule. The second set of files includes one or more files.
[0211] S6003, Electronic device 100 categorizes the second set of files into the first folder.
[0212] After the electronic device 100 changes the clustering rule of the first folder from the first clustering rule to the second clustering rule, the electronic device 100 can obtain the second set of files in the electronic device 100 that meet the second clustering rule and classify the second set of files into the first folder.
[0213] It should be noted that after the electronic device 100 changes the clustering rule of the first folder from the first clustering rule to the second clustering rule, the electronic device 100 also needs to remove the first file set from the first folder.
[0214] Optionally, the second file set and the first file set can be the same or different.
[0215] For example, the second clustering rule can include two conditions: the first condition could be "the text type is a text file," and the second condition could be "the file was viewed within the last three days." The second file set can be... Figure 6E The document shown is 3019.
[0216] By implementing this method, electronic device 100 can modify the clustering rules of the created smart folder and reclassify files that meet the modified clustering rules into the smart folder.
[0217] Example 3: Electronic device 100 receives a user operation to change the name of the first folder.
[0218] In some embodiments, after the electronic device 100 creates a first folder based on a first clustering rule set by the user, the electronic device 100 may also receive user operations to change the name of the first folder, for example, changing the name of the first folder from a first name to a second name, the second name being different from the first name.
[0219] Figures 7A-7D A schematic diagram is shown of a set of electronic devices 100 receiving user operations to change the name of a first folder.
[0220] In some embodiments, after the electronic device 100 displays the file management interface 3018, the electronic device 100 can receive and respond to user operations such as moving the cursor 3001 to the name of the first folder 3021, and display... Figure 7A The prompt bar 4004 shown includes multiple operation options, such as opening the first folder in a new window, creating a shortcut to the first folder, deleting the first folder, renaming the first folder, and changing settings (or changing the clustering rules of the first folder).
[0221] like Figure 7A and Figure 7B As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 regarding the option to rename the first folder, such as a click operation. The electronic device 100 can select the name "Working Files" of the first folder 3021. To indicate that the name "Working Files" of the first folder 3021 has been selected, the electronic device 100 can highlight the name "Working Files" of the first folder 3021 in a darker color.
[0222] like Figure 7C As shown, the electronic device 100 can receive a user's request to change the name of the first folder 3021 from the first name "Work Files" to the second name "Meeting Files".
[0223] After the electronic device 100 changes the name of the first folder 3021 from the first name "Work Files" to the second name "Meeting Files", the electronic device 100 can receive and respond to the input operation of the cursor 3001 for the close option of the file management interface 3018, such as a click operation, and the electronic device 100 can stop displaying the file management interface 3018. Figure 7D As shown, an icon for the first folder 3017 is displayed on the desktop, and below the icon for the first folder 3017 is the second name of the first folder 3017, "Meeting Documents".
[0224] Optionally, not limited to operations in the file management interface 3018 to change the name of the first folder from the first name to the second name, the electronic device 100 can also receive user operations on the icon of the first folder 3017 on the desktop to change the name of the first folder from the first name to the second name. This application does not limit this.
[0225] By implementing this method, electronic device 100 can receive user operations and modify the name of the smart folder.
[0226] Example 4: Electronic device 100 receives a user's operation to delete the first folder.
[0227] In some embodiments, after the electronic device 100 creates a first folder based on a user-defined first clustering rule, the electronic device 100 can also receive a user operation to delete the first folder. After deleting the first folder, the electronic device 100 can remove the first set of files categorized in the first folder.
[0228] Figures 8A-8C A schematic diagram is shown of a set of electronic devices 100 receiving a user operation to delete a first folder.
[0229] In some embodiments, after the electronic device 100 displays the file management interface 3018, the electronic device 100 can receive and respond to user operations such as moving the cursor 3001 to the name of the first folder 3021, and display... Figure 8A The prompt bar 4004 shown includes multiple operation options, such as opening the first folder in a new window, creating a shortcut to the first folder, deleting the first folder, renaming the first folder, and changing settings (or changing the clustering rules of the first folder).
[0230] like Figure 8A and Figure 8B As shown, electronic device 100 can receive and respond to input operations of cursor 3001 for the option to delete the first folder, such as a click operation, and electronic device 100 can delete the first folder.
[0231] Optionally, after the electronic device 100 receives the input operation of the cursor 3001 for the option to delete the first folder, and before the electronic device 100 deletes the first folder, the electronic device 100 may display... Figure 8B The prompt bar shown is 8001.
[0232] The prompt bar 8001 displays the text "Completely delete 'Working Files'? After confirming deletion, the smart folder will be irrecoverable. Deleting the smart folder will not delete the files it contains." This text prompts the user to confirm the deletion of the first folder. The prompt bar 8001 also includes a cancel option and a complete delete option. The user can use the cancel option to not delete the first folder, or the user can use the complete delete option to delete the first folder. In this way, the electronic device 100 can prevent the user from accidentally deleting the first folder by displaying the prompt bar 8001.
[0233] like Figure 8B and Figure 8C As shown, electronic device 100 can receive and respond to input operations of cursor 3001 for the option to permanently delete, such as a click operation, and electronic device 100 can delete the first folder.
[0234] Optionally, electronic device 100 may also not display the prompt bar 8001. This is in response to cursor 3001. Figure 8A The input operation shown in the image allows the electronic device 100 to delete the first folder by selecting the option to delete the first folder.
[0235] After deleting the first folder on electronic device 100, such as Figure 8C As shown, the electronic device 100 can display a file management interface 4001. The file management interface 4001 does not include the name of the first folder 3021, such as "Work Files", nor does it include icons of one or more files categorized into the first folder, such as the icons of file 3019 and file 3020, nor does it include the first clustering rule 3022 of the first folder and the enabled smart update option 3023.
[0236] Optionally, after the electronic device 100 deletes the first folder, the electronic device 100 can also stop displaying the icon of the first folder on the desktop.
[0237] By implementing this method, electronic device 100 can receive user operations, delete smart folders, and delete one or more files categorized within smart folders.
[0238] 3. Electronic device 100 receives user input to edit one or more files in the first folder.
[0239] Editing one or more files in the first folder can include, but is not limited to: manually categorizing other files into the first folder, deleting one or more files categorized in the first folder, etc.
[0240] Example 1: Electronic device 100 receives user input and categorizes other files into the first folder.
[0241] As described above, after the electronic device 100 creates a first folder based on the first clustering rule, it can categorize the first set of files that satisfy the first clustering rule into the first folder. In some embodiments, the electronic device 100 may omit some files, failing to categorize other files that satisfy the first clustering rule into the first folder. In other embodiments, if new files are added, the electronic device 100 may not have had time to categorize them into the corresponding smart folder. Therefore, the electronic device 100 can also accept user input to manually categorize other files into the first folder.
[0242] Figures 9A-9F This diagram illustrates a set of electronic devices 100 receiving user input to categorize other files into a first folder.
[0243] like Figure 9AAs shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 on the icon of the document 9003, such as a click operation, and display... Figure 9A The prompt bar 9001 shown includes multiple operation options, such as open, share, copy, paste, delete, and move to smart folder 9002. Users can open file 9003 using the open option, share file 9003 to other applications on electronic device 100 or to other devices connected to electronic device 100 using the share option, save file 9003 to the clipboard using the copy option, display other data on the desktop using the paste option, delete the icon of file 9003 from the desktop using the delete option, and categorize file 9003 into any one of the one or more smart folders using the move to smart folder 9002 option.
[0244] Electronic device 100 can receive and respond to user actions such as moving cursor 3001 to the smart folder option 9002, and display... Figure 9B Option 9004 for the first folder is shown, and the name of the first folder, "Working Files," is displayed in option 9004.
[0245] Optionally, if file 9003 satisfies the first clustering rule of the first folder, then electronic device 100 can display option 9004 of the first folder. If file 9003 does not satisfy the first clustering rule of the first folder, then electronic device 100 can display option 9004 of the first folder. This ensures that all files moved into the first folder satisfy the first clustering rule.
[0246] Optionally, the electronic device 100 may also directly display the first folder option 9004 without determining whether file 9003 meets the first clustering rule of the first folder.
[0247] Optionally, if the electronic device 100 has created multiple smart folders, in response to a user operation that moves the cursor 3001 to the smart folder option 9002, the electronic device 100 can display multiple smart folder options, and the electronic device 100 can receive a selection operation for any one of the smart folder options, and move the file 9003 into the smart folder selected by the user.
[0248] Optional, such as Figure 9BAs shown, in response to a user operation that moves the cursor 3001 to the smart folder option 9002, the electronic device 100 can darken the color of the smart folder option 9002 to indicate to the user that the cursor 3001 is now above the smart folder option 9002.
[0249] like Figure 9C As shown, electronic device 100 can receive and respond to input operations of cursor 3001 for option 9004 to move to the first folder, such as a click operation, and electronic device 100 can categorize file 9003 into the first folder.
[0250] Optional, such as Figure 9C As shown, in response to the operation of moving the cursor 3001 to the option 9004 of the first folder, the electronic device 100 can darken the color of the option 9004 of the first folder to indicate to the user that the cursor 3001 is above the option 9004 of the first folder.
[0251] Optionally, after electronic device 100 categorizes file 9003 into the first folder, electronic device 100 can display... Figure 9D The prompt message 9005 shown includes the text "A file has been moved to the smart folder". The prompt message 9005 is used to inform the user that the electronic device 100 has categorized the file 9003 into the first folder.
[0252] Optionally, electronic device 100 may not display prompt message 9005.
[0253] like Figure 9E and Figure 9F As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 on the icon 3017 of the first folder, such as a click operation, and display... Figure 9F The file management interface 9006 shown is similar to file management interface 3018, except that file management interface 9006 also includes an icon for file 9003.
[0254] According to this method, the electronic device 100 can receive user input and actively categorize files into smart folders.
[0255] Example 2: Electronic device 100 receives a user operation to remove one or more files categorized in the first folder.
[0256] As described above, after the electronic device 100 creates a first folder based on the first clustering rule, it can categorize the first set of files that satisfy the first clustering rule into the first folder. However, the electronic device 100 may also misidentify files that do not satisfy the first clustering rule as satisfying it, and thus categorize these files into the first folder. Therefore, the electronic device 100 can also accept user input to manually remove categorized files from the first folder, thereby improving the accuracy of file categorization in the first folder.
[0257] Figures 10A-10H A schematic diagram is shown of a group of electronic devices 100 receiving user operations to remove one or more files categorized in a first folder.
[0258] like Figure 10A As shown, the electronic device 100 displays a file management interface 3018, which displays icons for file 3019 and file 3020.
[0259] like Figure 10A and Figure 10B As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 on the icon of the file 3020, such as a click operation, and display... Figure 10B The prompt bar 1001 shown includes multiple options, such as open option, share option, copy option, paste option, delete option, and move out of smart folder option 1002.
[0260] like Figure 10B As shown, the electronic device 100 can receive and respond to the input operation of the cursor 3001 for the move out smart folder option 1002, such as a click operation, and the electronic device 100 can move the file 3020 out of the first folder.
[0261] Optional, such as Figure 10B As shown, in response to the cursor 3001 being positioned on the Smart Folder Option 1002, the electronic device 100 can darken the color of the Smart Folder Option 1002 to indicate to the user that the cursor 3001 is now above the Smart Folder Option 1002.
[0262] Optionally, in response to cursor 3001's input operation on the smart folder option 1002, electronic device 100 can display Figure 10CThe prompt bar 1003 shown displays the text "After being moved, the file 'Summary' will not appear in this smart folder." This text prompts the user to confirm whether they want to move file 3020 out of the first folder. The prompt bar 1003 also includes a cancel option and a move option. The user can use the cancel option to prevent file 3020 from being moved out of the first folder, or the move option to move file 3020 out of the first folder. In this way, the electronic device 100 can prevent the user from accidentally moving file 3020 out of the first folder by displaying the prompt bar 1003.
[0263] like Figure 10C and Figure 10D As shown, electronic device 100 can receive and respond to cursor 3001 input operations for the move option, such as a click operation, and electronic device 100 can move file 3020 out of the first folder. Figure 10D As shown, the file management interface 3018 does not include the icon for file 3020.
[0264] like Figure 10D As shown, the file management interface 3018 also includes a view outgoing files option 1004, which allows users to view one or more files that have been moved out of the first folder.
[0265] like Figure 10E and Figure 10F As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 regarding the option to view the moved file 1004, such as a click operation, and display... Figure 10F The file management interface 1005 is shown. The file management interface 1005 includes an icon for file 3020, which is used to prompt the user that file 3020 is a file moved out of the first folder.
[0266] like Figure 10F and Figure 10G As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 on the icon of the file 3020, such as a click operation, and display... Figure 10G The prompt bar 1006 shown includes a restore option 1007 and a details option. Users can use the restore option 1007 to reclassify file 3020 into the first folder.
[0267] like Figure 10G and Figure 10H As shown, the electronic device 100 can receive and respond to input operations from the cursor 3001 for the restore option 1007, such as a click operation, and display... Figure 10HThe file management interface 1008 is shown. File management interface 1008 is similar to file management interface 1005, except that file management interface 1008 does not include the icon for file 3020, thus prompting the user that file 3020 has been reclassified into the first folder.
[0268] Optionally, in response to the cursor 3001 being positioned over the restore option 1007, the electronic device 100 may darken the color of the restore option 1007 to indicate to the user that the cursor 3001 is above the restore option 1007.
[0269] In this embodiment, the electronic device 100 may also misidentify files that do not meet the first clustering rule as meeting the first clustering rule, and classify files that do not meet the first clustering rule into the first folder. The electronic device 100 can receive user operation to actively remove files that have been classified into the first folder from the first folder, which can improve the accuracy of the classified files in the first folder.
[0270] Figure 11 A flowchart illustrating a document organization method is shown.
[0271] S1101, The electronic device displays the first interface.
[0272] S1102. The electronic device receives and responds to the user's input of a first clustering rule on the first interface, and creates a first folder. The first clustering rule includes one or more conditions.
[0273] S1103. The electronic device receives and responds to an operation on a first folder, and displays an interface for the first folder. The interface of the first folder includes options for one or more files in a first file set, and one or more files in the first file set satisfy a first clustering rule.
[0274] The first clustering rule includes any one or more of the following: file content includes the first content, file type includes the first type, file source includes the first source, file browsing time includes the first time, file modification time includes the second time, file creation date includes the third time, file name includes the first name, and file size includes the first size.
[0275] The file types of one or more files in the first file set include any one or more of the following: text document, spreadsheet, presentation, database, compressed file, image, video, and audio.
[0276] Optionally, after the first folder is created, the electronic device can automatically display the first folder's icon on the desktop. Alternatively, the electronic device can choose not to display the first folder's icon on the desktop, but instead display it after receiving a user interaction.
[0277] Implementing this method has several advantages. First, electronic devices can create a first folder based on a predefined first clustering rule and automatically categorize and organize files within the device into this folder, improving the accuracy and efficiency of file organization. It can also categorize and organize files according to user-specified rules, enhancing the user experience. Second, given the large number of files on an electronic device, users may not know the location of a specific file. The device can then use this information to determine the first clustering rule, allowing it to create the first folder based on the user's input. After creation, the device can search for files matching the first clustering rule and categorize them into the first folder, facilitating file retrieval and improving efficiency. Third, newly added files can be automatically categorized into appropriate folders, reducing user intervention and achieving automated file organization.
[0278] In summary, this application improves file organization efficiency. Traditionally, users need to manually organize files, analyzing and judging each one individually, and then manually placing them into appropriate folders—a time-consuming and laborious process. This application allows users to set multi-dimensional rules, enabling electronic devices to automatically traverse computer storage areas to retrieve file information. The electronic device quickly matches the file information with the rules, resulting in a highly automated process. Users only need to perform simple rule settings to allow the electronic device to complete the organization of large numbers of files, significantly saving users time and effort.
[0279] This application also improves the convenience and accuracy of file searching. Previously, users might struggle to quickly locate the desired file due to complex folder hierarchies, inconsistent file naming, or lingering memories. This system uses smart folders generated by multi-dimensional rules to group files with similar characteristics together. For example, if a user wants to find a specific type of file generated by an application within a specific time period, they can simply open the corresponding smart folder to find it quickly, eliminating the need to search through numerous folders one by one, greatly improving the speed and accuracy of file searching.
[0280] This application also enhances the flexibility and adaptability of file management. Different users have different needs for file management, and traditional fixed-level folder structures are difficult to meet diverse requirements. With this system, users can freely combine elements such as subject keywords, time, application source, and file type to set rules and generate smart folders that suit their personal work or life habits. Whether it's project managers managing files by project theme and time, or photography enthusiasts organizing photos by shooting time and image type, it all works.
[0281] An exemplary description of how an electronic device receives and responds to a user's input of a first clustering rule on a first interface, and creates a first folder, can be found in [reference needed]. Figures 3A-3K , Figures 4A-4I The examples are described below.
[0282] In one possible implementation, before the electronic device displays the first interface, the method further includes: the electronic device receiving an operation to create a first folder; the electronic device displaying the first interface specifically includes: displaying the first interface in response to the operation to create the first folder.
[0283] For example, the first interface can be Figure 3E The window shown is 3005.
[0284] For example, the operation of creating the first folder can be... Figure 3D The cursor 3001 shown refers to the operation of the "Create Smart Folder" option.
[0285] For example, the operation of creating the first folder can also be Figure 4C The cursor 3001 shown is for inputting the option to create a new smart folder.
[0286] In one possible implementation, after the electronic device creates the first folder, the method further includes: the electronic device acquiring and saving the first file, and automatically placing the first file into the first file set, wherein the first file satisfies the first clustering rule.
[0287] Optionally, before the electronic device adds the first file to the first file set, it may obtain the file information of the first file. This file information includes, but is not limited to, any one or more of the following: file content, file type, source, browsing time, modification time, creation date, file name, and size. The electronic device may compare the file information with the first clustering rule. If the electronic device determines that the file information satisfies the first clustering rule, it may add the first file to the first file set.
[0288] Optionally, the content of the first file can be a summary or the main content of the first file. For example, if the first file includes an image, the content can be the main content of the image. If the first file includes a video, the content can be the main content of the video. If the first file includes audio, the content can be the main content of the audio.
[0289] By implementing this method, newly added files that meet the first clustering rule can be categorized into the first folder on the electronic device, thereby achieving intelligent file management of the electronic device. Users do not need to manually categorize each file, reducing user operations and improving user experience.
[0290] In one possible implementation, after the electronic device creates the first folder but before the electronic device acquires and saves the first file, the method further includes: the electronic device receiving and responding to an operation on the interface for the first folder, enabling the automatic update function of the first folder; the electronic device acquiring and saving the first file, and automatically placing the first file into the first file collection, specifically including: after the electronic device enables the automatic update function of the first folder, the electronic device acquiring and saving the first file, and automatically placing the first file into the first file collection.
[0291] By implementing this method, the electronic device can receive user input to enable the smart update function of the first folder. After enabling the smart update function of the first folder, the electronic device will then categorize newly added files that meet the first clustering rule into the first folder, thereby achieving intelligent file management of the electronic device.
[0292] In some embodiments, before enabling the smart update function of the first folder, the electronic device may not automatically categorize newly added files that meet the first clustering rule into the first folder.
[0293] For example, a description of how the smart update function for the first folder works can be found in [reference needed]. Figures 5A-5C The examples are described below.
[0294] In one possible implementation, after the electronic device displays the interface of the first folder, the method further includes: the electronic device receiving and responding to an operation on the first folder, modifying a first clustering rule of the first folder to a second clustering rule, the second clustering rule including one or more conditions, the second clustering rule being different from the first clustering rule; after the electronic device modifies the first clustering rule of the first folder to the second clustering rule, the electronic device receiving and responding to the operation on the first folder, displaying the interface of the first folder, the interface of the first folder including options for one or more files in a second file set, the one or more files in the second file set satisfying the second clustering rule.
[0295] In one possible implementation, the second file set may be the same as or different from the first file set.
[0296] By implementing this method, electronic devices can modify the clustering rules of the created smart folders and reclassify files that meet the modified clustering rules into the smart folders.
[0297] For an example description of how to modify the clustering rules of an already created smart folder, please refer to [link / reference]. Figures 6A-6E The examples are described below.
[0298] In one possible implementation, the electronic device includes a second file; after the electronic device creates a first folder, the method further includes: the electronic device receiving and responding to an operation on the second file by displaying a second option; and the electronic device receiving and responding to an operation on the second option by placing the second file into the first file set.
[0299] According to this method, electronic devices can receive user input and actively categorize files into smart folders.
[0300] In conjunction with the first aspect, in one possible implementation, the electronic device receives and responds to an operation on the second file by displaying a second option, specifically including: the electronic device receives and responds to an operation on the second file, and if the second file satisfies a first clustering rule, displays the second option.
[0301] The method described in this embodiment can ensure that all files moved into the first folder are files that satisfy the first clustering rule.
[0302] Optionally, before displaying the second option, the electronic device may obtain the file information of the second file, which includes, but is not limited to, any one or more of the following: the file content, file type, source, browsing time, modification time, creation date, file name, and size. The electronic device may compare the file information of the second file with the first clustering rule. If the electronic device determines that the file information of the second file satisfies the first clustering rule, then the electronic device may display the second option.
[0303] For example, the second option could be Figure 9B Option 9004 is shown in the first folder.
[0304] In one possible implementation, the first file set includes the third file; after displaying the interface of the first folder, the method further includes: the electronic device receiving and responding to an operation on the option for the third file, stopping the display of the option for the third file in the interface of the first folder; the electronic device receiving and responding to an operation on the interface of the first folder, displaying a second interface, the second interface including the option for the third file.
[0305] In this embodiment, after the electronic device creates a first folder based on a first clustering rule, it can categorize a set of files that satisfy the first clustering rule into that folder. The electronic device may also misidentify files that do not satisfy the first clustering rule as satisfying them and categorize these files into the first folder. Therefore, the electronic device can also receive user input to manually remove categorized files from the first folder, improving the accuracy of file categorization. After removing a third file, the electronic device can receive user input to display a second interface where the user can view the removed files.
[0306] For example, you can refer to Figures 10A-10F The examples are described below.
[0307] In one possible implementation, after the electronic device displays the second interface, the method further includes: the electronic device receiving and responding to an operation on the option for the third file, stopping the display of the option for the third file in the second interface; after the electronic device stops displaying the option for the third file in the second interface, the electronic device displays an interface for the first folder, the interface of the first folder including the option for the third file.
[0308] After the electronic device receives a user's command to remove the third file from the first folder, the electronic device can receive another user command to reclassify the third file back into the first folder.
[0309] For example, you can refer to Figures 10G-10H The examples are described below.
[0310] This application provides an electronic device, which includes: one or more processors and one or more memories, wherein the one or more memories are coupled to one or more processors, and the one or more memories are used to store a computer program. When the one or more processors execute the computer program, they perform the steps in the various method embodiments described above.
[0311] This application also provides a computer-readable storage medium including instructions that, when executed by a processor, can implement the steps in the various method embodiments described above.
[0312] This application also provides a computer program product, including a computing program, which, when executed by a processor, can implement the steps in the various method embodiments described above.
[0313] This application also provides a chip system, which includes a processing circuit interface circuit. The interface circuit receives code instructions and transmits them to the processing circuit. The processing circuit executes the code instructions to enable the chip system to implement the steps of any method embodiment of this application. The chip system can be a single chip or a chip module composed of multiple chips.
[0314] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for organizing documents, characterized in that, The method includes: The electronic device displays the first interface; The electronic device receives and responds to the user's input of a first clustering rule in the first interface, and creates a first folder. The first clustering rule includes one or more conditions. The electronic device receives and responds to operations on the first folder, and displays an interface for the first folder. The interface of the first folder includes options for one or more files in a first file set, and the one or more files in the first file set satisfy the first clustering rule.
2. The method according to claim 1, characterized in that, Before the electronic device displays the first interface, the method further includes: The electronic device receives the operation to create the first folder; The electronic device displays a first interface, specifically including: In response to the operation of creating the first folder, the first interface is displayed.
3. The method according to claim 1 or 2, characterized in that, After the electronic device creates the first folder, the method further includes: The electronic device acquires and saves the first file, and automatically puts the first file into the first file set, wherein the first file satisfies the first clustering rule.
4. The method according to claim 3, characterized in that, After the electronic device creates the first folder, and before the electronic device acquires and saves the first file, the method further includes: The electronic device receives and responds to the operation of the interface for the first folder, and enables the automatic update function of the first folder; The electronic device acquires and saves the first file, and automatically places the first file into the first file set, specifically including: After the electronic device enables the automatic update function of the first folder, the electronic device acquires and saves the first file and automatically puts the first file into the first file collection.
5. The method according to claim 1, characterized in that, After the electronic device displays the interface of the first folder, the method further includes: The electronic device receives and responds to an operation on the first folder, modifying the first clustering rule of the first folder to a second clustering rule. The second clustering rule includes one or more conditions and is different from the first clustering rule. After the electronic device modifies the first clustering rule of the first folder to the second clustering rule, the electronic device receives and responds to the operation for the first folder, and displays the interface of the first folder, which includes options for one or more files in the second file set, and one or more files in the second file set satisfy the second clustering rule.
6. The method according to claim 5, characterized in that, The second set of files may be the same as or different from the first set of files.
7. The method according to claim 1, characterized in that, The electronic device includes a second file; after the first folder is created on the electronic device, the method further includes: The electronic device receives and responds to an operation on the second file by displaying a second option; The electronic device receives and responds to the operation for the second option by placing the second file into the first file set.
8. The method according to claim 7, characterized in that, The electronic device receives and responds to an operation on the second file by displaying a second option, specifically including: The electronic device receives and responds to an operation on the second file, and if the second file satisfies the first clustering rule, displays the second option.
9. The method according to claim 1, characterized in that, The first file set includes a third file; after displaying the interface of the first folder, the method further includes: The electronic device receives and responds to the operation of the option for the third file, and stops displaying the option for the third file in the interface of the first folder; The electronic device receives and responds to operations on the interface for the first folder, and displays a second interface, which includes options for the third file.
10. The method according to claim 9, characterized in that, After the electronic device displays the second interface, the method further includes: The electronic device receives and responds to the operation of the option for the third file, and stops displaying the option for the third file in the second interface; After the electronic device stops displaying the option for the third file in the second interface, the electronic device displays the interface of the first folder, which includes the option for the third file.
11. The method according to any one of claims 1-10, characterized in that, The first clustering rule includes any one or more of the following: file content includes first content, file type includes first type, file source includes first source, file browsing time includes first time, file modification time includes second time, file creation date includes third time, file name includes first name, and file size includes first size.
12. The method according to any one of claims 1-11, characterized in that, The file types of one or more files in the first file set include any one or more of the following: text document, spreadsheet, presentation, database, compressed file, image, video, and audio.
13. An electronic device, characterized in that, The electronic device includes: one or more processors and one or more memories, wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer program, which, when the one or more processors execute the computer program, performs the data sharing method as described in any one of claims 1-12.
14. A computer-readable storage medium, characterized in that, Includes instructions that, when executed by a processor, implement the data sharing method as described in any one of claims 1-12.
15. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the data sharing method as described in any one of claims 1-12.
16. A chip system, characterized in that, It includes a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform the data sharing method as described in any one of claims 1-12.
Citation Information
Patent Citations
Mail management method and electronic equipment
CN117640569A
File management method and device and storage medium
CN119522426A
Smart folder software
US20070033200A1
Folders that employ dynamic user training rules to organize content
US20170099247A1