Unlock instant, AI-driven research and patent intelligence for your innovation.

Recognition of Standard Formulas for Engineering Structure Design and Automatic Generation of Calculation Programs

A calculation program and formula recognition technology, applied in calculation, software design, program code conversion, etc., can solve problems such as increased difficulty, multiple versions, and multiple content

Active Publication Date: 2022-01-28
TSINGHUA UNIV
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, there are many types of civil engineering codes, many versions, and many contents, which greatly increase the difficulty for the personnel of design institutes and research institutes to use the codes. There is an urgent need for a method to unify civil engineering codes through programming languages ​​such as python and c++.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Recognition of Standard Formulas for Engineering Structure Design and Automatic Generation of Calculation Programs
  • Recognition of Standard Formulas for Engineering Structure Design and Automatic Generation of Calculation Programs
  • Recognition of Standard Formulas for Engineering Structure Design and Automatic Generation of Calculation Programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] like figure 2 As shown, the first portion of the code generation method provided in this embodiment includes the following steps:

[0047] For a specification of Word format, first use the P program to format it;

[0048] Then use open source software DOC2TEX to convert the specification of the Word format into plain text format;

[0049]Further, use the program to process the specification of the obtained plain text format, delete some extra renewal of keywords and symbols;

[0050] Finally, use the program to scan the full text, mainly looking for the "$" keyword, and list the formula one one by one.

Embodiment 2

[0052] like image 3 As shown, the second portion of the code generation method provided in this embodiment includes the following steps:

[0053] For all formulas in the already obtained specification, use the program to scan, mainly looking for "\" keywords, and various special symbols outside the bracket, the upper mark, the subscript number, listing the variable names used in the formula one by one;

[0054] Then, the formula is connected to the variable name in the database; for each new variable name, set the formula to the variable name in the database in the database. ;

[0055] Finally, use the program to scan the full text, mainly looking for the variable name of the library in text, and contact the text near the variable name in the database; for the length of the length, may be other variable names or The variable name of the substring of the text needs to be identified by the characters before and after it.

Embodiment 3

[0057] like Figure 4 As shown, the third portion of the code generation method provided in this embodiment includes the following steps:

[0058] All formulas in the specification have been obtained, and the program is rewritten, and the format of the programming language used to comply with the proposed computing program is rewritten;

[0059] Through logical relationships, such as the left side of the formula is often an output variable, the right side of the formula is often an input variable, and the logical relationships of all formulas;

[0060] According to the logical relationship, the input variable, output variable, intermediate variables are organized;

[0061] Generate source code for computing programs using a certain programming language based on the logical relationships of known variables and formulas;

[0062] Compile the source code generated by the above steps to generate a calculation program.

[0063] In summary, the engineering structure design standard formu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an engineering structure design standard formula identification and calculation program automatic generation method. The method comprises the following steps: taking a civil engineering specification in a multimedia format as an input, and converting the civil engineering specification in the multimedia format into a plain text format Civil engineering specifications; use the keyword recognition method to scan the civil engineering specifications in plain text format to obtain all calculation formulas; logically organize according to all calculation formulas, and generate and output calculation programs that meet the specifications. The method converts civil engineering specifications with many types, versions and contents into specifications in a unified format, and generates calculation programs based on the specifications, thereby helping design institutes and research institutes to understand and apply the specifications and improve work efficiency.

Description

Technical field [0001] The present invention relates to the field of computer and civil engineering technology, and in particular, to an engineering structure design standard formula identification and calculation procedure automatic generation method. Background technique [0002] The current type of civil engineering is more, the version is more, the content is large, greatly increased the design institute, and the research institute is difficult to use the specification. Inventive content [0003] The present invention aims to solve one of the technical problems in the relevant techniques at least to some extent. [0004] To this end, an object of the present invention is to propose an engineering structure design standard formula identification and calculation procedure automatic generation method, which helps design institute, institute staff understanding and application specifications. [0005] Another object of the present invention is to propose an engineering structure...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/20G06F8/41G06F40/279G06F16/31G06F30/13
CPCG06F8/20G06F8/30G06F8/41G06F40/279G06F16/313G06F30/13
Inventor 王法承韩林海郁银泉沈家丞
Owner TSINGHUA UNIV