CN104090778B - A kind of method and system of application system environmental structure - Google Patents
A kind of method and system of application system environmental structure Download PDFInfo
- Publication number
- CN104090778B CN104090778B CN201410364020.7A CN201410364020A CN104090778B CN 104090778 B CN104090778 B CN 104090778B CN 201410364020 A CN201410364020 A CN 201410364020A CN 104090778 B CN104090778 B CN 104090778B
- Authority
- CN
- China
- Prior art keywords
- customization
- database
- parameter
- ambient parameter
- environmental structure
- 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
Abstract
Include the invention discloses a kind of method of application system environmental structure:Ambient parameter customization step, it would be desirable to which the parameter for carrying out customization is concentrated in unified panel, determines the naming rule of target environment, ambient parameter customization is completed by changing the ambient parameter in the panel and submitting operation;A whole set of operation is built in database resource foundation step, automatically generated data storehouse, and a whole set of operation includes the establishment table space during installing DB, establishment table and index, establishment synonym, database object mandate;Application builds step, source code conversion, code compilation, object code link during performing automatically from source code to actuating code, database binding.The method and system of the application system environmental structure provided using the present invention, " one-point type " automation installation can be realized, and with the work Seamless integration- such as version outbound, structure, solve the problem of application system version under hosted environment installs complexity height and is difficult to combine with version management, environmental structure progress can be accelerated, artificial operational risk is reduced.
Description
Technical field
The present invention relates to a kind of method of computer application system deployment, more particularly to a kind of application system environment
The method and system built.
Background technology
The installation of application system is usually directed to numerous work under hosted environment, the definition of such as database resource, code
Compiling, customization of ambient parameter etc..When the generation that an application system is related to mass data base resource, various different compilings are required
Code, during substantial amounts of customer-oriented requirement, particularly application system version updating speed quickly when, environmental structure --- i.e. application system
Installment work will seem sufficiently complex.Especially to ensure the linkage work of version repository and installment work also becomes very difficult.
In summary, under hosted environment, system, which is installed, to be had become one and not only labor intensive but also had made installation personnel headache
Thing, in the urgent need to a kind of " one-point type " automation is installed, so that solving application system version under hosted environment installs complicated
Degree is high, the problem of being difficult to combine with version management.
The content of the invention
The present invention is based on above mentioned problem, it is proposed that a kind of method and system of application system environmental structure, supports quick
The installment work of application system is completed, and is docked with version outbound work.
In order to realize foregoing invention purpose, the method for application system environmental structure proposed by the invention includes:Environment is joined
Number customization step, it would be desirable to which the parameter for carrying out customization is concentrated in unified panel, is determined the naming rule of target environment, is led to
Cross the ambient parameter changed in the panel and submit operation to complete ambient parameter customization;Database resource foundation step,
A whole set of operation is built in automatically generated data storehouse, and a whole set of operation includes the establishment table space during installing DB, establishment
Table and index, establishment synonym, database object mandate;Application builds step, is performed from source code to actuating code mistake automatically
Source code conversion, code compilation, object code link in journey, database binding.
As the present invention a preferred embodiment, described application system environmental structure method, wherein:The environment
Parameter customization step uses unified parameter maintenance file, for needing the All Files inventory of customization according to the parameter
Maintenance documentation carries out circulation replacement, and all source strings are replaced with into target string.
As the present invention another preferred embodiment, described application system environmental structure method, wherein:The ring
Border parameter customization step is for needing the specific file of customization to carry out pinpointing accurate replacement, by the institute in the specific file
There is source string to replace with target string.
As the present invention another preferred embodiment, described application system environmental structure method, wherein:The ring
Border parameter customization step is for needing the proprietary file of customization to be replaced according to target string progress is proprietary.
A kind of application system environmental structure system proposed by the present invention, including:Ambient parameter customization module, for need to
The parameter for carrying out customization is concentrated in unified panel, the naming rule of target environment is determined, by changing in the panel
Ambient parameter and operation is submitted to complete ambient parameter customization;Database resource creation module, for automatically generated data
A whole set of operation is built in storehouse, and a whole set of operation includes the establishment table space during installing DB, establishment table and index, establishment
Synonym, database object mandate;Application builds module, for performing automatically from source code to actuating code during source code
Conversion, code compilation, object code link, database binding.
As the present invention a preferred embodiment, described application system environmental structure system, wherein:The environment
Parameter customization module, for using unified parameter maintenance file, for needing the All Files inventory of customization according to institute
State parameter maintenance file and carry out circulation replacement, all source strings are replaced with into target string.
As the present invention another preferred embodiment, described application system environmental structure system, wherein:The ring
Border parameter customization module, for for needing the specific file of customization to carry out pinpointing accurate replacement, by the specific file
In all source strings replace with target string.
As the present invention another preferred embodiment, described application system environmental structure system, wherein:The ring
Border parameter customization module, for for needing the proprietary file of customization to be replaced according to target string progress is proprietary.
It can be seen from the analysis of above-mentioned technical proposal, using the application system environmental structure in the present invention method and be
System, compared with prior art, with following beneficial technique effect:
1st, realize that " one-point type " automation is installed, and with the work Seamless integration- such as version outbound, structures, solution hosted environment
The problem of lower application system version installs complexity height and is difficult to combine with version management;
2nd, environmental structure progress can be accelerated, artificial operational risk is reduced.
Brief description of the drawings
Fig. 1 is the method flow of application system environmental structure;
Fig. 2 is the system architecture of application system environmental structure;
Fig. 3 is the panel of ambient parameter customization embodiment one;
Fig. 4 is the panel of ambient parameter customization embodiment two;
Fig. 5 is the panel of ambient parameter customization embodiment three;
Fig. 6 is the panel that database resource creates embodiment;
Fig. 7 is the panel for the embodiment that application builds set program attribute;
Fig. 8 is the explanation of the program attribute shown in Fig. 7;
Fig. 9 is the embodiment that program compiles panel;
Figure 10 is the schematic diagram that operation is compiled according to program attribute modularization assembling;
Figure 11 is the embodiment of the panel of ambient parameter customization module;With
Figure 12 is the embodiment of the panel of application builds module.
Specific embodiment
In order that the present invention is more clearly understood, below we in conjunction with the embodiments, referring to the drawings, the present invention is done further
Detailed description.
Referring to accompanying drawing 1, expression is a kind of application system environmental structure method, is specifically included:
1. ambient parameter customization step:
The parameter for needing to carry out customization is concentrated in one " panel ", helps environmental structure personnel quick and accurate
Carry out the customization work of environment.Environmental structure personnel are after the naming rule of target environment is determined, by changing " face
Ambient parameter in plate " simultaneously submits operation to complete ambient parameter customization, largely eliminates the weight of artificial per-customer basis
Multiple work.
According to the customization demand of different files, the invention provides the three of ambient parameter customization kind embodiment panel.
It is described as follows:
Embodiment one, concentrates substitute mode:Replaced for parameter that is large-scale, public, having typical meaning, using following
The mode of ring traversal, carries out customization.
Fig. 3 is the panel of ambient parameter customization embodiment one.There is provided unified parameter dimension in panel as shown in Figure 3
File is protected, #Source-Str row are the source strings of baseline version, and #Target-Str is the character string of target environment.Parameter visitor
During family, the All Files inventory for wishing customization replaces all source strings according to this document progress circulation replacement
For target string.
Embodiment two, accurate substitute mode:The mode of customization is carried out for the parameter without generality, is to first
The supplement planted.Although first way is comprehensively, it uses the mode of " no matter you either with or without done and said again ", this
Mode is very high for the customization efficiency of general character, still, just compares waste for some fewer customization demands, such as
Say, some file comprising 1000 subfiles needs customization, if according to first way, it is necessary to travel through
1000 files, and now only with one file of access.
Fig. 4 is the panel of ambient parameter customization embodiment two.In panel as shown in Figure 4, illustration is directed to
This file of Members FNSSETVA, progress pinpoints accurate replacement.
Embodiment three, proprietary substitute mode:The mode of customization is carried out for some distinctive files, such as database is determined
Adopted sentence, because database definition statement is not specific to application environment, but with international standard, therefore, need
Want the content of customization clearly, therefore, using " no matter you it is original what, I just does so " mode.
Fig. 5 is the panel of ambient parameter customization embodiment three.In panel as shown in Figure 5, only target character need to be provided
String carries out proprietary replace.
2. database resource foundation step:
The a whole set of operation of the generation database building of automation, and submit automatically.The step realizes installing DB process
Table space, establishment table and index are created, synonym, a whole set of processing operations stream of database object mandate is created and automatically generates,
Environmental structure personnel only need to have managed database resource inventory and can ensure that the complete of database is built.
The database module of a set of application environment is built, it is necessary to create a series of table, and the attribute of every table is special
, therefore, database creation module has been ready for a Parameter File, to meet " a series of table " --- table inventory, " every
The specific properties of table " --- table personality.
Fig. 6 is the panel that database resource creates embodiment.As shown in fig. 6, database creates operation according to Parameter File
In table inventory and the attribute of every table carry out database table definition.
3. application builds step:
The completion application builds work of environmental structure personnel completely is helped with the picture of hommization.The step is realized
Source code conversion, code compilation, object code link, the automatic execution of each step of database binding during from source code to actuating code,
Environmental structure personnel, which only according to the step prompting on picture need to submit, can complete the construction work of a whole set of application program.
Fig. 7 is the panel for the embodiment that application builds set program attribute, and Fig. 8 is the program attribute shown in Fig. 7
Explanation, Fig. 9 be program compile panel embodiment, and Figure 10 be according to program attribute modularization assembling compile operation signal
Figure.
For application program, it is controlled using Parameter File.Each application program has the journey of a unique mark
Sequence attribute.Fig. 7 shows the entitled BR0000 of a program every attribute.
Specifically, as shown in figure 8, the program attribute of the unique mark by program BR0000, source code storage
Path, actuating code storage path, program compiling method.Each compiling attribute, embodies that to get up be exactly module one by one, such as
Say, source code modular converter, code compilation module, object code link module, database binding module etc..
Panel is compiled the invention provides unified program, as shown in Figure 9.
Reading program property file, passes through the program attribute of unique mark, modularization assembling compiling operation, such as Figure 10 institutes
Show.
Referring to Fig. 2, expression is a kind of application system environmental structure system, is specifically included:
1st, ambient parameter customization module, in the module, it would be desirable to which the parameter for carrying out customization concentrates on " a face
In plate ", environmental structure personnel are helped quickly and accurately to carry out the customization work of environment.Environmental structure personnel are determining mesh
After the naming rule for marking environment, by changing the ambient parameter in " panel " and submitting operation to complete ambient parameter client
Change, largely eliminate the duplication of labour of artificial per-customer basis.The embodiment of " panel " is as shown in figure 11.Wherein:
' Input Dataset Name==>' represent that input needs the file or file of customization herein;
' Change Parm List==>' represent to input customization state modulator file herein.
2nd, database resource creation module, in the module, a whole set of operation of generation database building of automation, and automatically
Submit.The instrument realizes installing DB process and creates table space, establishment table and index, creates synonym, database object
Authorize automatically generating for a whole set of processing operations stream, environmental structure personnel, which only need to have managed database resource inventory, can ensure that
The complete of database is built.
3rd, application builds module, in the module, complete complete of environmental structure personnel is helped with the picture of hommization
Into application builds work.Source code conversion, code compilation, object code chain during the instrument is realized from source code to actuating code
Connect, the automatic execution of each step of database binding, environmental structure personnel need to only be submitted i.e. according to the step on picture
The construction work of a whole set of application program can be completed.Figure 12 is the embodiment of the panel of application builds module.
As shown in figure 12, by selection numeral 1-6, reading program property parameters file, lot size scheduling program compiled module,
The construction work of all programs is completed, while the also individual character construction work of support checklist input.
The present invention is under hosted environment, by ambient parameter customization, creates database resource, builds the step such as application program
Suddenly, installed to carry out " one-point type ".So, it can solve to apply under hosted environment with the work Seamless integration- such as version outbound, structure
The problem of system version installs complexity height and is difficult to combine with version management, additionally it is possible to accelerate environmental structure progress, reduce
Artificial operational risk.
The preferred embodiment of the application is the foregoing is only, to those skilled in the art, the application can be with
There are various modifications and variations.It is all present invention spirit and principle within, any modification, equivalent substitution and improvements done
Deng should be included within the protection domain of the application.
Claims (8)
1. a kind of application system environmental structure method, including:
Ambient parameter customization step, it would be desirable to which the parameter for carrying out customization is concentrated in unified panel, determines target environment
Naming rule, ambient parameter customization is completed by changing the ambient parameter in the panel and submitting operation;
A whole set of operation is built in database resource foundation step, automatically generated data storehouse, and a whole set of operation includes installing DB
During establishment table space, create table and index, create synonym, database object mandate, database creates operation foundation
The attribute of table inventory and every table in customization Parameter File carries out database table definition;
Application builds step, the source code conversion during performing automatically from source code to actuating code, code compilation, object code chain
Connect, database binding.
2. application system environmental structure method as claimed in claim 1, wherein:
The ambient parameter customization step uses unified parameter maintenance file, the All Files inventory for needing customization
Circulation replacement is carried out according to the parameter maintenance file, all source strings are replaced with into target string.
3. application system environmental structure method as claimed in claim 1, wherein:
The ambient parameter customization step, will be described specific for needing the specific file of customization to carry out pinpointing accurate replacement
All source strings in file replace with target string.
4. application system environmental structure method as claimed in claim 1, wherein:
The ambient parameter customization step is for needing the proprietary file of customization to be replaced according to target string progress is proprietary.
5. a kind of application system environmental structure system, including:
Ambient parameter customization module, for the parameter for carrying out customization will to be needed to concentrate in unified panel, determines target ring
The naming rule in border, ambient parameter customization is completed by changing the ambient parameter in the panel and submitting operation;
Database resource creation module, a whole set of operation is built for automatically generated data storehouse, and a whole set of operation includes database
Establishment table space, establishment table and index in installation process, establishment synonym, database object mandate, database create operation
Attribute according to the table inventory in customization Parameter File and every table carries out database table definition;
Application builds module, for performing automatically from source code to actuating code during source code conversion, code compilation, target
Code link, database binding.
6. application system environmental structure system as claimed in claim 5, wherein:
The ambient parameter customization module, for using unified parameter maintenance file, all texts for needing customization
Part inventory carries out circulation replacement according to the parameter maintenance file, and all source strings are replaced with into target string.
7. application system environmental structure system as claimed in claim 5, wherein:
The ambient parameter customization module, for for needing the specific file of customization to carry out pinpointing accurate replacement, by institute
All source strings stated in specific file replace with target string.
8. application system environmental structure system as claimed in claim 5, wherein:
The ambient parameter customization module, for proprietary for needing the proprietary file of customization to be carried out according to target string
Replace.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410364020.7A CN104090778B (en) | 2014-07-28 | 2014-07-28 | A kind of method and system of application system environmental structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410364020.7A CN104090778B (en) | 2014-07-28 | 2014-07-28 | A kind of method and system of application system environmental structure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104090778A CN104090778A (en) | 2014-10-08 |
CN104090778B true CN104090778B (en) | 2017-08-01 |
Family
ID=51638497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410364020.7A Active CN104090778B (en) | 2014-07-28 | 2014-07-28 | A kind of method and system of application system environmental structure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104090778B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407125B (en) * | 2016-11-15 | 2019-02-05 | 中国银行股份有限公司 | Mainframe environment detection method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1742268A (en) * | 2002-12-20 | 2006-03-01 | 诺基亚公司 | Automated bulk configuration of network devices |
CN1848787A (en) * | 2006-04-30 | 2006-10-18 | 西安交通大学 | Automatic fast dispositioning method for aggregated server system node |
CN101262376A (en) * | 2008-04-21 | 2008-09-10 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN101789886A (en) * | 2009-01-23 | 2010-07-28 | 中兴通讯股份有限公司 | Environment setup automation system of distribution type environment and method |
CN101854400A (en) * | 2010-06-09 | 2010-10-06 | 中兴通讯股份有限公司 | Database synchronization deployment and monitoring method and device |
CN103546341A (en) * | 2013-10-14 | 2014-01-29 | 广东电网公司信息中心 | Automatic setup method of test environment |
CN103902542A (en) * | 2012-12-25 | 2014-07-02 | 百度在线网络技术(北京)有限公司 | Operating and maintaining method and system of database in testing environment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120110558A1 (en) * | 2010-10-29 | 2012-05-03 | Microsoft Corporation | Customized binaries on-the-fly |
-
2014
- 2014-07-28 CN CN201410364020.7A patent/CN104090778B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1742268A (en) * | 2002-12-20 | 2006-03-01 | 诺基亚公司 | Automated bulk configuration of network devices |
CN1848787A (en) * | 2006-04-30 | 2006-10-18 | 西安交通大学 | Automatic fast dispositioning method for aggregated server system node |
CN101262376A (en) * | 2008-04-21 | 2008-09-10 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN101789886A (en) * | 2009-01-23 | 2010-07-28 | 中兴通讯股份有限公司 | Environment setup automation system of distribution type environment and method |
CN101854400A (en) * | 2010-06-09 | 2010-10-06 | 中兴通讯股份有限公司 | Database synchronization deployment and monitoring method and device |
CN103902542A (en) * | 2012-12-25 | 2014-07-02 | 百度在线网络技术(北京)有限公司 | Operating and maintaining method and system of database in testing environment |
CN103546341A (en) * | 2013-10-14 | 2014-01-29 | 广东电网公司信息中心 | Automatic setup method of test environment |
Non-Patent Citations (4)
Title |
---|
FTP Serv-U用户帐号的批量设置;沈卫星;《电脑与电信》;20080131;第57-59页 * |
NCRE网络考试环境的快速设置;段智敏等;《湖南科技学院学报》;20051130;第26卷(第11期);第168-170页 * |
利用VBS批量创建SecureCRT配置文件的方法;黄向农等;《电脑知识与技术》;20130930;第9卷(第25期);第5576-5579页 * |
批处理实现机房计算机名、IP地址快速配置;徐志伟等;《福建电脑》;20130228(第2期);第174-175页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104090778A (en) | 2014-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103135976B (en) | code automatic generation method and device | |
US10402173B2 (en) | Systems and methods for arbitrary software logic modeling | |
CN1928816A (en) | Model drive for embedded system software and component development method | |
Cleland-Huang et al. | A persona-based approach for exploring architecturally significant requirements in agile projects | |
Scheller et al. | Increasing the reliability of ecological models using modern software engineering techniques | |
CN103903086A (en) | Method and system for developing management information system based on service model driving | |
CN103942099A (en) | Parallel task execution method and device based on Hive | |
CN103049251A (en) | Database persistent layer device and database operation method | |
Sorgalla et al. | AjiL: enabling model-driven microservice development | |
Khmelevsky et al. | Automatic code generation within student's software engineering projects | |
CN104090778B (en) | A kind of method and system of application system environmental structure | |
Andersson | Variability and customization of simulator products: A product line approach in model based systems engineering | |
Zheng et al. | Xscan: an integrated tool for understanding open source community-based scientific code | |
Ahmed et al. | Development of CAVLAB—A Control-Oriented MATLAB Based Simulator for an Underground Coal Gasification Process | |
Schiavi et al. | A VR training scenario editor for operation in construction based on BIM 4D and domain expert authoring | |
CN107025110B (en) | Temporal modeling method based on software development elements and relations among elements | |
CN116107555A (en) | GUI model driven low-code platform based on energy industry and use method | |
Bendisposto et al. | Developing Camille, a text editor for Rodin | |
Buschhaus et al. | Lessons learned from applying model-driven engineering in 5 domains: The success story of the MontiGem generator framework | |
Maruna et al. | The business process transformation framework implementation through metamodel extension | |
Oliveira et al. | Model driven testing for cloud computing | |
Bourdon et al. | Model‐based architecting evaluation method for the delivery of complex nuclear projects | |
Silva Filho et al. | Strategies reported in the literature to migrate to microservices based architecture | |
Okamoto et al. | Towards an intelligent software tool for enhanced model interoperability in climate change research | |
Sevinchan et al. | Boosting group-level synergies by using a shared modeling framework |
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 |