CN117196495A - Method, system, equipment and medium for automatically generating diagnostic analysis report - Google Patents
Method, system, equipment and medium for automatically generating diagnostic analysis report Download PDFInfo
- Publication number
- CN117196495A CN117196495A CN202311006216.4A CN202311006216A CN117196495A CN 117196495 A CN117196495 A CN 117196495A CN 202311006216 A CN202311006216 A CN 202311006216A CN 117196495 A CN117196495 A CN 117196495A
- Authority
- CN
- China
- Prior art keywords
- document
- automatically generating
- diagnostic analysis
- template
- generating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000000605 extraction Methods 0.000 claims description 6
- 238000011161 development Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000012827 research and development Methods 0.000 description 3
- 238000003745 diagnosis Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The application discloses a method, a system, equipment and a medium for automatically generating a diagnostic analysis report, which mainly relate to the technical field of automatically generating the diagnostic analysis report and are used for solving the problem of non-uniform generation of the existing report. Comprising the following steps: the method comprises the steps of structuring and splitting a document template, and respectively extracting the title, the characters, the graphics and the classification of charts of the document template; the control system generates the style of the document by adding weight, authority and style; acquiring template content, year and unit, and generating document display content by dynamic reflection technology; the document display content is returned to the front end so that the front end displays according to the document content and renders the picture with vue.
Description
Technical Field
The present application relates to the field of automatic diagnostic analysis report generation technology, and in particular, to a method, system, device, and medium for automatically generating a diagnostic analysis report.
Background
In the present analysis report, besides simple pictures and text introduction, some charts are often included, including bar charts, pie charts, line charts, column fold charts, stacking charts and the like, if the report is manually written, the work load for generating the charts can be very large, the relationship between various data needs to be calculated and the data needs to be rearranged when a wire error exists, and a great deal of manpower and energy are consumed. The generation of the chart by using the browser in the existing analysis software is simple, but often templates are fixed, if a business scene is changed, the software templates and even the software logic need to be adjusted, a great deal of time is consumed, and a great deal of manpower and financial resources are wasted.
Problems and dilemmas faced by business development: manually generating an analysis report invests a great deal of effort and time, users need to comb business data and calculate the relation between the data, and the users can redo the business data with a little error and can finish the business data with careful and long time; most documents generated by the prior art software are fixed templates and fixed business logic, and once the templates are displayed, the business is adjusted or the required chart is adjusted, codes are required to be changed, so that the maintenance cost is overlarge; if multiple authorities need to maintain multiple sets of corresponding templates and functional logic, the multiple authorities are not flexible enough, and the workload and the development and maintenance difficulty are increased.
Problems and disadvantages of related software and technology in the market: the number of rapid development platforms which are proposed by the market aiming at the current situation is relatively small, the technology is not mature, the functions are simple, the flexibility is insufficient, the service requirements of various environments and different platforms can not be met, and the use effect is not obvious; if the generated document template is not changed well, once the template is modified, the background logic code needs to be changed completely, which is equivalent to the reworking, and the maintenance cost is too high; the technical frames in the market are basically based on a pure background development mode, and no matched powerful foreground function is assisted with support. The foreground can flexibly generate the picture report according to the requirement.
Disclosure of Invention
Aiming at the defects in the prior art, the application provides a method, a system, equipment and a medium for automatically generating a diagnosis analysis report, so as to solve the problems that the technology is not flexible enough and can not meet the service demands of various environments and different platforms.
In a first aspect, the present application provides a method of automatically generating a diagnostic analysis report, the method comprising: the method comprises the steps of structuring and splitting a document template, and respectively extracting the title, the characters, the graphics and the classification of charts of the document template; the control system generates the style of the document by adding weight, authority and style; acquiring template content, year and unit, and generating document display content by dynamic reflection technology; the document display content is returned to the front end so that the front end displays according to the document content and renders the picture with vue.
Further, before the document template is structured and split, and classification of the title, the text, the graph and the chart of the document template is respectively extracted, the method further comprises: and obtaining a preset structured splitting code to perform structured splitting of the document template.
Further, by adding weights, rights and styles, the control system generates the styles of the document, which specifically comprises: and acquiring weights, rights and styles through a preset parameter acquisition interface.
Further, the document display content is returned to the front end, so that the front end displays according to the document content, and the picture is rendered by vue, specifically comprising: and downloading pictures and documents corresponding to the document display contents through the multithreaded file stream, and dynamically generating the document display contents.
In a second aspect, the present application provides a system for automatically generating a diagnostic analysis report, the system comprising: the extraction module is used for structurally splitting the document template and respectively extracting the title, the characters, the graphics and the classification of the chart of the document template; the display module is used for generating the style of the document by adding weight, authority and style; acquiring template content, year and unit, and generating document display content by dynamic reflection technology; a return module for returning the document display content to the front end so that the front end displays according to the document content and renders the picture by vue
Further, the extraction module comprises an acquisition unit for acquiring a preset structured splitting code to perform structured splitting of the document template.
Further, the display module comprises an interface acquisition unit for acquiring the weight, the authority and the style through a preset parameter acquisition interface.
Further, the display module comprises a generation unit for dynamically generating the document display content by downloading pictures and documents corresponding to the document display content through the multithreaded file stream.
As will be appreciated by those skilled in the art, the present application has at least the following beneficial effects:
through the realization of the application, a research and development team not only unifies the technical framework, but also utilizes the characteristics of high configurability, high performance, low professional requirements, few loopholes, code specification, safety, simplicity, easiness in use and comprehensive functions, thereby saving time cost and labor cost; meanwhile, the specific gravity of personnel in the technical direction of the research and development team is weakened, and the multiplexing rate of codes and the multiplexing rate of research and development resources are improved.
Drawings
Some embodiments of the present disclosure are described below with reference to the accompanying drawings, in which:
FIG. 1 is a flow chart of a method for automatically generating a diagnostic analysis report in accordance with an embodiment of the present application.
Fig. 2 is a schematic diagram of an internal structure of a system for automatically generating a diagnostic analysis report according to an embodiment of the present application.
Fig. 3 is a schematic diagram of an internal structure of an apparatus for automatically generating a diagnostic analysis report according to an embodiment of the present application.
Detailed Description
It should be understood by those skilled in the art that the embodiments described below are only preferred embodiments of the present disclosure, and do not represent that the present disclosure can be realized only by the preferred embodiments, which are merely for explaining the technical principles of the present disclosure, not for limiting the scope of the present disclosure. Based on the preferred embodiments provided by the present disclosure, all other embodiments that may be obtained by one of ordinary skill in the art without inventive effort shall still fall within the scope of the present disclosure.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The following describes the technical scheme provided by the embodiment of the application in detail through the attached drawings.
The embodiment of the application also provides a method for automatically generating the diagnosis analysis report, as shown in fig. 1, which mainly comprises the following steps:
and 110, structuring and splitting the document template, and respectively extracting the title, the characters, the graphics and the classification of the chart of the document template.
Before the document template is structurally split and classification of the title, the text, the graph and the chart of the document template is respectively extracted, the method further comprises the following steps:
and obtaining a preset structured splitting code to perform structured splitting of the document template.
Step 120, the control system generates the style of the document by adding weight, authority and style; and acquiring the template content, the year and the unit, and further generating the document display content through a dynamic reflection technology.
The control system generates the style of the document by adding the weight, the authority and the style, and the method specifically comprises the following steps: and acquiring weights, rights and styles through a preset parameter acquisition interface.
Step 130, the document display content is returned to the front end, so that the front end displays according to the document content, and the picture is rendered by vue.
The method for displaying the document comprises the steps of returning document display content to the front end, enabling the front end to display according to the document content, and rendering pictures by vue, and specifically comprises the following steps: and downloading pictures and documents corresponding to the document display contents through the multithreaded file stream, and dynamically generating the document display contents.
In addition, fig. 2 is a system for automatically generating a diagnostic report according to an embodiment of the present application. As shown in fig. 2, the system provided by the embodiment of the present application mainly includes:
the extraction module 210 is configured to split the document template in a structured manner, and extract the title, the text, the graph and the classification of the chart of the document template respectively;
the extraction module 210 includes an obtaining unit 211, configured to obtain a preset structural splitting code to perform structural splitting of the document template.
The display module 220 is used for generating the style of the document by adding weight, authority and style; acquiring template content, year and unit, and generating document display content by dynamic reflection technology; the display module 220 includes an interface obtaining unit 221, configured to obtain weights, rights, and styles through a preset parameter obtaining interface.
A return module 230 for returning the document display content to the front end so that the front end displays according to the document content and renders a picture with vue; the return module 230 includes a generation unit 231 that dynamically generates the document display content by downloading pictures and documents corresponding to the document display content via a multi-threaded file stream.
The above is a method embodiment of the present application, and based on the same inventive concept, the embodiment of the present application further provides an apparatus for automatically generating a diagnostic analysis report. As shown in fig. 3, the apparatus includes: a processor; and a memory having executable code stored thereon that, when executed, causes the processor to perform a method of automatically generating a diagnostic analysis report as in one of the above embodiments.
Specifically, the server-side document template is structured and split, and the title, the characters, the graphics and the classification of the chart of the document template are respectively extracted; the control system generates the style of the document by adding weight, authority and style; acquiring template content, year and unit, and generating document display content by dynamic reflection technology; the document display content is returned to the front end so that the front end displays according to the document content and renders the picture with vue.
In addition, the embodiment of the application also provides a non-volatile computer storage medium, on which executable instructions are stored, which when executed, implement a method for automatically generating a diagnostic analysis report as described above.
Thus far, the technical solution of the present disclosure has been described in connection with the foregoing embodiments, but it is easily understood by those skilled in the art that the protective scope of the present disclosure is not limited to only these specific embodiments. The technical solutions in the above embodiments may be split and combined by those skilled in the art without departing from the technical principles of the present disclosure, and equivalent modifications or substitutions may be made to related technical features, which all fall within the scope of the present disclosure.
Claims (10)
1. A method of automatically generating a diagnostic analysis report, the method comprising:
the method comprises the steps of structuring and splitting a document template, and respectively extracting the title, the characters, the graphics and the classification of charts of the document template;
the control system generates the style of the document by adding weight, authority and style; acquiring template content, year and unit, and generating document display content by dynamic reflection technology;
the document display content is returned to the front end so that the front end displays according to the document content and renders the picture with vue.
2. The method for automatically generating a diagnostic analysis report according to claim 1, wherein before the document template is structured to be split and classification of the title, text, graphic, and chart of the document template is extracted, respectively, the method further comprises:
and obtaining a preset structured splitting code to perform structured splitting of the document template.
3. The method for automatically generating a diagnostic analysis report according to claim 1, wherein the control system generates the style of the document by weighting, authority, style, specifically comprising:
and acquiring weights, rights and styles through a preset parameter acquisition interface.
4. The method for automatically generating a diagnostic report according to claim 1, wherein the step of returning the document display contents to the front end to cause the front end to display according to the document contents and render a picture with vue comprises:
and downloading pictures and documents corresponding to the document display contents through the multithreaded file stream, and dynamically generating the document display contents.
5. A system for automatically generating diagnostic analysis reports, the system comprising:
the extraction module is used for structurally splitting the document template and respectively extracting the title, the characters, the graphics and the classification of the chart of the document template;
the display module is used for generating the style of the document by adding weight, authority and style; acquiring template content, year and unit, and generating document display content by dynamic reflection technology;
and the return module is used for returning the document display content to the front end so that the front end displays according to the document content and renders pictures by vue.
6. The system for automatically generating diagnostic analysis reports according to claim 5, wherein the extraction module comprises an acquisition unit,
the method is used for acquiring a preset structured splitting code to perform structured splitting of the document template.
7. The system for automatically generating a diagnostic analysis report of claim 5, wherein the display module comprises an interface acquisition unit,
the method is used for acquiring the weight, the authority and the style through a preset parameter acquisition interface.
8. The system for automatically generating a diagnostic analysis report according to claim 5, wherein the return module comprises a generating unit,
and downloading pictures and documents corresponding to the document display contents through the multithreaded file stream, and dynamically generating the document display contents.
9. An apparatus for automatically generating a diagnostic analysis report, the apparatus comprising:
a processor;
and a memory having executable code stored thereon that, when executed, causes the processor to perform a method of automatically generating a diagnostic analysis report as claimed in any one of claims 1 to 4.
10. A non-transitory computer storage medium having stored thereon computer instructions which, when executed, implement a method of automatically generating diagnostic analysis reports according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311006216.4A CN117196495A (en) | 2023-08-10 | 2023-08-10 | Method, system, equipment and medium for automatically generating diagnostic analysis report |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311006216.4A CN117196495A (en) | 2023-08-10 | 2023-08-10 | Method, system, equipment and medium for automatically generating diagnostic analysis report |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117196495A true CN117196495A (en) | 2023-12-08 |
Family
ID=89004289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311006216.4A Pending CN117196495A (en) | 2023-08-10 | 2023-08-10 | Method, system, equipment and medium for automatically generating diagnostic analysis report |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117196495A (en) |
-
2023
- 2023-08-10 CN CN202311006216.4A patent/CN117196495A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11107090B2 (en) | System and method for automated content generation | |
AU2017210597B2 (en) | System and method for the online editing of pdf documents | |
US6925597B2 (en) | Systems and methods for digital document processing | |
US10282410B2 (en) | Assistive technology for the impaired | |
CN102165393B (en) | Editing 2D structures using natural input | |
US20050235202A1 (en) | Automatic graphical layout printing system utilizing parsing and merging of data | |
US20190361907A1 (en) | Method for providing e-book service and computer program therefor | |
US20100257443A1 (en) | System and Process for Producing a Two-Layer Document, and a Two-Layer Document Produced Accordingly | |
CN111915705B (en) | Picture visual editing method, device, equipment and medium | |
US10628526B2 (en) | Providing suggested diagrammatic representations of user entered textual information | |
CN110674437A (en) | Method and device for converting webpage data into PDF (Portable document Format) attachment | |
US8127219B1 (en) | Printing and rendering hyperlink destinations | |
CN112433995A (en) | File format conversion method, system, computer equipment and storage medium | |
CN117196495A (en) | Method, system, equipment and medium for automatically generating diagnostic analysis report | |
US5909223A (en) | Text face scaler | |
US7281208B2 (en) | Image stitching methods and systems | |
US10606928B2 (en) | Assistive technology for the impaired | |
CN111913703A (en) | Object editing method and device, electronic equipment and readable storage medium | |
US7376894B2 (en) | Vector path merging into gradient elements | |
CN113704530A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
CN114818633A (en) | PDF report generation system, method, electronic equipment and storage medium | |
CN118151924A (en) | Combined page mixed rendering method based on Vue | |
CN118036556A (en) | Physical examination management system application method, system and device | |
CN113407189A (en) | Picture material processing method and device, storage medium and electronic equipment | |
CN118657133A (en) | PDF generation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |