CN101001152A - Computer data synchronous duplicating method based on PXE - Google Patents

Computer data synchronous duplicating method based on PXE Download PDF

Info

Publication number
CN101001152A
CN101001152A CN 200610105286 CN200610105286A CN101001152A CN 101001152 A CN101001152 A CN 101001152A CN 200610105286 CN200610105286 CN 200610105286 CN 200610105286 A CN200610105286 A CN 200610105286A CN 101001152 A CN101001152 A CN 101001152A
Authority
CN
China
Prior art keywords
data
network
main control
control end
packet
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 200610105286
Other languages
Chinese (zh)
Other versions
CN100486164C (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.)
Xi'an Sanming Polytron Technologies Inc
Original Assignee
XI'AN SAMING TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XI'AN SAMING TECHNOLOGY Co Ltd filed Critical XI'AN SAMING TECHNOLOGY Co Ltd
Priority to CNB2006101052865A priority Critical patent/CN100486164C/en
Publication of CN101001152A publication Critical patent/CN101001152A/en
Application granted granted Critical
Publication of CN100486164C publication Critical patent/CN100486164C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention relates to a method for copying computer data synchronously based on PXE used in copying specific computer data onto other computers in the network quickly characterizing in using the network environment, which can not only copy computer data relating to HD data synchronously, but also can scan and localize HD data and set up flag lists when copying computer HD data, and applies a read transmission binary data synchronous copy mode with the sector as the unit in reading to read sector data to finish synchronized copy and secure accuracy of data and realize synchronized copy to computer CMOS set information.

Description

A kind of computer data synchronization replication method based on PXE
Technical field
The present invention relates to computer data transmission and management, especially provide a kind of its useful data of computer is transported to method on each computer in the network fast.
Background technology
Computer data synchronization replication technology can be applicable in the network management of computer, is used for the quick synchronization replication of specific calculation machine data other each computers to network are used the efficiency of management of raising to each computer data in the network.For example, in a LAN environment, need carry out identical renewal to all computer datas, if adopt the method for respectively every computer being done Data Update, the time that cost is a large amount of.For having hundreds of computers in the network environment, this measure obviously is an infeasible method.
Known related art scheme is that the required software of personal computer is installed on the hard disc of computer in advance, and all deblocking compression back interpolation file headers such as the software on this hard disk are made as image file; When duplicating hard disk, earlier hard-disk capacity is compared processing, again the reflection file is decompressed, at last decompressed data is write on the subregion of accepting the hard disc of computer correspondence of duplicating according to former fdisk.Duplicating of this known hard disc data of correlation technique pooled applications on the personal computer production line.
The technical method that the present invention will narrate its objective is in order to solve in network environment, and the problem of the synchronization replication of the computer data that advantages of simplicity and high efficiency is carried out a large amount of computers is to raise the efficiency.
Summary of the invention
Based on above-mentioned purpose, the invention provides a kind of computer data synchronization replication method based on PXE, the distinguishing feature that it is different from the technique known scheme is: this technical scheme will need to send the initial data of a computer of data in the network, select scan mode to scan, record also forms label table, according to the label table reading of data, send to that other needs these data computing machines in the network; Wherein label table is not only just supported FAT table (being file allocation table described in the known technology), also supports file formats such as NTFS, EXT3; And this technical scheme directly reads the computer binary data and sends other computers to, need not data creating is become image file, and is more accurately quick.
The concrete grammar that this technical scheme provides, its content is expressed as follows:
At first, need agreement be described as follows notion: to send computer data that computer of other computer in the network to, below will be referred to as main control end, be referred to as stamper below the hard disk of main control end computer; Simultaneously, receive other each calculating in the network in the synchronization replication, below be referred to as controlled terminal, will be referred to as the son dish below the hard disk of controlled terminal computer.
Next, begin to specify this computer data synchronization replication method, described method comprises following steps:
(1) operations of main control end:
(1-1) select scan mode scanning to need the computer initial data that sends from main control end, to the computer hard disk data that needs send, record also forms label table;
(1-2) read the computer initial data,, be that unit reads with the sector, and leave in the conventional memory wherein to the data based label table of the stamper of main control end from main control end; The CMOS configuration information that needs send is read from the hardware port of mainboard, and leave in the conventional memory;
(1-3) will put into the computer initial data of conventional memory, deposit the exented memory of division in;
After (1-4) exented memory to be divided was filled with, size was distributed and is formed packet in accordance with regulations, wherein computer stamper data with the sector be unit according to the rules size form packet;
(1-5) send each packet.
To main control end stamper data, according to its concrete form, select scan mode, the subregion of FAT32/16 type is by the content of scanning FAT table; The BITMAP file is searched in the position that the NTFS subregion is oriented the MFT file according to the BPB table in the MFT file, scanning BITMAP file; The scan method of EXT2/3 subregion is that the SUPERBLOCK that begins according to subregion obtains the group number of subregion and organizes size, orients the BITMAP file separately of each group, scans the BITMAP file, is similar to new technology file system.By the situation of depositing of scanning location valid data, mark comes out in record and the formation label table.Label table is a kind of key data structure that is used for labelling hard disk data validity and position, and the transport module of network simultaneous interpretation relies on it and reads valid data on the hard disk.It is independent of concrete file system, fat32 for example, and therefore ntfs etc. possess certain versatility and flexibility
Select according to file system, after generating label table, the valid data of transmission will all be judged according to label table and concrete file system has nothing to do, be different from known technology and simply depend on FAT table (being file allocation table), there is limitation in the alternative document system format.
(2) Network Transmission part:
(2-1) judge which platform computer is a main control end in the network, and which computer is a controlled terminal;
(2-2) behind other controlled terminal in determining main control end and network, begin to detect network and whether normally connect.If controlled terminal begins to intercept the beginning message, receive that the back sends response message; If the message that main control end begins to have relevant parameter sends, through intercepting the response message that sent by controlled terminal in certain delay time, wherein comprise MAC Address of Network Card, communicate by letter normally between affirmation main control end and each controlled terminal.
(2-3) confirm in the network main control end computer with each controlled terminal computer to computer communication normal after, the main control end computer begins to send packet, each the controlled terminal computer in the network receives each packet of main control end transmission.Receive correct data bag and good transmission speed in order to guarantee as much as possible, controlled terminal always judges whether this packet wishes the packet that receives, if then receive; Otherwise send erroneous frame to main control end, request repeat.
(3) the required operation of controlled terminal:
(3-1) receive each packet;
Each packet that (3-2) will receive is deposited as in the conventional internal memory;
(3-3) each packet that leaves in the conventional memory is carried out verification, check whether the packet that receives is the packet that hope receives, if not it is wrong to wish that the packet that receives then illustrates, sends error message, request repeat;
If (3-4) wish the packet receive, then packet put into exented memory;
(3-5), put into conventional memory with the computer data of exented memory;
(3-6) with the computer data in the conventional memory, according to it on main control end original position or former sector write each correspondence position or sector on the son dish one by one.
By above-mentioned institute in steps, the basic procedure of the synchronization replication method of computer data has been described.Network transmission process in the synchronization replication method of computer data, consider various hardware environment, when setting up internetwork proper communication, may have problems, solution based on the computer data synchronization replication of PXE has been proposed, need stress, below will stress as follows to part based on the computer data synchronization replication method of PXE mode:
Network service process in the synchronization replication method of computer data, owing on hardware environment, used different network interface cards to make troubles to network service, need be by other media, guide as starting as media such as floppy disk, CD and flash disks, loading corresponding network interface card drives, obtain MAC Address, realize the network service between main control end and each controlled terminal.But in network environment, need build environment for use and be used in one by one on each computer in the network by these subsidiary media, bring inconvenience to use, therefore, in practice process, the PXE environment that discovery can utilize most computers to carry is by setting up the solution based on PXE, realize required result, increase the ease for use of using.The concrete solution based on PXE is described as follows:
Need following precondition:
Condition (1) a: station server need be arranged in network, built the PXE environment.In network environment, server is generally all arranged, open PXE service as long as build thereon, usually without any inconvenience.
Condition (2): each computer that need be in network, all support PXE to start.This point does not under general condition have problems yet, because most mainboard or network interface card all support PXE to start.
Solution is described as follows:
(1) makes the relative program that contains computer data synchronization replication method and reach the mirror image of the batch program that moves this program automatically, and add it to server;
(2) by operation PXE, load corresponding network interface card and drive and obtain corresponding M AC address, set up network and connect;
(3) move corresponding program automatically, set up the network service that realizes main control end and each controlled terminal.
The narration of the above method of process as can be seen, the feature that the present invention is different with known technology not only is to be applied to different fields, at the content of duplicating more comprehensively, and the time to computer hard disk data copying, hard disc data is scanned the location, and the establishment label table, adopting with the sector when reading is unit, directly reads the sector binary data and finishes synchronization replication; And can realize synchronization replication to computer CMOS configuration information; Use the PXE solution to avoid the inconvenience that brings by extra media, can realize directly that the data sync between different hard disk network card computers is duplicated.
Description of drawings
Fig. 1 shows the system module schematic diagram (quoting) of a known hard disc of computer clone method;
Fig. 2 shows the system module schematic diagram of computer data synchronization replication method of the present invention;
Fig. 3 is a flow chart, shows the whole flow process based on the computer data synchronization replication method of PXE;
Fig. 4 is the process flow diagram of PXE solution part.
Embodiment
To be elaborated to embodiment with reference to the accompanying drawings below:
As shown in Figure 2, computer data synchronization replication method of the present invention be in order to the required computer data synchronization replication on the main control end 10 to a receiving terminal 30, the computer data of required synchronization replication not only can be computer hard disk data on the main control end, and can be the CMOS configuration information, and controlled terminal is any receiver in the network, and the operation on other receiver in network is identical.Whole Fig. 2 has illustrated the whole process of computer data realization synchronization replication in the computer data synchronization replication method.
Shown in Figure 3, the present invention is based on the whole flow process of the computer data synchronization replication method of PXE.Through the computer data 310 of the required synchronization replication of overscanning, confirm and location correlation computations machine data, form label table; Read required computer data 311; Form packet, and send 312; In Network Transmission, use solution to realize Network Transmission 320 based on PXE; Each computer of receiving terminal will receive packet 330; The packet that receives is carried out verification 331; Discovery makes mistakes and 3311 will be back to transmitting terminal and send packet place 312; Through the correct packet of check digit, will deposit conventional memory in, for obtaining packet 332; The packet execution that obtains is write on the relevant position of 333 receiving end computers, finish whole flow process based on the computer synchronization replication of PXE.
Shown in Figure 4, for another innovative point among the present invention,, the flow chart of finishing the required process of network service based on the PXE environment has been described among the figure based on the solution of PXE environment, need in actual use through following steps:
On the server in network, the relative program that contains computer data synchronization replication method that adds use reaches the mirror image of the batch program that moves this program automatically;
At each controlled terminal, carry out CMOS and be provided with, select to use network preferential, can begin guiding from PXE when making start; After this will be through such process:
(1) behind the computer starting, begins guiding, by carrying out the program in the PXE rom chip, with automatic and PXE server line from PXE;
(2) the line success loads corresponding network interface card driving simultaneously, and server obtains the MAC Address of Network Card of this computer, begins to download mirror image and moves corresponding operating system;
(3) under operating system environment, move batch program automatically, start the corresponding program of the computer data synchronization replication in the mirror image automatically, set up the network communications environment of main control end and each controlled terminal, the realization Network Transmission is duplicated.
The above is preferred embodiment of the present invention only, is not in order to limiting scope of the present invention, and all other do not break away from the equivalence change of being finished under the disclosed method and thought or modify, and all should be included in the protection range of claims.

Claims (6)

1. computer data synchronization replication method based on PXE, it is characterized in that: be unit with the data of a main control end in the network with the sector by label table or take out by port reads, use PXE environment solution, on the receiving terminal by other each these data of needs of Network Transmission in the network.
2. be that unit reads out according to the described data of claim 1 with the sector by label table with a main control end in the network, it is characterized in that: to main control end stamper data, select scan mode according to the file format that data are concrete, scan, determine and the formation label table, the record data position is that unit reads out binary system main control end stamper data with the sector by label table.
3. take out by port reads according to the described data with a main control end in the network of claim 1, it is characterized in that: to main control end CMOS configuration information, transmitting terminal reads from the hardware port of mainboard.
4. use PXE environment solution according to claim 1 is characterized in that: in the different hardware environment of network interface card, use the solution of PXE network environment:
A) make the relative program that contains computer data synchronization replication method and reach the mirror image of the batch program that moves this program automatically, and add it to server;
B) by operation PXE, load corresponding network interface card and drive and obtain corresponding M AC address, set up network and connect;
C) move corresponding program automatically, set up the network service that realizes main control end and each controlled terminal.
5. according to claim 1 it is characterized in that: Network Transmission is duplicated by Network Transmission, needs by following processing method:
A) judge each controlled terminal of being responsible for sending the main control end of data in the network and receiving data;
Whether b) detect network connects normal.If controlled terminal begins to intercept the beginning message, receive that the back sends response message; If the message that main control end begins to have relevant parameter sends, through intercepting the response message that sent by controlled terminal in certain delay time, wherein comprise MAC Address of Network Card, communicate by letter normally between affirmation main control end and each controlled terminal.
C) the main control end computer begins to send packet, and each the controlled terminal computer in the network receives each packet that main control end sends.Receive correct data bag and good transmission speed in order to guarantee as much as possible, controlled terminal always judges whether this packet wishes the packet that receives, if then receive; Otherwise send erroneous frame to main control end, request repeat.
6. the receiving terminal of other each these data of needs in the network according to claim 1 is characterized in that: the required processing method of receiving terminal:
A) receive each packet;
Each packet that b) will receive is deposited as in the conventional internal memory;
C) each packet that leaves in the conventional memory is carried out verification, check whether the packet that receives is the packet that hope receives, if not it is wrong to wish that the packet that receives then illustrates, sends error message, request repeat;
D) if the packet that hope receives is then put into exented memory with packet;
E) with the computer data of exented memory, put into conventional memory;
F) with the computer data in the conventional memory, according to it on main control end original position or former sector write each correspondence position or sector on the son dish one by one.
CNB2006101052865A 2006-12-27 2006-12-27 Computer data synchronous duplicating method based on PXE Expired - Fee Related CN100486164C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101052865A CN100486164C (en) 2006-12-27 2006-12-27 Computer data synchronous duplicating method based on PXE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101052865A CN100486164C (en) 2006-12-27 2006-12-27 Computer data synchronous duplicating method based on PXE

Publications (2)

Publication Number Publication Date
CN101001152A true CN101001152A (en) 2007-07-18
CN100486164C CN100486164C (en) 2009-05-06

Family

ID=38692975

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101052865A Expired - Fee Related CN100486164C (en) 2006-12-27 2006-12-27 Computer data synchronous duplicating method based on PXE

Country Status (1)

Country Link
CN (1) CN100486164C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515786A (en) * 2015-12-24 2016-04-20 浪潮电子信息产业股份有限公司 Network card, server and pre-boot test method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515786A (en) * 2015-12-24 2016-04-20 浪潮电子信息产业股份有限公司 Network card, server and pre-boot test method

Also Published As

Publication number Publication date
CN100486164C (en) 2009-05-06

Similar Documents

Publication Publication Date Title
US7672291B2 (en) Methods for establishing wireless network communication and device utilizing same
CN1794207B (en) Method and system for implenmenting cache consistency
US6453413B1 (en) Method for pre-installing software programs which allows customizable combinations of configurations
CN1874404B (en) Image processing system and image processing apparatus
JP3126225B2 (en) Database system
CN101384985A (en) Sas zone group permission table version identifiers
CN101573923B (en) Propagation method of digital synchronous conflict knowledge
US20060020414A1 (en) System and method for automatically allocating MAC addresses to network cards
US20040153532A1 (en) Network device configuring method, network device configuring system and program for configuring network device
CN101436138A (en) Control device and control method for software upgrade and dynamic rolling back
JPH11146118A (en) Data processing system, data processing method for the data processing system and storage medium storing program readable by computer
CN102272751B (en) Data integrity in a database environment through background synchronization
CN101163050A (en) Equipment near-end maintenance method, system and equipment
CN109992273A (en) A kind of gray scale dissemination method and gray scale delivery system
CN111143256A (en) Method and device for reading field replaceable unit information
CN114238255A (en) Method and device for synchronizing files, electronic equipment and computer readable storage medium
CN101415016A (en) A kind of data copy method, system and storage server
CN100486164C (en) Computer data synchronous duplicating method based on PXE
CN109906438A (en) Handle method, storage array and the host of I/O request
CN101582790B (en) Method, device and system for dynamic data audit and service entity fault detection
CN101741533A (en) Equipment starting method, device and equipment
CN103581262A (en) Master-and-backup data synchronizing method, device and system
JP5428816B2 (en) Image forming apparatus, data control method, and program
CN107729156B (en) Application conflict resolution method and device
CN114124899A (en) Bill printing equipment management method and device and electronic equipment

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Computer data synchronous duplicating method based on PXE

Effective date of registration: 20110304

Granted publication date: 20090506

Pledgee: Pudong Development Bank of Shanghai Limited by Share Ltd. Xi'an branch

Pledgor: Li Zengsheng|XI'AN SAMING TECHNOLOGY Co.,Ltd.

Registration number: 2011990000065

PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20120814

Granted publication date: 20090506

Pledgee: Pudong Development Bank of Shanghai Limited by Share Ltd. Xi'an branch

Pledgor: Li Zengsheng|XI'AN SAMING TECHNOLOGY Co.,Ltd.

Registration number: 2011990000065

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Computer data synchronous duplicating method based on PXE

Effective date of registration: 20120914

Granted publication date: 20090506

Pledgee: Pudong Development Bank of Shanghai Limited by Share Ltd. Xi'an branch

Pledgor: XI'AN SAMING TECHNOLOGY Co.,Ltd.|Li Zengsheng

Registration number: 2012990000528

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20150528

Granted publication date: 20090506

Pledgee: Pudong Development Bank of Shanghai Limited by Share Ltd. Xi'an branch

Pledgor: XI'AN SAMING TECHNOLOGY Co.,Ltd.|Li Zengsheng

Registration number: 2012990000528

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 710075 Tang Feng International D block 18, Fenghui South Road, Xi'an High-tech Zone, Shaanxi, China 601, 602, 603, 604

Patentee after: Xi'an Sanming Polytron Technologies Inc.

Address before: 710075 the 3 layer of photoelectron professional incubator No. 77, science and technology two road, Xi'an hi tech Industrial Development Zone, Shaanxi.

Patentee before: XI'AN SAMING TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 710075 Tang Feng International D block 18, Fenghui South Road, Xi'an High-tech Zone, Shaanxi, China 601, 602, 603, 604

Patentee after: Xi'an Sanming Polytron Technologies Inc.

Address before: 710075 the 3 layer of photoelectron professional incubator No. 77, science and technology two road, Xi'an hi tech Industrial Development Zone, Shaanxi.

Patentee before: XI'AN SAMING TECHNOLOGY Co.,Ltd.

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

Granted publication date: 20090506

Termination date: 20211227

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