CN100375021C - Method for cloning software system - Google Patents
Method for cloning software system Download PDFInfo
- Publication number
- CN100375021C CN100375021C CNB2005100120574A CN200510012057A CN100375021C CN 100375021 C CN100375021 C CN 100375021C CN B2005100120574 A CNB2005100120574 A CN B2005100120574A CN 200510012057 A CN200510012057 A CN 200510012057A CN 100375021 C CN100375021 C CN 100375021C
- Authority
- CN
- China
- Prior art keywords
- installation modes
- time
- long
- required set
- range
- 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
Links
Images
Abstract
The invention provides a cloning method of the software system. It includes: computing the installation time of the remote installation mode and the compounding installation mode; comparing the two installation time; if the remote time is more than the compounding time, it will select the compounding installation mode or the remote installation mode to clone the system software between the computers.
Description
Technical field
The present invention relates to computer software technical field, especially, relate to a kind of method of cloning computer software, can select one of long-range Installation Modes and mixing Installation Modes to come cloning software system according to long-range Installation Modes and the size of mixing required set-up time of Installation Modes.
Background technology
For by long-range technology of giving computing machine installing operating system and application software comparative maturity (hereinafter being referred to as " long-range Installation Modes "), mainly be exactly to utilize PXE (pretrigger environment) agreement of having supported in the computer BIOS, and the automatic installation function based on the script describing language of operating system installation program support itself, operating system installation catalogue on the control end computing machine is invented a local directory, the beginning automatic installing operating system, in this manner, what adopt between transmitting terminal and the receiving end computer is connection-oriented network data transmission agreement, therefore the receiving end computer quantity that is connected simultaneously with the transmitting terminal computing machine is many more, transmitting terminal network card data flow is just big more, taking of cpu resource and memory source is just many more, thereby can form a performance bottleneck.
In addition, also have a kind of mixing Installation Modes, under this pattern, specify a transmitting terminal computing machine in advance in a group of planes, other computing machines in the group of planes become receiving end computer with respect to this transmitting terminal computing machine.Then, adopting above-mentioned long-range Installation Modes is transmitting terminal computing machine install software system in the group of planes, then, it is the interior computing machine cloning software system of the same physics network segment that this transmitting terminal computing machine uses the broadcasting mounting means, that is, the transmitting terminal computing machine sends to receiving end computer by broadcast mode with the software systems installation file in this machine and controls the installation of these software systems.Here it is described mixing Installation Modes wherein mixes and has used long-range Installation Modes and broadcasting Installation Modes.But, in the method, be faced with the problem that can not thoroughly support to stride hardware platform.
Therefore, need and mix Installation Modes long-range Installation Modes and combine consideration, this is a kind of feasible selection for giving 50 the quick deployment operation of above computing machine systems, but will solve a key technical problem is: how to judge the clone that the direct mixing Installation Modes that uses long-range Installation Modes to give all computing machine install software systems in the network segment, also is to use long-range Installation Modes and broadcasting Installation Modes to combine comes the executive software system.
Summary of the invention
In order to address the above problem, the present invention has been proposed, therefore one object of the present invention is to provide a kind of method of cloning computer software, wherein can select one of long-range Installation Modes and mixing Installation Modes to come cloning software system according to long-range Installation Modes and the size of mixing required set-up time of Installation Modes.In the present invention, the correlation parameter that can utilize manufacturer to be kept in advance in the hard disc of computer calculates long-range Installation Modes and mixing required set-up time of Installation Modes fast.
To achieve these goals,, proposed a kind of method of cloning software system, having comprised: calculated required set-up time of long-range Installation Modes and mixing required set-up time of Installation Modes according to the present invention; Required set-up time of more long-range Installation Modes and mixing required set-up time of Installation Modes; If the required set-up time of long-range Installation Modes more than mixing the required set-up time of Installation Modes, then selects to mix Installation Modes cloning software system between the computing machine of a group of planes; And if the required set-up time of long-range Installation Modes is less than the mixing required set-up time of Installation Modes, then select long-range Installation Modes cloning software system between the computing machine of a group of planes, wherein, described mixing Installation Modes is the combination of long-range Installation Modes and broadcasting Installation Modes.
Preferably, the required set-up time of long-range Installation Modes is based on following parameter: software systems file size, the network bandwidth, network interface card speed, memory read-write speed and R/W speed of hard disc.
Preferably, mix the required set-up time of Installation Modes based on following parameter: the mean pressure shrinkage of software systems file size, network interface card speed, memory read-write speed and R/W speed of hard disc, broadcasting speed and data compression algorithm.
Preferably, the part of above-mentioned parameter is stored in the host protecting region that computing machine provides by manufacturer when dispatching from the factory.
Preferably, mix the combination that Installation Modes is long-range Installation Modes and broadcasting Installation Modes.
Preferably, under long-range Installation Modes, after copy, start the installation process of the software systems of all computing machines in the group of planes simultaneously.
Description of drawings
Below in conjunction with the detailed description of preferred embodiment that accompanying drawing adopted, above-mentioned purpose of the present invention, advantage and feature will become apparent by reference, wherein:
Fig. 1 shows the overview flow chart according to the method for the cloning software system of the embodiment of the invention;
The form of the V separate unit copy empirical value that is provided by manufacturer is provided Fig. 2; And
The form of the V broadcasting empirical value that is provided by manufacturer is provided Fig. 3.
Embodiment
Describe the preferred embodiments of the present invention below with reference to the accompanying drawings in detail.
Fig. 1 shows the overview flow chart according to the method for the cloning software system of the embodiment of the invention.
As shown in Figure 1, after beginning, required set-up time T1 calculates (step 110) to long-range Installation Modes, and calculates (step 120) to mixing the required set-up time T2 of Installation Modes.Then, required set-up time T1 of long-range Installation Modes and the required set-up time T2 of mixing Installation Modes are compared (step 130), if the required set-up time T1 of long-range Installation Modes greater than mixing the required set-up time T2 of Installation Modes, then selects to mix Installation Modes and comes cloning software system (step 140); Otherwise, then select long-range Installation Modes to come cloning software system
(step 150).
As example, can adopt following formula to calculate T1:
T1=(T copy+T installation)
Wherein, T copy=int (M/ (bandwidth/V separate unit copy)) * (operating system installation file size/V separate unit copy);
In above formula, the implication of " T copy " is to need after installing operating system begins from transmitting terminal installation file to be copied to time the receiving end internal memory, so it depends on the network bandwidth, network interface card speed, memory read-write speed and R/W speed of hard disc.When wherein the implication of V separate unit copy is computing machine of independent long-range installation, the average velocity of copied files, it and CPU speed, memory size and rotation speed of hard disk relation are maximum, this numeric ratio is fit to test by experiment and obtains, the computing machine that hard disk is changeed in P4CPU+256M internal memory+7200 that is configured to for Intel, the size of V separate unit copy is about 3M/s, therefore if the system of 1.7G size is installed, the time of every copy is 1700/3 to approximate 570 seconds, and for the 100Mbps network, installation 100/ (3*8) that at every turn can walk abreast approximates 4 computing machines.M represents the platform number of computing machine in the group of planes, if therefore M equals 50, so just is equivalent to needs and divides int (50/4)=13 to install, and all T copy=13*570s=7410s approximate 124 minutes, have promptly surpassed two hours.
The implication of " T installation " is configuration operation system and driver to be installed (promptly from internal memory, software systems) time, the complexity that depends on operating system, because all computing machines can start installation process simultaneously in this group of planes, therefore T installs only needs calculating a, the T of WindowsXP was installed in about 30 minutes, so T311=124+30 approximates 154 minutes.
When computing machine dispatches from the factory; manufacturer goes out different numerical value according to the differentiating measurement of key hardware configuration; leave in the form among the HPA (host protecting region), go to seek in this table the immediate corresponding time of configuration by application software basis computer profile at that time.V separate unit copy empirical value has been shown in the form of Fig. 2.
Next the computation process of mixing the required set-up time T2 of Installation Modes will be described, particularly, this process is divided into following a plurality of step: calculate the T.T. T21 that uses long-range Installation Modes to give a transmitting terminal computing machine (as mentioned above) install software system in this group of planes; Calculating uses the broadcasting Installation Modes to give the T.T. T22 of other receiving end install software systems in this group of planes by described transmitting terminal computing machine; Obtain to mix the total set-up time T2=T21+T22 under the Installation Modes thus.
As example, can adopt following formula to calculate T21, T22:
Computing method and the T1 of T21 are similar, it should be noted that M wherein becomes 1 at this moment.
T22=operating system installation file size * R compressibility/V broadcasting
Wherein the R compressibility is the mean pressure shrinkage index of the data compression algorithm of clone's program employing itself, and numerical range can arrive 0.6 such as the good R compressibility of design between 0.5~1.0.
The implication of V broadcasting is similar to V separate unit copy, also main and CPU speed, memory size and the rotation speed of hard disk concern maximum, but its speed can be bigger than V separate unit copy, when computing machine dispatches from the factory, manufacturer goes out different numerical value according to the differentiating measurement of key hardware configuration, leave in the form among the HPA, go to seek in this table the immediate corresponding time of configuration, V broadcasting empirical value has been shown in the form of Fig. 2 by application software basis computer profile at that time.
It should be noted that above shown computing formula only is exemplary, can suitably change above-mentioned formula and calculate each time that this is conspicuous.In addition, described software systems can be that operating system, application program system and other need to install the system of (clone).And related in the present invention computing machine implication is sensu lato, and it can comprise the computing equipment that needs the install software system arbitrarily.
Although below show the present invention in conjunction with the preferred embodiments of the present invention, one skilled in the art will appreciate that under the situation that does not break away from the spirit and scope of the present invention, can carry out various modifications, replacement and change to the present invention.Therefore, the present invention should not limited by the foregoing description, and should be limited by claims and equivalent thereof.
Claims (6)
1. the method for a cloning software system comprises:
Calculate required set-up time of long-range Installation Modes and mixing required set-up time of Installation Modes;
Required set-up time of more long-range Installation Modes and mixing required set-up time of Installation Modes;
If the required set-up time of long-range Installation Modes more than mixing the required set-up time of Installation Modes, then selects to mix Installation Modes cloning software system between the computing machine of a group of planes; And
Mix the required set-up time of Installation Modes if the required set-up time of long-range Installation Modes is less than, then select long-range Installation Modes cloning software system between the computing machine of a group of planes,
Wherein, described mixing Installation Modes is the combination of long-range Installation Modes and broadcasting Installation Modes.
2. method according to claim 1 is characterized in that the required set-up time of long-range Installation Modes is based on following parameter: software systems file size, the network bandwidth, network interface card speed, memory read-write speed and R/W speed of hard disc.
3. method according to claim 2, a part that it is characterized in that described parameter are stored in the host protecting region that computing machine provides by manufacturer when dispatching from the factory.
4. method according to claim 1 is characterized in that mixing the required set-up time of Installation Modes based on following parameter: the mean pressure shrinkage of software systems file size, network interface card speed, memory read-write speed and R/W speed of hard disc, broadcasting speed and data compression algorithm.
5. method according to claim 4, a part that it is characterized in that described parameter are stored in the host protecting region that computing machine provides by manufacturer when dispatching from the factory.
6. method according to claim 1 is characterized in that under long-range Installation Modes, after the cloning software system, starts the installation process of the software systems of all computing machines in the group of planes simultaneously between the computing machine of a group of planes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100120574A CN100375021C (en) | 2005-06-30 | 2005-06-30 | Method for cloning software system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100120574A CN100375021C (en) | 2005-06-30 | 2005-06-30 | Method for cloning software system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1889040A CN1889040A (en) | 2007-01-03 |
CN100375021C true CN100375021C (en) | 2008-03-12 |
Family
ID=37578318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100120574A Active CN100375021C (en) | 2005-06-30 | 2005-06-30 | Method for cloning software system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100375021C (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1308275A (en) * | 2001-02-15 | 2001-08-15 | 华中科技大学 | Remote nodal machine cloning method for colony system |
JP2002304299A (en) * | 2001-04-04 | 2002-10-18 | Nec Corp | Method, system and program for installing cluster system |
CN1466048A (en) * | 2002-07-02 | 2004-01-07 | 联想(北京)有限公司 | Antomatic initialization and antomatic kernel upgrading system for clauster system |
CN1497439A (en) * | 2002-10-15 | 2004-05-19 | 国际商业机器公司 | Self-copy installation method and system for operation system schooling |
-
2005
- 2005-06-30 CN CNB2005100120574A patent/CN100375021C/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1308275A (en) * | 2001-02-15 | 2001-08-15 | 华中科技大学 | Remote nodal machine cloning method for colony system |
JP2002304299A (en) * | 2001-04-04 | 2002-10-18 | Nec Corp | Method, system and program for installing cluster system |
CN1466048A (en) * | 2002-07-02 | 2004-01-07 | 联想(北京)有限公司 | Antomatic initialization and antomatic kernel upgrading system for clauster system |
CN1497439A (en) * | 2002-10-15 | 2004-05-19 | 国际商业机器公司 | Self-copy installation method and system for operation system schooling |
Also Published As
Publication number | Publication date |
---|---|
CN1889040A (en) | 2007-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101751273B (en) | Safety guide device and method for embedded system | |
US8806248B2 (en) | Method, apparatus, and system for optimizing frequency and performance in a multidie microprocessor | |
US7945906B2 (en) | Method and software tools for intelligent service pack installation | |
US6567175B1 (en) | Device and method for changing printer drivers in a computer-printer system | |
US6490637B1 (en) | System and method for dynamic assignment of unique serial number to system device | |
US20070101342A1 (en) | Automated device driver management | |
CN101296458B (en) | Function expression method, system and device for application program | |
US20080178172A1 (en) | Methods and apparatus for pre-configuring software | |
CN103164238A (en) | Method for automatically and continuously installing operating system | |
CN101964821A (en) | Method and system for loading operating environment of remote terminal | |
US7840843B2 (en) | System and method for testing an embedded system | |
CN106649072A (en) | Test and accepting method and system for software on vehicle-mounted terminal, intelligent terminal and server | |
CN100411338C (en) | Method for cloning software system between different hardware platforms | |
CN111930396B (en) | Upgrading method of communication module in 4G router based on notify mechanism | |
JP5063587B2 (en) | Configuring devices to use information from the device table | |
US20010026487A1 (en) | Apparatus and method for controlling access to a memory system for electronic equipment | |
CN101650694B (en) | USB device, computer and method for achieving virtual device allocation of USB device | |
CN100375021C (en) | Method for cloning software system | |
CN105159720A (en) | Method and system for installing hardware device driver | |
US20050171721A1 (en) | Data link tester | |
US20020156945A1 (en) | Computer system, resource allocating method thereof and resource allocating program thereof | |
CN112055066B (en) | Communication method, communication device, diagnosis device, and computer-readable storage medium | |
US7036129B1 (en) | Diagnostic system integrated with device drivers of an operating system | |
CN105117260A (en) | Method and system for installing hardware device driver | |
CN110471757B (en) | Software architecture of vehicle-mounted intelligent antenna system and automobile |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |