CN106610861A - Compiling method and device - Google Patents
Compiling method and device Download PDFInfo
- Publication number
- CN106610861A CN106610861A CN201611029729.7A CN201611029729A CN106610861A CN 106610861 A CN106610861 A CN 106610861A CN 201611029729 A CN201611029729 A CN 201611029729A CN 106610861 A CN106610861 A CN 106610861A
- Authority
- CN
- China
- Prior art keywords
- file
- configuration
- unicode
- code
- web
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000000977 initiatory effect Effects 0.000 claims abstract description 55
- 238000013507 mapping Methods 0.000 claims abstract description 53
- 238000000605 extraction Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 241001274660 Modulus Species 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000009738 saturating Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
The invention provides a compiling method and a compiling device, which are used for acquiring initiating information for initiating automatic compiling of a uniform code configuration file, wherein the uniform code configuration file adopts uniform keywords to describe data configuration information through a uniform data format; keywords with the same semantics of the code configuration files in not less than two file formats correspond to the same group of uniform keywords; the code configuration file adopts keywords of a data format corresponding to the file format to describe data configuration information; extracting a uniform code configuration file to be compiled according to the initiating information; converting the uniform code configuration file to be translated into a code compiling file according to a configuration decoding mapping table; configuring a decoding mapping table comprising a mapping relation between a unified key word and a key word of a code compiling file; compiling the code compiling file and the project code file belonging to the same project with the uniform code configuration file to be compiled. The compiling method and the device have high universality and can be flexibly adapted to different scheme suppliers or platforms.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of Compilation Method and device.
Background technology
Cloud compiling client is extracted data by code analysis configuration file and is shown on webpage, while repairing for user
Change, new code configuration file after having changed, can be generated.Traditional Compilation Method is, when compiling is initiated, by code configuration
File is code compilation file in being delivered to code, directly can use for code compilation.
For different scheme suppliers, different platforms, form different (e.g., C, H, SQL of code compilation file
Deng form).The method of traditional direct parsing code compilation file significantly limit adaptation, poor universality.
The content of the invention
Based on this, it is necessary to provide the Compilation Method and device of a kind of highly versatile.
A kind of Compilation Method, including:
Obtain the initiation information for initiating that automatic compiling is carried out to Unicode configuration file, the Unicode configuration file
By unified data form using unified key WD data configuration information;No less than the code configuration of two kinds of file formats
The semantic identical keyword of file corresponds to unified keyword described in same group;The code configuration file using with the text
The crucial WD data configuration information of the corresponding data form of part form;
Information retrieval Unicode configuration file to be translated to be compiled is initiated according to described;
The Unicode configuration file to be translated is converted to by code compilation file according to configuration decoding mapping table;It is described to match somebody with somebody
Put the mapping relations of the keyword that decoding mapping table includes unifying keyword and code compilation file;
Belong to the item code of same project to the code compilation file and with the Unicode configuration file to be translated
File is compiled.
A kind of compilation device, including:
Data obtaining module is initiated, and the initiation letter that automatic compiling is carried out to Unicode configuration file is initiated for obtaining
Breath, the Unicode configuration file is by unified data form using unified key WD data configuration information;Much
Unified keyword described in same group is corresponded in the semantic identical keyword of the code configuration file of two kinds of file formats;It is described
Crucial WD data configuration information of the code configuration file using data form corresponding with the file format;
Waiting for translating part extraction module, for initiating information retrieval Unicode configuration text to be translated to be compiled according to described
Part;
Waiting for translating part modular converter, for being changed the Unicode configuration file to be translated according to configuration decoding mapping table
For code compilation file;The configuration decoding mapping table includes that the mapping of the keyword for unifying keyword and code compilation file is closed
System;Item file collector, for belonging to same to the code compilation file and with the Unicode configuration file to be translated
The item code file of one project is compiled.
Above-mentioned Compilation Method and device, obtain the initiation information for initiating that automatic compiling is carried out to Unicode configuration file,
The Unicode configuration file is by unified data form using unified key WD data configuration information;No less than two
The semantic identical keyword for planting the code configuration file of file format corresponds to unified keyword described in same group;The code
Crucial WD data configuration information of the configuration file using data form corresponding with the file format;According to the initiation
Information retrieval Unicode configuration file to be translated to be compiled;The Unicode to be translated is configured according to configuration decoding mapping table
File is converted to code compilation file;The configuration decoding mapping table includes the pass of the unified keyword and code compilation file
The mapping relations of key word;Belong to the item of same project to the code compilation file and with the Unicode configuration file to be translated
Mesh code file is compiled.Unified configuration code file in due to the Compilation Method is by unified data form using system
One crucial WD data configuration information, rather than using directly by the corresponding data lattice of file format of code compilation file
The keyword of formula (namely corresponding data form of file format of code configuration file) describing data configuration information, therefore,
Its versatility is high, can flexibly be adapted to different scheme suppliers or platform.
Description of the drawings
Fig. 1 is the flow chart of the Compilation Method of an embodiment;
Fig. 2 is the flow chart of the Compilation Method of another embodiment;
Fig. 3 is a sectional drawing of the Compilation Method of an embodiment when client is run;
Fig. 4 is the structure chart of the compilation device of an embodiment;
Fig. 5 is the structure chart of the compilation device of another embodiment.
Specific embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In accompanying drawing
Give the preferred embodiment of the present invention.But, the present invention can be realized in many different forms, however it is not limited to herein
Described embodiment.On the contrary, the purpose for providing these embodiments is to make the understanding to the disclosure more saturating
It is thorough comprehensive.
Unless otherwise defined, all of technology used herein and scientific terminology and the technical field for belonging to the present invention
The implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that of the invention in limiting.Term as used herein " or/and " including one or more phases
The arbitrary and all of combination of the Listed Items of pass.
As shown in figure 1, for the Compilation Method of one embodiment of the invention, the method is operated on compiler server.With compiling
The cloud that has that server has data association compiles platform and client.Wherein, be stored with cloud compiling platform item code file
And the executable program for obtaining after being compiled to item code file and issuing;Client compiles platform with cloud as client
The interactive interface of the executable program of upper storage, initiates access request to cloud compiling platform, and receives cloud compiling platform feedback
Information;Compiler server is compiled to item code file and the executable file that compiling is obtained is published to cloud compiling and puts down
Platform.
The Compilation Method of one embodiment of the invention, including:
S120:Obtain the initiation information for initiating that automatic compiling is carried out to Unicode configuration file.The Unicode is matched somebody with somebody
File is put by unified data form using unified key WD data configuration information;No less than the generation of two kinds of file formats
The semantic identical keyword of code configuration file corresponds to unified keyword described in same group;The code configuration file using with
The crucial WD data configuration information of the corresponding data form of the file format..
When client submits request to, an initiation for initiating to carry out Unicode configuration file automatic compiling can be sent
Order to cloud and compile platform.Cloud compiles platform according to the initiation order, sends initiation information to compiler server with to unified generation
Code configuration file is compiled automatically.Compiler server obtains the initiation information.
S160:Information retrieval Unicode configuration file to be translated to be compiled is initiated according to described.
Initiation information includes the file identification of Unicode configuration file to be translated to be compiled.According to the text in initiation information
Part marker extraction Unicode configuration file to be translated to be compiled.Unicode configuration file to be translated as needs the unification of compiling
Code configuration file.
Specifically, extracted according to the storage address of the file identification in initiation information and Unicode configuration file to be translated and treated
The Unicode configuration file of compiling.In this specific embodiment, initiation information is also including Unicode configuration file to be translated
Storage address.
S170:The Unicode configuration file to be translated is converted to by code compilation file according to configuration decoding mapping table.
The configuration decoding mapping table includes the mapping relations of the keyword for unifying keyword and code compilation file.Specifically, initiate
Also include destination file format in information.Will be the Unicode configuration to be translated literary according to configuration decoding mapping table and initiation information
Part is converted to the code compilation file of destination file format.Destination file format be no less than two file formats in a kind of lattice
Formula.
It should be noted that code configuration file and the form of code compilation file are identicals in conventional encoder method, only
It is the position difference of storage.In the present embodiment, traditional code configuration file substituted for using Unicode configuration file,
That is, no matter which type of data form code compilation file needs, and is retouched using unified keyword by unified data form
State data configuration information.Data configuration information is described so as to without the need for by various data forms corresponding keyword.
S180:Belong to the project of same project to the code compilation file and with the Unicode configuration file to be translated
Code file is compiled.
Thus, be compiled to a project, the compiling result after being compiled, specially one it is binary can
Configuration processor.
Above-mentioned Compilation Method, obtains the initiation information for initiating that automatic compiling is carried out to Unicode configuration file, the system
One code configuration file is by unified data form using unified key WD data configuration information;No less than two kinds of files
The semantic identical keyword of the code configuration file of form corresponds to unified keyword described in same group;The code configuration text
Crucial WD data configuration information of the part using data form corresponding with the file format;Carried according to the initiation information
Take Unicode configuration file to be translated to be compiled;The Unicode configuration file to be translated is turned according to configuration decoding mapping table
It is changed to code compilation file;The configuration decoding mapping table includes the mapping of the keyword for unifying keyword and code compilation file
Relation;Belong to the item code file of same project to the code compilation file and with the Unicode configuration file to be translated
It is compiled.Unified configuration code file in due to the Compilation Method is retouched using unified keyword by unified data form
State data configuration information, rather than using directly passing through the corresponding data form of file format (namely generation of code compilation file
The corresponding data form of file format of code configuration file) keyword describing data configuration information, therefore, its versatility
Height, can flexibly be adapted to different scheme suppliers or platform.
It should be noted that as the Compilation Method versatility is high, can flexibly be adapted to different scheme suppliers or platform,
The learning cost of engineer's handover scheme can be reduced.Meanwhile, special handling is not done to different schemes by mistake, cloud compiling can be reduced
The maintenance cost of system.Therefore, above-mentioned Compilation Method, can be with cost-effective.
It is convenient to understand, give one example.Such as, if an item code file is SQL files, the item code file phase
It should be sql like language form that the code compilation file of pass should also be the object format in SQL files, i.e. initiation information.Tradition
In Compilation Method, code configuration file also should describe data configuration information using sql like language form, directly could be compiled.
In the present embodiment, code configuration file uses Unicode configuration file, is a kind of unified data format descriptor number
According to the language format of configuration information, e.g., can be C language form, that is, in this example, SQL be described with C language form
Keyword in language format.If another item file is H files (header file or macro document) or JAVA files, at this
In example, and data configuration information is described using C language form, rather than with being that H files or JAVA files are corresponding grand
Or JAVA language describes data configuration information.If it should be noted that also one item file originally C files,
When describing the C files with unified data form C language, interior data structure is using defined in unified data form
Mode.
Fig. 2 is referred to, it is wherein in one embodiment, described to initiate information retrieval unification to be translated to be compiled according to described
Before the step of code configuration file, i.e., before step S160, also include:
S140:When judging that cloud compiling system has newly-built when unified web configuration files are translated according to the initiation information, root
Initiate to wait to translate unified web configuration files described in acquisition of information according to described.It is described to wait to translate unified web configuration files using unified lattice
Formula describes web configuration informations.
S150:Mapping table is configured according to web Unicode to be translated described in translating unified web configuration files is converted to is waited by described
Configuration file.The web configurations mapping table waits that translating the keyword of unified web configuration files waits to translate unified generation with described described in including
The mapping relations of the data in code configuration file.Each data in the Unicode configuration file to be translated correspond to described
A keyword in unified web configuration files.
In the present embodiment, user can change data configuration information by client.If there is modification, client will be new
Build one to wait to translate unified web configuration files, and this is waited to translate the cloud compiling that unified web configuration files are uploaded on cloud compiling platform
System.Initiation information whether have in also including cloud compiling system it is newly-built wait to translate unified web configuration files, if having, initiate letter
Breath also includes waiting to translate the store path of unified web configuration files, and otherwise, storing in initiation information waits to translate unified web configurations text
The position of the store path of part is sky.
In a specific embodiment, mapping table is configured according to web and waits that translating unified web configuration files is converted to institute by described
After stating Unicode configuration file to be translated, also need for Unicode configuration file to be translated storage into view unification to be treated in initiation information
On the store path of code configuration file.
Thus, can according to the demand of client, with specific reference to client it is newly-built wait translate unified web configuration files to repair
Change data configuration information, and wait that translating unified web configuration files is converted to Unicode configuration file by amended, and then turn again
Change code compilation file into, finally the code compilation file is compiled.Therefore, the Compilation Method can be realized to client
Carrying out data configuration information modification timely compiled.
Wherein in one embodiment, described acquisition initiates the initiation letter that automatic compiling is carried out to Unicode configuration file
Before the step of breath, i.e., before step S120, also include:
S110:Mapping table is configured according to the web to be converted into unifying web configuration texts by default Unicode configuration file
Part, and the unified web configuration files are uploaded to into the cloud compiling system.
When whole project is published to each client, need to turn the Unicode configuration file in item code file
Change unified web configuration files into, and the unified web configuration files are uploaded to into the cloud compiling system, so that each is objective
Family end can be downloaded this and be unified web configuration files, and unify web configuration files by webpage to Unicode configuration text according to this
Data configuration information in part carries out data display.So as to client can increase the side of unified web configuration files newly by client
Formula is modified to Unicode configuration file.
In a specific embodiment, before step S110, can also include:Obtain cloud compiling system to initiate to automatically configure
When send automatically configure instruction;Update the item code file for belonging to same project with the Unicode configuration file;Will
Default Unicode configuration file copies buffer area to.Wherein, automatically configure instruction can for cloud compiling system when default
Between initiate what is sent when automatically configuring.Preset Time can be daily 0 point and/or 12 points, it is possible to understand that ground, in other enforcements
In example, Preset Time is it can also be provided that other time.
Wherein in one embodiment, configuration decoding mapping table and web configuration mapping tables are arranged in same table, the table
It is named as normative document mapping table.Thus, multiple mapping tables can not differentiated between.It is to be appreciated that distinguish the two at other reflecting
In the embodiment of firing table, as two mapping tables are provided separately, the content of each mapping table is less, thus, can save turning
The time is changed, so as to improve the speed of service of Compilation Method.
Wherein in one embodiment, it is described to the code compilation file and with the Unicode configuration file to be translated
After belonging to the step of the code of same project is compiled, i.e., after step S180, also include:
S190:Compiling result is issued to the newly-built client for waiting to translate unified web configuration files.
Thus, the data configuration information changed in client can be reacted to corresponding client.
Wherein in one embodiment, initiation information includes scope of release.The visitor of issue is limited by scope of release
Family end.Such as, by the developer of project team, scope of release can be set as all of client or be specified by the compiling of initiation
Part client;And the compiling initiated by client, scope of release can be set as the client itself.It is appreciated that
Ground, in the present embodiment, step S190 is to issue compiling result to corresponding client according to the information of initiation.
It is wherein in one embodiment, described to initiate information retrieval Unicode configuration text to be translated to be compiled according to described
Before the step of part, i.e. step S160 also includes:
S130:Update the item code file for belonging to same project with the Unicode configuration file.
Thus, can be before being compiled, first renewal item code file.So as to, it is ensured that the project of Compilation Method compiling
Code file for newest item code file.
In a specific embodiment, the general type definition format of unified web configuration files is:
{
DESCRIPTION:{ ... } // FileVersion and other description informations
Array keyword 1:{
name:Array web displaying title //NONE (NONE represents that the data are not configured on webpage, only // can be untouched
Motionless succession)
RANGE{
1 keyword of numerical value:{name:Web displaying title, min:Minima, max:Maximum };
2 keyword of numerical value:{}
……
"info":The special supplement of { // as needed (typically without)
DATA1KEY2A:{max:Maximum, min:Minima },
DATA1KEY2B:{max:Maximum },
}
};
DATA1KEY1:{
DATA1KEY2A:{ 1 keyword of numerical value:Numerical value, 2 keyword of numerical value:Numerical value ... };
DATA1KEY2B
};
DATA2KEY1:{};
……
}
NONE:{
DATA1KEY1:(other do not go up the data of webpage configuration }
……
}
Array keyword 2:{}
……
}
Wherein, DESCRIPTION/RANGE/NONE/info is that arranged special can not again by project definition
Keyword.
Wherein, DATA1KEY1/DAYA2KEY2 constitutes the two-dimensional table of web displaying.Refer to Fig. 3, DTV/ATV etc. right
DATA1KEY1, COLD/NORMAL etc. is answered to correspond to the numerical value keyword in the correspondence RANGE such as DATA1KEY2X, OFFSET/GAIN.
Fig. 4 is referred to, the present invention also provides a kind of compilation device of embodiment, including:
Data obtaining module 420 is initiated, and the initiation that automatic compiling is carried out to Unicode configuration file is initiated for obtaining
Information.The Unicode configuration file is by unified data form using unified key WD data configuration information;No
Unified keyword described in same group is corresponded to less than the semantic identical keyword of the code configuration file of two kinds of file formats;Institute
State crucial WD data configuration information of the code configuration file using data form corresponding with the file format.
Waiting for translating part extraction module 460, for initiating information retrieval Unicode configuration to be translated to be compiled according to described
File;
Waiting for translating part modular converter 470, for decoding mapping table by the Unicode configuration file to be translated according to configuration
Be converted to code compilation file;The configuration decoding mapping table includes unifying reflecting for keyword and the keyword of code compilation file
Penetrate relation;
Item file collector 480, for the code compilation file and with Unicode to be translated configuration into the text
Part belongs to the item code file of same project and is compiled.
Above-mentioned compilation device, obtains the initiation information for initiating that automatic compiling is carried out to Unicode configuration file, the system
One code configuration file is by unified data form using unified key WD data configuration information;No less than two kinds of files
The semantic identical keyword of the code configuration file of form corresponds to unified keyword described in same group;The code configuration text
Crucial WD data configuration information of the part using data form corresponding with the file format;Carried according to the initiation information
Take Unicode configuration file to be translated to be compiled;The Unicode configuration file to be translated is turned according to configuration decoding mapping table
It is changed to code compilation file;The configuration decoding mapping table includes the mapping of the keyword for unifying keyword and code compilation file
Relation;Belong to the item code file of same project to the code compilation file and with the Unicode configuration file to be translated
It is compiled.Unified configuration code file in due to the compilation device is retouched using unified keyword by unified data form
State data configuration information, rather than using directly passing through the corresponding data form of file format (namely generation of code compilation file
The corresponding data form of file format of code configuration file) keyword describing data configuration information, therefore, its versatility
Height, can flexibly be adapted to different scheme suppliers or platform.
Fig. 5 is referred to, wherein in one embodiment, is also included:Web acquisition modules 440 to be translated and web moduluss of conversion to be translated
Block 450;
According to the initiation information, the web acquisition modules 440 to be translated, judge that cloud compiling system has newly-built treating for working as
When translating unified web configuration files, wait to translate unified web configuration files according to the initiation acquisition of information;The unification to be translated
Web configuration files describe web configuration informations using unified form;
The web modular converters 450 to be translated, wait to translate unified web configuration files by described for configuring mapping table according to web
Be converted to the Unicode configuration file to be translated;The web configurations mapping table is waited to translate unified web configuration files described in including
The mapping relations of the data in keyword and the Unicode configuration file to be translated;In the Unicode configuration file to be translated
Each data correspond to a keyword in the unified web configuration files;
The waiting for translating part extraction module 460, for the Unicode configuration to be translated according to the initiation information retrieval
File.
Please continue to refer to Fig. 5, wherein in one embodiment, also include:
Transmission module 410 in web configurations, for configuring mapping table by default Unicode configuration file according to the web
It is converted into unifying web configuration files, and the unified web configuration files is uploaded to into the cloud compiling system.
Please continue to refer to Fig. 5, wherein in one embodiment, also include:
Compiling result release module 490, after being compiled in the item file collector 580, according to sending out
The information of rising issues compiling result to corresponding client.
Please continue to refer to Fig. 5, wherein in one embodiment, also include:
Item file update module 430, for updating the project for belonging to same project with the Unicode configuration file
Code file.
Due to said apparatus it is corresponding with said method, therefore, for the details technical characteristic of device is no longer repeated one by one.
Above example only expresses the several embodiments of the present invention, and its description is more concrete and detailed, but can not
Therefore it is interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art,
Without departing from the inventive concept of the premise, multiple deformations and improvement can also be made, these belong to the protection model of the present invention
Enclose.Therefore, the protection domain of patent of the present invention should be defined by claims.
Claims (10)
1. a kind of Compilation Method, it is characterised in that include:
The initiation information for initiating that automatic compiling is carried out to Unicode configuration file is obtained, the Unicode configuration file passes through
Unified data form is using unified key WD data configuration information;No less than the code configuration file of two kinds of file formats
Semantic identical keyword correspond to described in same group unified keyword;The code configuration file using with the tray
The crucial WD data configuration information of the corresponding data form of formula;
Information retrieval Unicode configuration file to be translated to be compiled is initiated according to described;
The Unicode configuration file to be translated is converted to by code compilation file according to configuration decoding mapping table;The configuration is translated
Code mapping table includes the mapping relations of the keyword for unifying keyword and code compilation file;
Belong to the item code file of same project to the code compilation file and with the Unicode configuration file to be translated
It is compiled.
2. Compilation Method according to claim 1, it is characterised in that described to be compiled according to the initiation information retrieval
Before the step of Unicode configuration file to be translated, also include:
When judging that cloud compiling system has newly-built when unified web configuration files are translated according to the initiation information, according to described
Rise and wait to translate unified web configuration files described in acquisition of information;It is described to wait that translating unified web configuration files is described using unified form
Web configuration informations;
Mapping table is configured according to web Unicode configuration file to be translated described in translating unified web configuration files is converted to is waited by described;
The web configurations mapping table includes the keyword for waiting to translate unified web configuration files and the Unicode configuration text to be translated
The mapping relations of the data in part;Each data in the Unicode configuration file to be translated correspond to the unified web
A keyword in configuration file.
3. Compilation Method according to claim 2, it is characterised in that the acquisition is initiated to enter Unicode configuration file
Before the step of initiation information that row is compiled automatically, also include:
Mapping table is configured according to the web default Unicode configuration file is converted into unifying web configuration files, and by institute
State unified web configuration files and be uploaded to the cloud compiling system.
4. Compilation Method according to claim 1, it is characterised in that described to treat to the code compilation file and with described
Translate after Unicode configuration file belongs to the step of the code of same project is compiled, also include:
Compiling result is issued to corresponding client according to the information of initiation.
5. Compilation Method according to claim 1, it is characterised in that described to be compiled according to the initiation information retrieval
Before the step of Unicode configuration file to be translated, also include:
Update the item code file for belonging to same project with the Unicode configuration file.
6. a kind of compilation device, it is characterised in that include:
Data obtaining module is initiated, and the initiation information that automatic compiling is carried out to Unicode configuration file, institute is initiated for obtaining
Unicode configuration file is stated by unified data form using unified key WD data configuration information;No less than two kinds
The semantic identical keyword of the code configuration file of file format corresponds to unified keyword described in same group;The code is matched somebody with somebody
Put crucial WD data configuration information of the file using data form corresponding with the file format;
Waiting for translating part extraction module, for initiating information retrieval Unicode configuration file to be translated to be compiled according to described;
Waiting for translating part modular converter, for the Unicode configuration file to be translated is converted to generation according to configuration decoding mapping table
Code compiling file;The configuration decoding mapping table includes the mapping relations of the keyword for unifying keyword and code compilation file;
Item file collector, for belonging to same to the code compilation file and with the Unicode configuration file to be translated
The item code file of one project is compiled.
7. compilation device according to claim 6, it is characterised in that also include:Web acquisition modules to be translated and web to be translated
Modular converter;
According to the initiation information, the web acquisition modules to be translated, judge that cloud compiling system has newly-built unification to be translated for working as
During web configuration files, wait to translate unified web configuration files according to the initiation acquisition of information;It is described to wait to translate unified web configurations
File describes web configuration informations using unified form;
By described, the web modular converters to be translated, wait that translating unified web configuration files is converted to for configuring mapping table according to web
The Unicode configuration file to be translated;The web configurations mapping table is waited to translate the keyword of unified web configuration files described in including
With the mapping relations of the data in the Unicode configuration file to be translated;It is each in the Unicode configuration file to be translated
Individual data correspond to a keyword in the unified web configuration files;
The waiting for translating part extraction module, for the Unicode configuration file to be translated according to the initiation information retrieval.
8. compilation device according to claim 7, it is characterised in that also include:
Default Unicode configuration file is converted into system for configuring mapping table according to the web by transmission module in web configurations
One web configuration files, and the unified web configuration files are uploaded to into the cloud compiling system.
9. compilation device according to claim 6, it is characterised in that also include:
Compiling result release module, after being compiled in the item file collector, issues according to the information of initiation
Compiling result is to corresponding client.
10. compilation device according to claim 6, it is characterised in that also include:
Item file update module, for updating the item code text for belonging to same project with the Unicode configuration file
Part.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611029729.7A CN106610861B (en) | 2016-11-14 | 2016-11-14 | Compiling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611029729.7A CN106610861B (en) | 2016-11-14 | 2016-11-14 | Compiling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106610861A true CN106610861A (en) | 2017-05-03 |
CN106610861B CN106610861B (en) | 2019-09-03 |
Family
ID=58636183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611029729.7A Active CN106610861B (en) | 2016-11-14 | 2016-11-14 | Compiling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106610861B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391218A (en) * | 2017-07-07 | 2017-11-24 | 北京小米移动软件有限公司 | Compilation Method and device, electronic equipment and computer-readable recording medium |
CN112099800A (en) * | 2020-09-27 | 2020-12-18 | 中国建设银行股份有限公司 | Code data processing method and device and server |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101916089A (en) * | 2010-07-12 | 2010-12-15 | 金龙联合汽车工业(苏州)有限公司 | Configurable passenger car body control system and parameter configuration method thereof |
CN102707964A (en) * | 2012-04-09 | 2012-10-03 | 深圳市佳信捷电子有限公司 | Method and device for configuring compatible program version parameters |
CN103645895A (en) * | 2013-11-29 | 2014-03-19 | 广州视源电子科技股份有限公司 | Automatic configuration method and cloud compiling system |
CN103761095A (en) * | 2014-01-23 | 2014-04-30 | 上海斐讯数据通信技术有限公司 | Method for generating universal header data information of upgraded file |
CN104850570A (en) * | 2014-08-29 | 2015-08-19 | 北汽福田汽车股份有限公司 | Method and system for automatically generating A2L file |
US20150326640A1 (en) * | 2012-11-26 | 2015-11-12 | Go Daddy Operating Company, LLC | Configuring an origin server content delivery using a pulled data list |
CN105100191A (en) * | 2015-05-22 | 2015-11-25 | 华为技术有限公司 | Method, device and system for realizing Java application installation via cloud compilation |
-
2016
- 2016-11-14 CN CN201611029729.7A patent/CN106610861B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101916089A (en) * | 2010-07-12 | 2010-12-15 | 金龙联合汽车工业(苏州)有限公司 | Configurable passenger car body control system and parameter configuration method thereof |
CN102707964A (en) * | 2012-04-09 | 2012-10-03 | 深圳市佳信捷电子有限公司 | Method and device for configuring compatible program version parameters |
US20150326640A1 (en) * | 2012-11-26 | 2015-11-12 | Go Daddy Operating Company, LLC | Configuring an origin server content delivery using a pulled data list |
CN103645895A (en) * | 2013-11-29 | 2014-03-19 | 广州视源电子科技股份有限公司 | Automatic configuration method and cloud compiling system |
CN103761095A (en) * | 2014-01-23 | 2014-04-30 | 上海斐讯数据通信技术有限公司 | Method for generating universal header data information of upgraded file |
CN104850570A (en) * | 2014-08-29 | 2015-08-19 | 北汽福田汽车股份有限公司 | Method and system for automatically generating A2L file |
CN105100191A (en) * | 2015-05-22 | 2015-11-25 | 华为技术有限公司 | Method, device and system for realizing Java application installation via cloud compilation |
Non-Patent Citations (2)
Title |
---|
华为技术有限公司: "DevCloud", 《CSDN》 * |
范菁 等: ""分布式企业服务总线平台数据集成研究及应用"", 《计算机科学》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391218A (en) * | 2017-07-07 | 2017-11-24 | 北京小米移动软件有限公司 | Compilation Method and device, electronic equipment and computer-readable recording medium |
CN112099800A (en) * | 2020-09-27 | 2020-12-18 | 中国建设银行股份有限公司 | Code data processing method and device and server |
CN112099800B (en) * | 2020-09-27 | 2024-03-08 | 中国建设银行股份有限公司 | Code data processing method, device and server |
Also Published As
Publication number | Publication date |
---|---|
CN106610861B (en) | 2019-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111061757B (en) | Language conversion method and device of database, electronic equipment and storage medium | |
AU2006264207B2 (en) | Code transformation | |
US20130227533A1 (en) | Code transformation | |
CN108399064B (en) | Multilingual entry generation method based on Qt development | |
US20040158820A1 (en) | System for generating an application framework and components | |
EP1128277A2 (en) | Data processing method and system, program for realizing the method, and computer readable storage medium storing the program | |
DE69932344D1 (en) | ACCESS TO HIERARCHICAL DATA STORAGE VIA SQL ENTRY | |
KR20010109304A (en) | Specification to abap code converter | |
WO2004042929A3 (en) | Process for converting programs in high-level programming languages to a unified executable for hybrid computing platforms | |
JP2005018777A5 (en) | ||
Cui et al. | The research of PHP development framework based on MVC pattern | |
JP2007249785A (en) | Compile program, production method for virtual database remote access program and remote access method for virtual database | |
US20100082523A1 (en) | Configuration rule translation mapper | |
CN102253984A (en) | Query sentence processing device and query sentence processing method | |
CN100489860C (en) | Method and apparatus for updating object local attribute to related database | |
US8943472B1 (en) | System and method for directly accessing SAS datasets from a JAVA program | |
CN105335366A (en) | SQL statement processing method and apparatus and server | |
CN103914572A (en) | Database construction system, device and method | |
CN106610861A (en) | Compiling method and device | |
US20140214867A1 (en) | Framework for Generating Programs to Process Beacons | |
CN113608748B (en) | Data processing method, device and equipment for converting C language into Java language | |
CN101866331A (en) | Conversion method and device of XML (Extensible Markup Language) documents of different languages | |
He-ping et al. | Research and implementation of ontology automatic construction based on relational database | |
JP2019519870A (en) | Language controlled system | |
AU2012201466A1 (en) | Code Transformation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |