CN112328852A - Document management method, document management device, computer equipment and storage medium - Google Patents

Document management method, document management device, computer equipment and storage medium Download PDF

Info

Publication number
CN112328852A
CN112328852A CN202011223729.7A CN202011223729A CN112328852A CN 112328852 A CN112328852 A CN 112328852A CN 202011223729 A CN202011223729 A CN 202011223729A CN 112328852 A CN112328852 A CN 112328852A
Authority
CN
China
Prior art keywords
document
rule
target
target document
uploading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011223729.7A
Other languages
Chinese (zh)
Inventor
刘乐乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan United Imaging Healthcare Co Ltd
Original Assignee
Wuhan United Imaging Healthcare Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan United Imaging Healthcare Co Ltd filed Critical Wuhan United Imaging Healthcare Co Ltd
Priority to CN202011223729.7A priority Critical patent/CN112328852A/en
Publication of CN112328852A publication Critical patent/CN112328852A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/93Document management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification

Abstract

The application relates to a document management method, a document management device, a computer device and a storage medium, wherein the method comprises the steps of receiving an uploading request of at least one target document named according to a preset document filing rule, calling a document rule engine to read the document filing rule and the name of the target document according to the uploading request, generating management information including the target document of each target document, and storing the management information into a database. The method simplifies the document filing process, thereby improving the document filing efficiency.

Description

Document management method, document management device, computer equipment and storage medium
Technical Field
The present application relates to the field of information technology, and in particular, to a document management method, apparatus, computer device, and storage medium.
Background
With the enhancement of environmental awareness of people and the continuous upgrading of the demands of various industries on office modes, the pace of modernization and informatization construction is accelerated, and paperless office work is gradually applied to the fields of multiple industries by concepts. The most important change of paperless is that all documents in each enterprise, including OA documents, official documents, systems, and the like, are recorded and archived by electronic documents, and as the types and the number of the electronic documents gradually increase, the electronic documents need to be integrated and collected, so that the enterprise files are convenient to manage and search.
In the prior art, a document filing system is adopted to store and manage all electronic documents of an enterprise, but when the document is specifically managed, a user needs to manually create document nodes or find corresponding document nodes to carry out filing operation, so that redundant workload is increased for users maintaining a large number of document systems, and filing errors are easily caused by negligence, so that the document filing process is complex and low in efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a document management method, an apparatus, a computer device, and a storage medium, which can simplify the document filing process and improve the document filing efficiency.
In a first aspect, an embodiment of the present application provides a document management method, where the method includes:
receiving an uploading request of at least one target document; naming a target document according to a preset document filing rule;
according to the uploading request, calling a document uploading micro-service to store the target document;
the method for storing the target document by calling the document uploading microservice comprises the following steps:
and calling a document rule engine to read the document filing rule and the name of the target document, generating management information of the target document, and storing the management information into a database.
In one embodiment, the invoking the document upload microservice to store the target document further includes: and uploading the target document to a document storage server for storage.
In one embodiment, the uploading the target document to the document storage server for storage includes:
generating a document identification for the target document; the document identification is the unique identification of the target document in the document storage server;
the target document is stored in the document storage server with the document identification and/or the designation of the target document indexed.
In one embodiment, before the receiving the upload request of the at least one target document, the method further comprises:
receiving a rule uploading request triggered by a user in a front-end interface; the rule uploading request carries a document filing rule;
and uploading the document archiving rule to a document rule engine for storage.
In one embodiment, after the storing the management information in the database, the method further includes: displaying the management information in a front-end interface; the management information includes node information and document attribute information of the target document under the tree document structure.
In one embodiment, the front-end interface includes a query button; the query buttons comprise query buttons of different categories, and the query buttons of different categories correspond to different query rules;
the method further comprises:
receiving a query request generated by triggering a query button by a user;
and searching the management information of the corresponding document in the database by adopting the query rule corresponding to the category of the query button, and displaying the management information on the front-end interface.
In one embodiment, the categories of the query button include an ambiguous query button, a categorical query button, and a document ordering filter query button.
In one embodiment, the method further comprises:
receiving an editing request triggered by a user at any node under a tree-shaped document structure of a target document; the editing request carries the content to be edited;
and executing the operation corresponding to the content to be edited at the corresponding node according to the editing request.
In one embodiment, the edit request requests at least one of:
creating a new node for the corresponding node in the tree document structure;
modifying or deleting the document information of the corresponding node;
and uploading the new document on the corresponding node.
In one embodiment, the document attribute information includes at least one of a document name, a document type, a version, a language, a document format, an upload date, and storage path information.
In a second aspect, an embodiment of the present application provides a document management apparatus, including:
the receiving module is used for receiving an uploading request of at least one target document; naming a target document according to a preset document filing rule;
the calling module is used for calling the document uploading micro-service to store the target document according to the uploading request;
the calling module is specifically used for calling a document rule engine to read a document filing rule and the name of a target document, generating management information of the target document and storing the management information into a database; the management information includes node information and document attribute information of the target document under the tree document structure.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of any one of the methods provided in the embodiments of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the methods provided in the embodiments of the first aspect.
According to the document management method, the document management device, the computer equipment and the storage medium, the uploading request of at least one target document named according to a preset document filing rule is received, the document rule engine is called to read the document filing rule and the name of the target document according to the uploading request, the management information including the target document of each target document is generated, and the management information is stored in the database. In the method, the target document to be uploaded is named according to the preset document filing rule, and the document rule engine is generated based on the document filing rule and the name of the target document when generating the document management information, so that the document rule engine is only required to automatically perform rule matching on the target document according to the preset document filing rule and the name of the target document when uploading the target document every time, the creation and the document filing of the target document management information are automatically performed, the document filing process is simplified, and the document filing efficiency is improved.
Drawings
FIG. 1 is a diagram of an application environment of a document management method, according to an embodiment;
FIG. 2 is a flowchart of a document management method according to an embodiment;
FIG. 3 is a flowchart illustrating a document management method according to another embodiment;
FIG. 4 is an interaction diagram of a document management method, according to an embodiment;
FIG. 5 is a flowchart illustrating a document management method according to another embodiment;
FIG. 6 is an interaction diagram of a document management method according to another embodiment;
FIG. 7 is a flowchart illustrating a document management method according to another embodiment;
FIG. 8 is a flowchart illustrating a document management method according to another embodiment;
FIG. 9 is a data flow diagram of a document management method according to another embodiment;
FIG. 10 is an interaction diagram of a document management method according to another embodiment;
FIG. 11 is a block diagram showing the configuration of a document managing apparatus according to an embodiment;
FIG. 12 is a block diagram that illustrates the internal components of a computing device, according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The document management method provided by the present application may be applied to an application environment as shown in fig. 1, where the computer device includes, but is not limited to, a personal computer, a notebook computer, a smart phone, a tablet computer, a portable wearable device, and the like, and the embodiment of the present application is not limited thereto. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing relevant data of the document management method. The network interface of the computer device is used for communicating with other external devices through network connection. The computer program is executed by a processor to implement a document management method.
The embodiment of the application provides a document management method and device, a computer device and a storage medium, which can simplify the document filing process and improve the document filing efficiency. The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, in the document management method provided in the present application, the execution main body of fig. 2 to fig. 10 is a computer device running a document filing system (hereinafter, all will be referred to as a computer device or a document filing system), where the execution main body may also be a document management apparatus, where the apparatus may be implemented as part or all of the computer device by software, hardware, or a combination of software and hardware.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
In an embodiment, fig. 2 provides a document management method, where the embodiment relates to a specific process in which a computer device invokes a document microservice to store a target document after receiving an upload request of a plurality of documents named based on a preset document filing rule, as shown in fig. 2, the method includes:
s101, receiving an uploading request of at least one target document; and naming the target document according to a preset document filing rule.
The target document is a document which is required to be uploaded to a document management system at present; the number of target documents to be uploaded by the uploading request received by the computer equipment is at least one, and is not limited at most, and the target documents can be determined according to actual software and hardware requirements.
The uploaded target documents are named according to preset document filing rules. The document filing rule is a document rule set by a user according to the document filing requirement of the user, and optionally, in one embodiment, the rule meeting the requirement of the user can be configured according to attributes such as a document name keyword, a document type, a document format and the like. Optionally, the preset document filing rule is: document type-document node 1 (document key) -document node 2 (document key) - … -document node (N) (document key) -document information (N) (O) (document key) -document format (R).
Wherein "-" between the document type, each document node, and the document information may be deleted and retained in setting the document filing rule. N after the document information represents a plurality of, O represents a selectable item, that is, the document information may contain a plurality of information, the document rule may retain the document information, and may also delete the document information, and the document information includes, but is not limited to, information such as document name, type, version, language, format, upload date, and storage path. Wherein, the R after the document format represents the necessary item, namely the format of the document must be set in the document rule.
The composition of the document name keywords can be in the forms of special symbols or keywords and the like, and specific keyword users can set the keywords by themselves; the document name key words are the key words for filing and dividing the document, and the document rule engine can divide and position the filing tree nodes according to the key words. The document types mentioned above are indexes for setting document archives, which can be divided according to the categories of documents, including but not limited to software class documents, equipment class documents, training class documents, office documents, etc.; each document type can be correspondingly provided with a document prefix, for example, a software class document can be provided with a document prefix of 'software class' or 'soft' and the like. The document format is mainly used for limiting the format type of the archived document, for example, the format of the archived document can be limited to the documents of the types of pdf, doc and txt, so that only the documents of the types of pdf, dcoc and txt are supported during document archiving. It should be noted that, when the limitation on the archived document is required, the supported document format may be enumerated and described, but if the document format is not required to be limited, the attribute of one column of the document format in the document rule may be set to be null, that is, it indicates that documents in any format can be archived. In addition, when the user sets the document filing rule, each attribute may be weighted to indicate the necessary degree of different attributes, and the sum of the weights of the attributes is not limited, for example, the weight of the document format may define 100%, indicating that the document format must exist when the document filing rule is defined. In addition, the weight may also be set as the weight when the document management information is subsequently presented after the document is stored, for example, the weight of the document name is higher than the weight of the document type, so that the document name is presented with emphasis when the management information is presented, and the like; the method and the device for setting the document filing rule do not limit the weight in the document filing rule, can set for any scene of any attribute, and improve the flexibility of the document filing rule.
When the user sets the document filing rule, the user can trigger a storage button of a rule configuration interface in the document filing system, the rule is read and stored through a document rule engine in the document filing system to complete the whole document rule configuration, and when the document filing rule is configured, the document rule engine automatically reads the document filing rule in the subsequent document filing process. From the perspective of a user, when the user needs to archive a document, a document "upload" button is triggered on an archiving interface of the document archiving system, a batch of related target documents is selected (a large batch of documents can be selected for one-time archiving), the documents appear on a related upload panel, and a "start" button is triggered, so that a document upload request can be triggered.
In addition, the document rule has the function of editing at any time in the document management system, so that a user can re-edit the document filing rule according to the actual condition of the batch documents to be filed every time the batch documents are filed, the document filing rule is enabled to be more accordant with the actual condition of the current documents, the document filing process is more humanized and intelligent, and the document filing is more convenient and quicker. Furthermore, the function of editing the document filing rule can set the authority, and only part of persons with the authority are developed to operate, so that the safety and reliability of document filing are ensured.
And S102, calling a document uploading micro-service to store the target document according to the uploading request.
Wherein, the step S102 comprises: and S1021, calling a document rule engine to read the document filing rule and the name of the target document, generating management information of the target document, and storing the management information into a database.
Optionally, in practical application, the document archiving system provides a visual interface, and the document uploading micro-service is built in the document archiving system, and the document uploading micro-service is a group of small services for implementing document uploading and archiving, is an independent application system, and runs in an independent process. The front-end separation technology can be adopted, and the front end adopts a React script library and an Ant Design UI framework.
And after the computer equipment receives an uploading request of the target document, calling the document uploading micro-service to store the target document. Specifically, according to a preset document filing rule, the document filing rule can be called and used by a document uploading micro-service in a gPRC (remote procedure call) mode, and a document calling rule engine reads the preset document filing rule and the names of the currently uploaded target documents to generate the management information of the target documents.
Optionally, the management information of the target document generated by the document rule engine includes node information and document attribute information of the target document in the tree document structure, and optionally, the document attribute information includes at least one of a document name, a document type, a version, a language, a document format, an upload date, and storage path information. For example, the document rule engine may classify and divide documents according to configured document filing rules, file the corresponding documents to the corresponding tree-shaped document structures, and for a new tree-shaped document node, automatically create a document node, and store final document node information of each target document, for example, information of node layer numbers, node identifiers, and the like, which can accurately position the node.
After the management information of the target document is generated, the management information may be stored in a database. Optionally, after storing the management information in the database, the management information may be presented in the front-end interface.
For example, the management information may be stored in a MYSQL database table as a data source for subsequent archive tree structure display and document query microservice invocation, thereby completing automatic archive. After the management information is stored, the management information can be further displayed in a front-end interface, namely a visual interface of the document filing system, so that a user can conveniently check the specific position of the filed target document in time and check whether the management information generated by the filed target document is correct or not, and the intelligence and the human-computer interaction of document filing are improved.
The document management method provided by this embodiment receives an upload request of at least one target document named according to a preset document filing rule, invokes a document rule engine to read the document filing rule and the name of the target document according to the upload request, generates management information of each target document including node information and document attribute information of the target document in a tree document structure, and stores the management information in a database. In the method, the target document to be uploaded is named according to the preset document filing rule, and the document rule engine is generated based on the document filing rule and the name of the target document when generating the document management information, so that the document rule engine is only required to automatically perform rule matching on the target document according to the preset document filing rule and the name of the target document when uploading the target document every time, and the target document management information is automatically performed, including the creation and document filing of node information and document attribute information of the target document under a tree-shaped document structure, thereby simplifying the document filing process and improving the document filing efficiency.
In the foregoing embodiment, after receiving an upload request of a target document, a document rule engine in a document upload microserver generates management information of the target document to be stored and displayed, and in practical applications, in addition to generating the management information of the target document, the document itself of the target document needs to be stored, so on the basis of the foregoing embodiment, the present application further provides an embodiment, which describes a process of storing the document itself of the target document, and the step S102 further includes: and uploading the target document to a document storage server for storage.
The document storage server refers to a server in the document archiving system for storing the document itself, and the document storage server may be a computer device other than a computer device operated by the document archiving system, and may also be a cloud server, and the like, which is not limited in this embodiment. The target document may be uploaded to the document storage server for storage through a wireless or wired transmission method, which is not limited in this embodiment. In addition, when the target document is uploaded to the document storage server for storage, the target document can be stored in a partition mode, document indexes can be added, and the like, so that the identification of the document can be conveniently found, and the document stored in the document storage server can be conveniently and effectively managed.
Optionally, as shown in fig. 3, one implementation manner of uploading the target document to the document storage server for storage includes the following steps:
s201, generating a document identifier for a target document; the document identification is a unique identification of the target document in the document storage server.
After receiving a target document, a document uploading micro-service in the document archiving system generates a document identifier for the target document, if the target document is a plurality of target documents, the document identifier corresponding to each target document is generated for an uploaded target document stream one by one, and the document identifier is the only identifier of each target document in a document storage server. Specifically, the document upload microserver may generate a 32-bit Universal Unique Identifier (UUID) as a document storage ID for each target document, or may generate other identifiers, for example, a number is generated as a document storage ID of the target document according to the upload year, month, day and sequence in the document stream, and the like, which is not limited in this embodiment of the present application.
Optionally, after the document uploading micro-service generates the document identifier of the target document, the document identifier of the target document may invoke the rule engine through the gPRC, and the document name, the document identifier, and other related parameters are transmitted to the rule engine, so that the document rule engine generates the management information of the target document.
S202, storing the target document in the document storage server by the document identification and/or the name of the target document.
After generating the document identifier of each target document, the document uploading microserver stores each target document itself to a designated location in the document storage server by using the document identifier and/or the name index of each target document, and the designated location may be stored according to an actual setting requirement, for example, stored in a folder in a document storage ID directory that is the same as the document identifier, which is not limited in the embodiments of the present application.
Optionally, an embodiment is provided, which combines the user triggering a document upload request on a visual interface of the document archiving system, and stores the target document in the document storage server, as shown in fig. 4, where the embodiment includes:
s31, the user triggers uploading of the target document on the visual interface of the document archiving system.
S32, the document uploading micro-service in the document filing system generates the document identification of the target document as the document storage ID.
And S33, the document uploading micro-service sends the target document and the document identification to the file storage server.
S34, the file storage server stores the target document.
The detailed process of each step in this embodiment can be referred to the above embodiments.
In the document management method provided by this embodiment, after generating a document identifier that is a unique identifier of a target document in a document storage server for the target document, the target document is stored in the document storage server by using the document identifier and the name of the target document as an index. When the document is stored in the document storage server, the document is distinguished by the index, so that the subsequent searching of the document is facilitated, the document is effectively managed, and the document filing efficiency is improved.
The condition that the document rule engine reads the configured document filing rule in the foregoing embodiment is that the configured document filing rule is already stored in the document filing system, and therefore, in an embodiment, before the foregoing execution receives the upload request of the at least one target document, as shown in fig. 5, the method further includes:
s301, receiving a rule uploading request triggered by a user in a front-end interface; the rule uploading request carries the document archiving rule.
Similarly, a visual interface is provided based on the document filing system, and the document filing system is internally provided with a rule configuration micro-service which is a group of small-sized services for realizing document filing rule configuration, is an independent application system and runs in an independent process. The method can adopt a front-end and back-end separation technology, the front end adopts a React script library and an Ant Design UI framework, and the back end adopts a Spring Boot-based micro-service framework.
Then, referring to fig. 6, a user configures a document filing rule according to characteristics of a target document to be transmitted, for example, a rule meeting a self-requirement may be configured according to attributes such as a document naming rule, a document name keyword, a document type, a document format, and the like, and the user may configure the rule as needed many times, after the document filing rule is configured, a rule uploading request may be triggered in a front-end interface (a visual interface) of the document filing system, and a rule configuration micro-service in the document filing system receives the document filing rule carried in the rule uploading request.
S302, uploading the document filing rule to a document rule engine for storage.
Referring to fig. 6, after sending the document filing rule to the document rule engine, the document rule engine reads the document filing rule and stores the document filing rule in an XML format, so that the subsequent document uploading microservice or filing tree structure display and document query search microservice are invoked and used in a gPRC (remote procedure call) manner to perform filing management on the document.
In the document management method provided by this embodiment, the document filing rule is uploaded to the document rule engine for storage by receiving a rule uploading request carrying the document filing rule triggered by a user in a front-end interface. Therefore, the document filing system is equivalent to a document filing system which adopts dynamically configurable document filing rule logic, so that the document filing rule has inherent expandability, is more suitable for diversified and large-amount document filing processing, and improves the flexibility and wide applicability of document filing.
After the document is stored in the document archiving system, there may be a query requirement in practical application, as shown in fig. 7, an embodiment is provided to explain the document query process, and the embodiment includes the following steps:
s401, receiving a query request generated by triggering a query button by a user.
Optionally, a query button is included in a front-end interface of the document archiving system; the query buttons comprise query buttons of different categories, and the query buttons of different categories correspond to different query rules; optionally, the categories of query buttons include a fuzzy query button, a categorical query button, and a document ordering filter query button.
Similarly, a visual interface is provided based on the document filing system, the document filing system is internally provided with a filing tree structure display and document query search micro-service, the filing tree structure display and document query search micro-service are a group of small-sized services for realizing document query, the filing tree structure display and document query search micro-service are independent application systems and operate in independent processes, a front-end and back-end separation technology can be adopted, a read script library and an Ant Design UI framework are adopted at the front end, and a Spring Boot-based micro-service framework is adopted at the back end.
Based on the archive tree structure display and document query search microservice, after the archive is successfully archived, a user can perform corresponding document search query, statistical analysis and other operations in a document query interface of the document archive system. The document query may be implemented in the front-end interface by triggering a query button, wherein the query button includes, but is not limited to, a fuzzy query button, a categorical query button, and a document ordering filtering query button. For example, if a user needs to query a document with an uncertain specific name and specific storage location, a fuzzy query may be selected; however, if the user determines the category of the document to be queried in advance, the user can select to classify the query or perform operations such as document sorting and filtering to perform accurate document query.
S402, adopting the query rule corresponding to the type of the query button, searching the management information of the corresponding document in the database, and displaying the management information on the front-end interface.
After a document filing system receives a query request of a document triggered by a user on a front-end interface, determining which query button the query request corresponds to is triggered from, and then adopting a query rule corresponding to the category of the query button, for example, if the query is fuzzy, adopting the fuzzy query rule; and (4) performing classified query, namely searching management information of the corresponding document in the database by adopting a classified query rule, wherein the management information comprises node information and document attribute information of the target document in the tree-shaped document structure, and displaying the information on a front-end interface so as to facilitate the user to check. Furthermore, the method provides a downloading function for the user, can locate and search the document in the document storage server, returns a downloading link of the document in a front-end interface, facilitates the user to download a document source file, can provide an online preview and viewing function for the pdf or audio/video file in the file format, increases the convenience of document preview, and improves the accuracy of the downloaded document by reading in advance.
In the document management method provided by this embodiment, a query request generated by triggering a query button by a user is received, and a query rule corresponding to the type of the query button is adopted to search for management information of a corresponding document in a database and display the management information on a front-end interface. The method and the device have the advantages that various query functions are provided, each query function is provided with a corresponding query rule, so that a query mode is more flexible and accurate, document query can be realized only by triggering a query button by a user, document query convenience is improved, and document query efficiency is also improved. In addition, the query result is displayed on the front-end interface, so that the query result is convenient for the user to check, and the human-family interactivity is improved.
Considering that the document content may be changed after the document is stored in the document archiving system, or a user needs to purposefully edit the document information at a certain tree node of the document tree structure, the tree document structure editing function may be set, as shown in fig. 8, in an embodiment, the method further includes:
s501, receiving an editing request triggered by a user at any node under a tree-shaped document structure of a target document; the editing request carries the content to be edited.
And S502, according to the editing request, executing the operation corresponding to the content to be edited at the corresponding node.
Optionally, the edit request is for requesting at least one of: creating a new node for the corresponding node in the tree document structure; modifying or deleting the document information of the corresponding node; and uploading the new document on the corresponding node.
In practical application, for a specific document, a user manual filing function may be provided, for example, a new node is created in a corresponding node in the tree document structure, and a new document is uploaded in the corresponding node, and editing operations such as creation, modification, deletion, and the like of the node may also be performed on the corresponding tree node.
Taking uploading a new document on a corresponding node as an example, specifically, when a user needs to archive a specific document under a certain document node, the user can click an "upload" button under a tree node corresponding to a user archiving interface, so that the document can be archived under a related tree node, and the document archiving is completed. And after the document is filed, the document uploading micro-service stores the document and stores the processed tree node information and the document information into a database.
Based on this, no matter which editing operation needs to be performed under the tree structure node, a user can start an editing request at a certain node of an archive tree structure display interface in the document archiving system, and the editing request needs to carry the content to be edited, so that after the document archiving system receives the editing request, the operation corresponding to the content to be edited can be executed at the corresponding node according to the editing request. For example, if a new node needs to be created, the operation of creating the new node is executed; or if the document is required to be uploaded at the corresponding node, the uploaded document is output at the corresponding document.
Optionally, in order to further make the document filing result more accurate and intuitive, the filing file may be subjected to relevant statistics and display according to the document filing rule. Specifically, after a large number of documents are uploaded to the document filing system, a user can count the documents according to different requirements, and the statistical result can be displayed in a data visualization mode through a histogram, a pie chart, a curve chart and the like, so that the visualization of the document filing result is improved.
In the document management method provided by this embodiment, an editing request carrying content to be edited, which is triggered by a user at any node in the tree-shaped document structure of a target document, is received, and an operation corresponding to the content to be edited is executed at a corresponding node according to the editing request. The editing request can realize that a user manually creates nodes and editing nodes of the tree-shaped document, or uploads the document at the corresponding nodes, and simultaneously provides a manual filing function, is compatible with a traditional filing mode, and meets the personalized requirements of the user. When any node of the document filing system is edited, the document information can be supplemented through a user uploading interface, so that the complicated and changeable document filing system is more humanized and intelligent, and the user experience is more convenient and faster.
In addition, in an embodiment, the present application further provides an embodiment of a document management method, as shown in fig. 9 and 10, the embodiment including:
and S1, uploading the target document.
Referring to fig. 9, the user configures the document archiving rules to the rules engine, and then triggers a target document upload request to upload the target document.
S2, a target document identification is generated as a document storage ID.
And after receiving the uploaded target document, the document uploading micro-service in the document archiving system generates a target document identifier as a document storage ID.
S3, the target document is sent.
And the document uploading micro-service stores the target document to a document storage server and stores the target document.
S4, calling the document rule engine, and transmitting the document identification and the file name.
The document upload microservice invokes the document rules engine and passes the target document identification into the document rules engine.
S5, documents are filed according to the arranged document filing rule, and management information including document tree node information and document information is generated.
The document rule engine reads the document filing rule and the naming information and the identification of the target document and generates management information comprising document tree node information and document information.
And S6, processing and storing the document information according to the node selected by the user and the document information.
And the document rule engine sends the document tree node information and the management information of the document information to a database for storage.
S7, management information is returned.
The management information comprises document tree node information and document information, and if a document search query is received, the management information is returned and displayed on a front-end interface of the document archiving system.
The implementation principle and technical effect of each step in the document management method provided by this embodiment are similar to those in the previous embodiments of the document management method, and are not described herein again. The implementation manner of each step in the embodiment of fig. 10 is only an example, and is not limited to this, and the order of each step may be adjusted in practical application as long as the purpose of each step can be achieved.
It should be understood that although the various steps in the flow charts of fig. 2-10 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-10 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in FIG. 11, there is provided a document managing apparatus including: receiving module 10, calling module 11, wherein:
a receiving module 10, configured to receive an upload request of at least one target document; naming a target document according to a preset document filing rule;
the calling module 11 is used for calling the document uploading micro-service to store the target document according to the uploading request; the calling module 11 is specifically configured to call a document rule engine to read a document filing rule and a name of a target document, generate management information of the target document, and store the management information in a database.
In an embodiment, the invoking module 11 further includes a storage module, and the storage module is configured to upload the target document to a document storage server for storage.
In one embodiment, the memory module includes:
the generating unit is used for generating a document identifier for the target document; the document identification is the unique identification of the target document in the document storage server;
and the storage unit is used for storing the target document in the document storage server by using the document identification and the name index of the target document.
In one embodiment, the apparatus further comprises:
the rule uploading module is used for receiving a rule uploading request triggered by a user in a front-end interface; the rule uploading request carries a document filing rule;
and the rule storage module is used for uploading the document archiving rule to the document rule engine for storage.
In one embodiment, the apparatus further comprises: the display module is used for displaying the management information in the front-end interface; the management information includes node information and document attribute information of the target document under the tree document structure.
In one embodiment, the front-end interface includes a query button; the query buttons comprise query buttons of different categories, and the query buttons of different categories correspond to different query rules; the device also includes:
the query request module is used for receiving a query request generated by triggering a query button by a user;
and the query result module is used for searching the management information of the corresponding document in the database by adopting the query rule corresponding to the category of the query button and displaying the management information on the front-end interface.
In one embodiment, the apparatus further comprises:
the editing request module is used for receiving an editing request triggered by a user at any node under the tree-shaped document structure of the target document; the editing request carries the content to be edited;
and the editing processing module is used for executing the operation corresponding to the content to be edited at the corresponding node according to the editing request.
In one embodiment, the edit request requests at least one of:
creating a new node for the corresponding node in the tree document structure;
modifying or deleting the document information of the corresponding node;
and uploading the new document on the corresponding node.
In one embodiment, the document attribute information includes at least one of a document name, a document type, a version, a language, a document format, an upload date, and storage path information.
For the specific definition of the document management apparatus, reference may be made to the above definition of the document management method, which is not described herein again. The respective modules in the document managing apparatus described above may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a document management method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like. The processor in the computer device may also be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving an uploading request of at least one target document; naming a target document according to a preset document filing rule;
according to the uploading request, calling a document uploading micro-service to store the target document;
the method for storing the target document by calling the document uploading microservice comprises the following steps:
and calling a document rule engine to read the document filing rule and the name of the target document, generating management information of the target document, and storing the management information into a database.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving an uploading request of at least one target document; naming a target document according to a preset document filing rule;
according to the uploading request, calling a document uploading micro-service to store the target document;
the method for storing the target document by calling the document uploading microservice comprises the following steps:
and calling a document rule engine to read the document filing rule and the name of the target document, generating management information of the target document, and storing the management information into a database.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), enhanced SDRA M (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A document management method, characterized in that the method comprises:
receiving an uploading request of at least one target document; naming the target document according to a preset document filing rule;
calling a document uploading micro-service to store the target document according to the uploading request;
the calling of the document uploading microservice for storing the target document comprises the following steps:
and calling a document rule engine to read the document filing rule and the name of the target document, generating management information of the target document, and storing the management information into a database.
2. The method of claim 1, wherein the invoking the document upload microservice stores the target document, further comprising:
and uploading the target document to a document storage server for storage.
3. The method of claim 2, wherein uploading the target document to a document storage server for storage comprises:
generating a document identification for the target document; the document identification is the only identification of the target document in the document storage server;
storing the target document in the document storage server with the document identification and/or the named index of the target document.
4. The method according to any of claims 1-3, wherein prior to receiving an upload request for at least one target document, the method further comprises:
receiving a rule uploading request triggered by a user in a front-end interface; the rule uploading request carries the document archiving rule;
and uploading the document archiving rule to the document rule engine for storage.
5. The method of any of claims 1-3, wherein after storing the management information in a database, the method further comprises:
displaying the management information in a front-end interface; the management information comprises node information and document attribute information of the target document in a tree document structure.
6. The method of claim 5, wherein the front-end interface includes a query button; the query buttons comprise query buttons of different categories, and the query buttons of different categories correspond to different query rules;
the method further comprises:
receiving a query request generated by triggering the query button by a user;
and searching the management information of the corresponding document in the database by adopting a query rule corresponding to the category of the query button, and displaying the management information on the front-end interface.
7. The method according to any one of claims 1-3, further comprising:
receiving an editing request triggered by a user at any node under the tree-shaped document structure of the target document; the editing request carries the content to be edited;
and executing the operation corresponding to the content to be edited at the corresponding node according to the editing request.
8. A document management apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving an uploading request of at least one target document; naming the target document according to a preset document filing rule;
the calling module is used for calling a document uploading micro-service to store the target document according to the uploading request;
the calling module is specifically used for calling a document rule engine to read the document filing rule and the name of the target document, generating management information of the target document and storing the management information into a database; the management information comprises node information and document attribute information of the target document in a tree document structure.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011223729.7A 2020-11-05 2020-11-05 Document management method, document management device, computer equipment and storage medium Pending CN112328852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011223729.7A CN112328852A (en) 2020-11-05 2020-11-05 Document management method, document management device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011223729.7A CN112328852A (en) 2020-11-05 2020-11-05 Document management method, document management device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112328852A true CN112328852A (en) 2021-02-05

Family

ID=74315343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011223729.7A Pending CN112328852A (en) 2020-11-05 2020-11-05 Document management method, document management device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112328852A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220831A (en) * 2021-04-30 2021-08-06 中核武汉核电运行技术股份有限公司 Nuclear power plant document selection display method and device and electronic equipment
CN113467860A (en) * 2021-06-22 2021-10-01 上海星融汽车科技有限公司 Method and device for executing service logic of program source code
CN114938391A (en) * 2022-06-09 2022-08-23 中国联合网络通信集团有限公司 Data processing method, device, equipment and medium
CN115905120A (en) * 2022-11-03 2023-04-04 湖南长银五八消费金融股份有限公司 Archive file management method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636469A (en) * 2015-02-10 2015-05-20 广州供电局有限公司 Automatic file classification management method and system
CN105894142A (en) * 2014-10-21 2016-08-24 北京京航计算通讯研究所 Electronic process based filing and modeling method
CN110109880A (en) * 2018-08-17 2019-08-09 深圳壹账通智能科技有限公司 Image documents collecting method, device, equipment and computer readable storage medium
CN111178836A (en) * 2019-12-25 2020-05-19 远光软件股份有限公司 Batch archiving method, device and equipment for electronic documents and storage medium
CN111352898A (en) * 2020-05-25 2020-06-30 浙江明度智控科技有限公司 Intelligent filing method and system for drug declaration document
CN111353280A (en) * 2020-05-25 2020-06-30 浙江明度智控科技有限公司 Method and system for performing hyperlink editing on PDF (Portable document Format) medicine document

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894142A (en) * 2014-10-21 2016-08-24 北京京航计算通讯研究所 Electronic process based filing and modeling method
CN104636469A (en) * 2015-02-10 2015-05-20 广州供电局有限公司 Automatic file classification management method and system
CN110109880A (en) * 2018-08-17 2019-08-09 深圳壹账通智能科技有限公司 Image documents collecting method, device, equipment and computer readable storage medium
CN111178836A (en) * 2019-12-25 2020-05-19 远光软件股份有限公司 Batch archiving method, device and equipment for electronic documents and storage medium
CN111352898A (en) * 2020-05-25 2020-06-30 浙江明度智控科技有限公司 Intelligent filing method and system for drug declaration document
CN111353280A (en) * 2020-05-25 2020-06-30 浙江明度智控科技有限公司 Method and system for performing hyperlink editing on PDF (Portable document Format) medicine document

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220831A (en) * 2021-04-30 2021-08-06 中核武汉核电运行技术股份有限公司 Nuclear power plant document selection display method and device and electronic equipment
CN113467860A (en) * 2021-06-22 2021-10-01 上海星融汽车科技有限公司 Method and device for executing service logic of program source code
CN113467860B (en) * 2021-06-22 2024-01-19 上海星融汽车科技有限公司 Service logic execution method and device of program source code
CN114938391A (en) * 2022-06-09 2022-08-23 中国联合网络通信集团有限公司 Data processing method, device, equipment and medium
CN114938391B (en) * 2022-06-09 2024-01-12 中国联合网络通信集团有限公司 Data processing method, device, equipment and medium
CN115905120A (en) * 2022-11-03 2023-04-04 湖南长银五八消费金融股份有限公司 Archive file management method and device, computer equipment and storage medium
CN115905120B (en) * 2022-11-03 2023-12-05 湖南长银五八消费金融股份有限公司 Archive file management method, archive file management device, archive file management computer device and archive file management storage medium

Similar Documents

Publication Publication Date Title
CN109074537B (en) Electronic system, computing device and method in computing device
US11681654B2 (en) Context-based file selection
CN112328852A (en) Document management method, document management device, computer equipment and storage medium
JP6303023B2 (en) Temporary eventing system and method
RU2468424C2 (en) Collecting and presenting time-based action information
CN111417949B (en) Content-based transformation of digital documents
US9075895B2 (en) Case data visualization application
US9251130B1 (en) Tagging annotations of electronic books
US20150248465A1 (en) Method and apparatus for processing history operation records of electronic terminal, and storage medium
US9171132B1 (en) Electronic note management system and user-interface
US9646394B2 (en) Case data visualization application
US9767110B2 (en) Case data visualization application
EP1645948A2 (en) Automatic data view selection
US20070157100A1 (en) System and method for organization and retrieval of files
US20100169326A1 (en) Method, apparatus and computer program product for providing analysis and visualization of content items association
US11474843B2 (en) AI-driven human-computer interface for associating low-level content with high-level activities using topics as an abstraction
AU2017265144B2 (en) Information retrieval
CN107729483B (en) Classification display method, classification display device, terminal and computer-readable storage medium
CN109002337A (en) A kind of application navigation method and device
CN107729485B (en) Data management method, device, terminal and computer readable storage medium
US11023418B2 (en) Keyword-based data management system and method
JP4469818B2 (en) Data management apparatus, data program, and data management method
US10437614B2 (en) System and method for designating multi-object favorites
CN115422131B (en) Business audit knowledge base retrieval method, device, equipment and computer readable medium
JP2023138304A (en) Information processing system, information processor, method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination