Computer resource management system and method based on big data
By classifying and analyzing computer files, identifying and processing irrelevant or duplicate files, the problem of wasted storage space in the computer resource management system is solved and the utilization of storage space is improved.
Patent Information
- Application Number
- CN202410870166.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Computer resource management systems have difficulty identifying and processing redundant or worthless files, resulting in wasted storage space.
Computer files are classified through the file resource acquisition unit. Compressed resources and non-compressed resources are respectively transferred to the analysis unit for analysis to determine the relevance and storage location of the files, identify and delete irrelevant or duplicate files, and optimize storage strategies.
It improves storage space utilization, realizes reasonable storage and management of file resources, and reduces storage space waste.
Smart Images

Figure CN118410023B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer resource management, and in particular to a computer resource management system and method based on big data. Background Art
[0002] Computer resource management system usually refers to the operating system (OS), which is the core software in the computer system and is responsible for managing and controlling various hardware resources of the computer, such as processor, memory, hard disk, network, etc., to provide efficient and reliable computer services.
[0003] According to Chinese patent application number CN202310027718.9, a computer resource management system and method based on big data are disclosed, including: a database, a data acquisition module, a data analysis module, a data storage module, a data usage module and a data display module; file information stored in the database and user information sending files; the data acquisition module collects the saving information and deletion records of files in the database; the data analysis module classifies and compresses according to file feature values, analyzes file types and selectively stores them; the data storage module stores the analyzed data and performs regular cleaning; the data usage module obtains the received file information, analyzes user relevance and file type, and selectively stores it in the data storage module according to the file size; the data display module displays the file saving location and file saving time, improves file management efficiency, and reduces memory resources of the storage device.
[0004] The above patent performs appropriate file storage by classifying files and analyzing file sizes. However, the files stored in computers are diverse, and computers cannot identify redundant or worthless files well, which further makes it inconvenient for operators to perform reasonable file storage management. At the same time, redundant files will occupy the overall storage space, resulting in a waste of storage space. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention provides a computer resource management system and method based on big data, which solves the problem that computers cannot well identify worthless files and the storage of redundant files will occupy the overall storage space, causing a waste of resources.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a computer resource management system based on big data, including: a file resource acquisition unit, which is a functional unit used to acquire all file resources existing in the computer, and classify the acquired file resources into compressed resources and uncompressed resources according to whether there is compression, and at the same time transmit the compressed resources to the compressed resource analysis unit, and transmit the uncompressed resources to the uncompressed resource analysis unit.
[0007] The compression resource analysis unit is used to analyze the obtained compression resources, and the specific analysis method is as follows:
[0008] Get all compressed resources, and label them as a, where a=1, 2, ..., n. Here, the compressed file resources are numbered according to the corresponding generation time. Specifically, the ones closer to the current time are numbered with smaller numbers, and so on. At the same time, the compressed resources are classified into compressed package resources and non-compressed package resources, and the compressed package resources are labeled as a1, and the non-compressed package resources are labeled as a2;
[0009] The non-compressed package resources in the compressed resources are labeled as a1, and the usage of the corresponding software of the non-compressed package resources in the time period t1 is obtained. When the corresponding software is used, a correlation analysis signal is generated, otherwise, when the corresponding software is not used, a deletion signal is generated;
[0010] The analysis of the correlation analysis signal is: judging by combining the impact of non-compressed package resources and corresponding software, when deleting non-compressed package resources will have an impact on the corresponding software, the corresponding non-compressed package will be marked as affecting the non-compressed package, and a storage signal will be generated at the same time; conversely, when deleting non-compressed package resources will not affect the corresponding software, a deletion signal will be generated.
[0011] The compressed package resource in the compressed resources is labeled as a1, the generation method of the compressed package resource a2 is obtained, and the compressed package resource a2 is classified according to the generation method to obtain a download compressed package and a self-compressed compressed package. Then, the download compressed package and the self-compressed compressed package are traced and analyzed to determine whether there are corresponding decompressed files for the two. If so, the corresponding download compressed package and self-compressed compressed package are deleted and a deletion signal is generated. Otherwise, if there is no corresponding decompressed file, a storage signal is generated.
[0012] The specific method of the uncompressed resource analysis unit analyzing the standard non-compressed resources in the uncompressed resources is as follows:
[0013] The standard non-compressed resource in the uncompressed resource is denoted as b1, and the same type of classification processing is performed according to the corresponding computer format. The analysis is performed with any type of computer format as the target to determine whether there is corresponding application software for the standard non-compressed resource b1 in the target type. If there is a corresponding application software, a storage signal is generated. Otherwise, if there is no corresponding application software, a deletion signal is generated.
[0014] The specific method in which the uncompressed resource analysis unit analyzes alternative non-compressed resources in uncompressed resources is as follows:
[0015] The alternative non-compressed resources in the uncompressed resources are denoted as b2, the corresponding application software is obtained, and the probability of the application software generating alternative non-compressed resources within the time period t2 is obtained, and the probabilities are judged and compared at the same time. When the generation probability is 100%, a deletion signal is generated. Otherwise, when the generation probability is not 100%, a signal to be analyzed is generated. The correlation between the alternative non-compressed resources and the application software is further judged. When the two are correlated, a storage signal is generated. Otherwise, when the two are not correlated, a deletion signal is generated.
[0016] The specific method in which the file storage analysis unit analyzes the file resource corresponding to the acquired storage signal is as follows:
[0017] Obtain the file resources corresponding to all storage signals, and classify the file resources into the same type according to the computer format of the file resources, and then analyze any computer format of the same type to determine whether the storage locations of the file resources in the same type are the same. If they are the same, generate the same storage signal, otherwise generate a different storage signal;
[0018] For the generated differential storage signal, all storage locations are obtained, and the storage capacity of file resources corresponding to the storage locations is analyzed, and the storage location with the largest storage capacity of file resources is obtained as the storage location to be stored. At the same time, duplicate files in the storage location to be stored are identified, and the file resources with the most recent generation time are retained, and the remaining duplicate files are deleted to generate management information;
[0019] For the same storage signal generated, duplicate files in the storage location are identified, and the file resources with the most recent generation time are retained, and the remaining duplicate files are deleted to generate management information.
[0020] The management information output unit is used to display the acquired management information and deletion information to the operator.
[0021] The present invention provides a computer resource management system and method based on big data. Compared with the prior art, it has the following beneficial effects:
[0022] The present invention classifies computer files, performs storage analysis based on different files obtained by classification, and determines the relevance of compressed resources to identify whether deletion processing is required. The present invention also classifies non-compressed resources and performs reasonable deletion analysis based on the status of the non-compressed resources themselves. The present invention further analyzes files that need to be stored, analyzes the computer format and storage location of file resources, and identifies and deletes duplicate files, thereby achieving reasonable storage of file resources and improving the utilization rate of the overall storage space. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is the principle diagram of the system of the present invention;
[0024] Figure 2 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0025] 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.
[0026] For example, see Figure 1 , this application provides a computer resource management system based on big data, including:
[0027] The file resource acquisition unit is a functional unit used to acquire all file resources existing in the computer, and classify the acquired file resources into compressed resources and uncompressed resources according to whether they are compressed, and transmit the compressed resources to the compressed resource analysis unit and the uncompressed resources to the uncompressed resource analysis unit.
[0028] The compression resource analysis unit is used to analyze the obtained compression resources, and the specific analysis method is as follows:
[0029] Get all compressed resources, and label them as a, where a=1, 2, ..., n. Here, the compressed file resources are numbered according to the corresponding generation time. Specifically, the ones closer to the current time are numbered with smaller numbers, and so on. At the same time, the compressed resources are classified into compressed package resources and non-compressed package resources, and the compressed package resources are labeled as a1, and the non-compressed package resources are labeled as a2;
[0030] For non-compressed package resources a2, we first investigate in detail which software used these non-compressed packages within a specific time period t1. For example, suppose there is a non-compressed package resource a2 containing multiple files, which are frequently used by a certain image editing software within the time period t1. In this case, a correlation analysis signal will be generated, indicating that there is a usage correlation between the non-compressed package and the image editing software.
[0031] Then, the specific impact of this correlation is analyzed in depth. If it is found through analysis that deleting the non-compressed package resource will cause the image editing software to not run normally, for example, the files contained in the non-compressed package are key materials or configuration files for the software to run, then the non-compressed package is marked as "affecting non-compressed package" and a storage signal is generated to prompt the system to retain the non-compressed package to avoid negative impact on the software.
[0032] On the contrary, if it is found that even if a non-compressed package resource is deleted, the corresponding software can run normally without any impact, then a deletion signal will be generated. For example, there may be a non-compressed package resource that has not been used by any software within the time period t1, or the files in it are irrelevant to the operation of the existing software, then this non-compressed package can be regarded as a useless resource and can be safely deleted to free up system storage space.
[0033] At the same time, the storage signal is transmitted to the file storage analysis unit, and the deletion signal is transmitted to the resource management output unit.
[0034] For the compressed package resource a2, the generation method of the compressed package resource a2 is obtained, and the compressed package resource a2 is classified according to the generation method to obtain a download compressed package and a self-compressed compressed package. The download compressed package here indicates that the operator downloaded it from somewhere else, while the self-compressed compressed package indicates that it is manually compressed. Then, the download compressed package and the self-compressed compressed package are traced and analyzed to determine whether there are corresponding decompressed files for the two. If so, the corresponding download compressed package and self-compressed compressed package are deleted and a deletion signal is generated. Otherwise, if there is no corresponding decompressed file, a storage signal is generated.
[0035] Specifically for compressed package resources a2, we first determine how these resources are generated. Through analysis, we divide compressed package resources a2 into two categories: download compressed packages and self-compressed compressed packages. Download compressed packages refer to files downloaded by operators from the Internet or other sources, while self-compressed compressed packages are created by users or systems themselves.
[0036] The uncompressed resource analysis unit is used to analyze and process the obtained uncompressed resources, and the specific processing method is as follows:
[0037] Obtain all uncompressed resources and label them according to the generation time as b, where b=1, 2, ..., m, then obtain the computer format corresponding to the uncompressed resources, and classify the uncompressed resources into standard uncompressed resources b1 and alternative uncompressed resources b2 according to the computer format that can be opened by the computer;
[0038] Specifically, the computer formats corresponding to these uncompressed resources are then obtained. The "computer format" here refers to the format of the file, such as text files, image files, audio files, etc. These formats determine how the files are recognized and processed on the computer. Depending on whether these file formats can be directly opened and supported by the computer, uncompressed resources are divided into two categories: standard non-compressed resources b1 and alternative non-compressed resources b2. Standard non-compressed resources b1 refer to those resources whose formats are generally supported by computers and can be opened directly, such as common text files, image files, etc. Alternative non-compressed resources b2 may include some special or uncommon formats that may require specific software or tools to open.
[0039] For the standard non-compressed resources b1, we will conduct detailed classification of the same type according to the computer format corresponding to each resource. For example, all text file formats (such as .txt, docx) are classified into one category, all image file formats (such as .jpg, png) are classified into another category, and so on. This classification method helps us analyze and manage resources more accurately.
[0040] After the classification is completed, any type of computer format will be selected as the target, and the standard non-compressed resources b1 in this type will be analyzed in depth. The main purpose of the analysis is to determine whether there is corresponding application software for these resources. Application software refers to programs that can open, edit or otherwise process files in a specific format.
[0041] If there is a corresponding application software, it means that the resource can be effectively used by the computer, so a storage signal is generated. If there is no corresponding application software, it may indicate that the resource cannot be used by the user or application of the current system. In this case, a deletion signal is generated.
[0042] Specifically, for alternative non-compressed resources b2, the corresponding application software required for these resources will be identified first, and then the probability of these application software generating alternative non-compressed resources within the time period t2 will be evaluated. This probability evaluation is based on the analysis of the software's usage frequency and the behavior pattern of generating compressed files. For example, if an application software frequently creates alternative non-compressed resources within the time period t2, then its generation probability will be close to 100%;
[0043] If it is determined that the probability of a certain application software generating alternative non-compressed resources within the time period t2 is 100%, it means that these resources are likely to be byproducts of the normal operation of the software, and therefore a deletion signal will be generated.
[0044] If the generation probability is not 100%, it means that the resource generation situation is more complicated, and a signal to be analyzed will be generated. This signal prompts that the correlation between the alternative non-compressed resources and the application software needs to be further explored. If the analysis confirms that there is a necessary correlation between the two, such as the application software needs these resources to complete certain functions, then a storage signal will be generated to reserve these resources.
[0045] Then the generated deletion signal is transmitted to the resource management output unit, and the generated storage signal is transmitted to the file storage analysis unit.
[0046] The file storage analysis unit analyzes the acquired storage signal, and the specific analysis method is as follows:
[0047] Obtain the file resources corresponding to all storage signals, and classify the file resources into the same type according to the computer format of the file resources, and then analyze any computer format of the same type to determine whether the storage locations of the file resources in the same type are the same. If they are the same, generate the same storage signal, otherwise generate a different storage signal;
[0048] After obtaining the file resources corresponding to all storage signals, the first step is to classify the same type of file resources according to the computer format. This step is fundamental because different types of files usually have different characteristics and application requirements. For example, all document files (such as docx, pdf) are classified into one category, all image files (such as jpg, png) are classified into another category, and so on.
[0049] If it is found that the file resources of a certain type are stored in the same location, a same storage signal is generated, which indicates that the file resources of this type have a unified storage strategy, which may facilitate management and access.
[0050] On the contrary, if the storage locations of file resources are different, a differential storage signal will be generated. This signal reminds us that this type of file resources are scattered in different locations and may need further sorting or optimization of storage strategies to improve the efficiency of file management.
[0051] For the generated differential storage signals, all different storage locations are first collected and the file resource storage amounts corresponding to these locations are analyzed in detail. This step is to determine which storage location has the largest file resources, thereby identifying the locations to be stored - that is, those places with the largest number of file resources.
[0052] After determining the storage location, the next step is to identify duplicate files. Duplicate files not only waste valuable storage space, but can also cause confusion in data management. In order to efficiently handle these problem files, the most recent file resources are retained. The reason for this is that newer files are more likely to contain the latest data or revisions, while older versions of files may no longer be needed.
[0053] For the same storage signal generated, duplicate files in the storage location are identified, and the file resources with the most recent generation time are retained, and the remaining duplicate files are deleted to generate management information.
[0054] The generated management information is transmitted to the resource management output unit.
[0055] Resource management output unit, this functional unit is used to display the acquired management information and deletion information to the operator.
[0056] For example 2, please refer to Figure 2 , a computer resource management method based on big data, the method specifically comprises the following steps:
[0057] Step 1: Classify all file resources according to whether they are compressed or not to obtain compressed resources and uncompressed resources;
[0058] Step 2: Classify the compressed resources to obtain compressed package resources and non-compressed package resources, and generate storage signals and deletion signals by analyzing the software relevance of the non-compressed package resources;
[0059] Step 3: Determine the generation method of the compressed package resources, and perform source tracing analysis to generate deletion signals and storage signals;
[0060] Step 4: Analyze and classify the computer formats of the non-compressed resources to obtain standard non-compressed resources and alternative non-compressed resources;
[0061] Step 5: Determine the application software corresponding to the standard non-compressed resources to generate a storage signal and a deletion signal, and determine the generation probability of the application software of the alternative non-compressed resources to generate a storage signal and a deletion signal;
[0062] Step 6: Based on the file resource corresponding to the storage signal, generate management information by analyzing the storage location of the same type of file resources.
[0063] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0064] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A computer resource management system based on big data, characterized in that: include: A file resource acquisition unit, used to acquire file resources of a computer, classify the file resources into compressed resources and uncompressed resources, and transmit the compressed resources to the compressed resource analysis unit, and transmit the uncompressed resources to the uncompressed resource analysis unit; The compressed resource analysis unit is used to classify the obtained compressed resources to obtain compressed package resources and non-compressed package resources, and generate storage signals and deletion signals by analyzing the software association of non-compressed package resources, judge the generation method of compressed package resources, and perform source tracing analysis to generate deletion signals and storage signals, and transmit the storage signal to the file storage analysis unit. The specific method of the compressed resource analysis unit to analyze the compressed package resources is: The compressed package resource in the compressed resource is labeled as a1, the generation method of the compressed package resource a2 is obtained, and the compressed package resource a2 is classified according to the generation method to obtain a download compressed package and a self-compressed compressed package, and then the download compressed package and the self-compressed compressed package are traced and analyzed to determine whether there are corresponding decompressed files for the two. If so, the corresponding download compressed package and the self-compressed compressed package are deleted and a deletion signal is generated. Otherwise, if there is no corresponding decompressed file, a storage signal is generated; The uncompressed resource analysis unit analyzes and classifies the computer format of the uncompressed resources to obtain standard uncompressed resources and alternative uncompressed resources, determines the application software corresponding to the standard uncompressed resources to generate storage signals and deletion signals, determines the generation probability of the application software of the alternative uncompressed resources to generate storage signals and deletion signals, and transmits the storage signal to the file storage analysis unit, and transmits the deletion signal to the management information output unit. The specific method in which the uncompressed resource analysis unit analyzes the alternative uncompressed resources in the uncompressed resources is as follows: The alternative non-compressed resource in the uncompressed resource is recorded as b2, the corresponding application software is obtained, and the probability of the application software generating the alternative non-compressed resource within the time period t2 is obtained, and the probability is judged and compared at the same time. When the generation probability is 100%, a deletion signal is generated. On the contrary, when the generation probability is not 100%, a signal to be analyzed is generated, and the correlation between the alternative non-compressed resource and the application software is further judged. When the two are correlated, a storage signal is generated. On the contrary, when the two are not correlated, a deletion signal is generated; The file storage analysis unit generates management information by analyzing the storage locations of the same type of file resources according to the file resources corresponding to the storage signal, and transmits the management information to the management information output unit; The management information output unit is used to display the acquired management information and deletion information to the operator.
2. The computer resource management system based on big data according to claim 1, characterized in that: The specific method in which the compressed resource analysis unit analyzes the non-compressed package resources is as follows: The non-compressed package resources in the compressed resources are labeled as a1, and the usage of the corresponding software of the non-compressed package resources in the time period t1 is obtained. When the corresponding software is used, a correlation analysis signal is generated, otherwise, when the corresponding software is not used, a deletion signal is generated; The analysis of the correlation analysis signal is: judging by combining the impact of non-compressed package resources and corresponding software, when deleting non-compressed package resources will have an impact on the corresponding software, the corresponding non-compressed package will be marked as affecting the non-compressed package, and a storage signal will be generated at the same time; conversely, when deleting non-compressed package resources will not affect the corresponding software, a deletion signal will be generated.
3. The computer resource management system based on big data according to claim 1, characterized in that: The specific manner in which the uncompressed resource analysis unit analyzes the standard non-compressed resources in the uncompressed resources is as follows: The standard non-compressed resource in the uncompressed resource is denoted as b1, and the same type of classification processing is performed according to the corresponding computer format. The analysis is performed with any type of computer format as the target to determine whether there is corresponding application software for the standard non-compressed resource b1 in the target type. If there is a corresponding application software, a storage signal is generated. Otherwise, if there is no corresponding application software, a deletion signal is generated.
4. The computer resource management system based on big data according to claim 1, characterized in that: The specific manner in which the file storage analysis unit analyzes the file resource corresponding to the acquired storage signal is: Obtain the file resources corresponding to all storage signals, and classify the file resources into the same type according to the computer format of the file resources, and then analyze any computer format of the same type to determine whether the storage locations of the file resources in the same type are the same. If they are the same, generate the same storage signal, otherwise generate a different storage signal; For the generated differential storage signal, all storage locations are obtained, and the storage capacity of file resources corresponding to the storage locations is analyzed, and the storage location with the largest storage capacity of file resources is obtained as the storage location to be stored. At the same time, duplicate files in the storage location to be stored are identified, and the file resources with the most recent generation time are retained, and the remaining duplicate files are deleted to generate management information; For the same storage signal generated, duplicate files in the storage location are identified, and the file resources with the most recent generation time are retained, and the remaining duplicate files are deleted to generate management information.
