CN112446197B - Automatic standardized report generation method for industrial application - Google Patents
Automatic standardized report generation method for industrial application Download PDFInfo
- Publication number
- CN112446197B CN112446197B CN202011345083.XA CN202011345083A CN112446197B CN 112446197 B CN112446197 B CN 112446197B CN 202011345083 A CN202011345083 A CN 202011345083A CN 112446197 B CN112446197 B CN 112446197B
- Authority
- CN
- China
- Prior art keywords
- generating
- report
- data
- configuration file
- automatic
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004364 calculation method Methods 0.000 claims abstract description 29
- 238000013461 design Methods 0.000 claims abstract description 8
- 230000008569 process Effects 0.000 claims description 12
- 238000004458 analytical method Methods 0.000 claims description 8
- 238000009877 rendering Methods 0.000 claims description 6
- 238000004445 quantitative analysis Methods 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000036962 time dependent Effects 0.000 description 2
- 238000010205 computational analysis Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Geometry (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention provides an automatic generation method of a standardized report for industrial application, which comprises the following steps: receiving a mold design scheme submitted by a user to a SaaS platform; the SaaS platform submits a calculation task to a super computer, and the super computer automatically generates a standardized report, comprising the following steps: generating calculation data by CAE software; analyzing and calculating result data by adopting an automatic program; generating a document frame by adopting an automatic program; generating a multimedia animation page; generating a three-dimensional geometric model page; generating a report element configuration file; reading the configuration file by using a document framework program to generate an automatic PDF report; a digital signature is added to the PDF report.
Description
Technical Field
The invention relates to the technical field of modeling, in particular to an automatic standardized report generation method for industrial application.
Background
The generation process of the calculation analysis report in the industrial CAE field mostly adopts a traditional mode of nonstandard manual writing. Consistency evaluation cannot be performed between different analysis cases. Computational analysis reports generated by different fields, different CAE software and different users of the software are complex and lack standards; meanwhile, similar cases in the same application field require a great deal of repeated labor to generate reports, and an automatic process is lacking.
Disclosure of Invention
The object of the present invention is to solve at least one of the technical drawbacks.
To this end, the object of the present invention is to propose an automatic generation method of standardized reports for industrial applications.
To achieve the above object, an embodiment of the present invention provides a standardized report automatic generation method for industrial applications, including:
step S1, receiving a die design scheme submitted by a user to a SaaS platform;
step S2, the SaaS platform submits a calculation task to a super computer, and the super computer automatically generates a standardized report, comprising the following steps:
step S21, calculating data is generated by using CAE software;
step S22, analyzing calculation result data by adopting an automatic program;
step S23, generating a document frame by adopting an automatic program;
step S24, generating a multimedia animation page;
s25, generating a three-dimensional geometric model page;
step S26, generating a report element configuration file;
step S27, reading the configuration file by using a document framework program to generate an automatic PDF report;
step S28, adding a digital signature for the PDF report.
Further, in the step S21, the data of the change of the field variable with time is analyzed by CAE software, and the analyzed data is processed into data in an interpretable format.
Further, in the step S22, the analyzing the calculation result data using the automated program includes: the process of generating a sequence of pictures, the automation script Cheng Xutiao being automatically executed with a CAE post-processing program, includes: file reading, data loading, visual rendering of a three-dimensional data sequence changing along with time, setting a specific three-dimensional display view angle, and storing a picture result generated by current rendering; and in the quantitative analysis process, the automatic script program calls the CAE post-processing program to automatically execute file reading, data loading, quantitative inquiry of the full-calculation domain value, drawing data and forming a picture.
Further, in step S23, the generating a document frame using an automation program includes: by reading the JSON format configuration file, defining the related data of each element in the document frame, planning chapter positions, and then displaying specific contents according to the positions and styles specified by the configuration file; and finally, generating a catalog, a drawing and a list according to the display elements in the file.
Further, in the step S24, the multimedia animation page is generated to implement a play control function.
Further, in the step S25, the three-dimensional geometric model page is used for implementing rotation, scaling and dragging of the three-dimensional model.
Further, the generating the report element configuration file includes the following steps: the method is realized by running a specific Javascript code file, the code file reads a template Json configuration file, so as to generate a configuration file, wherein the template Json configuration file defines universal templatization information, and the configuration file which can be read by a pdf generating program with a reportlab as a bottom layer is finally generated by integrating the universal information and personalized information.
According to the standardized report automatic generation method for industrial application, CAE calculation results are automatically processed through an automatic program, and report basic elements such as pictures, charts, three-dimensional models and the like are generated; and controlling the generation structure and the content of the report through the configuration file based on the report basic element, thereby generating the standardized CAE report. The CAE calculation data can be automatically processed to generate basic elements such as pictures, charts, three-dimensional models and the like, and the calculation report is automatically generated by controlling the input of the report configuration file, so that the report content is more standard and consistent compared with the traditional report, and meanwhile, the labor cost is greatly reduced.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 is a flow chart of a standardized report automatic generation method for industrial applications in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of user plane operations according to an embodiment of the present invention;
FIG. 3 is a diagram of an architecture of automated reporting basic constituent elements in accordance with an embodiment of the present invention;
fig. 4 is a schematic diagram of an automated protection generation process according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
As shown in fig. 1, the method for automatically generating the standardized report for the industrial application according to the embodiment of the invention comprises the following steps:
step S1, receiving a die design scheme submitted by a user to the SaaS platform.
Specifically, first, user registration is performed. Under the internet environment, the user logs in the SaaS platform through a browser and registers as a paying user. Then, the user who is successfully registered submits the mold design scheme to the SaaS layer
As shown in fig. 2, after a user logs in the SaaS platform, a design project is newly built and configured, a calculation task is newly built under the current project, then a three-dimensional design model corresponding to a mould design scheme is uploaded, and relevant task parameters are configured according to the calculation type; and the user can submit calculation to the SaaS layer after interacting with the SasS layer to select a charging scheme and rechecking task configuration.
Step S2, referring to FIG. 4, the SaaS platform submits a calculation task to the super computer, and the super computer automatically generates a standardized report, comprising the following steps:
step S21, calculating data is generated by CAE software
Specifically, CAE software is utilized to analyze and obtain the time-dependent data of the field variable, and the analyzed and obtained data is processed into data in an interpretable format.
The calculation result of CAE analysis in the industrial field is often the time-dependent change data of field variables such as flow field, temperature field and the like. In the industrial field, CAE analysis often requires professional post-processing software to perform visual processing on the calculation result to obtain data such as images, charts, characters and the like which can be interpreted by a user. The generation of basic elements in the report is to firstly adopt CAE software to generate original calculation data. As shown in fig. 3, the automatic reporting basic elements include the following: pictures, charts, videos, three-dimensional geometric models, text, and the like. It should be noted that, the automatic reporting basic element is not limited to the above content types, and may also include other types of data, which are set according to the need, and are not described herein.
Step S22, analyzing the calculation result data by adopting an automatic program
Specifically, the basic elements of the automatic report all need to call CAE software post-processing software by an automatic script program to process the original calculation data. The generated basic elements comprise a time-varying picture sequence, quantitative analysis data, a three-dimensional model and the like.
And generating a picture sequence process, wherein the automatic script program calls the CAE post-processing program to automatically execute, and the automatic script program comprises the following steps: and (3) file reading, data loading, visual rendering of a three-dimensional data sequence changing along with time, setting a specific three-dimensional display view angle, and storing a picture result generated by current rendering.
And in the quantitative analysis process, the automatic script program calls the CAE post-processing program to automatically execute file reading, data loading, quantitative inquiry of the full-calculation domain values, such as maximum value, minimum value, average value and the like, forms the inquiry result into text output, draws data and forms a picture, and completes picture preservation.
Step S23, generating a document frame by using an automated program
Specifically, an automation program such as an open source version reportlab is used to generate a document frame such as a chapter, a directory, a chart position, a text, a quotation, etc. The Reportlab program specifies the positions, styles, contents, etc. of the display of each element in the document frame by reading the JSON format configuration file. Firstly, planning chapter positions; then, displaying texts, picture sequences and the like in the specific chapters according to the positions and the styles specified by the configuration files; and finally, generating a catalog, a drawing and a list according to the display elements in the file.
Step S24, generating a multimedia animation page
In this step, a multimedia animation page is generated for implementing a play control function.
Specifically, the JS code is adopted to generate the multimedia animation page for the specified picture sequence, and the functions include play control, such as play and pause.
Step S25, generating a three-dimensional geometric model page
In this step, the three-dimensional geometric model page is used to implement rotation, scaling and dragging of the three-dimensional model.
Generating 3-dimensional geometric model pages using U3D format
The JS codes are adopted to generate a three-dimensional geometric model page for the U3D format, and the function can support the display of the three-dimensional geometric model in PDF, and support the rotation, scaling, dragging and the like of the three-dimensional model.
Step S26, generating report element configuration file
Specifically, report profile generation is accomplished by running a specific Javascript code file that reads a template Json profile, thereby generating the profile. The Json file directly specifies generic templated information, and for personalized information, is obtained by specifying the path along which the file or information is displayed. And finally generating a configuration file which can be read by a pdf generating program with the reportlab as the bottom layer by integrating the universal information and the personalized information.
In the present invention, the source file of the base element in the report, as well as the location and size in the document, are specified by the report configuration file. And simultaneously, the Chinese characters of the report are also generated by the configuration file.
Step S27, reading the configuration file by using the document framework program to generate an automatic PDF report
Specifically, after the document frame main program reads the configuration file, the document frame main program automatically compiles and generates an automatic PDF report.
Step S28, adding a digital signature for the PDF report.
In this step, to ensure the integrity and authenticity of the document content, a digital signature is automatically added to the automated report.
According to the invention, automatic analysis can be performed according to the parameters input by the user, and the analysis result is presented to the user in a standard template form. And setting various structure templates according to different requirements of users to generate corresponding report provision. The invention realizes automatic calculation of data, automatic analysis of original calculation data, automatic generation of result data such as pictures, charts, texts and the like, and automatic generation of standardized reports according to the result data.
According to the standardized report automatic generation method for industrial application, CAE calculation results are automatically processed through an automatic program, and report basic elements such as pictures, charts, three-dimensional models and the like are generated; and controlling the generation structure and the content of the report through the configuration file based on the report basic element, thereby generating the standardized CAE report. The CAE calculation data can be automatically processed to generate basic elements such as pictures, charts, three-dimensional models and the like, and the calculation report is automatically generated by controlling the input of the report configuration file, so that the report content is more standard and consistent compared with the traditional report, and meanwhile, the labor cost is greatly reduced.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives, and variations may be made in the above embodiments by those skilled in the art without departing from the spirit and principles of the invention. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (3)
1. An automatic standardized report generating method for industrial application, comprising the following steps:
step S1, receiving a die design scheme submitted by a user to a SaaS platform;
step S2, the SaaS platform submits a calculation task to a super computer, and the super computer automatically generates a standardized report, comprising the following steps:
step S21, calculating data is generated by using CAE software;
step S22, analyzing calculation result data by adopting an automatic program;
step S23, generating a document frame by adopting an automatic program;
step S24, generating a multimedia animation page;
s25, generating a three-dimensional geometric model page;
step S26, generating a report element configuration file;
step S27, reading the configuration file by using a document framework program to generate an automatic PDF report;
step S28, adding a digital signature for the PDF report;
in the step S21 of the above-mentioned process,
analyzing and obtaining the change data of the field variable along with time by using CAE software, and processing the data obtained by analysis into data in an interpretable format;
in the step S22, the analyzing the calculation result data using the automated program includes:
and generating a picture sequence process, wherein the automatic program calls the CAE post-processing program to automatically execute, and the picture sequence process comprises the following steps of: file reading, data loading, visual rendering of a three-dimensional data sequence changing along with time, setting a specific three-dimensional display view angle, and storing a picture result generated by current rendering;
the quantitative analysis process, the automatic program calls CAE post-processing program to automatically execute file reading, data loading, quantitative inquiry of full-calculation domain values, drawing data and forming pictures;
in step S23, the generating a document frame using an automation program includes: by reading the JSON format configuration file, defining the related data of each element in the document frame, planning chapter positions, and then displaying specific contents according to the positions and styles specified by the configuration file; finally, generating a catalog, a drawing and a list according to the display elements in the file;
the generation of the report element configuration file comprises the following steps: the method is realized by running a specific Javascript code file, the code file reads a template Json configuration file, so as to generate a configuration file, wherein the template Json configuration file defines universal templatization information, and the configuration file which can be read by a pdf generating program with a reportlab as a bottom layer is finally generated by integrating the universal information and personalized information.
2. The method for automatically generating standardized reports for industrial applications according to claim 1, wherein in said step S24, said generating a multimedia animation page is used for realizing a play control function.
3. The method for automatically generating standardized reports for industrial applications according to claim 1, wherein in said step S25, said three-dimensional geometrical model page is used for realizing rotation, scaling and dragging of a three-dimensional model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011345083.XA CN112446197B (en) | 2020-11-26 | 2020-11-26 | Automatic standardized report generation method for industrial application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011345083.XA CN112446197B (en) | 2020-11-26 | 2020-11-26 | Automatic standardized report generation method for industrial application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112446197A CN112446197A (en) | 2021-03-05 |
CN112446197B true CN112446197B (en) | 2024-02-02 |
Family
ID=74738146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011345083.XA Active CN112446197B (en) | 2020-11-26 | 2020-11-26 | Automatic standardized report generation method for industrial application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112446197B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6055541A (en) * | 1997-09-19 | 2000-04-25 | Sas Ip, Inc. | Automatic report generating system |
WO2006117615A2 (en) * | 2005-04-27 | 2006-11-09 | Justsystems Canada Inc. | System and method for providing data formatting |
CN101976235A (en) * | 2010-09-21 | 2011-02-16 | 天津神舟通用数据技术有限公司 | Extensible Word report automatically-generating method based on dynamic web page |
CN103020168A (en) * | 2012-11-27 | 2013-04-03 | 辽宁省电力有限公司电力科学研究院 | System and method for automatically generating reports during power monitoring and supervision |
CN103514620A (en) * | 2012-09-29 | 2014-01-15 | 天津十彩动画科技有限公司 | 3D animation whole-process manufacturing cloud computing platform |
CN108491592A (en) * | 2018-03-06 | 2018-09-04 | 中国第汽车股份有限公司 | CAE simulation results automatic processing method and system |
WO2019226965A1 (en) * | 2018-05-23 | 2019-11-28 | Predictx Limited | Automated production of data-driven reports with descriptive and rich text and graphical contents |
CN111353283A (en) * | 2020-01-19 | 2020-06-30 | 上海欧易生物医学科技有限公司 | Automatic report generation method and generation system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9037964B2 (en) * | 2012-01-12 | 2015-05-19 | International Business Machines Corporation | Providing direct manipulation of an analytics data visualization within an analytics report |
US8850274B2 (en) * | 2012-02-01 | 2014-09-30 | Empirix, Inc. | Method of embedding configuration data in a non-configuration document |
-
2020
- 2020-11-26 CN CN202011345083.XA patent/CN112446197B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6055541A (en) * | 1997-09-19 | 2000-04-25 | Sas Ip, Inc. | Automatic report generating system |
WO2006117615A2 (en) * | 2005-04-27 | 2006-11-09 | Justsystems Canada Inc. | System and method for providing data formatting |
CN101976235A (en) * | 2010-09-21 | 2011-02-16 | 天津神舟通用数据技术有限公司 | Extensible Word report automatically-generating method based on dynamic web page |
CN103514620A (en) * | 2012-09-29 | 2014-01-15 | 天津十彩动画科技有限公司 | 3D animation whole-process manufacturing cloud computing platform |
CN103020168A (en) * | 2012-11-27 | 2013-04-03 | 辽宁省电力有限公司电力科学研究院 | System and method for automatically generating reports during power monitoring and supervision |
CN108491592A (en) * | 2018-03-06 | 2018-09-04 | 中国第汽车股份有限公司 | CAE simulation results automatic processing method and system |
WO2019226965A1 (en) * | 2018-05-23 | 2019-11-28 | Predictx Limited | Automated production of data-driven reports with descriptive and rich text and graphical contents |
CN111353283A (en) * | 2020-01-19 | 2020-06-30 | 上海欧易生物医学科技有限公司 | Automatic report generation method and generation system |
Non-Patent Citations (2)
Title |
---|
基于Perl与CGI的报告自动生成方法研究;卢远镭;邱宏茂;王娟;许进;;核电子学与探测技术(第01期);第209-211、222页 * |
基于模版定制的报告自动生成方法;黄兵锋;盛俏;刘杰畅;吴桐;谭密;;湖北汽车工业学院学报(第04期);第42-45页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112446197A (en) | 2021-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Villán | Mastering OpenCV 4 with Python: a practical guide covering topics from image processing, augmented reality to deep learning with OpenCV 4 and Python 3.7 | |
US20140074272A1 (en) | System for creation of three dimensional printing files | |
KR101494844B1 (en) | System for Transforming Chart Using Metadata and Method thereof | |
TW201329852A (en) | Simulation of web applications and secondary devices in a web browser, web application development tools, and methods using the same | |
CN106933887B (en) | Data visualization method and device | |
CN111208998A (en) | Method, device and storage medium for automatic layout of data visualization large screen | |
CN112241565A (en) | Modeling method and related device | |
US20140215306A1 (en) | In-Context Editing of Output Presentations via Automatic Pattern Detection | |
US20120229391A1 (en) | System and methods for generating interactive digital books | |
CN110110198B (en) | Method and device for extracting web page information | |
KR102247877B1 (en) | Image crop method and apparatus for generating online shopping mall banner design | |
CN113095056B (en) | Generation method, processing method, device, electronic equipment and medium | |
US20220180011A1 (en) | Systems and methods for modifying cad files | |
US20190018660A1 (en) | Converting whiteboard images to personalized wireframes | |
JP6452882B1 (en) | System, method and program for automating business processes involving operation of web browser | |
CN117093386A (en) | Page screenshot method, device, computer equipment and storage medium | |
CN112446197B (en) | Automatic standardized report generation method for industrial application | |
William Lentz et al. | X3D and glTF model differencing for conversions, comparison and conformance testing | |
JP7503700B1 (en) | Apparatus, method and program for creating technical documentation for software | |
CN112328940A (en) | Method, device, computer equipment and storage medium for embedding transition page in webpage | |
CN115018949B (en) | Image processing method, device, electronic device and storage medium | |
JP2002202997A (en) | Analysis know-how writable general-purpose analysis system, analysis know-how writable general-purpose analysis program, and recording mediums with analysis know-how writable general-purpose analysis program recorded thereon | |
Horvath et al. | Making a 3D Model | |
KR101984058B1 (en) | Template application system and method using the file format svg | |
US10915599B2 (en) | System and method for producing transferable, modular web pages |
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 | ||
CB03 | Change of inventor or designer information |
Inventor after: Zhang Wei Inventor after: Liu Fengyuan Inventor after: Wang Zhongwei Inventor before: Zhang Wei Inventor before: Liu Fengyuan Inventor before: Guo Zhipeng Inventor before: Wang Zhongwei |
|
CB03 | Change of inventor or designer information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |