CN103885762B - A kind of file development device assembled based on file dictionary element and method - Google Patents
A kind of file development device assembled based on file dictionary element and method Download PDFInfo
- Publication number
- CN103885762B CN103885762B CN201210561415.7A CN201210561415A CN103885762B CN 103885762 B CN103885762 B CN 103885762B CN 201210561415 A CN201210561415 A CN 201210561415A CN 103885762 B CN103885762 B CN 103885762B
- Authority
- CN
- China
- Prior art keywords
- file
- dictionary
- parameter list
- format
- assembled
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/258—Data format conversion from or to a database
Abstract
The present invention relates to be based on the assembled file development tool device of file dictionary and based on the assembled file development method of file dictionary.Device of the invention is the device for carrying out data processing to file data, and it possesses:Foreground configuration module(100), for the file for being converted into existing in parameter list record form by file format requirements;Background function interface module(200), the file source data of input parse by the parameter list record for being generated according to the foreground configuration module changes and exports the file data with required file format.According to the present invention, by by file format requirements be converted into parameter list record form exist file and by source file data according to the parameter list record changed, abstract file development process can be converted into automation, standardized Parameter Configuration process, file development quality and development efficiency can be effectively improved.
Description
Technical field
The present invention relates to a kind of data processing method and device, more particularly to file development technology in based on file
The assembled file development device of dictionary element and the file development method based on the assembly of file dictionary.
Background technology
In the prior art, the method for generating text based on the data of application system at present is generally, in source code
In field is combined by permanent order in the way of form output stream, by the file operation interface of programming language, directly
Explicitly write content in file:Business tine, space, cut-off rule, quotation marks in file etc.;The form of file(Including
Indentation mode, alignment thereof etc.)Etc. being also that by hard coded mode, construction specific file record character string is realized.
In computer program or text editing, this that replace variant variables with a field for fixed implication is used
It is extremely difficult if needing to change this variable later after the compiling of the method for kind.In most of program language, can be solid by one
It is a mark to determine the field definition of implication, then replaces name variable with this special marking.When name changing is marked,
Variable name is constant, and so, when whole program is recompilated, all variables are all no longer fixed values, thus more easily real
The purpose for changing variable is showed.Although can also realize the replacement of whole name variable by the lookup replacement function of editing machine,
It is likely to the situations changed or change less occur more, and in computer program, the appearance of any minor error should all be kept away
Exempt from.
Therefore, the poor expandability of this coded system, the minor variations of file format are required for developing again;It is visual
Difference, cannot in time know whether developed file format correct in development process;Maintainable poor, the coded system of file format
Cause code readability extreme difference, extreme difficulties are brought to system follow-up maintenance.
The content of the invention
In view of the above problems, the present invention is intended to provide a kind of file development quality is high and development efficiency is high based on file
The assembled file development tool device of dictionary and the file development method based on the assembly of file dictionary.
The file development tool device assembled based on file dictionary of the invention, the device is for being carried out to file data
The device of data processing, it is characterised in that possess:
Foreground configuration module, for the file for being converted into existing in parameter list record form by file format requirements;And
Background function interface module, the file that the parameter list record for being generated according to the foreground configuration module will be input into
Data parse changes and exports the file data with required file format.
Preferably, the file dictionary element for independently existing, the file dictionary element are stored in the file dictionary
Be by all informations being likely to occur in file be one or more file field elements.
Preferably, patrolled by element index numbering, length of element, element type, element term, elements displacement, element conversion
Volume at least one of or multiple uniquely identify the file dictionary element.
Needed for preferably, the foreground configuration module is used to be chosen from file dictionary according to the file format requirements
File dictionary element is simultaneously sequentially assembled into the file existed in parameter list record form according to the rules.
Preferably, by file format index number, file format field number, file dictionary element index, file format
At least one or more of title, file format type uniquely identify the file format.
Preferably, the foreground configuration module also provides for file development configuration interface.
The file development method assembled based on file dictionary of the invention, the method is for carrying out data to file data
The method for the treatment of, it is characterised in that possess:
Foreground configuration step, the file that file format requirements are converted into existing in parameter list record form;And
Backstage switch process, the parameter list record generated according to the foreground configuration step carries out the file data of input
Parsing is changed and exports the file data with required file format.
Preferably, the file dictionary element for independently existing is stored in the file dictionary.
Preferably, patrolled by element index numbering, length of element, element type, element term, elements displacement, element conversion
Volume at least one of or multiple uniquely identify the file dictionary element.
Preferably, in the foreground configuration step, according to needed for the file format requirements are chosen from file dictionary
File dictionary element and be sequentially assembled into according to the rules with parameter list record form exist file.
Preferably, by file format index number, file format field number, file dictionary element index, file format
At least one or more of title, file format type uniquely identify the file format.
The file development tool device assembled based on file dictionary of the invention and assembled based on file dictionary
File development method, is obtained in that following effect:(1)The related file dictionary resources bank of a whole set of operation system can be safeguarded,
All Files form ensure that the uniformity of file format both from this resources bank;(2)The maintenance of file dictionary can with and
Can only be carried out by file development instrument, it is ensured that the authority and stability of file dictionary;(3)The exploitation of file turns completely
The exploitation of file format is turned to, the exploitation of file format reference record is then converted into, foreground configuration module is eventually converted into
The apolegamy of dictionary element, therefore, it is possible to abstract file development process is converted into automation, standardized Parameter Configuration process,
Greatly improve development efficiency and development quality.
Brief description of the drawings
Fig. 1 is the pattern diagram for representing the file development tool device assembled based on file dictionary of the invention.
Fig. 2 represents the foreground design interface schematic diagram of the file dictionary provided by foreground configuration module 100.
Fig. 3 represents the foreground design interface schematic diagram of the file format provided by foreground configuration module 100.
Fig. 4 is the flow chart for representing the file development method assembled based on file dictionary of the invention.
Fig. 5 is the construction of the file development tool device assembled based on file dictionary for representing an embodiment of the present invention
Figure.
Specific embodiment
What is be described below is some in multiple embodiments of the invention, it is desirable to provide to basic understanding of the invention, and
It is not intended to confirm of the invention crucial or conclusive key element or limits scope of the claimed.
Fig. 1 is the pattern diagram for representing the file development tool device assembled based on file dictionary of the invention.Such as Fig. 1
Shown, the file development tool device 300 assembled based on file dictionary of the invention possesses:Foreground configuration module 100 and backstage
Modular converter 200.
Foreground configuration module 100 is used to be converted into file format requirements with the file of parameter list record form presence.Tool
Body ground, foreground configuration module 100 is used to provide intuitively file development configuration interface for file development engineer, and engineer can be with
According to file format requirements, required file content key element, root are chosen from file dictionary 400 by foreground configuration module 100
Be assembled into required file according to set order, and exist in the form of parameter list record, i.e., one file one group of parameter list number of correspondence
According to.
Wherein, " choose needed for file content key element " refer to engineer when file development is carried out according to filespec,
Need to choose the field element for needing by order of the field in specification.For example, the file transmitted between financial industry needs to follow one
Fixed industry standard, that is, the call format that each file is had an agreement, such as first first of record in this document
Field is " sender's Institution Code ", second field is " recipient's Institution Code " etc., and these fields are exactly that file content will
Element;And element index numbering, length of element, element type, element term, elements displacement, element conversion logic are this files
The attribute of key element, i.e. " sender's Institution Code " field, it just has these attributes, such as element index numbering is 2, length of element
For 11, element type be character string, element term be sender's Institution Code, elements displacement be 560, element conversion logic be silent
Recognize.Such as, a chronological file, it is desirable to have the field such as " sender's Institution Code ", " recipient's Institution Code ", " dealing money "
A record is constituted in order, then engineer needs to select successively these three field elements according to set order i.e. filespec
The order of regulation is assembled into a file.
Backstage modular converter 200 is used for the source file that parameter list record will be input into generated according to the foreground configuration module
Data parse changes and exports the file data with required file format.Specifically, backstage modular converter 200 is used
Translation function is parsed in unified file parameters table data are provided to application system development engineer, when calling backstage modular converter
Can realize carrying out the parameter list record that the data in business application system are generated according to foreground configuration module 100 after 200
Particular conversion, and export the file content with required form of final state.
Fig. 2 represents the foreground design interface schematic diagram of the file dictionary provided by foreground configuration module 100.File dictionary is
Collective concept, each individuality in file dictionary is individually present.The individual attribute of dictionary includes:Element index numbering, element are long
Degree, element type, element term, elements displacement, element conversion logic etc..A word can be uniquely indicated by these data
Allusion quotation element, that is, the method for obtaining field element value from business system data record is depicted.
Fig. 3 represents the foreground design interface schematic diagram of the file format provided by foreground configuration module 100.File format is
Collective concept, file format is assembled in certain sequence by multiple file dictionary elements.File format properties include:Tray
Formula index number, file format field number, file dictionary element index, file format title, file format type etc.;Pass through
These attributes can uniquely indicate a kind of file format, that is, the generation method that a class file format is depicted.
As described above, the file development tool device assembled based on file dictionary of the invention can be from specific transactions system
Data in, file, and the file development tool device assembled based on file dictionary of the invention are generated according to established rule
Can be file dictionary by all informations being likely to occur in file, using All Files form as in by file dictionary
The assembled individuality of certain content.When in use, the side for passing through interface configurations using the foreground configuration module 100 in the present apparatus
Required file format is converted into the file that parameter list records form by formula, and source data file then is input into backstage modulus of conversion
Block 200, using the backstage modular converter 200, the parameter list that can be generated according to foreground configuration module 100 records the file of form
Source data file is converted into the file data of required file format.
Therefore, text can be realized using the file development tool device assembled based on file dictionary of the invention
Standardization, visualization, parametrization and facilitation that part is developed, greatly improve development efficiency and the exploitation degree of accuracy, are greatly improved
The automaticity of system data file exploitation.
It is briefly described below for the file development method assembled based on file dictionary of the invention.
Fig. 4 is the flow chart for representing the file development method assembled based on file dictionary of the invention.As shown in figure 4, this
The file development method assembled based on file dictionary of invention possesses following step:
Foreground configuration step S101:The file that file format requirements are converted into existing in parameter list record form, specifically
Ground, chooses required file dictionary element from file dictionary according to file format requirements and is sequentially assembled into join according to the rules
The file that number token record form is present.Here, the file dictionary element for independently existing, file word are stored in file dictionary
Allusion quotation element be by all informations being likely to occur in file be one or more file field elements.So, all of text
Part form just can with file dictionary element, order assembly is got up according to the rules, and the file format that will be assembled into parameter mark
Record form is present.
Backstage switch process S102:The file data that the parameter list record generated according to the foreground configuration step will be input into
Parse and change and export the file data with required file format.
Wherein, the file dictionary element for independently existing is stored in the file dictionary.Also, compiled by element index
Number, at least one of length of element, element type, element term, elements displacement, element conversion logic or multiple unique terrestrial references
Know the file dictionary element.Also, by file format index number, file format field number, file dictionary element index,
At least one or more of file format title, file format type uniquely identify the file format.
In the present invention, file dictionary and file format exist in the form of tables of data record, and, All Files lattice
Formula is all by file field one by one(That is file dictionary element)Assembled, so, by safeguarding a whole set of file word
The set of section, it becomes possible to be assembled into the file of arbitrary format.Further, since the file of all formats is all by file dictionary
Field(That is file dictionary element)Composition, thereby it is ensured that uniqueness.
The file development tool device assembled based on file dictionary below for an embodiment of the present invention is illustrated.
Fig. 5 is the construction of the file development tool device assembled based on file dictionary for representing an embodiment of the present invention
Figure.
As shown in figure 5, first, software developer according to file format requirements, by foreground configuration module 100 from file
Required file content key element is chosen in dictionary 300, required file is assembled into according to set order and shape is recorded with parameter list
Formula is in file field resources bank 501 and file format parameter library 502.Wherein, file field resources bank 501 is configured by foreground
Complete or collected works' set of the file field that module 100 is safeguarded, that is, file field, it exists in the form of database table.Tray
Formula parameter library 502 is the parameter for describing each file format safeguarded by foreground configuration module 100, and it is with database table
Form exist.
Secondly, document developer needs to obtain file source data record, in Fig. 5 700 from application system development 600
Represent operation system title.The file source data input under operation system title 700 i.e. in application system development 600 is to backstage
There is file in modular converter 200, the parameter list record form generated according to foreground configuration module 100 by backstage modular converter 200
The record of parameter list present in field resources bank 501 and file format parameter library 502, particular conversion is carried out to file source data,
And export the file content with required form of final state.
The file development tool device assembled based on file dictionary of the invention and assembled based on file dictionary
File development method, is obtained in that following effect:
(1)The related file dictionary resources bank of a whole set of operation system can be safeguarded, All Files form is both from this
Resources bank, ensure that the uniformity of file format;
(2)The maintenance of file dictionary can with and can only be carried out by file development instrument, it is ensured that the power of file dictionary
Prestige and stability;
(3)The exploitation of file is fully converted to the exploitation of file format, is then converted into opening for file format reference record
Hair, is eventually converted into the apolegamy of the dictionary element of foreground configuration module, therefore, it is possible to abstract file development process is converted into
Automation, standardized Parameter Configuration process, greatly improve development efficiency and development quality.
Example above primarily illustrates the file development tool device assembled based on file dictionary of the invention and is based on
The assembled file development method of file dictionary.Although being only described to some of them specific embodiment of the invention,
Those of ordinary skill in the art it is to be appreciated that the present invention can without departing from its spirit with scope in many other forms
Implement.Therefore, the example for being shown is considered as illustrative and not restrictive with implementation method, is not departing from such as appended each power
In the case that profit requires defined spirit and scope of the present invention, the present invention may cover various modifications and replace.
Claims (7)
1. a kind of file development device assembled based on file dictionary element, the device is for being carried out at data to file data
The device of reason, it is characterised in that possess:
Foreground configuration module, for the file for being converted into existing in parameter list record form by file format requirements;
Backstage modular converter, the parameter list record for being generated according to the foreground configuration module enters the file source data of input
Row parsing is changed and exports the file data with required file format,
The file dictionary element for independently existing is stored in the file dictionary, the file dictionary element is by institute in file
The information for being possible to occur is one or more file field elements,
The file dictionary unit that the foreground configuration module is used for according to needed for the file format requirements are chosen from file dictionary
Element is simultaneously sequentially assembled into the file existed in parameter list record form according to the rules, and file one group of parameter list number of correspondence
According to.
It is 2. as claimed in claim 1 to be based on the assembled file development device of file dictionary element, it is characterised in that
By at least in element index numbering, length of element, element type, element term, elements displacement, element conversion logic
Individual or multiple uniquely identifies the file dictionary element.
It is 3. as claimed in claim 1 to be based on the assembled file development device of file dictionary element, it is characterised in that
By file format index number, file format field number, file dictionary element index, file format title, tray
At least one of formula type or multiple uniquely identify the file format.
4. the file development device assembled based on file dictionary element as described in claims 1 to 3 any one, its feature exists
In,
The foreground configuration module also provides for file development configuration interface.
5. a kind of file development method assembled based on file dictionary element, the method is for being carried out at data to file data
The method of reason, it is characterised in that including:
Foreground configuration step, the file that file format requirements are converted into existing in parameter list record form;
Backstage switch process, the parameter list record generated according to the foreground configuration step is solved the file source data of input
Analysis is changed and exports the file data with required file format,
The file dictionary element for independently existing is stored in the file dictionary, the file dictionary element is by institute in file
The information for being possible to occur is one or more file field elements,
In the foreground configuration step, the file dictionary unit according to needed for the file format requirements are chosen from file dictionary
Element is simultaneously sequentially assembled into the file existed in parameter list record form according to the rules, and file one group of parameter list number of correspondence
According to.
It is 6. as claimed in claim 5 to be based on the assembled file development method of file dictionary element, it is characterised in that
By at least in element index numbering, length of element, element type, element term, elements displacement, element conversion logic
Individual or multiple uniquely identifies the file dictionary element.
It is 7. as claimed in claim 5 to be based on the assembled file development method of file dictionary element, it is characterised in that
By file format index number, file format field number, file dictionary element index, file format title, tray
At least one of formula type or multiple uniquely identify the file format.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210561415.7A CN103885762B (en) | 2012-12-21 | 2012-12-21 | A kind of file development device assembled based on file dictionary element and method |
PCT/CN2013/088199 WO2014094534A1 (en) | 2012-12-21 | 2013-11-29 | File development tool device and method based on file dictionary assembly |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210561415.7A CN103885762B (en) | 2012-12-21 | 2012-12-21 | A kind of file development device assembled based on file dictionary element and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103885762A CN103885762A (en) | 2014-06-25 |
CN103885762B true CN103885762B (en) | 2017-05-31 |
Family
ID=50954675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210561415.7A Active CN103885762B (en) | 2012-12-21 | 2012-12-21 | A kind of file development device assembled based on file dictionary element and method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103885762B (en) |
WO (1) | WO2014094534A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764740B (en) * | 2021-01-26 | 2022-06-10 | 北京融和友信科技股份有限公司 | Shell-based processing method applied to file interaction between systems |
CN116594604B (en) * | 2023-07-19 | 2024-02-09 | 云宏信息科技股份有限公司 | Component configuration method based on data linkage, data display method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1920837A (en) * | 2006-09-14 | 2007-02-28 | 东北大学 | Complex equipment faced multi-subject design software integrated parameter mapping method |
CN101751413A (en) * | 2008-12-18 | 2010-06-23 | 中国银联股份有限公司 | Trading chronological file of field marking method and information recording method thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1504879A (en) * | 2002-12-02 | 2004-06-16 | 深圳市中兴通讯股份有限公司 | Method and system for realizing cross-platform and complex statistics calculation statement |
CN100527122C (en) * | 2007-10-24 | 2009-08-12 | 北大方正集团有限公司 | Combination method and apparatus capable of transplant document format file |
CN101799801A (en) * | 2010-01-26 | 2010-08-11 | 中兴通讯股份有限公司 | Realization method and device of self-definition statistical report form based on flow protocol |
-
2012
- 2012-12-21 CN CN201210561415.7A patent/CN103885762B/en active Active
-
2013
- 2013-11-29 WO PCT/CN2013/088199 patent/WO2014094534A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1920837A (en) * | 2006-09-14 | 2007-02-28 | 东北大学 | Complex equipment faced multi-subject design software integrated parameter mapping method |
CN101751413A (en) * | 2008-12-18 | 2010-06-23 | 中国银联股份有限公司 | Trading chronological file of field marking method and information recording method thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2014094534A1 (en) | 2014-06-26 |
CN103885762A (en) | 2014-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11210456B2 (en) | Method relating to preparation of a report | |
Uslar et al. | The Common Information Model CIM: IEC 61968/61970 and 62325-A practical introduction to the CIM | |
CN105335412B (en) | For data conversion, the method and apparatus of Data Migration | |
Antkiewicz et al. | FeaturePlugin: Feature modeling plug-in for Eclipse | |
Cánovas Izquierdo et al. | Discovering implicit schemas in JSON data | |
CN107590115A (en) | A kind of Word report automatic generation methods and device | |
Matthes et al. | Hybrid Wikis: Empowering Users to Collaboratively Structure Information. | |
CN109657215A (en) | Document structure tree method, equipment, storage medium and device based on template | |
Dixit et al. | Interactive data-driven process model construction | |
US10599720B2 (en) | Tag mapping process and pluggable framework for generating algorithm ensemble | |
CN106951305B (en) | Method for generating midCore script from QVT-R language based on model conversion | |
Letsholo et al. | TRAM: A tool for transforming textual requirements into analysis models | |
US9652478B2 (en) | Method and apparatus for generating an electronic document schema from a relational model | |
CN104391731A (en) | Editing method based on C# and irrelevant to data types | |
CN103761095A (en) | Method for generating universal header data information of upgraded file | |
CN103885762B (en) | A kind of file development device assembled based on file dictionary element and method | |
Engel et al. | From encoded EDIFACT messages to business concepts using semantic annotations | |
CN109597603A (en) | A kind of requirement documents automatic generation method based on document component | |
CN108459846A (en) | Software cloud method for customizing and platform | |
Amar Bensaber et al. | Development of semantic web services: model driven approach | |
Accorsi et al. | Unleashing operational process mining (Dagstuhl seminar 13481) | |
Zhang et al. | A system modeling process based on SysML to support data consistency across system requirement, function, and solution model layers | |
WO2021089982A1 (en) | Secure automation methods and systems | |
Accorsi et al. | Unleashing operational process mining | |
Lee et al. | Interoperability for virtual manufacturing systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |