Electronic document management method, electronic device and program product

By acquiring and processing file processing messages from the business system, efficient management of electronic documents is achieved, the problem of inefficient electronic document management in the existing technology is solved, and the automation, structured storage and efficient utilization of document archive data is realized.

CN120086183APending Publication Date: 2025-06-03KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411331648.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-06-03

AI Technical Summary

Technical Problem

The prior art cannot realize the efficient management of electronic documents, resulting in inefficient archiving, custody and utilization of electronic files.

Method used

By obtaining the file processing messages sent by the business system, pulling document file information, obtaining electronic document templates based on the business system ID, storing business attributes and file attributes for each electronic document, downloading and storing electronic document images, and establishing the association relationship between the image storage address and document ID and file serial number.

Benefits of technology

After the business system generates documents, the automated and structured storage of document archive data is achieved, which is conducive to the efficient use of document archive data and improves the management efficiency of electronic documents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120086183A_ABST
    Figure CN120086183A_ABST
Patent Text Reader

Abstract

The invention provides an electronic document management method, electronic equipment and a program product. The method comprises the following steps: acquiring an archive processing message sent by a service system; wherein the file processing message comprises a service system ID, file processing indication information, a document ID and a document file information pulling address; in response to the file processing indication information that the file is not deleted, pulling the document file information by accessing the document file information pulling address; wherein the document archive information comprises business attribute information of a document and archive attribute information of at least one electronic document contained in the document, the business attribute information comprises a business system ID and a document ID, and the archive attribute information comprises an archive serial number and a file downloading address; obtaining an electronic document template of the corresponding service system according to the service system ID; wherein the electronic document template comprises configuration data of a service attribute field and a file attribute field; for each electronic document, correspondingly storing the service attribute information and the service attribute field, and correspondingly storing the archive attribute information and the archive attribute field; and downloading a corresponding electronic document image according to a file downloading address in the archive attribute information, storing the electronic document image, and establishing an association relationship between the storage address of the electronic document image and the document ID and the archive sequence number. According to the invention, after the business system generates the document, automatic and structured storage of the document archive data is realized, efficient utilization of the document archive data is facilitated, and efficient management of the electronic document is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and particularly to an electronic document management method, an electronic device, and a program product. Background Art

[0002] In the current era of rapid development of network technology, electronic computers are increasingly widely used in various fields of production and life. Different from the management and utilization of paper documents in the past, electronic documents are now increasingly widely used. After these electronic documents are used, they will inevitably form a new form of archives - electronic archives. Different from the paper archives in the past, the particularity of the carrier of electronic archives determines the characteristics of the filing, storage, and utilization of electronic archives. Therefore, how to achieve efficient management of electronic documents has become an important research topic. Summary of the Invention

[0003] The present invention provides an electronic document management method, an electronic device, and a program product to solve the defect in the prior art that efficient management of electronic documents cannot be achieved, and to achieve efficient management of electronic documents.

[0004] The present invention provides an electronic document management method, including the following steps: obtaining an archive processing message sent by a business system; wherein, the archive processing message includes a business system ID, archive processing instruction information, a document ID, and a document archive information pulling address; in response to the archive processing instruction information indicating not to delete the archive, pulling the document archive information by accessing the document archive information pulling address; wherein, the document archive information includes the business attribute information of the document and the archive attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the archive attribute information includes an archive serial number and a file download address; obtaining an electronic document template of the corresponding business system according to the business system ID; wherein, the electronic document template includes configuration data of business attribute fields and archive attribute fields; for each of the electronic documents, storing the business attribute information corresponding to the business attribute fields, and storing the archive attribute information corresponding to the archive attribute fields; downloading the corresponding electronic document image according to the file download address in the archive attribute information, storing the electronic document image, and establishing an association relationship between the electronic document image storage address, the document ID, and the archive serial number.

[0005] According to an electronic document management method provided by the present invention, before storing the business attribute information corresponding to the business attribute fields and storing the archival attribute information corresponding to the archival attribute fields for each of the electronic documents, the method further includes: in response to the archival data corresponding to the document ID having been stored, deleting the archival data corresponding to the document ID; wherein the archival data includes the business attribute information, the archival attribute information, and the electronic document image.

[0006] According to an electronic document management method provided by the present invention, the method further includes: in response to the archival processing instruction information being to delete an archive, obtaining and deleting the archival data corresponding to the business system ID and the document ID.

[0007] According to an electronic document management method provided by the present invention, obtaining the archival processing message sent by the business system includes: obtaining the archival processing message sent by the business system through a message middleware; wherein the message body middleware includes RocketMQ.

[0008] According to an electronic document management method provided by the present invention, the electronic document template, the business attribute information, and the archival attribute information are stored in a first database, and the electronic document image is stored in a second database; wherein the first database includes a MongoDB database, and the second database includes an S3 database.

