Electronic file management method and system, electronic equipment and storage medium

By combining real-time monitoring and multi-dimensional feature extraction with automatic classification and version control, the problem of manual dependence in the management of massive electronic documents is solved, achieving efficient and accurate document archiving and management.

CN121597637APending Publication Date: 2026-03-03成都天地直方发动机有限公司 +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511505982.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-21
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

When faced with the management of massive and diverse electronic documents, existing technologies rely on manual annotation and experience-based rules, resulting in low management efficiency and difficulty in achieving high-precision document archiving and management.

Method used

By monitoring file change events in real time, extracting multi-dimensional features of files, automatically classifying them using classification rules or machine learning models, and generating archive paths, automated file management is achieved, and version control is integrated to prevent file overwriting and version loss.

Benefits of technology

It achieves fully automated and high-precision document archiving, reduces manual intervention, lowers management costs, improves the accuracy of document classification, and prevents document overwriting and version loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121597637A_ABST
    Figure CN121597637A_ABST
Patent Text Reader

Abstract

The invention relates to an electronic file management method and system, electronic equipment and a storage medium. The method comprises the following steps: monitoring whether a file change event occurs in a preset directory in real time, and if so, determining a corresponding to-be-arranged file according to the file change event; performing feature extraction on the to-be-sorted file to obtain a multi-dimensional feature of the to-be-sorted file; classifying the to-be-sorted files according to the multi-dimensional features to obtain classification labels of the to-be-sorted files; generating an archiving path based on a preset path generation rule according to the classification label; moving the to-be-sorted file to an archiving path; and updating the file index database, and recording the to-be-sorted file. According to the method, full-automatic and high-precision file archiving can be realized, manual intervention is reduced, and the management cost is reduced; through content perception and classification, the file classification accuracy can be effectively improved; version control is integrated in an archiving process, so that file coverage, version loss or historical record missing are effectively prevented.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic document management technology, and in particular to an electronic document management method, system, electronic device, and storage medium. Background Technology

[0002] With the widespread adoption of information technology, various industries have generated a large number of electronic documents. As a result, archiving and managing these massive amounts of electronic documents has become an important task for all industries.

[0003] Existing solutions for document archiving and management mainly rely on manual annotation and experience-based rule formulation. This is sufficient when the number of documents is small and the types are relatively simple, but it falls short when faced with massive and diverse electronic documents. Summary of the Invention

[0004] The present invention provides an electronic document management method, system, electronic device and storage medium to overcome at least one of the above-mentioned technical problems existing in the prior art.

[0005] To achieve the above objectives, the embodiments of the present invention adopt the following technical solutions: In a first aspect, the present invention provides an electronic document management method, comprising: Real-time monitoring of whether file change events occur in the preset directory; if so, determine the corresponding files to be organized based on the file change events. Feature extraction is performed on the file to be organized to obtain its multi-dimensional features; Based on the multi-dimensional features, the files to be organized are classified to obtain the classification labels of the files to be organized; Based on the classification tags and a preset path generation rule, an archive path is generated; Move the files to be organized to the archive path; Update the file index to record the files to be processed.

[0006] In one possible implementation of the first aspect, after determining the corresponding file to be organized based on the file change event, the following steps are included: Obtain the temporary lock bit of the file to be organized.

[0007] In one possible implementation of the first aspect, the step of extracting features from the file to be organized to obtain multi-dimensional features of the file to be organized includes: Based on the file type of the file to be organized, the file to be organized is parsed using the corresponding preset parsing rules to obtain the multi-dimensional features of the file to be organized.

[0008] In one possible implementation of the first aspect, the file type is a text file, and the step of parsing the file to be processed using corresponding preset parsing rules to obtain multi-dimensional features of the file to be processed includes: Using general attribute parsing rules, feature extraction is performed on the general attributes of the file to be organized to obtain the general attribute features of the file to be organized. Natural language parsing rules are used to extract features from the content of the document to be organized, thereby obtaining the language features of the document to be organized. The multi-dimensional features are generated based on the general attribute features and the language features.

