A document classification and processing system, method, electronic device, and readable storage medium.
The file classification management system solves the management problem of temporary and non-temporary files, enables timely deletion of temporary files and long-term storage of important files, optimizes computer file management, and improves storage space utilization and management efficiency.
Patent Information
- Application Number
- CN202211636287.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-20
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-12-20
AI Technical Summary
Existing technologies cannot effectively manage temporary and non-temporary files, leading to computer lag and insufficient storage space. Existing temporary file cleanup solutions are inadequate and cannot meet users' specific needs, while non-temporary file management is difficult.
It provides a file classification and management system, including a file identification module, a temporary file processing module, and a non-temporary file management module. These modules handle temporary and non-temporary files respectively, and achieve refined management through hierarchical storage, identification, transfer, and deletion operations, combined with an early warning module to monitor storage space.
It enables timely deletion of temporary files and long-term storage of important files, optimizes the hierarchical management of non-temporary files, improves computer file management efficiency, frees up hard disk memory space, and meets users' personalized needs.
Smart Images

Figure CN115981553B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer file management technology, specifically relating to a file classification and cleaning system, method, and readable medium. Background Technology
[0002] With prolonged use of desktop or laptop computers, users will generally encounter the following problems: the computer gradually becomes sluggish. Due to the long-term accumulation of stored files, the amount of files stored in memory or on the hard drive gradually increases, causing applications to become increasingly slow and laggy. The reasons for this problem are as follows: firstly, temporary files in memory or on the hard drive cannot be cleared in a timely manner; secondly, files stored by the computer user on various logical partitions of the hard drive occupy a large amount of space over time, both of which cause the computer to lag and severely deplete storage space. Due to the long period of use, users are also unable to quickly and effectively delete or move useless files.
[0003] Temporary files are generated by functions such as uploading, downloading, and scheduled tasks. If these useless temporary files are not cleaned up in a timely manner, they will waste a significant amount of disk space. When the disk capacity reaches its limit, they can also affect the normal operation of the system. Therefore, it is necessary to automatically delete useless temporary files. Existing technologies have also provided many solutions for temporary files. For example, patent document CN202110221013.1, "Temporary File Processing Method, Device, Electronic Equipment, Media, and Program Product," discloses a management strategy for temporary files. However, it can only perform a relatively simple cleanup of temporary files, and the temporary cleanup effect is not perfect. Especially when users need to store temporary files for a long time based on special requirements, there is no effective solution.
[0004] Meanwhile, current computer users still cannot effectively manage non-temporary files. As users directly edit or store non-temporary files on their hard drives, the number of files accumulates over time, making it difficult to clean them up. This results in the inability to effectively manage stored non-temporary files, and users are also unable to quickly and effectively delete or transfer invalid or junk files contained within them.
[0005] Therefore, there is an urgent need for a solution that can address the technical problems of existing technologies, comprehensively handle both temporary and non-temporary files, and maximize the realization of computer file management. Summary of the Invention
[0006] To address the problems existing in the prior art, the present invention provides a document classification and processing system, method, electronic device, and readable medium.
[0007] This invention provides a document classification and management system, comprising:
[0008] File recognition module: Identifies whether the file to be processed is a temporary file or a non-temporary file. The file recognition module sends the file's identification information to the temporary file processing module and the non-temporary file management module respectively. If the received file is a temporary file, it will be loaded into the temporary file processing module for further processing; if it is a non-temporary file, it will be loaded into the non-temporary file management module for further processing.
[0009] The temporary file processing module is used to perform hierarchical temporary storage of temporary files, identification of important temporary files, transfer of important temporary files, and long-term storage of important temporary files.
[0010] The non-temporary file management module is used to manage the non-temporary files stored by users in real time on the hard disk partition, guide users to store non-temporary files in a hierarchical manner, and promptly clear or transfer some non-temporary files according to predetermined rules.
[0011] The early warning module is used to monitor the storage space of each hard drive. When the available storage space of the current hard drive partition is lower than the threshold, it will issue an early warning to the user that the storage space is insufficient. Based on the early warning information, the user can manually delete or move the temporary or non-temporary files stored on each hard drive partition.
[0012] Furthermore, the temporary file processing module includes: a temporary file priority unit, a first temporary file storage unit, an important temporary file setting unit, a temporary file secondary screening unit, a temporary file transfer unit, a second temporary file storage unit, and a temporary file deletion unit;
[0013] Furthermore, the temporary file priority unit is configured to, in response to receiving a temporary file, determine the priority of the temporary file and determine the corresponding temporary file storage location based on the determined priority level of the temporary file;
[0014] Furthermore, the first temporary file storage unit is configured to store the temporary file according to the determined temporary file storage location;
[0015] Furthermore, in the important temporary file setting unit, when a user needs to extract important temporary files for long-term storage, the user can set the filtering conditions for the important temporary files to be extracted.
[0016] Furthermore, the temporary file secondary screening unit is used to filter out temporary files that need to be retained for a long time from the first temporary file storage unit according to user requirements;
[0017] Furthermore, the temporary file transfer unit is used to transfer temporary files that need to be stored for a long time from the first temporary file storage unit, as selected by the temporary file secondary screening unit.
[0018] Furthermore, a second temporary file storage unit is provided, which is located in a partition of the hard disk, and is used for long-term storage of temporary files transferred out by the temporary file transfer unit;
[0019] Furthermore, the temporary file deletion unit is configured to delete the temporary files stored in the first temporary file storage unit in response to a preset temporary file deletion condition being met. The preset temporary file deletion condition includes confirming that there are currently no important temporary files that need to be transferred to the second temporary file storage unit.
[0020] Furthermore, the non-temporary file management module includes: a storage file priority setting unit, a non-temporary file storage unit, a storage file monitoring unit, a non-temporary file processing setting unit, and a non-temporary file processing unit.
[0021] The storage file priority setting unit is used to allow users to set the priority of non-temporary files to be stored and to establish non-temporary file storage priority rules;
[0022] The non-temporary file storage unit is used by the user to store corresponding non-temporary files according to the non-temporary file storage priority rules set by the user;
[0023] The storage file monitoring unit is used to monitor the storage information of all stored non-temporary files, including storage location, name, content keywords, cumulative storage duration, access frequency, and editing frequency.
[0024] The non-temporary file processing setting unit is used by users to set the processing rules for stored non-temporary files;
[0025] The non-temporary file processing unit is used to clear or transfer currently stored non-temporary files that need to be cleared or transferred, based on the processing rules for non-temporary files set by the non-temporary file processing setting unit and the monitoring information of all non-temporary files monitored by the storage file monitoring unit.
[0026] Furthermore, the user sets the filtering criteria for important temporary files that need to be extracted, including temporary file keywords, temporary file names, and / or temporary file types;
[0027] The temporary file secondary screening unit specifically filters out important temporary files from the first temporary file storage unit by searching the keywords, names, and / or types of temporary files set by the user in the current temporary file.
[0028] The present invention also provides a method for file classification management based on the above-mentioned file classification management system, comprising the following steps:
[0029] The file identification module identifies whether the file to be processed is a temporary file generated by the application system or a non-temporary file edited directly by the user on the hard drive partition. If the received file is a temporary file, the temporary file processing module will perform subsequent processing on the identified file; if it is a non-temporary file, the non-temporary file management module will perform subsequent processing on it.
[0030] Temporary file processing is performed through the temporary file processing module, which promptly removes invalid temporary files, identifies, transfers, and saves important temporary files defined by the user for long-term storage. This includes classifying temporary files, temporarily storing temporary files based on their classification, identifying and filtering important temporary files defined by the user according to user-defined criteria, transferring the filtered important temporary files, and storing important temporary files for long-term storage.
[0031] The management of non-temporary files utilizes the non-temporary file management module to manage non-temporary files stored directly on the hard disk partition by the user. This includes hierarchical management of non-temporary files stored in real time on the hard disk partition by the user, hierarchical storage of non-temporary files according to user-defined storage rules, and timely deletion of invalid non-temporary files or transfer of some non-temporary files stored in the current partition according to predetermined rules.
[0032] The system provides a hard drive partition storage space saturation warning. Based on the warning module, it monitors the storage space of each hard drive partition. When the available storage space percentage of the current hard drive partition is lower than the threshold, it issues a warning to the user that the current partition storage space is insufficient. Based on the warning information, the user can manually delete or move the temporary files and / or non-temporary files stored in each hard drive partition.
[0033] Furthermore, the process of handling temporary files through the temporary file processing module, and the timely removal of invalid temporary files, includes the following sub-steps:
[0034] Temporary file priority sorting: In response to a received temporary file, the temporary file priority unit determines the priority of the temporary file and determines the corresponding temporary file storage location based on the determined priority level of the temporary file.
[0035] The temporary files are stored in each hard disk partition or memory of the first temporary file storage unit, according to the temporary file storage location determined by the temporary file priority.
[0036] The important temporary file setting condition can be set by the user when the user needs to extract important temporary files and convert them to long-term storage. The important temporary file setting unit can be used to set the filtering conditions for the important temporary files to be extracted.
[0037] The important temporary files are screened, and the secondary screening unit retrieves the parameters of the important temporary files that need to be retrieved as set by the important temporary file setting unit. It then selects and provides a list of important temporary files that need to be transferred from the first temporary file storage unit.
[0038] The transfer and storage of important temporary files: Based on the list of important temporary files selected by the secondary screening unit, the important temporary files that need to be stored for a long time are transferred from the first temporary file storage unit and stored in the hard disk folder of the second temporary file storage unit for long-term storage.
[0039] The temporary file deletion is initiated by calling the temporary file deletion unit. If the preset temporary file clearing conditions are met, the temporary file stored in the first temporary file storage unit is cleared. The preset temporary file clearing conditions include confirming that there are no important temporary files that need to be transferred to the second temporary file storage unit.
[0040] Furthermore, the management steps for non-temporary files include the following sub-steps:
[0041] Set the storage priority for non-temporary files. Users can set the priority level for different types of non-temporary files through the storage file priority setting unit, and establish non-temporary file storage priority rules.
[0042] Users can edit and / or store non-temporary files of corresponding priority in each hard disk partition of the non-temporary file storage unit according to the set non-temporary file storage priority rules;
[0043] Real-time monitoring and statistics of various data parameters of non-temporary files; specifically, the storage file monitoring unit monitors the storage information, retrieval information and editing frequency of all stored non-temporary files. The storage information includes the storage location of non-temporary files, file name, file content keywords, and / or the cumulative storage duration of the files.
[0044] Set rules for clearing and / or transferring non-temporary files. Users can set rules for clearing and transferring stored non-temporary files through the non-temporary file processing setting unit.
[0045] For the clearing or transfer of non-temporary files, the user can use the non-temporary file processing unit to perform the clearing operation on the currently stored non-temporary files that need to be cleared, or the transfer operation on the non-temporary files that need to be transferred, based on the processing rules for non-temporary files set by the non-temporary file processing setting unit and the monitoring information of all non-temporary files monitored by the storage file monitoring unit.
[0046] Furthermore, in the step where the user sets the filtering conditions for important temporary files to be extracted through the important temporary file setting unit, the filtering conditions include temporary file keywords, temporary file names, and / or temporary file types;
[0047] In the important temporary file screening step, the step of the temporary file secondary screening unit retrieving the parameters of the important temporary files that need to be retrieved as set by the important temporary file setting unit includes keywords, temporary file name, and / or temporary file type. By retrieving the above parameters, the important temporary files are filtered out from the first temporary file storage unit, and a list of important temporary files that need to be transferred is given.
[0048] The present invention also provides an electronic device, including a memory and a processor; the memory is used to store a plurality of computer instructions, wherein the plurality of computer instructions are executed by the processor to implement the steps of the above-described file classification and management method.
[0049] The present invention also provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the above-described file classification and management method.
[0050] Beneficial technical effects
[0051] This invention innovatively proposes a solution for managing both temporary and non-temporary files. Regarding temporary file handling, beyond simply clearing them promptly to prevent invalid temporary files from consuming memory or hard drive space, it innovatively proposes a solution for extracting and transferring important temporary files, maximizing their utilization before clearing invalid ones. Furthermore, it provides a systematic solution for hierarchical management, data monitoring, and clearing or transferring non-temporary files. This effectively enables users to manage non-temporary files and quickly release computer hard drive memory space, while also providing real-time monitoring information and timely manual or automatic hard drive cleanup. The solution provided by this invention makes the processing of temporary files more refined and allows for simultaneous and effective management of both temporary and non-temporary files, improving the efficiency of computer file management for users. Attached Figure Description
[0052] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0053] Figure 1 This is a schematic diagram of the file classification management system in an embodiment of the present invention.
[0054] Figure 2 This is a schematic diagram of the temporary file processing module in an embodiment of the present invention.
[0055] Figure 3 This is a schematic diagram of the non-temporary file management module in an embodiment of the present invention.
[0056] Figure 4 This is a schematic diagram of the file classification and management method in an embodiment of the present invention. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0058] Specifically, the embodiments of this application will be further described below with reference to the accompanying drawings.
[0059] like Figures 1 to 3 As shown, this is one embodiment of the present invention.
[0060] This invention discloses a file classification and management system, comprising:
[0061] The file recognition module identifies whether the file to be processed is a temporary file or a non-temporary file. For temporary files, recognition can be done by their file extension, for example, if the temporary file extension is: .ac $ Non-temporary files can also be identified by their common file extensions. Users can add or delete files based on their preferred file types. Common non-temporary file extensions include: Notepad.txt, sound card audio files.MID, Excel worksheets.xls, audio / video interleaved files.avi, and other audio / video interleaved file formats; PDF (document format), zip (compressed format), doc (word document), jpg (image file), etc. The file identification module sends the file identification information to the temporary file processing module and the non-temporary file management module respectively. If the received file is a temporary file, it will be retrieved and processed by the temporary file processing module; if it is a non-temporary file, it will be retrieved and processed by the non-temporary file management module.
[0062] The temporary file processing module is used to perform hierarchical temporary storage of temporary files, identification of important temporary files, transfer of important temporary files, long-term storage of important temporary files, and / or deletion of temporary files. Important temporary files are user-defined temporary files that are temporarily or long-term important to the user. The specific scope varies for different users. For example, a user may be very concerned about the loss of edited Office documents due to computer crashes or power outages, or need to retrieve Word editing records from different periods. Although temporary memory files can provide short-term storage, it cannot guarantee that all information recovered after a power outage will be temporarily stored in the temporary files. This means there is a risk of temporary file loss, and it cannot provide long-term memory retrieval for multiple time periods, such as retrieving the Word editing records of a document from a year ago. To avoid this problem, users can designate the temporary files associated with edited Word documents as important temporary files. Temporary files generated during the editing process are periodically transferred and stored, becoming readily accessible. This allows users to easily access temporary files stored at any time and retrieve the editing records from that period, thus solving the problem to some extent. Of course, different users may encounter other types of temporary files that are very important and cannot be lost or deleted. In this embodiment, these temporary files are collectively referred to as important temporary files.
[0063] The non-temporary file management module is used to manage non-temporary files that users store and edit in real time on the hard disk partition, guide users to store non-temporary files in a hierarchical manner, and promptly delete or transfer some non-temporary files according to predetermined rules. In this embodiment, non-temporary files are files that users can directly edit and store. They are not temporary files and can be stored on the hard disk for a long time.
[0064] The early warning module is used to monitor the storage space of each hard drive or logical partition of each hard drive. When the available storage space of the current hard drive or hard drive partition is lower than the threshold, it issues an early warning to the user that the storage space is insufficient. Based on the early warning information, the user can manually delete or move the temporary or non-temporary files stored on each hard drive partition.
[0065] Preferably, the temporary file processing module includes: a temporary file priority unit, a first temporary file storage unit, an important temporary file setting unit, a temporary file secondary screening unit, a temporary file transfer unit, a second temporary file storage unit, and a temporary file deletion unit;
[0066] The temporary file priority unit is configured to determine the priority of a received temporary file and, based on that priority level, determine the corresponding temporary file storage location. The priority of the temporary file characterizes its importance or data frequency; that is, the higher the priority, the more important the temporary file and the more easily it is accessed. The temporary file storage location refers to the location where the temporary file is stored, such as memory or different types of hard drives. Temporary files may be stored in memory or on different types of hard drives, including mechanical hard drives, solid-state drives, and hybrid hard drives. The specific priority settings can be implemented using conventional methods and will not be elaborated further here.
[0067] The first temporary file storage unit is configured to store the temporary file according to the determined temporary file storage location;
[0068] The "Important Temporary Files" setting unit allows users to define filtering criteria for important temporary files when they need to extract them for long-term storage. These important temporary files are user-defined and represent files that are temporarily or permanently important to the user. Different users may use different files. For example, a user might be concerned about losing edited Office documents due to computer crashes or power outages, or need to retrieve Word editing records from different periods. While temporary files can provide short-term storage, they cannot guarantee that all information recovered after a power outage will be temporarily stored, meaning there is a risk of temporary file loss. Furthermore, it cannot provide long-term storage across multiple time periods, such as retrieving a Word document's editing record from a year ago. To avoid this problem, users can designate the temporary files associated with edited Word documents as important temporary files. These files are then periodically transferred and stored, becoming readily accessible. This allows users to easily access temporary files stored at any time and retrieve the editing records from that period, thus mitigating the problem to some extent. Of course, different users may encounter other types of temporary files that are crucial and cannot be lost or deleted. In this embodiment, these temporary files are collectively referred to as important temporary files. The system establishes an important temporary file setting unit to provide users with a link to extract the necessary important temporary files. Users can further optimize the management of temporary files by customizing the content of these important files, thus solving the technical problem that current temporary file processing systems can only delete temporary files and cannot further refine the management of temporary files based on user needs. As for the communication interface and software program of the system's important temporary file setting unit, these are conventional techniques in the field and will not be described in detail in this embodiment.
[0069] The temporary file secondary screening unit is used to filter out temporary files that need to be retained for a long time from the first temporary file storage unit according to user requirements.
[0070] The temporary file transfer unit is used to transfer temporary files that need to be stored for a long time from the first temporary file storage unit, which are selected by the temporary file secondary screening unit.
[0071] The second temporary file storage unit is located in a partition of the hard disk and is used for long-term storage of temporary files transferred out by the temporary file transfer unit.
[0072] The temporary file deletion unit is configured to delete the temporary files stored in the first temporary file storage unit in response to meeting preset temporary file deletion conditions. These preset conditions include confirming that there are no important temporary files that need to be transferred to the second temporary file storage unit. If so, the system must wait until the important temporary files need to be transferred to the second temporary file storage unit before deleting them. If no important temporary files are confirmed to be transferred, the deletion can be performed directly. This confirmation step can be completed automatically by the system or manually by the user.
[0073] The non-temporary file management module includes: a storage file priority setting unit, a non-temporary file storage unit, a storage file monitoring unit, a non-temporary file processing setting unit, and a non-temporary file processing unit.
[0074] The file priority setting unit allows users to set priorities for non-temporary files to be stored, establishing storage priority rules for non-temporary files. Specifically, the system's file priority setting unit interacts with users through an interactive interface. Users can directly set the priority order of non-temporary files according to priority order using selection boxes and input boxes on the interface, and set the corresponding storage areas. The importance of stored files can be reflected by folder names. For example, a folder named "Work Files" can be defined as files stored within the current period with the highest priority; a folder named "Family Life" can be defined as the second most important, and so on. Users can define the priority level and corresponding storage location of non-temporary files to be stored according to their needs.
[0075] The non-temporary file storage unit is used by the user to store corresponding non-temporary files according to the non-temporary file storage priority rules set by the user;
[0076] The storage file monitoring unit is used to monitor the storage information of all stored non-temporary files, including storage location, name, content keywords, cumulative storage duration, access frequency, and editing frequency. This part of the system performs real-time background statistics on the above information to provide data and parameter support for users to view and subsequently delete or transfer invalid or temporarily unimportant non-temporary files.
[0077] The non-temporary file processing setting unit is used by users to set processing rules for stored non-temporary files. Specifically, users can set the rules for non-temporary files that need to be cleared through the input interface provided by the non-temporary file processing setting unit. For example, users can set the rules to clear all compressed files with the .zip extension. By entering the extension of the files to be cleared through the interface, all non-temporary files that meet the clearing conditions can be cleared. Of course, users can set other file formats to be cleared, or they can extract all non-temporary file formats to be transferred in the transfer column and transfer the files.
[0078] The non-temporary file processing unit is used to clear or transfer currently stored non-temporary files that need to be cleared or transferred, based on the processing rules for non-temporary files set by the non-temporary file processing setting unit and the monitoring information of all non-temporary files monitored by the storage file monitoring unit.
[0079] The user sets the filtering criteria for important temporary files that need to be extracted. The filtering criteria include temporary file keywords, temporary file names, and / or temporary file types.
[0080] The temporary file secondary screening unit specifically filters out important temporary files from the first temporary file storage unit by searching the keywords, names, and / or types of temporary files set by the user in the current temporary file.
[0081] This invention also provides a method for file classification management based on the above-described file classification management system, see [link to documentation]. Figure 4 This includes the following steps:
[0082] The file identification module identifies whether the file to be processed is a temporary file generated by the application system or a non-temporary file edited directly by the user on the hard drive partition. If the received file is a temporary file, the temporary file processing module will perform further processing on the identified file; if it is a non-temporary file, the non-temporary file management module will perform further processing on it. For temporary files, identification can be done by their file extension, for example, if the temporary file extension is: .ac $ Non-temporary files can also be identified by their common file extensions. Users can add or delete files according to their frequently used file types. Common non-temporary file extensions include: Notepad.txt, sound card audio files.MID, Excel worksheets.xls, audio / video interleaved files.avi, audio / video interleaved file format; portable document formats.pdf, compressed formats.zip, Word documents.doc, Word documents, image files.jpg, etc.
[0083] Temporary file processing is handled by a temporary file processing module. This includes timely removal of invalid temporary files, identification, transfer, saving, and / or deletion of user-defined important temporary files intended for long-term storage. This includes classifying temporary files, temporarily storing them based on their classification, identifying and filtering user-defined important temporary files according to user-defined criteria, transferring the filtered important temporary files, and storing them long-term. Important temporary files are user-defined files that are temporarily or permanently important to the user. The specific definition varies depending on the user; for example, a user might be very concerned about the loss of edited Office documents due to computer crashes or power outages, or need to retrieve files from different stages of the process. While Word editing records can be temporarily stored in temporary files, it's not 100% guaranteed that all information recovered after a power outage will be temporarily stored in these files. This means there's a risk of temporary files being lost, and it doesn't provide long-term memory recovery across multiple time periods, such as retrieving editing records from a year ago. To avoid this, users can designate the temporary files associated with edited Word documents as important temporary files. These temporary files generated during editing are periodically transferred and stored, becoming readily accessible. This allows users to easily access temporary files from any time period and retrieve the editing records at that point, thus mitigating the problem to some extent. Of course, different users may encounter other types of temporary files that are crucial and cannot be lost or deleted. In this embodiment, these are collectively referred to as important temporary files.
[0084] The management of non-temporary files utilizes a non-temporary file management module to manage non-temporary files directly stored by users on hard drive partitions. This includes hierarchical management of non-temporary files stored in real-time on hard drive partitions, storing non-temporary files hierarchically according to user-defined storage rules, and promptly deleting invalid non-temporary files or transferring some non-temporary files currently stored on the partition according to predetermined rules. In this embodiment, non-temporary files are files that users can directly edit and store; they are not temporary files and can be stored on the hard drive for a long time.
[0085] The system provides a hard drive partition storage space saturation warning. Based on the warning module, it monitors the storage space of each hard drive partition. When the available storage space percentage of the current hard drive partition is lower than the threshold, it issues a warning to the user that the current partition storage space is insufficient. Based on the warning information, the user can manually delete or move the temporary files and / or non-temporary files stored in each hard drive partition.
[0086] Furthermore, the process of handling temporary files through the temporary file processing module, and the timely removal of invalid temporary files, includes the following sub-steps:
[0087] Temporary file priority sorting involves a temporary file priority unit responding to a received temporary file, determining its priority, and then determining the corresponding temporary file storage location based on the determined priority level. The priority of a temporary file characterizes its importance or data frequency; that is, the higher the priority, the more important it is and generally the easier it is to access. The temporary file storage location refers to the location used to store the temporary file, such as memory or different types of hard drives. Temporary files may be stored in memory or on different types of hard drives, including mechanical hard drives, solid-state drives, and hybrid hard drives. Specific priority settings can be implemented using conventional methods and will not be elaborated further here.
[0088] The temporary files are stored in each hard disk partition or memory of the first temporary file storage unit, according to the temporary file storage location determined by the temporary file priority.
[0089] The "Important Temporary Files" setting allows users to define criteria for important temporary files when they need to extract them for long-term storage. These criteria are user-defined and represent temporary or long-term important files for the user. Different users may use different criteria. For example, a user might be concerned about losing edited Office documents due to computer crashes or power outages, or need to retrieve Word editing records from different periods. While temporary files can provide short-term storage, they cannot guarantee that all information recovered after a power outage will be temporarily stored. This means there's a risk of temporary file loss and the inability to provide long-term storage across multiple time periods, such as retrieving a Word document's editing history from a year ago. To avoid this, users can designate the temporary files associated with edited Word documents as important temporary files. These files are periodically transferred and stored as readily accessible temporary files, allowing users to easily access them at any time. This addresses the problem to some extent. Of course, different users may encounter other types of temporary files that are crucial and cannot be lost or deleted. In this embodiment, these temporary files are collectively referred to as important temporary files. The system establishes an important temporary file setting unit to provide users with a link to extract the necessary important temporary files. Users can further optimize the management of temporary files by customizing the content of these important files, thus solving the technical problem that current temporary file processing systems can only delete temporary files and cannot further refine the management of temporary files based on user needs. As for the communication interface and software program of the system's important temporary file setting unit, these are conventional techniques in the field and will not be described in detail in this embodiment.
[0090] The important temporary files are screened, and the secondary screening unit retrieves the parameters of the important temporary files that need to be retrieved as set by the important temporary file setting unit. It then selects and provides a list of important temporary files that need to be transferred from the first temporary file storage unit.
[0091] The transfer and storage of important temporary files: Based on the list of important temporary files selected by the secondary screening unit, the important temporary files that need to be stored for a long time are transferred from the first temporary file storage unit and stored in the hard disk folder of the second temporary file storage unit for long-term storage.
[0092] The deletion of temporary files involves invoking a temporary file deletion unit. Upon meeting preset temporary file deletion conditions, the temporary files stored in the first temporary file storage unit are deleted. These preset conditions include confirming that no important temporary files need to be transferred to the second temporary file storage unit. If so, the system must wait until the important temporary files need to be transferred to the second temporary file storage unit before deletion. If no important temporary files are confirmed, deletion can be performed directly. This confirmation step can be completed automatically by the system or manually by the user.
[0093] Furthermore, the management steps for non-temporary files include the following sub-steps:
[0094] Setting the storage priority for non-temporary files: Users can set the priority level for different types of non-temporary files through the storage file priority setting unit, and establish non-temporary file storage priority rules. In this embodiment, non-temporary files are files that users can directly edit and save. They are not temporary files and can be stored on the hard drive for a long time.
[0095] Users edit and / or store non-temporary files according to the set non-temporary file storage priority rules on each hard drive partition of the non-temporary file storage unit. The specific system's storage file priority setting unit interacts with users through an interactive interface. Users can directly set the priority order of non-temporary files according to the priority order through the selection boxes and input boxes on the operation interface, and set the corresponding storage area. Specifically, the importance of the stored files can be reflected by the folder name. For example, a folder named "Work Files" can be defined as files stored within the current period as the first priority; a folder named "Family Life" can be defined as the second most important priority, and so on. Users can define the priority level and corresponding storage location of the non-temporary files to be stored according to their own needs.
[0096] The system monitors and statistically analyzes various data parameters of non-temporary files in real time. Specifically, it monitors the storage information, retrieval information, and editing frequency of all stored non-temporary files through the storage file monitoring unit. The storage information includes the storage location of the non-temporary file, file name, file content keywords, and / or the cumulative storage duration of the file. The system performs real-time background statistics on the above information to provide data and parameter support for users to view and subsequently delete or transfer invalid or temporarily unimportant non-temporary files.
[0097] Set rules for clearing and / or transferring non-temporary files. Users can set rules for clearing and transferring stored non-temporary files through the non-temporary file processing setting unit.
[0098] For clearing or transferring non-temporary files, the user, through the non-temporary file processing unit, performs the clearing operation on currently stored non-temporary files that need to be cleared, or transfers non-temporary files that need to be transferred, based on the processing rules set by the non-temporary file processing setting unit and simultaneously retrieving monitoring information of all non-temporary files monitored by the storage file monitoring unit. Specifically, the user can set the rules for clearing non-temporary files through the input interface provided by the non-temporary file processing setting unit. For example, to clear all compressed files with the .zip extension, the user can input the extension of the files to be cleared through the interface, thus clearing all non-temporary files that meet the clearing conditions. Of course, the user can also set other file formats to be cleared, or extract all non-temporary file formats to be transferred in the transfer section for file transfer.
[0099] Furthermore, in the step where the user sets the filtering conditions for important temporary files to be extracted through the important temporary file setting unit, the filtering conditions include temporary file keywords, temporary file names, and / or temporary file types;
[0100] In the important temporary file screening step, the step of the temporary file secondary screening unit retrieving the parameters of the important temporary files that need to be retrieved as set by the important temporary file setting unit includes keywords, temporary file name, and / or temporary file type. By retrieving the above parameters, the important temporary files are filtered out from the first temporary file storage unit, and a list of important temporary files that need to be transferred is given.
[0101] The present invention also provides an electronic device, including a memory and a processor; the memory is used to store a plurality of computer instructions, wherein the plurality of computer instructions are executed by the processor to implement the steps of the above-described file classification and management method.
[0102] The present invention also provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the above-described file classification and management method.
[0103] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Furthermore, any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory.
[0104] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A document classification and management system, characterized in that, include: File recognition module: Identifies whether the file to be processed is a temporary file or a non-temporary file. The file recognition module sends the file's identification information to the temporary file processing module and the non-temporary file management module respectively. If the received file is a temporary file, it will be loaded into the temporary file processing module for further processing; if it is a non-temporary file, it will be loaded into the non-temporary file management module for further processing. The temporary file processing module is used to perform hierarchical temporary storage of temporary files, temporary file deletion, identification of important temporary files, transfer of important temporary files, and / or long-term storage of important temporary files; The non-temporary file management module is used to manage the non-temporary files stored by the user in real time on each partition of the hard drive, guide the user to store non-temporary files in a hierarchical manner, and promptly delete or transfer some non-temporary files according to predetermined rules. The early warning module is used to monitor the storage space of each hard drive. When the available storage space of the current hard drive partition is lower than the threshold, it will issue an early warning to the user that the storage space is insufficient. Based on the early warning information, the user can manually delete or move the temporary or non-temporary files stored on each hard drive partition. The temporary file processing module includes: a temporary file priority unit, a first temporary file storage unit, an important temporary file setting unit, a temporary file secondary screening unit, a temporary file transfer unit, a second temporary file storage unit, and a temporary file deletion unit; A temporary file priority unit is configured to, in response to receiving a temporary file, determine the priority of the temporary file and determine the corresponding temporary file storage location based on the determined priority level of the temporary file; The first temporary file storage unit is configured to store the temporary file according to the determined temporary file storage location; The Important Temporary Files Setting Unit allows users to set filtering criteria for important temporary files to be extracted when they need to extract them for long-term storage. The temporary file secondary screening unit is used to filter out temporary files that need to be retained for a long time from the first temporary file storage unit according to user requirements; The temporary file transfer unit is used to transfer temporary files that need to be stored for a long time from the first temporary file storage unit, which have been screened by the temporary file secondary screening unit. The second temporary file storage unit is located in a partition of the hard disk and is used for long-term storage of temporary files transferred out by the temporary file transfer unit. The temporary file deletion unit is configured to delete the temporary files stored in the first temporary file storage unit in response to a preset temporary file deletion condition being met. The preset temporary file deletion condition includes confirming that there are no important temporary files that need to be transferred to the second temporary file storage unit.
2. The document classification management system according to claim 1, characterized in that, The non-temporary file management module includes: a storage file priority setting unit, a non-temporary file storage unit, a storage file monitoring unit, a non-temporary file processing setting unit, and a non-temporary file processing unit. The storage file priority setting unit is used to allow users to set the priority of non-temporary files to be stored and to establish non-temporary file storage priority rules; The non-temporary file storage unit is used by the user to store corresponding non-temporary files according to the non-temporary file storage priority rules set by the user; The storage file monitoring unit is used to monitor the storage information of all stored non-temporary files, including storage location, name, content keywords, cumulative storage duration, access frequency, and editing frequency. The non-temporary file processing setting unit is used by users to set the processing rules for stored non-temporary files; The non-temporary file processing unit is used to clear or transfer currently stored non-temporary files that need to be cleared or transferred, based on the processing rules for non-temporary files set by the non-temporary file processing setting unit and the monitoring information of all non-temporary files monitored by the storage file monitoring unit.
3. A document classification management system according to claim 2, characterized in that... The user sets the filtering criteria for important temporary files that need to be extracted. The filtering criteria include temporary file keywords, temporary file names, and / or temporary file types. The temporary file secondary screening unit specifically filters out important temporary files from the first temporary file storage unit by searching the keywords, names, and / or types of temporary files set by the user in the current temporary file.
4. A method for document classification management based on the document classification management system according to any one of claims 1-3, characterized in that, Includes the following steps: The file identification module identifies whether the file to be processed is a temporary file generated by the application system or a non-temporary file edited directly by the user on the hard drive partition. If the received file is a temporary file, the temporary file processing module will perform subsequent processing on the identified file; if it is a non-temporary file, the non-temporary file management module will perform subsequent processing on it. Temporary file processing is performed through the temporary file processing module, which promptly removes invalid temporary files, identifies, transfers, and saves user-defined important temporary files that need to be stored long-term. This includes classifying temporary files, temporarily storing temporary files based on their classification, identifying and filtering user-defined important temporary files according to user-defined criteria, transferring the filtered important temporary files, and storing important temporary files long-term. The management of non-temporary files utilizes the non-temporary file management module to manage non-temporary files stored directly on the hard disk partition by the user. This includes hierarchical management of non-temporary files stored in real time on the hard disk partition by the user, hierarchical storage of non-temporary files according to user-defined storage rules, and timely deletion of invalid non-temporary files or transfer of some non-temporary files stored in the current partition according to predetermined rules. The system provides a warning of insufficient storage space for each hard drive partition. Based on the warning module, it monitors the storage space of each hard drive partition. When the available storage space of the current hard drive partition is lower than the threshold, it issues a warning to the user that the current partition is not enough. Based on the warning information, the user can manually delete or move the temporary files and / or non-temporary files stored in each hard drive partition. The process of handling temporary files and promptly clearing invalid temporary files through the temporary file processing module includes the following sub-steps: Temporary file priority sorting: In response to a received temporary file, the temporary file priority unit determines the priority of the temporary file and determines the corresponding temporary file storage location based on the determined priority level of the temporary file. The temporary files are stored in each hard disk partition or memory of the first temporary file storage unit, according to the temporary file storage location determined by the temporary file priority. The important temporary file setting condition can be set by the user when the user needs to extract important temporary files and convert them to long-term storage. The important temporary file setting unit can be used to set the filtering conditions for the important temporary files to be extracted. The important temporary files are screened, and the secondary screening unit retrieves the parameters of the important temporary files that need to be retrieved as set by the important temporary file setting unit. It then selects and provides a list of important temporary files that need to be transferred from the first temporary file storage unit. The transfer and storage of important temporary files: Based on the list of important temporary files selected by the secondary screening unit, the important temporary files that need to be stored for a long time are transferred from the first temporary file storage unit and stored in the hard disk folder of the second temporary file storage unit for long-term storage. The temporary file deletion is initiated by calling the temporary file deletion unit. If the preset temporary file clearing conditions are met, the temporary file stored in the first temporary file storage unit is cleared. The preset temporary file clearing conditions include confirming that there are no important temporary files that need to be transferred to the second temporary file storage unit.
5. The method according to claim 4, characterized in that, The management steps for non-temporary files include the following sub-steps: Set the storage priority for non-temporary files. Users can set the priority level for different types of non-temporary files through the storage file priority setting unit, and establish non-temporary file storage priority rules. Users can edit and / or store non-temporary files of corresponding priority in each hard disk partition of the non-temporary file storage unit according to the set non-temporary file storage priority rules; Real-time monitoring and statistics of various data parameters of non-temporary files; specifically, the storage file monitoring unit monitors the storage information, retrieval information and editing frequency of all stored non-temporary files. The storage information includes the storage location of non-temporary files, file name, file content keywords, and / or the cumulative storage duration of the files. Set rules for clearing and / or transferring non-temporary files. Users can set rules for clearing and transferring stored non-temporary files through the non-temporary file processing setting unit. For the clearing or transfer of non-temporary files, the user can use the non-temporary file processing unit to perform the clearing operation on the currently stored non-temporary files that need to be cleared, or the transfer operation on the non-temporary files that need to be transferred, based on the processing rules for non-temporary files set by the non-temporary file processing setting unit and the monitoring information of all non-temporary files monitored by the storage file monitoring unit.
6. The method according to claim 4, characterized in that, In the step where the user sets the filtering conditions for important temporary files to be extracted through the important temporary file setting unit, the filtering conditions include temporary file keywords, temporary file names, and / or temporary file types; In the important temporary file screening step, the step of the temporary file secondary screening unit retrieving the parameters of the important temporary files that need to be retrieved as set by the important temporary file setting unit includes keywords, temporary file name, and / or temporary file type. By retrieving the above parameters, the important temporary files are filtered out from the first temporary file storage unit, and a list of important temporary files that need to be transferred is given.
7. An electronic device, comprising a memory and a processor; characterized in that, The memory is used to store a plurality of computer instructions, wherein the plurality of computer instructions are executed by the processor to implement the steps of the file classification management method according to any one of claims 4-6.
8. A computer-readable storage medium storing computer instructions thereon, characterized in that, When executed by a processor, the computer instructions implement the steps of the file classification and management method according to any one of claims 4-6.
Citation Information
Patent Citations
Temporary file processing method and device, electronic equipment, medium and program product
CN112947859A
Mobile terminal and file management system and method thereof
CN104991949A
File processing method and related products
CN108874591A