CN102779038A - Method and device for assembly integration - Google Patents

Method and device for assembly integration Download PDF

Info

Publication number
CN102779038A
CN102779038A CN2012101990974A CN201210199097A CN102779038A CN 102779038 A CN102779038 A CN 102779038A CN 2012101990974 A CN2012101990974 A CN 2012101990974A CN 201210199097 A CN201210199097 A CN 201210199097A CN 102779038 A CN102779038 A CN 102779038A
Authority
CN
China
Prior art keywords
file
input
output
calculation procedure
configuration information
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
CN2012101990974A
Other languages
Chinese (zh)
Other versions
CN102779038B (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.)
BEIJING RAINFE TECHNOLOGY CO LTD
Original Assignee
BEIJING RAINFE TECHNOLOGY 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 BEIJING RAINFE TECHNOLOGY CO LTD filed Critical BEIJING RAINFE TECHNOLOGY CO LTD
Priority to CN201210199097.4A priority Critical patent/CN102779038B/en
Publication of CN102779038A publication Critical patent/CN102779038A/en
Application granted granted Critical
Publication of CN102779038B publication Critical patent/CN102779038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for assembly integration. The method comprises collocating a calculator program needed invoking in advance, collocating input parameters in an input file and input parameters in an output file, saving configuration information of the calculator program, configuration information of the input file and configuration information of the output file into a configuration file, reading input parameters in the configuration file and displaying, collocating the displayed input parameters again, writing the reconfiguration input parameters in the input file, invoking the calculator program to calculate the input file written with the reconfiguration input parameters, writing output results in the output file through the calculator program, reading the output file of the calculator program and displaying. Therefore, automation level and efficiency of engineering calculation and design are improved, calculation operation of a user is simplified, and work load of the user is reduced.

Description

