File management method and device, computer readable storage medium and computer program product

By analyzing the user's operation records on files, determining the trigger conditions of the file, and determining the target files when the conditions are met, it solves the problem that users find it difficult to manage a large number of files, and achieves the effect of simplifying operations and improving user experience.

CN119903027APending Publication Date: 2025-04-29ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411989944.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

As the number and types of files stored in the user's equipment increase, it is difficult for users to effectively manage a large number of files, resulting in problems such as incorrect operations, missed operations and inability to operate.

Method used

By obtaining the user's operation records on the file, it is analyzed that the user has a high probability of using each file (trigger condition), and when the trigger condition is met, the corresponding file is determined as the target file to assist the user in file management.

Benefits of technology

This method simplifies user operations, improves user experience, helps users manage files more effectively, and reduces the occurrence of wrong operations and missed operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119903027A_ABST
    Figure CN119903027A_ABST
Patent Text Reader

Abstract

The invention provides a file management method. The file management method comprises the steps of obtaining an operation record of a file; determining a triggering condition of the file according to the operation record; wherein the triggering condition represents that the probability that the file needs to be operated exceeds a preset value; and in response to the triggering condition meeting any file, determining the file as a target file. The invention further provides file management equipment, a computer readable medium and a computer program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of file management, and in particular to a file management method and device, a computer-readable storage medium, and a computer program product. Background Art

[0002] With the development of technology, more and more files are stored in user equipment (UE), and users need to perform more and more operations on the files, so it is becoming more and more difficult for users to manage a large number of files by themselves. Summary of the invention

[0003] The present disclosure provides a file management method and device, a computer-readable medium, and a computer program product.

[0004] In a first aspect, an embodiment of the present disclosure provides a method for file management, comprising:

[0005] Get the operation record of the file;

[0006] Determining a trigger condition for the file according to the operation record; wherein the trigger condition indicates that a probability of needing to operate the file exceeds a predetermined value;

[0007] In response to satisfying the trigger condition of any of the files, the file is determined as a target file.

[0008] In a second aspect, an embodiment of the present disclosure provides a file management device, which includes a memory and a processor; the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, it implements any one of the file management methods of the embodiments of the present disclosure.

[0009] In a third aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any one of the file management methods of the embodiments of the present disclosure.

[0010] In a fourth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it is any one of the file management methods of the embodiments of the present disclosure.

[0011] The disclosed embodiment analyzes the situations (trigger conditions) in which the user is most likely to use each file based on the user's previous operations on the files (operation records), and determines the corresponding file as the target file when the trigger condition is met, thereby assisting the user in file management, simplifying user operations, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In the accompanying drawings of the embodiments of the present disclosure:

[0013] Figure 1 A flowchart of a file management method provided by an embodiment of the present disclosure;

[0014] Figure 2 A flowchart of another file management method provided by an embodiment of the present disclosure;

[0015] Figure 3 A block diagram of a file management device provided by an embodiment of the present disclosure;

[0016] Figure 4 A block diagram of a computer-readable medium provided for an embodiment of the present disclosure. DETAILED DESCRIPTION

[0017] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the file management method and device, computer-readable medium, and computer program product provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0018] The present disclosure will be described more fully below with reference to the accompanying drawings, but the embodiments shown may be embodied in different forms, and the present disclosure should not be construed as being limited to the embodiments set forth below. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete, and will enable those skilled in the art to fully understand the scope of the present disclosure.

[0019] The accompanying drawings of the embodiments of the present disclosure are used to provide a further understanding of the embodiments of the present disclosure, and constitute a part of the specification, and are used together with the detailed embodiments to explain the present disclosure, and do not constitute a limitation of the present disclosure. By describing the detailed embodiments with reference to the accompanying drawings, the above and other features and advantages will become more apparent to those skilled in the art.

[0020] The present disclosure may be described with reference to plan views and / or cross-sectional views by means of ideal schematic views of the present disclosure. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and / or tolerances.

[0021] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.

[0022] The terms used in the present disclosure are only used to describe specific embodiments and are not intended to limit the present disclosure. The term "and / or" as used in the present disclosure includes any and all combinations of one or more related enumerated items. The singular forms "one" and "the" as used in the present disclosure are also intended to include plural forms, unless the context clearly indicates otherwise. The terms "including", "made of..." as used in the present disclosure specify the presence of the features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof.

[0023] Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined in this disclosure.

[0024] The present disclosure is not limited to the embodiments shown in the drawings, but includes modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the drawings illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.

[0025] With the development of technology, the number and types of files stored in user devices (such as computers) are increasing, and the number and types of file operations that users need to perform are becoming more and more complex. Therefore, if users only rely on their own memory, it is difficult to ensure that they can remember and find the required files in time and perform the required operations on them.

[0026] As a result, it is increasingly difficult for users to manage a large number of files by themselves, and it is easy to make mistakes (such as operating the wrong file), miss operations (such as not remembering the need to operate), and fail to operate (such as not being able to find the required file).

[0027] In a first aspect, an embodiment of the present disclosure provides a method for file management.

[0028] The disclosed embodiments are used to assist in the management of files stored in a user device (such as a computer), for example, to find and recommend corresponding files according to the user's intention.

[0029] Reference Figure 1 , the file management method of the embodiment of the present disclosure includes:

[0030] S101: Obtain operation records on a file.

[0031] S102: Determine a trigger condition for the file according to the operation record.

[0032] The trigger condition indicates that the probability of operating the file exceeds a predetermined value.

[0033] S103: In response to a trigger condition of any file being met, determine the file as a target file.

[0034] In the disclosed embodiments, system hooks or API interfaces are utilized to monitor in real time the operations performed by users on files in user devices, and the monitored information is used to form operation records (e.g., in the form of a user operation knowledge graph), which may record what user, in what context (e.g., time), performed what operations on what files.

[0035] The specific items of operations on the file may include access, edit (modify text and save), save as, move, copy, delete, send, insert content, delete content, replace content, etc.

[0036] Furthermore, the above operation records can be analyzed to obtain the trigger conditions of each file, that is, the "situation (condition)" when the user is "very likely" to operate each file. Therefore, when the trigger condition of a certain file is met, the file can be used as the target file to assist the user in file management (such as recommending target files).

[0037] The disclosed embodiment analyzes the situations (trigger conditions) in which the user is most likely to use each file based on the user's previous operations on the file (operation records), and determines the corresponding file as the target file when the trigger condition is met, thereby assisting the user in file management, simplifying user operations, and improving user experience.

[0038] In some embodiments, reference Figure 2 , after determining the file as the target file (S103), further comprising:

[0039] S104: Perform a predetermined operation on the target file.

[0040] The predetermined operation includes at least one of recommending, accessing, editing, and sending.

[0041] As one method of an embodiment of the present disclosure, after the target file is determined, certain operations (predetermined operations) may be continued to be performed on the target file.

[0042] The above predetermined operation may be to "recommend" the target file to the user in a certain way, such as popping up a "recommended link" to open the target file so that the user can operate the target file. Alternatively, the above predetermined operation may also be a "substantial" operation that the user "is likely" to perform on the target file, such as accessing, editing, sending the target file, etc.

[0043] It should be understood that users can directly adopt the "recommended" target file (such as clicking on the recommended link) or not (such as clicking to cancel the recommendation); and when the user decides not to adopt the recommended content, he or she can either stop recommending it or recommend new content again.

[0044] In some embodiments, reference Figure 2 According to the operation record, determining the triggering condition of the file (S102) includes:

[0045] S102A1. Determine the operation history of the file according to the operation record.

[0046] The operation history of a file represents the operations that the file has undergone.

[0047] In response to satisfying a trigger condition of any file, determining the file as a target file (S103) includes:

[0048] S103A1. In response to receiving a query operation, determine intention information of the query operation.

[0049] S103A2. Determine a file having an operation history matching the intention information as a target file.

[0050] The intent information of the query operation represents the operations that the searched file should have undergone.

[0051] As a method of an embodiment of the present disclosure, the operation history of each file can be determined based on the operation record, that is, the operations that each file has experienced within a certain historical time can be determined, such as when the file was created, by which user, which operation was performed, what the operation object was, etc.

[0052] It should be understood that the specific forms of the above “operation history” are various.

[0053] For example, a record table may be set to record the operation history of each file, or an operation history label may be "marked" on each file to record the operation history of the file.

[0054] For example, for a file A, part of the content of its operation history tag may be shown in Table 1 below.

[0055] Table 1. Operation history tags of file A

[0056] Operation User Operation time Action Items Operation Object Zhang San 2022-3-1,10:45 edit Lines 15-18 Li Si 2022-3-1,12:10 Save As D disk file B Zhang San 2022-4-5,9:23 Insert content Image C Zhang San 2022-4-20,15:10 send Wang Wu

[0057] Therefore, when a user's query operation is received, the "intention (intention information)" of the query operation can be determined, that is, it is determined that the query operation indicates what operations the file to be queried "should" have undergone.

[0058] Furthermore, the operation represented by the above intent information can be searched in the operation history of each file to find the operation history that matches the intent information. It is considered that the trigger condition of the file corresponding to the operation history (that is, the file that has actually experienced the operation represented by the intent information) is met, and it is thus used as the target file.

[0059] It should be understood that, depending on a specific query operation, only one target file may be matched, multiple target files may be matched at the same time, or no target file may be matched.

[0060] It should be understood that the above "operation history" is "dynamic information" that characterizes the operations that the file has "experienced", rather than "static information" that characterizes the "current state" of the file. For example, the operation history "insert picture" indicates that a picture has been inserted into the file, but it does not mean that the file must contain pictures at present, and it does not include the situation where the file originally has pictures; while "static information" can only indicate whether the current state of the file is "with pictures" or "without pictures", and cannot distinguish whether the pictures in the file originally exist or are subsequently inserted, nor can it distinguish whether the file originally has no pictures or has pictures but has been deleted later.

[0061] Compared with the "static information" of the file, the "operation history" of the embodiment of the present disclosure can express richer intentions, thereby realizing more complex queries.

[0062] In some embodiments, in response to receiving a query operation, determining the intent information of the query operation (S103A1) includes:

[0063] S103A11. In response to receiving the query language, input the query language into a preset natural language processing model.

[0064] Among them, the natural language processing model is used to determine the intent information represented by the query language.

[0065] S103A12. Obtain intent information output by the natural language processing model.

[0066] As one mode of an embodiment of the present disclosure, the above “query operation” may be in the form of a “query language”, that is, “voice” or “text” of a “natural language” input by a user.

[0067] Since the "query language" is not a standard "operation instruction", non-professional users can also use the method of the embodiment of the present disclosure.

[0068] After receiving the query language, the preset natural language processing (NLP) model can be used to process the query language to "analyze" the "meaning (intent information)" actually expressed by the query language, that is, to understand the "intention" expressed by the user through ambiguous natural language, so as to match the target file later, that is, the "query result" obtained based on the query operation.

[0069] Among them, the natural language processing model is an artificial intelligence (AI) model, such as in the form of a deep learning model.

[0070] For example, when user Zhang San issues a query such as "I sent a file to Wang Wu some time ago, and inserted a picture into it, but I can't find it now", the semantic recognition model can be used to determine that the operations corresponding to his intention information include "send-Wang Wu" and "insert content-picture"; based on this, the matching file A can be found and used as the target file.

