CN104375939B - A kind of method and system of Version Control - Google Patents

A kind of method and system of Version Control Download PDF

Info

Publication number
CN104375939B
CN104375939B CN201410686951.9A CN201410686951A CN104375939B CN 104375939 B CN104375939 B CN 104375939B CN 201410686951 A CN201410686951 A CN 201410686951A CN 104375939 B CN104375939 B CN 104375939B
Authority
CN
China
Prior art keywords
logical partition
program
parameter information
version control
version
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
Application number
CN201410686951.9A
Other languages
Chinese (zh)
Other versions
CN104375939A (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN201410686951.9A priority Critical patent/CN104375939B/en
Publication of CN104375939A publication Critical patent/CN104375939A/en
Application granted granted Critical
Publication of CN104375939B publication Critical patent/CN104375939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides a kind of method of Version Control, including:At least one logical partition is created, the logical partition carries out logical partitioning to current version;Define circulation between the use function and the logical partition of each logical partition sequentially;Obtain the parameter information of each logical partition Program;Compare the parameter information of the program between the logical partition, if the parameter information exceedes preset threshold range, then by arrange parameter control program alternative routing, and the program in logical partition each described is successively lifted and verified according to the alternative routing, carry out Version Control.Present invention also provides the system of Version Control during a kind of operation change of core system.Version Control can effectively be realized.

Description

A kind of method and system of Version Control
Technical field
The application is related to system update field, more particularly to a kind of method and system of Version Control.
Background technology
With the continuous improvement of computer technology, a new generation of agricultural bank core combined bank service system uses the height of class 4GL Level development language carries out the exploitation and renewal of system version, and core system of new generation using unified shader and modeling research and development side Formula, internal system coupling high, low cohesion, program association is complicated.
When carrying out the Version Control during a new generation of agricultural bank core system is changed using traditional configuration management tool, will Class 4GL language is parsed into the conventional code such as Cobol by code generator, is directed into conventional arrangement management tool, Zhi Nengshi The management of existing program pilot process, it is impossible to be restored to source code and its contrast relationship, it is impossible to effective to a new generation of agricultural bank core System variation process carries out Version Control.
Therefore, how to carry out effective Version Control to a new generation of agricultural bank core system change process is people in the art The current technical issues that need to address of member.
The content of the invention
Technical problems to be solved in this application are to provide a kind of method and system of Version Control, solve prior art In can not effectively carry out the problem of Version Control.
Its concrete scheme is as follows:
A kind of method of Version Control, the method includes:
At least one logical partition is created, the logical partition is used to carry out logical partitioning to current version;
Define circulation between the use function and the logical partition of each logical partition sequentially;
Obtain the parameter information of each logical partition Program;
Compare the parameter information of the program between the logical partition, if the parameter information exceedes preset threshold range, Then by arrange parameter control program alternative routing, and according to the alternative routing to the program in logical partition each described by Layer lifting and checking, carry out Version Control.
Above-mentioned method, it is preferred that the parameter information of the acquisition logical partition Program, including:
Store the information of each logical partition and the parameter information of each logical partition Program;
The test mode of each logical partition Program is marked and tracked, and stores corresponding parameter information;
Inquire about the parameter information of the program of the storage.
Above-mentioned method, it is preferred that also include:
For logical partition distributes unique key assignments each described.
Above-mentioned method, it is preferred that the parameter information of the program of the inquiry storage is according to each logical partition Unique key assignments inquired about.
Above-mentioned method, it is preferred that the logical partition of the establishment at least one is entered according to the life cycle of project of standard development What row was created.
Above-mentioned method, it is preferred that each described logical partition is identified with field version.
Above-mentioned method, it is preferred that the parameter information of the acquisition each logical partition Program is specifically included and obtained Take the modification time and compiling state of each logical partition Program.
Above-mentioned method, it is preferred that also including preserving and backing up source code, the attribute of the program in each described logical partition Or incidence relation.
A kind of system of Version Control, the system includes:
Creating unit:For creating at least one logical partition, the logical partition is to carry out logic to current version to draw Point;
Definition unit:For the circulation between the use function and the logical partition that define each logical partition Sequentially;
Acquiring unit:Parameter information for obtaining each logical partition Program;
Comparing unit:Parameter information for comparing the program between the logical partition, if the parameter information exceedes Preset threshold range, then by arrange parameter control program alternative routing, and according to the alternative routing to logic each described Program in subregion is successively lifted and verified, carries out Version Control.
Above-mentioned system, it is preferred that the acquiring unit includes:
Memory cell:For storing the information of each logical partition and the ginseng of each logical partition Program Number information;
Mark and tracking cell:The test mode of each logical partition Program is marked and tracked, and stores corresponding Parameter information;
Query unit:Inquire about the parameter information of the program of the storage.
The method of Version Control, fixed by creating logical partition during the core system operation change that the application is provided The use function of adopted logical partition and circulation sequentially, obtain the parameter information of each logical partition Program, compare each logic Parameter information between subregion, if parameter information exceedes preset threshold range, by arrange parameter control program alternative routing, And the program in logical partition each described is successively lifted and verified according to the alternative routing, can effectively realize change During Version Control.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, below will be to make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of flow chart of edition control method embodiment 1 of the application;
Fig. 2 is a kind of flow chart of edition control method embodiment 2 of the application;
Fig. 3 is a kind of concrete application of edition control method embodiment 1 of the application;
Fig. 4 is a kind of schematic diagram of version control system embodiment 1 of the application;
Fig. 5 is a kind of schematic diagram of version control system embodiment 2 of the application.
Specific embodiment
Core of the invention is to provide a kind of method and system of Version Control, and solving in the prior art can not be effective Carry out the problem of Version Control.
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of the application protection.
With reference to Fig. 1, a kind of flow chart of edition control method embodiment 1 of the application is shown, may comprise steps of:
Step S101:At least one logical partition is created, the logical partition is used to carry out logical partitioning to current version;
Version Control in the application is the standard practice of maintenance engineering blueprint, can follow the trail of engineering blueprint from be born until The process of verdict.Additionally, Version Control is also a kind of soft project skill, whereby can be during software development, it is ensured that by The same formula archives that different people is edited all obtain synchronization.
All related datas and program of the core system of the core system of large enterprise such as bank are stored in main frame money In the thesaurus of source, the R&D process of host resource thesaurus is:First by the resource downloading in thesaurus to be operated to locally depositing In bank, the operation such as it is updated to resource to be operated on the local computer, after the completion of operation, in the resource that will have been updated Pass to server.
Described host resource thesaurus uses database, the source code of the program in host resource thesaurus, attribute Or the important information such as incidence relation is maintained in database.Database in the application refers to be stored in one in a certain way Rise, can for multiple users to share, with redundancy and application program data acquisition system independent of each other as small as possible.User can The operation newly such as increased, intercepted, being updated, being deleted with to the data in file.
Database in the application specifically uses DB2 database, and DB2 database has preferable scalability, can Support from large scale computer to single user environment, be applied under the platforms such as OS/2, Windows.DB2 provides high-level data separate Property, integrality, security, restorability, and the small-scale executive capability to large-scale application program, with unrelated with platform Basic function and sql command.DB2 employs data staging technology, and large scale computer data can be made easily to download to LAN numbers According to storehouse server so that client/server user and the application program based on LAN can access large scale computer data, and make number Localized according to storehouse and remotely connect transparence.It to possess a very complete query optimizer and famous, its external connection Query performance is improved, and supports that multi-task parallel is inquired about.DB2 has a good network support ability, and each subsystem can be with Ten tens of thousands of distributed users are connected, thousands of active threads can be simultaneously activated, it is especially suitable to large-scale distributed application system.
The multiple logical partitions that created in host resource thesaurus are created according to the life cycle of project of standard development Build.The life cycle of project of standard development is project overall process from start to end, is roughly divided into four-stage:Concept rank Section, planning stage, implementation phase and ending phase.
The logical partition that is created in host resource thesaurus be according to current version the need for it is any divide, it is individual Number is also fixed as needed, it is not limited to fixed dividing mode or the division number of fixation.
Step S102:The circulation defined between the use function and the logical partition of each logical partition is suitable Sequence;
Generally, the use function of each logical partition of establishment is different, and after the completion of establishment, what very important person was is establishment Each logical partition carry out use function distribution, to facilitate the classification and control of difference in functionality program, and in each subregion Program be it is relatively independent, it is complete.
When the use function of each logical partition is defined, the circulation of each logical partition is also defined simultaneously sequentially, with Just the uniqueness of program version acquisition approach is ensured.
Step S103:Obtain the parameter information of each logical partition Program;
The parameter information of each logical partition Program of the acquisition generally comprises the modification time and compiling shape of program The important informations such as state.
Step S104:Compare the parameter information of the program between the logical partition, if the parameter information exceedes presetting Threshold range, then by arrange parameter control program alternative routing, and according to the alternative routing to logical partition each described In program successively lifted and verified, carry out Version Control.
System is compared to the parameter information of program inquired about from different logical partitions, if Different Logic subregion it Between Query Information there is difference, more than preset threshold range, then illustrate that corresponding program is changed, program has modification, more The operations such as new or deletion, at this moment then by arrange parameter control program alternative routing, and according to the path changed to each logic Program in subregion is successively lifted and verified, realizes Version Control.
In the present embodiment, using shared database Program parameter information it is shared, each logical partition is carried out in advance Use function define, the field identification of each logical partition is increased in database table;It is right before changing to be gone into operation in current version The inquiry of program parameter information stored in database table is compared, and can effectively realize version during core system change Control.
With reference to Fig. 2, a kind of flow chart of edition control method embodiment 2 of the application is shown, may comprise steps of:
Step S105:Store the information of each logical partition and the parameter letter of each logical partition Program Breath;
Each described logical partition generally uses field version marks in database table, for example, have 3 logics point Area, then identified using field V1, V2 and V3 respectively in database table.
Step S106:The test mode of each logical partition Program is marked and tracked, and stores corresponding parameter Information;
Real-time mark and the test mode for tracking each logical partition Program, are carried out to the program in each logical partition Monitor in real time, and will test accordingly in information such as test result, program change information storage to the database table.
Step S107:Inquire about the parameter information of the program of the storage.
Core system is automatically each logical partition distribution address stored in database table, the ground of each logical partition Location is different, and uniquely, using the address of automatic distribution as the unique key assignments in database table, system is according to this for system default The parameter information of the program in individual unique key assignments inquiry counterlogic subregion.
For each logical partition increases logical partition field identification, and for each logical partition distributes unique key assignments, side The information of the logical partition required for just being inquired about in database table, it is also possible to perform the different life stage in any time point The edition comparison of program, simple to operate, corresponding efficiency is fast.
With reference to Fig. 3, a kind of practical application of edition control method embodiment 1 of the application is shown, the present embodiment is in reality In, as needed, 6 logical partitions can be created in host resource thesaurus, respectively:Exploitation test environment, collection Into test environment, system testing environment, quasi- production environment, production environment and lash-up recovering environment.
Definition this 6 logical partitions circulation order be:Exploitation test environment → integration testing environment → system testing Environment → quasi- production environment → production environment → lash-up recovering environment → production environment.
In database table, the mark of this 6 logical partitions is respectively:V1, V2, V3, V4, V5 and V6.
Program in 6 logical partitions of division is tested respectively, each is marked and tracked in test process and is patrolled Collect the test mode of the program in subregion, the parameter information such as including the test progress and test result of program, then to logic point The parameter informations such as the test result of the program between area are compared, if difference occurs in the parameter information for obtaining, and difference exceedes The disparity range of permission, then read-me have change, now need arrange parameter control program to change path, then according to newly more The path for changing is updated to the program in each logical partition, and verifies the reliability of more new procedures, so as to realize to core The control of system version.
In this application, in addition to the application above method carries out Version Control, can also purchase or research and develop and be new using agricultural bank The configuration management tool of generation core combined bank service system.
It is corresponding with the method that a kind of embodiment of the method 1 of Version Control of above-mentioned the application is provided, with reference to Fig. 4, this Shen A kind of system embodiment 1 of Version Control please be additionally provide, in the present embodiment, the system includes:
Creating unit 101:For creating at least one logical partition, the logical partition is to carry out logic to current version Divide;
Definition unit 102:For between the use function and the logical partition that define each logical partition Circulation is sequentially;
Acquiring unit 103:Parameter information for obtaining each logical partition Program;
Comparing unit 104:Parameter information for comparing the program between the logical partition, if the parameter information is super Preset threshold range is crossed, then by arrange parameter control program alternative routing, and according to the alternative routing to being patrolled each Suo Shu The program collected in subregion is successively lifted and verified, carries out Version Control.
With reference to Fig. 5, present invention also provides a kind of system embodiment 2 of Version Control, in the present embodiment, the acquisition Unit 103 includes:
Memory cell 104:Information and each described logical partition Program for storing each logical partition Parameter information;
Mark and tracking cell 105:The test mode of each logical partition Program is marked and tracked, and stores phase The parameter information answered;
Query unit 106:Inquire about the parameter information of the program of the storage.
In sum, a kind of method and system of Version Control that the application is provided use database, can effectively enter Row Version Control.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For system class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part ginseng See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange Except also there is other identical element in the process including the key element, method, article or equipment.
The method and system to a kind of Version Control provided herein are described in detail above, used herein Specific case is set forth to the principle and implementation method of the application, and the explanation of above example is only intended to help and understands The present processes and its core concept;Simultaneously for those of ordinary skill in the art, according to the thought of the application, in tool Be will change in body implementation method and range of application, in sum, this specification content should not be construed as to the application Limitation.

Claims (10)

1. a kind of method of Version Control, it is characterised in that the method includes:
At least one logical partition is created, the logical partition is used to carry out logical partitioning to current version;
Define circulation between the use function and the logical partition of each logical partition sequentially;
Obtain the parameter information of each logical partition Program;
Compare the parameter information of the program between the logical partition, if the parameter information exceedes preset threshold range, lead to Arrange parameter control program alternative routing is crossed, and the program in logical partition each described is successively carried according to the alternative routing Rise and verify, carry out Version Control.
2. the method for Version Control according to claim 1, it is characterised in that the ginseng of the acquisition logical partition Program Number information, including:
Store the information of each logical partition and the parameter information of each logical partition Program;
The test mode of each logical partition Program is marked and tracked, and stores corresponding parameter information;
Inquire about the parameter information of the program of the storage.
3. the method for Version Control according to claim 2, it is characterised in that also include:
For logical partition distributes unique key assignments each described.
4. the method for Version Control according to claim 3, it is characterised in that the parameter letter of the program of the inquiry storage Breath is inquired about according to unique key assignments of each logical partition.
5. edition control method according to claim 1, it is characterised in that the logical partition of the establishment at least one be by Created according to the life cycle of project of standard development.
6. edition control method according to claim 1, it is characterised in that each described logical partition field Version is identified.
7. edition control method according to claim 1, it is characterised in that the acquisition each described logical partition intermediate range The parameter information of sequence specifically includes the modification time and compiling state for obtaining each logical partition Program.
8. edition control method according to claim 2, it is characterised in that also including preserving and backing up each described logic The source code of the program in subregion, attribute or incidence relation.
9. a kind of system of Version Control, it is characterised in that the system includes:
Creating unit:For creating at least one logical partition, the logical partition is to carry out logical partitioning to current version;
Definition unit:It is suitable for the circulation between the use function and the logical partition that define each logical partition Sequence;
Acquiring unit:Parameter information for obtaining each logical partition Program;
Comparing unit:Parameter information for comparing the program between the logical partition, if the parameter information exceedes presetting Threshold range, then by arrange parameter control program alternative routing, and according to the alternative routing to logical partition each described In program successively lifted and verified, carry out Version Control.
10. version control system according to claim 9, it is characterised in that the acquiring unit includes:
Memory cell:For storing the information of each logical partition and the parameter letter of each logical partition Program Breath;
Mark and tracking cell:The test mode of each logical partition Program is marked and tracked, and stores corresponding ginseng Number information;
Query unit:Inquire about the parameter information of the program of the storage.
CN201410686951.9A 2014-11-25 2014-11-25 A kind of method and system of Version Control Active CN104375939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410686951.9A CN104375939B (en) 2014-11-25 2014-11-25 A kind of method and system of Version Control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410686951.9A CN104375939B (en) 2014-11-25 2014-11-25 A kind of method and system of Version Control

Publications (2)

Publication Number Publication Date
CN104375939A CN104375939A (en) 2015-02-25
CN104375939B true CN104375939B (en) 2017-05-31

Family

ID=52554874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410686951.9A Active CN104375939B (en) 2014-11-25 2014-11-25 A kind of method and system of Version Control

Country Status (1)

Country Link
CN (1) CN104375939B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124459B (en) * 2018-10-31 2023-04-07 阿里巴巴集团控股有限公司 Method and device for updating service logic of FPGA cloud server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068180A (en) * 2007-06-15 2007-11-07 腾讯科技(深圳)有限公司 Network game main controlling system, management system and managing method
CN101876983A (en) * 2009-04-30 2010-11-03 国际商业机器公司 Method for partitioning database and system thereof
US8725689B1 (en) * 2007-10-11 2014-05-13 Parallels IP Holdings GmbH Method and system for creation, analysis and navigation of virtual snapshots

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068180A (en) * 2007-06-15 2007-11-07 腾讯科技(深圳)有限公司 Network game main controlling system, management system and managing method
US8725689B1 (en) * 2007-10-11 2014-05-13 Parallels IP Holdings GmbH Method and system for creation, analysis and navigation of virtual snapshots
CN101876983A (en) * 2009-04-30 2010-11-03 国际商业机器公司 Method for partitioning database and system thereof

Also Published As

Publication number Publication date
CN104375939A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
Gigliarelli et al. Heritage Bim, numerical simulation and decision support systems: An integrated approach for historical buildings retrofit
CN103365929B (en) The management method of a kind of data base connection and system
CN102902777B (en) Across data source query device with across data source query method
CN108917712A (en) A kind of Tunnel automation monitoring system and method based on three-dimensional laser scanning technique
CN104781809A (en) Container database
CN103577457A (en) Method and system for controlling multi-tenant database
CN101924647B (en) Local area topology rebuilding method for updating navigation road network increment
CN107515952A (en) The method and its system of cloud data storage, parallel computation and real-time retrieval
CN104318481A (en) Power-grid-operation-oriented holographic time scale measurement data extraction conversion method
CN107992512A (en) A kind of method of Data Migration, system and computer-readable recording medium
CN103914564A (en) Method and system for updating and warehousing urban pipelines on basis of ArcGIS (geographic information system)
CN107533569A (en) The system and method supported for the sandbox in multidimensional data lab environment
CN107145350B (en) A kind of software development methodology and system
CN101719934B (en) Method, system and device for displaying uniform summary report on distributed data
CN102495853A (en) Aspect-oriented cloud storage engine construction method
US20170132545A1 (en) Recency-based identification of area paths for target components
CN104298761B (en) The implementation method that master data is matched between a kind of heterogeneous software system
CN108228740A (en) Electric power full-service uniform data centre data analysis domain comparing tool
Hammad et al. Application of KDD techniques to extract useful knowledge from labor resources data in industrial construction projects
CN103606032B (en) A kind of method in two dimension power grid GIS data set
KR101230929B1 (en) Method for providing data using building information modeling server
CN104102947B (en) Product management-control method based on soft ridge terrace
CN106802928B (en) Power grid historical data management method and system
CN102902747B (en) Land utilization data update method based on space aggregation
CN103914524B (en) A kind of topological method for auto constructing of land use data tense

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