A computer data management method and system based on the Internet
By monitoring the storage space and file access frequency in real time, identifying high-frequency and low-frequency files, providing deletion suggestions and preloading strategies, it solves the problems of insufficient real-time and intelligence in traditional data management methods, and improves data management efficiency and user experience. Ensure reasonable allocation of resources and file security.
Patent Information
- Application Number
- CN202411099956.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-12
AI Technical Summary
Traditional data management methods lack real-time monitoring and early warning capabilities, and the file classification is rough, resulting in low data retrieval efficiency and poor resource allocation, which affects performance, especially in terms of real-time, intelligence and user-friendliness.
The Internet-based computer data management method is adopted to monitor storage space in real time, identify high-frequency and low-frequency access files, generate useless file reports, provide deletion suggestions, and implement preloading strategies based on file access frequency differences to optimize storage resource allocation.
It improves data management efficiency and user experience, reduces the workload of users to manually filter files, avoids the situation of accidentally deleting important files, ensures the security of file management and the reasonable allocation of resources, and significantly improves office efficiency.
Smart Images

Figure CN118626455B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer data management, and in particular to a computer data management method and system based on the Internet. Background Art
[0002] In today's digital age, the rapid development of Internet technology has driven a surge in data volume, which has posed unprecedented challenges to data management. Traditional data management methods rely on manual regular checks of storage space and manual classification of files.
[0003] Although there are a variety of data management solutions on the market, they generally lack real-time monitoring and early warning capabilities, and the file classification is rough, which not only reduces data retrieval efficiency and affects resource allocation and performance. These problems focus on real-time, intelligence, user-friendliness and resource management, and need to be solved through technological innovation.
[0004] The present invention proposes an Internet-based computer data management method and system, aiming to realize automatic storage space monitoring and efficient automatic file classification and access optimization, thereby improving data management efficiency and user experience. Summary of the invention
[0005] The object of the present invention is to provide a computer data management method and system based on the Internet to solve the above-mentioned problems.
[0006] The purpose of the present invention can be achieved through the following technical solutions:
[0007] A computer data management method based on the Internet, comprising:
[0008] Monitor storage space, obtain device storage status, and generate normal remaining space signal and abnormal remaining space signal;
[0009] Based on the remaining space abnormality signal, all files are deeply scanned and a temporary database is built;
[0010] Based on the temporary database, obtain all file types on the device and get a set of files of the same type;
[0011] Analyze the average access frequency of each set of files of the same type and identify high-frequency access files and low-frequency access files;
[0012] Based on the low-frequency access files, the file status data of the low-frequency access files are obtained, the useless file report value of the low-frequency access files is obtained, the useless file report is generated, and the useless file report is displayed through a graphical user interface and deletion suggestions are provided;
[0013] The file status data of the low-frequency access files include the file storage time ratio of the low-frequency access files, the file storage capacity ratio of the low-frequency access files, the file recent access time ratio of the low-frequency access files, the file access number ratio of the low-frequency access files, and the number of times the low-frequency access files are refused to be deleted by users;
[0014] Based on the frequently accessed files, a frequently accessed file set is obtained;
[0015] Based on the high-frequency file set, we get working days and non-working days, obtain the access frequency of each file in a day, and build a line chart;
[0016] Based on the line chart, analyze the difference in file access frequency between working days and non-working days, and implement a preloading strategy.
[0017] As a further solution of the present invention: the process of generating the remaining space normal signal and the remaining space abnormal signal is:
[0018] Preset the inspection cycle, and run the storage space monitoring task when the preset time period is reached;
[0019] When the user manually triggers it through the storage optimization tool of the operating system or related software, the storage space monitoring task is immediately started;
[0020] Based on the storage space monitoring task, the total used space of the device storage medium is obtained, and the difference between the total used space and the total storage capacity is calculated to obtain the remaining space value;
[0021] Compare the remaining space value with the remaining space threshold;
[0022] If the remaining space value is greater than or equal to the remaining space threshold, a remaining space normal signal is generated;
[0023] If the remaining space value is less than the remaining space threshold, a remaining space exception signal is generated.
[0024] As a further solution of the present invention, the specific process of identifying high-frequency access and low-frequency access files is as follows:
[0025] The specific process of identifying high-frequency access and low-frequency access files is as follows:
[0026] Based on the same type of file set, obtain the number of accesses to each file in the most recent time period, and obtain the total number of accesses to the same type of file set in the most recent time period through integration;
[0027] The average access frequency of the same type of file set is calculated by calculating the ratio of the total number of accesses to the same type of file set in the most recent period to the total number of files in the same type of file set.
[0028] Based on the average access frequency in the same type of file set, the average access frequency in the same type of file set and the number of accesses to each file in the same type of file set in the most recent time period are calculated to obtain the access frequency difference;
[0029] comparing the access frequency difference with an access frequency difference threshold;
[0030] If the access frequency difference is less than or equal to the access frequency difference threshold, it is classified as a high-frequency access;
[0031] If the access frequency difference is greater than the access frequency difference threshold, it is classified as a low-frequency access file. As a further solution of the present invention: the process of obtaining the useless file report value Di of the low-frequency access file is:
[0032] The file storage time ratio of the low-frequency access file is denoted as Dt;
[0033] The file storage capacity ratio of the low-frequency access files is denoted as Dr;
[0034] The file recent access time ratio of the low-frequency access file is recorded as Dj;
[0035] The file access ratio of the low-frequency access files is recorded as Ds;
[0036] By formula The useless file report value Di of the low-frequency access file is calculated, where d1, d2, d3, and d4 are all preset proportional coefficients, Dn is the number of times the user refuses to delete, and dn is the user refusal to delete threshold preset by the device.
[0037] As a further solution of the present invention: the generation process of the useless file report is:
[0038] All low-frequency access files are sorted from large to small according to the useless file report value Di, and the report is displayed to the user through a graphical user interface. A deletion suggestion is provided for each file. The user views the detailed information of each file one by one through the graphical user interface and chooses whether to accept the deletion suggestion.
[0039] As a further solution of the present invention, the specific process of confirming the final decision of the user and permanently marking the files that do not need to be cleaned up is as follows:
[0040] If the user chooses to agree to the deletion, the infrequently accessed file will be deleted from the device's storage medium;
[0041] If the user chooses to keep the low-frequency access file, each time the user refuses to delete it, Dn will automatically increase by 1, and the useless file report value of the corresponding low-frequency access file will be recalculated, and the order in which the GUI displays the report to the user will be adjusted;
[0042] When the number of times that a low-frequency access file is rejected for deletion by a user is equal to a user rejection deletion threshold preset by the device, the low-frequency access file is recorded as a file in a non-active deletion state and is marked as non-deletable.
[0043] As a further solution of the present invention: the specific process of constructing the line graph is:
[0044] Based on working days and non-working days, the time period is divided into days to obtain the access frequency of each high-frequency access file in a day;
[0045] Integrate the access frequency of a single high-frequency access file on a daily basis to form a time series data set;
[0046] Based on the time series data set, a line graph is constructed with date as the horizontal axis and access frequency as the vertical axis to show the access frequency distribution of high-frequency access files on working days and non-working days respectively.
[0047] As a further solution of the present invention, the specific process of evaluating the difference between the file access frequency on working days and non-working days is as follows:
[0048] Based on the line graph, the file access frequency is divided into the access frequency of working day files and the access frequency of non-working day files, and the working day data set and the non-working day data set are obtained;
[0049] Based on the workday data set, the average access frequency and variance of workday files are obtained;
[0050] Based on the non-working day data set, the average access frequency and variance of non-working day files are obtained;
[0051] Based on the average access frequency and variance of files on working days and the average access frequency and variance of files on non-working days, the difference value between working days and non-working days is obtained;
[0052] comparing the difference value between the working day and the non-working day with a difference value threshold;
[0053] If the difference value is greater than or equal to the difference value threshold, it is recorded as a file with no obvious difference;
[0054] If the difference value is less than the difference value threshold, it is recorded as a file with significant difference.
[0055] As a further solution of the present invention: the specific process of implementing the preloading strategy is:
[0056] Based on the files with obvious differences, the files for working days and the files for non-working days are obtained;
[0057] Based on the weekday, preload the weekday files into the cache.
[0058] As a further solution of the present invention: comprising a storage resource monitoring module, a file classification module, an interface design module and an intelligent storage strategy module;
[0059] The storage resource monitoring module monitors the storage space, obtains the device storage status, and generates a normal remaining space signal and an abnormal remaining space signal;
[0060] The file classification module deeply scans all files and builds a temporary database based on the remaining space abnormality signal;
[0061] Based on the temporary database, obtain all file types on the device and get a set of files of the same type;
[0062] Analyze the average access frequency of each set of files of the same type and identify high-frequency access files and low-frequency access files;
[0063] The interface design module obtains the file status data of the low-frequency access files based on the low-frequency access files, obtains the useless file report value of the low-frequency access files, generates the useless file report, displays it through the graphical user interface and provides deletion suggestions;
[0064] The file status data of the low-frequency access files include the file storage time ratio of the low-frequency access files, the file storage capacity ratio of the low-frequency access files, the file recent access time ratio of the low-frequency access files, the file access number ratio of the low-frequency access files, and the number of times the low-frequency access files are refused to be deleted by users;
[0065] The intelligent storage strategy module obtains the access frequency of each file in a day based on the high-frequency access files, obtains working days and non-working days, and constructs a line chart;
[0066] Based on the line chart, analyze the difference in file access frequency between working days and non-working days, and implement a preloading strategy.
[0067] Beneficial effects of the present invention:
[0068] (1) The present invention can effectively help users manage the massive data in their computers by monitoring storage space in real time and automatically distinguishing file access frequencies. It can not only promptly remind users of the status of storage space to avoid affecting normal use due to insufficient storage, but also automatically identify low-frequency access files and provide deletion suggestions to help free up storage space. In addition, for high-frequency access files, the system can automatically build an access frequency chart to help users intuitively understand file usage habits and better plan storage resource allocation. This intelligent data management method greatly improves the user experience.
[0069] (2) The present invention adopts personalized processing strategies for different types of files, especially for low-frequency access files. The actual value of the file is determined by calculating the useless file report value, thereby providing users with more accurate file management suggestions. This method not only reduces the workload of users in manually screening files, but also effectively avoids the accidental deletion of important files. At the same time, by recording the number of times users refuse to delete files, the importance assessment of files is dynamically adjusted, making file management more humane and ensuring the security of key data.
[0070] (3) The present invention can implement a preloading strategy based on the differences in file access frequencies, effectively improving work efficiency. By analyzing the file access frequencies on working days and non-working days, the system can predict the user's file needs within a specific time period and load the files that may need to be accessed into the cache in advance, thereby reducing file opening delays and improving user experience. This forward-looking strategy is particularly suitable for large-scale data interaction scenarios in enterprise environments, and can significantly improve office efficiency while ensuring data security. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] The present invention will be further described below in conjunction with the accompanying drawings.
[0072] Figure 1 is a flow chart of a computer data management method based on the Internet according to an embodiment of the present invention;
[0073] Figure 2 It is a flow chart of obtaining high-frequency access and low-frequency access in a computer data management method based on the Internet according to an embodiment of the present invention;
[0074] Figure 3 It is a flow chart of obtaining the difference in access frequency between working days and non-working days in a computer data management method based on the Internet according to an embodiment of the present invention;
[0075] Figure 4 A flow chart of an Internet-based computer data management system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0076] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0077] Example 1
[0078] See also Figure 1As shown, the present invention is a computer data management method based on the Internet, comprising the following steps:
[0079] Monitor storage space, obtain device storage status, identify remaining space, and obtain remaining space value;
[0080] Based on the remaining space value, a remaining space normal signal and a remaining space abnormal signal are generated;
[0081] Based on the remaining space abnormality signal, deeply scan all files, read the metadata of all files, and build a temporary database;
[0082] Based on the temporary database, all file types on the device are obtained to form a collection of various types of files, which are recorded as a set of files of the same type;
[0083] The types of files include, but are not limited to, text files, image files, audio files, video files, compressed files, executable files, and database files;
[0084] Based on the same type of file sets, obtain the total number of accesses to each file set of the same type in the most recent time period;
[0085] The time period includes but is not limited to 1 month, 3 months or 6 months;
[0086] Based on the total number of accesses, the average access frequency in the same type of file set is obtained;
[0087] Based on the average access frequency, analyze the average access frequency of each file set of the same type to identify high-frequency access and low-frequency access files;
[0088] Generate useless file reports based on infrequently accessed files;
[0089] Based on the useless file report, it displays and provides deletion suggestions through a graphical user interface;
[0090] Based on the deletion suggestion, the user can choose to accept the deletion suggestion or keep the file;
[0091] If retained, the file will be exempted from cleanup during the preset review period;
[0092] At the end of the review cycle, the user's final decision is confirmed. If the user chooses to keep the file, the file will be permanently marked and will no longer participate in the subsequent cleanup process.
[0093] Based on the high-frequency access files, all types of high-frequency access files are integrated into a high-frequency file set;
[0094] Based on the high-frequency file set, extract each file access record in the high-frequency file set and subdivide it into working days and non-working days;
[0095] Based on working days and non-working days, obtain the access frequency of each file in a day and build a line chart;
[0096] Based on the line graph, the difference in file access frequency between working days and non-working days is evaluated, and a preloading strategy is implemented for files with significantly different access frequencies.
[0097] Example 2
[0098] Preset the inspection cycle, and run the storage space monitoring task when the preset time period is reached;
[0099] When the user manually triggers it through the operating system's storage optimization tool or related software, the system immediately starts the storage space monitoring task;
[0100] Among them, storage optimization tools or related software include but are not limited to memory optimization tools (Memory Optimizer), disk cleanup tools (Disk Cleanup), file compression tools (WinRAR), disk defragmentation tools (Disk Defragmentation and Optimization) and 360 Security Guard;
[0101] Based on the storage space monitoring task, scan and read the storage media of the device to obtain the total amount of used space allocated to files and systems on the device;
[0102] Obtain the total storage capacity of the device storage medium, calculate the difference between the total used space and the total storage capacity, and obtain the remaining space value;
[0103] The remaining space value is compared with the remaining space threshold. If the remaining space value is greater than or equal to the remaining space threshold, it means that the remaining space is sufficient, and a remaining space normal signal is generated;
[0104] If the remaining space value is less than the remaining space threshold, it means that the remaining space is insufficient and a remaining space exception signal is generated.
[0105] Example 3
[0106] See also Figure 2 As shown, based on the remaining space exception signal, the underlying file system access rights are used to recursively traverse all subdirectories and folders starting from the root directory;
[0107] Check the file list under each directory, and for each file, read its basic attributes, that is, the file metadata, including file name, full path, creation date, last modification date, last access date, file access count, file size, and file type;
[0108] Build a temporary database and store the collected metadata in the temporary database;
[0109] Based on the temporary database, the file types of all files are obtained, all files are classified according to the file types, and each type of file is integrated to obtain a set of files of the same type;
[0110] Based on the same type of file set, obtain the number of accesses to each file in the most recent time period, and obtain the total number of accesses to the same type of file set in the most recent time period through integration;
[0111] The average access frequency of the same type of file set is calculated by calculating the ratio of the total number of accesses to the same type of file set in the most recent period to the total number of files in the same type of file set.
[0112] Based on the average access frequency in the same type of file set, the average access frequency in the same type of file set is calculated with the access frequency (number of accesses) of each file in the same type of file set in the most recent time period to obtain the access frequency difference;
[0113] Compare the access frequency difference with the access frequency difference threshold. If the access frequency difference is less than or equal to the access frequency difference threshold, it means that the file has been frequently used recently, and it is classified as a high-frequency access file.
[0114] If the access frequency difference is greater than the access frequency difference threshold, it means that the file is only occasionally used or has never been used recently, and it is classified as a low-frequency access file;
[0115] Based on the low-frequency access files, the monitored low-frequency access files and their metadata are summarized to generate a useless file report;
[0116] The useless file report includes a file list and corresponding detailed information (including file name, last access time, creation date, and size). The file list is sorted from largest to smallest by file size.
[0117] The specific process is:
[0118] Obtain the file storage time of the low-frequency access file, calculate the ratio of the file storage time to the average storage time of the low-frequency access file, and obtain the file storage time ratio of the low-frequency access file, which is recorded as Dt;
[0119] The file storage time of the low-frequency access file is the time length between the file creation date and the current time;
[0120] Sum and average the time length values of all infrequently accessed files to obtain the average storage time of infrequently accessed files;
[0121] Obtain the data size of the low-frequency access file, calculate the ratio of the data size of the low-frequency access file to the average data size of the low-frequency access file, and obtain the file storage capacity ratio of the low-frequency access file, which is recorded as Dr;
[0122] The data sizes of all the low-frequency access files are summed and averaged to obtain the average data size of the low-frequency access files;
[0123] Get the last access time of the low-frequency access file in the device, get the time length between the last access time and the current time, and calculate the ratio of the obtained time length value to the file storage time of the low-frequency access file to obtain the file recent access time ratio of the low-frequency access file, and record it as Dj;
[0124] Obtain the total number of file accesses of the low-frequency access files, calculate the ratio of the total number of file accesses to the average number of file accesses of the low-frequency access files, and obtain the file access ratio of the low-frequency access files, which is recorded as Ds;
[0125] The total number of file accesses of all low-frequency access files is summed up and averaged to obtain the mean number of accesses of low-frequency access files;
[0126] By formula Calculate the useless file report value Di of the low-frequency access file, where d1, d2, d3, and d4 are preset proportional coefficients, and Dn is the number of times the user refuses to delete. Each time the user refuses to delete, Dn automatically increases by 1. dn is the user's preset threshold for refusing to delete. When Dn is equal to dn, the file will be permanently marked. The permanently marked file will never be included in the cleaning process.
[0127] Sort all low-frequency access files from large to small according to the useless file report value Di, display the report to the user through a graphical user interface, and provide a deletion suggestion for each file. The user views the detailed information of each file one by one through the graphical user interface and chooses whether to accept the deletion suggestion;
[0128] If the user chooses to agree to the deletion, the infrequently accessed file will be deleted from the device's storage medium;
[0129] If the user chooses to keep the low-frequency access file, each time the user refuses to delete it, Dn will automatically increase by 1, and the useless file report value of the corresponding low-frequency access file will be recalculated, and the order in which the GUI displays the report to the user will be adjusted;
[0130] It should be noted that: when the number of times a low-frequency access file is refused to be deleted by the user is equal to the user's preset deletion refusal threshold, the low-frequency access file will be recorded as a file in a non-active deletion state and marked as non-deletable. The low-frequency access file marked as non-deletable will not be included in the cleaning process.
[0131] It should be noted that: through the formula for obtaining the useless file report value of the low-frequency access file, it can be known that the longer the file storage time of the low-frequency access file is, the lower the availability of the low-frequency access file in the current state of the user is, and the low-frequency access file can be defaulted as a zombie file to a certain extent, that is, the longer the file storage time of the low-frequency access file is, the larger the useless file report value of the low-frequency access file is;
[0132] The larger the data size of the low-frequency access file is, the larger the memory occupied by the low-frequency access file in the device is, which can affect the running smoothness of the device to a certain extent. That is, the larger the file data of the low-frequency access file is, the larger the useless file report value of the low-frequency access file is.
[0133] The closer the last access time of a low-frequency access file in the device is to the current time, the higher the availability of the low-frequency access file in the current state of the user. The low-frequency access file can be set as the user's required file by default to a certain extent. That is, the closer the last access time of a low-frequency access file in the device is to the current time, the smaller the useless file report value of the low-frequency access file is.
[0134] The greater the total number of file accesses of a low-frequency access file, the more frequently the low-frequency access file is used by the user. To a certain extent, the low-frequency access file can be defaulted as the file required by the user. That is, the greater the total number of file accesses of a low-frequency access file, the smaller the useless file report value of the low-frequency access file is.
[0135] When the number of times a low-frequency access file is refused to be deleted by the user is equal to the user's rejection deletion threshold preset by the device, it means that the useless file report value of the low-frequency access file is the smallest. At the same time, the low-frequency access file is recorded as a file in a non-active deletion state and marked as non-deletable.
[0136] Example 4
[0137] Please refer to Figure 3 As shown, based on the frequently accessed files, all types of frequently accessed files are integrated into a frequently accessed file set;
[0138] Based on the high-frequency file set, extract each file access record in the high-frequency file set, including the access timestamp, and classify the file access records by date, subdividing them into working days and non-working days;
[0139] Based on the information of working days and non-working days, the time period is divided into days, and the number of accesses to each file in a day is obtained, which is recorded as the access frequency of each file;
[0140] Based on the access frequency of each file, the access frequency of a single file on a daily basis is integrated to form a time series data set of a single file;
[0141] Based on the time series data set of a single file, a line graph is constructed with date as the horizontal axis and access frequency as the vertical axis to show the access frequency distribution on working days and non-working days respectively;
[0142] Statistical tests were performed to evaluate the difference in file access frequency between working days and non-working days, specifically:
[0143] Based on the line graph, the file access frequency is divided into the access frequency of files on weekdays and the access frequency of files on non-workdays;
[0144] Based on the access frequency of files on working days and the access frequency of files on non-working days, the access frequency of files on working days is integrated into a working day data set, and the access frequency of files on non-working days is integrated into a non-working day data set;
[0145] Based on the working day data set and the non-working day data set, the average access frequency PJ1 of working day files and the average access frequency PJ2 of non-working day files are obtained respectively by the mean calculation formula;
[0146] Based on the workday data set and the average access frequency PJ1 of workday files, the variance FC1 of workday file access frequency is obtained through the variance calculation formula;
[0147] Based on the non-working day data set and the average access frequency PJ2 of non-working day files, the variance FC2 of the non-working day file access frequency is obtained through the variance calculation formula;
[0148] By formula The statistic t of the difference between working days and non-working days is calculated, where N1 and N2 are the number of files on working days and non-working days respectively;
[0149] By formula Calculate the degree of freedom value df of the difference between working days and non-working days;
[0150] Based on the statistic t and the degree of freedom value df, the formula The difference value P between working days and non-working days is calculated, where is the cumulative distribution function of the t distribution, evaluated to the value of t with df degrees of freedom;
[0151] Compare the difference value P with the difference value threshold. If the difference value P is greater than or equal to the difference value threshold, it means that there is no significant difference in the access frequency of the file on working days and non-working days, and it is recorded as a file with no significant difference;
[0152] If the difference value P is less than the difference value threshold, it means that the access frequency of the file on working days and non-working days is significantly different, and it is recorded as a file with significant differences;
[0153] Based on the files with obvious differences, each file with obvious differences is classified to distinguish between working day files and non-working day files;
[0154] On weekdays, preload workday files into the cache to reduce disk I / O requests and improve response time;
[0155] The preloading process is as follows:
[0156] Based on the workday file, traverse all file paths that need to be preloaded;
[0157] Based on the working day, a cache structure is constructed through a hash table, the content of each working day file is opened and read, and the key-value pairs of the working day file are stored in the cache structure;
[0158] The key-value pair of the work file is the correspondence between the path of the workday file and the content of the workday file, with the content of the workday file as the value and the full path of the workday file as the key;
[0159] It should be noted that by analyzing whether there is a difference in the access frequency of files on weekdays and non-working days, the load balance of the file server can be optimized. That is, by preloading commonly used files, the file loading speed during peak hours on weekdays can be optimized, thereby improving user satisfaction and work efficiency.
[0160] Example 5
[0161] Please refer to Figure 4 As shown, the present invention is a computer data management system based on the Internet, comprising: a resource monitoring module, a file classification module, an interface design module and an intelligent storage strategy module;
[0162] The storage resource monitoring module is used to start the storage space monitoring task regularly or on demand, count the storage status of the device, identify the remaining space situation, and obtain the remaining space value;
[0163] Based on the remaining space value, a remaining space normal signal and a remaining space abnormal signal are generated;
[0164] The file classification module deeply scans all files based on the remaining space abnormality signal, reads the metadata of all files, and builds a temporary database;
[0165] Based on the temporary database, all file types on the device are obtained to form a collection of various types of files, which are recorded as a set of files of the same type;
[0166] Based on the same type of file sets, obtain the total number of accesses to each file set of the same type in the most recent time period;
[0167] Based on the total number of accesses, the average access frequency in the same type of file set is obtained;
[0168] Based on the average access frequency, analyze the average access frequency of each file set of the same type to identify high-frequency access and low-frequency access files;
[0169] The interface design module generates useless file reports based on the files that are accessed less frequently;
[0170] Based on the useless file report, it displays and provides deletion suggestions through a graphical user interface;
[0171] Based on the deletion suggestion, the user can choose to accept the deletion suggestion or keep the file;
[0172] If retained, the file will be exempted from cleanup during the preset review period;
[0173] At the end of the review cycle, the user's final decision is confirmed. If the user chooses to keep the file, the file will be permanently marked and will no longer participate in the subsequent cleanup process.
[0174] The intelligent storage strategy module integrates all types of frequently accessed files into a frequently accessed file set based on frequently accessed files;
[0175] Based on the high-frequency file set, extract each file access record in the high-frequency file set and subdivide it into working days and non-working days;
[0176] Based on working days and non-working days, obtain the access frequency of each file in a day and build a line chart;
[0177] Based on the line graph, the difference in file access frequency between working days and non-working days is evaluated, and a preloading strategy is implemented for files with significantly different access frequencies.
[0178] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A computer data management method based on the Internet, It is characterized in that Monitor storage space, obtain device storage status, and generate normal remaining space signal and abnormal remaining space signal; Based on the remaining space abnormality signal, all files are deeply scanned and a temporary database is built; Based on the temporary database, obtain all file types on the device and get a set of files of the same type; Analyze the average access frequency of each set of files of the same type and identify high-frequency access files and low-frequency access files; Based on the low-frequency access files, the file status data of the low-frequency access files are obtained, the useless file report value of the low-frequency access files is obtained, the useless file report is generated, and the useless file report is displayed through a graphical user interface and deletion suggestions are provided; The file status data of the low-frequency access files include the file storage time ratio of the low-frequency access files, the file storage capacity ratio of the low-frequency access files, the file recent access time ratio of the low-frequency access files, the file access number ratio of the low-frequency access files, and the number of times the low-frequency access files are refused to be deleted by users; Based on the frequently accessed files, a frequently accessed file set is obtained; Based on the high-frequency file set, we get working days and non-working days, obtain the access frequency of each file in a day, and build a line chart; Based on the line graph, analyze the difference in file access frequency between working days and non-working days, and implement a preloading strategy; The process of obtaining the useless file report value Di of the low-frequency access file is as follows: The file storage time ratio of the low-frequency access file is denoted as Dt; The file storage capacity ratio of the low-frequency access files is denoted as Dr; The file recent access time ratio of the low-frequency access file is recorded as Dj; The file access ratio of the low-frequency access files is recorded as Ds; By formula The useless file report value Di of the low-frequency access file is calculated, where d1, d2, d3, and d4 are all preset proportional coefficients, Dn is the number of times the user refuses to delete, and dn is the user refusal to delete threshold preset by the device.
2. A computer data management method based on the Internet according to claim 1, It is characterized in that The process of generating the remaining space normal signal and the remaining space abnormal signal is as follows: Preset the inspection cycle, and run the storage space monitoring task when the preset time period is reached; When the user manually triggers it through the storage optimization tool of the operating system or related software, the storage space monitoring task is immediately started; Based on the storage space monitoring task, the total used space of the device storage medium is obtained, and the difference between the total used space and the total storage capacity is calculated to obtain the remaining space value; Compare the remaining space value with the remaining space threshold; If the remaining space value is greater than or equal to the remaining space threshold, a remaining space normal signal is generated; If the remaining space value is less than the remaining space threshold, a remaining space exception signal is generated.
3. The method for managing computer data based on the Internet according to claim 1, It is characterized in that The specific process of identifying high-frequency access and low-frequency access files is as follows: Based on the same type of file set, obtain the number of accesses to each file in the most recent time period, and obtain the total number of accesses to the same type of file set in the most recent time period through integration; The average access frequency of the same type of file set is calculated by calculating the ratio of the total number of accesses to the same type of file set in the most recent period to the total number of files in the same type of file set; Based on the average access frequency in the same type of file set, the average access frequency in the same type of file set and the number of accesses to each file in the same type of file set in the most recent time period are calculated to obtain the access frequency difference; comparing the access frequency difference with an access frequency difference threshold; If the access frequency difference is less than or equal to the access frequency difference threshold, it is classified as a high-frequency access file; If the access frequency difference is greater than the access frequency difference threshold, it is classified as a low-frequency access file.
4. The method for managing computer data based on the Internet according to claim 1, It is characterized in that The process of generating a useless file report is: All low-frequency access files are sorted from large to small according to the useless file report value Di, and the report is displayed to the user through a graphical user interface. A deletion suggestion is provided for each file. The user views the detailed information of each file one by one through the graphical user interface and chooses whether to accept the deletion suggestion.
5. A computer data management method based on the Internet according to claim 4, It is characterized in that The specific process of confirming the user's final decision and permanently marking the files that no longer need to be cleaned is as follows: If the user chooses to agree to the deletion, the infrequently accessed file will be deleted from the device's storage medium; If the user chooses to keep the low-frequency access file, each time the user refuses to delete it, Dn will automatically increase by 1, and the useless file report value of the corresponding low-frequency access file will be recalculated, and the order in which the GUI displays the report to the user will be adjusted; When the number of times that a low-frequency access file is rejected for deletion by a user is equal to a user rejection deletion threshold preset by the device, the low-frequency access file is recorded as a file in a non-active deletion state and is marked as non-deletable.
6. The method for managing computer data based on the Internet according to claim 1, It is characterized in that The specific process of constructing a line chart is: Based on working days and non-working days, the time period is divided into days to obtain the access frequency of each high-frequency access file in a day; Integrate the access frequency of a single high-frequency access file on a daily basis to form a time series data set; Based on the time series data set, a line graph is constructed with date as the horizontal axis and access frequency as the vertical axis to show the access frequency distribution of high-frequency access files on working days and non-working days respectively.
7. A computer data management method based on the Internet according to claim 6, It is characterized in that The specific process of evaluating the difference in file access frequency between working days and non-working days is as follows: Based on the line graph, the file access frequency is divided into the access frequency of working day files and the access frequency of non-working day files, and the working day data set and the non-working day data set are obtained; Based on the workday data set, the average access frequency and variance of workday files are obtained; Based on the non-working day data set, the average access frequency and variance of non-working day files are obtained; Based on the average access frequency and variance of files on working days and the average access frequency and variance of files on non-working days, the difference value between working days and non-working days is obtained; comparing the difference value between the working day and the non-working day with a difference value threshold; If the difference value is greater than or equal to the difference value threshold, it is recorded as a file with no obvious difference; If the difference value is less than the difference value threshold, it is recorded as a file with significant difference.
8. The method for managing computer data based on the Internet according to claim 7, It is characterized in that The specific process of implementing the preloading strategy is: Based on the files with obvious differences, the files for working days and the files for non-working days are obtained; Based on the weekday, preload the weekday files into the cache.
9. A computer data management system based on the Internet, It is characterized in that It includes storage resource monitoring module, file classification module, interface design module and intelligent storage strategy module; The storage resource monitoring module monitors the storage space, obtains the device storage status, and generates a normal remaining space signal and an abnormal remaining space signal; The file classification module deeply scans all files and builds a temporary database based on the remaining space abnormality signal; Based on the temporary database, obtain all file types on the device and get a set of files of the same type; Analyze the average access frequency of each set of files of the same type and identify high-frequency access files and low-frequency access files; The interface design module obtains the file status data of the low-frequency access files based on the low-frequency access files, obtains the useless file report value of the low-frequency access files, generates the useless file report, displays it through the graphical user interface and provides deletion suggestions; The file status data of the low-frequency access files include the file storage time ratio of the low-frequency access files, the file storage capacity ratio of the low-frequency access files, the file recent access time ratio of the low-frequency access files, the file access number ratio of the low-frequency access files, and the number of times the low-frequency access files are refused to be deleted by users; The intelligent storage strategy module obtains the access frequency of each file in a day based on the high-frequency access files, obtains working days and non-working days, and constructs a line chart; Based on the line graph, analyze the difference in file access frequency between working days and non-working days, and implement a preloading strategy; The process of obtaining the useless file report value Di of the low-frequency access file is as follows: The file storage time ratio of the low-frequency access file is denoted as Dt; The file storage capacity ratio of the low-frequency access files is denoted as Dr; The file recent access time ratio of the low-frequency access file is recorded as Dj; The file access ratio of the low-frequency access files is recorded as Ds; By formula The useless file report value Di of the low-frequency access file is calculated, where d1, d2, d3, and d4 are all preset proportional coefficients, Dn is the number of times the user refuses to delete, and dn is the user refusal to delete threshold preset by the device.