Method that a kind of assembly is integrated and device
Technical field
The present invention relates to field of computer technology, relate in particular to integrated method of a kind of assembly and device.
Background technology
At engineering calculation and design field, in order to accomplish a series of calculating and design objective, the user need use various software to carry out collaborative work usually.One type of software with common trait is wherein arranged, be called " calculation procedure ", be used for data are calculated.
This calculation procedure is the executable program in the Windows operating system; The input of program comes from file, and program reads one or more input file, extracts the parameter in the input file; Parameter value is carried out computing, and the result that will obtain then writes in one or more output file.Parsing through to output file obtains result of calculation.When the calculation procedure that has moves, also can eject the interface, the user further revises input parameter on the interface.
Because calculation procedure possibly have many kinds, the user needs to be grasped the method for application of various calculation procedures, in addition; When every kind of calculation procedure uses; All need prepare corresponding input file, during each run, requirement is made amendment to input file and (is ined all sorts of ways; Possibly be direct modification, also possibly be to use other software modifications).These operations possibly need one time one time carrying out, and uninteresting and loaded down with trivial details, workload is big.
Summary of the invention
The object of the present invention is to provide integrated method of a kind of assembly and device,, simplify user's calculating operation, reduce user's workload to improve the automatization level and the efficient of engineering calculation and design.
For achieving the above object, one aspect of the present invention provides a kind of assembly integrated method, it is characterized in that, may further comprise the steps:
The calculation procedure that pre-configured needs call; And input parameter in the input file and the output parameter in the output file, and the configuration information of the configuration information of said calculation procedure, said input file and the configuration information of said output file saved as configuration file;
Read input parameter and demonstration in the said configuration file;
Input parameter to showing reconfigures, and the input parameter that reconfigures is write said input file;
Call said calculation procedure the input file that writes the input parameter that reconfigures is calculated, will export the result by said calculation procedure and write in the said output file;
Read the output file and the demonstration of said calculation procedure.
The method that assembly of the present invention is integrated; The configuration information of said input parameter comprises input parameter value and positional information thereof; The configuration information of said output parameter comprises output parameter value and positional information thereof, and the configuration information of said calculation procedure comprises the title of said calculation procedure.
The method that assembly of the present invention is integrated, said input file and said output file are text formatting.
The method that assembly of the present invention is integrated saidly writes said input file with the input parameter that reconfigures, and is specially:
Locate said input parameter value according to the positional information of input parameter value, and it is write said input file.
The method that assembly of the present invention is integrated, said calculation procedure will be exported the result and write in the said output file, be specially:
Said calculation procedure writes said output parameter value according to positional information corresponding position in output file of pre-configured output parameter value.
On the other hand, the present invention also provides a kind of assembly integrated device, comprising:
Definition module; Be used for the calculation procedure that pre-configured needs call; And input parameter in the input file and the output parameter in the output file, and the configuration information of the configuration information of said calculation procedure, said input file and the configuration information of said output file saved as configuration file;
Read module is used for reading the input parameter of said configuration file and showing;
Configuration module reconfigures the input parameter that shows, and the input parameter that reconfigures is write said input file;
Calling module calls said calculation procedure the input file that writes the input parameter that reconfigures is calculated, and will export the result by said calculation procedure and write in the said output file;
Output module, the output file and the demonstration of reading said calculation procedure.
The device that assembly of the present invention is integrated; The configuration information of said input parameter comprises input parameter value and positional information thereof; The configuration information of said output parameter comprises output parameter value and positional information thereof, and the configuration information of said calculation procedure comprises the title of said calculation procedure.
The device that assembly of the present invention is integrated, said input file and said output file are text formatting.
Assembly integrated approach of the present invention; The calculation procedure that calls through pre-configured needs, and input parameter in the input file and the output parameter in the output file, and the configuration information of calculation procedure, the configuration information of input file and the configuration information of output file saved as configuration file; Read input parameter and demonstration in the configuration file; Input parameter to showing reconfigures, and the input parameter that reconfigures is write input file, calls calculation procedure the input file that writes the input parameter that reconfigures is calculated; To export the result by calculation procedure and write in the output file, read the output file and the demonstration of said calculation procedure.Thereby realize calling to multiple diverse executable calculation procedure; And the parameter of completion calculation procedure writes the extraction with the result in invoked procedure, as far as the user, has shielded the different set and the complicacy of using of various calculation procedures; Simplified user's calculating operation; Thereby improved the automatization level and the efficient of engineering calculation and design, simplified user's calculating operation, reduced user's workload.
Description of drawings
Fig. 1 is the process flow diagram of the integrated method of assembly of the present invention;
Fig. 2 is the structural representation of the integrated device of assembly of the present invention.
Embodiment
Be described in detail below in conjunction with the accompanying drawing specific embodiments of the invention:
With reference to shown in Figure 1, the integrated method of assembly of the present invention may further comprise the steps:
Step S101, the calculation procedure that pre-configured needs call, and the input parameter in the input file, and the configuration information of said calculation procedure and the configuration information of said input file saved as configuration file.Wherein, the configuration information of input parameter comprises input parameter value and positional information thereof, and the configuration information of calculation procedure comprises the title of calculation procedure, and for example xxx.exe possibly also will define the command line parameter that needs when xxx.exe moves sometimes as required.And input file is generally file template, the input file that promptly once used input file, this input file need when being exactly the xxx.exe operation.Configuration file can be repeated to use, and when using at every turn, revises some or all of configuration information and gets final product.
Step S102 reads the input parameter in the configuration file and shows that promptly program interface can be listed the input parameter in all input files.
Step S103 reconfigures the input parameter that shows, locatees the input parameter value according to the positional information of input parameter value, and it is write input file.
Step S104 calls calculation procedure and the input file that writes the input parameter that reconfigures is calculated and will export the result by calculation procedure and write in the output file.Usually the form of input file and output file is the text formatting of fixing.When each run, only be that the concrete data value of the inside is different, and each position with value of physical significance is changeless.
Step S105 reads the output file of calculation procedure and is presented on the program interface and supplies the user to check and analyze.
With reference to shown in Figure 2; The device that assembly of the present invention is integrated comprises: definition module 21 is used for the calculation procedure that pre-configured needs call; And the input parameter in the input file, and the configuration information of calculation procedure and the configuration information of input file saved as configuration file.Read module 22 is used for reading the input parameter of configuration file and showing.Configuration module 23 reconfigures the input parameter that shows, and the input parameter that reconfigures is write input file.Calling module 24 calls calculation procedure the input file that writes the input parameter that reconfigures is calculated.Output module 25, the output file and the demonstration of reading calculation procedure.Wherein, the configuration information of input parameter comprises input parameter value and positional information thereof, and the configuration information of calculation procedure comprises the title of calculation procedure, and input file and output file are text formatting.
Above embodiment describes preferred implementation of the present invention; Be not that scope of the present invention is limited; Design under the prerequisite of spirit not breaking away from the present invention; Various distortion and improvement that the common engineering technical personnel in this area make technical scheme of the present invention all should fall in the definite protection domain of claims of the present invention.

Claims (8)

