CN1893358A - Software premounting system and method - Google Patents

Software premounting system and method Download PDF

Info

Publication number
CN1893358A
CN1893358A CN 200510080595 CN200510080595A CN1893358A CN 1893358 A CN1893358 A CN 1893358A CN 200510080595 CN200510080595 CN 200510080595 CN 200510080595 A CN200510080595 A CN 200510080595A CN 1893358 A CN1893358 A CN 1893358A
Authority
CN
China
Prior art keywords
disk
data
execution
information
management module
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.)
Granted
Application number
CN 200510080595
Other languages
Chinese (zh)
Other versions
CN100469005C (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.)
Huaibei Shanda Intellectual Property Operation Co., Ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2005100805957A priority Critical patent/CN100469005C/en
Publication of CN1893358A publication Critical patent/CN1893358A/en
Application granted granted Critical
Publication of CN100469005C publication Critical patent/CN100469005C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The method for pre installing software includes steps: disk management module at server end adds ID of disk device as data source, and adds a user list; receiving request sent from module at client end, the module for managing users requests at server end adds the request into the user list; based on information of the user list, the data picking-up and distributing module at server end picks up data of disk and distributes the data to the module at client end; receiving data of disk, the module at client end writes the data into corresponding local disk. Picking up valid data from disk directly and transfers the data to client end, the invention reduces data quantity to be processed and transferred so as to raise reproduction speed of system.

Description

Software premounting system and method
Technical field
The present invention relates to a kind of software premounting system and method, especially a kind of software premounting system and method that directly sends client to from disk extraction data.
Background technology
Operating system is the core of all computer system and computer equipment.Application software and hardware that operating system provides an environment to make and designs can move therein.For achieving this end, operating system management and the computer at its place of scheduling or the resource of equipment, and provide different functional module and interfaces can be used for finishing their task by application program.
In corporate environment, the technical software in the past and the installation of operating system typically use mirror image method are installed, the method earlier is made into mirror image shelves to a sample system, then in needs by client downloads to this locality and will file data wherein extract and return on the local hard drive.This method is with the intact client that copies to of sample system, so concerning not only successful software is written into after through the mirror image can with client, also finished the format manipulation of client hard disk simultaneously, efficient is preferable.
Yet, this method necessary procedure is to make image file, when the user has different needs to operating system and technical software, more needs to change the mirror image shelves with as correspondence, therefore this mirror image installation method is not only because consuming time, the consumption power of making step, and it is more to take resource.
Summary of the invention
In order to overcome the above problems, the object of the present invention is to provide a kind of software premounting system and method, can directly send client to from the disk extracted valid data, improve the efficient of software preloading.
To achieve these goals, the invention provides a kind of software preloading method, may further comprise the steps:
Step a, the disk management module of service end is added the disk unit sign as data source, and adds a user list;
Step b, user's request management module of described service end receives the request that client modules sends, and described request is joined in the described user list;
Step c, the data extract of described service end and distribution module extract data in magnetic disk and send to described client modules according to the information of described user list; And
Steps d, described client modules receives described data in magnetic disk, and it is write in the local disk accordingly.
In order better to realize above-mentioned purpose, the present invention also provides a kind of software premounting system, comprising:
One client;
One service end comprises:
One user's request management module, the request of monitoring described client, and user request added in the user list of corresponding disk;
One user list writes down described user's information;
The tabulation of one disk, record is as the disc information of data source;
One data extract and distribution module extract described data in magnetic disk according to the information of described user list and send to described client from described disk tabulation; And
One disk management module is added disc information in described disk tabulation.
Described client sends described request to described service end, and receives the software preloading that data that described service end sends are carried out described client.
Compared with prior art, the present invention adopts sector reproduction technology efficiently, and directly extracted valid data sends client to from the disk, has reduced processing and data quantity transmitted, improve system copies speed, and client only is responsible for copying data in the local disk.The present invention utilizes multicasting technology that same sector data is sent to all users, has reduced taking of the network bandwidth; Disk after duplicating and source disk have identical data to distribute, and have guaranteed the accuracy that system and data are duplicated; Packed data before transfer of data receives the back decompressed data in client, has further reduced taking of the network bandwidth; Do not need to make the mapping shelves, eliminated maintenance, upgraded the workload that the mapping shelves are brought, can also avoid owing to the destroyed loss that suffers of mapping shelves.
The present invention will be described in detail below in conjunction with the drawings and specific embodiments.
Description of drawings
Fig. 1 is the structural representation of software premounting system of the present invention;
Fig. 2 is the flow chart of the disk management module DMM of software preloading method of the present invention;
Fig. 3 is the flow chart of user's request management module CRMM of software preloading method of the present invention;
Fig. 4 is the data extract of software preloading method of the present invention and the flow chart of distribution module DRSM;
Fig. 5 extracts the flow chart that data in magnetic disk sends to client for the data extract and the distribution module of software preloading method of the present invention from designated disk; And
Fig. 6 is the flow chart of the client modules CLM of software preloading method of the present invention.
Embodiment
Fig. 1 is the structural representation of software premounting system of the present invention.As shown in Figure 1, software premounting system of the present invention comprises service end and client.Wherein client comprises client modules CLM, is used for sending request to service end, and after obtaining " reception data notification ", receives packet, immediately it is write in the hard disk afterwards, must not wait until after all transfer of data finish and can install.
Service end comprises reception user requesting users request management module CRMM, user list CL, disk tabulation DL, data extract and distribution module DRSM and disk management module DMM.
Wherein user's request management module CRMM is used to monitor the request of client, and is responsible for user's request is added among the user list CL of corresponding disk.
User list CL is used for the information of recording user, and every record among the disk tabulation DL all includes a user list CL, the user profile of this data in magnetic disk of record request, and every record among the CL comprises following two parts:
Station address: IP address, the positional information of recording user; With
Port numbers: integer, the PORT COM of recording user.
Disk tabulation DL is used for writing down the disc information as data source, and every record among the DL comprises following two parts:
The disk unit sign: character string, unique identification is as the disc information of data source; With
User list CL.
Data extract and distribution module DRSM extract packet structure DS (not shown) according to the information of user list CL and send to client modules CLM from the corresponding disk of disk tabulation DL, be used for representing that the packet structure DS of the data content that transmits comprises following three parts altogether:
Absolute sector number: integer, write down the start position information of sector data in the packet;
Number of sectors: integer, write down the sector number that comprises in the packet; With
Data field: the concrete data content that has write down the sector.
Disk management module DMM manages the disk as data source, the disc information of interpolation or deletion effect data source in disk tabulation DL.
Software preloading method of the present invention is implemented according to software premounting system of the present invention.The embodiment of a kind of software preloading method of following the present invention will elaborate the system manager, and to use software premounting system of the present invention be the method that 100 main frames are installed same Windows2000 operating system.
In the present embodiment, the system manager need install same Windows2000 operating system for 100 PC that newly buy.At first, the keeper earlier with the measure-alike or littler disk of these 100 PC on Windows2000 operating system is installed, and enter this system and do default configuration.Then, with the computer of this disk insertion as service end.The disk that the keeper will newly insert joins this service end and safeguards that the sign of this magnetic disc storage is called InstallWin2000, and has the user list CL of a sky among the disk tabulation DL.
The system manager is connected to these 100 PC on the network, starts client-side program, input service end address and the disk sign InstallWin2000 that need duplicate.These 100 PC begin to send solicited message to service end then, have wherein comprised disk sign InstallWin2000.
The system manager watches the user list CL of this magnetic disc storage in service end, and when the user record of these 100 PC all existed, the system manager started the disk image reproduction process:
In the beginning of disk image reproduction process, service end is set up a multicast group earlier, and its ip multicast address generates at random, for example is 224.125.1.1.Service end is placed on this multicast address in " Data Receiving notice " and sends to all users then;
The user adds this multicast group after receiving " Data Receiving notice ", receive the data in magnetic disk from service end in this multicast group;
After service end sends " Data Receiving notice ", earlier the MBR of corresponding disk (calling MBR in the following text) sector data is packaged into packet structure DS and sends to the user, resolve the MBR sector strucre then, obtain the partition information of this disk, again according to the bitmap structure of file system in the subregion, the sector of preserving valid data in each subregion is packaged into packet structure DS sends to the user, last, send end notification to client;
After client received data, data-driven pack arrangement DS obtained the position and the quantity information of sector data, and client is write sector data on the position correct in the disk by these information.
At last, after client was received end notification, the disk image reproduction process finished, and client withdraws from.
Wherein, Figure 2 shows that the flow chart of disk management module DMM of the present invention.Disk management module DMM safeguards a disk tabulation DL, utilizes it can add in disk is tabulated DL, delete and inquires about disc information, and concrete steps are as follows:
Step 301, the decision operation type is added disk execution in step 303, deletion disk execution in step 307, retrieval disk execution in step 311;
Step 303, whether the disk that detects as data source exists, and has execution in step 313, otherwise execution in step 305;
Step 305 is added a record in disk tabulation DL, identify as it with the disk unit name, and add the user list CL of a sky, and execution in step 315 then;
Step 307, whether the magnetic disc storage that detection will be deleted exists, and has execution in step 309, otherwise execution in step 313;
Step 309, this record of deletion from disk tabulation DL, execution in step 315 then;
Whether step 311 is retrieved this disk and is existed, and returns result for retrieval, execution in step 315;
Step 313 reports an error;
Step 315 finishes.
Figure 3 shows that the flow chart of embodiment of the invention user request management module CRMM.User's request management module CRMM monitors the request of client, and is responsible for user's request is added among the user list CL of corresponding disk, and concrete steps are as follows:
Step 401 is waited for client-requested;
Step 403 has judged whether client data, and execution in step 405 is arranged, otherwise execution in step 401;
Step 405 is resolved user's request;
Step 407, inquiry disk tabulation DL judges whether the disk of user's request exists, if there is execution in step 409, otherwise execution in step 411;
Step 409 is added a record in the user list CL of this disk, insert user's IP address and port numbers, and execution in step 401 then;
Step 411 is to the clients report mistake.
Figure 4 shows that the flow chart of data extract and distribution module DRSM.Data extract and distribution module DRSM can judge whether the request of pair data in magnetic disk, and extract sector data from disk, send to the user with the form of multicast.Its key step is as follows:
Step 501, the magnetic disc storage among the chkdsk tabulation DL;
Step 503 judges that whether the user list CL in the magnetic disc storage is empty, if execution in step 501 then, otherwise execution in step 505;
Step 505 is set up a multicast group, and the user among the user list CL is added this multicast group;
Step 507 sends " the reception data notification " that comprises this multicast group information to the user;
Step 509 is extracted data in magnetic disk from designated disk and is sent to client;
Step 511 finishes.
Wherein in step 509, though the file system type in the subregion might be different, but every kind of file system all uses the mechanism of similar bitmap to represent the distribution in space in the subregion, so utilize this mechanism, the DRSM module is only extracted the sector that comprises valid data, as shown in Figure 5, its concrete steps are as follows:
Step 5091: read the MBR sector data and send to the user;
Step 5093: resolve the MBR sector, obtain partition information;
Step 5095: judge whether to exist next subregion, if execution in step 5097, otherwise execution in step 50915;
Step 5097: judging whether this subregion exists file system, is execution in step 5099 then, otherwise execution in step 50913;
Step 5099: bitmap and every bunch of sector number of obtaining file system;
Step 50911: with the bitmap is foundation, will comprise data bunch in all sectors send to the user, execution in step 5095 after this document system handles finishes;
Step 50913: each sector in this subregion is all sent to the user, and execution in step 5095 then;
Step 50915: send end notification to client;
Step 50917: finish.
Fig. 6 is the flow chart of embodiment of the invention client modules CLM.Client modules CLM can send request to service end, after obtaining " reception data notification ", changes accepting state over to and receives the data that service end sends, and finishes until transfer of data, and concrete steps are as follows:
Step 601: send request to service end, comprise the disk unit sign in the request;
Step 603: judge whether to receive the wrong information of disk sign, if receive execution in step 617, execution in step 605 if not;
Step 605: judge whether to receive " the reception data notification " of service end, if receive then execution in step 607, otherwise execution in step 603;
Step 607: join according to the information in " reception data notification " in the multicast group of service end appointment;
Step 609: judge whether to receive the service end data, if receive execution in step 611, otherwise execution in step 609;
Step 611: whether what judgement was received is end notification, if execution in step 619, otherwise execution in step 613;
Step 613: resolution data pack arrangement DS obtains sector position and quantity information;
Step 615: sector data is write in the local disk assigned address according to position and quantity information, carried out 609 then;
Step 617: report an error;
Step 619: finish.
In addition, can change main engine bed number and operating system as required.
The present invention adopts sector reproduction technology efficiently, and directly extracted valid data sends client to from the disk, has reduced processing and data quantity transmitted, improve system copies speed, and client only is responsible for copying data in the local disk.The present invention utilizes multicasting technology that same sector data is sent to all users, has reduced taking of the network bandwidth; Disk after duplicating and source disk have identical data to distribute, and have guaranteed the accuracy that system and data are duplicated; Packed data before transfer of data receives the back decompressed data in client, has further reduced taking of the network bandwidth; Do not need to make the mapping shelves, eliminated maintenance, upgraded the workload that the mapping shelves are brought, can also avoid owing to the destroyed loss that suffers of mapping shelves.This system is mainly used in and is large batch of work station and the new operating system of server disposition in the corporate environment.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (13)

1, a kind of software preloading method is characterized in that, comprising:
Step a, the disk management module of service end is added the disk unit sign as data source, and adds a user list;
Step b, user's request management module of described service end receives the request that client modules sends, and described request is joined in the described user list;
Step c, the data extract of described service end and distribution module extract data in magnetic disk and send to described client modules according to the information of described user list; And
Steps d, described client modules receives described data in magnetic disk, and it is write in the local disk accordingly.
2, software preloading method according to claim 1 is characterized in that, described user list writes down the information of described client modules, and the information of described client modules comprises the IP address and the port numbers of described client modules.
3, software preloading method according to claim 2 is characterized in that, described step a specifically may further comprise the steps:
Step a1, whether the described disk that described disk management module detects as data source exists, and has execution in step a3, otherwise reports an error; And
Step a3, described disk management module adds a record in disk tabulation, identifies as it with described disk name, and the described user list that has added.
4, software preloading method according to claim 1 is characterized in that, described step a specifically may further comprise the steps:
Step a1, described disk management module decision operation type is added then execution in step a3 of disk, and the deletion disk is execution in step a7 then, and the retrieval disk is execution in step a11 then;
Step a3, whether the described disk that described disk management module detects as data source exists, and execution in step a5 is not then to report an error;
Step a5, described disk management module is added a record in the disk tabulation, identify as it with the disk unit name, and add the described user list of a sky, finishes then;
Step a7, whether described disk management module detects the magnetic disc storage that will delete and exists, and has execution in step a9, otherwise reports an error;
Step a9, described record of deletion finishes then from the disk tabulation; And
Whether step a11 retrieves described disk and exists, and returns result for retrieval.
5, software preloading method according to claim 3 is characterized in that, described step b specifically may further comprise the steps:
Step b1, described user's request management module judges whether the request that described client modules sends, and execution in step b3 is arranged, otherwise execution in step b1;
Step b3, described user's request management module is resolved described request;
Step b5, described user's request management module is inquired about described disk tabulation, judges whether the disk of described user's request exists, if there is execution in step b7, otherwise reports an error to described client; And
Step b7 inserts the IP address and the port numbers of described client modules, then execution in step b1 in described user list.
6, software preloading method according to claim 5 is characterized in that, described step c specifically may further comprise the steps:
Step c1, described data extract and distribution module check the magnetic disc storage in the described disk tabulation;
Step c3 judges that whether the described user list in the described magnetic disc storage is empty, if execution in step c1 then, otherwise execution in step c5;
Step c5 sets up a multicast group, and the described user in the described user list is added described multicast group;
Step c7 sends the reception data notification that comprises described multicast group information to described client modules; And
Step c9 extracts data in magnetic disk from described disk and sends to described client modules, and wherein said data in magnetic disk comprises sector position and quantity information.
7, software preloading method according to claim 6 is characterized in that, described step c9 specifically may further comprise the steps:
Step c91, described data extract and distribution module read the MBR sector data and send to described client modules;
Step c93, described data extract and distribution module resolve described MBR sector, obtain partition information;
Step c95 judges whether to exist next subregion, if execution in step c97, otherwise send end notification to described client modules;
Step c97 judges whether described subregion exists file system, is execution in step c99 then, otherwise execution in step c913;
Step c99 obtains bitmap and every bunch of sector number of described file system;
Step c911 is a foundation with described bitmap, will comprise that all sectors send to described client modules, execution in step c95 after described file system disposes in described bunch of data; And
Step c913 sends to described client modules with each sector in the described subregion, then execution in step c95.
8, software preloading method according to claim 6 is characterized in that, described steps d specifically may further comprise the steps:
Steps d 1, described client modules adds in the described multicast group according to the information in the reception data notification of described data extract and distribution module transmission;
Steps d 3 is resolved described data in magnetic disk, obtains sector position and quantity information; And
Steps d 5 is write described data in magnetic disk in the local disk assigned address according to described sector position and described quantity information.
9, a kind of software premounting system comprises:
One client;
One service end comprises:
One user's request management module, the request of monitoring described client, and user request added in the user list of corresponding disk;
One user list writes down described user's information;
The tabulation of one disk, record is as the disc information of data source;
One data extract and distribution module extract described data in magnetic disk according to the information of described user list and send to described client from described disk tabulation; And
One disk management module is added disc information in described disk tabulation.
Described client sends described request to described service end, and receives the software preloading that data that described service end sends are carried out described client.
10, software premounting system according to claim 9 is characterized in that, described user list records user position information and PORT COM.
11, software premounting system according to claim 9 is characterized in that, the disc information in the described disk tabulation comprises disk unit sign and described user list.
12, software premounting system according to claim 9 is characterized in that, described disk management module is also deleted disc information.
13, software premounting system according to claim 9 is characterized in that, described data in magnetic disk comprises information, the sector number that comprises of record and the concrete data content of sector of the starting position that records sector data.
CNB2005100805957A 2005-07-07 2005-07-07 Software premounting system and method Expired - Fee Related CN100469005C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100805957A CN100469005C (en) 2005-07-07 2005-07-07 Software premounting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100805957A CN100469005C (en) 2005-07-07 2005-07-07 Software premounting system and method

Publications (2)

Publication Number Publication Date
CN1893358A true CN1893358A (en) 2007-01-10
CN100469005C CN100469005C (en) 2009-03-11

Family

ID=37597895

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100805957A Expired - Fee Related CN100469005C (en) 2005-07-07 2005-07-07 Software premounting system and method

Country Status (1)

Country Link
CN (1) CN100469005C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411696A (en) * 2010-09-26 2012-04-11 上海杰得微电子有限公司 Method for performing mass production copy on external storage device
CN108971025A (en) * 2018-08-17 2018-12-11 上海玉嵩机器人技术有限公司 A kind of visible detection method and vision detection system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411696A (en) * 2010-09-26 2012-04-11 上海杰得微电子有限公司 Method for performing mass production copy on external storage device
CN108971025A (en) * 2018-08-17 2018-12-11 上海玉嵩机器人技术有限公司 A kind of visible detection method and vision detection system

Also Published As

Publication number Publication date
CN100469005C (en) 2009-03-11

Similar Documents

Publication Publication Date Title
CN1210656C (en) Method and device for user and self adaptive synchronous and conversion service device
TWI446264B (en) Method for loading an operating system, recordable medium, and method for generating an operating system image file
CN1107278C (en) System and method for using a workspace data manager to access, manupulate and synchronize network data
CN101064630A (en) Data synchronization method and system
CN1303788C (en) Home network system for driving long distance user interface and method thereof
CN1852101A (en) Parallel downloading method and terminal
CN1894912A (en) Single instance backup of email message attachments
CN1184561C (en) Method, device and program for structure actuation environment and computer readable medium
CN1925495A (en) Method and apparatus for synchronizing EPG information between server and client
CN1831781A (en) Computer system and data backup method in computer system
CN1525328A (en) Method for managing multiple file states for replicated files
CN101046807A (en) Method and device of storage data readed
CN1570868A (en) Method and system for deployment of operating system
CN1852309A (en) Data synchronizing processing method and its client end
CN1829220A (en) Mapping method for USB apparatus with storage function on network computer
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
CN1855981A (en) File management system and method and recording media for storing file management program
CN1825321A (en) Searching method, holding method and searching system for dictionary-like data
CN1540919A (en) Method for realizing individualized advertsing managed by stream media
CN101079722A (en) A reporting method, system and device of network living broadcast advertisement
CN101079881A (en) A quick login system and method
CN101076112A (en) Monitoring-image transmission device, monitoring-image transmission method, and computer readable medium
CN101038597A (en) Data collector and system for sharing data collected
CN101076031A (en) Method for applying network hard disk
CN1722769A (en) Information processor and information processing method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191212

Address after: Room 103, building 1, Nanhu Yayuan, Yangzhuang street, Lieshan District, Huaibei City, Anhui Province

Patentee after: Huaibei Shanda Intellectual Property Operation Co., Ltd

Address before: Taipei City, Taiwan, China

Patentee before: Yingda Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090311

Termination date: 20190707