CN104090778A - Application system environment building method and system - Google Patents

Application system environment building method and system Download PDF

Info

Publication number
CN104090778A
CN104090778A CN201410364020.7A CN201410364020A CN104090778A CN 104090778 A CN104090778 A CN 104090778A CN 201410364020 A CN201410364020 A CN 201410364020A CN 104090778 A CN104090778 A CN 104090778A
Authority
CN
China
Prior art keywords
customization
database
parameter
application system
environmental
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
Application number
CN201410364020.7A
Other languages
Chinese (zh)
Other versions
CN104090778B (en
Inventor
汤东波
张明伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201410364020.7A priority Critical patent/CN104090778B/en
Publication of CN104090778A publication Critical patent/CN104090778A/en
Application granted granted Critical
Publication of CN104090778B publication Critical patent/CN104090778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an application system environment building method. The method includes the steps of environmental parameter customization, wherein parameters needing customization are centralized in a uniform panel, the naming rule of a target environment is determined, and environmental parameter customization is finished by modifying the environmental parameters in the panel and submitting jobs; database resource establishment, wherein the complete set of jobs of database building are automatically generated and comprise table space creating, table and index creating, synonym creating and database object authorizing in the installation process of a database; application program construction, wherein source code conversing, code compiling, target code linking and database binding in the process from source codes to actuating codes are automatically executed. By the utilization of the application system environment building method and system, one-click automatic installation can be achieved and seamlessly integrated with work such as put-out-database and construction of versions, the problem that in a mainframe environment, installation of the application system versions is high in complexity and combined with version management difficultly is solved, the process of environment building can be accelerated, and manual operation risks can be reduced.

Description

A kind of method and system of application system environmental structure
Technical field
The present invention relates to a kind of method that computer application system is disposed, more specifically, relate to a kind of method and system of application system environmental structure.
Background technology
Under hosted environment, the installation of application system is usually directed to numerous work, the customization of the definition of such as database resource, the compiling of code, environmental parameter etc.When an application system relates to the codes that mass data base resource, various different compilings require, when a large amount of customer-oriented requirement, when particularly application system version updating speed is very fast, environmental structure---be that application system installment work will seem very complicated.Especially the linkage work that will guarantee version repository and installment work also becomes very difficult.
In sum, under hosted environment, system is installed has become a not only labor intensive but also make the thing of installation personnel headache, installs in the urgent need to a kind of " one-point type " robotization, thereby under solution hosted environment, that complexity is installed is high for application system version, the problem that is difficult to combination with version management.
Summary of the invention
The present invention is based on the problems referred to above, proposed a kind of method and system of application system environmental structure, support to complete fast the installment work of application system, and dock with version outbound work.
In order to realize foregoing invention object, the method of application system environmental structure proposed by the invention comprises: environmental parameter customization step, the parameter that need to carry out customization concentrates in unified panel, determine the naming rule of targeted environment, complete environmental parameter customization by environmental parameter the submit job revised in described panel; Database resource foundation step, a whole set of operation is built in automatically generated data storehouse, and described a whole set of operation comprises establishment table space, establishment table and index, establishment synonym, the database object mandate in installing DB process; Application builds step, the source code conversion automatically performing from source code to actuating code process, code compilation, object code link, database binding.
As a preferred embodiment of the present invention, described application system environmental structure method, wherein: described environmental parameter customization step is used unified parameter maintenance file, according to the replacement that circulates of described parameter maintenance file, all source strings are replaced with to target string for the All Files inventory that needs customization.
As another preferred embodiment of the present invention, described application system environmental structure method, wherein: described environmental parameter customization step fixes a point accurately to replace for the specific file that needs customization, and all source strings in described specific file are replaced with to target string.
As another preferred embodiment of the present invention, described application system environmental structure method, wherein: described environmental parameter customization step is carried out proprietary replacement for the proprietary file that needs customization according to target string.
A kind of application system environmental structure system that the present invention proposes, comprise: environmental parameter customization module, concentrate on unified panel for the parameter that need to carry out customization, determine the naming rule of targeted environment, complete environmental parameter customization by environmental parameter the submit job revised in described panel; Database resource creation module, builds a whole set of operation for automatically generated data storehouse, and described a whole set of operation comprises establishment table space, establishment table and index, establishment synonym, the database object mandate in installing DB process; Application builds module, for automatically performing source code conversion, code compilation, object code link, the database binding from source code to actuating code process.
As a preferred embodiment of the present invention, described application system environmental structure system, wherein: described environmental parameter customization module, for using unified parameter maintenance file, according to the replacement that circulates of described parameter maintenance file, all source strings are replaced with to target string for the All Files inventory that needs customization.
As another preferred embodiment of the present invention, described application system environmental structure system, wherein: described environmental parameter customization module, accurately replace for fixing a point for the specific file that needs customization, all source strings in described specific file are replaced with to target string.
As another preferred embodiment of the present invention, described application system environmental structure system, wherein: described environmental parameter customization module, for carrying out proprietary replacement for the proprietary file that needs customization according to target string.
Known according to the analysis of technique scheme, the method and system of the application system environmental structure in use the present invention, compared with prior art, have following useful technique effect:
1, realize " one-point type " robotization and install, and seamless integrated with the work such as version outbound, structure, solve application system version under hosted environment the problem that complexity is high and be difficult to combination with version management is installed;
2, can accelerate environmental structure progress, reduce manual operation risk.
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 environmental parameter customization embodiment mono-;
Fig. 4 is the panel of environmental parameter customization embodiment bis-;
Fig. 5 is the panel of environmental parameter customization embodiment tri-;
Fig. 6 is the panel that database resource creates embodiment;
Fig. 7 is the panel of the embodiment of application builds setting program attribute;
Fig. 8 is the explanation of the program attribute shown in Fig. 7;
Fig. 9 is the embodiment of program compilation panel;
Figure 10 is according to the schematic diagram of program attribute modularization assembling compiling operation;
Figure 11 is the embodiment of the panel of environmental parameter customization module; With
Figure 12 is the embodiment of the panel of application builds module.
Specific embodiment
In order to make the present invention clearer, below we in conjunction with the embodiments, with reference to accompanying drawing, the present invention is described in further detail.
Referring to accompanying drawing 1, expression be a kind of application system environmental structure method, specifically comprise:
1. environmental parameter customization step:
The parameter that need to carry out customization concentrates in one " panel ", helps environmental structure personnel to carry out fast and accurately the customization work of environment.Environmental structure personnel, after having determined the naming rule of targeted environment, can complete environmental parameter customization by environmental parameter submit job in amendment " panel ", have saved in a large number the duplication of labour of artificial per-customer basis.
According to the customization demand of different files, the invention provides three kinds of embodiment panels of environmental parameter customization.Be described as follows:
Embodiment mono-, concentrates substitute mode: for parameter replacement large-scale, public, that have typical meaning, adopt the mode of searching loop, carry out customization.
Fig. 3 is the panel of environmental parameter customization embodiment mono-.In panel as shown in Figure 3, provide unified parameter maintenance file, #Source-Str row are source strings of baseline version, and #Target-Str is the character string of targeted environment.When parameter customization, according to the replacement that circulates of this file, all source strings are replaced with to target string for the All Files inventory of wishing customization.
Embodiment bis-, accurately substitute mode: the mode of carrying out customization for the parameter without ubiquity is supplementing the first.Although first kind of way is comprehensive, what but it adopted is the mode of " no matter you have and do not have; done and said ", and this mode is very high for the customization efficiency of general character, still, for the just relatively waste of some fewer customization demand, such as a some file that comprise 1000 son files needs customization, if according to first kind of way, just need to travel through 1000 files, and now only with a file of access.
Fig. 4 is the panel of environmental parameter customization embodiment bis-.In panel as shown in Figure 4, illustrate this file for Members FNSSETVA, fix a point accurately to replace.
Embodiment tri-, proprietary substitute mode: the mode of carrying out customization for some distinctive file, such as database definition statement, because it is peculiar that database definition statement is not applied environment, but there is international standard, therefore, need the content of customization clear and definite, therefore, adopt " no matter you original what, I just so do " mode.
Fig. 5 is the panel of environmental parameter customization embodiment tri-.In panel as shown in Figure 5, only need provide target string to carry out proprietary replacement.
2. database resource foundation step:
The generating database of robotization is built a whole set of operation, and automatically submits to.This step has realized installing DB process and has created the automatic generation of table space, establishment table and index, establishment synonym, a whole set of process job stream of database object mandate, and environmental structure personnel only need to manage database resource inventory can guarantee that the complete of database build.
Build the database module of a set of applied environment, need to create a series of table, and the attribute of every table is special, therefore, table personality that database initialize module has just been prepared a Parameter File, meets by " a series of table "---table inventory, " specific properties of every table "---.
Fig. 6 is the panel that database resource creates embodiment.As shown in Figure 6, database initialize operation is carried out database table definition according to the attribute of the table inventory in Parameter File and every table.
3. application builds step:
Picture with hommization helps the complete application builds work that completes of environmental structure personnel.This step realized from source code to actuating code process the automatically performing of source code conversion, code compilation, object code link, the each step of database binding, environmental structure personnel only need submit the construction work that can complete a whole set of application program to according to the step on picture.
Fig. 7 is the panel of the embodiment of application builds setting program attribute, and Fig. 8 is the explanation of the program attribute shown in Fig. 7, and Fig. 9 is the embodiment of program compilation panel, and Figure 10 is according to the schematic diagram of program attribute modularization assembling compiling operation.
For application program, utilize Parameter File to control.Each application program has a uniquely identified program attribute.Fig. 7 shows every attribute of program BR0000 by name.
Specifically, as shown in Figure 8, known by the uniquely identified program attribute of this program BR0000, source code is deposited path, actuating code is deposited path, program compiling method.Each compiling attribute, specializing is exactly module one by one, such as, source code modular converter, code compilation module, object code link module, database binding module etc.
The invention provides unified program compilation panel, as shown in Figure 9.
Fetch program property file, by uniquely identified program attribute, modularization assembling compiling operation, as shown in figure 10.
Referring to Fig. 2, expression be a kind of application system environmental structure system, specifically comprise:
1, environmental parameter customization module, in this module, the parameter that need to carry out customization concentrates in one " panel ", helps environmental structure personnel to carry out fast and accurately the customization work of environment.Environmental structure personnel, after having determined the naming rule of targeted environment, can complete environmental parameter customization by environmental parameter submit job in amendment " panel ", have saved in a large number the duplication of labour of artificial per-customer basis.The embodiment of described " panel " as shown in figure 11.Wherein:
' Input Dataset Name==> ' represents that input herein needs file or the file of customization;
' Change Parm List==> ' represents to input customization parameter control documents herein.
2, database resource creation module, in this module, the generating database of robotization is built a whole set of operation, and automatically submits to.The automatic generation of table space, establishment table and index, establishment synonym, a whole set of process job stream of database object mandate realized installing DB process and created by this instrument, and environmental structure personnel only need to manage database resource inventory can guarantee that the complete of database build.
3, application builds module, in this module, helps the complete application builds work that completes of environmental structure personnel with the picture of hommization.This instrument realized from source code to actuating code process the automatically performing of source code conversion, code compilation, object code link, the each step of database binding, environmental structure personnel only need submit the construction work that can complete a whole set of application program to according to the step on picture.Figure 12 is the embodiment of the panel of application builds module.
As shown in figure 12, by selecting digital 1-6, fetch program property parameters file, lot size scheduling program compilation module, completes the construction work of all programs, simultaneously the also individual character construction work of support checklist input.
The present invention is under hosted environment, and by environmental parameter customization, creation database resource, builds the steps such as application program, carries out " one-point type " and installs.Like this, can be seamless integrated with the work such as version outbound, structure, solve under hosted environment application system version install complexity high and with the problem that version management is difficult to combination, can also accelerate environmental structure progress, reduce manual operation risk.
The foregoing is only the application's preferred embodiment, to those skilled in the art, the application can have various modifications and variations.Within all inventions in the application spirit and principle, any amendment of making, be equal to replacement, improvement etc., within all should being included in the application's protection domain.

Claims (8)

1. an application system environmental structure method, comprising:
Environmental parameter customization step, the parameter that need to carry out customization concentrates in unified panel, determines the naming rule of targeted environment, completes environmental parameter customization by environmental parameter the submit job revised in described panel;
Database resource foundation step, a whole set of operation is built in automatically generated data storehouse, and described a whole set of operation comprises establishment table space, establishment table and index, establishment synonym, the database object mandate in installing DB process;
Application builds step, the source code conversion automatically performing from source code to actuating code process, code compilation, object code link, database binding.
2. application system environmental structure method as claimed in claim 1, wherein:
Described environmental parameter customization step is used unified parameter maintenance file, according to the replacement that circulates of described parameter maintenance file, all source strings is replaced with to target string for the All Files inventory that needs customization.
3. application system environmental structure method as claimed in claim 1, wherein:
Described environmental parameter customization step fixes a point accurately to replace for the specific file that needs customization, and all source strings in described specific file are replaced with to target string.
4. application system environmental structure method as claimed in claim 1, wherein:
Described environmental parameter customization step is carried out proprietary replacement for the proprietary file that needs customization according to target string.
5. an application system environmental structure system, comprising:
Environmental parameter customization module, concentrates on unified panel for the parameter that need to carry out customization, determines the naming rule of targeted environment, completes environmental parameter customization by environmental parameter the submit job revised in described panel;
Database resource creation module, builds a whole set of operation for automatically generated data storehouse, and described a whole set of operation comprises establishment table space, establishment table and index, establishment synonym, the database object mandate in installing DB process;
Application builds module, for automatically performing source code conversion, code compilation, object code link, the database binding from source code to actuating code process.
6. application system environmental structure system as claimed in claim 5, wherein:
Described environmental parameter customization module, for using unified parameter maintenance file, according to the replacement that circulates of described parameter maintenance file, replaces with target string by all source strings for the All Files inventory that needs customization.
7. application system environmental structure system as claimed in claim 5, wherein:
Described environmental parameter customization module, accurately replaces for fixing a point for the specific file that needs customization, and all source strings in described specific file are replaced with to target string.
8. application system environmental structure system as claimed in claim 5, wherein:
Described environmental parameter customization module, for carrying out proprietary replacement for the proprietary file that needs customization according to target string.
CN201410364020.7A 2014-07-28 2014-07-28 A kind of method and system of application system environmental structure Active CN104090778B (en)

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 true CN104090778A (en) 2014-10-08
CN104090778B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407125A (en) * 2016-11-15 2017-02-15 中国银行股份有限公司 Mainframe environment detection method and device

Citations (8)

* Cited by examiner, † Cited by third party
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
US20120110558A1 (en) * 2010-10-29 2012-05-03 Microsoft Corporation Customized binaries on-the-fly
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
US20120110558A1 (en) * 2010-10-29 2012-05-03 Microsoft Corporation Customized binaries on-the-fly
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)

* Cited by examiner, † Cited by third party
Title
徐志伟等: "批处理实现机房计算机名、IP地址快速配置", 《福建电脑》 *
段智敏等: "NCRE网络考试环境的快速设置", 《湖南科技学院学报》 *
沈卫星: "FTP Serv-U用户帐号的批量设置", 《电脑与电信》 *
黄向农等: "利用VBS批量创建SecureCRT配置文件的方法", 《电脑知识与技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407125A (en) * 2016-11-15 2017-02-15 中国银行股份有限公司 Mainframe environment detection method and device
CN106407125B (en) * 2016-11-15 2019-02-05 中国银行股份有限公司 Mainframe environment detection method and device

Also Published As

Publication number Publication date
CN104090778B (en) 2017-08-01

Similar Documents

Publication Publication Date Title
CN105447643B (en) Scientific workflow system and method for cloud computing platform
US10402173B2 (en) Systems and methods for arbitrary software logic modeling
CN101533349B (en) Platform-related model of large-granularity components and method of automatic code generation thereof
CN103049251B (en) A kind of data base persistence layer device and database operation method
CN103135976A (en) Code automatic generation method and device
CN105094818A (en) Construction method and system for comprehensive application of natural resources based on SOA
CN102368216A (en) Process implementation method based on automatic project building
Merkle Textual modeling tools: overview and comparison of language workbenches
EP2510433B1 (en) Canonicalized versions of reuse candidates in graphical state diagrams
CN103903086A (en) Method and system for developing management information system based on service model driving
CN103777944A (en) MIPS platform integrated development environment based on Eclipse and implementation method thereof
CN101859244A (en) Multi-toolchain engineering construction method and system
CN104679511A (en) Method for generating MapReduce codes based on MDE (Model-Driven Engineering) model transformation
CN105447246A (en) Method and system for generating electrical principle diagram through one key
CN107368657B (en) Production resource rapid configuration method based on process simulation
CN102609252A (en) Intelligent configuration method for logic menu resources on basis of measurement instruments
CN106528150A (en) Development method and development platform of J2EE projects
CN104679932A (en) Intelligent electric power engineering design method and system
CN105468428A (en) Android source code compiling method and system
CN105893591A (en) Intelligent compiling technology of data sharing service
Cai et al. A pattern-based code transformation approach for cloud application migration
CN111142862A (en) System and method for automatically generating code
CN103645888A (en) System and method for automatically building operation system
CN1329818C (en) Implement method of the man machine command based on plain text command script files
CN103197932A (en) Component business model for developing application of modeless documental database

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