A method and system for automatically combining reports based on chapter labels
By grading and splitting historical reports, and automatically filtering and combining high-quality chapters with the knowledge base management system, the problems of high cost and insufficient quality assurance in the existing technology are solved, and fast and efficient report generation is achieved.
Patent Information
- Application Number
- CN202111332097.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-11
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2041-11-11
AI Technical Summary
The prior art has problems such as high training costs when generating reports, requiring input of initial data or preliminary writing of reports, and insufficient quality assurance for the generation of complex documents.
Using an automatic combined report method based on chapter labels, we use the scoring and splitting historical reports, and deposit them into the knowledge base management system, and automatically filter and combine high-quality chapters based on the selected report type and project type to generate reports.
No need to enter initial data or write preliminary reports, it can quickly generate high-quality reports, improve the efficiency and quality of report writing, and avoid wasting document resources.
Smart Images

Figure CN114139517B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of enterprise information management systems, and in particular to a method and system for automatically combining reports. Background Art
[0002] Project reports with the same tags (attributes) are very similar and can be used as reference when compiling reports. However, due to the lack of good organization and storage, a large number of high-quality project reports have not been widely shared and disseminated. This results in employees having no idea when compiling reports and being unable to find reference documents, especially new employees without experience, which leads to slow report writing and low quality.
[0003] Currently, the methods for generating reports can be roughly divided into two categories. Among them, the first method uses technologies such as natural language processing, which involves understanding and analyzing the semantics of text. The second method mostly presets a template for a certain type of report in advance, and then imports the extracted data, input data, or data analysis results into the preset template to generate a standardized report. However, the above two methods have the following shortcomings:
[0004] 1) The first type of method requires big data drive, and the initial training cost is very high; some methods that use natural language processing technology to generate documents still require the input of preliminary written documents; currently, this technical method still has no quality assurance in generating complex documents.
[0005] 2) The second type of method focuses more on modeling and solving, presenting the calculated results in a standardized form, which involves complex modeling and solving methods. Summary of the invention
[0006] In view of the above situation, the present invention proposes a method and system for automatically combining reports based on chapter tags, which does not require input of any initial data or preliminary report writing. It only requires selecting the report type and project type to automatically combine a report.
[0007] The first object of the present invention is to provide a method for automatically assembling reports based on chapter tags, comprising the following steps:
[0008] Step 1) Score the collected historical reports, split them according to the report type and report chapter, and store the split reports into the storage space of the knowledge base management system according to the report type, report chapter and project type;
[0009] Step 2) for the report types stored in the knowledge base management system, templates are created according to different report types and stored in the template library;
[0010] Step 3) Combine the reports in one of the following ways:
[0011] a) Call the report template from the template library according to the selected report type, select high-quality pages from the storage space according to the selected report type and project type, and automatically combine the report;
[0012] b) Calling report templates from the template library according to the selected report type, and then selecting high-quality pages from the storage space of the knowledge base management system according to the selected report type and project type, and automatically combining reports; adjusting the corresponding chapters of the combined report according to other similar high-quality chapters recommended by the system, and outputting a new report;
[0013] c) Select a report template from the template library. When editing a chapter of a report template, the system recommends high-quality chapters for users to choose from and combine reports.
[0014] Preferably, the historical report splitting and storage process includes:
[0015] 1.1) Score each chapter of the collected historical reports;
[0016] 1.2) Create a storage space for storing historical reports in the knowledge base management system, and create a page hierarchy in the storage space based on report type, section title, and project type;
[0017] 1.3) Split the report into chapters;
[0018] 1.4) Add labels to each split chapter according to report type, project type, chapter title, and score;
[0019] 1.5) Add each chapter after adding tags as a sub-page to the corresponding position of the storage space.
[0020] Preferably, the automatic report combination process in a) and b) of step 3) includes:
[0021] 3.11) Calling a report template from the template library according to the selected report type, and then searching the knowledge base management system storage space according to the selected report type and project type, finding pages in the tag set that include both the selected report type and project type keywords, and forming a page set;
[0022] 3.12) Select the pages with the highest ratings under each chapter title one by one;
[0023] 3.13) Under the report template, the highest-scoring pages with the same section label under each selected section title are combined to form a combined report.
[0024] Preferably, the adjustment of the combined report in step 3) b) comprises the following steps:
[0025] 3.21) Check the automatically assembled report;
[0026] 3.22) Select the chapter to be adjusted;
[0027] 3.23) Based on the label of the chapter to be adjusted, and in descending order of the chapter scores, recommend other chapters with the same title as the chapter to be adjusted;
[0028] 3.24) Adjust the automatically assembled original report by referring to the contents of the recommended chapters to form a new report.
[0029] Preferably, the combined report in step c) of step 3) comprises the following steps:
[0030] 3.31) Select a report template from the template library in step S2, and edit the selected report template;
[0031] 3.32) Select the chapter to be edited;
[0032] 3.33) According to the chapter name and the selected report type and project type of the chapter, search the knowledge base management system storage space to find pages that have the selected report type, project type and the same chapter title in the tags, and recommend the chapter page content from high to low according to the scores of the same chapter;
[0033] 3.34) Select chapter pages from the recommended chapters for each chapter one by one, and copy the contents of the selected chapter pages to the corresponding chapter titles of the template to form a combined report.
[0034] A second object of the present invention is to provide a system for automatically assembling reports based on chapter tags, comprising:
[0035] The report splitting and storage module is used to score the collected historical reports and split them according to the report type and report chapter of the historical reports, and store the split reports into the storage space of the knowledge base management system according to the report type, report chapter and project type;
[0036] The report template creation module is used to create templates for different report types stored in the knowledge base management system and store them in the template library;
[0037] A page filtering module is used to call a report template from a template library according to the report type, and then filter the chapter pages with the highest scores from the knowledge base management system storage space according to the report type and project type;
[0038] The automatic combination report module is used to automatically combine and report the highest-scoring quality section pages according to the section titles included in the template.
[0039] Preferably, the report splitting and storage module includes:
[0040] The report scoring submodule is used to score each chapter of the collected historical reports;
[0041] The storage space and page hierarchy creation submodule is used to create a storage space for storing historical reports in the knowledge base management system, and to create a page hierarchy in the storage space according to the report type, chapter title, and project type;
[0042] Report split submodule, used to split the report according to chapter titles;
[0043] The label adding submodule is used to add labels to each split chapter according to the report type, project type, chapter title, and score;
[0044] The tag page storage submodule is used to add the contents of each chapter after adding tags to the corresponding position of the storage space separately.
[0045] Preferably, it also includes a report adjustment module, and the report adjustment module includes the following submodules:
[0046] An automatic combination report checking submodule is used to check the automatic combination report;
[0047] The chapter selection submodule to be adjusted is used to select the chapter to be adjusted;
[0048] The chapter recommendation submodule is used to recommend other chapters with the same title as the chapter to be adjusted according to the label of the chapter to be adjusted and the scores of the chapters from high to low;
[0049] The chapter adjustment submodule is used to adjust the automatic combination report according to the recommended content.
[0050] A third object of the present invention is to provide a system for automatically assembling reports based on chapter tags, comprising:
[0051] The report splitting and storage module is used to score the collected historical reports and split them according to the report type and report chapter of the historical reports, and store the split reports into the storage space of the knowledge base management system according to the report type, report chapter and project type;
[0052] The report template creation module is used to create templates for different report types stored in the knowledge base management system and store them in the template library;
[0053] Combined report module, used to edit report template sections according to recommended section pages.
[0054] Preferably, the combined reporting module includes the following submodules:
[0055] The report template selection submodule is used to select a report template from the template library for editing;
[0056] Edit chapter submodule, used to select the chapter to be edited;
[0057] The chapter recommendation submodule is used to search the knowledge base management system according to the chapter name of the chapter to be edited and the selected report type and project type, find the page with the tag or tag set that includes the selected report type, project type and the same chapter title, and recommend the chapter page from high to low according to the score of the same chapter;
[0058] The report combination submodule is used to select chapter pages from the recommended chapters for each chapter one by one, copy the contents of the selected chapter pages to the chapter titles corresponding to the template, or copy the selected chapter pages to the chapter titles corresponding to the template and make adjustments to form a combined report.
[0059] The fourth object of the present invention is to provide an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store computer programs; and the processor is used to implement the method steps of automatically combining reports based on chapter tags as described above when executing the programs stored in the memory.
[0060] The fifth object of the present invention is to provide a readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the method steps of automatically combining reports based on chapter tags as described in any one of claims 1 to 5 are implemented.
[0061] The beneficial effects of the present invention are as follows: the present invention can help enterprises realize the accumulation and integration of document resources, build an enterprise knowledge base, avoid the waste of massive document resources, and can also help employees write project reports and improve the quality and efficiency of project report writing. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 4 is a flowchart of a method for automatically assembling reports based on chapter tags according to a first embodiment.
[0063] Figure 2 4 is a flowchart of a method for automatically assembling reports based on chapter tags according to the second embodiment.
[0064] Figure 3is a flowchart of a method for automatically assembling reports based on chapter tags according to a third embodiment.
[0065] Figure 4 This is a flow chart of step S1 historical report splitting and storage.
[0066] Figure 5 1 is a flow chart of the automatic report combination in step S3.
[0067] Figure 6 This is a flowchart showing the recommendation for adjusting the combined report in step S4.
[0068] Figure 7 It is a flowchart of selecting report chapters for combined reporting in step S5.
[0069] Figure 8 This is a system diagram of the historical report splitting and storage process in step S1.
[0070] Fig. 9 It is a system diagram when creating a report template process in step S2.
[0071] Fig.10 This is a system diagram of the automatic combination report process in step S3.
[0072] Fig.11 It is a schematic diagram of the structure of a system for automatically combining reports based on chapter tags provided in the first embodiment of the present invention.
[0073] Fig.12 It is a schematic diagram of the structure of a system for automatically combining reports based on chapter tags provided in the second embodiment of the present invention.
[0074] Fig.13 It is a schematic diagram of the structure of a system for automatically combining reports based on chapter tags provided in the third embodiment of the present invention.
[0075] Fig.14 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0076] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0077] The knowledge base management system (confluence) is a professional knowledge management and collaboration software that supports online WYSIWYG rich text editors and provides powerful team collaboration and online communication functions. The following embodiments are based on the secondary development of the knowledge base management system.
[0078] Example 1
[0079] Figure 1 The flowchart of the first embodiment of the method for automatically combining reports based on chapter tags of the present invention is shown. The implementation steps of the method of this embodiment are described in detail as follows.
[0080] Step S1: Splitting and storing historical reports
[0081] The collected historical reports are scored and split according to the report type and report chapter of the historical reports. The split reports are stored in the corresponding locations of the knowledge base management system storage space according to the report type, report chapter and project type.
[0082] See also Figure 4 The historical report collection, splitting and storage of step S1 further includes:
[0083] Step S101: Score each chapter of the collected historical reports. The historical reports can be collected from various channels, or from different systems within the organization, such as from different departments, project teams, or different information systems used within the organization.
[0084] Step S102: Create a space for storing historical reports in the knowledge base management system, and create a page hierarchy in the space according to the report type, chapter title, and project type.
[0085] Figure 8 In the report, the box marked with serial number 1 is the page hierarchy, which can also be called the page tree structure, including: report type such as "Project Planning"; chapter titles such as "Project Overview", "Project Briefing", etc.; project types such as "Water Affairs and Ecology", "Energy and Enterprise", etc.
[0086] Step S103: Split the report according to chapter titles. Figure 8 In the figure, the box marked with number 2 is an example of the report after splitting.
[0087] Step S104: adding a label to each of the split chapters according to the report type, project type, chapter title, and score. Each label can form a label set for the chapter.
[0088] Figure 8 In the figure, the box marked with serial number 3 is a label example. The description of each label is as follows:
[0089] Report type: Project plan.
[0090] Project type: Water and Ecology. 2020 is a year attribute and can be used as part of the project type.
[0091] Chapter titles: planning records, hse management requirements, information security management and hse management requirements, with three levels of titles in total.
[0092] Step S105: adding each chapter after adding a tag as a sub-page to a corresponding position of the historical report storage space.
[0093] Step S2: For the report types stored in the knowledge base management system, templates are created according to different report types and stored in the template library.
[0094] Fig. 9 For the template library, click the button marked with number 1 to pop up the template library. You can select an existing template and click the button marked with number 3 to create a template. You can also create a template by adding or customizing a template by marking number 2.
[0095] Step S3: Select the report type and project type, call the report template from the template library according to the selected report type, filter high-quality pages from the storage space according to the selected report type and project type, automatically combine the report, and output the combined report.
[0096] See also Figure 5 The automatic combined reporting process of step S3 further includes:
[0097] Step S301: Select the report type and project type, call the report template from the template library according to the selected report type, and then search the historical report storage space of the knowledge base management system according to the selected report type and project type, find the pages that include both the selected report type and project type keywords in the tag set, and form a page set. For example, find the pages that include the chapters of the report type "project feasibility report" and the project type "water affairs and ecology" in the tag set, and form a page set.
[0098] Fig.10 Shown is the interface for selecting report type and project type. Fig.10 In the report storage space, the box marked with number 1 is the selectable report storage space. By default, the space where the current page is located is the report storage space. The box marked with number 2 is the selected report type and project type. Templates are created based on the selected report type and project type, and report screening is performed.
[0099] Step S302: Select the pages with the highest scores under each chapter title one by one. The selection can be done in the following way:
[0100] 1) Compare the scores of pages with the same section label in the page set and select the page with the highest score;.
[0101] 2) If there are multiple chapters with the highest scores under a certain chapter title, the rules can be set according to other parts in the project type. For example, in this embodiment, the year attribute can be used as the second screening condition.
[0102] 3) If there are two or more chapters with the same filtering conditions, the historical report chapters are selected according to the storage time, and the newly stored historical report chapters can be set to be selected first.
[0103] Step S303: Under the report template, the pages with the highest scores under the same chapter label under each selected chapter title are combined, that is, the selected page content is copied to the chapter title corresponding to the template to form a combined report.
[0104] Step S304: Store the combined report in the selected space directory and publish it.
[0105] Example 2
[0106] Figure 2 The flowchart of the second embodiment of the method for automatically combining reports based on chapter tags of the present invention is shown. The implementation steps of the method of this embodiment are consistent with the steps S1 to S3 of the first embodiment, and will not be repeated here. The difference is that step S4 is added. For the report combined in the first embodiment, if the user wants to adjust one or several chapters of the combined report, the embodiment of the present invention can recommend other high-quality chapters of the same type for the user's reference and output a new report. Figure 6 , step S4 of this embodiment is described in detail as follows:
[0107] Step S4: Report Adjustment
[0108] Step S401: Check the automatically combined report;
[0109] Step S402: Select the chapter to be adjusted;
[0110] Step S403: Based on the label of the chapter to be adjusted, recommend other chapter contents with the same title as the chapter to be adjusted according to the scores of the chapters from high to low;
[0111] Step S404: adjusting the automatically combined original report with reference to the recommended content, such as modifying or replacing;
[0112] Step S405: After the report is adjusted, the report is published.
[0113] Example 3
[0114] Figure 3 The flowchart of the third embodiment of the chapter tag based automatic combination report method of the present invention is shown. The implementation steps of the method of this embodiment, the previous steps S1 to S2 are consistent with the steps S1 to S2 of the first and second embodiments, and will not be repeated. The difference is that step S5 reports the combination process. Figure 7 , step S5 of the method of this embodiment is described in detail as follows.
[0115] Step S5: Report combination
[0116] A report template is selected from the template library. When editing a certain chapter of the template, the system recommends high-quality chapters for the user to select and combine the report. The difference between step S5 of this embodiment 3 and step S4 of embodiment 2 is that step S4 of embodiment 2 is to adjust certain chapters in the original report after automatic combination, while embodiment 3 does not have step S3 "automatic combination of reports" of embodiment 1, but selects all chapters as needed to combine into an original report.
[0117] The combined reporting process of step S5 of this embodiment further includes:
[0118] Step S501: Select a report template from the template library in step S2, and edit the selected report template.
[0119] Step S502: Select the chapter to be edited. It can be set so that when the mouse hovers over a chapter, it means that the chapter is selected for editing or adjustment.
[0120] Step S503: According to the chapter name and the selected report type and project type of the chapter, search the storage space of the knowledge base management system to find the page with the tag or tag set that includes the selected report type, project type and the same chapter title, and recommend the chapter page content from high to low according to the score of the same chapter.
[0121] Step S504: Select chapter pages from the recommended chapters for each chapter one by one, copy the contents of the selected chapter pages to the chapter titles corresponding to the template to form a combined report, or adjust the selected chapter pages to form a combined report. The adjustment may be modification or replacement.
[0122] Step S505: Output the combined report and store it in the selected space directory.
[0123] It should be noted that in step S4 of Example 2 and step S5 of Example 3, chapter page contents are recommended from high to low according to the scores of the same chapter. This is not the only or specific option in the embodiments of the present invention. The user can also set the selection rule to a score higher than a certain value, and then recommend chapter pages with a score higher than a certain value.
[0124] Corresponding to the above method embodiment, the first embodiment of the present invention provides a system for automatically assembling reports based on chapter tags. Fig.11 , Fig.11 1 is a schematic diagram of a system structure for automatically combining reports based on chapter tags provided by an embodiment of the present invention. The device may include:
[0125] The report splitting and storage module is used to score the collected historical reports and split them according to the report type and report chapter of the historical reports, and store the split reports in the corresponding locations of the knowledge base management system storage space according to the report type, report chapter and project type.
[0126] The report template creation module is used to create templates for the report types stored in the knowledge base management system according to different report types and store them in the template library.
[0127] A page filtering module is used to call a report template from a template library according to the report type, and then filter the chapter pages with the highest scores from the storage space according to the report type and project type;
[0128] The automatic combination report module is used to automatically combine the chapter pages with the highest scores into a report according to the chapter titles included in the template.
[0129] The report output module is used to store and output the assembled report.
[0130] The report splitting and storage module includes:
[0131] The report scoring submodule is used to score each chapter of the collected historical reports;
[0132] The storage space and page hierarchy creation submodule is used to create a space for storing historical reports in the knowledge base management system and create a page hierarchy in the space based on the report type, section title, and project type;
[0133] Report split submodule, used to split the report according to chapter titles;
[0134] The label adding submodule is used to add labels to each split chapter according to the report type, project type, chapter title, and score;
[0135] The tag page storage submodule is used to add the contents of each chapter after adding tags to the corresponding position of the historical report storage space.
[0136] The page screening module includes:
[0137] The template calling submodule is used to call the report template from the template library according to the selected report type;
[0138] The page selection submodule is used to search the historical report storage space of the knowledge base management system according to the selected report type and project type, and find the page whose tag set includes both the selected report type and project type keywords;
[0139] The page filtering submodule is used to select the pages with the highest ratings under each chapter title.
[0140] Under the report template, the automatic combination report module will combine the highest-scoring pages with the same chapter label under each selected chapter title, that is, copy the selected page content to the corresponding chapter title of the template to form a combined report.
[0141] Corresponding to the above method embodiment, the second embodiment of the present invention also provides another system for automatically combining reports based on chapter tags, such as Fig.12 This embodiment and Fig.11 Compared with the embodiment, a report adjustment module is added, which is used for recommending other high-quality chapters of the same type to the user for reference if the user wants to adjust one or several chapters of the combined report, and adjusting to form a new report. The report adjustment module includes the following submodules:
[0142] An automatic combination report checking submodule is used to check the automatic combination report;
[0143] The chapter selection submodule to be adjusted is used to select the chapter to be adjusted;
[0144] The chapter recommendation submodule is used to recommend other chapters with the same title as the chapter to be adjusted according to the label of the chapter to be adjusted and the scores of the chapters from high to low;
[0145] The chapter adjustment submodule is used to adjust the automatic combination report according to the recommended content.
[0146] Corresponding to the above method embodiment, the third embodiment of the present invention also provides a third system for automatically combining reports based on chapter tags, such as Fig.13 The device of this embodiment comprises a report splitting and storage module, a report template creation module, a report combination module and a report output module, wherein the report splitting and storage module, the report template creation module and the report output module are Fig.11 , Fig.12 The report splitting and storage module, report template creation module and report output module of the device in the embodiment shown are the same and will not be described in detail here, but the combined report module is different from Fig.11 , Fig.12 The device of the embodiment shown, and lacking Fig.11 , Fig.12 The page screening module of the device of the embodiment shown in the figure. Fig.13 As shown, the combined reporting module of the device of this embodiment includes the following submodules:
[0147] The report template selection submodule is used to select a report template from the template library for editing;
[0148] The Edit Chapter submodule is used to select the chapter to be edited.
[0149] The chapter recommendation submodule is used to search the storage space of the knowledge base management system according to the chapter name of the chapter to be edited and the selected report type and project type, find the page with the tag or tag set that includes the selected report type, project type and the same chapter title, and recommend the chapter page from high to low according to the score of the same chapter;
[0150] The report combination submodule is used to select chapter pages from the recommended chapters for each chapter one by one, copy the contents of the selected chapter pages to the corresponding chapter titles of the template to form a combined report, and can also adjust the selected chapter pages to form a combined report.
[0151] An embodiment of the present invention further provides an electronic device, Fig.14 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Fig.14 , an electronic device includes a memory 10, a processor 20 and a communication interface 30, wherein the memory 10, the processor 20 and the communication interface 30 can be interconnected through a bus and complete communication with each other.
[0152] The memory 10 is used to store computer programs and various data, such as an application program based on chapter tag automatic combination report installed in the electronic device, and information such as historical reports set and obtained by applying the above-mentioned method for automatically combining reports based on chapter tags.
[0153] The processor 20 is used to implement the method for automatically combining reports based on chapter tags when executing the computer program stored in the memory 10. The specific implementation of each step of the method and the related explanation content can be found in the above-mentioned method embodiment for automatically combining reports based on chapter tags, which will not be repeated here.
[0154] In addition, other embodiments of a method for automatically combining reports based on chapter tags implemented by the processor 20 executing the program stored in the memory 10 are the same as the implementation methods mentioned in the aforementioned embodiment of a method for automatically combining reports based on chapter tags, and will not be repeated here.
[0155] The communication interface 30 is used for the electronic device to communicate with other devices and perform data exchange transmission.
[0156] The communication bus mentioned in the above electronic device can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EIAS) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0157] The memory 10 may include a high-speed RAM memory, and may also include a non-volatile memory (NVM), such as at least one disk memory.
[0158] The processor 20 includes but is not limited to a central processing unit (CPU), a micro controller unit (MCU), and other devices for interpreting computer instructions and processing data in computer software.
[0159] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for automatically assembling reports based on chapter tags, characterized in that The steps include: 1) Score the collected historical reports and split them according to the report chapters. The split reports are stored in the storage space of the knowledge base management system according to the report type, report chapter and project type; 2) For the report types stored in the knowledge base management system, create custom report templates according to different report types and store them in the template library; 3) Combine the reports as follows: The report template is called from the template library according to the selected report type, and the system automatically retrieves pages in the tag set that include both the selected report type and project type tags from the storage space, and selects the pages with the highest scores under each chapter title one by one, that is, the system automatically screens high-quality pages, and automatically combines the pages with the highest scores under each selected chapter title with the same chapter tag under the report template to form a combined report; If the user needs to adjust the combined report, after step 3), the following steps are also required: 4) Report adjustments: 4.1) Check the automatically assembled report; 4.2) Select the chapter to be adjusted; 4. 3) Based on the label of the chapter to be adjusted, and in descending order of the chapter scores, recommend other chapters with the same title as the chapter to be adjusted; 4.4) Adjust the automatically assembled original report by referring to the recommended chapter content to form a new report; The historical report splitting and storage process in step 1) includes: 1.1) Score each chapter of the collected historical reports; 1.2) Create a storage space in the knowledge base management system for storing historical reports, and create a page hierarchy in the storage space based on report type, section title, and project type; 1.3) Split the report into sections; 1.4) Add a label set to each split chapter based on report type, project type, chapter title, and score; 1.5) Add each chapter after adding the tag set as a separate page to the corresponding position of the storage space.
2. A system for automatically assembling reports based on chapter tags, characterized in that include: The report splitting and storage module is used to score the collected historical reports and split them according to the report chapters, and store the split reports into the storage space of the knowledge base management system according to the report type, report chapter and project type; The report template creation module is used to create report templates based on different report types stored in the knowledge base management system and store them in the template library; A page screening module is used to call a report template from a template library according to a selected report type, automatically retrieve pages in a tag set including both the selected report type and project type tags from the storage space, and select the pages with the highest scores under each chapter title one by one, that is, automatically screen high-quality pages; An automatic combination report module is used to automatically combine the highest-scoring quality chapter pages into a report according to the chapter titles included in the report template; The report splitting and storage module includes: The report scoring submodule is used to score each chapter of the collected historical reports; The storage space and page hierarchy creation submodule is used to create a storage space for storing historical reports in the knowledge base management system, and to create a page hierarchy in the storage space according to the report type, chapter title, and project type; Report split submodule, used to split the report according to chapter titles; The label adding submodule is used to add a label set to each split chapter according to the report type, project type, chapter title, and rating; The tag page storage submodule is used to add the contents of each chapter after adding the tag set to the corresponding position of the storage space; If the user needs to adjust the combined report, the report adjustment module is called, and the report adjustment module includes the following submodules: an automatic combined report checking submodule, which is used to check the automatically combined report; The chapter selection submodule to be adjusted is used to select the chapter to be adjusted; The chapter recommendation submodule is used to recommend other chapters with the same title as the chapter to be adjusted according to the label of the chapter to be adjusted and the scores of the chapters from high to low; The chapter adjustment submodule is used to adjust the automatic combination report according to the recommended content.
3. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface and the memory communicate with each other via a communication bus; the memory is used to store computer programs; the processor is used to implement the method steps of automatically combining reports based on chapter tags as described in claim 1 when executing the programs stored in the memory.
4. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method steps of automatically assembling reports based on chapter tags as claimed in claim 1 are implemented.
Citation Information
Patent Citations
Auxiliary technical document writing system and method
CN107728995A