Document management method and device, electronic equipment and storage medium
By obtaining document creation data and determining compliance based on preset rules, establishing the association relationship between the target document and the original document, the inefficiency and high error rate problems caused by manual operations in document management are solved, and the efficient creation and updating of document is achieved , accurate management reduces management costs and user burden.
Patent Information
- Application Number
- CN202411432140.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-01-10
AI Technical Summary
In the prior art, there are time wasted, low accuracy and high error rates caused by manual operations in the document management process, and the compliance and formatting problems of document data lead to low efficiency in document creation and update, and errors or abnormalities are prone to occur.
By obtaining document creation data, determine the document creation type and data compliance status based on preset compliance rules, establish target creation documents and establish an association relationship with the original documents, and if the data is not in line with the rules, data maintenance and encryption are carried out to ensure document management Accuracy and security.
Improve the efficiency and accuracy of document creation and management, reduce document management costs, avoid losses caused by system or user errors, improve user satisfaction, and make compliance judgments before document updates to avoid unnecessary losses .
Smart Images

Figure CN119295241A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a document management method, device, electronic equipment and storage medium. Background Art
[0002] A document is a written proof of the actual situation of a transaction or matter obtained or filled out when an economic business occurs. It is the original data and important basis for accounting, and also a basis for handling the delivery of goods and payment of goods.
[0003] In the process of business processing, various documents need to be generated according to needs, and documents need to be updated according to needs. Documents are usually created and updated manually, which not only takes up a lot of time and energy of personnel, but also may lead to low accuracy and efficiency of document management due to factors such as operator fatigue. In related technologies, document management is to create or update directly after obtaining document data. The error rate of document data is high, resulting in low accuracy and efficiency of document management. It may also cause errors or abnormalities in documents due to repeated creation. Therefore, a document management method is urgently needed to solve the above problems.
[0004] It should be noted that the above content only provides background technical information related to the present invention and does not necessarily constitute prior art. Summary of the invention
[0005] In view of the above-mentioned shortcomings of the prior art, the present invention provides a document management method, device, electronic device and storage medium to solve at least one of the above-mentioned technical problems.
[0006] Other features and advantages of the present invention will become apparent from the following detailed description, or may be learned in part by practice of the present invention.
[0007] According to one aspect of an embodiment of the present invention, a document management method is provided, comprising: acquiring document creation data from a corresponding document; determining a document creation type based on the document creation data, and judging a compliance status of the document creation data according to the document creation type and preset compliance rules; if the document creation data is compliant, establishing a target creation document according to the document creation data, and establishing an association relationship between the target creation document and the corresponding document; if current document data of the target creation document is different from the document creation data, performing data maintenance on the current document data according to the association relationship and preset maintenance rules to maintain the target creation document; and managing the target creation document by at least one of establishing the target creation document and maintaining the target creation document.
[0008] In one embodiment of the present invention, based on the aforementioned scheme, after obtaining the document creation data from the corresponding document, the method further includes: obtaining a document creation number based on the document creation data, and if the document creation number is not repeated, determining the document creation type based on the document creation data, and obtaining a target compliance rule based on the document creation type and preset compliance rules; determining the format compliance status of each creation field in the document creation data based on the target compliance rule, and if there is a format violation of the creation field, adjusting the creation field according to the target compliance rule; determining the value compliance status of each creation field in the document creation data based on the target compliance rule, and if there is a value violation of the creation field, reacquiring the document creation data; determining the compliance status of the document creation data by determining the format compliance status and value compliance status of each creation field in the document creation data.
[0009] In one embodiment of the present invention, based on the aforementioned scheme, a target creation document is established according to the document creation data, and an association relationship between the target creation document and the corresponding document is established, including: establishing the target creation document based on the document creation data and preset creation rules; establishing a first association relationship between the target creation document and the corresponding document based on the document creation data and the preset creation rules, a second association relationship between the target creation document and the target data of the target creation document, and a third association relationship between the target data and the corresponding data of the corresponding document, the association relationships include the first association relationship, the second association relationship and the third association relationship, and the corresponding data is the corresponding data of the target data.
[0010] In one embodiment of the present invention, based on the aforementioned scheme, after establishing the association relationship between the target creation document and the corresponding document, the method further includes: obtaining document update data, the document update data including a document update number and a document update type; determining the document to be updated based on the document update number, and determining the existence status of the document to be updated; if the document to be updated exists, determining the compliance status of the document update data according to the document update type and preset update compliance rules; if the document update data is compliant, updating the document to be updated according to the document update data and the association relationship.
[0011] In one embodiment of the present invention, based on the aforementioned scheme, after the document to be updated is updated according to the document update data and the association relationship, it also includes: updating the document to be updated based on the document update data to obtain updated document data; matching the document update type with a preset update rule to obtain a target update rule, and obtaining verification update data according to the document update data and the target update rule; if the document update data and the verification update data are calculated to obtain the updated document data, and the updated document data and the verification update data are calculated to obtain the document update data, then it is determined that the update of the document to be updated is successful.
[0012] In one embodiment of the present invention, based on the aforementioned scheme, after determining the compliance status of the document creation data according to the document creation type and preset compliance rules, the method also includes: if the document creation data is compliant, determining the target encrypted data according to the document creation data and the document creation type; encrypting the target encrypted data through an encryption algorithm to obtain an encrypted data result and an encryption level label; obtaining the user permissions of the operating user, determining the encryption data permissions of the operating user according to the user permissions and the encryption level label, and controlling the validity of the operating user's operation on the target encrypted data based on the encryption data permissions, so as to manage the target creation document.
[0013] In one embodiment of the present invention, based on the aforementioned scheme, if the current document data of the target document creation is different from the document creation data, data maintenance is performed on the current document data according to the association relationship and preset maintenance rules to maintain the target document creation, including: comparing the current document data of the target document creation with the document creation data, if the current document data is different from the document creation data, obtaining verification data of the current document data according to the association relationship and preset maintenance rules; by comparing the verification data with the current document data, verifying the integrity and correctness of the current document data to maintain the target document creation.
[0014] According to one aspect of an embodiment of the present invention, a document management device is provided, comprising: an acquisition module, configured to acquire document creation data from a corresponding document; a creation module, configured to determine a document creation type based on the document creation data, and determine a compliance status of the document creation data according to the document creation type and preset compliance rules, and if the document creation data is compliant, establish a target creation document according to the document creation data, and establish an association relationship between the target creation document and the corresponding document; a maintenance module, configured to perform data maintenance on the current document data according to the association relationship and preset maintenance rules if the current document data of the target creation document is different from the document creation data, so as to maintain the target creation document; and a management module, configured to manage the target creation document by at least one of establishing the target creation document and maintaining the target creation document.
[0015] According to one aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements a document management method as described in any one of the above embodiments.
[0016] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer is enabled to execute the document management method as described in any one of the above embodiments.
[0017] Beneficial effects of the present invention: The present invention provides a document management method, device, electronic device and storage medium. The present invention determines the compliance status of document creation data by document creation type and preset compliance rules, thereby improving the efficiency of document creation and avoiding document creation failure and document creation errors caused by non-compliance of document creation data; when the document creation data is compliant, a target creation document is established according to the document creation data, and an association relationship between the target creation document and the corresponding document is established, thereby improving the efficiency and accuracy of document creation and document management. Establishing an association relationship between the target creation document and the corresponding document can make document maintenance, document update and other document management faster and more convenient. ; If the current document data of the target creation document is different from the document creation data, the current document data is maintained according to the association relationship and preset maintenance rules to maintain the target creation document. By maintaining the target creation document, incorrect changes in document data due to system errors or user operation errors can be avoided; by managing the target creation document by establishing at least one of the target creation document and maintaining the target creation document, the efficiency and accuracy of document management can be improved, the management cost of documents can be reduced, and unnecessary losses due to document management errors can be avoided, thereby improving user satisfaction.
[0018] In addition, this application also performs compliance judgment on the document update data before the document is updated to avoid document data update errors due to non-compliance of document update data, causing unnecessary losses, reducing the burden on operators, and saving document management costs.
[0019] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0021] Figure 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application;
[0022] Figure 2 is a flowchart of a document management method shown in an exemplary embodiment of the present application;
[0023] Figure 3 is a block diagram of a document management device shown in an exemplary embodiment of the present application;
[0024] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0025] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0026] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present invention in a schematic manner, and thus the illustrations only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0027] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0028] Figure 1 It is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application.
[0029] Reference Figure 1 As shown, the system architecture may include a data acquisition device 101 and a computer device 102. The computer device 102 may be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, a neural network computer, etc. The relevant technical personnel may use the computer device 102 to determine the document creation type based on the acquired document creation data, determine the compliance status of the document creation data according to the document creation type and the preset compliance rules, if the document creation data is compliant, establish a target creation document according to the document creation data, and establish an association relationship between the target creation document and the corresponding document, if the current document data of the target creation document is different from the document creation data, perform data maintenance on the current document data according to the association relationship and the preset maintenance rules to maintain the target creation document, and manage the target creation document by establishing at least one of the target creation document and maintaining the target creation document. The data acquisition device 101 is used to collect the document creation data from the corresponding document. In this embodiment, the data acquisition device 101 obtains the document creation data and provides it to the computer device 102 for processing. It should be noted that the data acquisition device 101 and the computer device 102 provided in this embodiment are only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present invention.
[0030] It should be noted that the document management method provided in the embodiment of the present application is generally executed by the computer device 102, and accordingly, the document management device is generally set in the computer device 102.
[0031] Figure 2 is a flowchart of a document management method shown in an exemplary embodiment of the present application. The document management method can be executed by a computing and processing device. The computing and processing device can be Figure 1 The computer device 102 shown in FIG. Figure 2 As shown, the document management method at least includes steps S210 to S240, which are described in detail as follows:
[0032] In step S210, the document creation data is obtained from the corresponding document.
[0033] In one embodiment of the present application, a user demand is obtained, and a corresponding document is determined according to the user demand. The corresponding document is a document that provides data to create a target creation document, that is, the corresponding document provides data to form document creation data to create a target creation document. For example, the corresponding document is an order, and the target creation document is an invoice. The document creation data is formed by extracting data such as the name of the product, the unit price of the product, the quantity of the product, and the amount of the product from the order to obtain the document creation data from the corresponding document. Based on the document creation type, the maximum document number of the document type in the database is queried, and the document creation number is obtained based on the maximum document number. The document creation type is determined according to the document type of the corresponding document and the user demand. The document creation data includes but is not limited to the document creation number and the document creation type. The document creation type includes but is not limited to invoices, statements, receipts, purchase orders, orders, and transport orders. It should be noted that the corresponding documents and target creation documents exemplified in this embodiment are only for explanation and description, and do not limit the document types of the corresponding documents and target creation documents.
[0034] In step S220, the document creation type is determined based on the document creation data, and the compliance status of the document creation data is determined according to the document creation type and preset compliance rules. If the document creation data is compliant, a target creation document is established according to the document creation data, and an association relationship between the target creation document and the corresponding document is established.
[0035] In one embodiment of the present application, a document creation number is obtained based on the document creation data, and the document creation number is compared with the existing document number. If the document creation number is repeated, the document creation data is compared with the document data corresponding to the document with the repeated document creation number. If the corresponding document data are all repeated, the target creation document is not created based on the document creation data; if the corresponding document data are not repeated, the document creation number is incremented to obtain a new document creation number; if the document creation number is not repeated, the document creation type is determined based on the document creation data, and the target compliance rule is obtained according to the document creation type and the preset compliance rule. ; Based on the target compliance rules, determine the format compliance status of each created field in the document creation data. The format compliance includes but is not limited to data type, data format and data length compliance. If there is a format violation of the created field, adjust the created field according to the target compliance rules; Based on the target compliance rules, determine the numerical compliance status of each created field in the document creation data. The numerical compliance includes but is not limited to numerical range compliance. If there is a numerical violation of the created field, re-acquire the document creation data; By determining the format compliance status and numerical compliance status of each created field in the document creation data, determine the compliance status of the document creation data. Only when the format compliance status and numerical compliance status of each created field in the document creation data are compliant, the compliance status of the document creation data is compliant. For example, the field format of the amount requires that two decimal places be retained for the convenience of rounding, and its numerical compliance requires that the amount is greater than zero, then -45 is an unqualified amount, and 45 will be adjusted to 45.00 according to the above format requirements. It should be noted that the above example description is to make this embodiment easier to understand and cannot limit this application. In actual use, preset compliance rules can be set according to needs, and this application does not limit this. By determining the compliance status of document creation data, document creation failures caused by repeated creation of documents with the same creation number, incorrect or unqualified document creation data, etc. can be avoided, thereby improving the efficiency and accuracy of document creation.
[0036] In one embodiment of the present application, a target creation document is established based on the document creation data and the preset creation rules; a first association relationship between the target creation document and the corresponding document, a second association relationship between the target creation document and the target data of the target creation document, and a third association relationship between the target data and the corresponding data of the corresponding document are established based on the document creation data and the preset creation rules. The association relationships include the first association relationship, the second association relationship, and the third association relationship. The corresponding data is the corresponding data of the target data. In other words, the corresponding data is the data that provides data to obtain the document creation data. By establishing the above association relationships, document management such as document query, document update, and document maintenance is made more convenient and faster, so as to improve the efficiency and accuracy of document management.
[0037] In step S230, if the current document data of the target created document is different from the document created data, data maintenance is performed on the current document data according to the association relationship and the preset maintenance rules to maintain the target created document.
[0038] In one embodiment of the present application, the current document data of the target created document is compared with the document creation data. If the current document data is different from the document creation data, the verification data of the current document data is obtained according to the association relationship and the preset maintenance rules; by comparing the verification data with the current document data, the integrity and correctness of the current document data are verified to maintain the target created document.
[0039] In this embodiment, if the verification data and the current document data are the same, the current document data is complete and correct, and there is no need to maintain the target to create a document; if the verification data and the current document data have the same format but different values, the current document data is complete but wrong, and the verification data is used as the current document data; if the verification data and the current document data have different formats and different values, the current document data is incomplete and wrong, and the verification data is used as the current document data to maintain the target to create a document.
[0040] In step S240, the target creation document is managed by at least one of creating the target creation document and maintaining the target creation document.
[0041] In one embodiment of the present application, if there is only document creation data, the target creation document is managed based on establishing a target creation document; if only the current document data of the target creation document is different from the document creation data, the target creation document is managed based on maintaining the target creation document; if there is both document creation data and the current document data of the target creation document is different from the document creation data, the target creation document is managed based on establishing a target creation document and maintaining the target creation document. By managing the target creation document by at least one of establishing a target creation document and maintaining a target creation document, the efficiency and accuracy of document management can be improved, the management cost of documents can be reduced, and unnecessary losses caused by document management errors can be avoided, thereby improving user satisfaction.
[0042] In one embodiment of the present application, document update data is obtained, and the document update data includes a document update number and a document update type; the document to be updated is determined based on the document update number, and the existence status of the document to be updated is determined; if the document to be updated exists, the compliance status of the document update data is determined according to the document update type and preset update compliance rules; if the document update data is compliant, the document to be updated is updated according to the document update data and the associated relationship.
[0043] In this embodiment, the existence status of the document to be updated is determined based on the document update number. If the document update number exists, the target update compliance rule is obtained based on the document update type and the preset update compliance rule; the format compliance status of each update field in the document update data is determined based on the target update compliance rule. The format compliance includes but is not limited to data type, data format and data length compliance. If there is a format violation of the update field, the update field is adjusted according to the target update compliance rule; the value compliance status of each update field in the document update data is determined based on the target update compliance rule. The value compliance includes but is not limited to value range compliance. If there is a value violation of the update field, the document update data is re-acquired; the compliance status of the document update data is determined by determining the format compliance status and value compliance status of each update field in the document update data. By determining the compliance status of the document update data, the speed and accuracy of the document update are improved, and the failure of the document update due to incorrect or unqualified document update data is avoided.
[0044] In one embodiment of the present application, after updating the document to be updated according to the document update data and the association relationship, the document to be updated is updated based on the document update data to obtain the updated document data; the document update type is matched with the preset update compliance rule to obtain the target update rule, and the verification update data is obtained according to the document update data and the target update rule; if the document update data and the verification update data are calculated to obtain the updated document data, and the updated document data and the verification update data are calculated to obtain the document update data, then it is determined that the update of the document to be updated is successful. By verifying the updated document data, the document update accuracy is higher and document update errors are avoided.
[0045] In one embodiment of the present application, the compliance status of the document creation data is determined according to the document creation type and the preset compliance rules. If the document creation data is compliant, the target encrypted data is determined according to the document creation data and the document creation type; the target encrypted data is encrypted by an encryption algorithm to obtain the encrypted data result and the encryption level label; the user authority of the operating user is obtained, the encrypted data authority of the operating user is determined according to the user authority and the encryption level label, and the validity of the operating user's operation on the target encrypted data is controlled based on the encrypted data authority to manage the target creation document. Controlling document management through authority management can improve the security of document management, reduce potential security risks, protect user privacy and sensitive information, and reduce information leakage and information abuse.
[0046] The present invention determines the compliance status of document creation data through document creation type and preset compliance rules, improves the efficiency of document creation, and avoids document creation failure and document creation errors caused by non-compliance of document creation data; when the document creation data is compliant, a target creation document is established according to the document creation data, and an association relationship between the target creation document and the corresponding document is established, which improves the efficiency and accuracy of document creation and document management. Establishing an association relationship between the target creation document and the corresponding document can make document maintenance, document update and other document management faster and more convenient; based on the target creation document, the target document data is determined, and data maintenance is performed on the target document data according to the association relationship and preset maintenance rules, which can improve the efficiency and accuracy of document management, reduce the management cost of the document, avoid unnecessary losses caused by document management errors, and thus improve user satisfaction. The present application also performs compliance judgment on the document update data before the document is updated, so as to avoid document data update errors caused by non-compliance of the document update data, causing unnecessary losses, reducing the burden on operators, and saving document management costs.
[0047] Figure 3 is a block diagram of a document management device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The implementation environment shown in the figure is specifically configured in the computer device 102. The device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.
[0048] like Figure 3 As shown, the exemplary document management device includes: an acquisition module 310, a determination module 320, a creation module 330 and a management module 340.
[0049] Among them, the acquisition module 310 is configured to acquire the document creation data from the corresponding document; the judgment module 320 is configured to determine the document creation type based on the document creation data, and determine the compliance status of the document creation data according to the document creation type and the preset compliance rules. If the document creation data is compliant, a target creation document is established according to the document creation data, and an association relationship between the target creation document and the corresponding document is established; the maintenance module 330 is configured to perform data maintenance on the current document data according to the association relationship and the preset maintenance rules if the current document data of the target creation document is different from the document creation data, so as to maintain the target creation document; the management module 340 is configured to manage the target creation document by at least one of establishing a target creation document and maintaining the target creation document.
[0050] It should be noted that the document management device provided in the above embodiment and the document management method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment, and will not be repeated here. In actual application, the document management device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0051] An embodiment of the present invention also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the document management method provided in the above-mentioned embodiments.
[0052] Figure 4 The structure diagram of the computer system of the electronic device suitable for implementing the embodiment of the present invention is shown. It should be noted that: Figure 4 The computer system 400 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0053] like Figure 4 As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403, such as executing the methods provided in the above-mentioned various embodiments. In the RAM 403, various programs and data required for system operation are also stored. The CPU 401, the ROM 402 and the RAM 403 are connected to each other through the bus 404. The input / output (I / O) interface 405 is also connected to the bus 404.
[0054] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.
[0055] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 409, and / or installed from a removable medium 411. When the computer program is executed by a central processing unit (CPU) 401, various functions defined in the system of the present invention are executed.
[0056] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0057] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0058] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.
[0059] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the document management method provided in the above-mentioned embodiments. The computer-readable storage medium may be included in the electronic device described in the above-mentioned embodiments, or may exist independently without being assembled into the electronic device.
[0060] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0061] Another aspect of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the document management method provided in each of the above embodiments.
[0062] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0063] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0064] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A document management method, characterized in that: include: Get document creation data from the corresponding document; Determine a document creation type based on the document creation data, determine a compliance status of the document creation data according to the document creation type and a preset compliance rule, and if the document creation data is compliant, create a target creation document according to the document creation data, and establish an association relationship between the target creation document and the corresponding document; If the current document data of the target created document is different from the document created data, data maintenance is performed on the current document data according to the association relationship and the preset maintenance rule to maintain the target created document; The target creation document is managed by at least one of establishing the target creation document and maintaining the target creation document.
2. The document management method according to claim 1, characterized in that: After acquiring the document creation data from the corresponding document, the method further includes: Obtaining a document creation number according to the document creation data, and if the document creation number is not repeated, determining the document creation type based on the document creation data, and obtaining a target compliance rule according to the document creation type and a preset compliance rule; Determining the format compliance status of each creation field in the document creation data based on the target compliance rule, and if there is a format violation of the creation field, adjusting the creation field according to the target compliance rule; Determining the compliance status of the value of each creation field in the document creation data based on the target compliance rule, and if there is a violation of the value of the creation field, reacquiring the document creation data; The compliance status of the document creation data is determined by determining the format compliance status and the value compliance status of each creation field in the document creation data.
3. The document management method according to claim 1, characterized in that: Creating a target creation document according to the document creation data, and establishing an association relationship between the target creation document and the corresponding document, including: Establishing the target creation document based on the document creation data and preset creation rules; Based on the document creation data and the preset creation rules, a first association relationship between the target creation document and the corresponding document, a second association relationship between the target creation document and the target data of the target creation document, and a third association relationship between the target data and the corresponding data of the corresponding document are established, the association relationships include the first association relationship, the second association relationship and the third association relationship, and the corresponding data is the corresponding data of the target data.
4. The document management method according to claim 1, characterized in that: After establishing the association relationship between the target creation document and the corresponding document, the method further includes: Acquire document update data, wherein the document update data includes a document update number and a document update type; Determine the document to be updated based on the document update number, and determine the existence status of the document to be updated. If the document to be updated exists, determine the compliance status of the document update data according to the document update type and preset update compliance rules; If the document update data is compliant, the document to be updated is updated according to the document update data and the association relationship.
5. The document management method according to claim 4, characterized in that: After the document to be updated is updated according to the document update data and the association relationship, the method further includes: Based on the document update data, the document to be updated is updated to obtain updated document data; Matching the document update type with a preset update rule to obtain a target update rule, and obtaining verification update data according to the document update data and the target update rule; If the updated document data is calculated from the document update data and the verification update data, and the updated document data is calculated from the verification update data to obtain the document update data, it is determined that the document to be updated is updated successfully.
6. The document management method according to any one of claims 1 to 5, characterized in that: After determining the compliance status of the document creation data according to the document creation type and the preset compliance rules, the method further includes: If the document creation data is compliant, determining target encrypted data according to the document creation data and the document creation type; Encrypt the target encrypted data by using an encryption algorithm to obtain an encrypted data result and an encryption level label; Obtain the user authority of the operating user, determine the encryption data authority of the operating user according to the user authority and the encryption level label, and control the validity of the operating user's operation on the target encrypted data based on the encryption data authority to manage the target creation document.
7. The document management method according to any one of claims 1 to 5, characterized in that: If the current document data of the target creation document is different from the document creation data, data maintenance is performed on the current document data according to the association relationship and the preset maintenance rule to maintain the target creation document, including: Comparing the current document data of the target created document with the document creation data, and if the current document data is different from the document creation data, obtaining verification data of the current document data according to the association relationship and the preset maintenance rule; By comparing the verification data with the current document data, the integrity and correctness of the current document data are verified to maintain the target creation document.
8. A document management device, characterized in that: include: The acquisition module is used to obtain the document creation data from the corresponding document; A creation module, used to determine a document creation type based on the document creation data, determine a compliance status of the document creation data according to the document creation type and preset compliance rules, and if the document creation data is compliant, create a target creation document according to the document creation data, and establish an association relationship between the target creation document and the corresponding document; A maintenance module, configured to, if the current document data of the target created document is different from the document created data, perform data maintenance on the current document data according to the association relationship and a preset maintenance rule to maintain the target created document; A management module is used to manage the target creation document by at least one of establishing the target creation document and maintaining the target creation document.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the electronic device to implement the document management method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the document management method according to any one of claims 1 to 7.