A method for batch processing of digital information
Through the multi-level filtering standard digital information batch processing method, useless files in mobile phone memory are automatically identified and deleted, which solves the problem of insufficient memory on mobile phones and improves user experience and performance.
Patent Information
- Application Number
- CN202410248481.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-05
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2044-03-05
AI Technical Summary
Insufficient memory capacity of mobile phones leads to performance degradation and poor user experience, and existing cleaning methods cannot continuously and effectively manage memory usage.
Design a batch processing method for digital information, automatically scan mobile phone memory, set multi-level filtering standards, delete files and data information that do not meet the standards, and retain important data, including the identification and processing of duplication, high similarity and historical useless files.
It realizes automated management of mobile phone memory, avoids bloat and overflow, improves mobile phone performance and user experience, and ensures the security and availability of important data.
Smart Images

Figure CN118295586B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital information processing, and particularly to a method for batch processing of digital information. Background Art
[0002] With the popularization of mobile devices and the increasing demand of users for digital information storage, the memory capacity of mobile phones has become an important issue that users are concerned about. During the use of mobile phones, users will store a large number of digital information such as files, photos, and videos, resulting in excessive occupation of mobile phone memory, which in turn affects the performance of mobile phones and the user experience. At present, users need to regularly clean the memory, but the memory will be full again soon after cleaning, which brings inconvenience and trouble to users. Therefore, it is necessary to design a method for batch processing of digital information with strong practicability and improved user experience. Summary of the Invention
[0003] The purpose of the present invention is to provide a method for batch processing of digital information to solve the problems raised in the above background art.
[0004] To solve the above technical problems, the present invention provides the following technical solutions: A method for batch processing of digital information, comprising the following steps:
[0005] Step S1: When the memory occupancy rate of the mobile phone reaches 70%, the data information batch processing system is started, and the mobile phone memory is scanned regularly to collect files and data information in the memory;
[0006] Step S2: Obtain the collected files and data information, and sort out the files and data information;
[0007] Step S3: Scan the files one by one, formulate a first-level screening standard, and delete the files and data information that do not meet the first-level standard;
[0008] Step S4: When the memory occupancy rate of the mobile phone reaches 90%, further formulate a second-level screening standard, delete the files and data information that do not meet the second-level standard, and at the same time, retain the files and data information that meet the second-level standard, even if the mobile phone memory is full.
[0009] According to the above technical solution, the step S1 further includes: The system module is responsible for regularly scanning the mobile phone memory, traversing the folders and files in the memory, collecting the relevant information of the files, and for each file, collecting the file attributes, content, download time, usage frequency, and last modification time.
[0010] According to the above technical solution, the sorting method in the step S2 is:
[0011] Record the file name through file attributes for file identification and subsequent operations, file size, and file type. For specific file types, then extract the download time information from the file's metadata. Next, count the usage frequency of the file, record the number of times the file is opened or called. Finally, extract the last modification time information from the file's metadata for subsequent judgment of the amount of information displayed by the file.
[0012] According to the above technical solution, the primary screening criteria in step S3 are: no duplicate or highly similar files, and no useless files left over from historical operations.
[0013] According to the above technical solution, the method for analyzing and judging duplicate or highly similar files is as follows:
[0014] According to the file type, for different types of files, extract the characteristic information of the file. Among them, for text files, extract keywords or vector representations of words; for image files, extract color histograms and image feature vectors; for audio files, extract audio fingerprints.
[0015] Then compare and match the similarities between file features and calculate the similarity value S between files. Under the primary screening criteria, during the collation of the files and data information in step S2, the system adopts the similarity standard value S0 in the preset screening criteria given by the data. When S > S0, it is judged as a file with high similarity. If S = 100%, it means there are duplicate files.
[0016] According to the above technical solution, the method for judging useless files left over from historical operations is: judge according to the file download time. According to the data collation in step S2, judge the files with earlier download times in historical files as useless files. The size of the data deleted each time should meet the requirement of accounting for more than 20% and not higher than 30% of the total deletable data volume. During the deletion process, take the deletion volume that first falls into this interval as the standard to avoid excessive file deletion, where the files have been deleted when the user wants to retrieve them, and also avoid too little deletion having little effect on the batch processing of data information.
[0017] According to the above technical solution, there is a conflict criterion for judging the download time of the useless files. When the conflict criterion is met, it is directly marked as a useful file. The conflict criterion includes: operating system type files and important data. The method for judging important data is as follows: the average single call duration t and the cumulative call times c of the corresponding file are used, and the important value Z is calculated by Z = α·t + β·c, where α and β are the control parameters of the average single call duration t and the cumulative call times c respectively. Similarly, after calculating the important value Z, in combination with the file and data information in step S2, during the collation, the importance standard value Z0 given by the preset screening criterion adopted by the system is considered. When Z > Z0, it is judged as important data, which conflicts with the judgment of useless files and is not within the screening range.
[0018] According to the above technical solution, in step S4, the method for judging the secondary criterion is as follows: obtain the file size, set the secondary judgment threshold u for the unified file size, and the threshold u is adjusted proportionally according to the current total memory of the mobile phone. When the file size is greater than the threshold u, then identify the file type information. When the file type is a non-video type, obtain the last open or last modified time of the scanned file. When the last open or last modified time is greater than 30 days, an inquiry notice is sent to the user, and the user is asked to feedback on the compliance of the file with the secondary criterion. When the file type is a video type, then further analyze the video content, perform frame extraction and comparison on the video content. If the proportion of the frame extraction pictures with a comparison similarity greater than 90% is higher than 30%, then perform similarity time period compression processing on the video file to save the memory occupied by the video. Otherwise, it is judged to meet the secondary criterion.
[0019] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: Through the digital information batch processing method of the present invention, unimportant data in the mobile phone memory can be automatically deleted, keeping the mobile phone slim and avoiding the phenomena of memory bloat and fullness. This method takes into account multiple automatic deletion criteria and important data judgment, ensuring the accuracy and security of deletion. At the same time, files with importance above the guaranteed standard are retained to ensure the security and availability of the user's important data. This method can improve the performance of the mobile phone and the user experience, and provide better digital information management functions for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the present invention and do not constitute a limitation to the present invention. In the drawings:
[0021] Figure 1 It is a flowchart of the running steps of a digital information batch processing method provided by Embodiment 1 of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0022] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0023] Figure 1 FIG. 4 is a flowchart of the running steps of a digital information batch processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of batch processing of digital information during the use of a mobile phone. This method can be executed by a digital information batch processing system provided in the embodiments of the present invention. As Figure 1 shown, the method specifically includes the following steps:
[0024] S1. When the memory occupancy rate of the mobile phone reaches 70%, the data information batch processing system is started, and the mobile phone memory is scanned regularly to collect files and data information in the memory;
[0025] Exemplarily, in the embodiment of the present invention, the system module is responsible for regularly scanning the mobile phone memory, traversing the folders and files in the memory, and collecting the relevant information of the files. For each file, the attributes, content, download time, usage frequency, and last modification time of the file are collected, so as to achieve the effect of comprehensively collecting the data information in the mobile phone memory.
[0026] S2. Obtain the collected files and data information, and sort out the files and data information;
[0027] Exemplarily, in the embodiment of the present invention, the collected files and data information are sorted out. The file name is recorded through the file attributes for file identification and subsequent operations, file size, and file type. For specific file types, such as text files, pictures, videos, etc., the file content is identified according to its file header information or suffix name, and then the download time information is extracted from the metadata of the file. Then, the usage frequency of the file is counted, and the number of times the file is opened or called is recorded. Finally, the last modification time information is extracted from the metadata of the file for subsequent judgment of the display information volume of the file. By sorting and judging the files and data information obtained from the mobile phone in step S1 under multiple categories such as attributes, content, download time, usage frequency, and last modification time, the current mobile phone memory file status can be quickly understood, and the average value, median, etc. under each category can be obtained, and then the system adopts the data to formulate preset screening criteria.
[0028] S3. Scan the files one by one, formulate first-level screening criteria, and delete the files and data information that do not meet the first-level criteria;
[0029] In an embodiment of the present invention, the primary screening criteria are as follows: there are no duplicate or highly similar files, and there are no useless files left over from historical operations.
[0030] Among them, the method for analyzing and judging duplicate or highly similar files is as follows: according to the file type, for different types of files, extract the feature information of the files. For text files, extract keywords or vector representations of words; for image files, extract color histograms and image feature vectors; for audio files, extract audio fingerprints. Then, compare the file features with each other, calculate the similarity and its similarity matching, and obtain the similarity value S between the files. Under the primary screening criteria, during the collation of the files and data information in step S2, the system adopts the similarity standard value S0 in the preset screening criteria given by the data. When S > S0, it is judged as a file with high similarity. If S = 100%, it means there are duplicate files.
[0031] The method for judging useless files left over from historical operations is as follows: judge according to the file download time. According to the data collation in step S2, judge the files with earlier download times in the historical files as useless files. The size of the data deleted each time should meet the requirement of being more than 20% and not higher than 30% of the total deletable data volume. During the deletion process, use the deletion volume that first falls into this range as the standard to avoid excessive file deletion, where the files have been deleted when the user wants to retrieve them, and also avoid too little deletion having little effect on the batch processing of data information. Among them, there are conflicting criteria for judging the download time of useless files. When the conflicting criteria are met, they are directly marked as useful files. The conflicting criteria include: operating system type files and important data. The method for judging important data is as follows: calculate the average single call duration t and the cumulative call count c of the corresponding files, and calculate the important value Z with Z = α·t + β·c, where α and β are the control parameters of the average single call duration t and the cumulative call count c respectively. Similarly, after calculating the important value Z, during the collation of the files and data information in step S2, the system adopts the importance standard value Z0 in the preset screening criteria given by the data. When Z > Z0, it is judged as important data, which conflicts with the judgment of useless files and is not within the screening range.
[0032] Through the primary screening criteria, files and data information with high similarity, long download time, and little use can be screened out for automatic deletion, so as to keep the mobile phone slim, avoid invalid data occupying a large amount of memory, and thus increase the user's usage cost and reduce the usage experience.
[0033] S4. When the mobile phone memory occupancy rate reaches 90%, further formulate secondary screening criteria, delete files and data information that do not meet the secondary criteria, and at the same time, retain files and data information that meet the secondary criteria, even if the mobile phone memory is full;
[0034] Exemplarily, in the embodiment of the present invention, the method for secondary standard judgment is as follows: Obtain the file size, set the secondary judgment threshold u for the unified file size, and the threshold u is adjusted proportionally according to the total memory of the current mobile phone. When the file size is greater than the threshold u, then identify the file type information. When the file type is a non-video type, obtain the last open or last modified time of the scanned file. When the last open or last modified time is greater than 30 days, then send an inquiry notice to the user, and the user feedbacks the secondary standard compliance of the file. When the file type is a video type, then further analyze the video content, perform frame extraction and comparison on the video content. If the frame extraction pictures with a comparison similarity greater than 90% are higher than 30%, then perform similarity time period compression processing on the video file to save the memory occupied by the video. Otherwise, it is determined that the secondary standard is reached. Furthermore, when the mobile phone memory is severely insufficient and all meet the primary screening criteria, the purpose of deeper screening and memory reduction is achieved. This method considers multiple automatic deletion criteria and important data judgment, ensuring the accuracy and security of deletion. At the same time, files with importance above the bottom guarantee standard are retained to ensure the security and availability of the user's important data. This method can improve the performance of the mobile phone and the user experience, and provide better digital information management functions for the user.
[0035] It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device.
[0036] Finally, it should be noted that the above are only the preferred embodiments of the present invention and are not used to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for batch processing of digital information, characterized in that: The method includes the following steps: Step S1: When the memory occupancy rate of the mobile phone reaches 70%, the data information batch processing system starts, scans the mobile phone memory regularly, and collects the files and data information in the memory; Step S2: Obtain the collected files and data information, and sort out the files and data information; Step S3: Scan the files one by one, formulate the first-level screening criteria, and delete the files and data information that do not meet the first-level criteria; Step S4: When the memory occupancy rate of the mobile phone reaches 90%, further formulate the second-level screening criteria, delete the files and data information that do not meet the second-level screening criteria. At the same time, retain the files and data information that meet the second-level screening criteria, even if the mobile phone memory is full; The said Step S1 further includes: The system module is responsible for scanning the mobile phone memory regularly, traversing the folders and files in the memory, and collecting the relevant information of the files. For each file, collect the file attributes, content, download time, usage frequency, and last modification time; The sorting method in the said Step S2 is: Record the file name through file attributes for file identification and subsequent operations, file size, file type. For specific file types, then extract the download time information from the file metadata, then count the usage frequency of the file, record the number of times the file is opened or called, and finally extract the last modification time information from the file metadata for subsequent judgment of the display information volume of the file; The first-level screening criteria in the said Step S3 are: no duplicate or highly similar files, and no useless files left over from historical operations; The analysis and judgment method for duplicate or highly similar files is: According to the file type, for different types of files, extract the characteristic information of the files. Among them, for text files, extract keywords or word vector representations, for image files, extract color histograms and image feature vectors, and for audio files, extract audio fingerprints; Then compare and match the file features with each other and their similarities, calculate the similarity value S between the files. Under the first-level screening criteria, during the sorting of the files and data information in Step S2, the system adopts the similarity standard value S0 in the preset screening criteria given by the data. When S > S0, it is judged as a file with high similarity. If S = 100%, it means there are duplicate files; The judgment method for useless files left over from historical operations is: Judge according to the file download time. According to the data sorting in Step S2, judge the files with earlier download times in the historical files as useless files. The size of the data deleted each time needs to meet more than 20% and not higher than 30% of the total deletable data volume. During the deletion process, take the deletion volume that preferentially falls within 20% - 30% of the total deletable data volume as the standard, to avoid the situation that too many files are deleted and the user wants to retrieve them but they have been deleted, and also to avoid the small effect on the batch processing of data information due to too little deletion; There is a conflicting criterion for judging the download time of useless files. When the conflicting criterion is met, the file is directly marked as a useful file. The conflicting criteria include: operating system type files and important data. The method for judging important data is as follows: the average single call duration t and the cumulative call count c of the corresponding file are used, and the important value Z is calculated as Z = α·t + β·c, where α and β are the control parameters of the average single call duration t and the cumulative call count c respectively. Similarly, after calculating the important value Z, during the process of organizing the file and data information in step S2, the importance standard value Z0 given by the preset screening criteria adopted by the system is combined. When Z > Z0, it is judged as important data, which conflicts with the judgment of useless files and is not within the screening range. In the said step S4, the method for judging the secondary screening criteria is as follows: obtain the file size, set a secondary judgment threshold u for the unified file size, and the threshold u is adjusted proportionally according to the current total memory of the mobile phone. When the file size is greater than the threshold u, then identify the file type information. When the file type is a non-video type, obtain the last opening or last modification time of the scanned file. When the last opening or last modification time is greater than 30 days, an inquiry notice is sent to the user, and the user is asked to feedback on the compliance of the file with the secondary screening criteria. When the file type is a video type, then further analyze the video content, extract frames from the video content and make a comparison. If the percentage of frame extraction pictures with a comparison similarity greater than 90% is higher than 30%, then perform similarity time period compression processing on the video file to save the memory occupied by the video. Otherwise, it is judged that the secondary screening criteria are met.
Citation Information
Patent Citations
Method and device for managing memory
CN105224409A
Processing method, apparatus, computer device and storage medium for test data sheet
CN109271381A