CN104281604B - Method and system for generating Target Link data dictionary hierarchical tree - Google Patents
Method and system for generating Target Link data dictionary hierarchical tree Download PDFInfo
- Publication number
- CN104281604B CN104281604B CN201310282857.2A CN201310282857A CN104281604B CN 104281604 B CN104281604 B CN 104281604B CN 201310282857 A CN201310282857 A CN 201310282857A CN 104281604 B CN104281604 B CN 104281604B
- Authority
- CN
- China
- Prior art keywords
- targetlink
- data dictionary
- file
- variable
- hierarchical tree
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method for generating a Target Link data dictionary hierarchical tree by utilization of Excel. The method comprises the steps of extracting variable information, defined according to the types of variable sets of the Target Link data dictionary hierarchical tree, in an Excel file, generating an XML file of the Target Link data dictionary hierarchical tree through the extracted variable information according to the requirement of the XML format supported by a Target Link data dictionary, leading the XML file into the Target Link data dictionary, and generating and saving a final Target Link data dictionary hierarchical tree file. The invention further provides a system for generating the Target Link data dictionary hierarchical tree by utilization of Excel. The variable information is managed through the Excel file, so that the working efficiency is improved; variables in the variable sets of the Target Link data dictionary hierarchical tree can be created and modified indirectly through an Excel form under the situation of no License file.
Description
Technical field
The present invention relates to the technical field of ECU applied software development is carried out based on TargetLink, more particularly to one
Plant the method and system for generating Targetlink data dictionary hierarchical trees.
Background technology
TargetLink is one and directly generates product generation from MATLAB/Simulink/Stateflow graphical development environments
Code(Such as, C code)Software system, it has wide range of applications, and now many famous automobile factory commercial cities adopt TargetLink
It is controlled device software development.TargetLink data dictionaries are the central data containers of this system, can concentrate preservation mould
The relevant informations such as type design, code building.
When device software development is controlled using TargetLink, general way is directly in TargetLink data
The set of variables of hierarchical tree is created in dictionary manager(Variable Group)And its variable of the inside(Variable), Ran Houbao
It is saved as single TargetLink data dictionaries hierarchical tree file.And opening TargetLink data dictionary managements device needs
License, in a team, due to Cost Problems, the quantity of License may be very limited, if directly existed
TargetLink data dictionary managements device carries out the establishment of variable and modification can be because carrying out without License;Even if having
Enough License, when the variable in each set of variables is contrasted or changed, due to needing in TargetLink data
Open respectively in dictionary manager, it is also more time-consuming.
The content of the invention
The features and advantages of the present invention partly state in the following description, or can from the description it is clear that or
Person can be learnt by the practice present invention.
To overcome problem of the prior art, the present invention to provide a kind of using Excel generation TargetLink data dictionaries point
The method and its system of layer tree, the variable management of TargetLink data dictionary hierarchical trees is carried out by Excel, can be effectively
Improve work efficiency;Meanwhile, just can indirectly be created by Excel forms in the case of may be implemented in without License files
With the variable in the set of variables of modification TargetLink data dictionary hierarchical trees.
The technical scheme that present invention solution above-mentioned technical problem is adopted is as follows:
According to an aspect of the present invention, there is provided a kind of utilization Excel generates TargetLink data dictionary hierarchical trees
Method, including:S1, the change for extracting the type definition of foundation TargetLink data dictionary hierarchical tree set of variables in Excel file
Amount information;S2, the XML format requirement for being supported the variable information for extracting according to TargetLink data dictionaries, generate
The XML file of TargetLink data dictionary hierarchical trees;S3, the XML file is imported in TargetLink data dictionaries, it is raw
Into and preserve final TargetLink data dictionary hierarchical tree files.
According to one embodiment of present invention, the type of the TargetLink data dictionary hierarchical tree set of variables is according to model
Content of the storehouse in TargetLink data dictionaries includes input quantity, output, scalar quantity and measurement point.
According to one embodiment of present invention, the variable information includes title, minima, maximum, the number of variable, change
At least one in amount description, the Stored Data Type and type definition of TargetLink.
According to one embodiment of present invention, in step S1, also including step:Search is used to carry in step S1
The Excel file of the variable information is taken, is included according to the different TargetLink data dictionary hierarchical trees in the Excel file
The different form of the type set of set of variables, includes according to the TargetLink data dictionary hierarchical tree set of variables in the form
Type definition variable information.
According to one embodiment of present invention, in step S2, also including step:The variable information for extracting is pressed should
The type of TargetLink data dictionary hierarchical tree set of variables is stored in respectively in corresponding data structure;Using MATLAB's
XML interface function, creates the XML file without concrete variable-definition that the TargetLink data dictionaries are supported;By the data knot
Content in structure body writes the XML file without concrete variable-definition, so as to generate the TargetLink data dictionary hierarchical trees
XML file.
According to one embodiment of present invention, before the XML file of the TargetLink data dictionary hierarchical trees is generated,
Default XML characters are automatically write to the XML file without concrete variable-definition written into the content in the data structure
Coding.
According to one embodiment of present invention, in step S3, further include:By the M language of MATLAB, use
TargetLink API, on backstage the TargetLink data dictionary master files that TargetLink designs a model are opened, and XML is led
Enter into generation TargetLink data dictionary hierarchical tree files.
According to another aspect of the present invention, there is provided one kind generates TargetLink data dictionary hierarchical trees using Excel
System, including:Information extraction modules, for extracting Excel file according to TargetLink data dictionary hierarchical tree variables
The variable information of the type definition of group;XML file generation module, for by the variable information for extracting according to TargetLink
The XML format requirement that data dictionary is supported, generates the XML file of TargetLink data dictionary hierarchical trees;TargetLink
Data dictionary hierarchical tree file generating module, for the XML file to be imported in TargetLink data dictionaries, generates and protects
Deposit final TargetLink data dictionary hierarchical tree files.
According to one embodiment of present invention, also including Excel file searching modul, for searching Excel file, should
Comprising the different table of the type set according to the different TargetLink data dictionary hierarchical tree set of variables in Excel file
Lattice, comprising the variable information of the type definition according to the TargetLink data dictionary hierarchical tree set of variables in the form.
According to one embodiment of present invention, the XML file generation module includes extracting sub-module, creates submodule and fill out
Enter submodule;The variable information that the extracting sub-module is used to extract presses the TargetLink data dictionary hierarchical tree set of variables
Type be stored in respectively in corresponding data structure, the establishment submodule is used to create the TargetLink data dictionaries
The XML file without concrete variable-definition held;This inserts submodule for the content in the data structure to be write into this without tool
The XML file of body variable-definition, so as to generate the XML file of the TargetLink data dictionary hierarchical trees.
The invention provides a kind of utilization Excel generates the method and its system of TargetLink data dictionary hierarchical trees,
TargetLink data dictionaries are made full use of to support XML(Extendible indicating language)This specified point of import format, leads to
Cross TargetLink API(TargetLink application programming interfaces), it is literary in Excel based on the M language development environment of MATLAB
The variable information of the type definition of the foundation TargetLink data dictionary hierarchical tree set of variables that part is extracted, being created that to import
The XML file of TargetLink data dictionaries, then again by TargetLink API importing XML to TargetLink data words
In allusion quotation, so as to realize automatically generating TargetLink data dictionary hierarchical tree subfiles.The present invention is carried out by Excel
The variable management of TargetLink data dictionary hierarchical trees, can effectively improve work efficiency;Meanwhile, may be implemented in nothing
Just the layering of TargetLink data dictionaries can be indirectly created and change in the case of License files by Excel forms
Variable in the set of variables of tree.
By reading description, those of ordinary skill in the art will be best understood the feature of these technical schemes and interior
Hold.
Description of the drawings
The present invention is specifically described below with reference to accompanying drawing and with reference to example, advantages of the present invention and implementation will
Become apparent from, content is only used for explanation of the present invention wherein shown in accompanying drawing, and does not constitute to the present invention in all senses
On restriction, in the accompanying drawings:
Fig. 1 shows for the method and step that the utilization Excel of the embodiment of the present invention generates TargetLink data dictionary hierarchical trees
It is intended to.
The step of Fig. 2 is the XML file of the generation TargetLink data dictionary hierarchical trees of embodiment of the present invention schematic diagram.
Fig. 3 generates the system knot of TargetLink data dictionary hierarchical trees for the utilization Excel of first embodiment of the invention
Structure schematic diagram.
Fig. 4 generates the system knot of TargetLink data dictionary hierarchical trees for the utilization Excel of second embodiment of the invention
Structure schematic diagram.
Specific embodiment
As shown in figure 1, the present invention provides a kind of method that utilization Excel generates TargetLink data dictionary hierarchical trees,
Including:S1, the variable letter for extracting the type definition of foundation TargetLink data dictionary hierarchical tree set of variables in Excel file
Breath;S2, the XML format requirement for being supported the variable information for extracting according to TargetLink data dictionaries, generate
The XML file of TargetLink data dictionary hierarchical trees;S3, the XML file is imported in TargetLink data dictionaries, it is raw
Into and preserve final TargetLink data dictionary hierarchical tree files.
The data capsule that TargetLink data dictionaries design a model as TargetLink, can be used to manage
Total data required on ECU is applied in the model that TargetLink is created under MATLAB/Simulink environment, these
Data include all parameters, constant, signal, variable, structure, variable class, type definition and calibration formula etc..It is being based on
In the software project development of the ECU ECUs of TargetLink, often these data are configured to into layering according to the division of function
The such tree form data structure form of tree, such as CAN hierarchical trees, submodel hierarchical tree.
Some algorithm functions, UDS diagnosis, analog input, digital quantity input are being built by TargetLink and is being exported
Module etc. design a model storehouse when, each model library can include Inport in TargetLink data dictionaries(Input
Mouthful), Outport (input port), Calibration Variable(Scalar quantity)And Measure Point(Measurement point)This is several
The content of big class.These contents are saved in the TargetLink data dictionary hierarchical tree files corresponding to this model library,
In general, this TargetLink data dictionary hierarchical tree file is by TargetLink data dictionary hierarchical tree set of variables
(Variable Group)And the variable under set of variables(Variable)Composition.Wherein TargetLink data dictionaries hierarchical tree
What set of variables was defined is common group belonging to some variables, such as input quantity (IN, Inport), output (OUT, Outport), mark
Quantitative (CAL, Calibration Variable)With measurement point (MP, Measure Point).In the present embodiment, above-mentioned S1
The type of the TargetLink data dictionary hierarchical tree set of variables in step is according to model library in TargetLink data dictionaries
Content just include input quantity, output, scalar quantity and measurement point.
Variable under the TargetLink data dictionary hierarchical tree set of variables all possesses following common TargetLinks numbers
According to dictionary attribute:Title(Name), annotation(Description), data category(Class), data type(Type), global number
According to calibration(Scaling), data bit width(Width), signal value(Value), minima(Min), maximum(Max), address
(Address), name masterplate(NameTemplate).
In step S1, also including step:Search literary for extracting the Excel of the variable information in step S1
Part, in the Excel file comprising the type set according to the different TargetLink data dictionary hierarchical tree set of variables not
Same form, the variable letter comprising the type definition according to the TargetLink data dictionary hierarchical tree set of variables in the form
Breath.Research staff is exactly to realize creating and changing TargetLink data dictionaries indirectly by editing above-mentioned Excel file
The purpose of the variable in the set of variables of hierarchical tree.In the specific implementation, in order to more easily search, can be literary in the Excel
Started as prefix using specific names in the name of part, such as using " ioSpec " as the prefix beginning of this kind of Excel file.Looking into
When looking for Excel file, the folder path of developer's input, all ioSpec beginnings for including under the recursive lookup path
The path that Excel forms are located, as the tree path that TargetLink data dictionaries hierarchical tree is located.
Because the TargetLink data dictionary hierarchical trees set of variables includes input quantity, output, scalar quantity and measurement point
Four different types, so including IN forms, OUT forms, CAL forms and MP forms four in the Excel file of step S1
At least one of individual form, in the present embodiment, includes aforementioned four form in Excel file, include in each form
Title(Name), minima(Min), maximum(Max), variable number(Width), variable description(Description)、
The Stored Data Type of TargetLink(TL Storage Class)And type definition(Typedef)This several variable informations,
When there is multiple variable informations, in order to more easily realize and the application present invention, these variable informations put in order
Can be with completely the same in aforementioned four form.
The title in variable information, minima, maximum and TargetLinks data dictionaries in above-mentioned Excel file
A pair of title, minima in the TargetLinks data dictionary attributes that variable under hierarchical tree set of variables possesses, maximum 1
Should;And the number of variable, variable description, the Stored Data Type of TargetLink, type definition are then corresponded to respectively
Data in the TargetLinks data dictionary attributes that variable under TargetLinks data dictionary hierarchical tree set of variables possesses
Bit wide, annotation, data category, data type.
Referring to Fig. 2, Fig. 2 is that the XML of the generation TargetLink data dictionary hierarchical trees of the embodiment of the present invention is literary
The step of part schematic diagram.In step s 2, also including step:
S21, by extract the variable information protect respectively by the type of the TargetLink data dictionary hierarchical tree set of variables
In there is corresponding data structure.Specifically, at least one in comprising the following steps:Extract IN tables in Excel file
Variable information under lattice, and be stored in IN structured data bodies;The variable information under OUT forms in Excel file is extracted, and is protected
In there is OUT structured data bodies;The variable information under CAL forms in Excel file is extracted, and is stored in CAL structured data bodies
In;The variable information under MP forms in Excel file is extracted, and is stored in MP structured data bodies.
S22, using the XML interface function of MATLAB, create that the TargetLink data dictionaries support without concrete variable
The XML file of definition, the above-mentioned XML file without concrete variable-definition is the XML file of a sky.
S23, the content in the data structure is write into the XML file without concrete variable-definition, so as to generate this
The XML file of TargetLink data dictionary hierarchical trees.Specifically, at least one in comprising the following steps:By IN structures
Content in data volume writes the XML file without concrete variable-definition as a Tag comprising child node;By OUT structures
Content in data volume writes the XML file without concrete variable-definition as a Tag comprising child node;By CAL structures
Content in data volume writes the XML file without concrete variable-definition as a Tag comprising child node;By MP structure numbers
The XML file without concrete variable-definition is write according to the content in body as a Tag comprising child node.
In the present embodiment, before the XML file of final TargetLink data dictionary hierarchical trees is generated, in addition it is also necessary to
The XML file without concrete variable-definition to completing to write the content in data structure automatically writes default XML words
Symbol coding, above-mentioned coding can be configured according to the environment of running software, it would however also be possible to employ existing coded system common in the industry.
The present invention automatically writes default XML character codes, effectively prevent and is added in TargetLink data dictionary hierarchical trees
Because mismatch with the environment of running software or have can not the reason such as received character code etc. during TargetLink data dictionaries
Reason and point out code error.
Final XML file is generated as after coding is completed, need to only import XML can just generate TargetLink data
Dictionary hierarchical tree file.In the present invention the step is that step S3 can be automatically performed, without the need for manual intervention, its concrete steps bag
Include:By the M language of MATLAB, using TargetLink API(TargetLink application programming interfaces), open on backstage
The TargetLink data dictionary master files that TargetLink designs a model, XML are imported and enter to generate TargetLink data
Dictionary hierarchical tree file.
Referring again to Fig. 3, what the present invention also provided a kind of utilization Excel generations TargetLink data dictionary hierarchical trees is
System, including:Information extraction modules 10, for extracting Excel file according to TargetLink data dictionary hierarchical tree set of variables
Type definition variable information;XML file generation module 20, for by the variable information for extracting according to TargetLink
The XML format requirement that data dictionary is supported, generates the XML file of TargetLink data dictionary hierarchical trees;TargetLink
Data dictionary hierarchical tree file generating module 30, for the XML file to be imported in TargetLink data dictionaries, generates simultaneously
Preserve final TargetLink data dictionary hierarchical tree files.
Because the type of TargetLink data dictionary set of variables includes input quantity(IN), output(OUT), scalar quantity
(CAL)And measurement point(MP), so the information extraction modules 10 are used for:Extract in Excel file according to TargetLink data
Dictionary hierarchical tree input quantity(IN)The undefined variable information of set of variables;Extract in Excel file according to TargetLink data
Dictionary hierarchical tree output(OUT)The undefined variable information of set of variables;Extract in Excel file according to TargetLink data
Dictionary hierarchical tree scalar quantity(CAL)The undefined variable information of set of variables;Extract in Excel file according to TargetLink data
Dictionary hierarchical tree measurement point(MP)Undefined variable information.
Above-mentioned variable information includes title(Name), minima(Min), maximum(Max), variable number(Width)、
Variable description(Description), TargetLink Stored Data Type(TL Storage Class)And type definition
(Typedef)This several.
Referring to Fig. 4, the XML file generation module 20 includes extracting sub-module 21, creates submodule 22 and insert
Submodule 23;The variable information that the extracting sub-module 21 is used to extract presses the TargetLink data dictionary hierarchical tree variables
Group type be stored in respectively in corresponding data structure, specifically, the extracting sub-module 21 can be used for it is following at least
One:The variable information under IN forms in Excel file is extracted, and is stored in IN structured data bodies;In extracting Excel file
Variable information under OUT forms, and be stored in OUT structured data bodies;Extract the variable letter in Excel file under CAL forms
Breath, and be stored in CAL structured data bodies;The variable information under MP forms in Excel file is extracted, and is stored in MP structure numbers
According in body.
The XML without concrete variable-definition that the establishment submodule 22 is used to create TargetLink data dictionaries support is literary
Part, the above-mentioned XML file without concrete variable-definition is the XML file of a sky.
It is literary for the content in the data structure to be write into the XML without concrete variable-definition that this inserts submodule 23
Part, so as to generate the XML file of the TargetLink data dictionary hierarchical trees.Specifically, this is inserted submodule 23 and can use
In it is following at least one:Using the content in IN structured data bodies as a Tag comprising child node this is write without concrete variable
The XML file of definition;Using the content in OUT structured data bodies as a Tag comprising child node this is write without concrete variable
The XML file of definition;Using the content in CAL structured data bodies as a Tag comprising child node this is write without concrete variable
The XML file of definition;The content in MP structured data bodies is write into this as a Tag comprising child node to determine without concrete variable
The XML file of justice.
In order to avoid when TargetLink data dictionary hierarchical trees are added to TargetLink data dictionaries because with it is soft
The environment of part operation mismatch or have can not the reason such as received character code and point out code error, in the present embodiment,
This is inserted submodule 23 and is additionally operable to before the XML file of the TargetLink data dictionary hierarchical trees is generated, to completing to write
The XML file without concrete variable-definition for entering the content in data structure automatically writes default XML character codes, above-mentioned
Coding can be configured according to the environment of running software, it would however also be possible to employ existing coded system common in the industry.
From unlike the embodiment in Fig. 3, in the present embodiment, also including Excel file searching modul 40, for looking into
Excel file is looked for, comprising the type according to the different TargetLink data dictionary hierarchical tree set of variables in the Excel file
The different form of setting, comprising the type definition according to the TargetLink data dictionary hierarchical tree set of variables in the form
Variable information.Specifically, comprising in IN forms, OUT forms, four forms of CAL forms and MP forms in above-mentioned Excel file
At least one, in the present embodiment, in Excel file include aforementioned four form, include title in each form
(Name), minima(Min), maximum(Max), variable number(Width), variable description(Description)、
The Stored Data Type of TargetLink(TL Storage Class)And type definition(Typedef)In at least one variable
Information, when there is multiple variable informations, in order to more easily realize and apply the present invention, the arrangement of these variable informations is suitable
Sequence can be with completely the same in aforementioned four form.
The present invention provides a kind of method and its system that utilization Excel generates TargetLink data dictionary hierarchical trees, fills
Dividing can support this specified point of XML import formats using TargetLink data dictionaries, by TargetLink API, be based on
The M language development environment of MATLAB, by the foundation TargetLink data dictionary hierarchical tree set of variables extracted in Excel file
The variable information of type definition is saved in respectively in single data structure, then using the XML interface function of MATLAB, wound
An XML file without concrete variable-definition is built, and respectively by the independent IN forms for preserving, OUT forms, CAL forms and MP tables
Content inside lattice, according to the corresponding attribute specification in TargetLink data dictionaries hierarchical tree the inside, is written to without concrete variable
In the XML file of definition, final XML file is encoded and formed, imported to finally by TargetLink API
In TargetLink data dictionaries.The whole pilot process of technical solution of the present invention is all realized without the need for manual intervention, is reached certainly
The dynamic effect for completing, modelling in both having taken full advantage of TargetLink data dictionaries to be managed ECU, code building and
The purpose of the relevant informations such as the application on ECU, causes developer directly to go to operate TargetLink data dictionaries again,
More easily variable information can be contrasted or changed by intuitively Excel forms, be improved work efficiency;Meanwhile, can
Realization just can indirectly create and change TargetLink data in the case of without License files by Excel forms
Variable in the set of variables of dictionary hierarchical tree.
Above by reference to the preferred embodiments of the present invention have been illustrated, those skilled in the art are without departing from the scope of the present invention
And essence, there can be various flexible programs to realize the present invention.For example, as the shown partially of one embodiment or description
Feature can be used to another embodiment obtain another embodiment.Preferably feasible embodiment of the invention is these are only, not
Therefore the interest field of the present invention is limited to, the equivalence changes that all utilization description of the invention and accompanying drawing content are made are both contained in
Within the interest field of the present invention.
Claims (8)
1. a kind of method of generation TargetLink data dictionary hierarchical trees, it is characterised in that include:
S1, the variable information for extracting the type definition of foundation TargetLink data dictionary hierarchical tree set of variables in Excel file;
S2, the XML format requirement for being supported the variable information for extracting according to TargetLink data dictionaries, generate
The XML file of TargetLink data dictionary hierarchical trees;
S3, the XML file is imported in TargetLink data dictionaries, generate and preserve final TargetLink data
Dictionary hierarchical tree file;
In step S2, also including step:
The variable information for extracting is stored in respectively by the type of the TargetLink data dictionaries hierarchical tree set of variables
In corresponding data structure;
Using the XML interface function of MATLAB, create that the TargetLink data dictionaries support without concrete variable-definition
XML file;
Content in the data structure is write into the XML file without concrete variable-definition, it is described so as to generate
The XML file of TargetLink data dictionary hierarchical trees.
2. the method for generation TargetLink data dictionary hierarchical trees according to claim 1, it is characterised in that described
Content bag of the type of TargetLink data dictionary hierarchical tree set of variables according to model library in TargetLink data dictionaries
Include input quantity, output, scalar quantity and measurement point.
3. the method for generation TargetLink data dictionary hierarchical trees according to claim 1, it is characterised in that the change
Amount information includes title, minima, maximum, the number of variable, variable description, the Stored Data Type of TargetLink and class
At least one in type definition.
4. the method for generation TargetLink data dictionary hierarchical trees according to claim 1, it is characterised in that described
In step S1, also including step:Search is used for the Excel file for extracting the variable information in step S1, described
Comprising the different of the type set according to the different TargetLink data dictionaries hierarchical tree set of variables in Excel file
Form, the variable letter comprising the type definition according to the TargetLink data dictionaries hierarchical tree set of variables in the form
Breath.
5. the method for generation TargetLink data dictionary hierarchical trees according to any one of claim 1 to 4, its feature
It is, before the XML file of the TargetLink data dictionaries hierarchical tree is generated, to written in the data structure
The XML file without concrete variable-definition of content automatically write default XML character codes.
6. the method for generation TargetLink data dictionary hierarchical trees according to claim 1, it is characterised in that described
In step S3, further include:By the M language of MATLAB, using TargetLink API, on backstage TargetLink is opened
The TargetLink data dictionary master files for designing a model, XML are imported and enter to generate TargetLink data dictionary hierarchical trees
File.
7. the system that a kind of utilization Excel generates TargetLink data dictionary hierarchical trees, it is characterised in that include:
Information extraction modules, for extracting Excel file according to TargetLink data dictionary hierarchical tree set of variables type
The variable information of definition;
XML file generation module, for supported the variable information for extracting according to TargetLink data dictionaries
XML format requirement, generates the XML file of TargetLink data dictionary hierarchical trees;
TargetLink data dictionary hierarchical tree file generating modules, for the XML file to be imported to into TargetLink numbers
According to dictionary, final TargetLink data dictionary hierarchical tree files are generated and preserved;
The XML file generation module includes extracting sub-module, creates submodule and insert submodule;The extracting sub-module is used
In by extract the variable information be stored in phase respectively by the type of the TargetLink data dictionaries hierarchical tree set of variables
In the data structure answered, the submodule that creates is used to creating that the TargetLink data dictionaries to support without concrete variable
The XML file of definition, it is described to insert submodule for the content write in the data structure described to be determined without concrete variable
The XML file of justice, so as to generate the XML file of the TargetLink data dictionaries hierarchical tree.
8. the system that utilization Excel according to claim 7 generates TargetLink data dictionary hierarchical trees, its feature exists
In also including Excel file searching modul, for searching Excel file, comprising according to different institutes in the Excel file
The different form of the type set of TargetLink data dictionary hierarchical tree set of variables is stated, is included according to described in the form
The variable information of the type definition of TargetLink data dictionary hierarchical tree set of variables.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310282857.2A CN104281604B (en) | 2013-07-05 | 2013-07-05 | Method and system for generating Target Link data dictionary hierarchical tree |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310282857.2A CN104281604B (en) | 2013-07-05 | 2013-07-05 | Method and system for generating Target Link data dictionary hierarchical tree |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104281604A CN104281604A (en) | 2015-01-14 |
CN104281604B true CN104281604B (en) | 2017-04-19 |
Family
ID=52256480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310282857.2A Active CN104281604B (en) | 2013-07-05 | 2013-07-05 | Method and system for generating Target Link data dictionary hierarchical tree |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104281604B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824638A (en) * | 2016-03-17 | 2016-08-03 | 广州多益网络股份有限公司 | Method and device for converting document into game code capable of being directly used |
CN110045985B (en) * | 2019-04-12 | 2022-10-21 | 重庆长安新能源汽车科技有限公司 | Targetlink model calibration parameter setting method, device, equipment and medium |
CN110597708A (en) * | 2019-08-02 | 2019-12-20 | 北京奇艺世纪科技有限公司 | Test case file conversion method and device, electronic equipment and storage medium |
CN110851665B (en) * | 2019-11-12 | 2022-07-12 | 上海元城汽车技术有限公司 | Calibration information extraction method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0350281A1 (en) * | 1988-07-05 | 1990-01-10 | BRITISH TELECOMMUNICATIONS public limited company | Method and apparatus for encoding, decoding and transmitting data in compressed form |
CN1652112A (en) * | 2005-03-02 | 2005-08-10 | 北京北方烽火科技有限公司 | Implementing method of data dictionary under embedded environment |
CN102880468A (en) * | 2012-09-12 | 2013-01-16 | 浙江大学 | Code intelligent prompting method and system for electronic control unit (ECU) program development |
-
2013
- 2013-07-05 CN CN201310282857.2A patent/CN104281604B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0350281A1 (en) * | 1988-07-05 | 1990-01-10 | BRITISH TELECOMMUNICATIONS public limited company | Method and apparatus for encoding, decoding and transmitting data in compressed form |
CN1652112A (en) * | 2005-03-02 | 2005-08-10 | 北京北方烽火科技有限公司 | Implementing method of data dictionary under embedded environment |
CN102880468A (en) * | 2012-09-12 | 2013-01-16 | 浙江大学 | Code intelligent prompting method and system for electronic control unit (ECU) program development |
Also Published As
Publication number | Publication date |
---|---|
CN104281604A (en) | 2015-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9058407B2 (en) | Persistent multimedia content versioning | |
US8924837B2 (en) | Text file interface support in an object oriented application | |
CN102043657A (en) | File serialization method of model library of physical modeling language Modelica | |
CN106648662B (en) | Report generation device and method based on project cost calculation description language BCL | |
CN104281604B (en) | Method and system for generating Target Link data dictionary hierarchical tree | |
CN103995854A (en) | Equipment cross-version upgrading method and device | |
CN106570018A (en) | Serialization method and apparatus, deserialization method and apparatus, serialization and deserialization system, and electronic device | |
JP2002318798A (en) | Method and system for user-controllable data grouping in structural document translation | |
CN107622080B (en) | Data processing method and equipment | |
CN104331278B (en) | A kind of instruction filter method and device for ARINC661 specifications | |
CN101901265B (en) | Objectification management system of virtual test data | |
CN104035754A (en) | XML (Extensible Markup Language)-based custom code generation method and generator | |
CN108255471B (en) | System configuration item configuration device, method and equipment based on configuration suite | |
CN105446722A (en) | Serialization method and device and deserialization method and device | |
US20070061349A1 (en) | Hierarchically describing shapes | |
CN110955714A (en) | Method and device for converting unstructured text into structured text | |
CN107330014A (en) | The creation method and equipment of a kind of tables of data | |
CN107391529A (en) | A kind of method and device for realizing Object Relation Mapping ORM | |
US20030200522A1 (en) | Method and apparatus for hierarchically restructuring portions of a hierarchical database based on selected attributes | |
CN107766036A (en) | A kind of construction method of module, construction device and terminal device | |
CN105468366A (en) | Intelligent interface based on Qt ground station | |
CN105630489B (en) | Data processing method and data processing equipment | |
CN104462157B (en) | A kind of method and device of text data secondary structure | |
US7730471B2 (en) | Method and system for processing COBOL language record description entries that specify data items that include a varying length characteristic and computer readable storage medium for storing instructions for performing the method | |
CN107861720A (en) | The processing method of block data chained file data |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220110 Address after: 511434 No. 36, Longying Road, Shilou Town, Panyu District, Guangzhou City, Guangdong Province Patentee after: GAC AIAN New Energy Vehicle Co.,Ltd. Address before: 510030 23 building, Cheng Yue mansion 448-458, Dongfeng Middle Road, Yuexiu District, Guangzhou, Guangdong. Patentee before: GUANGZHOU AUTOMOBILE GROUP Co.,Ltd. |
|
TR01 | Transfer of patent right |