CN105912329B - Version automates unified approach and system - Google Patents

Version automates unified approach and system Download PDF

Info

Publication number
CN105912329B
CN105912329B CN201610212823.XA CN201610212823A CN105912329B CN 105912329 B CN105912329 B CN 105912329B CN 201610212823 A CN201610212823 A CN 201610212823A CN 105912329 B CN105912329 B CN 105912329B
Authority
CN
China
Prior art keywords
version
environment
user environment
business module
domain name
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
CN201610212823.XA
Other languages
Chinese (zh)
Other versions
CN105912329A (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.)
Shengxi Information Technology (shanghai) Co Ltd
Original Assignee
Shengxi Information Technology (shanghai) Co 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 Shengxi Information Technology (shanghai) Co Ltd filed Critical Shengxi Information Technology (shanghai) Co Ltd
Priority to CN201610212823.XA priority Critical patent/CN105912329B/en
Publication of CN105912329A publication Critical patent/CN105912329A/en
Application granted granted Critical
Publication of CN105912329B publication Critical patent/CN105912329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions

Abstract

The present invention provides a kind of version automation unified approach and systems, the version automation integrated system is used for version of the unified business module in multiple user environments, each user environment includes multiple terminal clusters, at least one version control server and at least one name server, one business module is corresponding at least one terminal cluster in each user environment, the domain name of the business module corresponding terminal cluster in the multiple user environment is identical, unification of the version of the business module in the multiple user environment is realized to the parsing of domain name by least one name server in each user environment, so as to conveniently realize the unification of version in each user environment, improve the efficiency of version publication.The fast fallback of version can also be realized simultaneously.

Description

Version automates unified approach and system
Technical field
The present invention relates to Internet technical field, especially a kind of version automation unified approach and system.
Background technique
The lasting deployment of the automation of product is the best practices of industry, if the enterprise not constraint of system or other conditions Influence, final goal that all should be online in production environment in this, as product.But at present in the product department of many enterprises In administration, due to technology weakness and line on environment complexity, business is online to cannot achieve automatically dispose, substantially by it is some from It defines O&M deployment script and Open-Source Tools is implemented online version deployment and updated, can technically be divided into following several:
The first, product allocation is completed mainly by some remote file transferring orders, such as rsync, scp etc. order from It is obtained in SCM (Source Code Management, source code management tool) code management tools, the script one in synchronizing process As executed by ssh (Secure Shell, safety shell protocol) key pair verification mode.Which is simple and clear, generally Code source, destination path and related perform script information, which need to only be written, can complete to dispose.Disadvantage is exactly visualization shortcoming, Deployment associated script is all needed in each terminal cluster, for different product modules, script needs to modify, to increase described The difficulty of the continuous maintenance of the version of product module.It completes to produce on line although which can combine with SCM code management tools The deployment of product, but when needing to execute urgent retract to version, it is necessary to then SCM version rollback could be waited on line more Newly.In addition, the orders such as rsync, scp can't be compared such as Git branch (one point of distributed version control system Branch) it is updated, the whole of Git (distributed version control system) business item can only be updated.
Second, configure system using open sources such as puppet, salt, chef to carry out the deployment of product, which it is excellent Point is that technical support strength in community's is rich, and script can be carried out with centralization and issues control and makes to update operation to be all idempotent, may be used also Secondary development, which is carried out, with active languages such as Python meets service deployment requirement.Disadvantage is exactly to need machine deployment agency, later period Maintenance can be relatively high.In addition the open sources such as described puppet, salt, chef configuration systematic comparison is suitable for system and software view Unified maintenance management, that is to say, that the initialization of system environments and software environment, and non-traffic, for urgent version rollback It is inconvenient.
There are a variety of environment such as exploitation, test, pre- publication and production in enterprises, machine O&M environment, operating system and Software configuration environment is different, and when using above two mode, relevant operation personnel need to carry out difference to various environment Change deployment, i.e., issue a product module version when, due to each terminal cluster in each user environment IP address not Together, therefore, it is necessary to repeatedly be issued according to the IP address of terminal cluster in each user environment, the difference of user environment causes Version is not unified enough, and is easy artificial error, and publication deployment working efficiency is low.
Summary of the invention
The purpose of the present invention is to provide a kind of version automation unified approach and systems, to solve version in each user environment The low problem of this disunity, efficiency for issuing.
In order to achieve the above object, the present invention provides version automation unified approach and systems, wherein the version is certainly Dynamicization integrated system is used for version of the unified business module in multiple user environments, and each user environment includes Multiple terminal clusters, at least one version control server and at least one name server, the multiple terminal cluster exist Registered domain name and IP address at least one described name server, the business module in each user environment and at least One terminal cluster is corresponding, and the domain name of the business module corresponding terminal cluster in the multiple user environment is identical, leads to At least one name server crossed in each user environment realizes the version of the business module to the parsing of domain name Unification in the multiple user environment.
Preferably, at least one version in above-mentioned version automation integrated system, in each user environment Control server registered domain name and IP address at least one described name server, and in the multiple terminal cluster and The virtual ip address of at least one name server is configured at least one version control server.
Preferably, in above-mentioned version automation integrated system, the multiple user environment includes: test environment, grinds Hair ring border, pre- publication environment and production environment;The test environment is for testing the version of the business module;Institute Development environment is stated for issuing the version of the business module;The pre- publication environment be used for the version of the business module into Pre- publication before row production;The production environment is used to finally issue the version of the business module.
Preferably, the Version Control service in above-mentioned version automation integrated system, in the multiple user environment Data on device are synchronous.
Preferably, in above-mentioned version automation integrated system, all versions of the business module are stored in each use On version control server in the environment of family.
The present invention also provides a kind of versions to automate unified approach, comprising:
Multiple terminal clusters in each user environment in multiple user environments and in the user environment at least Registered domain name and IP address on one name server;
One business module is corresponding at least one terminal cluster in each user environment, and the business module is in institute The domain name for stating corresponding terminal cluster in each user environment is identical;
The business is realized to the parsing of domain name by least one name server in each user environment Unification of the version of module in the multiple user environment.
Preferably, at least one Version Control in above-mentioned version automation unified approach, in each user environment Server registered domain name and IP address at least one name server in the user environment, in the multiple terminal cluster And the virtual ip address of at least one name server is configured at least one version control server.
Preferably, in above-mentioned version automation unified approach, the multiple user environment includes: test environment, grinds Hair ring border, pre- publication environment and production environment;The test environment is for testing the version of the business module;Institute Development environment is stated for issuing the version of the business module;The pre- publication environment be used for the version of the business module into Pre- publication before row production;The production environment is used to finally issue the version of the business module.
Preferably, the Version Control service in above-mentioned version automation unified approach, in the multiple user environment Data on device are synchronous.
Preferably, in above-mentioned version automation unified approach, all versions of the business module are stored in each use On version control server in the environment of family.
It is automated in unified approach and system in version provided by the invention, a business module is in each user environment It is corresponding at least one terminal cluster, the domain name of the business module corresponding terminal cluster in the multiple user environment It is identical, the business module is realized to the parsing of domain name by least one name server in each user environment Unification of the version in the multiple user environment, so as to conveniently realize the system of version in each user environment One, improve the efficiency of version publication.The fast fallback of version can also be realized simultaneously.
Detailed description of the invention
Fig. 1 is the schematic diagram that version automates integrated system in the embodiment of the present invention;
Fig. 2 is the flow chart that version automates unified approach in the embodiment of the present invention;
In figure:
101- development environment;102- tests environment;103- issues environment in advance;104- production environment;
1011- researches and develops name server;1012- researches and develops terminal cluster;1013- researches and develops version control server;bas-d- Research and develop terminal cluster;
1021- tests name server;1022- tests terminal cluster;1023- beta version control server;bas-t- Test terminal cluster;
1031- issues name server in advance;The pre- issue terminal cluster of 1032-;1033- prerelease version control server; The pre- issue terminal cluster of bas-p-;
1041- produces name server;1042- produces terminal cluster;1043- produces version control server;bas-r- Produce terminal cluster.
Specific embodiment
A specific embodiment of the invention is described in more detail below in conjunction with schematic diagram.According to following description and Claims, advantages and features of the invention will become apparent from.It should be noted that attached drawing is all made of very simplified form and Using non-accurate ratio, only for the purpose of facilitating and clarifying the purpose of the embodiments of the invention.
The embodiment of the invention provides a kind of versions to automate integrated system, as shown in Figure 1, for a unified business mould Version of the block in multiple user environments.The multiple user environment includes: test environment 102, development environment 101, pre- publication Environment 103 and production environment 104;Specifically, the test environment 102 is for surveying the version of the business module Examination;The development environment 101 is used to issue the version of the business module;The pre- publication environment 103 is used for the business The version of module produced before pre- publication;The production environment 104 is used to finally issue the version of the business module.
In each of above-mentioned user environment include multiple terminal clusters, at least one version control server with And at least one name server, the multiple terminal cluster and at least one described version control server are described at least one Registered domain name and IP address on a name server, and in the multiple terminal cluster and at least one described Version Control service The virtual ip address of at least one name server is configured on device.
Specifically, including multiple research and development terminal clusters 1012, at least one research and development Version Control clothes in development environment 101 Be engaged in device 1013 and at least one research and development name server 1011, the multiple research and development terminal cluster 1013 and it is described at least one grind Version control server 1013 registered domain name and IP address at least one described research and development name server 1011 are sent out, and in institute State at least one described in configuring on multiple research and development terminal clusters 1012 and at least one described research and development version control server 1013 Research and develop the virtual ip address of name server 1011.
1023 business are taken including multiple test terminal clusters 1022, the control of at least one beta version in test environment 102 Device and at least one test name server 1021, the multiple test terminal cluster 1022 and at least one described beta version Control server 1023 registered domain name and IP address at least one described test name server 1021, and the multiple It tests in terminal cluster 1022 and at least one described beta version control server 1023 and configures at least one described test domain The virtual ip address of name server 1021.
It include multiple pre- issue terminal clusters 1032, at least one prerelease version control clothes in publication environment 103 in advance Business device 1033 and at least one pre- publication name server 1031, the multiple pre- issue terminal cluster 1032 and described at least one A prerelease version control server 1033 registered domain name and IP at least one described pre- publication name server 1031 Location, and configured on the multiple pre- issue terminal cluster 1032 and at least one described prerelease version control server 1033 The virtual ip address of at least one pre- publication name server 1031.
It include multiple production terminal clusters 1042, at least one production version control server in production environment 104 1043 produce name server 1041, the multiple production terminal cluster 1042 and at least one described production version at least one This control server 1043 registered domain name and IP address at least one described production name server 1041, and described more At least one described production of configuration in a production terminal cluster 1042 and at least one described production version control server 1043 The virtual ip address of name server 1041.
One business module is corresponding at least one terminal cluster in each user environment, and the business module exists The domain name of corresponding terminal cluster is identical in the multiple user environment.Preferably, the title of the business module and right with it The title of the domain name for the terminal cluster answered is identical.
Specifically, for example entitled bas of a business module, in the development environment with its corresponding to research and development The domain name of terminal cluster, in the test environment domain name of corresponding test terminal cluster, in publication environment in advance and The domain name of its corresponding pre- issue terminal cluster and the domain name of corresponding production terminal cluster in the production environment Title be bas, but due in the development environment, domain name bas is carried out by the research and development name server It parses and has been directed toward the research and development terminal cluster bas-d;In the test environment, by the test name server to this Domain name bas is parsed and has been directed toward the test terminal cluster bas-t;In the pre- publication environment, pass through the pre- hair Cloth name server parses domain name bas and has been directed toward the pre- issue terminal cluster bas-p;In the production environment In, domain name bas parse by production name server and has been directed toward the production terminal cluster bas-r.It is aobvious and easy See, the research and development terminal cluster bas-d, test terminal cluster bas-t, the pre- issue terminal cluster bas-p and the life It is different for producing the IP address of terminal cluster bas-r.Therefore, the business module can be realized by the parsing to domain name Unification of the version in multiple user environments.
Further, the data on the version control server in the multiple user environment are synchronous.The business simultaneously All versions of module are stored on the version control server in each user environment.It, can be right for each business module Its each version issued realizes the unification in each user environment.Example is connected, if the business module bas is sent out in total 10 versions of cloth, any version in this 10 versions can be realized according to domain name bas in above-mentioned multiple user's rings It is unified in border, while can also be arbitrarily switched between this 10 versions.For example, be currently updated to latest edition, i.e., the 10th Version, it is also an option that the 5th version, then realizes the unification of the 5th version in above-mentioned multiple user environments, that is to say, Version fast fallback can be very easily realized by parsing of the name server to domain name.
Integrated system realization version automation unification is automated according to above-mentioned version the embodiment of the invention also provides a kind of Method, specifically, as shown in Figure 2, comprising the following steps: multiple terminal clusters in each user environment and in the user Registered domain name and IP address at least one name server in environment;One business module in each user environment with At least one terminal cluster is corresponding, the domain name phase of the business module corresponding terminal cluster in each user environment Together;The business module is realized to the parsing of domain name by least one name server in each user environment Unification of the version in the multiple user environment.
Specifically, step S1: multiple terminal clusters in each user environment and at least one in the user environment Registered domain name and IP address on a name server.
The multiple user environment includes: test environment, development environment, pre- publication environment and production environment;Specifically, The test environment is for testing the version of the business module;The development environment is for issuing the business module Version;The pre- publication environment is for the pre- publication before producing to the version of the business module;The production environment For finally issuing the version of the business module.
In each of above-mentioned user environment include multiple terminal clusters, at least one version control server with And at least one name server, the multiple terminal cluster and at least one described version control server are described at least one Registered domain name and IP address on a name server, and in the multiple terminal cluster and at least one described Version Control service The virtual ip address of at least one name server is configured on device.
S2: one business module of step is corresponding at least one terminal cluster in each user environment, the business The domain name of module corresponding terminal cluster in each user environment is identical.
As described previously for business module a bas, the corresponding research and development terminal cluster bas-d, test terminal The domain name of cluster bas-t, the pre- issue terminal cluster bas-p and the production terminal cluster bas-r are bas.
Step S3: by least one name server in each user environment to the parsing of domain name to realize State unification of the version of business module in the multiple user environment.
Name server in each user environment parses domain name, to realize the version of the business module in institute State the unification in multiple user environments.
To sum up, it is automated in unified approach and system in version provided in an embodiment of the present invention, a business module is each It is corresponding at least one terminal cluster in a user environment, the business module corresponding end in the multiple user environment Hold the domain name of cluster identical, by least one name server in each user environment to the parsing of domain name to realize Unification of the version of the business module in the multiple user environment, so as to conveniently realize each user's ring The unification of version in border improves the efficiency of version publication.The fast fallback of version can also be realized simultaneously.
The above is only a preferred embodiment of the present invention, does not play the role of any restrictions to the present invention.Belonging to any Those skilled in the art, in the range of not departing from technical solution of the present invention, to the invention discloses technical solution and Technology contents make the variation such as any type of equivalent replacement or modification, belong to the content without departing from technical solution of the present invention, still Within belonging to the scope of protection of the present invention.

