Summary of the invention
The technical problem to be solved in the present invention is, the Software deployment workload for prior art is large, and the defect high to installation and deployment personnel requirement, a kind of installation and deployment method and system based on province's cities and counties' integrated software are provided.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of installation and deployment method based on province's cities and counties' integrated software, comprise the following steps:
S1, obtain Software deployment task, described Software deployment task comprises treats deploying computer list, described in treat that deploying computer list comprises the unique code information for the treatment of deploying computer and this treats the software information that deploying computer needs are installed;
S2, to generate according to Software deployment task and treat configuration file and the software installation kit of deploying computer;
S3, configuration file and software installation kit be supplied to by network and treat deploying computer accordingly, wherein, the installation task treating deploying computer corresponding to the instruction of this configuration file.
In the installation and deployment method based on province's cities and counties' integrated software of the present invention, described method is further comprising the steps of:
S4, according to configuration file and software installation kit verify under simulated environment install effect.
In the installation and deployment method based on province's cities and counties' integrated software of the present invention, described step S2 generates according to Software deployment task and treats that the configuration file of deploying computer is specially:
S21, according to Software deployment task definition one-level unit, customize one according to this one-level unit and dispose catalogue, under this deployment catalogue, comprise a total installation kit and a total configuration file.
In the installation and deployment method based on province's cities and counties' integrated software of the present invention, described method is further comprising the steps of:
The installation results that deploying computer feeds back is treated in S5, reception.
In the installation and deployment method based on province's cities and counties' integrated software of the present invention, described in treat that the unique code information of deploying computer is IP address, computer name or MAC Address.
The present invention also constructs a kind of installation and deployment system based on province's cities and counties' integrated software, comprising:
Task acquisition module, for obtaining Software deployment task, described Software deployment task comprises treats deploying computer list, described in treat that deploying computer list comprises the unique code information for the treatment of deploying computer and this treats the software information that deploying computer needs are installed;
Generation module, for generating configuration file and the software installation kit for the treatment of deploying computer according to Software deployment task;
Installation module, treats deploying computer accordingly for configuration file and software installation kit being supplied to by network, wherein, and the installation task treating deploying computer corresponding to the instruction of this configuration file.
In the installation and deployment system based on province's cities and counties' integrated software of the present invention, also comprise:
Pre-installation module, installs effect for verifying under simulated environment according to configuration file and software installation kit.
In the installation and deployment system based on province's cities and counties' integrated software of the present invention, described generation module comprises further:
Customization units: for according to Software deployment task definition one-level unit, customizes one according to this one-level unit and disposes catalogue, comprises a total installation kit and a total configuration file under this deployment catalogue.
In the installation and deployment system based on province's cities and counties' integrated software of the present invention, also comprise:
Feedback module is installed, for receiving the installation results treating that deploying computer feeds back.
In the installation and deployment system based on province's cities and counties' integrated software of the present invention, described in treat that the unique code information of deploying computer is IP address, computer name or MAC Address.
Implement the installation and deployment method and system based on province's cities and counties' integrated software of the present invention, there is following beneficial effect: by obtaining Software deployment task in advance, then generate and treat configuration file and the software installation kit of deploying computer, then treat deploying computer and install; Owing to generating configuration file according in Software deployment task-set, treat that deploying computer can carry out automatic software installation under the guide of configuration file, Software deployment can be carried out to batch computing machine easily, increase work efficiency.
Embodiment
In order to make object of the present invention clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, in the process flow diagram of the installation and deployment method based on province's cities and counties' integrated software of the present invention, comprise the following steps:
S1, obtain Software deployment task, Software deployment task comprises treats deploying computer list, treats that deploying computer list comprises the unique code information for the treatment of deploying computer and this treats the software information that deploying computer needs are installed; In this step, treat that deploying computer list is as shown in table 1:
Table one
This treats that deploying computer list goes to collection in worksite information by producer, investigates item by item, collects complete information, with province, city, county for node acquisition Software deployment task; This treats that the unique code information of deploying computer is for identifying computing machine, can be IP address, computer name or MAC Address, as long as it is just passable to distinguish computing machine; Because each treats the working environment of deploying computer, the difference of work object, therefore need different software is installed, treat to need in deploying computer list detailed will respectively treat the software inventory record that deploying computer needs are installed at this; Treat also can to comprise in deploying computer list at this hardware environment and software environment of respectively treating deploying computer;
S2, to generate according to Software deployment task and treat configuration file and the software installation kit of deploying computer; In this step, the configuration file of generation can be normal file format, XML format or particular arrangement file configuration, for extendability is considered, recommends to adopt XML format; This software installation kit can province, city or county be node packing, as Ke Jiang X1 county all Software packages treating deploying computer together, by all Software packages treating deploying computer in X city together, by all Software packages treating deploying computer in Guangdong Province together, those software installation kits can with Guangdong Province, X city, the name of X1 county, namely with province, city, county for node, be each node software packaging installation kit.The dynamic installation process of this software installation kit support, in installation and deployment process at the scene, reads configuration file, according to profile information, generates and installs the respective software product and corresponding configuration parameter file that meet site environment.The operating system that this software installation kit is supported: Windows series, WindowsXP, WindowsServer or renewal version.In order to realize senior installation customization function, the mode that this software installation kit adopts " senior installation kit software+exploitation mounting software " to combine completes customization and installs.
S3, configuration file and software installation kit be supplied to by network and treat deploying computer accordingly, wherein, the installation task treating deploying computer corresponding to the instruction of this configuration file.
Further, the method is further comprising the steps of:
S4, according to configuration file and software installation kit verify under simulated environment install effect.By adopting this step, can carry out simulation to the configuration file generated and software installation kit in advance and install, can checking normal mounting.Adopt this simulation pre-installation and checking mechanism, can avoid in-site installation go wrong elapsed time and increase cost.
Further, step S2 generates according to Software deployment task and treats that the configuration file of deploying computer is specially:
S21, according to Software deployment task definition one-level unit, customize one according to this one-level unit and dispose catalogue, under this deployment catalogue, comprise a total installation kit and a total configuration file.The detail analysis structure of this configuration file as shown in Figure 2, performs this installation kit in branch offices, automatically can select the software of installation, and perform corresponding point installation kit according to computing machine unique code (address or other); If performed in this locality, also can perform total installation kit, automatically select the software installed according to computing machine unique code (address or other), and perform corresponding point installation kit.
Further, the method is further comprising the steps of:
The installation results that deploying computer feeds back is treated in S5, reception.In this step, the installation results of deploying computer respectively treated in record, to install unsuccessfully treat that deploying computer resends configuration file and software installation kit is installed.Adopting this step, can guaranteeing respectively treating that deploying computer needs mounting software to have installation.
Adopt the installation and deployment method based on province's cities and counties' integrated software of the present invention, have the following advantages:
1, producer can gather the information respectively treating deploying computer in advance, each information aggregate is generated a Software deployment task; The acquisition deployment task that can concentrate.
2, according to this Software deployment task generating configuration file and software installation kit, for each node (province, city, county) customized software installation kit, the packing of all software is completed in this stage, the software of standalone version is had to pack separately, common software directly copies, and has and needs the software package of adjustment to adjust.Producer can install in advance under simulated environment, the installation effect of verifying software installation kit, and make a preliminary test checking, for the software installation kit be proved to be successful, scene (respectively treating deploying computer) can be distributed to, if there is deployment center, deployment center can be published to.
3, the configuration file of generation and software installation kit can be copied to deployment server, the enforcement personnel at the center of deployment, select a station server as deployment server, set up the deployment software catalogue (each province, city, county) of this total node, the software installation kit entirety that planning center is issued is copied to this catalogue, and shares this catalogue.
4, can Remote Installation be carried out, also can carry out this locality and install.
At the installation personnel at the center of deployment, by remote desktop instrument, remote access needs the computer of deployment software, this computer is accessed the share directory of deployment server, performs total installation kit, total installation kit detects the unique code of this computer, suitable mounting software is selected automatically to install according to this unique code, period implements personnel and need confirm some mount messages, if select full-automatic Installation Modes, then all informations can be ignored.After all completing installation, with reference to validation criteria, carry out testing authentication item by item, need the project of carrying out in this locality testing, then coordinated by the enforcement personnel of this locality.The result marks item by item, as result feedback to planning center.
Enforcement personnel perform total installation kit at the scene, total installation kit detects the unique code of this computer, selects suitable mounting software automatically to install according to this unique code, and period implements personnel and need confirm some mount messages, if select full-automatic Installation Modes, then all informations can be ignored.After all completing installation, with reference to validation criteria, carry out testing authentication item by item, need the project of carrying out in this locality testing, then coordinated by the enforcement personnel of this locality.The result marks item by item, as result feedback to planning center.Can using IP address as the unique identification judging computer when disposing; When long-distance support, according to IP address intelligent selection this locality, which software is installed.
As shown in Figure 3, be the structured flowchart of the installation and deployment system based on province's cities and counties' integrated software of the present invention, comprise:
Task acquisition module 10, for obtaining Software deployment task, this Software deployment task comprises treats deploying computer list, and this treats that deploying computer list comprises the unique code information for the treatment of deploying computer and this treats the software information that deploying computer needs are installed; This treats that deploying computer list is as shown in table 1, and this treats that deploying computer list goes to collection in worksite information by producer, investigates item by item, collects complete information, with province, city, county for node acquisition Software deployment task; This treats that the unique code information of deploying computer is for identifying computing machine, can be IP address, computer name or MAC Address, as long as it is just passable to distinguish computing machine; Because each treats the working environment of deploying computer, the difference of work object, therefore need different software is installed, treat to need in deploying computer list detailed will respectively treat the software inventory record that deploying computer needs are installed at this; Treat also can to comprise in deploying computer list at this hardware environment and software environment of respectively treating deploying computer;
Generation module 20, for generating configuration file and the software installation kit for the treatment of deploying computer according to Software deployment task; The configuration file generated can be normal file format, XML format or particular arrangement file configuration, for extendability is considered, recommends to adopt XML format; This software installation kit can province, city or county be node packing, as Ke Jiang X1 county all Software packages treating deploying computer together, by all Software packages treating deploying computer in X city together, by all Software packages treating deploying computer in Guangdong Province together, those software installation kits can with Guangdong Province, X city, the name of X1 county, namely with province, city, county for node, be each node software packaging installation kit.The dynamic installation process of this software installation kit support, in installation and deployment process at the scene, reads configuration file, according to profile information, generates and installs the respective software product and corresponding configuration parameter file that meet site environment.The operating system that this software installation kit is supported: Windows series, WindowsXP, WindowsServer or renewal version.In order to realize senior installation customization function, the mode that this software installation kit adopts " senior installation kit software+exploitation mounting software " to combine completes customization and installs.
Installation module 30, treats deploying computer accordingly for configuration file and software installation kit being supplied to by network, wherein, and the installation task treating deploying computer corresponding to the instruction of this configuration file;
Pre-installation module 40, installs effect for verifying under simulated environment according to configuration file and software installation kit.Adopt this simulation pre-installation and checking mechanism, can avoid in-site installation go wrong elapsed time and increase cost.
Further, this generation module also comprises:
Customization units: for according to Software deployment task definition one-level unit, customizes one according to this one-level unit and disposes catalogue, comprises a total installation kit and a total configuration file under this deployment catalogue.The detail analysis structure of this configuration file as shown in Figure 2, performs this installation kit in branch offices, automatically can select the software of installation, and perform corresponding point installation kit according to computing machine unique code (address or other); If performed in this locality, also can perform total installation kit, automatically select the software installed according to computing machine unique code (address or other), and perform corresponding point installation kit.
Further, this system also comprises:
Feedback module 50 is installed, for receiving the installation results treating that deploying computer feeds back.The installation results of deploying computer respectively treated in record, to install unsuccessfully treat that deploying computer resends configuration file and software installation kit is installed.Adopting this step, can guaranteeing respectively treating that deploying computer needs mounting software to have installation.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.