Document processing method and device, equipment, storage medium and program product
By obtaining and comparing document catalog titles and using a large language model to generate target document content, the problems of inconsistent templates and duplicate work in document review are solved, and the efficiency and quality of document review are improved.
Patent Information
- Application Number
- CN202411323090.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-02-28
AI Technical Summary
During the review process, existing documents have problems such as missing keyword modifications and inconsistent templates, resulting in duplicate work and wasting time and resources.
By obtaining the standard directory title of the standard template and the original directory title of the original document to be reviewed, the missing directory title is determined based on the similarity, and using a large language model to process the original document to generate the target document content that matches the missing directory title, the standard template is updated to generate the target document.
It realizes automatic filling of document content of missing catalog titles, generates standardized and relatively complete documents to be reviewed, improves document review efficiency and reduces personnel investment costs.
Smart Images

Figure CN119538889A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and more specifically to a document processing method, apparatus, device, storage medium and program product. Background Art
[0002] In today's information age, with the gradual increase in software complexity, the types and contents of documents that need to be delivered are also increasing. Existing documents need to be reviewed after completion. When delivering multiple project documents, due to different customer requirements, the project team may copy and paste documents back and forth, which may cause keywords to be missed and the project team may repeat work due to inconsistent templates, wasting time and resources. Therefore, how to improve document development efficiency and document quality is a technical problem that technicians in this field need to solve. Summary of the invention
[0003] In view of the above problems, the present disclosure provides a document processing method, apparatus, device, storage medium and program product.
[0004] According to a first aspect of the present disclosure, a document processing method is provided, including: obtaining a standard directory title of a standard template and an original directory title of an original document to be reviewed; determining a missing directory title from the standard directory title based on a similarity between the standard directory title and the original directory title, wherein the missing directory title represents that the original document lacks an original directory title whose similarity to the missing directory title is greater than or equal to a similarity threshold; processing the original document based on a large language model to obtain target document content that matches the missing directory title; and updating the standard template based on the target document content to obtain the target document.
[0005] According to an embodiment of the present disclosure, the missing directory title includes a missing topology title that matches the topology structure content; wherein, the original document is processed based on the large language model to obtain the target document content that matches the missing directory title, including: processing the original document based on the large language model to obtain the execution dependency relationship between the topology nodes in the topology structure content, the topology nodes represent the service system, service component or service device related to the target application in the original document, and the topology nodes are determined by keyword recognition of the original document; based on the execution dependency relationship and the topology nodes, the target topology structure content is determined, and the target document content includes the target topology structure content.
[0006] According to an embodiment of the present disclosure, a topology node includes a service device node corresponding to a service device, and based on execution dependencies and topology nodes, a target topology structure content is determined, including: obtaining a device interaction address corresponding to the service device node from an original document; updating the service device node based on the device interaction address to obtain an updated target service device node; and determining the target topology structure content based on the target service device node and the execution dependency.
[0007] According to an embodiment of the present disclosure, the document processing method also includes: dividing the target service device node into operating areas based on the device interaction address to obtain area division information of the target service device node; and updating the node attributes of at least one topological node in the target topological structure content based on the area division information.
[0008] According to an embodiment of the present disclosure, the original document is processed based on a large language model to obtain target document content that matches the missing directory title, including: using the large language model to process the original document, the missing directory title and the prompt words that match the missing directory title to obtain the target document content.
[0009] According to an embodiment of the present disclosure, a target document is obtained by updating a standard template based on the target document content, including: updating missing document content corresponding to missing directory titles in the standard template based on the target document content to obtain an intermediate document; and updating document content corresponding to standard directory titles in the intermediate document based on associated document content corresponding to associated directory titles in the original document to obtain a target document, wherein the similarity between the associated directory titles and the standard directory titles is greater than or equal to a similarity threshold.
[0010] According to an embodiment of the present disclosure, based on the associated document content corresponding to the associated directory title in the original document, the document content corresponding to the standard directory title in the intermediate document is updated, including: using a large language model to process the associated document content to obtain target associated document content; and updating the document content corresponding to the standard directory title in the intermediate document based on the target associated document content.
[0011] According to an embodiment of the present disclosure, the document processing method also includes: responding to a modification suggestion operation on the target document content, generating modification prompt words based on the modification suggestion operation, and processing the modification prompt words and the target document content corresponding to the modification suggestion operation based on a large language model to obtain updated new target document content.
[0012] A second aspect of the present disclosure provides a document processing device, including: an acquisition module, used to acquire a standard directory title of a standard template and an original directory title of an original document to be reviewed; a missing directory title determination module, used to determine a missing directory title from the standard directory title based on the similarity between the standard directory title and the original directory title, wherein the missing directory title represents that the original document lacks an original directory title whose similarity with the missing directory title is greater than or equal to a similarity threshold; a target document content acquisition module, used to process the original document based on a large language model to obtain target document content that matches the missing directory title; and a target document acquisition module, used to update the standard template based on the target document content to obtain a target document.
[0013] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0014] A fourth aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above application operation and maintenance method when executed.
[0015] A fifth aspect of the present disclosure provides a computer program product, which includes computer executable instructions, and the instructions are used to implement the above application operation and maintenance method when executed.
[0016] According to the embodiments of the present disclosure, the missing directory title can be determined based on the similarity between the standard directory title and the original directory title, and the document content missing from the original document can be found relatively quickly. By processing the original document with a large language model and then generating the target document content that matches the missing directory title, it is possible to automatically fill in the document content of the missing directory title, and then update the standard template according to the target document content to obtain the target document, thereby realizing the automatic generation of standardized and relatively complete documents to be reviewed, and the standardized target documents to be reviewed can be reviewed to improve the review efficiency of various types of documents such as project documents. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0018] Figure 1 The application scenario diagram of the document processing method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown;
[0019] Figure 2A flowchart schematically shows a document processing method according to an embodiment of the present disclosure;
[0020] Figure 3 A flowchart of a document review method according to another embodiment of the present disclosure is schematically shown;
[0021] Figure 4 A flowchart of generating a standard template according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 5 A flowchart of document review task generation according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 6 A flowchart of reviewer review according to an embodiment of the present disclosure is schematically shown;
[0024] Figure 7 A schematic diagram schematically shows the review processing result according to an embodiment of the present disclosure;
[0025] Figure 8 A schematic diagram schematically shows target document content generation according to an embodiment of the present disclosure;
[0026] Fig. 9 A schematic diagram schematically shows a document processing method according to another embodiment of the present disclosure;
[0027] Fig. 10A A schematic diagram schematically shows project group management according to an embodiment of the present disclosure;
[0028] Fig. 10B A schematic diagram schematically shows document submission information according to an embodiment of the present disclosure;
[0029] Fig. 10C A schematic diagram schematically shows document review information according to an embodiment of the present disclosure;
[0030] Fig. 10D A schematic diagram schematically shows review results and feedback according to an embodiment of the present disclosure;
[0031] Fig.11 A schematic diagram showing a structural block diagram of a document processing device according to an embodiment of the present disclosure; and
[0032] Fig.12 A block diagram of an electronic device suitable for implementing a document processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0033] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0034] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0035] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0036] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0037] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0038] In today's information age, with the gradual increase in software complexity, the types and contents of documents that need to be delivered are also increasing. Existing documents need to be reviewed after completion. In the process of reviewing documents, many problems can be found, such as: not submitted according to the template, the template has been tampered with, the content is incomplete, the format is disordered, etc., which cause great trouble to the review work, and a document is modified-reviewed, modified-reviewed, and the most document reviews have gone through 4 rounds before the final draft can be formed. In the case of delivering multiple project documents, because customer requirements may be different, the project team will copy and copy documents back and forth, there is a situation where keywords are missed and the project team may repeat work due to inconsistent templates, wasting time and resources. Therefore, how to improve document development efficiency and document quality is a technical problem that technicians in this field need to solve.
[0039] In view of this, an embodiment of the present disclosure provides a document processing method, apparatus and device, the method comprising: obtaining a standard directory title of a standard template and an original directory title of an original document to be reviewed; determining a missing directory title from the standard directory title based on the similarity between the standard directory title and the original directory title, wherein the missing directory title represents that the original document lacks an original directory title whose similarity with the missing directory title is greater than or equal to a similarity threshold; processing the original document based on a large language model to obtain target document content that matches the missing directory title; and updating the standard template based on the target document content to obtain the target document.
[0040] In the technical solution of the present invention, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0041] Figure 1 The application scenario diagram of the document processing method and device according to the embodiments of the present disclosure is schematically shown.
[0042] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0043] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0044] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0045] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0046] It should be noted that the document processing method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the document processing device provided in the embodiment of the present disclosure can generally be set in the server 105. The document processing method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the document processing device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.
[0047] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0048] The following will be based on Figure 1 The scene described by Figure 2~Figure 9 The document processing method of the disclosed embodiment is described in detail.
[0049] Figure 2 The flowchart of the document processing method according to the embodiment of the present disclosure is schematically shown.
[0050] like Figure 2 As shown, the document processing method of this embodiment includes operations S210 to S240, and the transaction processing method can be executed by an electronic device.
[0051] In operation S210, a standard directory title of a standard template and an original directory title of an original document to be reviewed are obtained.
[0052] In operation S220, missing category titles are determined from the standard category titles based on similarities between the standard category titles and the original category titles.
[0053] In operation S230, the original document is processed based on the large language model to obtain target document content matching the missing directory title.
[0054] In operation S240, the standard template is updated based on the target document content to obtain the target document.
[0055] According to an embodiment of the present disclosure, a standard template may represent a template of a target document that is expected to be generated, and an original document may represent a document that provides original content. For example, the target document is an emergency plan document in a specific format required by a project team, and the original document is an emergency plan document that does not match the specific format standard. The standard directory title of the standard template and the original directory title of the original document to be reviewed can be obtained.
[0056] According to an embodiment of the present disclosure, a similarity algorithm can be used to calculate the similarity between a standard directory title and an original directory title. The similarity algorithm may include a twin BERT (Bidirectional Encoder Representations from Transformers) algorithm, a cosine similarity algorithm, an edit distance algorithm, etc., but is not limited thereto. The embodiment of the present disclosure does not limit the specific algorithm of the similarity. The missing directory title can be determined from the standard directory title based on the similarity. The missing directory title can indicate that the original document lacks an original directory title whose similarity with the missing directory title is greater than or equal to a similarity threshold.
[0057] According to the embodiments of the present disclosure, it is clear that the relevant content of the missing directory title needs to be obtained. The original content in the original document can be processed based on the large language model to obtain the target document content that matches the missing directory title. The large language model can be an open source Large Language Model Meta AI 2 (llama2) model, etc., but is not limited to this, and the embodiments of the present disclosure are not limited to this.
[0058] According to an embodiment of the present disclosure, the content corresponding to the missing directory title in the standard template can be updated based on the content of the target document, thereby obtaining the target document.
[0059] According to the embodiments of the present disclosure, this method can be mainly used in the delivery period of software development projects, automatic document generation, automatic replacement of target templates, and error correction, which can help improve document review efficiency, reduce personnel input costs, and standardize the quality of deliverables.
[0060] According to the embodiments of the present disclosure, the missing directory title can be determined based on the similarity between the standard directory title and the original directory title, and the document content missing from the original document can be found relatively quickly. By processing the original document with a large language model and then generating the target document content that matches the missing directory title, it is possible to automatically fill in the document content of the missing directory title, and then update the standard template according to the target document content to obtain the target document, thereby realizing the automatic generation of standardized and relatively complete documents to be reviewed, and the standardized target documents to be reviewed can be reviewed to improve the review efficiency of various types of documents such as project documents.
[0061] Figure 3 The flowchart of a document review method according to another embodiment of the present disclosure is schematically shown.
[0062] like Figure 3 As shown, after executing the start step S301, step S302 is executed to determine whether there is a target document. If there is a target document, step S303 is executed to upload the target document. If there is no target document, step S305 is executed to select the document type. Step S306 can be executed to use the target document provided by the system, and then the next step is performed. After the target document is uploaded, step S304 can be executed to extract the directory information of the target document. At the beginning, step S307 can be executed to upload the original document. After uploading the original document, step S308 is executed to extract the directory information of the original document. Based on the extracted directory information (standard directory title) of the target document and the directory information (original directory title) of the original document, step S310 is executed to calculate the similarity between the standard directory title and the original directory title. Step S311 is executed to determine whether the similarity exceeds the threshold. If the similarity exceeds the threshold, step S313 is executed to write the content under the original directory title into the standard directory title in the target document. After writing into the standard directory title, step S314 can be executed to filter sensitive words and problematic fonts. After the errors of fonts, sensitive words, etc. are corrected, step S318 is executed to finally generate the target document.
[0063] According to the embodiment of the present disclosure, when the similarity does not exceed the threshold, step S312 is executed to determine whether an alias needs to be set. When it is necessary to determine whether an alias needs to be set, step S309 can be executed to manually set the directory title. After obtaining the manually set directory alias, step S304 can be executed to extract the manually set standard directory title, so as to perform the next step of similarity calculation.
[0064] According to the embodiments of the present disclosure, determine whether it is necessary to set an alias. In the case where it is not necessary to determine to set an alias, step S315 can be executed to determine whether it is possible to connect to the Internet. In the case where it is possible to connect to the Internet, step S317 can be executed to use the networking component to generate the directory document content corresponding to the missing directory title. After obtaining the directory document content, step S314 can be executed to filter sensitive words and problematic fonts in the generated directory document content. After correcting errors in fonts, sensitive words, etc., step S318 is executed to finally generate the target document.
[0065] According to the embodiments of the present disclosure, it is determined whether the network can be connected. If the network cannot be connected, step S316 can be executed, and the directory document content corresponding to the missing directory title can be generated using the disconnected component. After obtaining the directory document content, step S314 can be executed to filter sensitive words and problematic fonts in the generated directory document content. After correcting errors in fonts, sensitive words, etc., step S318 is executed to finally generate the target document.
[0066] Figure 4 The flowchart of generating a standard template according to an embodiment of the present disclosure is schematically shown.
[0067] like Figure 4 As shown, first, step S401 can be executed to investigate the document requirements. Then, step S402 can be executed to determine whether there is a template. If there is a template, step S403 can be executed to obtain the customer's target template. After obtaining the target template, step S404 can be executed to import the target template into the document system. After importing the document system, step S405 can be executed to select the specified template. Then step S407 can be executed to create a standard template for the project.
[0068] In the case where there is no standard template, step S406 may be executed to select a system built-in template, and then step S407 may be executed to create a standard template for the project.
[0069] Figure 5 The flowchart of document review task generation according to an embodiment of the present disclosure is schematically shown.
[0070] like Figure 5As shown, first, you can execute step S501 to select a project group. Then execute step S502 to edit the standard template corresponding to the project group online. After editing, you can execute step S503 to submit the document. Execute step S504 to conduct an initial review of the submitted document. If the initial review is passed, execute step S507 to send the document to the review team for review. Get the review result, and if the review is passed, execute step S508. After the review team passes the review, execute step S509 to obtain the document review task. If the review team fails the review, execute step S502 to edit the document online again.
[0071] According to the embodiment of the present disclosure, if the initial review fails, step S505 is executed, and the system automatically conducts a review. The review result is obtained. If the review passes, step S506 is executed. If the review passes, step S507 is executed and the document is sent to the review team for review. If the review fails, step S502 is executed and the document is edited online again.
[0072] Figure 6 The flowchart of reviewer review according to an embodiment of the present disclosure is schematically shown.
[0073] like Figure 6 As shown, the review team can first execute step S601 to select the project group to be reviewed. Execute step S602 to review the document review task submitted by the project group online. Then execute step S603 to submit the review result of the review task. If the review result is passed, execute step S604 to obtain the target document.
[0074] Figure 7 The diagram schematically shows the review processing result according to an embodiment of the present disclosure.
[0075] like Figure 7 As shown, there are 3 experts, and document chapter 1 has 3 different contents, namely content 1, content 2 and content 3. Four different review results can be set. The first is that more than half of the expert review team, 50%, give feedback that the document is not passed. The content of this chapter needs to be modified, and the results that need to be modified are marked in red. The second is that less than half of the expert review team, 50%, give feedback that the document is not passed. The content of this chapter is recommended to be modified, and the chapter that needs to be modified is marked in yellow. The third is that no one in the expert review team gives feedback that the document is not passed. The content of this chapter does not need to be modified. The content of this chapter is marked in green, and the results that the experts did not propose any modification suggestions are marked in green. The fourth is that the content of the chapter affects the review results of the document. If any chapter needs to be modified or recommended to be modified, the entire document needs to be modified (review failed).
[0076] like Figure 7As shown, 2 experts proposed modification suggestions for content 1, and 1 expert did not propose modification suggestions. More than half of the expert review team gave feedback of 50% that it was not passed, and the content of this chapter needs to be modified, and the results that need to be modified are marked in red. 1 expert proposed modification suggestions for content 2, and 2 experts did not propose modification suggestions. Less than half of the expert review team gave feedback of 50% that it was not passed, and the content of this chapter is recommended to be modified, and the results that need to be modified are marked in yellow. 3 experts did not propose modification suggestions for content 3. No one in the expert review team gave feedback of not passing, and the content of this chapter does not need to be modified. The content of this chapter is marked in green, and the results where the experts did not propose modification suggestions are marked in green.
[0077] According to the embodiment of the present disclosure, in order to ensure that the expert review opinions are voted unanimously, the number of review experts can be set to an odd number. The judgment calculation rules are shown in Table 1.
[0078] Table 1 General judgment calculation rules
[0079]
[0080] According to the embodiments of the present disclosure, the present disclosure can summarize a set of document review templates and specifications based on the document processing method in the experience of a project, which can not only reduce some document work of the project team, but also improve the overall delivery quality, improve the efficiency of the delivery team, and greatly save time.
[0081] According to an embodiment of the present disclosure, the missing directory title includes a missing topology title that matches the topology content. The topology content may include a logical architecture diagram, a hierarchical relationship topology diagram, etc., but is not limited thereto. The embodiment of the present disclosure does not limit the specific type of topology content. The missing topology title indicates that the topology content corresponding to the topology directory title is missing.
[0082] According to an embodiment of the present disclosure, the original document is processed based on a large language model to obtain target document content that matches the missing directory title, including: processing the original document based on a large language model to obtain execution dependencies between topological nodes in the topological structure content, the topological nodes represent service systems, service components or service devices related to the target application in the original document, and the topological nodes are determined by keyword recognition of the original document; based on the execution dependencies and the topological nodes, the target topological structure content is determined, and the target document content includes the target topological structure content.
[0083] According to the embodiments of the present disclosure, the original document can be processed based on the large language model to obtain the execution dependency relationship between the topological nodes in the topological structure content. The execution dependency relationship may include the hierarchical relationship between modules, the start and stop conditions and the start and stop logical relationship between components, etc., but is not limited to this. The embodiments of the present disclosure do not limit the execution dependency relationship. The topological node can represent the service system, service component or service device related to the target application in the original document. The service component may include program segment documents such as modules and submodules. The service device can be used to provide support for the target application.
[0084] According to an embodiment of the present disclosure, a topological node can be determined by performing keyword recognition on an original document, and can be identified by obtaining keywords such as system names and system description information in a physical subsystem in the original document.
[0085] According to an embodiment of the present disclosure, the directory topology structure content can be determined based on the execution dependency and the topology node, and the target document content can include the target topology structure content. For example, it is necessary to call the large language model to generate the target document content that matches the missing directory title based on the information in the original document. The missing directory title is a logical architecture diagram, wherein the requirement of the logical architecture diagram is that it needs to include various modules or systems and their relationships. In order to obtain the modules and relationships of this system, the original document can be firstly subjected to keyword recognition to obtain the corresponding topology node, which can include the system name, system description information, etc. in the physical subsystem. The original document can be processed based on the large language model to obtain the execution dependency between the topology nodes, where the execution dependency can include the hierarchical relationship between the modules, etc. Finally, the corresponding logical architecture diagram can be generated based on the execution dependency and the topology node.
[0086] Figure 8 The schematic diagram schematically shows the generation of target document content according to an embodiment of the present disclosure.
[0087] like Figure 8 As shown, the original directory titles 810 in the original document and the standard directory titles 820 of the annotation template can be obtained. Among them, the original directory titles include major titles such as production environment overview and system interface, and the major titles also include subtitles such as system introduction, logical structure diagram and physical structure diagram. The standard directory titles include major titles such as production environment overview and system interface. At the same time, the major title of production environment overview also includes subtitles such as system introduction, logical structure diagram, physical structure diagram, network topology diagram, data architecture, system information, etc. The major title of system interface also includes subtitles such as overall overview of the associated system and file transfer method. The missing directory titles can be determined from the standard directory titles based on the similarity between the standard directory titles and the original directory titles. As shown in FIG. Figure 8As shown, the missing directory titles include missing directory title 831 and missing directory title 832. It can be determined that the original directory title includes subtitles of network topology diagram, data architecture and system information under the main title of production environment overview, and the missing directory title 832 includes subtitles of overall overview of the associated system and file transfer method under the main title of system interface. The content in the original document can be processed based on the large language model to obtain the target document content that matches the missing directory titles. For example, the large model can generate a network topology diagram by processing "1.1 System Introduction", "1.2 Logical Structure Diagram" and "1.3 Physical Structure Diagram", so that the target document content of "1.4 Network Topology Diagram" can be determined. The standard template is updated based on the target document content to obtain the target document.
[0088] According to the embodiments of the present disclosure, a topology structure diagram can be automatically constructed through a large language model, thereby reducing the modification steps for the original document and improving the modification efficiency of the target document.
[0089] According to an embodiment of the present disclosure, a topology node includes a service device node corresponding to a service device, and based on execution dependencies and topology nodes, a target topology structure content is determined, including: obtaining a device interaction address corresponding to the service device node from an original document; updating the service device node based on the device interaction address to obtain an updated target service device node; and determining the target topology structure content based on the target service device node and the execution dependency.
[0090] According to an embodiment of the present disclosure, a topology node may include a service device node corresponding to a service device. A service device node may include a node including address information. The topology structure content may include a topology map, or may also include description information, annotation information, and the like.
[0091] According to an embodiment of the present disclosure, the device interaction address corresponding to the service device node can be obtained from the original document, the service device node can be updated based on the device interaction address to obtain the updated target service device node, and the target topology structure content can be determined based on the target service device node and the execution dependency.
[0092] According to the embodiments of the present disclosure, the access addresses of various servers and other devices can be determined, so that the corresponding addresses can be quickly found in subsequent audits, thereby improving audit efficiency.
[0093] According to an embodiment of the present disclosure, the document processing method also includes: dividing the target service device node into operating areas based on the device interaction address to obtain area division information of the target service device node; and updating the node attributes of at least one topological node in the target topological structure content based on the area division information.
[0094] According to an embodiment of the present disclosure, the area division information may include a production area, an isolation area, or may also include other types of areas such as a geographical area, a business area, etc. The embodiment of the present disclosure does not specifically limit the area division information.
[0095] According to an embodiment of the present disclosure, the target service device node can be divided into operation areas based on the device interaction address to obtain area division information, and the node attributes of at least one topological node in the target topological structure content can be updated based on the area division information.
[0096] Fig. 9 A schematic diagram schematically shows a document processing method according to yet another embodiment of the present disclosure.
[0097] like Fig. 9 As shown, the execution dependency between topological nodes in the topological structure content can be obtained based on the original document at the large language model. The topological node may include a service device node corresponding to the service device. The service device node may include a node containing address information. The hierarchical relationship between the application layer, the middleware, and the database can be seen in the figure. The device interaction address of the service device node (service A, service B) is obtained from the original document. The service device node is updated based on the device interaction address to obtain an updated target service device node. Specifically, IP1 is updated to the middleware key-value database (Remote Dictionary Server, Redis) to obtain an updated target service device node, IP2 is updated to the middleware Kafka to obtain an updated target service device node, Redis IP3 is used to update the database mysql to obtain an updated target service device node, and Kafka IP3 is used to update the database Mongodb to obtain an updated target service device node. The target topological structure content can be determined based on the target service device node and the execution dependency.
[0098] According to the embodiments of the present disclosure, by performing regional division, the regions to which each service device belongs can be automatically generated relatively quickly, which is convenient for subsequent project review.
[0099] According to an embodiment of the present disclosure, the original document is processed based on a large language model to obtain target document content that matches the missing directory title, including: using the large language model to process the original document, the missing directory title and the prompt words that match the missing directory title to obtain the target document content.
[0100] According to an embodiment of the present disclosure, prompt words matching the missing catalog title can help reviewers or other relevant personnel quickly understand the main content of the missing catalog title chapter. These prompt words can be concise, specific and can accurately reflect the core theme of the chapter.
[0101] According to an embodiment of the present disclosure, a large language model can be used to process the original document, missing directory titles and prompt words matching the missing directory titles to obtain directory document content, so as to improve the accuracy of the directory document content corresponding to the missing directory titles.
[0102] According to an embodiment of the present disclosure, a target document is obtained by updating a standard template based on the target document content, including: updating missing document content corresponding to missing directory titles in the standard template based on the target document content to obtain an intermediate document; and updating document content corresponding to standard directory titles in the intermediate document based on associated document content corresponding to associated directory titles in the original document to obtain a target document, wherein the similarity between the associated directory titles and the standard directory titles is greater than or equal to a similarity threshold.
[0103] According to an embodiment of the present disclosure, the missing document content corresponding to the missing directory title in the standard template can be updated based on the target document content generated by the large language model to obtain an intermediate document. The similarity between the associated directory title and the standard directory title is greater than or equal to the similarity threshold. The document content corresponding to the standard directory title in the intermediate document can be updated based on the associated document content corresponding to the associated directory title in the original document to obtain the target document.
[0104] According to an embodiment of the present disclosure, based on the associated document content corresponding to the associated directory title in the original document, the document content corresponding to the standard directory title in the intermediate document is updated, including: using a large language model to process the associated document content to obtain target associated document content; and updating the document content corresponding to the standard directory title in the intermediate document based on the target associated document content.
[0105] According to the embodiments of the present disclosure, the large language model can be used to rewrite the text, charts and other document contents of the associated document content in the original document according to the language style, data unit, and chart format of the standard template, and to modify the typos in the associated document content to obtain the target associated document that meets the requirements of the standard template. According to the embodiments of the present disclosure, the document content corresponding to the standard directory title in the intermediate document can be updated based on the generated target associated document content.
[0106] According to an embodiment of the present disclosure, prompt information can be generated based on document prompt words corresponding to standard directory titles and target-associated document content, and the prompt information can be processed using a large language model to generate target-associated document content, so as to improve the efficiency of modifying and proofreading the document content of the original document.
[0107] According to an embodiment of the present disclosure, the document processing method also includes: responding to a modification suggestion operation on the target document content, generating modification prompt words based on the modification suggestion operation, and processing the modification prompt words and the target document content corresponding to the modification suggestion operation based on a large language model to obtain updated target document content.
[0108] According to the embodiments of the present disclosure, in response to a modification opinion operation on the target document content, a modification prompt word can be generated based on the modification opinion operation, and the modification prompt word and the target document content corresponding to the modification opinion operation can be processed based on the large language model to obtain the updated target document content. For example, if the modification opinion operation is that the topology structure definition in the 1.4 network topology diagram is incorrect, the modification prompt word "topology structure definition" can be generated based on the modification opinion, and the modification prompt word "topology structure definition" and the target document content corresponding to the 1.4 network topology diagram can be processed using the large language model to obtain the updated target document content.
[0109] According to an embodiment of the present disclosure, prompt words are generated according to the review opinions, so as to control the large language model to automatically modify the current target document content according to the review opinions, obtain the modified target document content, and improve the document modification efficiency.
[0110] According to the embodiments of the present disclosure, the present disclosure establishes a unified document template, which is generated by the system and provided to the heads of each module for use, ensuring the consistency of the document format and structure. The system automatically enters the preliminary review and can automatically generate the preliminary review results, effectively reducing the cost of manual communication and improving efficiency. An online document review process is established to facilitate the project team to check the review progress at any time, and supports comprehensive scoring and feedback of multi-person review results, improves the review quality, and ensures the quality of the final delivered document. For documents with repeated content, the system can automatically fill in the content of the same part, and the project team only needs to supplement the missing parts to avoid duplication of work.
[0111] Fig. 10A A schematic diagram of project group management according to an embodiment of the present disclosure is schematically shown.
[0112] like Fig. 10A As shown, the figure may include project group information, templates to be added, and template status. Project group information includes project number, project start date, project name, project deadline, etc. Adding templates includes the type of technical document, whether there is a template, template validity date, whether there is a built-in template, etc. Template status includes technical document type, whether there is a template corresponding to the technical document type, custom template name, built-in template name, template submitter, template validity date, etc. You can determine whether there is a corresponding template based on the project group's technical document type and whether the template is within the validity date.
[0113] Fig. 10B A schematic diagram schematically shows document submission information according to an embodiment of the present disclosure.
[0114] like Fig. 10B As shown, the figure may include document review progress, document submission information, document submission information content, etc. The document review progress may include submitted, under evaluation, in process, result delivery, and completed. The document submission information may include technical document type, project start date and deadline, submission time, and document description, etc. The document submission information column may include technical document type, corresponding document description, and attachments. The technical document type in the figure is operation and maintenance document, and the corresponding document description is "Operation and Maintenance Platform Control Platform Operation and Maintenance Document V1.0, please review". You can click the corresponding Start Review button at the back to conduct the review.
[0115] Fig. 10C A schematic diagram schematically shows document review information according to an embodiment of the present disclosure.
[0116] like Fig. 10C As shown in the figure, the document review progress has changed from Submitted to Under Evaluation. Fig. 10B The document submission information in the document submission can be the same. The document submission information can include the technical document type, project start date and deadline, submission time and document description, etc. The document review information column can include the review expert, the review status corresponding to the review expert's review document, the evaluation results and the statistics of unqualified chapters or contents. The review status can include review completed and review in progress. The evaluation results can include need to be modified and blank. Blank means no modification is required.
[0117] Fig. 10D The diagram schematically shows the review results and feedback according to an embodiment of the present disclosure.
[0118] like Fig. 10D As shown in the figure, the document review progress is under evaluation. Fig. 10B or Fig. 10C The document submission information in can be the same. The document submission information may include the technical document type, project start date and deadline, submission time and document description, etc. The review results and feedback column may include the technical document type, document name, review time, reviewer, chapter identification that failed the review, and content that failed the review. The chapters that failed the review pointed out by the reviewer can be modified, and modification prompt words can be generated based on the review opinions. The target document content corresponding to the modification prompt words and modification opinions is processed based on the large language model to obtain the updated target document content.
[0119] According to the embodiments of the present disclosure, an online document review process can be established to facilitate the project team to check the review progress at any time, and support comprehensive scoring and feedback of multiple review results, thereby improving the review quality and ensuring the quality of the final delivered document. For documents with repeated content, the system can automatically fill in the same part of the content, and the project team only needs to supplement the missing parts to avoid duplication of work.
[0120] Based on the above document processing method, the present disclosure also provides a document processing device. Fig.11 The device is described in detail.
[0121] Fig.11 The structural block diagram of a document processing device according to an embodiment of the present disclosure is schematically shown.
[0122] like Fig.11 As shown, the document processing device 1100 of this embodiment includes an acquisition module 1110 , a missing directory title determination module 1120 , a target document content acquisition module 1130 and a target document acquisition module 1140 .
[0123] The acquisition module 1110 is used to acquire the standard directory title of the standard template and the original directory title of the original document to be reviewed.
[0124] The missing directory title determination module 1120 is used to determine the missing directory title from the standard directory title based on the similarity between the standard directory title and the original directory title, wherein the missing directory title indicates that the original document lacks the original directory title whose similarity with the missing directory title is greater than or equal to a similarity threshold.
[0125] The target document content obtaining module 1130 is used to process the original document based on the large language model to obtain the target document content that matches the missing directory title.
[0126] The target document obtaining module 1140 is used to update the standard template based on the target document content to obtain the target document.
[0127] According to the embodiments of the present disclosure, the missing directory title can be determined based on the similarity between the standard directory title and the original directory title, and the document content missing from the original document can be found relatively quickly. By processing the original document with a large language model and then generating the target document content that matches the missing directory title, it is possible to automatically fill in the document content of the missing directory title, and then update the standard template according to the target document content to obtain the target document, thereby realizing the automatic generation of standardized and relatively complete documents to be reviewed, and the standardized target documents to be reviewed can be reviewed to improve the review efficiency of various types of documents such as project documents.
[0128] According to an embodiment of the present disclosure, the missing directory title includes a missing topology title that matches the topology structure content.
[0129] According to an embodiment of the present disclosure, the target document content obtaining module includes: an execution dependency obtaining unit and a target topology structure content determining unit.
[0130] The execution dependency obtaining unit is used to process the original document based on the large language model to obtain the execution dependency between the topological nodes in the topological structure content. The topological nodes represent the service systems, service components or service devices related to the target application in the original document. The topological nodes are determined by keyword recognition of the original document.
[0131] The target topology structure content determination unit is used to determine the target topology structure content based on the execution dependency relationship and the topology nodes, and the target document content includes the target topology structure content.
[0132] According to an embodiment of the present disclosure, the topology node includes a service device node corresponding to the service device.
[0133] According to an embodiment of the present disclosure, the target topology content determination unit includes: a device interaction address acquisition subunit, an updating subunit and a determination subunit.
[0134] The device interaction address acquisition subunit is used to acquire the device interaction address corresponding to the service device node from the original document.
[0135] The updating subunit is used to update the service device node based on the device interaction address to obtain the updated target service device node.
[0136] The determination subunit is used to determine the target topology structure content based on the target service device node and the execution dependency.
[0137] According to an embodiment of the present disclosure, the target topology structure content determination unit further includes: an area division subunit and a node attribute update subunit.
[0138] The area division subunit is used to divide the target service device node into operation areas based on the device interaction address to obtain the area division information of the target service device node.
[0139] The node attribute updating subunit is used to update the node attribute of at least one topological node in the target topological structure content based on the area division information.
[0140] According to an embodiment of the present disclosure, the target document content obtaining module includes: a target document content obtaining unit.
[0141] The target document content obtaining unit is used to use the large language model to process the original document, the missing directory title and the prompt words matching the missing directory title to obtain the target document content.
[0142] According to an embodiment of the present disclosure, the target document obtaining module includes:
[0143] The intermediate document obtaining unit is used to update the missing document content corresponding to the missing directory title in the standard template based on the target document content to obtain the intermediate document.
[0144] The target document unit is used to update the document content corresponding to the standard directory title in the intermediate document based on the associated document content corresponding to the associated directory title in the original document to obtain the target document, wherein the similarity between the associated directory title and the standard directory title is greater than or equal to the similarity threshold.
[0145] According to an embodiment of the present disclosure, the target document unit includes:
[0146] The target associated document content subunit is used to process the associated document content using the large language model to obtain the target associated document content.
[0147] The document content updating subunit is used to update the document content corresponding to the standard directory title in the intermediate document based on the target associated document content.
[0148] According to an embodiment of the present disclosure, the document processing apparatus further includes: a generating module and an experience updating module.
[0149] The generating module is used to respond to the modification suggestion operation on the target document content and generate modification prompt words based on the modification suggestion operation.
[0150] The experience updating module is used to process the modification prompt words and the target document content corresponding to the modification opinion operation based on the large language model to obtain the updated new target document content.
[0151] According to an embodiment of the present disclosure, any multiple modules among the acquisition module 1110, the missing directory title determination module 1120, the target document content acquisition module 1130, and the target document acquisition module 1140 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the acquisition module 1110, the missing directory title determination module 1120, the target document content acquisition module 1130, and the target document acquisition module 1140 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, at least one of the acquisition module 1110, the missing directory title determination module 1120, the target document content acquisition module 1130 and the target document acquisition module 1140 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0152] Fig.12 A block diagram of an electronic device suitable for implementing a document processing method according to an embodiment of the present disclosure is schematically shown.
[0153] like Fig.12 As shown, the electronic device 1200 according to an embodiment of the present disclosure includes a processor 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage part 1208 to a random access memory (RAM) 1203. The processor 1201 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1201 may also include an onboard memory for caching purposes. The processor 1201 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0154] In RAM 1203, various programs and data required for the operation of electronic device 1200 are stored. Processor 1201, ROM 1202 and RAM 1203 are connected to each other via bus 1204. Processor 1201 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1202 and / or RAM 1203. It should be noted that the program can also be stored in one or more memories other than ROM 1202 and RAM 1203. Processor 1201 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0155] According to an embodiment of the present disclosure, the electronic device 1200 may further include an input / output (I / O) interface 1205, which is also connected to the bus 1204. The electronic device 1200 may further include one or more of the following components connected to the input / output (I / O) interface 1205: an input portion 1206 including a keyboard, a mouse, etc.; an output portion 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1208 including a hard disk, etc.; and a communication portion 1209 including a network interface card such as a LAN card, a modem, etc. The communication portion 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the input / output (I / O) interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage portion 1208 as needed.
[0156] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0157] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus, or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 1202 and / or RAM 1203 described above and / or one or more memories other than ROM 1202 and RAM 1203.
[0158] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the document processing method provided by the embodiment of the present disclosure.
[0159] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 1201. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0160] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1209, and / or installed from the removable medium 1211. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0161] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1209, and / or installed from the removable medium 1211. When the computer program is executed by the processor 1201, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0162] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0163] The flow charts 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 disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing 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 flow chart, and the combination of the boxes in the block diagram or flow chart 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.
[0164] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0165] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A document processing method, characterized in that: The method comprises: Obtain the standard catalog title of the standard template and the original catalog title of the original document to be reviewed; Based on the similarity between the standard catalog title and the original catalog title, determining a missing catalog title from the standard catalog title, wherein the missing catalog title indicates that the original document lacks an original catalog title whose similarity with the missing catalog title is greater than or equal to a similarity threshold; Processing the original document based on the large language model to obtain target document content matching the missing directory title; and The standard template is updated based on the target document content to obtain the target document.
2. The method according to claim 1, characterized in that The missing directory titles include missing topology titles that match the topology structure content; The original document is processed based on the large language model to obtain target document content matching the missing directory title, including: Processing the original document based on the large language model to obtain execution dependency relationships between topological nodes in the topological structure content, wherein the topological nodes represent service systems, service components or service devices related to the target application in the original document, and the topological nodes are determined by performing keyword recognition on the original document; Based on the execution dependency and the topological nodes, target topological structure content is determined, and the target document content includes the target topological structure content.
3. The method according to claim 2, characterized in that The topological nodes include service device nodes corresponding to service devices, Determining target topology structure content based on the execution dependency and the topology node includes: Acquire a device interaction address corresponding to the service device node from the original document; Update the service device node based on the device interaction address to obtain an updated target service device node; and Based on the target service device node and the execution dependency, the target topology structure content is determined.
4. The method according to claim 3, characterized in that Also includes: Based on the device interaction address, the target service device node is divided into operation areas to obtain area division information of the target service device node; as well as The node attribute of at least one topological node in the target topological structure content is updated based on the area division information.
5. The method according to claim 1 or 2, characterized in that: Processing the original document based on the large language model to obtain target document content matching the missing directory title includes: The original document, the missing directory title and the prompt words matching the missing directory title are processed by using the large language model to obtain the target document content.
6. The method according to claim 1, characterized in that Updating the standard template based on the target document content to obtain the target document includes: Based on the target document content, the missing document content corresponding to the missing directory title in the standard template is updated to obtain an intermediate document; and Based on the associated document content corresponding to the associated directory title in the original document, the document content corresponding to the standard directory title in the intermediate document is updated to obtain the target document, wherein the similarity between the associated directory title and the standard directory title is greater than or equal to the similarity threshold.
7. The method according to claim 6, characterized in that Based on the associated document content corresponding to the associated directory title in the original document, updating the document content corresponding to the standard directory title in the intermediate document includes: Processing the associated document content using a large language model to obtain target associated document content; and The document content corresponding to the standard catalog title in the intermediate document is updated based on the target-related document content.
8. The method according to claim 1, characterized in that Also includes: In response to a modification suggestion operation on the target document content, generating a modification prompt word based on the modification suggestion operation; as well as The modification prompt words and the target document content corresponding to the modification suggestion operation are processed based on the large language model to obtain updated new target document content.
9. A document processing device, characterized in that: The device comprises: An acquisition module, used for acquiring a standard catalog title of a standard template and an original catalog title of an original document to be reviewed; A missing catalog title determination module is used to determine a missing catalog title from the standard catalog title based on the similarity between the standard catalog title and the original catalog title, wherein the missing catalog title indicates that the original document lacks an original catalog title whose similarity with the missing catalog title is greater than or equal to a similarity threshold; a target document content obtaining module, used for processing the original document based on a large language model to obtain target document content matching the missing directory title; and The target document obtaining module is used to update the standard template based on the target document content to obtain the target document.
10. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 8.
12. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.