Claims (8)

1. a kind of version automates integrated system, which is characterized in that for a unified business module in multiple user environments Version, each user environment include multiple terminal clusters, at least one version control server and at least one Name server, the multiple terminal cluster registered domain name and IP address, industry at least one described name server Module of being engaged in is corresponding at least one terminal cluster in each user environment, and the business module is in the multiple user environment In corresponding terminal cluster domain name it is identical, by least one name server in each user environment to domain name Parsing is to realize unification of the version of the business module in the multiple user environment;
Wherein, at least one version control server in each user environment is at least one described name server Upper registered domain name and IP address, and configuration is described extremely in the multiple terminal cluster and at least one version control server The virtual ip address of a few name server.
2. version as described in claim 1 automates integrated system, which is characterized in that the multiple user environment includes: to survey Test ring border, development environment, pre- publication environment and production environment;The test environment be used for the version of the business module into Row test;The development environment is used to issue the version of the business module;The pre- publication environment is used for the business mould The version of block produced before pre- publication;The production environment is used to finally issue the version of the business module.
3. version as described in claim 1 automates integrated system, which is characterized in that the version in the multiple user environment Data in control server are synchronous.
4. version as claimed in claim 3 automates integrated system, which is characterized in that all versions of the business module are deposited It is stored on the version control server in each user environment.
5. a kind of version automates unified approach characterized by comprising
Multiple terminal clusters in each user environment in multiple user environments and at least one of the user environment Registered domain name and IP address on name server;
One business module is corresponding at least one terminal cluster in each user environment, and the business module is described each The domain name of corresponding terminal cluster is identical in a user environment;
The business module is realized to the parsing of domain name by least one name server in each user environment Unification of the version in the multiple user environment;
Wherein, at least one domain name clothes of at least one version control server in each user environment in the user environment Registered domain name and IP address on business device, in the multiple terminal cluster and at least one version control server described in configuration The virtual ip address of at least one name server.
6. version as claimed in claim 5 automates unified approach, which is characterized in that the multiple user environment includes;It surveys Test ring border, development environment, pre- publication environment and production environment;The test environment be used for the version of the business module into Row test;The development environment is used to issue the version of the business module;The pre- publication environment is used for the business mould The version of block produced before pre- publication;The production environment is used to finally issue the version of the business module.
7. version as claimed in claim 5 automates unified approach, which is characterized in that the version in the multiple user environment Data in control server are synchronous.
8. version as claimed in claim 7 automates unified approach, which is characterized in that all versions of the business module are deposited It is stored on the version control server in each user environment.
CN201610212823.XA 2016-04-07 2016-04-07 Version automates unified approach and system Active CN105912329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610212823.XA CN105912329B (en) 2016-04-07 2016-04-07 Version automates unified approach and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610212823.XA CN105912329B (en) 2016-04-07 2016-04-07 Version automates unified approach and system

Publications (2)

Publication Number Publication Date
CN105912329A CN105912329A (en) 2016-08-31
CN105912329B true CN105912329B (en) 2019-10-22

Family

ID=56745396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610212823.XA Active CN105912329B (en) 2016-04-07 2016-04-07 Version automates unified approach and system

Country Status (1)

Country Link
CN (1) CN105912329B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453296A (en) * 2016-09-30 2017-02-22 乐视控股(北京)有限公司 Request service isolating method and system
CN107463409A (en) * 2017-08-11 2017-12-12 深圳乐信软件技术有限公司 A kind of interface conversion method, interface convertor, storage medium and electric terminal
CN107870772B (en) * 2017-10-09 2020-10-02 深圳前海微众银行股份有限公司 Cross-environment application deployment method, platform, system and readable storage medium
CN111124907A (en) * 2019-12-18 2020-05-08 北京智明星通科技股份有限公司 Mobile phone game testing method and device and server
WO2021232243A1 (en) * 2020-05-19 2021-11-25 深圳市欢太科技有限公司 Cluster management method, cluster management apparatus, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1679020A (en) * 2002-09-03 2005-10-05 摩托罗拉公司(在特拉华州注册的公司) Multiple unicast of data to multiple hosts having the same domain name
CN102469066A (en) * 2010-11-04 2012-05-23 大唐移动通信设备有限公司 Message processing method and device
CN102611762A (en) * 2011-01-21 2012-07-25 中国电信股份有限公司 Uniform domain name service system and method
CN103677765A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 Version automatic issuing method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1679020A (en) * 2002-09-03 2005-10-05 摩托罗拉公司(在特拉华州注册的公司) Multiple unicast of data to multiple hosts having the same domain name
CN102469066A (en) * 2010-11-04 2012-05-23 大唐移动通信设备有限公司 Message processing method and device
CN102611762A (en) * 2011-01-21 2012-07-25 中国电信股份有限公司 Uniform domain name service system and method
CN103677765A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 Version automatic issuing method, device and storage medium

Also Published As

Publication number Publication date
CN105912329A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN105912329B (en) Version automates unified approach and system
CN106250543B (en) A kind of automated data inquiry synchronous storage method
CN104317843B (en) A kind of data syn-chronization ETL system
CN109542865A (en) Distributed cluster system configuration file synchronous method, device, system and medium
US11012305B2 (en) Systems and methods for service mapping
CN107436775A (en) The method and device of business release is installed on virtual machine
CN106843837A (en) The construction method of openstack assembly containers
CN106294741B (en) A kind of automated data inquiry synchronization storage system
CN106294713A (en) The method of data synchronization resolved based on Incremental Log and data synchronization unit
CN110413295A (en) A kind of embedded device remote firmware updating method
CN104317921A (en) Cross-database data synchronizing system and method
CN103870274A (en) Visual development assembly for realizing data interaction between heterogeneous systems based on web service technology
CN105959390A (en) Unified management system and method of micro services
CN109547514A (en) A kind of task processing method, device, electronic equipment and storage medium
CN105574109A (en) Database synchronizing method and equipment and system
US10817492B2 (en) Application extension
CN105094961A (en) Task scheduling management system based on quartz frame and method thereof
CN111198726B (en) Configuration system and method suitable for traditional application clouding
CN104301149A (en) Multi-data-center permission management method and system
CN105843871B (en) Control and management system of distributed application files
CN106815012A (en) Decentralized configuration Explore of Unified Management Ideas and system based on Zookeeper
US20040225632A1 (en) Automated information management and related methods
CN105700962A (en) Data update processing method and apparatus
US20130254757A1 (en) Nesting installations of software products
WO2016074412A1 (en) Compatibility administration method based on network configuration protocol, storage medium and device

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