[0009] In one possible implementation of the first aspect, the file type is a code file, and the step of parsing the file to be processed using corresponding preset parsing rules to obtain multi-dimensional features of the file to be processed includes: Using general attribute parsing rules, feature extraction is performed on the general attributes of the file to be organized to obtain the general attribute features of the file to be organized. Using syntax parsing rules, feature extraction is performed on the content of the file to be organized to obtain the syntax features of the file to be organized. The multi-dimensional features are generated based on the general attribute features and the grammatical features.

[0010] In one possible implementation of the first aspect, classifying the files to be organized based on the multi-dimensional features to obtain classification labels for the files to be organized includes: Based on the multi-dimensional features, the files to be sorted are classified using preset classification rules or a pre-trained file classification model to obtain classification labels for the files to be sorted.

[0011] In one possible implementation of the first aspect, the file change event includes file modification, and after determining the corresponding file to be organized based on the file change event, the process includes: Compare the current version of the file to be organized with the previous version to obtain the differences between the current version and the previous version; Save the differences and record the version map of the file to be sorted; Update the file index to record the files to be processed.

[0012] Compared with the prior art, the beneficial effects of the present invention are as follows: The electronic document management method provided by this invention can achieve fully automated and high-precision document archiving, reduce manual intervention, and lower management costs.

[0013] Furthermore, this invention can effectively improve the accuracy of file classification through content awareness and classification.

[0014] Furthermore, this invention integrates version control into the archiving process, effectively preventing file overwriting, version loss, or loss of historical records.

[0015] Secondly, the present invention provides an electronic document management system, comprising: The file monitoring module is used to monitor in real time whether file change events have occurred in a preset directory. If so, the corresponding file to be organized is determined based on the file change event. The content recognition module is used to extract features from the file to be organized and obtain multi-dimensional features of the file to be organized. The file classification module is used to classify the files to be sorted according to the multi-dimensional features and obtain the classification tags of the files to be sorted. The path generation module is used to generate an archive path based on the category tags and a preset path generation rule. The file moving module is used to move the files to be organized to the archive path; The file index module is used to update the file index database and record the files to be processed.

[0016] Thirdly, the present invention provides an electronic device comprising: at least one processor and at least one memory, wherein the memory stores computer-readable instructions; the computer-readable instructions are executed by one or more of the processors to cause the electronic device to implement the electronic document management method as described in any implementation of the first aspect.

[0017] Fourthly, the present invention provides a storage medium having a computer-executable program stored thereon, the computer-executable program being used to cause a computer to perform an electronic document management method as described in any implementation of the first aspect.

[0018] Understandably, the beneficial effects achieved by the system of the second aspect, the electronic device of the third aspect, and the storage medium of the fourth aspect provided above can be referred to in light of the beneficial effects of the first aspect and any of its possible design embodiments, which will not be repeated here. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention; Figure 2 A flowchart of an electronic document management method provided in an embodiment of the present invention; Figure 3 This is a structural block diagram of an electronic document management system provided in an embodiment of the present invention. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be described below with reference to the accompanying drawings. In the description of the present invention, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. The "or" in the present invention is merely a description of the relationship between the related objects, indicating that three relationships can exist. For example, A or B can represent: A alone, A and B simultaneously, and B alone. A and B can be singular or plural. Furthermore, in the description of the present invention, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items.

[0022] Furthermore, to facilitate a clear description of the technical solutions of the embodiments of the present invention, the terms "first" and "second" are used in the embodiments of the present invention to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0023] In this embodiment of the invention, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this embodiment of the invention should not be construed as superior or more advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.

[0024] With the widespread adoption of information technology, various industries have generated a large number of electronic documents. Archiving and managing these massive amounts of electronic documents has become a crucial task for all industries. Current solutions for document archiving and management primarily rely on manual annotation and experience-based rule-making. While this is adequate for smaller, relatively simpler document types, it falls short when faced with a vast and diverse volume of electronic documents.

[0025] In view of this, on the one hand, embodiments of the present invention provide an electronic document management method, including: real-time monitoring of whether a file change event has occurred in a preset directory; if so, determining the corresponding file to be organized based on the file change event; extracting features from the file to be organized to obtain multi-dimensional features of the file to be organized; classifying the file to be organized based on the multi-dimensional features to obtain classification tags for the file to be organized; generating an archive path based on the classification tags and a preset path generation rule; moving the file to be organized to the archive path; and updating the file index database to record the file to be organized.

[0026] The electronic document management method provided by this invention can achieve fully automated and high-precision document archiving, reduce manual intervention and lower management costs; through content awareness and classification, it can effectively improve the accuracy of document classification; and by integrating version control into the archiving process, it can effectively prevent document overwriting, version loss or loss of historical records.

[0027] In some embodiments, the electronic document management method provided by the present invention can be executed by any electronic device 20 with data processing capabilities, such as a general-purpose computer, personal computer, laptop computer, switch, or tablet computer, etc. The specific implementation of the electronic device 20 is not limited here.

[0028] Figure 1 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention is shown. The electronic device 20 includes a processor 210, a memory 220, and a communication interface 230.

[0029] Processor 210 may include one or more processing cores. Processor 210 connects to various parts within electronic device 20 using various interfaces and lines, and performs various functions and processes data of electronic device 20 by running or executing instructions, programs, code sets, or instruction sets stored in memory 220, and by calling data stored in memory 220. Optionally, processor 210 may be implemented using at least one of the following hardware forms: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA).

[0030] The memory 220 may include random access memory (RAI) or read-only memory (ROI). Optionally, the memory 220 may include non-transitory computer-readable storage ledger. The memory 220 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 220 may include a stored program area. The stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as data processing functions, data storage functions, and display push functions), and instructions for implementing the various method embodiments described above.

[0031] Communication interface 230 is used to communicate with other devices, equipment or communication networks, such as data storage devices, image processing devices or Ethernet, wireless access network (RAN), wireless local area network (WLAN), etc.

[0032] In terms of physical implementation, the aforementioned devices (such as processor 210, memory 220, and communication interface 230) can each be devices within the same device (such as a laptop computer). Alternatively, at least two of these devices can be located within the same device, i.e., as different devices within the same device, similar to the deployment of devices or components in a distributed system.

[0033] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 20. In other embodiments of the present invention, the electronic device 20 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0034] The following description, in conjunction with the accompanying drawings, illustrates an electronic document management method provided by an embodiment of the present invention.

[0035] like Figure 2 As shown, this embodiment of the invention provides an electronic document management method, including: Step S1: Monitor in real time whether file change events have occurred in the preset directory. If so, determine the corresponding file to be organized based on the file change event.

[0036] In the specific implementation process, it should be noted that the preset directory in the embodiments of the present invention may be, but is not limited to, a network shared drive or a local folder, and is not limited thereto. The real-time monitoring method in the embodiments of the present invention may be, but is not limited to, using operating system-level hook technology or polling mechanism to achieve real-time monitoring of the preset directory.

[0037] In one feasible implementation, after determining the corresponding file to be organized based on the file change event, the embodiments of the present invention may include, but are not limited to: Obtain the temporary lock bit of the file to be organized.

[0038] It should be noted that the temporary lock bit mentioned in this embodiment of the invention refers to the temporary lock state of the file, describing the situation where the file is opened and used in a non-exclusive manner by one or more processes at a certain point in time. A common triggering scenario is that when a user double-clicks to open a Word document (.docx), the Word program locks the file. Thus, if the user attempts to open the same file in another Word instance, they will see a "File is locked" or "Opened in read-only mode" message.

[0039] By obtaining a temporary lock bit of the file to be processed, this embodiment of the invention can effectively prevent the file from being modified by other processes during processing, thus ensuring the smooth progress of processing.

[0040] Step S2: Extract features from the file to be organized to obtain multi-dimensional features of the file to be organized.

[0041] Since there are many types of electronic documents, such as text files, code files, and graphic files, the embodiments of the present invention have made the following improvements based on different file types.

[0042] In one feasible implementation, the feature extraction of the file to be organized to obtain multi-dimensional features of the file to be organized in the embodiments of the present invention may include, but is not limited to: Based on the file type of the file to be organized, the file to be organized is parsed using the corresponding preset parsing rules to obtain the multi-dimensional features of the file to be organized.

