CN103970579A - Application version deploying method and application version deploying device - Google Patents

Application version deploying method and application version deploying device Download PDF

Info

Publication number
CN103970579A
CN103970579A CN201410236378.1A CN201410236378A CN103970579A CN 103970579 A CN103970579 A CN 103970579A CN 201410236378 A CN201410236378 A CN 201410236378A CN 103970579 A CN103970579 A CN 103970579A
Authority
CN
China
Prior art keywords
environment
file
application version
type
executable code
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
CN201410236378.1A
Other languages
Chinese (zh)
Other versions
CN103970579B (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 CN201410236378.1A priority Critical patent/CN103970579B/en
Publication of CN103970579A publication Critical patent/CN103970579A/en
Application granted granted Critical
Publication of CN103970579B publication Critical patent/CN103970579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application of the invention discloses an application version deploying method and an application version deploying device. The deploying method comprises the following steps: compiling in a building environment of a mainframe computer to generate an application version; finding a corresponding operation mode according to the type of a file in the application version; according to the practical situation of a target environment, processing the file in the found operation mode, thereby enabling the application version to become effective in the target environment, wherein the target environment refers to another logic environment which is located at the same logic partition together with the building environment. By virtue of the technical scheme disclosed by the application, the human resources can be saved and the deploying efficiency can be enhanced.

Description

Application version dispositions method and device
Technical field
The application relates to field of computer technology, particularly relates to a kind of application version dispositions method and device.
Background technology
Mainframe (being called again large scale computer, main frame, mainframe computer etc.) refers to and uses special-purpose processor instruction set, operating system and application software, for the treatment of the machine of Large Volume Data.Mainframe PC, server or the minicomputer common from us is different, its operating system also differs widely with common Windows, Linux or UNIX operating system, and operation middleware, database software, application software thereon also has uniqueness.The performances such as the data-handling capacity of mainframe, reliability, security are all good than common computer.Therefore, mainframe has been dispersed throughout global numerous large enterprise at present, is widely used in the industries such as bank, security, insurance, telecommunications, aviation.Such as: bank all adopts mainframe to build core information system.
At present, when new application version being installed in mainframe or upgrading original application version, all need professional and technical personnel's each this application version of logic environment middle part administration on this main frame, professional and technical personnel's application deployment version needs one by one file to record one by one to process, cause the efficiency of application deployment version low, and this deployment way is higher to professional and technical personnel's technical requirement.
Because mainframe is professional very strong, the talent is less for mainframe professional technique, causes that the human cost of current this artificial deployment way is higher and manual operation speed is lower.Therefore, in mainframe application, how to realize the difficult problem that low cost, two-forty ground application deployment version become mainframe widespread use.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of application version dispositions method and device, in order to realize the robotization of application version, dispose, the mode that this robotization is disposed operates without professional and technical personnel, can in mainframe, realize low-cost, application version deployment expeditiously. 
First aspect, the embodiment of the present invention provides a kind of application version dispositions method, and described method comprises:
Under the constructing environment of mainframe, compiling generates application version;
According to the type of file in described application version, search corresponding mode of operation;
According to the actual conditions of targeted environment, utilize the mode of operation of searching to process file, so that described application version comes into force under described targeted environment, described targeted environment refers to and described constructing environment other logic environment in same logical partition.
Preferably, described targeted environment comprises: assembling test environment, System Integration Test environment, automatic test environment or Training Environment.
Preferably, the described type according to file in described application version is searched corresponding mode of operation, comprising:
According to the type of the suffix name identification file of file in described application version, the type of described file comprises: executable code, job stream, script or parameter;
In the mapping table of preserving in advance, according to the type of identified file, search the mode of operation corresponding with it, described mode of operation comprises: copy, resource increase or deletion or change, customization or online executable code come into force.
Preferably, described according to the actual conditions of targeted environment, utilize the mode of operation of searching to process file, comprising:
When the type of described file is executable code, first by file copy to described targeted environment, then realize online executable code and come into force;
When the type of described file is job stream, first by file copy to described targeted environment, then carry out customization processing according to targeted environment;
When the type of described file is script, first by file copy to described targeted environment, then according to targeted environment, carry out customization processing and resource and increase or delete or change is processed;
When the type of described file is parameter, by file copy to described targeted environment.
Preferably, the described generation application version that compiles under the constructing environment of mainframe, comprising:
To the program source code from development environment warehouse-in, need the part compiling of compiling to generate executable code;
By described executable code and do not need compiling program source code be packaged into an application version.
Second aspect, the embodiment of the present invention provides a kind of application version deployment devices, and described device comprises:
Compilation unit, generates application version for compiling under the constructing environment of mainframe;
Search unit, for searching corresponding mode of operation according to the type of described application version file;
Deployment unit, be used for according to the actual conditions of targeted environment, utilize the mode of operation of searching to process file, so that described application version comes into force under described targeted environment, described targeted environment refers to and described constructing environment other logic environment in same logical partition.
Preferably, described targeted environment comprises: assembling test environment, System Integration Test environment, automatic test environment or Training Environment.
Preferably, described in, searching unit comprises:
Recognin unit, for identify the type of file according to the suffix name of described application version file, the type of described file comprises: executable code, job stream, script or parameter;
Search subelement, for the mapping table preserving in advance, according to the type of identified file, search the mode of operation corresponding with it, described mode of operation comprises: copy, resource increase or deletion or change, customization or online executable code come into force.
Preferably, described deployment unit comprises:
First disposes subelement, while being executable code for the type when described file, first by file copy described targeted environment extremely, then realizing online executable code and comes into force;
Second disposes subelement, while being job stream for the type when described file, first by file copy described targeted environment extremely, then carries out customization processing according to targeted environment;
The 3rd disposes subelement, while being script for the type when described file, first by file copy to described targeted environment, then carry out customization processing and resource increases or deletes or change processing according to targeted environment;
The 4th disposes subelement, while being parameter for the type when described file, by file copy described targeted environment extremely.
Preferably, described compilation unit comprises:
Compiling subelement, for needing the program source code from development environment warehouse-in the part compiling of compiling to generate executable code;
Packing subelement, for by described executable code with do not need the program source code compiling to be packaged into an application version. 
The technical scheme that the embodiment of the present application provides, under the constructing environment of mainframe, compiling generates application version; According to the type of file in described application version, search corresponding mode of operation; According to the actual conditions of targeted environment, utilize the mode of operation of searching to process file, so that described application version comes into force under described targeted environment, described targeted environment refers to and described constructing environment other logic environment in same logical partition.This scheme, by document classification in application version, has set in advance every kind of mode of operation that file type is corresponding, and when needs are disposed, only need call corresponding mode of operation according to the type of file realizes deployment.Whole process all, without professional and technical personnel's participation, has been saved human cost, and procedure treatment has improved deployment efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, the accompanying drawing the following describes is only some embodiment that record in the application, for those of ordinary skills, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of embodiment of the present invention application version dispositions method;
Fig. 2 is the application scenarios figure of embodiment of the present invention application version dispositions method;
Fig. 3 is the structural drawing of embodiment of the present invention application version deployment devices.
Embodiment
In order to make those skilled in the art person understand better the technical scheme in the present invention, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is carried out to clear, complete description, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain, should belong to the scope of protection of the invention.
Consult Fig. 1, the process flow diagram of the embodiment of the present invention application version dispositions method illustrating, described method comprises:
Step 101, under the constructing environment of mainframe, compiling generates application version.
First, the carrier mainframe of realizing of the present embodiment is introduced.
From physical angle, say, large scale computer architecture can be divided two kinds of unit structure and multimachine structures, and multimachine structure connects many mainframes by coupling technique and form, and multimachine structure can be regarded the large scale computer of a higher configuration as.
No matter from logical perspective, say, be unit or multimachine structure, can or be divided into a plurality of logical partitions as a logical partition.Shared processing device between different logical partitions, but storer is monopolized, that is to say that each logical partition has independently data storage and data operation, Different Logic subregion can concurrent working and is independent of each other, each other can be by network communication, and not directly across regional addressing, therefore, each logical partition can be regarded the large scale computer of a platform independent as.Same logical partition shared processing device and storer.
For same logical partition, again a plurality of application systems can be installed simultaneously, we can regard a product as application system of putting into serial production use.Different application systems can be the application version of diverse product, can be the different application example of same product (as the Asia-Pacific example of overseas core system, Europe-Africa example etc.), can be the different application version of same product, can be also each stage (exploitation, structure, assembling, test, examination, operation etc.) of the residing exploitation of same application version.On logic level, these application systems are completely independently, have independently data and arithmetic logic, and on physical layer, are actually shared disk space, so also there is the risk that is strayed into access by other application systems.Mainly stipulate that artificially different application systems is used different file prefix names, to guarantee the independence between them, in actual production environment, a logical partition only allows to install an application system.
An application system, normally develops based on middleware.As CICS (CICS), for providing various services and management, on-line transaction controls; Data base management system (DBMS) (DB2), for application system provides access and the management of data.Therefore each logical partition needs to install in advance a set of CICS and DB2 system.
A complete application system, actual is the organic assembling of all kinds of large scale computer files and database table. 
A mass file consists of one or more record.Record is the base unit of large scale computer data storage, and data line is called a record.
The file system of large scale computer is supported multi-layer folders unlike PC, and each file is that directly cataloguing, to root directory, can pass through the direct access file of filename.Therefore in same logic environment, each filename is unique, need to be by certain naming rule, and the object of distinguish application system to reach, distinguishing file application function.
Introduce the logic environment under same logical partition below.
Mainframe applications system from exploitation, build, assembling, test, check and accept, to operation, for different instances, different stage, build respectively corresponding development environment, constructing environment, assembling test environment, System Integration Test environment, automatic test environment, to supply with different librarian use (examination and production environment are responsible for by information center).Each environment application target is as follows:
Development environment: supply with large scale computer developer and revise source code and debugging.
Constructing environment: supply with version manager and generate application version.
Assembling test environment: supply with the close beta of mainframe applications system subsystems.
System Integration Test environment: supply with between mainframe applications system subsystems and and other peripheral systems between joint test.
Automatic test environment: supply with the test of mainframe applications system automation.
Training Environment: supply with start-up and use.
In actual application scenarios, consult Fig. 2, the application scenarios figure of the application version dispositions method illustrating.When mainframe system proposes upgrade requirement, first by version manager, from constructing environment, copy the source code relating to development environment, developer completes and revises debugging, by version manager, the source code of new edition is copied back to constructing environment again, dissimilar source code is carried out customization, generates the operations such as executable code simultaneously, the file of all changes of constructing environment is formed to an application version; Or, while needing to dispose other application versions, by developer, under development environment, write generation source code in system, then source code is copied to constructing environment, All Files packing is generated to an application version.
Mainframe system need to upgrade a certain application version, need the renewal of modifying of all or part of program in this application version, research staff need to write corresponding source program under development environment, then, these source programs are compiled under constructing environment, so that these source programs come into force in other logic environment bottom administrations.Because, the modification of some programs may cause that calling other programs that change program changes.Based on this, under the constructing environment of mainframe, compiling generates application version, can comprise the following steps:
To the program source code from development environment warehouse-in, need the part compiling of compiling to generate executable code;
By described executable code and do not need compiling program source code be packaged into an application version.
Mainframe system need to be disposed a new application version, research staff need to write all source programs of this application version under development environment, in these programs, having some need to be compiled into executable code could be deployed in other logic environment, there are some without compiling, therefore, need to will in these source programs, need the part of compiling to be compiled into executable code under constructing environment, so that these source programs come into force in other logic environment middle part administrations.
Generally, research staff writes the source program code of application version according to practical application request, this source program code is except comprising the source code that need to be compiled into executable code, also may comprise the files such as job stream, script, parameter, and these files do not need compiling directly at the logic environment middle part of system, to affix one's name to; Therefore, above-mentioned packing operation is exactly to be in fact packaged into an application version together with the file of the executable code after compiling and other types.Therefore, the application version after packing comprises: the file of executable code and other types.
Step 102, searches corresponding mode of operation according to the type of file in described application version.
In application version, may comprise one or more file, different files belongs to different types; In actual applications, can, according to the function of file to file designation, can be to belong to which kind of type from suffix judgement this document of filename conventionally.For example: file name is " Prefix.BTCH.LOAD ", the suffix of known this document is " .LOAD ", by this suffix, can know that this document is executable code. 
In order to guarantee the normal running of this step, deployment tool (deployment software or hardware) need to pre-set the corresponding mode of operation of each file type, meanwhile, sets the corresponding relation between file type and mode of operation; First the type that needs Study document, and then which kind of mode of operation the file of analyzing each type should adopt, and the corresponding relation between file type and mode of operation is set.
Optionally, this step can realize in the following manner, comprising:
According to the type of the suffix name identification file of file in described application version, the type of described file comprises: executable code, job stream, script or parameter;
In the mapping table of preserving in advance, according to the type of identified file, search the mode of operation corresponding with it, described mode of operation comprises: copy, resource increase or deletion or change, customization or online executable code come into force.
Generally, described mode of operation is to copy; Also can be first to copy, then carry out resource increase or deletion or change and process; Also can be first to copy, then carry out customization processing; Can also be first to copy, then carry out the processing that comes into force of online executable code.Certainly, in actual applications, can set in advance other corresponding modes of operation according to file type.
In actual applications, can also according to demand file type be done to further differentiation; Such as the types such as job stream, script being done to further classification, for different classification, provide corresponding deployment operation mode.Such as:
Job stream can also be divided into flow process control routine job stream and management control routine job stream;
For flow process control routine job stream, its corresponding mode of operation is set is: be first copied in targeted environment, then according to targeted environment, carry out customization processing.
For management control routine job stream, can also be further divided into polytype, for each type, corresponding mode of operation is set; Such as distinguishing file type according to the suffix of the title of file:
If file name suffix is INSTLIB.UTL, its corresponding mode of operation is set is: be first copied in targeted environment, then according to targeted environment, carried out customization processing, last, database resource is increased or deletes or change newly processing.
If file name suffix is DEFCNTL.UTL, its corresponding mode of operation is set is: be first copied in targeted environment, then according to targeted environment, carry out customization processing, finally, virtual storage management data set (VSAM)/generation data set (GDG) file is increased or deletes or change newly processing.
When file name suffix is CSD.UTL, its corresponding mode of operation is set is: be first copied in targeted environment, then according to targeted environment, carry out customization processing, again CICS (CICS) resource is increased or deletes or change newly processing, finally, restart CICS.
When file name suffix is .UTL, its corresponding mode of operation is set is: be first copied in targeted environment, then according to targeted environment, carry out customization processing.
When filename suffix is .DB2TRIG.UTL, its corresponding mode of operation is set is: be first copied in targeted environment, then according to targeted environment, carried out customization processing, last, definition database trigger.
When filename suffix is .BASEDDL.PRM, its corresponding mode of operation is set is: be copied in targeted environment.
When filename suffix is .BINDCARD.PRM, its corresponding mode of operation is set is: be first copied in targeted environment, then according to targeted environment, carried out customization processing, last, bind this targeted environment database resource.
When filename suffix is .DB2DDL.PRM, its corresponding mode of operation be set be: be first copied in targeted environment, then according to targeted environment, carried out customization processing, finally to database table increase newly/delete/change processing.
When filename suffix is .PRM, its corresponding mode of operation is set is: be first copied in targeted environment, then according to targeted environment, carry out customization processing.
Certainly, foregoing description is only to take filename suffix to distinguish file type as example, according to different types, its corresponding mode of operation is set, in actual applications, corresponding relation between file type and mode of operation is saved, to carry out search operation while disposing.Except distinguishing file type with filename suffix, also can adopt other modes to distinguish, no matter what mode is distinguished file type, all need, according to different types, its corresponding mode of operation is set.
Below the concrete function of above-mentioned each mode of operation is explained.
Copy: the file copy in application version is arrived to targeted environment.
Customization: be often referred to and the character string of the environment prefix occurring in file, database prefixes need to be replaced with to environment prefix and the database prefixes of targeted environment; Other special customizations can frame of reference installation manual.
Resource increases/deletes/change: comprise increase, deletion or the change of VSAM file/GDG file/CICS resource/database resource etc.Wherein, database resource comprises table, synonym, trigger, table data loading control card, public serial number etc.
Binding data base resource (BIND): will relate to the executable code of database manipulation and the database resource of targeted environment is bound.
Online executable code comes into force (NewCopy): in the situation that not restarting CICS system, up-to-date online executable code is reloaded in CICS environment.For system, if restart CICS, the up-to-date executable code of CICS meeting automatic loading, therefore can omit this step.
Restart CICS: when CICS resource increases/deletes/during change, or is not NewCopy and while wishing to reload online executable code, must restarts CICS. 
Step 103, according to the actual conditions of targeted environment, utilizes the mode of operation of searching to process file, so that described application version comes into force under described targeted environment, described targeted environment refers to and described constructing environment other logic environment in same logical partition.
In the time of will upgrading or dispose an application version in system, need under logic environment all in system, all dispose one time, therefore, in order to realize robotization, dispose, can successively application version to be disposed be disposed to other logic environment, or, can also concurrently application version be deployed to each logic environment.
The logic environment often having in system comprises: development environment, constructing environment, assembling test environment, System Integration Test environment, automatic test environment and Training Environment.Because application version generates under constructing environment, therefore without disposing under this environment, so targeted environment can be assembling test environment, System Integration Test environment, automatic test environment or Training Environment.Certainly, may comprise different logic environment in different systems, therefore, targeted environment is what logic environment specifically, can come according to the actual requirements to determine.
Above-mentioned steps analyzes the type of each file and corresponding mode of operation successively, or, analyze concurrently the type of each file and corresponding mode of operation.Then, can utilize this step successively each file to be processed, or can to each file, process concurrently.In fact this step is exactly according to the mode of operation of searching, corresponding Documents Department to be deployed in targeted environment, to realize automatic deployment.
This step can realize in the following manner, comprising:
When the type of described file is executable code, first by file copy to described targeted environment, then realize online executable code and come into force;
When the type of described file is job stream, first by file copy to described targeted environment, then carry out customization processing according to targeted environment;
When the type of described file is script, first by file copy to described targeted environment, then according to targeted environment, carry out customization processing and resource and increase or delete or change is processed;
When the type of described file is parameter, by file copy to described targeted environment.
In actual applications, when the type of file is executable code, if executable code relates to database, need in its bound targets environment; If executable code relates to online program, need on CICS, reload.
By above-described embodiment, can find out: utilize application version dispositions method of the present invention, no longer need professional and technical personnel one by one going of recording one by one of file process, but utilize software function, the type of file in first analytical applications version, then search corresponding mode of operation according to file type, last, utilize the mode of operation of searching to process corresponding file, process and just can automatically complete the deployment of application version in logic environment like this, saved human resources, improved deployment efficiency simultaneously.
The concrete implementation of take is below example, and application version dispositions method of the present invention is further explained.Application system is normally developed based on middleware.As CICS (CICS), for providing various services and management, on-line transaction controls; Data base management system (DBMS) (DB2), for application system provides access and the management of data.Therefore,, in order to guarantee the normal work of application system, each logical partition needs to install in advance a set of CICS and DB2 system. 
If there is following file to put constructing environment in storage from development environment, these files are program codes that developer writes under development environment, and each file represents a program block:
CON1OCS.COM.LIBRYATM.CPY(CPY1)
CON1OCS.COM.COB.SRC(SRC1) 
CON1OCS.BTCH.COB.SRC(SRC2) 
CON1OCS.ONL.COB.SRC(SRC3) 
CON1OCS.COM.DB2DDL.PRM(TBL1) 
CON1OCS.COM.BASEDDL.PRM(TBL1) 
CON1OCS.INSTLIB.UTL(DSYN1) 
CON1OCS.INSTLIB.CSD.UTL(FCT1)
CON1OCS.COM.DEFCNTL.UTL(DEFUTL1) 
CON1OCS.COM.DEFDATA.PRM(DEFPRM1) 
CON1OCS.BTCH.AA00.JCL(JCL1) 
CON1OCS.COM.PROCLIB(PROC1) 
CON1OCS.COM.DBIOLIST.PRM 
First will in said procedure source code, need the part of compiling to generate executable code, after process of compilation, obtain version file as follows:
CON1OCS.COM.DBRM.LOAD (SRC1) 
CON1OCS.ONL.SUB.LOAD(SRC1) 
CON1OCS.BTCH.SUB.LOAD(SRC1)
CON1OCS.BTCH.LOAD(SRC2) 
CON1OCS.ONL.LOAD(SRC3)
CON1OCS.BTCH.LOAD(SRC4) 
CON1OCS.ONL.LOAD(SRC5) 
CON1OCS.BTCH.LOAD(SRC6) 
CON1OCS.ONL.LOAD(SRC7) 
CON1OCS.BTCH.DBIO.LOAD(DBIOTBL1) 
CON1OCS.ONL.DBIO.LOAD(DBIOTBL1) 
CON1OCS.COM.DBRM.LOAD(DBIOTBL1) 
CON1OCS.COM.DB2DDL.PRM(TBL1) 
CON1OCS.COM.BASEDDL.PRM(TBL1) 
CON1OCS.INSTLIB.UTL(DSYN1) 
CON1OCS.INSTLIB.CSD.UTL(FCT1)
CON1OCS.COM.DEFCNTL.UTL(DEFUTL1) 
CON1OCS.COM.DEFDATA.PRM(DEFPRM1) 
CON1OCS.BTCH.AA00.JCL(JCL1) 
CON1OCS.COM.PROCLIB(PROC1) 
CON1OCS.COM.DBIOLIST.PRM 
Above-mentioned version file is packaged into an application version (also can be called Hosts file) BACKUPP1.CON1OCS.DMP.BOCS.D140401, to supply with other logic environment, uses.
According to the inventory of above-mentioned application version, successively the file copy in application version is arrived to each targeted environment.Then, according to the type of each file, call corresponding mode of operation, to realize the automatic deployment of application version in targeted environment.When system processing power is more intense, can also realize application version and in a plurality of targeted environment, come into force simultaneously, that is, with parallel mode, realize version automatic deployment.
In addition, the present invention also provides a kind of application version deployment devices, and this device is corresponding with said method.According to the principle of work of this device, each Elementary Function of the inside of this device and annexation are further explained below.
Consult Fig. 3, the structural drawing of the embodiment of the present invention application version deployment devices illustrating, this device can comprise:
Compilation unit 201, generates application version for compiling under the constructing environment of mainframe;
Search unit 202, for searching corresponding mode of operation according to the type of described application version file;
Deployment unit 203, be used for according to the actual conditions of targeted environment, utilize the mode of operation of searching to process file, so that described application version comes into force under described targeted environment, described targeted environment refers to and described constructing environment other logic environment in same logical partition.
Optionally, described targeted environment comprises: assembling test environment, System Integration Test environment or automatic test environment.
Optionally, described in, searching unit comprises:
Recognin unit, for identify the type of file according to the suffix name of described application version file, the type of described file comprises: executable code, job stream, script or parameter;
Search subelement, for the mapping table preserving in advance, according to the type of identified file, search the mode of operation corresponding with it, described mode of operation comprises: copy, resource increase or deletion or change, customization or online executable code come into force.
Optionally, described deployment unit comprises:
First disposes subelement, while being executable code for the type when described file, first by file copy described targeted environment extremely, then realizing online executable code and comes into force;
Second disposes subelement, while being job stream for the type when described file, first by file copy described targeted environment extremely, then carries out customization processing according to targeted environment;
The 3rd disposes subelement, while being script for the type when described file, first by file copy to described targeted environment, then carry out customization processing and resource increases or deletes or change processing according to targeted environment;
The 4th disposes subelement, while being parameter for the type when described file, by file copy described targeted environment extremely.
Optionally, described compilation unit comprises:
Compiling subelement, for needing the program source code from development environment warehouse-in the part compiling of compiling to generate executable code;
Packing subelement, for by described executable code with do not need the program source code compiling to be packaged into an application version.
By above-described embodiment, can find out, utilize application version deployment devices of the present invention, can search corresponding mode of operation according to the type of file in application version, according to searched corresponded manner, process file, realize the automatic deployment of application version, without professional and technical personnel's processing file that file records one by one one by one, saved human resources, improved deployment efficiency simultaneously.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element. 
For device embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.Device embodiment described above is only schematically, and wherein the unit as separating component explanation can or can not be also physically to separate.Can select according to the actual needs some or all of module wherein to realize the present invention program's object.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement. 
Above a kind of application version dispositions method provided by the present invention and device are described in detail, applied specific embodiment herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention; Meanwhile, for those skilled in the art, not departing under the prerequisite of the application's principle, can also make some improvements and modifications, these improvements and modifications also should be considered as the application's protection domain.

Claims (10)

1. an application version dispositions method, is characterized in that, described method comprises:
Under the constructing environment of mainframe, compiling generates application version;
According to the type of file in described application version, search corresponding mode of operation;
According to the actual conditions of targeted environment, utilize the mode of operation of searching to process file, so that described application version comes into force under described targeted environment, described targeted environment refers to and described constructing environment other logic environment in same logical partition.
2. method according to claim 1, is characterized in that, described targeted environment comprises: assembling test environment, System Integration Test environment, automatic test environment or Training Environment.
3. method according to claim 1, is characterized in that, the described type according to file in described application version is searched corresponding mode of operation, comprising:
According to the type of the suffix name identification file of file in described application version, the type of described file comprises: executable code, job stream, script or parameter;
In the mapping table of preserving in advance, according to the type of identified file, search the mode of operation corresponding with it, described mode of operation comprises: copy, resource increase or deletion or change, customization or online executable code come into force.
4. method according to claim 1, is characterized in that, described according to the actual conditions of targeted environment, utilizes the mode of operation of searching to process file, comprising:
When the type of described file is executable code, first by file copy to described targeted environment, then realize online executable code and come into force;
When the type of described file is job stream, first by file copy to described targeted environment, then carry out customization processing according to targeted environment;
When the type of described file is script, first by file copy to described targeted environment, then according to targeted environment, carry out customization processing and resource and increase or delete or change is processed;
When the type of described file is parameter, by file copy to described targeted environment.
5. method according to claim 1, is characterized in that, the described generation application version that compiles under the constructing environment of mainframe, comprising:
To the program source code from development environment warehouse-in, need the part compiling of compiling to generate executable code;
By described executable code and do not need compiling program source code be packaged into an application version.
6. an application version deployment devices, is characterized in that, described device comprises:
Compilation unit, generates application version for compiling under the constructing environment of mainframe;
Search unit, for searching corresponding mode of operation according to the type of described application version file;
Deployment unit, be used for according to the actual conditions of targeted environment, utilize the mode of operation of searching to process file, so that described application version comes into force under described targeted environment, described targeted environment refers to and described constructing environment other logic environment in same logical partition.
7. device according to claim 6, is characterized in that, described targeted environment comprises: assembling test environment, System Integration Test environment, automatic test environment or Training Environment.
8. device according to claim 6, is characterized in that, described in search unit and comprise:
Recognin unit, for identify the type of file according to the suffix name of described application version file, the type of described file comprises: executable code, job stream, script or parameter;
Search subelement, for the mapping table preserving in advance, according to the type of identified file, search the mode of operation corresponding with it, described mode of operation comprises: copy, resource increase or deletion or change, customization or online executable code come into force.
9. device according to claim 6, is characterized in that, described deployment unit comprises:
First disposes subelement, while being executable code for the type when described file, first by file copy described targeted environment extremely, then realizing online executable code and comes into force;
Second disposes subelement, while being job stream for the type when described file, first by file copy described targeted environment extremely, then carries out customization processing according to targeted environment;
The 3rd disposes subelement, while being script for the type when described file, first by file copy to described targeted environment, then carry out customization processing and resource increases or deletes or change processing according to targeted environment;
The 4th disposes subelement, while being parameter for the type when described file, by file copy described targeted environment extremely.
10. device according to claim 6, is characterized in that, described compilation unit comprises:
Compiling subelement, for needing the program source code from development environment warehouse-in the part compiling of compiling to generate executable code;
Packing subelement, for by described executable code with do not need the program source code compiling to be packaged into an application version. 
CN201410236378.1A 2014-05-29 2014-05-29 Application version deploying method and application version deploying device Active CN103970579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410236378.1A CN103970579B (en) 2014-05-29 2014-05-29 Application version deploying method and application version deploying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410236378.1A CN103970579B (en) 2014-05-29 2014-05-29 Application version deploying method and application version deploying device

Publications (2)

Publication Number Publication Date
CN103970579A true CN103970579A (en) 2014-08-06
CN103970579B CN103970579B (en) 2017-05-03

Family

ID=51240116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410236378.1A Active CN103970579B (en) 2014-05-29 2014-05-29 Application version deploying method and application version deploying device

Country Status (1)

Country Link
CN (1) CN103970579B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331665A (en) * 2014-10-29 2015-02-04 中国农业银行股份有限公司 Generating method of traceable object code and traceable object code generator
CN105159982A (en) * 2015-08-28 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and system for connecting DB2 databases in Unix operation system
CN105701195A (en) * 2016-01-12 2016-06-22 深圳市创维电器科技有限公司 Method and system for implementing automatic sorted storing according to file types
CN106407125A (en) * 2016-11-15 2017-02-15 中国银行股份有限公司 Mainframe environment detection method and device
CN107038352A (en) * 2016-02-03 2017-08-11 上海思立微电子科技有限公司 Intranet security access method, device and terminal
CN107943692A (en) * 2017-11-17 2018-04-20 中国银行股份有限公司 The automatic test approach and device that a kind of batch original table passes down
CN109634687A (en) * 2018-12-19 2019-04-16 恒为科技(上海)股份有限公司 The starting method and apparatus of application software in a kind of embedded Linux system
CN109918340A (en) * 2019-03-18 2019-06-21 维沃移动通信有限公司 A kind of document handling method and terminal device
CN110119393A (en) * 2016-04-29 2019-08-13 清华大学 Code release management system and method
CN110275872A (en) * 2019-07-18 2019-09-24 中国银行股份有限公司 Version automatic deployment method, device, computer equipment and storage medium
CN111158704A (en) * 2020-01-02 2020-05-15 中国银行股份有限公司 Model establishing method, deployment flow generation method, device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968741A (en) * 2009-07-27 2011-02-09 阿里巴巴集团控股有限公司 Method, server and system for data update
CN101978366A (en) * 2008-03-20 2011-02-16 微软公司 Application management within deployable object hierarchy
US20110172986A1 (en) * 2010-01-13 2011-07-14 Software Ag Mainframe data stream proxy and method for caching communication between emulators and mainframes
CN102521134A (en) * 2011-12-21 2012-06-27 中国工商银行股份有限公司 Test information detecting method and test information detecting device based on mainframe
CN102662705A (en) * 2012-03-31 2012-09-12 中国工商银行股份有限公司 System and method for upgrading system environment of computer cluster

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978366A (en) * 2008-03-20 2011-02-16 微软公司 Application management within deployable object hierarchy
CN101968741A (en) * 2009-07-27 2011-02-09 阿里巴巴集团控股有限公司 Method, server and system for data update
US20110172986A1 (en) * 2010-01-13 2011-07-14 Software Ag Mainframe data stream proxy and method for caching communication between emulators and mainframes
CN102521134A (en) * 2011-12-21 2012-06-27 中国工商银行股份有限公司 Test information detecting method and test information detecting device based on mainframe
CN102662705A (en) * 2012-03-31 2012-09-12 中国工商银行股份有限公司 System and method for upgrading system environment of computer cluster

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
戴琪: ""云计算的自动部署服务在银行Power***上的应用研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331665B (en) * 2014-10-29 2017-08-08 中国农业银行股份有限公司 A kind of generation method for reviewing object code and target code generator can be reviewed
CN104331665A (en) * 2014-10-29 2015-02-04 中国农业银行股份有限公司 Generating method of traceable object code and traceable object code generator
CN105159982A (en) * 2015-08-28 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and system for connecting DB2 databases in Unix operation system
CN105701195A (en) * 2016-01-12 2016-06-22 深圳市创维电器科技有限公司 Method and system for implementing automatic sorted storing according to file types
CN107038352A (en) * 2016-02-03 2017-08-11 上海思立微电子科技有限公司 Intranet security access method, device and terminal
CN110119393A (en) * 2016-04-29 2019-08-13 清华大学 Code release management system and method
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
CN107943692A (en) * 2017-11-17 2018-04-20 中国银行股份有限公司 The automatic test approach and device that a kind of batch original table passes down
CN107943692B (en) * 2017-11-17 2021-08-17 中国银行股份有限公司 Automatic test method and device for downloading batch original tables
CN109634687A (en) * 2018-12-19 2019-04-16 恒为科技(上海)股份有限公司 The starting method and apparatus of application software in a kind of embedded Linux system
CN109918340B (en) * 2019-03-18 2021-07-02 维沃移动通信有限公司 File processing method and terminal equipment
CN109918340A (en) * 2019-03-18 2019-06-21 维沃移动通信有限公司 A kind of document handling method and terminal device
CN110275872A (en) * 2019-07-18 2019-09-24 中国银行股份有限公司 Version automatic deployment method, device, computer equipment and storage medium
CN111158704A (en) * 2020-01-02 2020-05-15 中国银行股份有限公司 Model establishing method, deployment flow generation method, device and electronic equipment
CN111158704B (en) * 2020-01-02 2023-08-22 中国银行股份有限公司 Model building method, deployment flow generating method, device and electronic equipment

Also Published As

Publication number Publication date
CN103970579B (en) 2017-05-03

Similar Documents

Publication Publication Date Title
CN103970579A (en) Application version deploying method and application version deploying device
US11573776B1 (en) Extensible data transformation authoring and validation system
CN1293477C (en) Using disassociated images for computer and storage resource management
US8490082B2 (en) System and method for representing user processes as software packages in a software package management system
US7831569B2 (en) Preserving a query plan cache
US8122106B2 (en) Integrating design, deployment, and management phases for systems
US8127268B2 (en) Server testing framework
US20090288082A1 (en) System and method for performing designated service image processing functions in a service image warehouse
US8214809B2 (en) Grid-enabled ANT compatible with both stand-alone and grid-based computing systems
CN102681865A (en) Coordinated upgrades in distributed systems
JP2006520966A (en) Integrated server analysis
US20170132545A1 (en) Recency-based identification of area paths for target components
US8312445B2 (en) User-specified install locations
US20160062754A1 (en) Coordinating Application Deployment with a Platform Tier
GB2513528A (en) Method and system for backup management of software environments in a distributed network environment
US20170371641A1 (en) Multi-tenant upgrading
CN113296891B (en) Platform-based multi-scene knowledge graph processing method and device
Thakar et al. Large science databases–are cloud services ready for them?
CN103150234B (en) The backup method of driver and device
US20220197752A1 (en) Copy reuse using gold images
Appuswamy et al. Flexible, modular file volume virtualization in Loris
CN111897794A (en) Database maintenance method and device, electronic equipment and storage medium
Paro Elasticsearch 8. x Cookbook: Over 180 recipes to perform fast, scalable, and reliable searches for your enterprise
CN110737429A (en) modular compiling method and device utilizing Makefile self-dependent relationship
US20240211381A1 (en) Efficient testing of versioned software system behaviour

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
CB03 Change of inventor or designer information

Inventor after: Zhao Xufu

Inventor after: Han Yuzhong

Inventor after: Chen Yuanfeng

Inventor after: Zhang Yuanqin

Inventor before: Zhao Xufu

CB03 Change of inventor or designer information