CN112115694A - Simulation report generation method and device based on multi-element data structure - Google Patents

Simulation report generation method and device based on multi-element data structure Download PDF

Info

Publication number
CN112115694A
CN112115694A CN202010847275.4A CN202010847275A CN112115694A CN 112115694 A CN112115694 A CN 112115694A CN 202010847275 A CN202010847275 A CN 202010847275A CN 112115694 A CN112115694 A CN 112115694A
Authority
CN
China
Prior art keywords
simulation
report
data
label
task
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.)
Granted
Application number
CN202010847275.4A
Other languages
Chinese (zh)
Other versions
CN112115694B (en
Inventor
赵斌
方敏
赵峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu XCMG Construction Machinery Institute Co Ltd
Original Assignee
Jiangsu XCMG Construction Machinery Institute Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiangsu XCMG Construction Machinery Institute Co Ltd filed Critical Jiangsu XCMG Construction Machinery Institute Co Ltd
Priority to CN202010847275.4A priority Critical patent/CN112115694B/en
Publication of CN112115694A publication Critical patent/CN112115694A/en
Application granted granted Critical
Publication of CN112115694B publication Critical patent/CN112115694B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a simulation report generation method of a multi-element data structure, which comprises the following steps: performing simulation calculation on the created simulation task based on the collaborative simulation platform to obtain simulation data; constructing a multi-element data structure network according to the simulation data; obtaining a parameterized simulation report template with a corresponding format according to the simulation task type; and filling the parameterized simulation report template according to the corresponding relation between the multivariate data in the multivariate data structure network and the labels in the parameterized simulation report template to generate the simulation report. The invention is based on the actual service scene and the actual working process, has strong practicability, the working process drives the generation of the multi-element array network, and the report content is automatically filled based on the multi-element array network, so that the compiling efficiency of the report can be effectively improved, the report error rate is reduced, the report accuracy is improved, and the digitization level of the enterprise simulation service is effectively improved.

Description

Simulation report generation method and device based on multi-element data structure
Technical Field
The invention belongs to the technical field of digital research and development of engineering machinery, and particularly relates to an automatic simulation report generation method based on a multi-element data structure.
Background
At present, the compiling of documents by using Microsoft Office word is a common Office demand of people, and the word can support the compiling and displaying of contents such as texts, pictures, tables and the like, and support the functions of object embedding and expanding, and is very powerful document processing software. In enterprise business operation, repeated documentation and report compiling work often occurs, and the work has the characteristics of complexity, repetition, easy error, easy rework and the like, consumes labor cost and affects working efficiency. The collaborative simulation platform of the enterprise is a process of developing a series of simulation processes based on a simulation object, forming a series of simulation data and outputting simulation result data. Various simulation data are dispersed in each process node, and the formation of a final simulation report is complex.
At present, the automatic generation technology of report documents has been researched correspondingly in the industry, and the following technical paths are more common: firstly, on the basis of word, secondary development is carried out, and a document is automatically generated by using VBA or OLE generally; secondly, realizing an IDTextensibility2 dispatching interface by using COM AddIn technology, manufacturing a template customizing tool, constructing a template database and realizing automatic generation of a report; and thirdly, the document template is structurally designed by adopting an XML technology, the document content is divided into a plurality of different types, and then the corresponding control interface is adopted to realize documentation, thereby reducing the documentation difficulty. The above modes are combined with specific industry cases, so that the practical problems are solved, and the method has certain significance.
However, performing secondary development on the basis of word to realize automatic document generation requires a large amount of development workload, and cannot be perfectly solved for the situation of complex business and the situation of various report formats, and the universality is not strong. The report document template is designed in various types, so that the report is automatically generated, the problem of reports in various formats can be solved, a large amount of design and development work needs to be carried out on the template, and the practicability is not particularly good. The two modes have a problem that the problem that report data are scattered in each service system and each process node cannot be solved, the report data are not fully combined with the service process, and the problem of automatic generation of the report in a collaborative working environment cannot be effectively solved.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a simulation report generation method based on a multi-element data structure, which can effectively improve the compiling efficiency of reports, reduce the report error rate and improve the report accuracy.
In order to achieve the purpose, the invention is realized by adopting the following technical scheme:
in a first aspect, the present invention provides a simulation report generation method based on a multi-element data structure, including the following steps: performing simulation calculation on the created simulation task based on the collaborative simulation platform to obtain simulation data; constructing a multi-element data structure network according to the simulation data; obtaining a parameterized simulation report template with a corresponding format according to the simulation task type; and filling the parameterized simulation report template according to the corresponding relation between the multivariate data in the multivariate data structure network and the labels in the parameterized simulation report template to generate the simulation report.
Further, the method for performing simulation calculation on the created simulation task based on the collaborative simulation platform comprises the following steps: decomposing a simulation task into a plurality of unidirectional simulation projects to form project information, wherein the project information comprises simulation project names and simulation project numbers; acquiring a corresponding simulation model from a simulation project to form model information, wherein the model information comprises an intercepted model lightweight picture and key parameters of the model; carrying out simulation calculation aiming at the simulation project and the simulation model to form calculation information, wherein the calculation information comprises calculation core number and calculation time; aiming at the simulation result corresponding to the simulation project, result data information is formed, and the result data information comprises a simulation result description text, a simulation result description picture and a simulation result description table; and generating a simulation report preliminarily, and forming report basic information, wherein the report basic information comprises a report number, a creator and a creation time.
Further, the construction method of the multi-element group data structure network comprises the following steps: constructing node data parameter information into a six-element data network < Task, Item, Model, computer, Result, Report > corresponding to the simulation Task, wherein the unique identification number of the six-element data network is the Task number corresponding to the simulation Task; establishing a corresponding relation between each node parameter information of the process and the six-element group data network, wherein:
the Task is used for storing Task information;
the Item is used for storing Item information;
the Model is used for storing Model information;
the computer is used for storing calculation information;
result is used for storing Result data information;
the Report is used for storing basic Report information.
Further, the method for constructing the parameterized simulation report template comprises the following steps: the report content is divided into static invariable content and variable content, the static invariable content is a fixed area and does not need to be edited, and the variable content is changed along with different simulation tasks; and solidifying the variable content into a series of data tags to form a parameterized simulation report template file, wherein the data tags comprise simulation service tags and simulation analysis tags.
Further, the simulation service data label comprises a task name label, a task number label, a project name label, a model picture label, a model parameter label, a calculation core number label, a calculation time label, a report number label, a report creator label and a report creation time label; the simulation analysis data tag includes: text labels, picture labels, and form labels.
Further, the method of populating the parameterized template comprises the steps of: calling a corresponding hexahydric group data network of the task according to the task number, acquiring a corresponding report template number according to a hexahydric group data network crawler, and acquiring a parameterized simulation report template according to the report template number; removing original contents of the label in the parameterized simulation report template; the crawler acquires all simulation data in the six-element data network; and filling all the label contents in the parameterized simulation report template by calling a search replacement function according to the corresponding relation between the simulation data and the labels.
Further, the method for filling the label content comprises the following steps: and (5) referencing a spiral Doc component, and filling a text label, a table label and a picture label respectively.
Further, the filling method of the label comprises the following steps: in the six-element data network, a crawler acquires attribute information contained in Task, Item, Model, computer and Report, and fills the attribute information into a text label in a parameterized simulation Report template; the crawler acquires all simulation result description text contents in the hexahydric data network and fills the description text contents into text labels in the parameterized simulation report template; the crawler acquires all simulation result description table contents in the hexahydric group data network and fills the table contents into table labels in the parameterized simulation report template; and the crawler acquires all simulation result description picture contents in the six-element data network, and fills the simulation result description picture contents into the picture tags in the parameterized simulation report template.
In a second aspect, the present invention provides an apparatus for generating a simulation report of a tuple data structure, the apparatus comprising:
a simulation data module: the simulation platform is used for carrying out simulation calculation on the created simulation task based on the collaborative simulation platform to obtain simulation data;
a data structure network module: the multi-element data structure network is constructed according to the simulation data;
a report template module: the parameterized simulation report template is used for acquiring a parameterized simulation report template with a corresponding format according to the simulation task type;
a template filling module: and the simulation report template is filled according to the corresponding relation between the multivariate data in the multivariate data structure network and the report label in the parameterized simulation report template to generate the simulation report.
In a third aspect, the present invention provides a simulation report generating apparatus based on a multi-element data structure, including a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is configured to operate according to the instructions to perform the steps of the above-described method.
Compared with the prior art, the invention has the following beneficial effects:
(1) based on the cooperative work flow, a series of related simulation service data information and simulation result data information are obtained, a multivariate digital network is constructed, the data information is integrated, the data source is unique, the manual intervention is less, and the uniqueness and the accuracy of the data are ensured, so that the error rate of report contents is reduced, and the report accuracy is improved.
(2) By constructing a parameterized report template, introducing a multivariate digital networking, acquiring each data object by a crawler, and automatically filling the data object into the content of a report document through a function, the compiling efficiency of the report is improved, and the digitization level of enterprise simulation services is improved.
(3) The invention is based on the collaborative simulation platform of the enterprise, through confirming the unique identification number, according to the collaborative circulation of the simulation workflow, obtain various simulation data; introducing a multi-element concept, and collecting various data to construct a multi-element data structure network; and acquiring report template numbers and various numerical values according to the web crawler with the unique identification number, and calling a search replacement function to automatically fill the report contents one by one, thereby finally realizing the automatic generation of the simulation report. The invention is based on the actual working process, has strong practicability, can effectively improve the compiling efficiency of the report, reduce the report error rate, improve the report accuracy and effectively improve the digitization level of the enterprise simulation service.
Drawings
FIG. 1 is a schematic diagram of simulation report generation based on multi-element data structure according to the present invention
FIG. 2 is a schematic diagram of a collaborative workflow based on a collaborative simulation platform according to the present invention;
FIG. 3 is a schematic diagram of a multi-element data structure network (referred to as a multi-element data network for short) according to the present invention;
FIG. 4 is a schematic diagram of report template parameterization design provided by the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The first embodiment is as follows:
the embodiment provides a simulation report generation method based on a multi-element data structure, which comprises the following steps:
as shown in fig. 1, the technical solution of the present embodiment mainly includes the following parts: designing a collaborative workflow based on a collaborative simulation platform; a method for constructing a multi-element data structure network (multi-element data network for short); report template parameterization design; automatic population of report content and generation of report files.
As shown in fig. 2, the present embodiment provides a simulation collaborative workflow. The core of the process lies in the cooperation, the complex simulation work is decomposed into one-way simulation, and the one-way simulation is completed by cooperation of a plurality of simulation engineers.
The method comprises the following steps: creating a simulation Task, wherein the Task can be originated from other business systems of an enterprise or created autonomously, and forming a key data class Task = { Task name; a TaskID; TemplateID, wherein the TaskName represents a task name, the TaskID identifies a task number, the TaskID serves as a main key and a unique identifier of a task data class, and the TemplateID represents a report template number.
Step two: decomposing a simulation task into a number of simulation items, which can be represented as Item1= { ItemName; ItemID }, Item2= { ItemName; ItemID }, Item3= { ItemName; ItemID }, Itemn = { ItemName; ItemID, where ItemName represents the emulation item name and ItemID represents the emulation item number.
Step three: and acquiring a simulation model, wherein each simulation item corresponds to the simulation model, and because the simulation model cannot be displayed in a document report, a lightweight picture and related model parameters of the model are acquired. Can be expressed as Model1= { Model picture; ModelData; model id }, Model2= { Model picture; ModelData; model id }, Model3= { Model picture; ModelData; model id }, model = { model picture; ModelData; ModelID }, wherein ModelPicture represents the intercepted model lightweight picture, ModelData represents key parameters of the model and can be added as required, and ModelID represents the number of the model.
Step four: and performing simulation calculation, namely performing simulation calculation on each simulation project and each simulation model, wherein the calculation is performed by calling an enterprise high-speed computing center in general, and the information to be acquired mainly comprises the number of cores required by calculation and calculation time. May be represented as computer 1= { corenum ber; ComputeTime }, computer 2= { corenum ber; ComputeTime }, computer 3= { corenum ber; ComputeTime }, Computen = { corenum ber; ComputeTime }, where CoreNumber denotes the number of computation cores and ComputeTime denotes the computation time.
Step five: delivering a simulation Result, wherein each simulation item corresponds to a simulation Result, and the simulation Result generally includes text description, picture description, and table description, and can be expressed as Result1= { RTText; RTImage; RTTable }, Result2= { RTText; RTImage; RTTable }, Result3= { RTText; RTImage; RTTable }, Resultn = { RTText; RTImage; RTTable, where RTText represents a simulation result description text, RTImage represents a simulation result description picture, and RTTable represents a simulation result description table.
Step six: generating a simulation Report preliminarily, which can be expressed as Report = { Report ID; a Creator; CreateTime }, report id denotes a report number, Creator denotes a Creator, and CreateTime denotes a creation time.
As shown in fig. 3, the present embodiment provides a method for constructing a multi-element data structure network (multi-element data network for short). The above describes the development mode of the simulation collaborative process and the data parameter information of each node, and how to assemble these information together to support the generation of the simulation report is a key problem, here, the proposed method is to construct a multivariate data structure network by the unique identification "task number" of the simulation task.
The final simulation data packet is represented by a tuple, when a simulation Task is created, a hexahydric data network S < Task, Item, Model, computer, Result, Report > is created in a system database, the unique identification number of the hexahydric data network is the Task number Task ID of the Task, and simultaneously, the corresponding relation between the parameter information of each process node and the hexahydric data network S is established along with the development of the simulation process, wherein:
the Task is used for storing Task information, and the Task = Task;
the Item is used to store Item information. Item = { Item 1; item 2; item 3; itemn };
model is used to store Model information, Model = { Model 1; model 2; model 3; modeln };
computer for storing computing information, computer = { computer 1; computer 2; computer 3; computen };
result is used to store Result data information, Result = { Result 1; result 2; result 3; resultn };
report is used for storing basic Report information, and Report = Report.
Namely, the netlike collection of the process data and the result data which are numbered as the task ID simulation tasks is realized through the six-element group data network S. The embodiment provides a report template parameterization design method. The report template is the prerequisite basis for automatic generation of reports. And according to different types of simulation tasks, making report templates with different formats. The report content is divided into static invariable content and variable content, the static invariable content is a fixed area and does not need to be edited, and the variable content is divided into text content, picture content and table content and is changed along with different simulation tasks.
The method comprises the following steps: inserting emulation service data labels into the fixed positions, wherein the emulation service data labels comprise a task name label [ bookmark _ TaskName ], a task number label [ bookmark _ TaskID ], an item name label [ bookmark _ ItemName1] - [ bookmark _ ItemNamen ], a model picture label [ bookmark _ ModelPicture1] - [ bookmark _ ModelPicture ], a model parameter label [ bookmark _ ModelData1] - [ bookmark _ ModelData2], a computation core label [ bookmark _ CoreMark 1] - [ bookmark _ CoreMark ], a computation time label [ bookmark _ ComputeMark 1] - [ bookmark _ ComputeData ], a report Creator label [ bookmark _ CreeMark ], and a report creation time label [ bookmark _ CreetTimeMark [ bookmark _ TimeMark ].
Step two: inserting simulation analysis data tags at fixed locations, including three types: text labels, picture labels, and form labels. Inserting Text labels [ bookmark _ Text1] - [ bookmark _ Textn ], inserting picture labels [ bookmark _ Image1] - [ bookmark _ Image ], and inserting Table labels [ bookmark _ Table1] - [ bookmark _ Table.
Step three: and finishing the design of the report templates of all categories, forming a file named by TemplateID, and storing the file in a system file library.
The embodiment provides an automatic filling method of report contents and a report file generation method. The method is completed based on the six-element data network and the parameterized simulation report template, and a spiral. The specific method comprises the following steps:
the method comprises the following steps: and calling the exclusive hexahydric group data network S of the task according to the task number TaskID: get (S), obtaining report template number S.Task.TemplateID in multivariate data networking crawler, obtaining report template file (parametrically designed file) according to the report template number, and naming the report template file as 'TaskID-simulation report.docx' according to rules.
Step two: pointing to the label position in a 'TaskID-simulation report.docx', and referencing a statement navigator. MoveToBookmark (bookmark name), wherein the bookmark name contains all the labels; remove the original tag content and refer to the statement navigator.
Step three: a crawler in a multivariate data network S acquires all basic information data, including attribute information contained in Task, Item, Model, computer and Report, and fills the attribute information into a text label in a ' Task ID-simulation Report ' docx ', including text information and picture information, wherein the text information refers to a statement navigator time (text) filling, and the text content includes [ bookmark _ TaskName ], [ bookmark _ TaskID ], [ bookmark _ ItemName1], [ bookmark _ EmItName ], [ bookmark _ Modem data2], [ bookmark _ Corumber 1], [ bookmark _ Corumber ], [ bookmark _ Complic 2], [ bookmark _ TimeMark ]; picture information refers to the statements navigator insert picture (para), where the para contents include [ bookmark _ model picture1] - [ bookmark _ model picture ].
Step four: a crawler acquires all result Text contents S.Result.Result.1.RTText-S.Result.Resultn.RTText in a multivariate data network S, and fills the result Text contents into a Text label in a TaskID-simulation report docx, and introduces a sentence navigator.
Step five: a crawler acquires all result Table contents S.result.Result.1.RTTable-S.Result.Resultn.RTTable in a multivariate data network S, fills the result Table contents S.Result.Resultn.RTTable into a Table label in a "TaskID-simulation report.docx", and refers to a statement navigator.InsertTable (Table), wherein the Table contents comprise [ bookmark _ Table1] - [ bookmark _ Table ].
Step six: a crawler acquires all result picture contents S.Result.Result.1. RTImage-S.Result.Resultn.RTImage in a multivariate data network S, and fills the result picture contents into a picture label in a "TaskID-simulation report.docx", and refers to a statement navigator.InsertParagraph (para), wherein the para contents comprise [ bookmark _ Image1] - [ bookmark _ Image ].
Step seven: and after all parameters of the report are filled, saving a document file 'TaskID-simulation report. docx' and storing the document file into a specified storage position.
The report template parameterization design diagram provided by the invention is shown in FIG. 4.
The invention is based on the collaborative simulation platform of the enterprise, through confirming the unique identification number, according to the collaborative circulation of the simulation workflow, obtain various simulation data; introducing a multi-element concept, and collecting various data to construct a multi-element data structure network (hereinafter referred to as a multi-element data network); and acquiring report template numbers and various numerical values according to the web crawler with the unique identification number, and calling a search replacement function to automatically fill the report contents one by one, thereby finally realizing the automatic generation of the simulation report. The invention is based on the actual working process, has strong practicability, can effectively improve the compiling efficiency of the report, reduce the report error rate, improve the report accuracy and effectively improve the digitization level of the enterprise simulation service.
Example two:
the present embodiment provides a simulation report generation apparatus based on a multi-element data structure, which can be used to implement the method steps described in the first embodiment, and the apparatus includes:
a simulation data module: the simulation platform is used for carrying out simulation calculation on the created simulation task based on the collaborative simulation platform to obtain simulation data;
a data structure network module: the multi-element data structure network is constructed according to the simulation data;
a report template module: the parameterized simulation report template is used for acquiring a parameterized simulation report template with a corresponding format according to the simulation task type;
a template filling module: and the simulation report template is filled according to the corresponding relation between the multivariate data in the multivariate data structure network and the report label in the parameterized simulation report template to generate the simulation report.
Example three:
the embodiment provides a simulation report generating device based on a multi-element data structure, which comprises a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method of:
performing simulation calculation on the created simulation task based on the collaborative simulation platform to obtain simulation data;
constructing a multi-element data structure network according to the simulation data;
obtaining a parameterized simulation report template with a corresponding format according to the simulation task type;
and filling the parameterized simulation report template according to the corresponding relation between the multivariate data in the multivariate data structure network and the report tags in the parameterized simulation report template to generate the simulation report.
The embodiment is based on the actual working process, has strong practicability, can effectively improve the compiling efficiency of the report, reduces the report error rate, improves the report accuracy, and effectively improves the digitization level of the enterprise simulation service.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present embodiment, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present embodiment, and these modifications and variations should also be regarded as the protection scope of the present embodiment.

Claims (10)

1. A simulation report generation method based on a multi-element data structure is characterized by comprising the following steps:
performing simulation calculation on the created simulation task based on the collaborative simulation platform to obtain simulation data;
constructing a multi-element data structure network according to the simulation data;
obtaining a parameterized simulation report template with a corresponding format according to the simulation task type;
and filling the parameterized simulation report template according to the corresponding relation between the multivariate data in the multivariate data structure network and the labels in the parameterized simulation report template to generate the simulation report.
2. The method for generating a simulation report based on a multi-element data structure as claimed in claim 1, wherein the method for performing simulation calculation on the created simulation task based on the collaborative simulation platform comprises the following steps:
decomposing a simulation task into a plurality of unidirectional simulation projects to form project information, wherein the project information comprises simulation project names and simulation project numbers;
acquiring a corresponding simulation model from a simulation project to form model information, wherein the model information comprises an intercepted model lightweight picture and key parameters of the model;
carrying out simulation calculation aiming at the simulation project and the simulation model to form calculation information, wherein the calculation information comprises calculation core number and calculation time;
aiming at the simulation result corresponding to the simulation project, result data information is formed, and the result data information comprises a simulation result description text, a simulation result description picture and a simulation result description table;
and generating a simulation report preliminarily, and forming report basic information, wherein the report basic information comprises a report number, a creator and a creation time.
3. The method for generating a simulation report based on a multi-tuple data structure as claimed in claim 2, wherein the method for constructing the multi-tuple data structure network comprises the following steps:
constructing node data parameter information into a six-element data network < Task, Item, Model, computer, Result, Report > corresponding to the simulation Task, wherein the unique identification number of the six-element data network is the Task number corresponding to the simulation Task;
establishing a corresponding relation between each node parameter information of the process and the six-element group data network, wherein:
the Task is used for storing Task information;
the Item is used for storing Item information;
the Model is used for storing Model information;
the computer is used for storing calculation information;
result is used for storing Result data information;
the Report is used for storing basic Report information.
4. The method of claim 3, wherein the method of constructing the parameterized simulation report template comprises the steps of:
the report content is divided into static invariable content and variable content, the static invariable content is a fixed area and does not need to be edited, and the variable content is changed along with different simulation tasks;
and solidifying the variable content into a series of data tags to form a parameterized simulation report template file, wherein the data tags comprise simulation service tags and simulation analysis tags.
5. The method according to claim 4, wherein the simulation service data label comprises a task name label, a task number label, a project name label, a model picture label, a model parameter label, a calculation core number label, a calculation time label, a report number label, a report creator label, and a report creation time label;
the simulation analysis data tag includes: text labels, picture labels, and form labels.
6. The method of generating a simulation report based on a multi-tuple data structure according to claim 5, wherein the method of populating the parameterized simulation report template comprises the steps of:
calling a corresponding hexahydric group data network of the task according to the task number, acquiring a corresponding report template number according to a hexahydric group data network crawler, and acquiring a parameterized simulation report template according to the report template number;
removing original contents of the label in the parameterized simulation report template;
the crawler acquires all simulation data in the six-element data network;
and filling all the label contents in the parameterized simulation report template by calling a search replacement function according to the corresponding relation between the simulation data and the labels.
7. The method of claim 6, wherein the method for populating the label content comprises: and (5) referencing a spiral Doc component, and filling a text label, a table label and a picture label respectively.
8. The method of generating a simulation report based on a multi-tuple data structure according to claim 6, wherein the label filling method comprises the steps of:
in the six-element data network, a crawler acquires attribute information contained in Task, Item, Model, computer and Report, and fills the attribute information into a text label in a parameterized simulation Report template;
the crawler acquires all simulation result description text contents in the hexahydric data network and fills the description text contents into text labels in the parameterized simulation report template;
the crawler acquires all simulation result description table contents in the hexahydric group data network and fills the table contents into table labels in the parameterized simulation report template;
and the crawler acquires all simulation result description picture contents in the six-element data network, and fills the simulation result description picture contents into the picture tags in the parameterized simulation report template.
9. An apparatus for generating a simulation report based on a multi-tuple data structure, the apparatus comprising:
a simulation data module: the simulation platform is used for carrying out simulation calculation on the created simulation task based on the collaborative simulation platform to obtain simulation data;
a data structure network module: the multi-element data structure network is constructed according to the simulation data;
a report template module: the parameterized simulation report template is used for acquiring a parameterized simulation report template with a corresponding format according to the simulation task type;
a template filling module: and the simulation report template is filled according to the corresponding relation between the multivariate data in the multivariate data structure network and the report label in the parameterized simulation report template to generate the simulation report.
10. A simulation report generating device based on a multi-element data structure is characterized by comprising a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method according to any one of claims 1 to 8.
CN202010847275.4A 2020-08-21 2020-08-21 Simulation report generation method and device based on multi-element data structure Active CN112115694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010847275.4A CN112115694B (en) 2020-08-21 2020-08-21 Simulation report generation method and device based on multi-element data structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010847275.4A CN112115694B (en) 2020-08-21 2020-08-21 Simulation report generation method and device based on multi-element data structure

Publications (2)

Publication Number Publication Date
CN112115694A true CN112115694A (en) 2020-12-22
CN112115694B CN112115694B (en) 2023-07-04

Family

ID=73804327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010847275.4A Active CN112115694B (en) 2020-08-21 2020-08-21 Simulation report generation method and device based on multi-element data structure

Country Status (1)

Country Link
CN (1) CN112115694B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518012A (en) * 2021-09-10 2021-10-19 之江实验室 Distributed cooperative flow simulation environment construction method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100198799A1 (en) * 2007-06-20 2010-08-05 Sanjeev Krishnan Method and Apparatus for Software Simulation
CN105243108A (en) * 2015-09-24 2016-01-13 四川长虹电器股份有限公司 XBRL based intelligent reporting platform system
CN106874244A (en) * 2017-01-03 2017-06-20 宁波大红鹰学院 A kind of construction method of the document Auto-generation Model based on work sequence
CN108595398A (en) * 2018-04-16 2018-09-28 北京航空航天大学 The method that artificial intelligence program substitutes person writing's simulation report
CN109190098A (en) * 2018-08-15 2019-01-11 上海唯识律简信息科技有限公司 A kind of document automatic creation method and system based on natural language processing
CN109388612A (en) * 2018-09-14 2019-02-26 中国科学院光电研究院 A kind of method, equipment, system and the medium of data summarization document structure tree
CN109684614A (en) * 2018-11-30 2019-04-26 南京越博动力系统股份有限公司 A kind of vehicle performance simulation report automatic creation system and its generation method
US20190220556A1 (en) * 2013-03-15 2019-07-18 Ventana Systems, Inc. Modeling and simulation
CN110874717A (en) * 2019-10-12 2020-03-10 中国直升机设计研究所 Data management method
CN111176613A (en) * 2019-12-25 2020-05-19 中国运载火箭技术研究院 Collaborative task automatic decomposition system based on architecture model

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100198799A1 (en) * 2007-06-20 2010-08-05 Sanjeev Krishnan Method and Apparatus for Software Simulation
US20190220556A1 (en) * 2013-03-15 2019-07-18 Ventana Systems, Inc. Modeling and simulation
CN105243108A (en) * 2015-09-24 2016-01-13 四川长虹电器股份有限公司 XBRL based intelligent reporting platform system
CN106874244A (en) * 2017-01-03 2017-06-20 宁波大红鹰学院 A kind of construction method of the document Auto-generation Model based on work sequence
CN108595398A (en) * 2018-04-16 2018-09-28 北京航空航天大学 The method that artificial intelligence program substitutes person writing's simulation report
CN109190098A (en) * 2018-08-15 2019-01-11 上海唯识律简信息科技有限公司 A kind of document automatic creation method and system based on natural language processing
CN109388612A (en) * 2018-09-14 2019-02-26 中国科学院光电研究院 A kind of method, equipment, system and the medium of data summarization document structure tree
CN109684614A (en) * 2018-11-30 2019-04-26 南京越博动力系统股份有限公司 A kind of vehicle performance simulation report automatic creation system and its generation method
CN110874717A (en) * 2019-10-12 2020-03-10 中国直升机设计研究所 Data management method
CN111176613A (en) * 2019-12-25 2020-05-19 中国运载火箭技术研究院 Collaborative task automatic decomposition system based on architecture model

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
吴一雷;封磊;乔鸿欣;王云天;: "面向Abaqus二次开发的应用管理和服务平台", 计算机辅助工程, vol. 24, no. 2, pages 67 - 71 *
王宏伟;张和明: "面向广域网环境的协同仿真平台的设计与实现", 计算机集成制造系统, vol. 15, no. 1, pages 12 - 20 *
王庆艳;: "基于ANSYS的协同仿真平台建设方案", 中国制造业信息化, pages 50 - 52 *
王鑫: "仿真数据与流程管理系统的研究及实现", 中国优秀硕士学位论文全文数据库信息科技辑, pages 138 - 462 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518012A (en) * 2021-09-10 2021-10-19 之江实验室 Distributed cooperative flow simulation environment construction method and system
CN113518012B (en) * 2021-09-10 2021-12-10 之江实验室 Distributed cooperative flow simulation environment construction method and system

Also Published As

Publication number Publication date
CN112115694B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
Luiten et al. An information reference model for architecture, engineering, and construction
CN103135976B (en) code automatic generation method and device
Auer et al. A versioning and evolution framework for RDF knowledge bases
CN105447253B (en) A kind of integrated approach of three-dimensional process data
CN111241454A (en) Method, system and device for generating webpage code
CN110543303B (en) Visual service platform
CN115617327A (en) Low code page building system, method and computer readable storage medium
CN110955410B (en) Code automatic generation method, device, equipment and medium
Trojer et al. Living modeling of IT architectures: challenges and solutions
CN113655996B (en) Enterprise-level system generation method based on demand model
CN112115694B (en) Simulation report generation method and device based on multi-element data structure
CN113094039B (en) Automatic code generation system based on database table
CN110618810A (en) Metadata-driven diversified service mixed arrangement method
CN110989999A (en) Code generation method and device, electronic equipment and medium
Shchekin et al. XML-based network integration of information in CAD systems
CN114780539A (en) Method, system and storage medium for generating report form in multiple dimensions
Tolksdorf Coordinating work on the web with workspaces
CN111291444A (en) Modeling method, device and equipment for airplane assembly and storage medium
US20090100087A1 (en) Method and system for xform generation and processing application integration framework
CN112182705A (en) BIM technology-based simulation model data analysis method
CN112783484A (en) Guide template system, sharing method, terminal and medium of collaborative design originality
Krot et al. Processing of design and technological data due to requirements of computer aided process planning systems
CN111581815A (en) XML-based process model ontology construction method
Noronha et al. Extending a structured document model with version control
Sauer et al. A knowledge-based engineering workbench for automated tolerance specification

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
GR01 Patent grant
GR01 Patent grant