[0043] In specific implementation, when the file type in this embodiment is a text file, the step of using corresponding preset parsing rules to parse the file to be processed and obtain the multi-dimensional features of the file to be processed may include, but is not limited to: Using general attribute parsing rules, feature extraction is performed on the general attributes of the file to be organized to obtain the general attribute features of the file to be organized. Natural language parsing rules are used to extract features from the content of the document to be organized, thereby obtaining the language features of the document to be organized. The multi-dimensional features are generated based on the general attribute features and the language features.

[0044] It should be noted that the text files mentioned in the embodiments of the present invention may include, but are not limited to, files such as doc / docx, pdf, txt, rtf, odt, and pages, and are not limited here.

[0045] The general attribute features mentioned in the embodiments of the present invention may include, but are not limited to, creator, creation / modification time, file size, and MIME type; the language features mentioned in the embodiments of the present invention may include, but are not limited to, keywords, personal names, project names, dates, etc., and are not limited here.

[0046] In specific implementation, when the file type in this embodiment is a code file, the step of parsing the file to be processed using corresponding preset parsing rules to obtain the multi-dimensional features of the file to be processed includes: Using general attribute parsing rules, feature extraction is performed on the general attributes of the file to be organized to obtain the general attribute features of the file to be organized. Using syntax parsing rules, feature extraction is performed on the content of the file to be organized to obtain the syntax features of the file to be organized. The multi-dimensional features are generated based on the general attribute features and the grammatical features.

[0047] It should be noted that the code files mentioned in the embodiments of the present invention may include, but are not limited to, files such as py, java, c / cpp, html / htm, css, js, php, sql, xml, etc., and are not limited here.

[0048] The syntactic features described in this embodiment of the invention may include, but are not limited to, key information such as function names, class names, and comments, and are not limited here.

[0049] Furthermore, it should be noted that the file types mentioned in the embodiments of the present invention, in addition to text files or code files, can also be data and table files (such as csv, xls / xlsx, ods, etc.), image files (such as jpg / jpeg, png, gif, bmp, svg, etc.), audio files (such as mp3, wav, flac, aac, wma, etc.), video files (such as mp4, avi, mov, mkv, flv, etc.), or other professional files (such as ps, eps, dwg, etc.), without limitation.

[0050] In this embodiment of the invention, relevant parsing rules are preset for different file types. When parsing a file to be processed, the corresponding preset parsing rules are directly called to parse it and obtain the corresponding multi-dimensional features, which can effectively save parsing time and improve parsing efficiency.

[0051] Step S3: Based on the multi-dimensional features, classify the files to be organized to obtain the classification labels of the files to be organized.

[0052] In one feasible implementation, the method of classifying the files to be organized based on the multi-dimensional features to obtain classification labels for the files to be organized in this embodiment of the invention may include, but is not limited to: Based on the multi-dimensional features, the files to be sorted are classified using preset classification rules or a pre-trained file classification model to obtain classification labels for the files to be sorted.

[0053] In specific implementation processes, the embodiments of the present invention can adopt the following classification models: The first type is the rule engine mode, which classifies data based on a predefined rule base. For example, if the multi-dimensional features include "quarterly report" AND the author is "finance department", then the classification is "finance / report".

[0054] The second approach: Machine learning mode: Use a pre-trained file classification model (such as the Transformer-based BERT model or the lightweight FastText model) to analyze the multi-dimensional features.

[0055] It should be noted that the embodiments of the present invention may adopt different classification modes depending on the application scenario or the different types of files. For example, when the application scenario is relatively simple and the amount of data is small, a rule engine mode can be used; if the application scenario is complex and the amount of data is large, a machine learning mode can be used. If a machine learning mode is used, the file classification model is trained in advance using historical file data. The specific training process is the existing conventional model training process, which will not be described in detail here. Using the machine learning mode can achieve classification more intelligently and accurately.

[0056] Step S4: Generate an archive path based on the category tags and a preset path generation rule.

