Document data processing method, device, computer equipment and storage medium

By determining and correcting the error fields of sub-documents in the source documents, the downstream document push-out problem caused by upstream document errors is solved, reducing the number of errors and resource waste, and improving the efficiency of document data processing.

CN112766875BActive Publication Date: 2024-12-06KINGDEE SOFTWARE(CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011592757.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-29
Publication Date
2024-12-06
Estimated Expiration
2040-12-29

AI Technical Summary

Technical Problem

When a system document is associated with one-to-many, if some of the upstream documents are incorrect, the downstream documents will be missed, resulting in waste of resources and multiple errors.

Method used

By obtaining the sub-error field in the sub-document to be corrected, determining its corresponding source error field, and setting it to editable state, correcting to obtain the corrected source error field, thereby generating the corrected sub-document to prevent errors Reward order.

Benefits of technology

Reduce the number of errors, improve the efficiency of document data processing, avoid resource waste, and resolve errors at source documents, avoid rights and responsibilities issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112766875B_ABST
    Figure CN112766875B_ABST
Patent Text Reader

Abstract

The present application relates to a document data processing method, device, computer equipment and storage medium. The method comprises: obtaining a sub-document to be corrected, wherein the sub-document to be corrected contains a sub-error field; the sub-document to be corrected is generated by a source document; determining a source error field corresponding to the sub-error field and in the source document; setting the source error field to an editable state, and obtaining a corrected source error field; the corrected source error field is obtained by correcting the source error field in an editable state; and obtaining a corrected sub-document based on the corrected source error field. The use of this method can reduce resource usage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a document data processing method, apparatus, computer equipment and storage medium. Background Art

[0002] The current system generates multiple downstream documents through one-to-many association of documents. If some of the generated downstream documents have problems due to errors in some fields of the upstream document, the downstream documents are usually manually modified at the corresponding process node. However, the traditional document data processing method of manually modifying the downstream documents directly will have the problem of not knowing that the source document has errors, and the source document will continue to push the wrong document next time, which may cause multiple errors and waste resources. Summary of the invention

[0003] Based on this, it is necessary to provide a document data processing method, device, computer equipment and storage medium that can reduce resource usage in response to the above technical problems.

[0004] A document data processing method, the method comprising:

[0005] Acquire a sub-document to be corrected, wherein the sub-document to be corrected includes a sub-error field; and the sub-document to be corrected is generated by a source document;

[0006] determining a source error field in the source document that corresponds to the sub-error field;

[0007] Setting the source error field to an editable state, and obtaining a corrected source error field; the corrected source error field is obtained by correcting the source error field in the editable state;

[0008] A corrected sub-document is obtained based on the corrected source error field.

[0009] A document data processing device, comprising:

[0010] A first acquisition module is used to acquire a sub-document to be corrected, wherein the sub-document to be corrected includes a sub-error field; and the sub-document to be corrected is generated by a source document;

[0011] a determining module, configured to determine, based on the sub-error field, a source error field in the source document that corresponds to the sub-error field;

[0012] A second acquisition module is used to set the source error field to an editable state and acquire a corrected source error field; the corrected source error field is obtained by correcting the source error field in the editable state;

[0013] The third acquisition module is used to obtain a corrected sub-document based on the corrected source error field.

[0014] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0015] Acquire a sub-document to be corrected, wherein the sub-document to be corrected includes a sub-error field; and the sub-document to be corrected is generated by a source document;

[0016] determining a source error field in the source document that corresponds to the sub-error field;

[0017] Setting the source error field to an editable state, and obtaining a corrected source error field; the corrected source error field is obtained by correcting the source error field in the editable state;

[0018] A corrected sub-document is obtained based on the corrected source error field.

[0019] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0020] Acquire a sub-document to be corrected, wherein the sub-document to be corrected includes a sub-error field; and the sub-document to be corrected is generated by a source document;

[0021] determining a source error field in the source document that corresponds to the sub-error field;

[0022] Setting the source error field to an editable state, and obtaining a corrected source error field; the corrected source error field is obtained by correcting the source error field in the editable state;

[0023] A corrected sub-document is obtained based on the corrected source error field.

[0024] The above-mentioned document data processing method, device, computer equipment and storage medium, by determining the source error field corresponding to the sub-error field and in the source document, set the source error field to an editable state, and correct the source error field in the editable state to obtain a corrected source error field, that is, the source error field is editable, and the sub-error field and the source error field are linked; based on the corrected source error field, a corrected sub-document is obtained, so that errors in the source document can be discovered, and the next time the erroneous document is prevented, the number of errors is reduced, and thus resource usage is reduced; and since the correct content in the sub-document has been verified, when the corrected sub-document is subsequently verified, the error field corresponding to the source error field in the corrected sub-document only needs to be verified, thereby improving the efficiency of document data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 An application environment diagram of a document data processing method in one embodiment;

[0026] Figure 2 A schematic diagram of a flow chart of a document data processing method in one embodiment;

[0027] Figure 3 A schematic diagram of a process for determining a sub-document to be corrected in one embodiment;

[0028] Figure 4 A schematic diagram of a flow chart of a document data processing method in another embodiment;

[0029] Figure 5 is a structural block diagram of a document data processing device in one embodiment;

[0030] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0032] The document data processing method provided in this application can be applied to Figure 1 In the application environment shown. The first terminal 102 and the second terminal 104 communicate with the server 106 through the network respectively. The first terminal 102 and the second terminal 104 can be, but not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 106 can be implemented by an independent server or a server cluster composed of multiple servers. The first terminal 102 can specifically have the function of verifying whether the sub-document is correct, and the second terminal 104 can specifically be a terminal with the function of creating a source document.

[0033] In one embodiment, Figure 2 As shown, a document data processing method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0034] Step 202, obtaining the sub-document to be corrected, wherein the sub-document to be corrected includes a sub-error field; the sub-document to be corrected is generated by the source document.

[0035] Specifically, the sub-document to be corrected refers to a document containing an error. The sub-document to be corrected specifically includes a sub-error field. The sub-error field refers to an error field in the sub-document to be corrected. For example, the sub-error field may be the name of the reimbursement person in the sub-reimbursement form. The source document and the sub-document have an association relationship. The sub-document may be generated based on the source document. The sub-document to be corrected is at least one sub-document generated from the source document. The server obtains the sub-document to be corrected returned by the first terminal.

[0036] Step 204, determining a source error field in the source document that corresponds to the sub-error field.

[0037] Specifically, the server stores a mapping relationship between the sub-error field and the source error field. The server determines the source error field in the source document that corresponds to the sub-error field according to the mapping relationship. For example, if the sub-error field is the name of the first reimbursement person in the sub-reimbursement form, then the source error field is the name of the first reimbursement person in the source reimbursement form.

[0038] Step 206, setting the source error field to an editable state, and obtaining a corrected source error field; the corrected source error field is obtained by correcting the source error field in the editable state.

[0039] The editable state refers to a state that can be modified, such as being able to be deleted, added, or modified.

[0040] Specifically, the server sets the source error field to an editable state, and obtains a corrected source error field obtained by correcting the source error field in the editable state.

[0041] In this embodiment, the server sends a message about the source document to be corrected to the second terminal that created the source document, and sets the source error field to an editable state. The server obtains the corrected source error field obtained after the second terminal corrects the editable source error field.

[0042] Step 208, obtaining a corrected sub-document based on the corrected source error field.

[0043] Specifically, when generating a sub-document based on a source document, the server splits the source document information in the source document into the entry information corresponding to each sub-document, and generates the corresponding sub-document based on the entry information corresponding to each sub-document. The server generates a corrected sub-document based on the entry information of the source document corresponding to the corrected source error field. The original sub-document to be corrected can be deleted.

[0044] The above-mentioned document data processing method determines the source error field corresponding to the sub-error field and in the source document, sets the source error field to an editable state, and corrects the source error field in the editable state to obtain a corrected source error field, that is, the source error field is editable, and the sub-error field and the source error field are linked; based on the corrected source error field, a corrected sub-document is obtained, so that the error of the source document can be discovered, and the erroneous order can be prevented from being pushed next time, the number of errors is reduced, and thus resource usage is reduced; and because the correct content in the sub-document has been verified, when the corrected sub-document is subsequently verified, the error field corresponding to the source error field in the corrected sub-document only needs to be verified, thereby improving the document data processing efficiency; in addition, the error problem occurs at the source document and is handled at the source document, thereby avoiding the issue of authority and responsibility.

[0045] In one embodiment, Figure 3 FIG. 1 is a flow chart of determining a sub-document to be corrected in one embodiment, including:

[0046] Step 302: Obtain source document.

[0047] Specifically, the second terminal creates a source document and sends the source document to the server. The server receives the source document sent by the second terminal.

[0048] Step 304: Generate at least two sub-documents associated with the source document based on the source document.

[0049] Specifically, the server generates at least two sub-documents associated with the source document based on the source document.

[0050] Step 306: Send each of the at least two sub-receipts to the corresponding first terminal.

[0051] Specifically, the first terminals corresponding to the at least two sub-documents may be the same terminal or different terminals. The first terminal has a sub-document verification function. The server sends each of the at least two sub-documents to the first terminal corresponding to each sub-document. The first terminal may be determined based on the business type of the source document. For example, if the source document is a source expense statement and the sub-document is a payment statement, the corresponding first terminal may be a bank terminal, or the first terminal may be a terminal within the enterprise for verifying the payment statement.

[0052] Step 308: When it is determined through the first terminal that at least one of the at least two sub-documents has been processed, and there is a document containing a sub-error field among the at least two sub-documents, the document containing the sub-error field is used as a sub-document to be corrected.

[0053] Specifically, when the server determines through the first terminal that at least one of the at least two sub-documents has been processed, and there is a document containing a sub-error field in the at least two sub-documents, the document containing the sub-error field is used as the sub-document to be corrected. For example, the source reimbursement form generates three sub-reimbursement forms, namely, sub-reimbursement form A, sub-reimbursement form B, and sub-reimbursement form C, and sub-reimbursement form A and sub-reimbursement form B have been submitted to the bank and the payment has been successful, and sub-reimbursement form C has failed to be paid due to an error in the receiving bank. At this time, sub-reimbursement form C is the sub-document to be corrected.

[0054] The document data processing method in this embodiment generates at least two sub-documents based on a source document, that is, one source document has a one-to-many association relationship with multiple sub-documents; each of the at least two sub-documents is sent to the corresponding first terminal; when it is determined through the first terminal that at least one of the at least two sub-documents has been processed, and there is a document containing a sub-error field in at least two sub-documents, it means that a part of the sub-documents generated by the source document have been processed, but there are errors in some sub-documents. At this time, if the sub-document is regenerated, it will cause the budget of the sub-document to be occupied, and repeated approval will cause resource waste and affect timeliness. However, by determining the source error field in the source document, setting the source error field to an editable state, obtaining the corrected source error field, and obtaining the corrected sub-document based on the corrected source error field, there is no need to re-occupy the budget, and there is no need to repeatedly approve the part that does not need to be modified, thereby improving the efficiency of document data processing.

[0055] In one embodiment, generating at least two sub-documents associated with the source document based on the source document includes: generating at least two sub-documents associated with the source document based on the source document according to business object conversion platform rules.

[0056] Specifically, the Business Object Transform Platform (BOTP) is a data conversion platform based on business object technology, which provides tools and methods for automatic conversion between documents. The Business Object Transform Platform rules refer to the rules for automatic conversion between documents. And the Business Object Transform Platform rules stipulate that the server generates at least two sub-documents associated with the source document based on the source document according to the Business Object Transform Platform rules.

[0057] In the document data processing method of this embodiment, when at least one of the at least two sub-documents generated by the source document has been processed, and there is a document containing a sub-error field in at least two sub-documents, the document containing the sub-error field is used as the sub-document to be corrected. Based on the business object conversion platform rules, it is temporarily impossible to use the entry information to push down the sub-document separately. If the business object conversion platform rules are adjusted to generate sub-documents multiple times based on the source document, then the processed NA document needs to be deleted after repeated generation, and only the original erroneous A documents are retained for processing. Such operation is inconvenient and there is a risk of duplicate document generation. However, by determining the source error field in the source document, setting the source error field to an editable state, obtaining the corrected source error field, and obtaining the corrected sub-document based on the corrected source error field, there is no risk of duplicate document generation and the document data processing efficiency is improved.

[0058] In one embodiment, setting the source error field to an editable state and obtaining a corrected source error field includes: sending a message about the source document to be corrected to a second terminal that created the source document, and displaying the source document on the second terminal in response to a triggering operation on the message about the source document to be corrected; setting the source error field in the displayed source document to an editable state, and obtaining the corrected source error field input through the second terminal.

[0059] The source document to be corrected related message may include but is not limited to the source document identifier, the source error field in the source document, and the source document link. The source document identifier is used to uniquely identify a source document. The corresponding source document can be found by inputting the source document identifier in the second terminal. The error field in the source document can intuitively indicate the error in the source document. By triggering the source document link, the user can directly jump to the interface corresponding to the source document.

[0060] Specifically, the server sends a source document to be corrected related message to the second terminal that created the source document, and the second terminal responds to the triggering operation of the source document to be corrected message, and displays the source document on the second terminal. The service sets the source error field in the displayed source document to an editable state, and obtains the corrected source error field input through the second terminal. The corrected source error field is obtained by correcting the source error field in the editable state. For example, the source error field is the receiving bank, and the source document to be corrected related message is that the receiving bank of source document X is filled in incorrectly. The server modifies the state of source document X to the error information to be corrected state, and sends the source document to be corrected related message to the second terminal that created source document X. The person in charge of source document X can find the source document to be corrected according to the message prompt and the new state of the source document, display the source document on the second terminal, and enter the corrected source error field on the second terminal.

[0061] The document data processing method in this embodiment sends a message about the source document to be corrected to the second terminal that creates the source document. In response to the triggering operation of the message about the source document to be corrected, the source document is displayed on the second terminal, and the source error field in the displayed source document is set to an editable state. The corrected source error field entered through the second terminal is obtained. Then, when an error occurs in the sub-document, a message can be sent to the second terminal that creates the source document to modify the source document at the second terminal. The error is then modified by whichever end causes it, which does not lead to rights and responsibilities issues. Modifications at the source document indicate known errors at the source document, thereby reducing the error rate of the next order push.

[0062] In one embodiment, obtaining a corrected sub-document based on a corrected source error field includes: determining entry information in a source document corresponding to the sub-document to be corrected; replacing the source error field in the entry information with the corrected source error field to obtain the corrected entry information; and generating a corrected sub-document based on the corrected entry information.

[0063] Among them, the entry information is part of the information in the source document, and the sub-document can be generated based on the entry information. Generally speaking, the number of sub-documents generated is the same as the number of sets of entry information in the source document. That is, the number of sets of entry information matches the number of sub-documents. For example, the source document includes the beneficiary Zhang San, the corresponding beneficiary bank O; the beneficiary Li Si, the corresponding beneficiary bank P; the beneficiary Wang Wu, the corresponding beneficiary bank Q, then Zhang San and the beneficiary bank O are one set of entry information, Li Si and the beneficiary bank P are another set of entry information, and Wang Wu and the beneficiary bank Q are another set of entry information.

[0064] Specifically, the server determines the entry information corresponding to the sub-document to be corrected, where the entry information is in the source document; the server replaces the source error field in the entry information with the corrected source error field to obtain the corrected entry information; and in response to a control for generating a sub-document based on the entry information triggered on the second terminal, generates a corrected sub-document based on the corrected entry information.

[0065] The document data processing method in this embodiment determines the entry information in the source document corresponding to the sub-document to be corrected, replaces the source error field in the entry information with the corrected source error field to obtain the corrected entry information, and generates a corrected sub-document based on the corrected entry information, which can avoid the risk of duplicate document generation.

[0066] In one embodiment, obtaining the sub-document to be corrected includes: obtaining the sub-document to be corrected returned from the first terminal. The document data processing method also includes: sending the corrected sub-document to the first terminal so that the first terminal performs verification based on the corrected sub-document.

[0067] Specifically, the server obtains the sub-document to be corrected returned from the first terminal. The server sends the corrected sub-document to the first terminal, so that the first terminal performs verification based on the corrected sub-document. For example, if the sub-document to be corrected is returned from terminal Z, the corrected sub-document is returned to terminal Z.

[0068] The document data processing method in this embodiment obtains the sub-document to be corrected returned from the first terminal, and sends the corrected sub-document to the first terminal, so that the first terminal performs verification based on the corrected sub-document, that is, the sub-document can be automatically pushed downstream after correction is completed.

[0069] In one embodiment, the document data processing method further includes: when the operation performed on the sub-document to be corrected is a non-deletion operation, correspondingly storing the sub-error field in the sub-document to be updated and the corrected source error field.

[0070] Specifically, a non-deletion operation refers to an operation related to storage, which may be a return operation, an invalidation operation, etc. The invalidation operation refers to saving the document, but the document is no longer used. When the operation performed on the sub-document to be corrected is a non-deletion operation, the server stores the sub-error field and the corrected source error field in the sub-document to be updated.

[0071] The document data processing method in this embodiment, when the operation performed on the sub-document to be corrected is a non-deletion operation, the sub-document to be corrected is retained, and the word error field in the sub-document to be updated and the corrected source error field are correspondingly stored, which can record the information before and after the correction, and facilitate the subsequent verification of the corrected sub-document.

[0072] In one embodiment, Figure 4As shown in the figure, it is a schematic flowchart of a document data processing method in another embodiment. Taking the source document as a multi-entry reimbursement form, the sub-error field and the source error field are errors in filling the receiving bank. The entry information of the source document includes A entry information, B entry information, and C entry information. The sub-documents are A payment form, B payment form, and C payment form. The sub-document to be corrected is the C payment form, and the corrected sub-document is the C1 payment form as an example for illustration. The approved multi-entry reimbursement form contains A entry information, B entry information, and C entry information. An A payment form is generated based on the A entry information, a B payment form is generated based on the B entry information, and a C payment form is generated based on the C entry information. After the A payment form and the B payment form are processed, the C payment form fails due to an error in filling the receiving bank, and it is considered that the C payment form is the sub-document to be corrected. Then it can be determined that the source error field corresponding to the sub-error field is also the receiving bank. The server can respond to the deletion operation of the C payment form by the first terminal, delete the C payment form, and set the source error field in the source document to the editable state. The server sends a message related to the source document to be corrected to the second terminal that created the source document. In response to the trigger operation of the message related to the source document to be corrected, the source document is displayed on the second terminal; the receiving bank field in the displayed source document is set to the editable state, and the corrected receiving bank field input through the second terminal is obtained. The server determines the C entry information corresponding to the C payment form, replaces the receiving bank field in the C entry information with the corrected receiving bank field to obtain the corrected C entry information, generates a C1 payment form based on the corrected C entry information, and the server pushes the C1 payment form to the first terminal again.

[0073] In one embodiment, the current system documents are associated one-to-many to generate N downstream documents. If A (A < N) of the generated downstream documents have problems due to incorrect partial fields in the upstream document, the other N - A are correct and have been processed and cannot be reversed. Since the incorrect upstream document leads to incorrect generated documents, the incorrect A documents need to be voided or deleted. After the upstream document is corrected correctly, the original incorrect part regenerates the downstream documents, and the part that has been correctly generated downstream documents cannot be affected. For this scenario due to the write-back and locking restrictions of upstream and downstream documents during botp generation, the current technical solutions mainly have the following several processing methods:

[0074] ① In the case where there is no critical error information in the upstream, the downstream documents are manually modified and the business continues.

[0075] ② Create a new document for the incorrect content of the source document, restart the approval process, and push the document again after the approval is passed.

[0076] ③ Provide a function to modify the upstream document after approval. At the same time, modify the botp rule to be able to regenerate the downstream documents repeatedly and push them all again. The N - A documents that have been processed need to be regenerated and then deleted, and only the original incorrect A documents are retained for processing.

[0077] However, the above methods have the following disadvantages:

[0078] Regarding ①, it will lead to issues of authority and responsibility. The document problem is in the source document, and the source document should be modified and processed, not by downstream business personnel. Moreover, after the downstream modification, the source document is unaware of the error and will continue to push the order incorrectly next time.

[0079] Regarding ②, the original erroneous part of the source document has already been approved by the business process. Re-making the document and entering the approval process will increase the workload and cause waste of resources.

[0080] Regarding ③, the document can be modified after approval and generation of downstream documents, and botp is adjusted to be reproducible, which is inconvenient to operate and has the risk of duplicate document generation.

[0081] Therefore, a method for generating document data in an embodiment of the present application is proposed, comprising:

[0082] Step (a1), obtain the source document.

[0083] Step (a2), generating at least two sub-documents associated with the source document based on the source document according to the business object conversion platform rules.

[0084] Step (a3), sending each of the at least two sub-receipts to the corresponding first terminal.

[0085] Step (a4), when it is determined through the first terminal that at least one of the at least two sub-documents has been processed, and there is a document containing a sub-error field among the at least two sub-documents, the document containing the sub-error field is used as the sub-document to be corrected.

[0086] Step (a5), obtaining the sub-document to be corrected returned from the first terminal, wherein the sub-document to be corrected includes a sub-error field. The sub-document to be corrected is generated from the source document.

[0087] Step (a6), determining a source error field in the source document that corresponds to the sub-error field.

[0088] Step (a7), sending a message related to the source document to be corrected to the second terminal that created the source document, and in response to a triggering operation on the message related to the source document to be corrected, displaying the source document on the second terminal.

[0089] Step (a8) sets the source error field in the displayed source document to an editable state, and obtains the corrected source error field input through the second terminal. The corrected source error field is obtained by correcting the source error field in the editable state.

[0090] Step (a9), determine the entry information in the source document corresponding to the sub-document to be corrected.

[0091] Step (a10), replacing the source error field in the entry information with the corrected source error field to obtain the corrected entry information.

[0092] Step (a11), generating a corrected sub-document based on the corrected entry information.

[0093] Step (a12), sending the corrected sub-receipt to the first terminal, so that the first terminal performs verification based on the corrected sub-receipt.

[0094] Step (a13), when the operation performed on the sub-document to be corrected is a non-deletion operation, the sub-error field in the sub-document to be updated and the corrected source error field are stored accordingly.

[0095] The document data processing method generates at least two sub-documents based on a source document, that is, one source document has a one-to-many association relationship with multiple sub-documents; each of the at least two sub-documents is sent to the corresponding first terminal; when it is determined through the first terminal that at least one of the at least two sub-documents has been processed, and there is a document containing a sub-error field in at least two sub-documents, it means that a part of the sub-documents generated by the source document have been processed, but there are errors in some sub-documents. At this time, if the sub-document is regenerated, it will cause the budget of the sub-document to be occupied, and repeated approval will cause resource waste and affect timeliness. However, by determining the source error field in the source document, setting the source error field to an editable state, obtaining the corrected source error field, and obtaining the corrected sub-document based on the corrected source error field, there is no need to re-occupy the budget, and there is no need to repeatedly approve the part that does not need to be modified, thereby saving document data processing efficiency.

[0096] It should be understood that although Figure 2-4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0097] In one embodiment, Figure 5 As shown, a document data processing device is provided, comprising: a first acquisition module 502, a determination module 504, a second acquisition module 506 and a third acquisition module 508, wherein:

[0098] The first acquisition module 502 is used to acquire the sub-document to be corrected, wherein the sub-document to be corrected includes a sub-error field; the sub-document to be corrected is generated by a source document.

[0099] The determination module 504 is configured to determine, based on the sub-error field, a source error field in the source document that corresponds to the sub-error field.

[0100] The second acquisition module 506 is used to set the source error field to an editable state and acquire a corrected source error field; the corrected source error field is obtained by correcting the source error field in the editable state;

[0101] The third acquisition module 508 is used to obtain a corrected sub-document based on the corrected source error field.

[0102] The above-mentioned document data processing device determines the source error field corresponding to the sub-error field and in the source document, sets the source error field to an editable state, and corrects the source error field in the editable state to obtain a corrected source error field, that is, the source error field is editable, and the sub-error field and the source error field are linked; based on the corrected source error field, a corrected sub-document is obtained, so that the error of the source document can be discovered, and the erroneous document can be prevented from being pushed next time, the number of errors is reduced, and thus resource usage is reduced; and since the correct content in the sub-document has been verified, when the corrected sub-document is subsequently verified, the error field corresponding to the source error field in the corrected sub-document only needs to be verified, thereby improving the document data processing efficiency; in addition, the error problem occurs at the source document and is handled at the source document, thereby avoiding the issue of authority and responsibility.

[0103] In one embodiment, the first acquisition module 502 is used to acquire a source document; generate at least two sub-documents associated with the source document based on the source document; send each of the at least two sub-documents to the corresponding first terminal; when it is determined through the first terminal that at least one of the at least two sub-documents has been processed, and there is a document containing a sub-error field among the at least two sub-documents, the document containing the sub-error field is used as the sub-document to be corrected.

[0104] The document data processing device in this embodiment generates at least two sub-documents based on a source document, that is, one source document has a one-to-many association relationship with multiple sub-documents; each of the at least two sub-documents is sent to the corresponding first terminal; when it is determined through the first terminal that at least one of the at least two sub-documents has been processed, and there is a document containing a sub-error field in at least two sub-documents, it means that a part of the sub-documents generated by the source document have been processed, but there are errors in some sub-documents. At this time, if the sub-document is regenerated, it will cause the budget of the sub-document to be occupied, and repeated approval will cause waste of resources and affect timeliness. However, by determining the source error field in the source document, setting the source error field to an editable state, obtaining the corrected source error field, and obtaining the corrected sub-document based on the corrected source error field, there is no need to re-occupy the budget, and there is no need to repeatedly approve the part that does not need to be modified, thereby improving the efficiency of document data processing.

[0105] In one embodiment, the first acquisition module 502 is used to generate at least two sub-documents associated with the source document based on the source document according to the business object conversion platform rules.

[0106] The document data processing device in this embodiment, when at least one of the at least two sub-documents generated by the source document has been processed, and there is a document containing a sub-error field in at least two sub-documents, the document containing the sub-error field is used as the sub-document to be corrected. Then, based on the business object conversion platform rules, it is temporarily impossible to use the entry information to push down the sub-document separately. If the business object conversion platform rules are adjusted to generate sub-documents multiple times based on the source document, then the processed NA document needs to be deleted after repeated generation, and only the original erroneous A documents are retained for processing. Such operation is inconvenient and there is a risk of duplicate document generation. Then, by determining the source error field in the source document, setting the source error field to an editable state, obtaining the corrected source error field, and obtaining the corrected sub-document based on the corrected source error field, there will be no risk of duplicate document generation and the document data processing efficiency is improved.

[0107] In one embodiment, the second acquisition module 506 is used to send a message about the source document to be corrected to the second terminal that created the source document, and in response to a triggering operation on the message about the source document to be corrected, display the source document on the second terminal; set the source error field in the displayed source document to an editable state, and obtain the corrected source error field entered through the second terminal.

[0108] The document data processing device in this embodiment sends a message related to the source document to be corrected to the second terminal that creates the source document. In response to the triggering operation of the message related to the source document to be corrected, the source document is displayed on the second terminal, and the source error field in the displayed source document is set to an editable state, and the corrected source error field entered through the second terminal is obtained. Then, when an error occurs in the sub-document, a message can be sent to the second terminal that creates the source document, so that the source document can be modified at the second terminal. The error caused by which end will be modified by which end, which will not cause responsibility issues. Modification at the source document means that the error is known at the source document, thereby reducing the error rate of the next order push.

[0109] In one embodiment, the third acquisition module 508 is used to determine the entry information in the source document corresponding to the sub-document to be corrected; replace the source error field in the entry information with the corrected source error field to obtain the corrected entry information; and generate the corrected sub-document based on the corrected entry information.

[0110] The document data processing device in this embodiment determines the entry information in the source document corresponding to the sub-document to be corrected, replaces the source error field in the entry information with the corrected source error field to obtain the corrected entry information, and generates a corrected sub-document based on the corrected entry information, thereby avoiding the risk of duplicate document generation.

[0111] In one embodiment, the first acquisition module 502 is used to acquire the sub-document to be corrected returned from the first terminal. The document data processing device module also includes a sending module, which is used to send the corrected sub-document to the first terminal so that the first terminal performs verification based on the corrected sub-document.

[0112] The document data processing device in this embodiment obtains the sub-document to be corrected returned from the first terminal, and sends the corrected sub-document to the first terminal, so that the first terminal performs verification based on the corrected sub-document, that is, the sub-document can be automatically pushed downstream after correction is completed.

[0113] In one embodiment, the document data processing device further includes a storage module, which is used to store the sub-error field in the sub-document to be updated and the corrected source error field accordingly when the operation performed on the sub-document to be corrected is a non-deletion operation.

[0114] The document data processing device in this embodiment, when the operation performed on the sub-document to be corrected is a non-deletion operation, retains the sub-document to be corrected, and stores the word error field and the corrected source error field in the sub-document to be updated accordingly, and can record the information before and after the correction, so as to facilitate the subsequent verification of the corrected sub-document.

[0115] The specific definition of the document data processing device can be found in the definition of the document data processing method above, which will not be repeated here. Each module in the above document data processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0116] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store document data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a document data processing method is implemented.

[0117] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0118] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0119] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0120] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are 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 performs the steps in the above-mentioned method embodiments.

[0121] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0122] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0123] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A document data processing method, It is characterized in that The method comprises: Acquire the sub-document to be corrected; the sub-document to be corrected is a document containing a sub-error field that exists in at least two sub-documents generated from the source document when at least one of the at least two sub-documents is processed; determining a source error field in the source document that corresponds to the sub-error field; Setting the source error field to an editable state, and obtaining a corrected source error field; the corrected source error field is obtained by correcting the source error field in the editable state; Determine the entry information in the source document corresponding to the sub-document to be corrected; the entry information is obtained by splitting the source document information in the source document; Replacing the source error field in the entry information with the corrected source error field to obtain corrected entry information; A corrected sub-document is generated based on the corrected entry information.

2. The method according to claim 1, It is characterized in that The method further comprises: Get source documents; generating at least two sub-documents associated with the source document based on the source document; sending each of the at least two sub-documents to a corresponding first terminal; When it is determined through the first terminal that at least one of the at least two sub-documents has been processed, and there is a document containing a sub-error field among the at least two sub-documents, the document containing the sub-error field is used as a sub-document to be corrected.

3. The method according to claim 2, It is characterized in that The generating, based on the source document, at least two sub-documents associated with the source document includes: According to the business object conversion platform rules, at least two sub-documents associated with the source document are generated based on the source document.

4. The method according to claim 1, It is characterized in that The step of setting the source error field to an editable state and obtaining a corrected source error field includes: Sending a message related to the source document to be corrected to a second terminal that created the source document, and in response to a triggering operation on the message related to the source document to be corrected, displaying the source document on the second terminal; The source error field in the displayed source document is set to an editable state, and the corrected source error field input through the second terminal is obtained.

5. The method according to claim 1, It is characterized in that The determining a source error field in the source document that corresponds to the sub-error field includes: Based on the stored mapping relationship between the sub-error field and the source error field, a source error field corresponding to the sub-error field and in the source document is determined.

6. The method according to any one of claims 1 to 5, It is characterized in that The obtaining of the sub-document to be corrected includes: Obtain the sub-document to be corrected returned from the first terminal; The method further comprises: The corrected sub-receipt is sent to the first terminal so that the first terminal performs verification based on the corrected sub-receipt.

7. The method according to any one of claims 1 to 5, It is characterized in that The method further comprises: When the operation performed on the sub-document to be corrected is a non-deletion operation, the sub-error field in the sub-document to be corrected and the corrected source error field are stored accordingly.

8. A document data processing device, It is characterized in that The device comprises: A first acquisition module is used to acquire a sub-document to be corrected; the sub-document to be corrected is a document containing a sub-error field that exists in at least two sub-documents generated from a source document when at least one of the at least two sub-documents is processed; a determining module, configured to determine, based on the sub-error field, a source error field in the source document that corresponds to the sub-error field; A second acquisition module is used to set the source error field to an editable state and acquire a corrected source error field; the corrected source error field is obtained by correcting the source error field in the editable state; The third acquisition module is used to determine the entry information in the source document corresponding to the sub-document to be corrected; the entry information is obtained by splitting the source document information in the source document; the source error field in the entry information is replaced with the corrected source error field to obtain the corrected entry information; and a corrected sub-document is generated based on the corrected entry information.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.