[0009] According to an electronic document management method provided by the present invention, the method further includes: obtaining the configuration data of the business attribute fields and the archival attribute fields of the business system from the electronic archive front end, and generating the electronic document template corresponding to the business system according to the configuration data; wherein the configuration data includes at least one of a field identifier, a field display name, whether the field can be set as a retrieval field, whether the field is displayed in the details, and the field display order.

[0010] According to an electronic document management method provided by the present invention, the method further includes: receiving an archival data retrieval request; wherein the archival data retrieval request includes retrieval fields; integrating the retrieval fields to obtain an archival data retrieval result, and sending the archival data retrieval result to the electronic archive front end and displaying it in a list in units of the electronic documents.

[0011] According to an electronic document management method provided by the present invention, a preview button of the electronic document image is set corresponding to the retrieval result of the file data of each said electronic document; in response to receiving the trigger information of the preview button, the storage address of the electronic document image bound according to the association relationship is obtained, and the electronic document image is obtained by accessing the storage address of the electronic document image and displayed on the front desk of the electronic file, or a preview link of the electronic document image is obtained by accessing the storage address of the image data, and the preview link is sent and displayed on the front desk of the electronic file.

[0012] According to an electronic document management method provided by the present invention, a file details viewing button is set corresponding to the retrieval result of the file data of each said electronic document; in response to receiving the trigger information of the file details viewing button, the business attribute information of the business attribute fields and the file attribute information of the file attribute fields corresponding to the electronic document are displayed according to the fields displayed in the details configured in the configuration data and the display order of the fields.

[0013] The present invention also provides an electronic document management device, including the following modules: a first acquisition module, configured to: acquire a file processing message sent by a business system; wherein, the file processing message includes a business system ID, file processing indication information, a document ID, and a pulling address of document file information; a pulling module, configured to: in response to the file processing indication information being not to delete the file, pull the document file information by accessing the pulling address of the document file information; wherein, the document file information includes the business attribute information of the document and the file attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the file attribute information includes a file serial number and a file download address; a second acquisition module, configured to: acquire an electronic document template of the corresponding business system according to the business system ID; wherein, the electronic document template includes configuration data of business attribute fields and file attribute fields; a first storage module, configured to: for each said electronic document, store the business attribute information corresponding to the business attribute fields and store the file attribute information corresponding to the file attribute fields; a second storage module, configured to: download the corresponding electronic document image according to the file download address in the file attribute information, store the electronic document image, and establish an association relationship between the storage address of the electronic document image and the document ID and the file serial number.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the electronic document management method described in any one of the above is implemented.

[0015] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the electronic document management method as described in any one of the above is implemented.

[0016] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the electronic document management method as described in any one of the above is implemented.

[0017] The electronic document management method, electronic device and program product provided by the present invention, by obtaining an archive processing message sent by a business system, the archive processing message includes a business system ID, archive processing instruction information, a document ID and a document archive information pulling address. In response to the archive processing instruction information indicating not to delete the archive, the document archive information is pulled by accessing the document archive information pulling address. The document archive information includes the business attribute information of the document and the archive attribute information of at least one electronic document included in the document. The business attribute information includes the business system ID and the document ID, and the archive attribute information includes an archive serial number and a file download address. The electronic document template of the corresponding business system is obtained according to the business system ID. The electronic document template includes configuration data of business attribute fields and archive attribute fields. For each electronic document, the business attribute information is stored corresponding to the business attribute fields, and the archive attribute information is stored corresponding to the archive attribute fields. The corresponding electronic document image is downloaded according to the file download address in the archive attribute information, the electronic document image is stored, and an association relationship between the electronic document image storage address, the document ID and the archive serial number is established, realizing the automated and structured storage of document archive data after the business system generates a document, facilitating the efficient utilization of document archive data and realizing the efficient management of electronic documents. Description of the Drawings

[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without creative efforts.

[0019] Figure 1 is one of the flow schematic diagrams of the electronic document management method provided by the present invention.

[0020] Figure 2 is the schematic diagram of the archive processing message in the electronic document management method provided by the present invention.

[0021] Figure 3 is the schematic diagram of the document archive information in the electronic document management method provided by the present invention.

[0022] Figure 4It is a schematic diagram of sending an archive processing message in the electronic document management method provided by the present invention.

[0023] Figure 5 It is a schematic diagram of the process of obtaining document archive information in the electronic document management method provided by the present invention.

[0024] Figure 6 It is a schematic diagram of configuration data of business attribute fields in the electronic document management method provided by the present invention.

[0025] Figure 7 It is a schematic diagram of configuration data of archive attribute fields in the electronic document management method provided by the present invention.

[0026] Figure 8 It is a schematic diagram of a retrieval page in the electronic document management method provided by the present invention.

[0027] Figure 9 It is a schematic diagram of a details page in the electronic document management method provided by the present invention.

[0028] Figure 10 It is the second schematic diagram of the process of the electronic document management method provided by the present invention.

[0029] Figure 11 It is a schematic diagram of the structure of the electronic document management device provided by the present invention.

[0030] Figure 12 It is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed implementation manners

[0031] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Obviously, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without creative efforts shall fall within the protection scope of the present invention.

[0032] Figure 1 It is the first schematic diagram of the process of the electronic document management method provided by the present invention. As Figure 1 shown, the method includes: Step S1, obtaining an archive processing message sent by a business system; wherein, the archive processing message includes a business system ID, archive processing indication information, a document ID, and a pull address of document archive information.

[0033] The electronic document management method provided by the present invention can be applied to an electronic document backend server (hereinafter referred to as the electronic document background), but can also be any other electronic device with data processing capabilities. In the following embodiments, the electronic document management method provided by the present invention will be described by taking the application to the electronic document background as an example.

[0034] The electronic document background obtains an archive processing message sent by the business system. Among them, the archive processing message can be directly sent by the business system to the electronic document background, or can be obtained by the electronic document background through listening. The obtaining method of the archive processing message is not limited in this embodiment.

[0035] The archive processing message includes a business system ID, archive processing instruction information, a document ID, and a pull address of the document archive information. Among them, the business system ID is the unique identifier of the business system, the archive processing instruction information is used to indicate the processing method of the document archive, the document ID is the unique identifier of the document, and the pull address of the document archive information is used to pull the document archive information corresponding to the document.

[0036] Figure 2 It is a schematic diagram of the archive processing message in the electronic document management method provided by the present invention. Among them, the unique identifier of the document is the document ID, and the document data pull address is the pull address of the document archive information. In addition, the archive processing message may further include a message signature token information for verifying the identity of the business system.

[0037] Step S2: In response to the archive processing instruction information indicating not to delete the archive, pull the document archive information by accessing the pull address of the document archive information; wherein, the document archive information includes the business attribute information of the document and the archive attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the archive attribute information includes the archive serial number and the file download address.

[0038] If the archive processing instruction information indicates not to delete the archive, such as indicating new / updated, it means not to instruct to delete the archive, and it can be new or updated. As Figure 2 shown, the document status value is 1, indicating new / delete. If the archive processing instruction information indicates not to delete the archive, pull the document archive information by accessing the pull address of the document archive information. Among them, the document archive information includes the business attribute information of the document and the archive attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the archive attribute information includes the archive serial number and the file download address.

[0039] Figure 3 It is a schematic diagram of the document archive information in the electronic document management method provided by the present invention. As Figure 3As shown, the system source (business system ID), document number (document ID), business information link, name of the entity to which the document belongs, code of the entity to which the document belongs, name of the organization to which the document belongs, code of the organization to which the document belongs, business type code, document type, document name, contract document number of the flash store, invoice document number of the flash store, payment document number of the flash store, and process number corresponding to the Guoxin number belong to business attribute information. Among them, the document types include contracts, payment vouchers, invoices, etc. The archivelist lists the archive attribute information of at least one electronic document included in the document. Among them, the archive attribute information of each electronic document is shown separately. The archive attribute information includes, for example, archive serial number, archive name, archive status, file download address, three-level category code, etc. The specific content in the document archive information can be set by the business party according to requirements.

[0040] Step S3: Obtain the electronic document template of the corresponding business system according to the business system ID; among them, the electronic document template includes configuration data of business attribute fields and archive attribute fields.

[0041] Obtain the electronic document template of the corresponding business system according to the business system ID. Each business system has a corresponding electronic document template. The electronic document template includes configuration data of business attribute fields and archive attribute fields. The configuration data of business attribute fields and archive attribute fields can be, for example, the specific content and rules of the fields.

[0042] Step S4: For each of the electronic documents, store the business attribute information corresponding to the business attribute fields and store the archive attribute information corresponding to the archive attribute fields.

[0043] The electronic archive background parses the document archive information according to the agreed format of the document archive information and the electronic document template. For each electronic document, store the business attribute information corresponding to the business attribute fields and store the archive attribute information corresponding to the archive attribute fields. If there are fields not agreed in the document archive information, discard the fields. The business attribute information and archive attribute information in the document archive information are actually the specific data of the business attribute fields and archive attribute fields. It is possible to make the business attribute information and archive attribute information in the document archive information correspond to field identifiers respectively. The business attribute fields and archive attribute fields in the electronic document template also have field identifiers. According to the agreement, for the same field, the field identifiers in the document archive information and the electronic document are the same. In this way, the business attribute information can be stored corresponding to the business attribute fields and the archive attribute information can be stored corresponding to the archive attribute fields according to the field identifiers. As Figure 2 shown, documentNumber can be used as the field identifier for the document ID.

[0044] Step S5: Download the corresponding electronic document image according to the file download address in the file attribute information, store the electronic document image, and establish an association relationship between the storage address of the electronic document image, the document ID, and the file serial number.

[0045] As Figure 3 shown, the file attribute information of each electronic document includes a file download address for downloading the electronic document image of this electronic document. This address is provided by the business system. After the electronic file background finishes downloading the electronic document image, it will re-store the electronic document image, record the storage address of the electronic document image, and establish an association relationship between the storage address of the electronic document image, the document ID, and the file serial number, indicating which document and which electronic document image the electronic document image stored at this storage address is.

[0046] The electronic document management method provided by the present invention obtains an archive processing message sent by a business system. The archive processing message includes a business system ID, archive processing instruction information, a document ID, and a document archive information pulling address. In response to the archive processing instruction information indicating not to delete the archive, it pulls the document archive information by accessing the document archive information pulling address. The document archive information includes the business attribute information of the document and the file attribute information of at least one electronic document included in the document. The business attribute information includes the business system ID and the document ID. The file attribute information includes the file serial number and the file download address. It obtains the electronic document template of the corresponding business system according to the business system ID. The electronic document template includes configuration data of business attribute fields and file attribute fields. For each electronic document, it stores the business attribute information corresponding to the business attribute fields and stores the file attribute information corresponding to the file attribute fields. It downloads the corresponding electronic document image according to the file download address in the file attribute information, stores the electronic document image, and establishes an association relationship between the storage address of the electronic document image, the document ID, and the file serial number, realizing the automated and structured storage of document archive data after the business system generates a document, which is beneficial to the efficient utilization of document archive data and realizes the efficient management of electronic documents.

[0047] According to an electronic document management method provided by the present invention, before storing the business attribute information corresponding to the business attribute fields and storing the file attribute information corresponding to the file attribute fields for each electronic document, the method further includes: in response to the archive data corresponding to the document ID already being stored, deleting the archive data corresponding to the document ID; wherein, the archive data includes the business attribute information, the file attribute information, and the electronic document image.

[0048] If the file processing instruction information is not to delete the file, it means that the file will not be deleted. It may be a newly added file or an updated file. Before storing the business attribute information corresponding to the business attribute fields and the file attribute information corresponding to the file attribute fields for each electronic document, it is determined whether there is already file data corresponding to the document ID stored. If there is already file data corresponding to the document ID stored, the file data corresponding to the document ID is deleted. Among them, the file data includes business attribute information, file attribute information, and electronic document images.

[0049] The electronic document management method provided by the present invention, before storing the business attribute information corresponding to the business attribute fields and the file attribute information corresponding to the file attribute fields for each electronic document, in response to the fact that there is already file data corresponding to the document ID stored, deletes the file data corresponding to the document ID, thus avoiding redundant storage of file data.

[0050] According to an electronic document management method provided by the present invention, the method further includes: in response to the file processing instruction information being to delete the file, obtaining and deleting the file data corresponding to the business system ID and the document ID.

[0051] If the file processing instruction information is to delete the file, obtain and delete the file data corresponding to the business system ID and the document ID. Among them, the file data includes business attribute information, file attribute information, and electronic document images.

[0052] The electronic document management method provided by the present invention, by responding to the file processing instruction information being to delete the file, obtaining and deleting the file data corresponding to the business system ID and the document ID, realizes deleting file data according to the instruction of the business system.

[0053] According to an electronic document management method provided by the present invention, the obtaining of the file processing message sent by the business system includes: obtaining the file processing message sent by the business system through a message middleware; among them, the message body middleware includes RocketMQ.

[0054] To reduce the burden on the business system and improve processing efficiency, the transmission of the file processing message from the business system to the electronic file background can be realized through the message middleware. The message body middleware RocketMQ has characteristics such as high throughput, low latency, and high reliability, can effectively handle the processing requirements of large-scale electronic document data, reduce the operation cost of enterprises at the same time, greatly improve the efficiency of document management, and meet the requirements of real-time processing. Through RocketMQ, the business system interacts with the electronic file background, and important information is covered in the message body. After the file background monitors the message, it accesses the document file information pulling address (callback address) to obtain the document file information.

[0055] Figure 4 It is a schematic diagram of sending an archive processing message in the electronic document management method provided by the present invention. Among them, Flash Store is a certain business system. The business system can send MQ messages at a specific point in time, and the messages include callback addresses.

[0056] Figure 5 It is a schematic diagram of the process of obtaining document archive information in the electronic document management method provided by the present invention. The archive side (electronic archive background) accesses the callback address in the notification message (archive processing message), and Flash Store queries and returns the document archive information. If the document archive information of the document does not exist, the archive side adds the document archive information. If the document archive information of the document already exists, the archive side overwrites the old document archive information with the new document archive information.

[0057] The electronic document management method provided by the present invention obtains the archive processing message sent by the business system through the message middleware, realizing the low-cost access of the access party to the electronic archive system.

[0058] According to an electronic document management method provided by the present invention, the electronic document template, the business attribute information, and the archive attribute information are stored in the first database, and the electronic document image is stored in the second database; wherein, the first database includes a MongoDB database, and the second database includes an S3 database.

[0059] The electronic document template, the business attribute information, and the archive attribute information are stored in the first database. Among them, the first database can be a MongoDB database. The data structure of MongoDB is flexible, has high read and write performance, and has horizontal scalability, and can conveniently aggregate and retrieve document data. MongoDB can be used as the storage service for the underlying document data (including the electronic document template, the business attribute information, and the archive attribute information), which can not only improve the query efficiency of the electronic document management system, but also meet the needs of data sharing and collaborative work between different departments through permission design, and solve problems such as data isolation.

[0060] The electronic document image is stored in the second database. Among them, the second database can be an S3 database. The S3 database has a super-large storage capacity and high reliability. Using the S3 database to store the electronic document image can effectively solve the problem of insufficient data storage space and ensure the security of the data at the same time.

[0061] The electronic document management method provided by the present invention stores the electronic document template, business attribute information, and file attribute information in the first database, and stores the electronic document images in the second database. The first database includes a MongoDB database, and the second database includes an S3 database, which improves the efficiency of large-scale data query and processing, enhances data storage security, and can process large-scale electronic file data without increasing the enterprise operation cost.

[0062] According to an electronic document management method provided by the present invention, the method further includes: obtaining the configuration data of the business attribute fields and the file attribute fields of the business system from the front end of the electronic file, and generating the electronic document template corresponding to the business system according to the configuration data; wherein, the configuration data includes at least one of a field identifier, a field display name, whether the field can be set as a retrieval field, whether the field is displayed in the details, and the field display order.

[0063] The present invention provides a system registration and configuration function in the electronic file system to implement metadata management, which facilitates the quick access of different services to the system. After each business system performs system registration, it performs business attribute configuration and file attribute configuration. When performing business attribute configuration and file attribute configuration, there can be some fixed fields, and in addition, the business side can customize other required fields.

[0064] The electronic document template in the electronic file background is generated based on the configuration data of the business attribute fields and the file attribute fields. After the business attribute fields and the file attribute fields are configured in the front end of the electronic file, they are transmitted to the back end of the electronic file in a predefined format. The back end of the electronic file generates an electronic document template according to the business attribute fields and the file attribute fields configured in the front end and stores it in the first database for relevant data processing. This provides good flexibility. The business side can configure and modify the configuration data of the business attribute fields and the file attribute fields according to different requirements. The back end of the electronic document system obtains the configuration data of the business attribute fields and the file attribute fields of the business system from the front end of the electronic file, and generates the electronic document template corresponding to the business system according to the configuration data, so as to generate or update the electronic document template.

[0065] Figure 6 It is a schematic diagram of the configuration data of the business attribute fields in the electronic document management method provided by the present invention.

[0066] Figure 7 It is a schematic diagram of the configuration data of the file attribute fields in the electronic document management method provided by the present invention.

[0067] The configuration data includes at least one of field identifier, field display name, whether the field can be set as a retrieval field, whether the field is displayed in details, and the field display order, and can be flexibly set according to needs. Based on the characteristics of template configuration, the electronic file system does not need to perform additional development processing and can meet the requirements of different business systems.

[0068] The electronic document management method provided by the present invention improves the convenience and flexibility of generating an electronic document template by obtaining the configuration data of business attribute fields and file attribute fields of a business system from the front end of the electronic file, and generating an electronic document template corresponding to the business system according to the configuration data.

[0069] According to an electronic document management method provided by the present invention, the method further includes: receiving a file data retrieval request; wherein, the file data retrieval request includes retrieval fields; integrating to obtain a file data retrieval result according to the retrieval fields, and sending the file data retrieval result to the front end of the electronic file and displaying it item by item in units of the electronic document.

[0070] A retrieval page is set at the front end of the electronic file for retrieving file data. In the configuration data of the business attribute fields and the file attribute fields, there is configuration information on whether the field can be set as a retrieval field. Among them, the field configured to be able to be set as a retrieval field can be used as the field for retrieval on the retrieval page.

[0071] Figure 8 It is a schematic diagram of the retrieval page in the electronic document management method provided by the present invention. As Figure 8 shown, the retrieval fields can be set according to needs, and the field information of the retrieval fields for retrieval is input (it is not necessary to input all of them). After clicking the query, the query interface in the background is called to retrieve the file data. The electronic file background integrates to obtain a file data retrieval result and sends the file data retrieval result to the front end of the electronic file for item-by-item display in units of the electronic document. Through the retrieval page, unified management and viewing of the electronic file are realized. At the same time, the corresponding document information of the file can be jumped to and viewed according to the document / voucher number of the electronic file.

[0072] The electronic document management method provided by the present invention realizes the automatic retrieval of file data and improves the viewing efficiency of file data by receiving a file data retrieval request; wherein, the file data retrieval request includes retrieval fields, integrating to obtain a file data retrieval result according to the retrieval fields, and sending the file data retrieval result to the front end of the electronic file for item-by-item display in units of the electronic document.

[0073] According to an electronic document management method provided by the present invention, a preview button for the electronic document image is set corresponding to the file data retrieval result of each said electronic document; in response to receiving the trigger information of the preview button, the storage address of the electronic document image bound according to the association relationship is obtained, and the electronic document image is obtained by accessing the storage address of the electronic document image and displayed on the front end of the electronic file, or a preview link of the electronic document image is obtained by accessing the storage address of the image data, and the preview link is sent and displayed on the front end of the electronic file.

[0074] As Figure 8 As shown in the figure, a preview button for the electronic document image is set corresponding to the file data retrieval result of each electronic document. After the back end of the electronic document receives the trigger information of the preview button, the storage address of the electronic document image bound to the preview button is obtained, and the electronic document image is obtained by accessing the storage address of the electronic document image and displayed on the front end of the electronic file. Alternatively, after the back end of the electronic document system receives the trigger information of the preview button, a preview link of the electronic document image is obtained by accessing the storage address of the image data, and the preview link is sent and displayed on the front end of the electronic file. After the preview link is clicked, the corresponding electronic document image is displayed.

[0075] The electronic document management method provided by the present invention sets a preview button for the electronic document image corresponding to the file data retrieval result of each electronic document. In response to receiving the trigger information of the preview button, the storage address of the electronic document image bound to the preview button is obtained, and the electronic document image is obtained by accessing the storage address of the electronic document image and displayed on the front end of the electronic file, or a preview link of the electronic document image is obtained by accessing the storage address of the image data, and the preview link is sent and displayed on the front end of the electronic file, thereby realizing the preview of the electronic document image.

[0076] According to an electronic document management method provided by the present invention, a file details viewing button is set corresponding to the file data retrieval result of each said electronic document; in response to receiving the trigger information of the file details viewing button, according to the fields displayed in the details configured in the configuration data and the display order of the fields, the business attribute information of the business attribute fields corresponding to the electronic document and the file attribute information of the file attribute fields are displayed.

[0077] As Figure 8As shown, a file details viewing button is set corresponding to the file data retrieval result of each electronic document. After the electronic file background receives the trigger information of the file details viewing button, according to the fields and the field display order configured in the configuration data for display in the details, it displays the business attribute information of the business attribute fields corresponding to the electronic document and the file attribute information of the file attribute fields. Among them, the business attribute fields and the file attribute fields can be configured separately, the business attribute information and the file attribute information can be displayed separately, and when displaying, the fields to be displayed in the configured details are displayed, and they are displayed in the configured field display order.

[0078] Figure 9 is a schematic diagram of the details page in the electronic document management method provided by the present invention. As Figure 9 shown, the business attribute information and the file attribute information are respectively displayed according to the field display order of the business attribute fields and the field display order of the file attribute fields.

[0079] In addition, a destruction button can also be set for initiating the destruction of file data. After the electronic file background receives the destruction request, it destroys the corresponding file data.

[0080] The electronic document management method provided by the present invention sets a file details viewing button according to the file data retrieval result corresponding to each electronic document, and in response to receiving the trigger information of the file details viewing button, according to the fields and the field display order configured in the configuration data for display in the details, it displays the business attribute information of the business attribute fields corresponding to the electronic document and the file attribute information of the file attribute fields, realizing the details display of the business attribute information and the file attribute information.

[0081] Figure 10 is the second schematic diagram of the process of the electronic document management method provided by the present invention. As Figure 9 shown, the method includes: The business system registers through the electronic file front desk, configures business attributes and file attributes; The electronic file background enters the registered and configured information to generate an electronic document template; When the business system generates a document, it notifies the electronic file background through a message; The electronic file background, according to the attributes configured by the business system in the electronic file front desk and the rules agreed upon by the callback interface, calls back the interface of the business system to obtain the document file information, which includes business attributes and file attributes. The file attributes include the download address of the image, etc. It downloads the image and stores it in the S3 database, and obtains the S3 address; The electronic file background integrates the obtained data and stores it in MongoDB for reference; The user logs in to the electronic file front desk and sets the retrieval fields to view the file list data; The electronic file background splices data according to the query conditions and returns it to the user; The user can also request to preview the document image by clicking the preview button, and the electronic document background obtains the preview link for viewing the image from S3; The electronic file background returns the obtained preview link to the user.

[0082] The electronic document management method provided by the present invention can efficiently process large-scale electronic document data, realize the efficient archival management of electronic documents, and has good scalability.

[0083] The electronic document management device provided by the present invention will be described below. The electronic document management device described below can be correspondingly referred to the electronic document management method described above.

[0084] Figure 11 It is a schematic structural diagram of the electronic document management device provided by the present invention. As Figure 11 shown, the device includes a first acquisition module 10, a pulling module 20, a second acquisition module 30, a first storage module 40 and a second storage module 50, wherein: the first acquisition module 10 is used to: acquire the file processing message sent by the business system; wherein, the file processing message includes the business system ID, file processing indication information, document ID and the pulling address of the document file information; the pulling module 20 is used to: in response to the file processing indication information being not to delete the file, pull the document file information by accessing the pulling address of the document file information; wherein, the document file information includes the business attribute information of the document and the file attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the file attribute information includes the file serial number and the file download address; the second acquisition module 30 is used to: acquire the electronic document template of the corresponding business system according to the business system ID; wherein, the electronic document template includes the configuration data of the business attribute fields and the file attribute fields; the first storage module 40 is used to: for each of the electronic documents, store the business attribute information corresponding to the business attribute fields and store the file attribute information corresponding to the file attribute fields; the second storage module 50 is used to: download the corresponding electronic document image according to the file download address in the file attribute information, store the electronic document image, and establish the association relationship between the storage address of the electronic document image, the document ID and the file serial number.

[0085] The electronic document management device provided by the present invention obtains an archive processing message sent by a business system. The archive processing message includes a business system ID, archive processing instruction information, a document ID, and a pull address for document archive information. In response to the archive processing instruction information indicating not to delete the archive, it pulls the document archive information by accessing the pull address for document archive information. The document archive information includes the business attribute information of the document and the archive attribute information of at least one electronic document included in the document. The business attribute information includes the business system ID and the document ID. The archive attribute information includes an archive serial number and a file download address. It obtains the electronic document template of the corresponding business system according to the business system ID. The electronic document template includes configuration data of business attribute fields and archive attribute fields. For each electronic document, it stores the business attribute information corresponding to the business attribute fields and stores the archive attribute information corresponding to the archive attribute fields. It downloads the corresponding electronic document image according to the file download address in the archive attribute information, stores the electronic document image, and establishes an association relationship between the storage address of the electronic document image, the document ID, and the archive serial number. It realizes the automated and structured storage of document archive data after the business system generates a document, which is beneficial to the efficient utilization of document archive data and realizes the efficient management of electronic documents.

[0086] Figure 12 Illustrates a schematic diagram of the physical structure of an electronic device, such as Figure 12As shown in the figure, the electronic device may include: a processor 810, a communications interface 820, a memory 830, and a communication bus 840. Among them, the processor 810, the communications interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logical instructions in the memory 830 to execute the electronic document management method, which includes: obtaining an archive processing message sent by a business system; where the archive processing message includes a business system ID, archive processing indication information, a document ID, and a pull address for document archive information; in response to the archive processing indication information being not to delete the archive, pulling the document archive information by accessing the pull address for document archive information; where the document archive information includes the business attribute information of the document and the archive attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the archive attribute information includes an archive serial number and a file download address; obtaining an electronic document template of the corresponding business system according to the business system ID; where the electronic document template includes configuration data of business attribute fields and archive attribute fields; for each of the electronic documents, storing the business attribute information corresponding to the business attribute fields and storing the archive attribute information corresponding to the archive attribute fields; downloading the corresponding electronic document image according to the file download address in the archive attribute information, storing the electronic document image, and establishing an association relationship between the storage address of the electronic document image, the document ID, and the archive serial number.

[0087] In addition, when the logical instructions in the above-mentioned memory 830 are implemented in the form of software functional units and sold or used as an independent product, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, may be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc that can store program codes.

[0088] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the electronic document management method provided by each of the above methods. The method includes: obtaining an archive processing message sent by a business system; wherein, the archive processing message includes a business system ID, archive processing instruction information, a document ID, and a document archive information pulling address; in response to the archive processing instruction information indicating not to delete the archive, pulling the document archive information by accessing the document archive information pulling address; wherein, the document archive information includes the business attribute information of the document and the archive attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the archive attribute information includes an archive serial number and a file download address; obtaining an electronic document template of the corresponding business system according to the business system ID; wherein, the electronic document template includes configuration data of business attribute fields and archive attribute fields; for each of the electronic documents, storing the business attribute information corresponding to the business attribute fields and storing the archive attribute information corresponding to the archive attribute fields; downloading a corresponding electronic document image according to the file download address in the archive attribute information, storing the electronic document image, and establishing an association relationship between the electronic document image storage address, the document ID, and the archive serial number.

[0089] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements an electronic document management method provided by the above-mentioned various methods. The method includes: obtaining an archive processing message sent by a business system; wherein, the archive processing message includes a business system ID, archive processing instruction information, a document ID, and an address for pulling document archive information; in response to the archive processing instruction information indicating not to delete the archive, pulling the document archive information by accessing the address for pulling document archive information; wherein, the document archive information includes the business attribute information of the document and the archive attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the archive attribute information includes an archive serial number and a file download address; obtaining an electronic document template of the corresponding business system according to the business system ID; wherein, the electronic document template includes configuration data of business attribute fields and archive attribute fields; for each of the electronic documents, storing the business attribute information corresponding to the business attribute fields and storing the archive attribute information corresponding to the archive attribute fields; downloading the corresponding electronic document image according to the file download address in the archive attribute information, storing the electronic document image, and establishing an association relationship between the storage address of the electronic document image, the document ID, and the archive serial number.

[0090] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0091] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An electronic document management method, characterized in that: include: Obtaining a file processing message sent by a business system; wherein the file processing message includes a business system ID, file processing instruction information, a document ID, and a document file information extraction address; In response to the archive processing instruction information being not to delete the archive, the document archive information is pulled by accessing the document archive information pulling address; wherein the document archive information includes business attribute information of the document and archive attribute information of at least one electronic document included in the document, the business attribute information includes the business system ID and the document ID, and the archive attribute information includes an archive serial number and a file download address; Acquire an electronic document template of a corresponding business system according to the business system ID; wherein the electronic document template includes configuration data of a business attribute field and a file attribute field; For each electronic document, the business attribute information is stored in correspondence with the business attribute field, and the archive attribute information is stored in correspondence with the archive attribute field; The corresponding electronic document image is downloaded according to the file download address in the archive attribute information, the electronic document image is stored, and an association relationship is established between the electronic document image storage address and the document ID and the archive serial number.

2. The electronic document management method according to claim 1, characterized in that: Before storing the business attribute information and the business attribute field in correspondence with each electronic document and storing the archive attribute information and the archive attribute field in correspondence with each electronic document, the method further includes: In response to the archive data corresponding to the document ID having been stored, the archive data corresponding to the document ID is deleted; wherein the archive data includes the business attribute information, the archive attribute information and the electronic document image.

3. The electronic document management method according to claim 2, characterized in that: The method further comprises: In response to the file processing instruction information being to delete the file, the file data corresponding to the business system ID and the document ID is acquired and deleted.

4. The electronic document management method according to claim 1, characterized in that: The acquisition of the archive processing message sent by the business system includes: The archive processing message sent by the business system is obtained through the message middleware; wherein the message body middleware includes RocketMQ.

5. The electronic document management method according to claim 1, characterized in that: The electronic document template, the business attribute information and the archive attribute information are stored in a first database, and the electronic document image is stored in a second database; The first database includes a MongoDB database, and the second database includes an S3 database.

6. The electronic document management method according to claim 1, characterized in that: The method further comprises: Acquire the configuration data of the business attribute field and the archive attribute field of the business system at the electronic archive front end, and generate the electronic document template corresponding to the business system according to the configuration data; The configuration data includes at least one of a field identifier, a field display name, whether the field can be set as a search field, whether the field is displayed in the details, and a field display order.

7. The electronic document management method according to claim 6, characterized in that: The method further comprises: Receiving an archive data retrieval request; wherein the archive data retrieval request includes a retrieval field; The archive data retrieval result is obtained according to the integration of the retrieval fields, and the archive data retrieval result is sent to the electronic archive front desk and displayed in strips based on the electronic document.

8. The electronic document management method according to claim 7, characterized in that: Corresponding to the archive data retrieval result of each electronic document, a preview button of the electronic document image is provided; In response to receiving the trigger information of the preview button, the storage address of the electronic document image bound according to the association relationship is obtained, the electronic document image is obtained by accessing the electronic document image storage address and displayed on the electronic archive front end, or a preview link of the electronic document image is obtained by accessing the image data storage address, and the preview link is sent and displayed on the electronic archive front end.

9. The electronic document management method according to claim 7, characterized in that: Corresponding to the archive data retrieval result of each electronic document, a file details viewing button is set; In response to receiving the trigger information of the archive detail viewing button, the business attribute information of the business attribute field corresponding to the electronic document and the archive attribute information of the archive attribute field are displayed according to the fields displayed in the details configured in the configuration data and the field display order.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the electronic document management method according to any one of claims 1 to 9 is implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the electronic document management method according to any one of claims 1 to 9 is implemented.