[0057] It should be noted that the path generation rules in this embodiment of the invention may, but are not limited to, support variable interpolation. For example, {Project} / {Year}-{Month} / {FileType} / {FileName}. When a file named "Q3 Summary.pptx" is identified as belonging to the "ProjectAlpha" project and was created in August 2023, the path can be generated as: ProjectAlpha / 2023-08 / Presentation / Q3 Summary.pptx.

[0058] Step S5: Move the files to be organized to the archive path.

[0059] It should be noted that the movement of the files to be organized to the archive path in this embodiment of the invention employs an atomic move operation. Specifically, an atomic move operation means that in a concurrent environment, the transfer of ownership of an object's resources is indivisible, and other threads cannot observe the intermediate states during the transfer process. Using an atomic move operation effectively ensures that interruptions during the operation will not lead to file loss.

[0060] Step S6: Update the file index library and record the files to be organized.

[0061] In specific implementation, the file index library in this embodiment of the invention is a global, fast-querying file index library, which may be, but is not limited to, an embedded database such as SQLite or Elasticsearch, etc., and is not limited here. The file index library in this embodiment of the invention may record, but is not limited to, the current path of the organized files, all version pointers, metadata, etc., to facilitate subsequent fast file retrieval.

[0062] In one feasible implementation, the file change event in this embodiment of the invention includes file modification, and after determining the corresponding file to be organized based on the file change event, it may include, but is not limited to: Compare the current version of the file to be organized with the previous version to obtain the differences between the current version and the previous version; Save the differences and record the version map of the file to be sorted; Update the file index to record the files to be processed.

[0063] The embodiments of the present invention employ incremental storage technology. When a file is modified, the differences between the current version and the previous version are compared, only the differences are stored, and a version graph is recorded. Through the version graph, historical changes can be quickly viewed and the file can be restored to any specified version, which greatly saves storage space and improves the efficiency of file version management.

[0064] It should be noted that the version map in the embodiments of the present invention may include, but is not limited to, version number, timestamp, modifier and commit notes (which can be automatically generated from the modified content).

[0065] In this embodiment of the invention, the version map can be automatically generated after the file to be organized is first stored in the target path. For example, when the file to be organized is first stored in the target path, a version map is generated, and the current version of the file to be organized is recorded as version 1.0. When the file to be organized is modified for the first time, it is compared with version 1.0, the difference is saved, and it is recorded as version 1.1, and so on.

[0066] Since some documents may be finalized documents and do not require a version map, the version map in this embodiment of the invention can also be automatically generated after the first modification of the document to be organized. Automatically generating the version map after the first modification can effectively reduce the amount of data.

[0067] The electronic document management method provided in this invention can achieve fully automated and high-precision document archiving, reduce manual intervention, and lower management costs; through content awareness and classification, it can effectively improve the accuracy of document classification; and by integrating version control into the archiving process, it can effectively prevent document overwriting, version loss, or loss of historical records.

[0068] Based on the electronic document management method provided in the first aspect, embodiments of the present invention provide an electronic document management system, such as... Figure 3 As shown, the electronic document management system includes: The file monitoring module 101 is used to monitor in real time whether file change events have occurred in a preset directory. If so, it determines the corresponding file to be organized based on the file change event. Content recognition module 102 is used to extract features from the file to be organized and obtain multi-dimensional features of the file to be organized; The file classification module 103 is used to classify the files to be sorted according to the multi-dimensional features and obtain the classification tags of the files to be sorted. The path generation module 104 is used to generate an archive path based on the category tags and a preset path generation rule. The file moving module 105 is used to move the files to be organized to the archive path; The file index module 106 is used to update the file index library and record the files to be sorted.

[0069] Based on the electronic document management method provided in the first aspect, this embodiment of the invention also provides a storage medium storing a computer-executable program, which is used to cause a computer to execute the electronic document management method as described in any implementation of the first aspect. Explanations of the relevant content and descriptions of the beneficial effects of any of the computer-readable storage media provided above can be found in the corresponding embodiments described above, and will not be repeated here.

[0070] Those skilled in the art will understand that the program for implementing all or part of the steps of the above embodiments, which can be executed by a program instructing related hardware, can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a random access memory, etc. The processing unit or processor mentioned above can be a central processing unit, a general-purpose processor, an application-specific integrated circuit (ASIC), a microprocessor (DSP), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.

[0071] This invention also provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform any of the methods described in the above embodiments. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this invention is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., SSD), etc.

[0072] It should be noted that the devices for storing computer instructions or computer programs provided in the embodiments of the present invention, such as, but not limited to, the aforementioned memory, computer-readable storage medium, and communication chip, are all non-transitory. Those skilled in the art should recognize that the functions described in the embodiments of the present invention in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable storage medium or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of computer programs from one place to another. Storage media can be any available medium accessible to general-purpose or special-purpose computers.

[0073] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. An electronic document management method, characterized in that, include: Real-time monitoring of whether file change events occur in the preset directory; if so, determine the corresponding files to be organized based on the file change events. Feature extraction is performed on the file to be organized to obtain its multi-dimensional features; Based on the multi-dimensional features, the files to be organized are classified to obtain the classification labels of the files to be organized; Based on the classification tags and a preset path generation rule, an archive path is generated; Move the files to be organized to the archive path; Update the file index to record the files to be processed.

2. The electronic document management method according to claim 1, characterized in that, After determining the corresponding file to be organized based on the file change event, the process includes: Obtain the temporary lock bit of the file to be organized.

3. The electronic document management method according to claim 1, characterized in that, The step of extracting features from the file to be organized to obtain multi-dimensional features of the file includes: Based on the file type of the file to be organized, the file to be organized is parsed using the corresponding preset parsing rules to obtain the multi-dimensional features of the file to be organized.

4. The electronic document management method according to claim 3, characterized in that, The file type is a text file. The file to be processed is parsed using corresponding preset parsing rules to obtain multi-dimensional features of the file, including: Using general attribute parsing rules, feature extraction is performed on the general attributes of the file to be organized to obtain the general attribute features of the file to be organized. Natural language parsing rules are used to extract features from the content of the document to be organized, thereby obtaining the language features of the document to be organized. The multi-dimensional features are generated based on the general attribute features and the language features.

5. The electronic document management method according to claim 3, characterized in that, The file type is a code file. The file to be processed is parsed using corresponding preset parsing rules to obtain multi-dimensional features of the file, including: Using general attribute parsing rules, feature extraction is performed on the general attributes of the file to be organized to obtain the general attribute features of the file to be organized. Using syntax parsing rules, feature extraction is performed on the content of the file to be organized to obtain the syntax features of the file to be organized. The multi-dimensional features are generated based on the general attribute features and the grammatical features.

6. The electronic document management method according to claim 1, characterized in that, The step of classifying the files to be organized based on the multi-dimensional features to obtain classification labels for the files to be organized includes: Based on the multi-dimensional features, the files to be sorted are classified using preset classification rules or a pre-trained file classification model to obtain classification labels for the files to be sorted.

7. The electronic document management method according to claim 1, characterized in that, The file change event includes file modification. After determining the corresponding file to be processed based on the file change event, the process includes: Compare the current version of the file to be organized with the previous version to obtain the differences between the current version and the previous version; Save the differences and record the version map of the file to be sorted; Update the file index to record the files to be processed.

8. An electronic document management system, characterized in that, include: The file monitoring module is used to monitor in real time whether file change events have occurred in a preset directory. If so, the corresponding file to be organized is determined based on the file change event. The content recognition module is used to extract features from the file to be organized and obtain multi-dimensional features of the file to be organized. The file classification module is used to classify the files to be sorted according to the multi-dimensional features and obtain the classification tags of the files to be sorted. The path generation module is used to generate an archive path based on the category tags and a preset path generation rule. The file moving module is used to move the files to be organized to the archive path; The file index module is used to update the file index database and record the files to be processed.

9. An electronic device, characterized in that, include: A memory, one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the electronic document management method as described in any one of claims 1 to 7.

10. A storage medium storing a computer-executable program, characterized in that, The computer-executable program is used to cause the computer to perform the electronic document management method as described in any one of claims 1 to 7.