[0071] Therefore, the embodiments of the present disclosure can determine the user's actual intention based on the user's ambiguous natural language, efficiently and correctly find the required file (target file) from a large number of files, improve the accuracy of fuzzy queries, ensure accurate matching of user intentions, and achieve efficient query and management of files.

[0072] It should be understood that it is also feasible for the query operation to be a query instruction in a standard format.

[0073] In some embodiments, reference Figure 2 According to the operation record, determining the triggering condition of the file (S102) includes:

[0074] S102B1. Determine triggering environment conditions of the file according to the operation record.

[0075] The triggering environment condition includes the system environment when the file is operated.

[0076] In response to satisfying a trigger condition of any file, determining the file as a target file (S103) includes:

[0077] S103B1. In response to the current system environment satisfying a trigger environment condition of any file, determine the file as a target file.

[0078] As another method of the embodiment of the present disclosure, the user's "operation habits" for files may also be determined by analyzing the operation records, that is, in what situations (triggering environmental conditions) the user often operates the files.

[0079] Therefore, there is no need for the user to issue specific operation instructions. As long as the current situation (current system environment) meets the trigger environment conditions of a certain file, the trigger conditions of the file can be considered to be met, thereby "automatically" determining the file as the target file, realizing more diversified file management functions and improving user experience.

[0080] It should be understood that, based on the operation records, in addition to determining the trigger environment conditions of the file, one or more operations that are frequently performed under the corresponding trigger environment conditions can also be determined, that is, the "task chain" corresponding to the file can be determined; thus, when determining the target file, its corresponding "target operation (such as recommending users to send target files)" can also be determined to further facilitate user operations.

[0081] In some embodiments, the system environment includes at least one of the following: system time, logged-in user, and preceding operations within a predetermined time.

[0082] As one embodiment of the present disclosure, the system environment may include system time (for example, if a user always operates a file at a certain time, the time may be used as a triggering environment condition for the file), logged-in users (for example, if user Zhang San always operates a file, Zhang San's login may be used as a triggering environment condition for the file), preceding operations within a predetermined time (for example, if a user always edits a file before sending it, the preceding operations of editing the file may be used as a triggering environment condition for the file), etc.

[0083] For example, if the operation record indicates that user Zhang San often accesses file A at 14:00 every day, the "trigger environment conditions" may include "the logged-in user is Zhang San" and "the system time is 14:00", and the corresponding task chain may include "access" and "file A"; thus, if Zhang San is using the user device at 14:00 on a certain day, a shortcut link to file A may pop up (recommended to access file A), so that Zhang San can access file A according to his own habits.

[0084] In some embodiments, determining the triggering environment condition of the file (S102B1) according to the operation record includes:

[0085] S102B11. Input the operations on each file in the operation record and the system environment when the operations are performed into a preset trigger environment condition model.

[0086] The trigger environment condition model is used to determine the system environment whose occurrence frequency meets the preset standard as the trigger environment condition of the file.

[0087] S102B12. Obtain the triggering environment conditions of the file output by the triggering environment condition model.

[0088] As one method of an embodiment of the present disclosure, a preset trigger environment condition model (AI model) may be used to process the operations of each file and the corresponding system environment. The trigger environment condition model can "summarize" the correspondence between frequently occurring system environments and file operations, thereby determining the trigger environment conditions of each file.

[0089] It should be understood that it is also feasible to determine the trigger environment conditions of each file based on the operation records without using the trigger environment condition model, but through other algorithms such as frequency analysis.

[0090] In some embodiments, reference Figure 2 According to the operation record, determining the triggering condition of the file (S102) includes:

[0091] S102C1. Determine a file group according to the operation record.

[0092] Each file group includes multiple files.

[0093] In response to satisfying a trigger condition of any file, determining the file as a target file (S103) includes:

[0094] S103C1. In response to a file being operated in any file group, other files in the file group are determined as target files.

[0095] As another method of the embodiment of the present disclosure, one or more file groups may be determined based on the operation records, wherein each file group contains multiple files that are often operated together in a short period of time (high frequency), that is, multiple closely related files; thus, when a file in a file group is operated, it can be determined that the trigger conditions of other files in the file group are met, thereby "actively" setting other files in the file group as target files.

[0096] Therefore, the embodiments of the present disclosure can improve operational efficiency, realize more diverse file management functions, and improve user experience.

[0097] It should be understood that in addition to grouping files that are often operated together, multiple operations that are often performed together can also be grouped into an "operation set" so that when a user performs an operation in an operation set, other operations in the operation set are recommended.

[0098] In some embodiments, determining the file group according to the operation record (S102C1) includes:

[0099] S102C11. Input the time of the operation on each file in the operation record into a preset clustering model.

[0100] The clustering model is used to cluster files based on the operation time.

[0101] S102C12. Obtain the category output by the clustering model, and determine that multiple files in the same category are a file group.

[0102] In some embodiments, the clustering model is an unsupervised clustering model.

[0103] As one method of an embodiment of the present disclosure, each file may be clustered using a clustering model based on the time when the file is operated (obtained from the operation record), wherein multiple files clustered into one class are a file group.

[0104] Furthermore, the above clustering model may be in the form of an “unsupervised clustering model”, such as a k-means clustering model.

[0105] The unsupervised clustering model can determine the degree of association between different samples by analyzing the "samples themselves" without using "other information", thereby achieving correct clustering of samples, deriving file groups or operation sets, and achieving efficient and accurate recommendations.

[0106] In some embodiments, after determining the file group according to the operation record (S102C1), the method further includes:

[0107] S102C13. In response to satisfying a preset group update condition, update files in the file group according to operation records within a previously predetermined time.

[0108] As a method of an embodiment of the present disclosure, after obtaining a file group, when the grouping update condition is met (such as after a certain period of time, or a large number of files are added / deleted), the file group can also be re-determined (updated) based on the operation records within a recent period of time (previously predetermined time), so that the division of the file group can change with the user's usage habits and meet user needs at any time.

[0109] It should be understood that the "trigger environment conditions" determined above may also be re-determined (updated) in a similar manner when the conditions are met.

[0110] In some embodiments, reference Figure 2 The file management method of the embodiment of the present disclosure further includes:

[0111] S1051. Process the file and obtain multimodal information of the file.

[0112] The multimodal information of the file includes at least one of the title content, text content, image content, and structural characteristics of the file.

[0113] S1052: Obtain a multimodal query operation.

[0114] The multimodal query operation represents the multimodal information that the searched file should have.

[0115] S1053: Determine a file having multimodal information matching the multimodal query operation as a query result file.

[0116] As another method of the embodiment of the present disclosure, the content of the file itself in the user device can also be analyzed to determine its various related information (multimodal information). For example, the multimodal information may include the title content of the file (such as what the title of the file is), the text content (such as what the text of the file mainly describes), the picture content (such as whether the file has pictures and what pictures they are), structural characteristics (such as the format and structural information of the file), etc.

[0117] It should be understood that the multimodal information of a file is not limited thereto, and may also include contextual information of the file (such as creation and modification time, etc.).

[0118] Therefore, when a user issues a multimodal query operation (such as a multimodal query language), it is possible to analyze (such as through a natural language processing model) what kind of multimodal information the file that the multimodal query operation expects to query should have (such as a title of a financial report, with product design drawings, etc.), and accordingly find files with matching multimodal information as query results (query result files).

[0119] Therefore, the embodiments of the present disclosure allow users to query files from more different aspects, further enrich the functions of file management, and improve user experience.

[0120] It should be understood that the above query result file can also be used as a target file to continue to perform operations such as recommendation to users.

[0121] It should be understood that there are various specific ways to obtain multimodal information from a file.

[0122] For example, text from different locations in a file may be extracted according to a template and used as its title and formal text respectively, and then the title and formal text may be analyzed separately using a natural language processing model to determine the title content and text content.

[0123] As another example, a picture may be extracted from a file, and then features of the extracted image may be identified through an image recognition model (such as a neural network), and then the content of the picture may be determined based on the features.

[0124] For another example, various structural identifiers in a file may be extracted to determine the structural characteristics of the file.

[0125] It should be understood that the same user instruction may include a query for both the operation history and the multimodal information.

[0126] For example, when a user issues a query such as "I sent a file to Wang Wu some time ago, it was about recruitment, please help me find it", files that have been sent to Wang Wu and whose text contains the word "recruitment" can be matched as target files.

[0127] In some embodiments, reference Figure 2 The file management method of the embodiment of the present disclosure further includes:

[0128] S1061. Analyze the file and determine the target operation for the file.

[0129] The target operation includes at least one of integrating branch files with the same attributes, merging duplicate files, and cleaning up discarded files.

[0130] As a method of an embodiment of the present disclosure, the characteristics of the file itself in the user device can also be analyzed to determine the operation that the file "most likely" needs to be performed as the target operation.

[0131] For example, the target operation may be to integrate branch files with the same attributes, merge duplicate files, clean up discarded files, etc.

[0132] Therefore, the disclosed embodiments can "actively" recommend operations to be performed on files to users, that is, provide users with suggestions for batch file management and optimize storage space and file organization.

[0133] It should be understood that there are various specific ways to analyze the characteristics of a file to determine the target operation.

[0134] For example, the text of each file can be analyzed through a natural language processing model, non-formatted text such as tables in the file can be analyzed by combining structured data (such as table field matching), and pictures in the file can be analyzed through image processing technology (such as image feature extraction and feature similarity comparison), etc., to determine that files with content similar to a certain extent are branch files that can be integrated.

[0135] For another example, the hash value of each file may be calculated, and files with the same hash value may be determined to be duplicate files and may be merged.

[0136] For another example, the most recent modification time and access time of a file may be queried. If a file has not been modified or accessed for a long time, it may be determined to be an abandoned file and may be cleaned up.

[0137] In some embodiments, reference Figure 2 , after determining the target operation on the file (S1061), further comprising:

[0138] S1062: In response to receiving the confirmation operation instruction, perform a target operation on the file.

[0139] As a method of an embodiment of the present disclosure, after determining the above target operation, the target operation may not be actually performed on the file immediately, but a prompt to perform the target operation (or a recommended target operation) may be given to the user. If the user confirms (receives a confirmation operation instruction), the target operation is performed to avoid erroneous operations on the file and improve security.

[0140] It should be understood that the steps in the embodiments of the present disclosure may be actively triggered when certain conditions are met, or may be triggered according to user instructions; therefore, the numbering and description order of the steps in the embodiments of the present disclosure do not necessarily represent their execution order.

[0141] Second, refer to Figure 3 An embodiment of the present disclosure provides a file management device, which includes a memory and a processor; the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, any file management method of the embodiment of the present disclosure is implemented.

[0142] Thirdly, refer to Figure 4 The embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored. When the computer program is executed by a processor, any file management method of the embodiment of the present disclosure is implemented.

[0143] In a fourth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, any one of the file management methods of the embodiments of the present disclosure is implemented.

[0144] Among them, the processor is a device with data processing capabilities, including but not limited to the central processing unit (CPU); the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the memory and the processor, including but not limited to the data bus (Bus), etc.

[0145] Those skilled in the art will appreciate that all or some of the steps, systems, and functional modules / units in the apparatus disclosed above may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0146] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation.

[0147] Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit (CPU), a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-temporary medium) and a communication medium (or temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage; read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical disk storage; magnetic cassettes, magnetic tapes, disk storage or other magnetic storage; any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0148] The present disclosure has disclosed example embodiments, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly stated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims

1. A method for file management, comprising: Get the operation record of the file; Determining a trigger condition for the file according to the operation record; wherein the trigger condition indicates that a probability of needing to operate the file exceeds a predetermined value; In response to satisfying the trigger condition of any of the files, the file is determined as a target file.

2. The method according to claim 1, wherein: After determining the file as the target file, the method further includes: Perform a predetermined operation on the target file; wherein the predetermined operation includes at least one of recommending, accessing, editing, and sending.

3. The method according to claim 1, wherein: Determining the trigger condition of the file according to the operation record includes: determining the operation history of the file according to the operation record; wherein the operation history of the file represents the operations that the file has undergone; In response to satisfying the trigger condition of any of the files, determining the file as the target file includes: in response to receiving a query operation, determining the intent information of the query operation; determining the file having an operation history matching the intent information as the target file; wherein the intent information of the query operation represents the operations that the searched file should have undergone.

4. The method according to claim 3, wherein: In response to receiving the query operation, determining the intention information of the query operation includes: In response to receiving the query language, inputting the query language into a preset natural language processing model; wherein the natural language processing model is used to determine the intent information represented by the query language; Obtain the intent information output by the natural language processing model.

5. The method according to claim 1, wherein: Determining the trigger condition of the file according to the operation record includes: determining the trigger environment condition of the file according to the operation record; wherein the trigger environment condition includes the system environment when the file is operated; In response to the trigger condition of any of the files being satisfied, determining the file as the target file includes: in response to the current system environment satisfying the trigger environment condition of any of the files, determining the file as the target file.

6. The method according to claim 5, wherein: The system environment includes at least one of the following: System time, logged-in user, and previous operations within the scheduled time.

7. The method according to claim 5, wherein: Determining the triggering environment condition of the file according to the operation record includes: Inputting the operations on each of the files in the operation records and the system environment when the operations are performed into a preset trigger environment condition model; wherein the trigger environment condition model is used to determine the system environment whose occurrence frequency meets the preset standard as the trigger environment condition of the file; The trigger environment condition of the file output by the trigger environment condition model is obtained.

8. The method according to claim 1, wherein: Determining the trigger condition of the file according to the operation record includes: determining a file group according to the operation record; wherein each file group includes a plurality of the files; In response to satisfying the trigger condition of any of the files, determining the file as the target file includes: in response to a file in any of the file groups being operated, determining other files in the file group as the target files.

9. The method according to claim 8, wherein: Determining the file group according to the operation record includes: Inputting the time of the operation on each of the files in the operation record into a preset clustering model; the clustering model is used to cluster the files based on the time of the operation as an element; The category output by the clustering model is obtained, and the multiple files in the same category are determined to be one file group.

10. The method according to claim 9, wherein: The clustering model is an unsupervised clustering model.

11. The method according to claim 8, wherein: After determining the file group according to the operation record, the method further includes: In response to satisfying a preset group update condition, files in the file group are updated according to the operation records within a previous predetermined time.

12. The method according to claim 1, wherein: Also includes: Processing the file to obtain multimodal information of the file; wherein the multimodal information of the file includes at least one of the title content, text content, image content, and structural characteristics of the file; Acquire a multimodal query operation; wherein the multimodal query operation represents the multimodal information that the searched file should have; The file having the multimodal information matching the multimodal query operation is determined as a query result file.

13. The method according to claim 1, wherein: Also includes: Analyze the file and determine a target operation on the file; wherein the target operation includes at least one of integrating branch files with the same attributes, merging duplicate files, and cleaning up discarded files.

14. The method according to claim 13, wherein: After determining the target operation on the file, the method further includes: In response to receiving the confirmation operation instruction, the target operation is performed on the file.

15. A file management device, comprising a memory and a processor; the memory stores a computer program executable by the processor, and the computer program, when executed by the processor, implements the file management method described in any one of claims 1 to 14.

16. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the file management method according to any one of claims 1 to 14.

17. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the file management method according to any one of claims 1 to 14 is implemented.