1. the method that assembly is integrated is characterized in that, may further comprise the steps:
The calculation procedure that pre-configured needs call; And input parameter in the input file and the output parameter in the output file, and the configuration information of the configuration information of said calculation procedure, said input file and the configuration information of said output file saved as configuration file;
Read input parameter and demonstration in the said configuration file;
Input parameter to showing reconfigures, and the input parameter that reconfigures is write said input file;
Call said calculation procedure the input file that writes the input parameter that reconfigures is calculated, will export the result by said calculation procedure and write in the said output file;
Read the output file and the demonstration of said calculation procedure.
2. the integrated method of assembly according to claim 1; It is characterized in that; The configuration information of said input parameter comprises input parameter value and positional information thereof; The configuration information of said output parameter comprises output parameter value and positional information thereof, and the configuration information of said calculation procedure comprises the title of said calculation procedure.
3. the integrated method of assembly according to claim 2 is characterized in that said input file and said output file are text formatting.
4. the integrated method of assembly according to claim 3 is characterized in that, said the input parameter that reconfigures is write said input file, is specially:
Locate said input parameter value according to the positional information of input parameter value, and it is write said input file.
5. the integrated method of assembly according to claim 4 is characterized in that said calculation procedure will be exported the result and write in the said output file, be specially:
Said calculation procedure writes said output parameter value according to positional information corresponding position in output file of pre-configured output parameter value.
6. the device that assembly is integrated is characterized in that, comprising:
Definition module; Be used for the calculation procedure that pre-configured needs call; And input parameter in the input file and the output parameter in the output file, and the configuration information of the configuration information of said calculation procedure, said input file and the configuration information of said output file saved as configuration file;
Read module is used for reading the input parameter of said configuration file and showing;
Configuration module reconfigures the input parameter that shows, and the input parameter that reconfigures is write said input file;
Calling module calls said calculation procedure the input file that writes the input parameter that reconfigures is calculated, and will export the result by said calculation procedure and write in the said output file;
Output module, the output file and the demonstration of reading said calculation procedure.
7. the integrated device of assembly according to claim 6; It is characterized in that; The configuration information of said input parameter comprises input parameter value and positional information thereof; The configuration information of said output parameter comprises output parameter value and positional information thereof, and the configuration information of said calculation procedure comprises the title of said calculation procedure.
8. the integrated device of assembly according to claim 7 is characterized in that said input file and said output file are text formatting.
CN201210199097.4A 2012-06-14 2012-06-14 Method and device for assembly integration Active CN102779038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210199097.4A CN102779038B (en) 2012-06-14 2012-06-14 Method and device for assembly integration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210199097.4A CN102779038B (en) 2012-06-14 2012-06-14 Method and device for assembly integration

Publications (2)

Publication Number Publication Date
CN102779038A true CN102779038A (en) 2012-11-14
CN102779038B CN102779038B (en) 2015-01-21

Family

ID=47123959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210199097.4A Active CN102779038B (en) 2012-06-14 2012-06-14 Method and device for assembly integration

Country Status (1)

Country Link
CN (1) CN102779038B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110428341A (en) * 2019-08-06 2019-11-08 哈尔滨工业大学软件工程股份有限公司 Medical insurance settlement method, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453356B1 (en) * 1998-04-15 2002-09-17 Adc Telecommunications, Inc. Data exchange system and method
CN1645326A (en) * 2005-02-05 2005-07-27 西安大唐电信有限公司 Method and system for updating software function
CN101263459A (en) * 2004-10-01 2008-09-10 迪堡公司 A graphical XML programming system and engine
CN101840216A (en) * 2009-03-17 2010-09-22 鸿富锦精密工业(深圳)有限公司 Programmable logical controller parameter setting system and method thereof
CN101960423A (en) * 2008-03-21 2011-01-26 日本三菱东京日联银行股份有限公司 Application development support device, program and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453356B1 (en) * 1998-04-15 2002-09-17 Adc Telecommunications, Inc. Data exchange system and method
CN101263459A (en) * 2004-10-01 2008-09-10 迪堡公司 A graphical XML programming system and engine
CN1645326A (en) * 2005-02-05 2005-07-27 西安大唐电信有限公司 Method and system for updating software function
CN101960423A (en) * 2008-03-21 2011-01-26 日本三菱东京日联银行股份有限公司 Application development support device, program and recording medium
CN101840216A (en) * 2009-03-17 2010-09-22 鸿富锦精密工业(深圳)有限公司 Programmable logical controller parameter setting system and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110428341A (en) * 2019-08-06 2019-11-08 哈尔滨工业大学软件工程股份有限公司 Medical insurance settlement method, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN102779038B (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN105094832A (en) WYSIWYG method and system for dynamically generating user interface
JP5047401B1 (en) Project data creation device and programmable display
CN103593370B (en) The method and browser of expanded application are realized in a browser
CN102236734A (en) Method for automatically forming patterns in design of power system of thermal power plant
CN106951254B (en) Method and device for multiplexing similar service function modules in payment system
CN102156640A (en) Method for generating data operation code
CN101604286B (en) Method for generating keyword-driving table
EP2733613A2 (en) Controller and program
CN103870540A (en) Database based on structural design and analysis integration
CN104133763A (en) Program debugging system and program debugging method
CN105528334A (en) Method for processing document operation and terminal
CN102779038B (en) Method and device for assembly integration
CN107301057A (en) A kind of big data batch processing method and device
CN103677852A (en) Design method of extensible class natural language formula editor
CN104899013A (en) Calling method and calling device of customized service assembly
CN104536897A (en) Automatic testing method and system based on keyword
CN104965742B (en) A kind of automatized script and device handling front-end task
CN104317501B (en) Touch the operational order input method and system under writing state
US8495033B2 (en) Data processing
CN102779036A (en) Software tool for automation technology
CN113138760A (en) Page generation method and device, electronic equipment and medium
CN102799675A (en) Status data storage method for quick forging press
CN102541903A (en) Comma separated value (CSV) to microsoft excel (XLS) format conversion mode
CN105138666A (en) Data processing method and terminal
CN101702120A (en) Mobile equipment and human input processing method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant