Summary of the invention
The technical problem to be solved in the present invention is, and is large for the Software deployment workload of prior art, and to the demanding defective of deployment personnel is installed, provides a kind of installation portion arranging method and system based on province's cities and counties' integrated software.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of installation portion arranging method based on province's cities and counties' integrated software, may further comprise the steps:
S1, obtain the Software deployment task, described Software deployment task comprises treats the deploying computer tabulation, describedly treats that the deploying computer tabulation comprises that the unique code information for the treatment of deploying computer and this treat the software information that deploying computer need to be installed;
S2, generate configuration file and the software installation kit treat deploying computer according to the Software deployment task;
S3, configuration file and software installation kit offered by network treat accordingly deploying computer, wherein, the corresponding installation task for the treatment of deploying computer of this configuration file indication.
In the installation portion arranging method based on province's cities and counties' integrated software of the present invention, described method is further comprising the steps of:
S4, verify under simulated environment according to configuration file and software installation kit effect is installed.
In the installation portion arranging method based on province's cities and counties' integrated software of the present invention, described step S2 generates according to the Software deployment task and treats that the configuration file of deploying computer is specially:
S21, according to one-level unit of Software deployment task definition, dispose catalogue according to one of this one-level unit customization, comprise a total installation kit and a total configuration file under this deployment catalogue.
In the installation portion arranging 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 of deploying computer feedback is treated in S5, reception.
In the installation portion arranging method based on province's cities and counties' integrated software of the present invention, describedly 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 deployment system based on province's cities and counties' integrated software, comprising:
The task acquisition module is used for obtaining the Software deployment task, and described Software deployment task comprises treats the deploying computer tabulation, describedly treats that the deploying computer tabulation comprises that the unique code information for the treatment of deploying computer and this treat the software information that deploying computer need to be installed;
Generation module is used for generating configuration file and the software installation kit for the treatment of deploying computer according to the Software deployment task;
Installation module is used for configuration file and software installation kit offered by network and treats accordingly deploying computer, wherein, and the corresponding installation task for the treatment of deploying computer of this configuration file indication.
In the installation deployment system based on province's cities and counties' integrated software of the present invention, also comprise:
The pre-installation module is used for verifying the installation effect according to configuration file and software installation kit under simulated environment.
In the installation deployment system based on province's cities and counties' integrated software of the present invention, described generation module further comprises:
Customization units: be used for according to one-level unit of Software deployment task definition, dispose catalogue according to this of one-level unit's customization, comprise a total installation kit and a total configuration file under this deployment catalogue.
In the installation deployment system based on province's cities and counties' integrated software of the present invention, also comprise:
Feedback module is installed, is used for receiving the installation results for the treatment of the deploying computer feedback.
In the installation deployment system based on province's cities and counties' integrated software of the present invention, describedly treat that the unique code information of deploying computer is IP address, computer name or MAC Address.
Implement installation portion arranging method and the system based on province's cities and counties' integrated software of the present invention, has following beneficial effect: by obtaining in advance the Software deployment task, then generate configuration file and the software installation kit for the treatment of deploying computer, treat again deploying computer and install; Owing to according to having generated configuration file in the Software deployment task-set, treating that deploying computer can carry out automatic software and install under the guide of configuration file, can carry out Software deployment to the batch computing machine easily, increase work efficiency.
Embodiment
In order to make purpose of the present invention clearer, 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, is not intended to limit the present invention.
As shown in Figure 1, in the process flow diagram of the installation portion arranging method based on province's cities and counties' integrated software of the present invention, may further comprise the steps:
S1, obtain the Software deployment task, the Software deployment task comprises treats the deploying computer tabulation, treats that the deploying computer tabulation comprises that the unique code information for the treatment of deploying computer and this treat the software information that deploying computer need to be installed; In this step, treat that the deploying computer tabulation is as shown in table 1:
Table one
This treats that deploying computer tabulation goes to collection in worksite information by the producer, and complete information is collected in item by item investigation, obtains the Software deployment task take province, city, county as node; This treats that the unique code information of deploying computer is used for the sign computing machine, can be IP address, computer name or MAC Address, as long as it is just passable to distinguish computing machine; Therefore treat the working environment of deploying computer, the difference of work purpose because of each, need to install different software, need in the deploying computer tabulation to treat detailed will respectively treat the software inventory record that deploying computer need to be installed at this; Treat also can comprise hardware environment and the software environment of respectively treating deploying computer in the deploying computer tabulation at this;
S2, generate configuration file and the software installation kit treat deploying computer according to the Software deployment task; In this step, the configuration file of generation can be ordinary file form, XML form or particular arrangement file configuration, for extendability is considered recommend adoption XML form; This software installation kit can province, city or county are the node packing, as can be with all Software packages for the treatment of deploying computer in X1 county together, with all Software packages for the treatment of deploying computer in X city together, with all Software packages for the treatment of deploying computer in Guangdong Province together, those software installation kits can be with Guangdong Province, X city, the name of X1 county, namely take province, city, county as node, be each node software packaging installation kit.The dynamic installation process of this software installation kit support in the installation deployment at the scene, reads configuration file, according to profile information, generates and install the software product separately and the corresponding configuration parameter file that satisfy site environment.The operating system that this software installation kit is supported: Windows series, Windows XP, Windows Server 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 is finished customization and is installed.
S3, configuration file and software installation kit offered by network treat accordingly deploying computer, wherein, the corresponding installation task for the treatment of deploying computer of this configuration file indication.
Further, the method is further comprising the steps of:
S4, verify under simulated environment according to configuration file and software installation kit effect is installed.By adopting this step, can simulate installation to the configuration file and the software installation kit that generate in advance, can checking normal mounting.Adopt the mechanism of this simulation pre-installation and checking, can avoid on-the-spot the installation to go wrong elapsed time and increase cost.
Further, step S2 generates according to the Software deployment task and treats that the configuration file of deploying computer is specially:
S21, according to one-level unit of Software deployment task definition, dispose catalogue according to one of this one-level unit customization, comprise a total installation kit and a total configuration file under this deployment catalogue.The detail analysis structure of this configuration file is carried out this installation kit in branch offices as shown in Figure 2, can automatically select according to computing machine unique code (address or other) software of installation, and carry out corresponding minute installation kit; If carry out in this locality, also can carry out total installation kit, automatically select the software of installation according to computing machine unique code (address or other), and carry out corresponding minute installation kit.
Further, the method is further comprising the steps of:
The installation results of deploying computer feedback is treated in S5, reception.In this step, the installation results of deploying computer respectively treated in record, and deploying computer resends configuration file and the software installation kit is installed to failed waiting is installed.Adopt this step, can guarantee treating that respectively deploying computer needs mounting software that installation is arranged.
Adopt the installation portion arranging method based on province's cities and counties' integrated software of the present invention, have the following advantages:
1, the producer can gather the information of respectively treating deploying computer in advance, and 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, be each node (province, city, county) customized software installation kit, finish the packing of all softwares in this stage, there is the software of standalone version to pack separately, common software directly copies, and has the software package that needs to adjust to adjust.The producer can install under simulated environment in advance, the installation effect of verifying software installation kit, and checking makes a preliminary test, for the software installation kit that has been proved to be successful, scene (respectively treating deploying computer) can be distributed to, if the deployment center is arranged, the deployment center can be published to.
3, can copy configuration file and the software installation kit that generates to deployment server, 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 integral body of planning center issue is copied to this catalogue, and share this catalogue.
4, can carry out Remote Installation, also can carry out this locality and install.
Installation personnel at the center of deployment, by the remote desktop instrument, remote access needs the computer of deployment software, at the share directory of this computer access deployment server, carry out total installation kit, total installation kit detects the unique code of this computer, select suitable mounting software automatically to install according to this unique code, the enforcement personnel need some mount messages are confirmed during this time, if select full-automatic Installation Modes, then all informations can be ignored.After all finishing installation, with reference to validation criteria, carry out item by item testing authentication, the project that need to test in this locality is then finished by the enforcement personnel cooperation of this locality.The result is mark item by item, as result feedback to the planning center.
The enforcement personnel carry out 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, during the enforcement personnel need confirm some mount messages, if select full-automatic Installation Modes, then all informations can be ignored.After all finishing installation, with reference to validation criteria, carry out item by item testing authentication, the project that need to test in this locality is then finished by the enforcement personnel cooperation of this locality.The result is mark item by item, as result feedback to the planning center.Can judge the IP address when disposing the unique identification of computer; When long-range execution, according to local which software of installing of IP address Intelligence Selection.
As shown in Figure 3, be the structured flowchart of the installation deployment system based on province's cities and counties' integrated software of the present invention, comprising:
Task acquisition module 10 is used for obtaining the Software deployment task, and this Software deployment task comprises treats the deploying computer tabulation, and this treats that the deploying computer tabulation comprises that the unique code information for the treatment of deploying computer and this treat the software information that deploying computer need to be installed; This treats that deploying computer tabulation is as shown in table 1, and this treats that the deploying computer tabulation goes to collection in worksite information by the producer, and complete information is collected in item by item investigation, obtains the Software deployment task take province, city, county as node; This treats that the unique code information of deploying computer is used for the sign computing machine, can be IP address, computer name or MAC Address, as long as it is just passable to distinguish computing machine; Therefore treat the working environment of deploying computer, the difference of work purpose because of each, need to install different software, need in the deploying computer tabulation to treat detailed will respectively treat the software inventory record that deploying computer need to be installed at this; Treat also can comprise hardware environment and the software environment of respectively treating deploying computer in the deploying computer tabulation at this;
Generation module 20 is used for generating configuration file and the software installation kit for the treatment of deploying computer according to the Software deployment task; The configuration file that generates can be ordinary file form, XML form or particular arrangement file configuration, for extendability is considered recommend adoption XML form; This software installation kit can province, city or county are the node packing, as can be with all Software packages for the treatment of deploying computer in X1 county together, with all Software packages for the treatment of deploying computer in X city together, with all Software packages for the treatment of deploying computer in Guangdong Province together, those software installation kits can be with Guangdong Province, X city, the name of X1 county, namely take province, city, county as node, be each node software packaging installation kit.The dynamic installation process of this software installation kit support in the installation deployment at the scene, reads configuration file, according to profile information, generates and install the software product separately and the corresponding configuration parameter file that satisfy site environment.The operating system that this software installation kit is supported: Windows series, Windows XP, Windows Server 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 is finished customization and is installed.
Installation module 30 is used for configuration file and software installation kit offered by network and treats accordingly deploying computer, wherein, and the corresponding installation task for the treatment of deploying computer of this configuration file indication;
Pre-installation module 40 is used for verifying the installation effect according to configuration file and software installation kit under simulated environment.Adopt the mechanism of this simulation pre-installation and checking, can avoid on-the-spot the installation to go wrong elapsed time and increase cost.
Further, this generation module also comprises:
Customization units: be used for according to one-level unit of Software deployment task definition, dispose catalogue according to this of one-level unit's customization, comprise a total installation kit and a total configuration file under this deployment catalogue.The detail analysis structure of this configuration file is carried out this installation kit in branch offices as shown in Figure 2, can automatically select according to computing machine unique code (address or other) software of installation, and carry out corresponding minute installation kit; If carry out in this locality, also can carry out total installation kit, automatically select the software of installation according to computing machine unique code (address or other), and carry out corresponding minute installation kit.
Further, this system also comprises:
Feedback module 50 is installed, is used for receiving the installation results for the treatment of the deploying computer feedback.The installation results of deploying computer respectively treated in record, and deploying computer resends configuration file and the software installation kit is installed to failed waiting is installed.Adopt this step, can guarantee treating that respectively deploying computer needs mounting software that installation is arranged.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.