CN103645895B - Automatic configuration method and cloud compiling system - Google Patents
Automatic configuration method and cloud compiling system Download PDFInfo
- Publication number
- CN103645895B CN103645895B CN201310633512.7A CN201310633512A CN103645895B CN 103645895 B CN103645895 B CN 103645895B CN 201310633512 A CN201310633512 A CN 201310633512A CN 103645895 B CN103645895 B CN 103645895B
- Authority
- CN
- China
- Prior art keywords
- program code
- information
- functional unit
- macrodefinition
- compiling system
- 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
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000013507 mapping Methods 0.000 claims abstract description 37
- 239000000284 extract Substances 0.000 claims description 14
- 238000000605 extraction Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 description 14
- 230000008569 process Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses an automatic configuration method, which is used for avoiding the situation that wrong data is configured to a cloud compiling system during manual configuration and ensuring the stable operation of the cloud compiling system. The method provided by the embodiment of the invention comprises the following steps: the method comprises the steps that a cloud compiling system obtains a standard format file of a program code, wherein the standard format file is generated by macro definition information of the program code; extracting macro definition information in the standard format file; and converting the macro definition information into function element configuration information according to a preset function element mapping table, wherein the function element mapping table contains the relationship between the function element configuration information of the program code and the corresponding macro definition information. The embodiment of the invention also provides a cloud compiling system. The embodiment of the invention can avoid the situation that wrong data is configured to the cloud compiling system during manual configuration, and ensures the stable operation of the cloud compiling system.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to method of automatic configuration and cloud compiling system.
Background technology
Cloud compiling system is a kind of automatic Compiling System, and user can submit demand to according to the configuration item specified
After configuration, automatic caller code compilation goes out the software of correspondence.The operation principle of cloud compiling system is user
Submitting to cloud compiling system after the visual demand apolegamy page selects corresponding demand configuration, cloud compiles
System extracts corresponding Functional Unit configuration information according to the configuration of this demand from Functional Unit data base, and uses
This Functional Unit configuration information and program code mate, and automatically compile out software, and are sent to user.
At present, the common practices of regular maintenance cloud compiling system is that attendant will extract from program code
Macrodefinition information out is manually configured as Functional Unit configuration information, and is saved in cloud compiling system.
But, error and careless mistake can be there is during manual configuration, the data configuration of mistake to cloud may be compiled
In system, it is unfavorable for the stable operation of cloud compiling system.
Summary of the invention
Embodiments provide method of automatic configuration and cloud compiling system, it is possible to avoid manual configuration
Time by the data configuration of mistake to the situation of cloud compiling system, it is ensured that the stable operation of cloud compiling system.
A kind of method of automatic configuration, including:
Obtaining the standard format files of program code, described standard format files is grand by described program code
Definition information generates;
Extract the macrodefinition information in described standard format files;
According to preset Functional Unit mapping table, described macrodefinition information is converted to Functional Unit configuration information, institute
State the pass of Functional Unit configuration information that Functional Unit mapping table comprises program code and corresponding macrodefinition information
System;
Preserve described Functional Unit configuration information.
Alternatively, also include before obtaining the standard format files of program code:
Obtain the program code meeting prerequisite;
Macrodefinition information is extracted from program code;
According to preset code data form, described macrodefinition information is generated standard format files, described mark
Quasiconfiguaration file comprises described macrodefinition information.
Alternatively, also include:
According to preset program code attribute mapping table, described macrodefinition information is set up quick indexing form,
Accessed path between program code attribute and macrodefinition information under described quick indexing charting so that
The macrodefinition information of correspondence is found by program code attribute;
Preserve described quick indexing form.
Alternatively, also include:
According to preset configuration rule, the significant data within cloud compiling system carried out specification, described configuration
Rule include the definition of Functional Unit configuration information, the definition of program code attribute, Functional Unit configuration information it
Between mutual relation, mutual relation between program code attribute, described significant data includes function first wife
Confidence breath, program code attribute.
Alternatively, obtain and meet the program code of prerequisite and specifically include:
Obtain timestamp program code after Preset Time point;
Update the timestamp of described program code.
A kind of cloud compiling system, including:
First acquisition module, for obtaining the standard format files of program code, described standard format files
Generated by the macrodefinition information of described program code;
First extraction module, for extracting the macrodefinition information in described standard format files;
Modular converter, for being converted to function according to preset Functional Unit mapping table by described macrodefinition information
Unit's configuration information, it is grand with corresponding that described Functional Unit mapping table comprises the Functional Unit configuration information of program code
The relation of definition information;
First preserves module, is used for preserving described Functional Unit configuration information.
Alternatively, described cloud compiling system also includes:
Second acquisition module, for obtaining the program code meeting prerequisite;
Second extraction module, for extracting macrodefinition information from program code;
Generation module, for generating reticle according to preset code data form by described macrodefinition information
Formula file, described standard format files comprises described macrodefinition information.
Alternatively, described cloud compiling system also includes:
Set up module, for described macrodefinition information being set up according to preset program code attribute mapping table
Quick indexing form, under described quick indexing charting between program code attribute and macrodefinition information
Accessed path so that found the macrodefinition information of correspondence by program code attribute;
Second preserves module, is used for preserving described quick indexing form.
Alternatively, described cloud compiling system also includes:
Configuration rule module, is used for according to preset configuration rule the significant data within cloud compiling system
Be defined, described configuration rule include the definition of Functional Unit configuration information, the definition of program code attribute,
Mutual relation between mutual relation between Functional Unit configuration information, program code attribute, described important
Data include Functional Unit configuration information, program code attribute.
Alternatively, described second acquisition module specifically includes:
Acquiring unit, for obtaining timestamp program code after Preset Time point;
Updating block, for updating the timestamp of described program code.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In the embodiment of the present invention, cloud compiling system obtains the standard format files of program code, this reticle
Formula file is generated by the macrodefinition information of this program code, extracts the macrodefinition letter in this standard format files
Breath, is converted to Functional Unit configuration information according to preset Functional Unit mapping table by this macrodefinition information, this merit
The Functional Unit configuration information of program code and the relation of corresponding macrodefinition information can be comprised by unit's mapping table, and
Preserve this Functional Unit configuration information.In the embodiment of the present invention, cloud compiling system is by the macrodefinition of program code
Information is converted to Functional Unit configuration information and preserves, and the data of mistake is joined when therefore avoiding manual configuration
Put the situation of cloud compiling system, it is ensured that the stable operation of cloud compiling system.
Accompanying drawing explanation
Fig. 1 is one embodiment flow chart of method of automatic configuration in the embodiment of the present invention;
Fig. 2 is another embodiment flow chart of method of automatic configuration in the embodiment of the present invention;
Fig. 3 is one example structure figure of embodiment of the present invention medium cloud compiling system;
Fig. 4 is another example structure figure of embodiment of the present invention medium cloud compiling system.
Detailed description of the invention
Embodiments provide method of automatic configuration and cloud compiling system, be used for avoiding manual configuration
Time by the data configuration of mistake to the situation of cloud compiling system, it is ensured that the stable operation of cloud compiling system.
Referring to Fig. 1, in the embodiment of the present invention, one embodiment of method of automatic configuration includes:
101, the standard format files of program code is obtained;
When cloud compiling system receives and automatically configures instruction, obtain the standard format files of program code,
This standard format files is generated by the macrodefinition information of this program code.
102, the macrodefinition information in this standard format files is extracted;
Cloud compiling system, after getting the standard format files of program code, extracts this standard format files
In macrodefinition information.
103, according to preset Functional Unit mapping table, this macrodefinition information is converted to Functional Unit configuration information;
After cloud compiling system obtains macrodefinition information, can be grand fixed by this according to preset Functional Unit mapping table
Justice information is converted to Functional Unit configuration information, and this Functional Unit mapping table comprises the Functional Unit configuration of program code
The relation of information and corresponding macrodefinition information.
104, this Functional Unit configuration information is preserved.
After macrodefinition information is converted to Functional Unit configuration information by cloud compiling system, can be by this function first wife
Confidence breath preserves.
In the present embodiment, cloud compiling system obtains the standard format files of program code, this reference format literary composition
Part is generated by the macrodefinition information of this program code, extracts the macrodefinition information in this standard format files,
According to preset Functional Unit mapping table, this macrodefinition information is converted to Functional Unit configuration information, this Functional Unit
Mapping table comprises the Functional Unit configuration information of program code and the relation of corresponding macrodefinition information, and preserves
This Functional Unit configuration information.In the present embodiment, the macrodefinition information of program code is changed by cloud compiling system
For Functional Unit configuration information and preserve, by the data configuration of mistake to cloud volume when therefore avoiding manual configuration
Translate the situation of system, it is ensured that the stable operation of cloud compiling system.
For ease of understanding, below with a specific embodiment to the method for automatic configuration in the embodiment of the present invention
Being described in detail, refer to Fig. 2, in the embodiment of the present invention, another embodiment of method of automatic configuration includes:
201, timestamp program code after Preset Time point is obtained;
Cloud compiling system, after receiving and automatically configuring instruction, can obtain program code, this program code
Timestamp will be after Preset Time point.It is understood that this program code is before performing step
Can be stored in inside cloud compiling system, it is also possible to before obtaining, be uploaded to cloud compiling by other means
System, is not construed as limiting the most herein.
202, the timestamp of this program code is updated;
After cloud compiling system gets program code, update the timestamp of this program code.May be appreciated
It is that, in order to not repeat to process same program code when next time performs and automatically configures, cloud compiles
System can update its timestamp to the program code obtained, and carrys out recognizer code by timestamp.
203, from program code, macrodefinition information is extracted;
Cloud compiling system can extract macrodefinition information from program code.
204, according to preset code data form, this macrodefinition information is generated standard format files;
This macrodefinition information can be generated reference format according to preset code data form by cloud compiling system
File, this standard format files comprises this macrodefinition information.
It should be noted that macrodefinition information is generated standard format files according to this code data form
It is to allow the format specification of standard format files, because macrodefinition information is to have in program code to extract
Come, and program code there may be multiple different form, in order to unify these forms, facilitates cloud to compile
The system of translating uses and manages, it is possible to make standard format files by preset code data form
Format specification unified.
In general, this standard format files can be XML format or the file of JSON form.
205, the standard format files of program code is obtained;
After generating standard format files, cloud compiling system obtains the standard format files of this program code,
This standard format files is generated by the macrodefinition information of this program code.It should be noted that due to standard
After formatted file generates, this reference format can be transmitted by the mode such as external linkage or manual operation
File, therefore cloud compiling system can read the standard format files sent of outside, it is also possible to reads
Take the standard format files of inside, be not construed as limiting the most herein.
206, the macrodefinition information in this standard format files is extracted;
Cloud compiling system extracts the macrodefinition information in this standard format files.
207, according to preset Functional Unit mapping table, this macrodefinition information is converted to Functional Unit configuration information;
After cloud compiling system extracts macrodefinition information, according to preset Functional Unit mapping table by this macrodefinition
Information is converted to Functional Unit configuration information, and this Functional Unit mapping table comprises the Functional Unit configuration letter of program code
Cease the relation with corresponding macrodefinition information.
208, this Functional Unit configuration information is preserved;
This Functional Unit, after macrodefinition information is converted to Functional Unit configuration information, is configured by cloud compiling system
Information preserves.Concrete it may be that Functional Unit configuration information to be saved in the rear number of units of cloud compiling system
According in storehouse, it is also possible to be saved in the appropriate database that cloud compiling system is external.
209, according to preset program code attribute mapping table, this macrodefinition information is set up quick indexing table
Lattice;
After getting macrodefinition information, cloud compiling system can map according to preset program code attribute
This macrodefinition information is set up quick indexing form by table, program code attribute under this quick indexing charting
And the accessed path between macrodefinition information so that found the macrodefinition of correspondence by program code attribute
Information.
210, this quick indexing form is preserved;
After cloud compiling system sets up quick indexing form, by this quick indexing table storage.Specifically can protect
It is stored in the background data base of cloud compiling system, facilitates cloud compiling system call and realize quick indexing next time.
211, according to preset configuration rule, the significant data within cloud compiling system is carried out specification.
Significant data within cloud compiling system can be carried out by cloud compiling system according to preset configuration rule
Specification, this configuration rule includes the definition of Functional Unit configuration information, the definition of program code attribute, function
Mutual relation between unit's configuration information, the mutual relation between program code attribute, this significant data bag
Include Functional Unit configuration information, program code attribute.
It should be noted that the step for that cloud compiling system carrying out specification to the significant data of internal system not
Before restriction any one step in the present embodiment or after any one step.
It addition, in the present embodiment, can add timing execution mechanism, this timing execution mechanism is: cloud
Compiling system performs to automatically configure in predetermined condition repeatedly.It is specifically as follows: after terminating 210
Also include that cloud compiling system judges whether timestamp program code after Preset Time point, if depositing
, then returning and perform 201 to 210, if not existing, then terminating to automatically configure.
For ease of understanding, according to the embodiment described by Fig. 2, below with an actual application scenarios to this
Method of automatic configuration in inventive embodiments is described, in the embodiment of the present invention method of automatic configuration another
Embodiment includes:
Before realizing automatically configuring function, attendant needs cloud compiling system carries out relevant setting,
Including preparatory function unit mapping table, preset code data form, setting unit prerequisite, preset program
Code attribute mapping table, preset configuration rule etc..
Assume that attendant sets cloud compiling system and performed once to automatically configure, in advance at interval of 12 hours every day
The time point put morning on schedule.
So at point on the same day 12, cloud compiling system receives and automatically configures instruction, when reading from data base
Between stab the program code after morning today, if reading unsuccessfully, then notify attendant, if read
Take successfully, then carry out next step.
Cloud compiling system extracts the macrodefinition information of this program code, if extracting unsuccessfully, then notifies to safeguard
Personnel, if extracting successfully, then carry out next step.
Cloud compiling system updates the timestamp of this program code.
Macrodefinition information is generated XML format file according to preset code data form by cloud compiling system.
Cloud compiling system extracts the macrodefinition information in this XML format file, and this macrodefinition information is turned
It is changed to Functional Unit configuration information.Concrete transformation process may is that hypothesis macrodefinition information is for " supporting nothing
Line ", the definition of " supporting language ", query function unit mapping table understand, " supporting wireless " corresponding function unit
" support bluetooth ", " supporting infrared ", " support 3G network ", " supporting LTE ", and " supporting language "
Corresponding function unit " supports Chinese ", " supporting English ", " support Japanese ", " support French ".Then after conversion
The Functional Unit configuration information obtained be respectively " support bluetooth ", " supporting infrared ", " support 3G network ",
" support LTE ", " supporting Chinese ", " supporting English ", " support Japanese ", " support French ".
The Functional Unit configuration information obtained is saved in external appropriate database by cloud compiling system.This reality
Execute in example, specifically will " support bluetooth ", " supporting infrared ", " support 3G network ", " support LTE ",
The data such as " support Chinese ", " supporting English ", " support Japanese ", " support French " are saved in exclusive number
According in storehouse.
It addition, cloud compiling system also sets up and preserve the quick indexing form to macrodefinition information, this is quick
Indexed table exists in background data base, when attendant requires to look up macrodefinition information, and can be from cloud
The human-computer interaction interface quick indexing of compiling system is to corresponding macrodefinition information.
Above method of automatic configuration in the embodiment of the present invention is described, below to the embodiment of the present invention
In cloud compiling system be described, refer to Fig. 3, embodiment of the present invention medium cloud compiling system one enforcement
Example includes:
First acquisition module 301, for obtaining the standard format files of program code, this standard format files
Generated by the macrodefinition information of this program code;
First extraction module 302, for extracting the macrodefinition information in this standard format files;
Modular converter 303, for being converted to function according to preset Functional Unit mapping table by this macrodefinition information
Unit's configuration information, it is grand fixed with corresponding that this Functional Unit mapping table comprises the Functional Unit configuration information of program code
The relation of justice information;
First preserves module 304, is used for preserving this Functional Unit configuration information.
In the present embodiment, the first acquisition module 301 obtains the standard format files of program code, this standard
Formatted file is generated by the macrodefinition information of this program code, and the first extraction module 302 extracts this reticle
Macrodefinition information in formula file, modular converter 303 according to preset Functional Unit mapping table by this macrodefinition
Information is converted to Functional Unit configuration information, and this Functional Unit mapping table comprises the Functional Unit configuration letter of program code
Ceasing the relation with corresponding macrodefinition information, first preserves module 304 preserves this Functional Unit configuration information.
In the present embodiment, the macrodefinition information of program code is converted to Functional Unit configuration information also by cloud compiling system
Preserve, by the situation of the data configuration of mistake to cloud compiling system when therefore avoiding manual configuration, it is ensured that
The stable operation of cloud compiling system.
For ease of understanding, below embodiment of the present invention medium cloud compiling system is further described in more detail,
Referring to Fig. 4, the embodiment of the present invention another embodiment of medium cloud compiling system includes:
First acquisition module 401, for obtaining the standard format files of program code, this standard format files
Generated by the macrodefinition information of this program code;
First extraction module 402, for extracting the macrodefinition information in this standard format files;
Modular converter 403, for being converted to function according to preset Functional Unit mapping table by this macrodefinition information
Unit's configuration information, it is grand fixed with corresponding that this Functional Unit mapping table comprises the Functional Unit configuration information of program code
The relation of justice information;
First preserves module 404, is used for preserving this Functional Unit configuration information.
The present embodiment medium cloud compiling system can further include:
Second acquisition module 405, for obtaining the program code meeting prerequisite;
Second extraction module 406, for extracting macrodefinition information from program code;
Generation module 407, for generating reticle according to preset code data form by this macrodefinition information
Formula file, this standard format files comprises this macrodefinition information;
Set up module 408, for this macrodefinition information being set up according to preset program code attribute mapping table
Quick indexing form, looking between program code attribute and macrodefinition information under this quick indexing charting
Look for path so that found the macrodefinition information of correspondence by program code attribute;
Second preserves module 409, is used for preserving this quick indexing form;
Configuration rule module 410, is used for according to preset configuration rule the important number within cloud compiling system
According to being defined, this configuration rule include the definition of Functional Unit configuration information, the definition of program code attribute,
Mutual relation between mutual relation between Functional Unit configuration information, program code attribute, this important number
According to including Functional Unit configuration information, program code attribute.
In the present embodiment, the second acquisition module 405 specifically may include that
Acquiring unit 4051, for obtaining timestamp program code after Preset Time point;
Updating block 4052, for updating the timestamp of this program code.
In the present embodiment, the acquiring unit 4051 of the second acquisition module 405 obtains timestamp at Preset Time
Program code after Dian, then the updating block 4052 of the second acquisition module 405 updates this program code
Timestamp, the second extraction module 406 extracts macrodefinition information from program code.Generation module 407
According to preset code data form, this macrodefinition information is generated standard format files, this reference format literary composition
Part comprises this macrodefinition information.First acquisition module 401 obtains the reference format that generation module 407 generates
File, this standard format files is generated by the macrodefinition information of this program code, the first extraction module 402
Extracting the macrodefinition information in this standard format files, modular converter 403 maps according to preset Functional Unit
This macrodefinition information is converted to Functional Unit configuration information by table, and this Functional Unit mapping table comprises program code
The relation of Functional Unit configuration information and corresponding macrodefinition information, first preserves module 404 preserves this function
Unit's configuration information.
On the other hand, set up module 408 according to preset program code attribute mapping table, this macrodefinition to be believed
Breath sets up quick indexing form, and second preserves module 409 preserves the quick indexing setting up module 408 foundation
Form.Configuration rule module 410 according to preset configuration rule to the significant data within cloud compiling system
Be defined, this configuration rule include the definition of Functional Unit configuration information, the definition of program code attribute,
Mutual relation between mutual relation between Functional Unit configuration information, program code attribute, this important number
According to including Functional Unit configuration information, program code attribute.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment
Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and
Method, can realize by another way.Such as, device embodiment described above is only shown
Meaning property, such as, the division of this unit, it is only a kind of logic function and divides, actual permissible when realizing
Have other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another and be
Unite, or some features can be ignored, or do not perform.Another point, shown or discussed each other
Coupling and/or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can be electrical, machinery or other form.
This as the unit that separating component illustrates can be or may not be physically separate, as
The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or
Person can also be distributed on multiple NE.Can select according to the actual needs part therein or
All unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list
In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function list
The form of unit realizes.
If this integrated unit realizes using the form of SFU software functional unit and as independent production marketing or
During use, can be stored in a computer read/write memory medium.Based on such understanding, this
Part that prior art is contributed by bright technical scheme the most in other words or this technical scheme complete
Portion or part can embody with the form of software product, and this computer software product is stored in one and deposits
In storage media, including some instructions with so that a computer equipment (can be personal computer, take
Business device, or the network equipment etc.) perform all or part of step of each embodiment the method for the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. the various media that can store program code.
More than being somebody's turn to do, above example only in order to technical scheme to be described, is not intended to limit;To the greatest extent
The present invention has been described in detail by pipe with reference to previous embodiment, and those of ordinary skill in the art should
Understand: the technical scheme described in foregoing embodiments still can be modified by it, or to wherein
Portion of techniques feature carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a method of automatic configuration, it is characterised in that including:
Obtaining the standard format files of program code, described standard format files is grand by described program code
Definition information generates;
Extract the macrodefinition information in described standard format files;
According to preset Functional Unit mapping table, described macrodefinition information is converted to Functional Unit configuration information, institute
State the pass of Functional Unit configuration information that Functional Unit mapping table comprises program code and corresponding macrodefinition information
System;
Preserve described Functional Unit configuration information.
Method the most according to claim 1, it is characterised in that obtain the reference format of program code
Also include before file:
Obtain the program code meeting prerequisite;
Macrodefinition information is extracted from program code;
According to preset code data form, described macrodefinition information is generated standard format files, described mark
Quasiconfiguaration file comprises described macrodefinition information.
Method the most according to claim 1, it is characterised in that also include:
According to preset program code attribute mapping table, described macrodefinition information is set up quick indexing form,
Accessed path between program code attribute and macrodefinition information under described quick indexing charting so that
The macrodefinition information of correspondence is found by program code attribute;
Preserve described quick indexing form.
Method the most according to claim 1, it is characterised in that also include:
According to preset configuration rule, the significant data within cloud compiling system carried out specification, described configuration
Rule include the definition of Functional Unit configuration information, the definition of program code attribute, Functional Unit configuration information it
Between mutual relation, mutual relation between program code attribute, described significant data includes function first wife
Confidence breath, program code attribute.
Method the most according to claim 2, it is characterised in that obtain the program meeting prerequisite
Code specifically includes:
Obtain timestamp program code after Preset Time point;
Update the timestamp of described program code.
6. a cloud compiling system, it is characterised in that including:
First acquisition module, for obtaining the standard format files of program code, described standard format files
Generated by the macrodefinition information of described program code;
First extraction module, for extracting the macrodefinition information in described standard format files;
Modular converter, for being converted to function according to preset Functional Unit mapping table by described macrodefinition information
Unit's configuration information, it is grand with corresponding that described Functional Unit mapping table comprises the Functional Unit configuration information of program code
The relation of definition information;
First preserves module, is used for preserving described Functional Unit configuration information.
Cloud compiling system the most according to claim 6, it is characterised in that described cloud compiling system is also
Including:
Second acquisition module, for obtaining the program code meeting prerequisite;
Second extraction module, for extracting macrodefinition information from program code;
Generation module, for generating reticle according to preset code data form by described macrodefinition information
Formula file, described standard format files comprises described macrodefinition information.
Cloud compiling system the most according to claim 6, it is characterised in that described cloud compiling system is also
Including:
Set up module, for described macrodefinition information being set up according to preset program code attribute mapping table
Quick indexing form, under described quick indexing charting between program code attribute and macrodefinition information
Accessed path so that found the macrodefinition information of correspondence by program code attribute;
Second preserves module, is used for preserving described quick indexing form.
Cloud compiling system the most according to claim 6, it is characterised in that described cloud compiling system is also
Including:
Configuration rule module, is used for according to preset configuration rule the significant data within cloud compiling system
Be defined, described configuration rule include the definition of Functional Unit configuration information, the definition of program code attribute,
Mutual relation between mutual relation between Functional Unit configuration information, program code attribute, described important
Data include Functional Unit configuration information, program code attribute.
Cloud compiling system the most according to claim 7, it is characterised in that described second obtains mould
Block specifically includes:
Acquiring unit, for obtaining timestamp program code after Preset Time point;
Updating block, for updating the timestamp of described program code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310633512.7A CN103645895B (en) | 2013-11-29 | 2013-11-29 | Automatic configuration method and cloud compiling system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310633512.7A CN103645895B (en) | 2013-11-29 | 2013-11-29 | Automatic configuration method and cloud compiling system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103645895A CN103645895A (en) | 2014-03-19 |
CN103645895B true CN103645895B (en) | 2016-12-07 |
Family
ID=50251119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310633512.7A Active CN103645895B (en) | 2013-11-29 | 2013-11-29 | Automatic configuration method and cloud compiling system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103645895B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090779B (en) * | 2014-07-31 | 2017-12-29 | 广州视源电子科技股份有限公司 | Automatic configuration method and cloud compiling system |
CN104090780A (en) * | 2014-07-31 | 2014-10-08 | 广州视源电子科技股份有限公司 | Automatic configuration method and cloud compiling system |
CN106610861B (en) * | 2016-11-14 | 2019-09-03 | 广州视源电子科技股份有限公司 | Compiling method and device |
CN107729047B (en) * | 2017-10-11 | 2020-08-25 | 锐捷网络股份有限公司 | Document generation method and device |
CN112416197B (en) * | 2020-11-23 | 2021-12-03 | 山东师范大学 | Excel and VBA-based program single-step demonstration device and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1477813A (en) * | 2002-08-02 | 2004-02-25 | Method for input order to OMC | |
CN101126981A (en) * | 2007-09-28 | 2008-02-20 | 华为技术有限公司 | Script order registration method, method and device for calling source program code |
WO2013136229A1 (en) * | 2012-03-16 | 2013-09-19 | Koninklijke Philips N.V. | Document creation system and semantic macro editor |
-
2013
- 2013-11-29 CN CN201310633512.7A patent/CN103645895B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1477813A (en) * | 2002-08-02 | 2004-02-25 | Method for input order to OMC | |
CN101126981A (en) * | 2007-09-28 | 2008-02-20 | 华为技术有限公司 | Script order registration method, method and device for calling source program code |
WO2013136229A1 (en) * | 2012-03-16 | 2013-09-19 | Koninklijke Philips N.V. | Document creation system and semantic macro editor |
Non-Patent Citations (1)
Title |
---|
基于SVN的统一协作平台设计与实现;贺自军;《中国优秀硕士学位论文全文数据库 信息科技辑 》;20100315(第3期);第138-259页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103645895A (en) | 2014-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103645895B (en) | Automatic configuration method and cloud compiling system | |
CN108121542B (en) | MyBatis-based SQL statement configuration method and system | |
CN104133772B (en) | Automatic test data generation method | |
CN104899295B (en) | A kind of heterogeneous data source data relation analysis method | |
US20130238988A1 (en) | Computing device and method of supporting multi-languages for application software | |
CN106547729B (en) | A kind of dynamic creation method and system of data sheet | |
CN109542412A (en) | Interface message generation method, device, computer equipment and storage medium | |
CN108280056A (en) | A kind of Excel file analytic method | |
US20150278231A1 (en) | System and method for customizing archive of a device driver generator tool for a user | |
CN105279285A (en) | Synchronization system and method of relation-type database and non-relation-type database | |
CN104424159A (en) | Software project document generating method and software project document generator | |
CN103677821A (en) | Method and device for publishing software development tool code | |
CN108241642B (en) | File analysis method and device | |
CN108536745A (en) | Tables of data extracting method, terminal, equipment and storage medium based on Shell | |
CN108664657A (en) | A kind of big data method for scheduling task, electronic equipment, storage medium and platform | |
CN106294128B (en) | A kind of automated testing method and device exporting report data | |
CN102236573A (en) | Name binding extensibility for typed programming language | |
CN109670129A (en) | A kind of method and device for switching to html web page to be adapted to MIP format | |
CN106776779B (en) | Method for generating entity file by JSON data based on Mac platform | |
CN109558600A (en) | Translation processing method and device | |
CN102521008A (en) | Program compiling device and method for compiling program | |
CN109271448A (en) | It is the data synchronous system and method for platform based on database | |
CN105573972B (en) | The generation method and device of report check formula | |
CN104090780A (en) | Automatic configuration method and cloud compiling system | |
CN104484156A (en) | Editing method for multilingual formula, editing system for multilingual formula and editor for multilingual formula |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |