Storage recommendation method for computer information
By setting the autonomous storage mode and intelligent storage mode in the computer, combining the storage type determination strategy and the storage interval calculation strategy, the timeliness of temporary folders in the process of storing files is solved, and file management efficiency and user experience are improved.
Patent Information
- Application Number
- CN202411789882.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-28
AI Technical Summary
In engineering modeling, the timeliness of temporary folders in the process of storing files has not been effectively solved, resulting in the inability of automated management tools to distinguish the timeliness of temporary folders, resulting in inefficiency in resource occupation and file management.
It provides a storage recommendation method for computer information. By setting the autonomous storage mode and intelligent storage mode in the computer, the intelligent storage mode automatically recognizes the unity of file types in the folder, and speculates the purpose of users operating folders through the storage type determination strategy and the storage interval calculation strategy, and provides better storage services.
This method effectively solves the problem of temporary folder timeliness, improves the efficiency and user experience of file management, reduces users' energy investment in file storage, and provides a more reasonable resource occupancy strategy.
Smart Images

Figure CN119719024A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer information storage, and in particular to a storage recommendation method for computer information. Background Art
[0002] In engineering modeling, storing different types of materials in different material libraries is an effective management strategy that supports efficient organization and retrieval of projects. Among them, the material library is classified according to the type of stored files, and then the automated management tool is used to automatically perform classification and storage tasks using scripts or software, reducing human errors and saving time.
[0003] However, in actual production, if the current task requires frequent downloading of materials, and the current task has little relevance to other tasks, the user will create a temporary folder to store the materials of the current task to ensure that only the files required for the current task exist in the working environment, thereby reducing unnecessary resource usage; while the automated management tool will use the temporary folder as a newly created folder for long-term storage of materials, without considering the timeliness of the temporary folder;
[0004] In summary, there is an urgent need for a storage recommendation method for computer information to solve the timeliness problem of temporary folders in the process of storing files, and to infer the purpose of users operating temporary folders based on the user's file operation behavior, so as to provide users with better services. Summary of the invention
[0005] The present invention provides a storage recommendation method for computer information, which is used to promote solving the problems mentioned in the above background technology.
[0006] The present invention provides the following technical solution: a storage recommendation method for computer information, comprising:
[0007] Two modes for storing downloaded files are set in the computer, which are respectively referred to as autonomous storage mode and intelligent storage mode;
[0008] In the autonomous storage mode, the user sets the storage path for the downloaded files, and the downloaded files are directly stored in the folder corresponding to the storage path;
[0009] The intelligent storage mode is specifically:
[0010] For any folder on your computer:
[0011] Get the types of all files stored in the folder and determine whether the types of all files are the same;
[0012] If the types of all files are the same, the types of the files in this folder are recorded as the initial types, and this folder is recorded as the initial folder;
[0013] If a user copies a file in any initial folder and saves the copied file into a newly created folder, the newly created folder is deemed to be the initial folder.
[0014] Get any initial type, and record the obtained initial type as the first type;
[0015] Get all initial folders corresponding to the first type;
[0016] When the user downloads a file of the first type, a prompt window pops up, presenting all initial folders as storage options for the user to select;
[0017] If the user selects an initial folder in the storage option, obtaining the initial folder selected by the user, and using the initial folder as a temporary folder for storing files of the first type;
[0018] If the user creates a new folder and saves the downloaded file into the new folder;
[0019] The downloaded file is recorded as the first file, and the newly created folder is recorded as a temporary folder, and the temporary folder is used as a folder for temporarily storing files of the first type;
[0020] After downloading the first file, obtain a file downloaded by the user for the first time whose file type is not equal to the first file type, and record it as the second file;
[0021] In the process of storing the second file, executing the storage type determination strategy on the temporary folder to determine whether the temporary folder stores only files of the first type;
[0022] If the temporary folder only stores files of the first type, then after downloading the second file, the temporary folder is used only as a temporary folder for storing the downloaded files of the first type, and a temporary folder for storing the second file is determined;
[0023] If the temporary folder stores files of multiple file types, then after downloading the second file, the temporary folder is used as a folder to temporarily store each downloaded file;
[0024] The average storage interval calculation strategy is executed on the temporary folder, and the interval experienced by storing each file in the temporary folder is calculated, which is recorded as the storage interval;
[0025] According to the storage interval, the storage location determination strategy is executed, and the file is stored according to the result of the determination strategy.
[0026] Optionally, in the process of storing the second file, executing a storage type determination strategy on the temporary folder to determine whether the temporary folder stores only files of the first type includes:
[0027] Obtaining a type of the second file, and recording the type of the second file as a second type;
[0028] Get all initial folders corresponding to the second type;
[0029] When the user starts to store the second file, a prompt window pops up, providing the temporary folder and all the initial folders as storage options for the user to choose;
[0030] If the user selects a temporary folder, it is determined that the temporary folder stores files of multiple file types;
[0031] If the user selects any folder in the initial folders, the folder selected by the user is recorded as a first marked folder, the first marked folder is identified as a folder for temporarily storing files of the second type, and the temporary folder is identified as storing only files of the first type;
[0032] If the user creates a new folder and saves the second file in the newly created folder;
[0033] The newly created folder is recorded as a second marked folder, and the second marked folder is identified as a folder for temporarily storing files of the second type, and the temporary folder is identified as storing only files of the first type.
[0034] Optionally, executing an average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder includes:
[0035] For each working day;
[0036] Divide the working day into 1-hour units to obtain 24 time periods;
[0037] For any period of time:
[0038] Recording the time duration for which the user uses the computer during the time period as the first time duration;
[0039] Recording the time period during which the user does not use the computer during the time period as a second time period;
[0040] Obtain the first duration of each working day in the period, add up all the obtained first durations, and record the sum as the office hours;
[0041] Obtain the second duration of each working day in the period, add up all the obtained second durations, and record the sum as the rest duration;
[0042] Compare the hours worked and the hours rested;
[0043] If the working hours are ≧ the rest hours, the said period is deemed as the working hours;
[0044] If the working hours are less than the rest hours, the period is deemed to be the rest period.
[0045] Optionally, the step of executing an average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder further includes:
[0046] For weekdays when the user is working:
[0047] Get the file type stored in the temporary folder and record it as the execution type;
[0048] The file of the execution type being saved by the user is recorded as an execution file;
[0049] Obtain the time when the execution file is stored, and record the time as the execution time;
[0050] Obtain the first file downloaded by the user that is of the execution type and downloaded during office hours, and obtain the time when the file is stored in the temporary folder, which is recorded as the first recording time;
[0051] Obtain the last file of the execution type downloaded by the user before the execution time and downloaded during office hours, and obtain the time when the file is stored in the temporary folder, which is recorded as the second recording time;
[0052] Obtain the duration from the first recording moment to the second recording moment, recorded as the first duration;
[0053] Obtain the total duration of all rest periods from the first recording time to the second recording time, and record it as the second duration;
[0054] Obtain the total number of executable files downloaded by users during office hours from the first recording time to the second recording time, and record it as a first number;
[0055] Calculate (first duration - second duration) / first quantity, and record the result as the office storage interval.
[0056] Optionally, the step of executing an average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder further includes:
[0057] Obtaining the first file downloaded by the user, which is of the execution type and downloaded during the rest period, and obtaining the time when the file is stored in the execution folder, which is recorded as the third recording time;
[0058] Obtain the last file of the execution type downloaded by the user before the execution time and downloaded during the rest period, and obtain the time when the file is stored in the execution folder, which is recorded as the fourth recording time;
[0059] Obtain the duration from the third recording moment to the fourth recording moment, recorded as the third duration;
[0060] Obtain the total duration of all office hours from the third recording time to the fourth recording time, which is recorded as the fourth duration;
[0061] Obtaining a total number of files of the execution type downloaded by the user during the rest period from the third recording time to the fourth recording time, and recording this as a second number;
[0062] Calculate (third duration - fourth duration) / second quantity, and record the result as the non-office storage interval.
[0063] Optionally, executing a storage location determination strategy according to the storage interval, and storing the file according to a result of the determination strategy, specifically includes:
[0064] If the execution time is during office hours;
[0065] Calculate the duration from the second recording time to the execution time, and record it as the first determination duration;
[0066] Obtaining the total duration of the rest period between the second recording time and the execution time, and recording it as the second determination duration;
[0067] Calculate the first determination time minus the second determination time, and record the result as the third determination time;
[0068] Get office storage interval;
[0069] If the office storage interval is greater than the third determination time, the execution file is stored in a temporary folder;
[0070] If the office storage interval is less than or equal to the third determination time, the check strategy is executed to store the execution file.
[0071] Optionally, executing a storage location determination strategy according to the storage interval, and storing the file according to a result of the determination strategy, specifically includes:
[0072] If the execution time is during the rest period;
[0073] Calculate the duration from the fourth recording time to the execution time, and record it as the fourth determination duration;
[0074] Obtaining the total duration of the office hours between the fourth recording time and the execution time, recorded as the fifth determination duration;
[0075] Calculate the fourth determination time minus the fifth determination time, and record the result as the sixth determination time;
[0076] Get non-office storage interval;
[0077] If the non-office storage interval is greater than the sixth determination time, the execution file is stored in a temporary folder;
[0078] If the non-office storage interval is less than or equal to the sixth determination time, the check strategy is executed to store the execution file.
[0079] Optionally, the execution of the check-in strategy specifically includes:
[0080] Get all initial folders corresponding to the execution type;
[0081] Provide the initial folder as a storage option for users to choose;
[0082] Get the initial folder selected by the user for storage and record it as the target folder;
[0083] The execution file is stored in the target folder, and the target folder is identified as the folder for saving execution type files.
[0084] The present invention has the following beneficial effects:
[0085] 1. The recommended method for storing computer information sets two modes for storing downloaded files in the computer. If the user selects the autonomous storage mode, the user independently selects the path for storing downloaded files, providing complete control over file organization; if the user selects the intelligent storage mode, the computer automatically identifies the uniformity of file types in the folder, which helps intelligent classification and management, reduces the user's energy investment in file storage, and improves convenience.
[0086] 2. The recommended method for storing computer information is as follows: if a user copies a file from any initial folder and saves the copied file into a newly created folder, the newly created folder is considered to be a folder for storing file types. When selecting a storage location for downloaded files, it is also considered as one of the storage location options. Each time the user operates the initial folder, the user's operation on the initial folder is recorded, and based on the recorded results, the purpose of the user's operation on the initial folder is inferred in this way, thereby providing users with better services.
[0087] 3. The recommended method for storing computer information is that after providing storage options, if the user chooses to create a new folder, it means that the downloaded files have a low correlation with the files in the initial folder, and the temporary folder is only created for temporary tasks. At this time, it is necessary to subsequently determine the storage interval of the temporary folder, record the user's file operation behavior, and infer the user's purpose of operating the temporary folder to provide users with better services.
[0088] 4. The recommended method for storing computer information, after determining that the temporary folder is only created for a temporary task, since the intelligent storage mode classifies the folders according to the stored file types, it is not possible to determine whether the temporary folder only stores the first type of files. Therefore, when the user downloads a file whose file type is not equal to the first type, the temporary folder needs to be used as one of the backup storage options. If the user stores the second type of file in the temporary folder, it is determined that the temporary folder stores files of multiple file types. If the user selects any initial folder of the second type, the temporary folder only stores the first type of files. If the user creates a new folder to save the second file, it means that the second type of files are also required for the temporary task, and the user hopes that each newly created temporary folder will only save one type of file. The type of file that the user wants the temporary folder to store is determined by the storage position of the second type of file, so as to facilitate the subsequent selection of a temporary folder for storing the downloaded file according to the file type.
[0089] 5. The recommended method for storing computer information is that since the time when a user uses a computer to download files may be during office hours or during rest time, the first duration of each time period is obtained based on the previous records of the user's office hours in each time period, where the first duration is the user's office time, and the second duration of each time period is obtained, where the second duration is the user's rest time. Based on the relationship between the office time and the rest time, the time period is divided into an office time period or a rest time period, which helps to personalize the storage strategy.
[0090] 6. The storage recommendation method for computer information calculates the interval for storing each file in a temporary folder during office hours on a working day to obtain the office storage interval, calculates the interval for storing each file in a temporary folder during the modification period on a working day to obtain the non-office storage interval, and calculates the storage intervals of files during office and rest periods respectively to help analyze the user's storage behavior patterns. These interval data provide a reference for formulating more accurate storage recommendation strategies.
[0091] 7. The recommended method for storing computer information, if the execution time is during office hours, determines the storage location of the execution file by comparing the office storage interval and the third judgment time. If the third judgment time is less than the office storage interval, because it meets the requirements of fast and frequent downloads of files of the same type, it means that the execution file is also considered to be a file in a temporary task, and the execution file is stored in a temporary folder. Otherwise, it is necessary to select the download location of the execution file a second time, and because the interval is long, it means that the execution file downloaded by the user is not a file required by the temporary task, and the temporary folder is not used as a storage option together with the initial folder. Similarly, the same setting is made for the execution time during the rest period. BRIEF DESCRIPTION OF THE DRAWINGS
[0092] Figure 1 Schematic diagram of the method of the present invention. DETAILED DESCRIPTION
[0093] 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.
[0094] Embodiment 1, refer to Figure 1 , a storage method for computer information, comprising:
[0095] Two modes for storing downloaded files are set in the computer, which are respectively referred to as autonomous storage mode and intelligent storage mode;
[0096] In the autonomous storage mode, the user sets the storage path for the downloaded files, and the downloaded files are directly stored in the folder corresponding to the storage path;
[0097] The intelligent storage mode is specifically:
[0098] For any folder on your computer:
[0099] Get the types of all files stored in the folder and determine whether the types of all files are the same;
[0100] If the types of all files are the same, the types of the files in this folder are recorded as the initial types, and this folder is recorded as the initial folder;
[0101] If a user copies a file in any initial folder and saves the copied file into a newly created folder, the newly created folder is deemed to be the initial folder.
[0102] If the user copies a file from any initial folder and saves the copied file into the newly created folder, the newly created folder is also considered as a file of the storage file type. When selecting the storage location for downloaded files, it is also considered as one of the storage options. Each time the user operates the initial folder, the user's purpose of operating the initial folder is recorded, and based on the recorded results, the purpose of the user's operation on the initial folder is inferred to provide users with better services.
[0103] Get any initial type, and record the obtained initial type as the first type;
[0104] Get all initial folders corresponding to the first type;
[0105] When the user downloads a file of the first type, a prompt window pops up, presenting all initial folders as storage options for the user to select;
[0106] Set the initial folder based on the files of the same type in the folder to simplify the subsequent storage process. Facilitate the system to recommend the appropriate storage location and improve file management efficiency. Prompt users to select a storage location when downloading files of the same type, provide intelligent suggestions, and reduce decision-making time. Enhance the user experience and help users maintain consistency in file organization through prompts.
[0107] If the user selects an initial folder in the storage option, obtaining the initial folder selected by the user, and using the initial folder as a temporary folder for storing files of the first type;
[0108] If the user creates a new folder and saves the downloaded file into the new folder;
[0109] The downloaded file is recorded as the first file, and the newly created folder is recorded as a temporary folder, and the temporary folder is used as a folder for temporarily storing files of the first type;
[0110] After providing storage options, if the user chooses to create a new folder, it means that the downloaded files have a low correlation with the files in the initial folder, which means that the temporary folder is only created for temporary tasks. At this time, it is necessary to determine the storage interval of the temporary folder, record the user's file operation behavior, and infer the user's purpose of operating the temporary folder to provide users with better services.
[0111] After downloading the first file, obtain a file downloaded by the user for the first time whose file type is not equal to the first file type, and record it as the second file;
[0112] In the process of storing the second file, executing the storage type determination strategy on the temporary folder to determine whether the temporary folder stores only files of the first type;
[0113] If the temporary folder only stores files of the first type, then after downloading the second file, the temporary folder is used only as a temporary folder for storing the downloaded files of the first type, and a temporary folder for storing the second file is determined;
[0114] If the temporary folder stores files of multiple file types, then after downloading the second file, the temporary folder is used as a folder to temporarily store each downloaded file;
[0115] The average storage interval calculation strategy is executed on the temporary folder, and the interval experienced by storing each file in the temporary folder is calculated, which is recorded as the storage interval;
[0116] According to the storage interval, the storage location determination strategy is executed, and the file is stored according to the result of the determination strategy.
[0117] Two modes for storing downloaded files are set up in the computer. If the user selects the autonomous storage mode, the user can independently select the path to store the downloaded files, providing complete control over the file organization. If the user selects the intelligent storage mode, the uniformity of file types in the folder is automatically identified, which helps with intelligent classification and management, reduces the user's energy investment in file organization, and improves convenience.
[0118] In the process of storing the second file, executing the storage type determination strategy on the temporary folder to determine whether the temporary folder stores only files of the first type includes:
[0119] Obtaining a type of the second file, and recording the type of the second file as a second type;
[0120] Get all initial folders corresponding to the second type;
[0121] When the user starts to store the second file, a prompt window pops up, providing the temporary folder and all the initial folders as storage options for the user to choose;
[0122] If the user selects a temporary folder, it is determined that the temporary folder stores files of multiple file types;
[0123] If the user selects any folder in the initial folders, the folder selected by the user is recorded as a first marked folder, the first marked folder is identified as a folder for temporarily storing files of the second type, and the temporary folder is identified as storing only files of the first type;
[0124] If the user creates a new folder and saves the second file in the newly created folder;
[0125] The newly created folder is recorded as a second marked folder, and the second marked folder is identified as a folder for temporarily storing files of the second type, and the temporary folder is identified as storing only files of the first type.
[0126] After determining that the temporary folder is only created for temporary tasks, since the intelligent storage mode classifies folders according to the type of files stored, it cannot be determined whether the temporary folder only stores files of the first type. Therefore, when the user downloads files whose file types are not equal to the first type, the temporary folder needs to be used as one of the backup storage options. If the user stores files of the second type in the temporary folder, it is determined that the temporary folder stores files of multiple file types. If the user selects any initial folder of the second type, the temporary folder only stores files of the first type. If the user creates a new folder to save the second file, it means that the second type of files are also required for temporary tasks, and the user hopes that each newly created temporary folder will only save one type of file. The type of file that the user wants the temporary folder to store is determined by the storage position of the second type of file, which facilitates the subsequent selection of a temporary folder for storing the downloaded files according to the file type.
[0127] The method of executing an average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder includes:
[0128] For each working day;
[0129] Divide the working day into 1-hour units to obtain 24 time periods;
[0130] For any period of time:
[0131] Recording the time duration for which the user uses the computer during the time period as the first time duration;
[0132] Recording the time period during which the user does not use the computer during the time period as a second time period;
[0133] Obtain the first duration of each working day in the period, add up all the obtained first durations, and record the sum as the office hours;
[0134] Obtain the second duration of each working day in the period, add up all the obtained second durations, and record the sum as the rest duration;
[0135] Compare the hours worked and the hours rested;
[0136] If the working hours are ≧ the rest hours, the said period is deemed as the working hours;
[0137] If the working hours are less than the rest hours, the period is deemed to be the rest period.
[0138] Since the time when users use computers to download files may be during office hours or during rest time, the first duration of each time period is obtained based on the previous records of the user's office hours in each time period, where the first duration is the user's office time, and the second duration of each time period is obtained, where the second duration is the user's rest time. Based on the relationship between the office hours and the rest time, the time period is divided into an office hour or a rest hour, which helps to personalize the storage strategy.
[0139] The method of executing the average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder also includes:
[0140] For weekdays when the user is working:
[0141] Get the file type stored in the temporary folder and record it as the execution type;
[0142] The file of the execution type being saved by the user is recorded as an execution file;
[0143] Obtain the time when the execution file is stored, and record the time as the execution time;
[0144] Obtain the first file downloaded by the user that is of the execution type and downloaded during office hours, and obtain the time when the file is stored in the temporary folder, which is recorded as the first recording time;
[0145] Obtain the last file of the execution type downloaded by the user before the execution time and downloaded during office hours, and obtain the time when the file is stored in the temporary folder, which is recorded as the second recording time;
[0146] Obtain the duration from the first recording moment to the second recording moment, recorded as the first duration;
[0147] Obtain the total duration of all rest periods from the first recording time to the second recording time, and record it as the second duration;
[0148] Obtain the total number of executable files downloaded by users during office hours from the first recording time to the second recording time, and record it as a first number;
[0149] Calculate (first duration - second duration) / first quantity, and record the result as the office storage interval.
[0150] The method of executing the average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder also includes:
[0151] Obtaining the first file downloaded by the user, which is of the execution type and downloaded during the rest period, and obtaining the time when the file is stored in the execution folder, which is recorded as the third recording time;
[0152] Obtain the last file of the execution type downloaded by the user before the execution time and downloaded during the rest period, and obtain the time when the file is stored in the execution folder, which is recorded as the fourth recording time;
[0153] Obtain the duration from the third recording moment to the fourth recording moment, recorded as the third duration;
[0154] Obtain the total duration of all office hours from the third recording time to the fourth recording time, which is recorded as the fourth duration;
[0155] Obtaining a total number of files of the execution type downloaded by the user during the rest period from the third recording time to the fourth recording time, and recording this as a second number;
[0156] Calculate (third duration - fourth duration) / second quantity, and record the result as the non-office storage interval.
[0157] For a working day, the interval between each storage of a file in a temporary folder during office hours is calculated to obtain the office storage interval. The interval between each storage of a file in a temporary folder during the modification period is calculated to obtain the non-office storage interval. The storage intervals of files during office and rest periods are calculated separately to help analyze the user's storage behavior patterns. These interval data provide a reference for formulating more accurate storage recommendation strategies.
[0158] The step of executing a storage location determination strategy according to the storage interval and storing the file according to the result of the determination strategy specifically includes:
[0159] If the execution time is during office hours;
[0160] Calculate the duration from the second recording time to the execution time, and record it as the first determination duration;
[0161] Obtaining the total duration of the rest period between the second recording time and the execution time, and recording it as the second determination duration;
[0162] Calculate the first determination time minus the second determination time, and record the result as the third determination time;
[0163] Get office storage interval;
[0164] If the office storage interval is greater than the third determination time, the execution file is stored in a temporary folder;
[0165] If the office storage interval is less than or equal to the third determination time, the check strategy is executed to store the execution file.
[0166] The step of executing a storage location determination strategy according to the storage interval and storing the file according to the result of the determination strategy specifically includes:
[0167] If the execution time is during the rest period;
[0168] Calculate the duration from the fourth recording time to the execution time, and record it as the fourth determination duration;
[0169] Obtaining the total duration of the office hours between the fourth recording time and the execution time, recorded as the fifth determination duration;
[0170] Calculate the fourth determination time minus the fifth determination time, and record the result as the sixth determination time;
[0171] Get non-office storage interval;
[0172] If the non-office storage interval is greater than the sixth determination time, the execution file is stored in a temporary folder;
[0173] If the non-office storage interval is less than or equal to the sixth determination time, the check strategy is executed to store the execution file.
[0174] The execution check strategy specifically includes:
[0175] Get all initial folders corresponding to the execution type;
[0176] Provide the initial folder as a storage option for users to choose;
[0177] Get the initial folder selected by the user for storage and record it as the target folder;
[0178] The execution file is stored in the target folder, and the target folder is identified as the folder for saving execution type files.
[0179] If the execution time is during office hours, the storage location of the execution file is determined by comparing the office storage interval and the third judgment time. If the third judgment time is less than the office storage interval, because it meets the requirements of fast and frequent downloads of files of the same type, it means that the execution file is also considered to be a file in a temporary task, and the execution file will be stored in a temporary folder. Otherwise, it is necessary to select the download location of the execution file for the second time, and because the interval is long, it means that the execution file downloaded by the user is not a file required by the temporary task, and the temporary folder will not be used as a storage option together with the initial folder. Similarly, the same setting is made for the execution time during the rest period.
[0180] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0181] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A storage recommendation method for computer information, characterized in that: include: Two modes for storing downloaded files are set in the computer, which are respectively referred to as autonomous storage mode and intelligent storage mode; In the autonomous storage mode, the user sets the storage path for the downloaded files, and the downloaded files are directly stored in the folder corresponding to the storage path; The intelligent storage mode is specifically: For any folder on your computer: Get the types of all files stored in the folder and determine whether the types of all files are the same; If the types of all files are the same, the types of the files in this folder are recorded as the initial types, and this folder is recorded as the initial folder; If a user copies a file in any initial folder and saves the copied file into a newly created folder, the newly created folder is deemed to be the initial folder. Get any initial type, and record the obtained initial type as the first type; Get all initial folders corresponding to the first type; When the user downloads a file of the first type, a prompt window pops up, presenting all initial folders as storage options for the user to select; If the user selects an initial folder in the storage option, obtaining the initial folder selected by the user, and using the initial folder as a temporary folder for storing files of the first type; If the user creates a new folder and saves the downloaded file into the new folder; The downloaded file is recorded as the first file, and the newly created folder is recorded as a temporary folder, and the temporary folder is used as a folder for temporarily storing files of the first type; After downloading the first file, obtain a file downloaded by the user for the first time whose file type is not equal to the first file type, and record it as the second file; In the process of storing the second file, executing the storage type determination strategy on the temporary folder to determine whether the temporary folder stores only files of the first type; If the temporary folder only stores files of the first type, then after downloading the second file, the temporary folder is used only as a temporary folder for storing the downloaded files of the first type, and a temporary folder for storing the second file is determined; If the temporary folder stores files of multiple file types, then after downloading the second file, the temporary folder is used as a folder to temporarily store each downloaded file; The average storage interval calculation strategy is executed on the temporary folder, and the interval experienced by storing each file in the temporary folder is calculated, which is recorded as the storage interval; According to the storage interval, the storage location determination strategy is executed, and the file is stored according to the result of the determination strategy.
2. The storage recommendation method for computer information according to claim 1, characterized in that: In the process of storing the second file, executing the storage type determination strategy on the temporary folder to determine whether the temporary folder stores only files of the first type includes: Obtaining a type of the second file, and recording the type of the second file as a second type; Get all initial folders corresponding to the second type; When the user starts to store the second file, a prompt window pops up, providing the temporary folder and all the initial folders as storage options for the user to choose; If the user selects a temporary folder, it is determined that the temporary folder stores files of multiple file types; If the user selects any folder in the initial folders, the folder selected by the user is recorded as a first marked folder, the first marked folder is identified as a folder for temporarily storing files of the second type, and the temporary folder is identified as storing only files of the first type; If the user creates a new folder and saves the second file in the newly created folder; The newly created folder is recorded as a second marked folder, and the second marked folder is identified as a folder for temporarily storing files of the second type, and the temporary folder is identified as storing only files of the first type.
3. The storage recommendation method for computer information according to claim 1, characterized in that: The method of executing an average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder includes: For each working day; Divide the working day into 1-hour units to obtain 24 time periods; For any period of time: Recording the time duration for which the user uses the computer during the time period as the first time duration; Recording the time period during which the user does not use the computer during the time period as a second time period; Obtain the first duration of each working day in the period, add up all the obtained first durations, and record the sum as the office hours; Obtain the second duration of each working day in the period, add up all the obtained second durations, and record the sum as the rest duration; Compare the hours worked and the hours rested; If the working hours are ≧ the rest hours, the said period is deemed as the working hours; If the working hours are less than the rest hours, the period is deemed to be the rest period.
4. The storage recommendation method for computer information according to claim 3, characterized in that: The method of executing the average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder also includes: For weekdays when the user is working: Get the file type stored in the temporary folder and record it as the execution type; The file of the execution type being saved by the user is recorded as an execution file; Obtain the time when the execution file is stored, and record the time as the execution time; Obtain the first file downloaded by the user that is of the execution type and downloaded during office hours, and obtain the time when the file is stored in the temporary folder, which is recorded as the first recording time; Obtain the last file of the execution type downloaded by the user before the execution time and downloaded during office hours, and obtain the time when the file is stored in the temporary folder, which is recorded as the second recording time; Obtain the duration from the first recording moment to the second recording moment, recorded as the first duration; Obtain the total duration of all rest periods from the first recording time to the second recording time, and record it as the second duration; Obtain the total number of executable files downloaded by users during office hours from the first recording time to the second recording time, and record it as a first number; Calculate (first duration - second duration) / first quantity, and record the result as the office storage interval.
5. The storage recommendation method for computer information according to claim 4, characterized in that: The method of executing the average storage interval calculation strategy on the temporary folder to calculate the interval experienced by storing each file in the temporary folder also includes: Obtaining the first file downloaded by the user, which is of the execution type and downloaded during the rest period, and obtaining the time when the file is stored in the execution folder, which is recorded as the third recording time; Obtain the last file of the execution type downloaded by the user before the execution time and downloaded during the rest period, and obtain the time when the file is stored in the execution folder, which is recorded as the fourth recording time; Obtain the duration from the third recording moment to the fourth recording moment, recorded as the third duration; Obtain the total duration of all office hours from the third recording time to the fourth recording time, which is recorded as the fourth duration; Obtaining a total number of files of the execution type downloaded by the user during the rest period from the third recording time to the fourth recording time, and recording this as a second number; Calculate (third duration - fourth duration) / second quantity, and record the result as the non-office storage interval.
6. The storage recommendation method for computer information according to claim 1, characterized in that: The step of executing a storage location determination strategy according to the storage interval and storing the file according to the result of the determination strategy specifically includes: If the execution time is during office hours; Calculate the duration from the second recording time to the execution time, and record it as the first determination duration; Obtaining the total duration of the rest period between the second recording time and the execution time, and recording it as the second determination duration; Calculate the first determination time minus the second determination time, and record the result as the third determination time; Get office storage interval; If the office storage interval is greater than the third determination time, the execution file is stored in a temporary folder; If the office storage interval is less than or equal to the third determination time, the check strategy is executed to store the execution file.
7. The storage recommendation method for computer information according to claim 6, characterized in that: The step of executing a storage location determination strategy according to the storage interval and storing the file according to the result of the determination strategy specifically includes: If the execution time is during the rest period; Calculate the duration from the fourth recording time to the execution time, and record it as the fourth determination duration; Obtaining the total duration of the office hours between the fourth recording time and the execution time, recorded as the fifth determination duration; Calculate the fourth determination time minus the fifth determination time, and record the result as the sixth determination time; Get non-office storage interval; If the non-office storage interval is greater than the sixth determination time, the execution file is stored in a temporary folder; If the non-office storage interval is less than or equal to the sixth determination time, the check strategy is executed to store the execution file.
8. The storage recommendation method for computer information according to claim 7, characterized in that: The execution check strategy specifically includes: Get all initial folders corresponding to the execution type; Provide the initial folder as a storage option for users to choose; Get the initial folder selected by the user for storage and record it as the target folder; The execution file is stored in the target folder, and the target folder is identified as the folder for saving execution type files.