CN100426742C - Device file batch duplicating system and its duplicating method - Google Patents

Device file batch duplicating system and its duplicating method Download PDF

Info

Publication number
CN100426742C
CN100426742C CNB2005101032443A CN200510103244A CN100426742C CN 100426742 C CN100426742 C CN 100426742C CN B2005101032443 A CNB2005101032443 A CN B2005101032443A CN 200510103244 A CN200510103244 A CN 200510103244A CN 100426742 C CN100426742 C CN 100426742C
Authority
CN
China
Prior art keywords
equipment
file
communication modes
flow process
duplicated
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
Application number
CNB2005101032443A
Other languages
Chinese (zh)
Other versions
CN1937520A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2005101032443A priority Critical patent/CN100426742C/en
Publication of CN1937520A publication Critical patent/CN1937520A/en
Application granted granted Critical
Publication of CN100426742C publication Critical patent/CN100426742C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The system consists of the whole net equip type storage module, the waiting for copying document (WCD) storage module, the comm. mode storage module, the configuration data generating module, and the copy flow assemble module which, according to the relation in the configuration data, combines the user selected equip, the WCD in this equip and the needed comm. mode into copy flow, then copies in batch and in parallel the WCD into the selected equip. This system and method realizes to copy the equip document (ED) in batch and in parallel and avoids disadvantages of heavy load, low efficiency, man-made mistake, etc during ED are copied one by one in most existed situation. This simplifies the copy work and raises efficiency.

Description

Device file batch duplicating system and clone method thereof
Technical field
The present invention relates to a kind of file copy technology, specifically, relate to a kind of device file batch duplicating system and clone method thereof.
Background technology
Along with the high speed development of network technology, increasing manufacturer and dissimilar equipment emerge in large numbers in face of the user, and the replacing file of these dissimilar equipment (comprising the replacing of files such as version file, data file) is also more and more frequent.At present in the network equipment maintenance process, need carry out the multiple file copy such as version, data of equipment one by one pastes, the method that device file duplicates is still manual to paste file copy on the equipment one by one, and the employed communication modes of dissimilar equipment, realizes that the means of duplicating have nothing in common with each other.
Along with number of devices in the network increases, kind increases, this file one by one, equipment duplicates method of attaching one by one, in present this device type complexity, number of files such as version, data is many and change under the frequent situation, certainly will bring that workload increases, length consuming time and mistake increases when duplicating bad phenomenon; And dissimilar equipment use different communication modes, the means of duplicating to carry out file copy, and this is divided into different classes ofly with regard to being equivalent to equipment with different copy type, and the increasing of classification will certainly aggravate the user and carry out the burden that device file duplicates.Adopt one by one the method for attaching that duplicates of equipment to realize duplicating of file, be difficult to accomplish the parallel batch xcopy, thereby cause poor efficiency, easily make mistakes, plant maintenance work that workload is big.
Therefore, the plant maintenance process in the network needs the method for the batch duplicating of a kind of version file that is used for the equipment of realizing and data file, thereby finishes the work that heap file frequent in the plant maintenance duplicates simply, accurately and efficiently.
Summary of the invention
The purpose of this invention is to provide a kind of device file batch duplicating system and clone method thereof, copy in the equipment the needed file automatic batch of dissimilar equipment is parallel, workload increases to solve in the present network operation, problem such as mistake increase in length consuming time and the file copy, realizes simply, the device file parallel batch duplicates efficiently.
The invention provides a kind of device file batch duplicating system, the needed file of dissimilar equipment copied in the equipment automatically, comprising:
Whole network equipment type stores module is in order to the device name of storage corresponding to whole network equipment;
Treat the xcopy memory module, in order to store the file that each whole network equipment need be duplicated;
The communication modes memory module is in order to the communication interface of storage with dissimilar equipment;
The configuration data generation module is in order to the communication modes of record heterogeneous networks equipment and this equipment needs and treat corresponding relation between the store path of xcopy;
Duplicate the flow process Knockdown block, in order to corresponding relation according to configuration data information, be assembled between file that equipment, this equipment that the user is selected is to be duplicated and the communication modes that needs and duplicate flow process, operation assembles concurrently duplicates file copy that flow process will be to be duplicated in selected equipment.
Described configuration data generation module comprises:
The corresponding relation generation unit of equipment and file is used to write down the device file that duplicates with the corresponding needs of dissimilar equipment;
The corresponding relation generation unit of equipment and communication modes is used to write down and the corresponding communication modes of dissimilar equipment.
The described flow process of duplicating of duplicating the assembling of flow process Knockdown block comprises the flow process of duplicating to a plurality of equipment.
The technical scheme that realizes the object of the invention also comprises: a kind of device file batch duplicating method, the needed file of dissimilar equipment is copied in the equipment automatically, and comprise the steps:
The communication modes interface that statistics and storage whole network equipment, each equipment need, and the to be duplicated file relevant with each equipment;
The file that the pairing needs of record distinct device duplicate and the corresponding relation of communication modes, and generate configuration data;
Obtain the equipment that the user selectes,, determine communication modes corresponding and the path for the treatment of xcopy with this equipment according to device name query configuration data message;
Be assembled between file that equipment, this equipment that the user is selected is to be duplicated and the communication modes that needs and duplicate flow process, with file copy to be duplicated in selected equipment.
The file that the pairing needs of described record distinct device duplicate and the corresponding relation step of communication modes can adopt the mode of the configuration file mode of writing, user interface typing or be recorded in database mode etc. and carry out record.
Process step is duplicated in described assembling, comprises the flow process of duplicating to a plurality of equipment.
Described being assembled into duplicated process step, further comprises:
Write down total number of files that this flow process duplicates, write down this flow process and finished xcopy quantity and write down this flow process copy error number of files.
Adopt device file batch duplicating system of the present invention and method, device file duplicates the big workload that causes, the shortcoming of the artificial copy error of not high, the easy appearance of efficient can to avoid present most equipment attendant to carry out one by one, realized the parallel purpose that copies in the equipment of the needed file automatic batch of dissimilar equipment, thereby simplified the work of file copy, improved operating efficiency.
Description of drawings
Fig. 1 is the modular structure block diagram of system of the present invention;
Fig. 2 is the schematic flow sheet of the method for the invention;
Fig. 3 creates the attribute form schematic diagram of finishing that duplicates flow process among the present invention;
Fig. 4 checks a schematic diagram that duplicates the flow process display attribute information among the present invention.
Embodiment
As shown in Figure 1, the modular structure block diagram for system of the present invention comprises:
Whole network equipment type stores module is in order to the device name of storage corresponding to whole network equipment;
Treat the xcopy memory module, in order to store the file that each whole network equipment need be duplicated;
The communication modes memory module is in order to the communication interface of storage with dissimilar equipment;
The configuration data generation module is in order to the communication modes of record heterogeneous networks equipment and this equipment needs and treat corresponding relation between the store path of xcopy;
Duplicate the flow process Knockdown block, in order to corresponding relation according to configuration data information, be assembled between file that equipment, this equipment that the user is selected is to be duplicated and the communication modes that needs and duplicate flow process, operation assembles concurrently duplicates file copy that flow process will be to be duplicated in selected equipment.
The configuration data generation module obtains whole network equipment information from whole network equipment type stores module, simultaneously, obtain the communication modes that duplicates of equipment respectively from the communication modes memory module, from treating that the xcopy memory module obtains the path of depositing for the treatment of xcopy, subsequently, the configuration data generation module is responsible for the corresponding relation of generation equipment and file and communication modes and it is recorded in the configuration data information, the user can duplicate from selecting one or more equipment, equipment according to user's selection, duplicate the corresponding relation of flow process Knockdown block according to configuration data information record, the equipment that the user is selected, be assembled between the communication modes of file that this equipment is to be duplicated and needs and duplicate flow process, with file copy to be duplicated in selected equipment, can move a plurality of flow processs of duplicating concurrently, realize parallel, document copying in bulk.
Configuration data can be the data that are kept in the internal memory, also can be to write down relation information hereof etc., that is, and can storage equipment and the information of the corresponding relation of file to be copied, equipment and copy communication modes.
As shown in Figure 2, be the schematic flow sheet of the method for the invention, realize the needed file of dissimilar equipment is copied in the equipment automatically, comprise the steps:
(step 201), the communication modes interface that statistics and storage whole network equipment, each equipment need, and the to be duplicated file relevant with equipment;
Corresponding relation for apparatus for establishing and file and communication modes, at first, count whole network equipment title and type, and all kinds equipment is to the communication modes of deserved document location and xcopy, and with its be stored in whole network equipment type stores module respectively, treat the xcopy memory module, the communication modes memory module.
(step 202), the file that the pairing needs of record distinct device duplicate and the corresponding relation of communication modes, and generate configuration data information;
The present invention comes acquisition equipment and file by the mode in the configuration file of being recorded in and duplicates the corresponding relation of communication modes, certainly, because the effect that reaches is the same, also can be by the user interface typing being provided or being recorded in the corresponding relation that mode such as database realizes writing down and obtain equipment and file and copies communication modes.
The content that specifically is provided with of configuration file comprises:
1. the parameter configuration duplicate correlative detail is set: as the path that whether uses journal file, journal file (in the journal file with the details of operating in the print copy successfully or failing); The time elongatedness (operation stops to duplicate after exceeding certain hour, and provides error message); Whether automatically perform after flow process configuration is finished and duplicate (this flag bit be provided with after, the flow process configuration is finished and will directly be duplicated) etc.;
2. the corresponding relation of device type and files such as version file, data file is set: the concrete path of depositing this device type version file and data file respectively in corresponding attribute version file of device type and the data file in the configuration file, also can increase the attribute of alternative document, and deposit the concrete path of alternative document; Behind selection equipment, can obtain files such as version, data according to its device type;
3. device type is set and duplicates the communication modes corresponding relation: deposit in the corresponding attribute of device type in the configuration file the type equipment corresponding duplicate communication modes, data block, FTP (the File Transfer Protocol of interface mode are provided among the present invention, file transfer protocol (FTP)), TFTP (Trivial File TransferProtocol, the small files transportation protocol) communication modes such as, and be applicable to and increase new communication modes, behind the selection equipment, will be according to the device type selector should equipment duplicate communication modes.
In configuration file, the corresponding relation of device type and file, copy communication modes can freely increase and decrease.
In addition, if adopt the mode of user interface typing, device type is selected, file is selected and duplicate the selection record of communication modes and obtain these corresponding relations thereby can provide, generate configuration data information according to these relations, according to configuration data information, assembling flow path carries out the parallel batch file copy behind selection equipment.
If use database mode, can device type, file path be set respectively, duplicate communication modes with a record, generate configuration data information according to these data-base recordings, according to configuration data information, come assembling flow path to carry out file copy behind the selection equipment.
Simultaneously, because the effect that realizes is all the same, the present invention is applicable to the method that other records obtain this device types and file, duplicate the communication modes corresponding relation.
(step 203) obtains the equipment that the user selectes, and from configuration data, determines communication modes corresponding with this equipment and the path for the treatment of xcopy according to device type;
When the selected some or a plurality of equipment of user, need mate according to the type of each equipment and be configured the configuration data of finishing, obtain the communication modes of this equipment correspondence according to the result of coupling, and need copy to this equipment file deposit the path.
(step 204) is assembled between file that equipment, this equipment that the user is selected is to be duplicated and the communication modes that needs and duplicates flow process, with file copy to be duplicated in selected equipment.
When the present invention assembles in flow process, what the needs that will choose from the facility information of the whole network carried out the selected device that obtains in the equipment of file copy, the configuration information configuration file duplicates communication modes and file to be duplicated, and is assembled into the flow process of duplicating of selected device file.Can select one or more equipment to set up and duplicate flow process, that is, flow process can be the aggregate of a plurality of device replications.
Describedly duplicate flow process (CopyFlow) as shown in Figure 3, mainly comprise following attribute:
Clone method is according to the means of communication of duplicating of configuration file correspondence;
The equipment here, corresponding xcopy, duplicating the means of communication, can be one group of respective value, also can organize respective value more.
This flow process xcopy sum;
This flow process has been finished the xcopy number;
This flow process copy error number of files;
Current file duplicates Percent Complete;
This flow process current state (comprise newly-built, move, suspend, finish).
The purpose of flow object (CopyFlow) is to write down one and duplicates the execution copying equipment that comprises in the flow process, treats xcopy, and the communication modes of realizing this device replication.Flow object (CopyFlow) runs through the whole operation after creating, and writes down current equipment that duplicates and device file replication status.
The present invention will provide single or a plurality of flow processs of duplicating that user's foundation is deposited in tabulation, and the present invention provides corresponding operation according to the state of current flow process, comprises operation, time-out, deletion etc.For the flow process of having set up, carry out operation after, the present invention will start duplicating of device file in this flow process of thread execution.The present invention can move a plurality of flow processs simultaneously, realizes that by multithreading the parallel batch of device file duplicates.
Simultaneously, the invention provides idiographic flow watches, select to check the replication status that this flow process is concrete after a flow process, Fig. 4 checks a schematic diagram that duplicates the flow process display attribute information for given exemplary of the present invention, comprises totally duplicating Percent Complete that equipment that percentage, current execution duplicates and file, current file duplicate etc.
In sum, in configuration and obtain file and device type such as device type and version, data and duplicate after the communication modes corresponding relation finishes, just can select device build to duplicate flow process, the parallel batch that moves simultaneously files such as the version that duplicates, suspend operations such as duplicating, delete flow process and realize the whole network, data according to the current state of flow process copies.The present invention adopts according to file such as device type elder generation configuration version, data and the corresponding relation that duplicates communication modes, assembling flow path parallel batch ground duplicates again, has reduced the user and has carried out device file replication work amount, increases work efficiency, reduces the mistake probability.

Claims (10)

1, a kind of device file batch duplicating system copies to the needed file of networks of different type equipment in the equipment automatically, it is characterized in that, comprising:
Whole network equipment type stores module is in order to the device name of storage corresponding to whole network equipment;
Treat the xcopy memory module, in order to store the file that each whole network equipment need be duplicated;
The communication modes memory module is in order to the communication interface of storage with heterogeneous networks equipment;
The configuration data generation module is in order to record heterogeneous networks equipment and this equipment communication modes that needs and the device file that need duplicate;
Duplicate the flow process Knockdown block,, be assembled between the file that equipment, this equipment that the user is selected is to be duplicated and the communication modes that needs and duplicate flow process in order to corresponding relation according to configuration data record, with file copy to be duplicated in the equipment of selecting.
2, the system as claimed in claim 1 is characterized in that, described configuration data generation module comprises:
The corresponding relation generation unit of equipment and file is used to write down the device file that duplicates with the corresponding needs of the different network equipments;
The corresponding relation generation unit of equipment and communication modes is used to write down and the corresponding communication modes of the different network equipments.
3, the system as claimed in claim 1 is characterized in that, the described flow process of duplicating of duplicating the assembling of flow process Knockdown block comprises the parallel flow process of duplicating to a plurality of network equipments.
4, a kind of device file batch duplicating method copies to the needed file of networks of different type equipment in the equipment automatically, it is characterized in that, comprising:
The communication modes interface that statistics and storage whole network equipment, all types of equipment need, and the to be duplicated file relevant with equipment;
The file that the pairing needs of recording different types equipment duplicate and the corresponding relation of communication modes, and generate configuration data;
Obtain the equipment that the user selectes,, determine communication modes corresponding and the path for the treatment of xcopy with this equipment according to device type coupling configuration data information;
Be assembled between file that equipment, this equipment that the user is selected is to be duplicated and the communication modes that needs and duplicate flow process, with file copy to be duplicated in selected equipment.
5, method as claimed in claim 4 is characterized in that, the file that the pairing needs of described record memory device duplicate and the corresponding relation step of communication modes are to adopt the mode of user interface typing to write down.
6, method as claimed in claim 4, it is characterized in that, the file that the pairing needs of described storage distinct device duplicate and the corresponding relation step of communication modes are to adopt mode that database mode writes down or that adopt the user to fill in configuration file to write down.
7, method as claimed in claim 4 is characterized in that, process step is duplicated in described assembling, comprises the parallel flow process of duplicating to a plurality of network equipments.
8, method as claimed in claim 4 is characterized in that, described being assembled into duplicated process step, further comprises: the step that writes down the total number of files that this flow process duplicates.
9, method as claimed in claim 4 is characterized in that, described being assembled into duplicated process step, further comprises: write down the step that this flow process has been finished xcopy quantity.
10, method as claimed in claim 4 is characterized in that, described being assembled into duplicated process step, further comprises: write down this flow process copy error number of files.
CNB2005101032443A 2005-09-20 2005-09-20 Device file batch duplicating system and its duplicating method Active CN100426742C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101032443A CN100426742C (en) 2005-09-20 2005-09-20 Device file batch duplicating system and its duplicating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101032443A CN100426742C (en) 2005-09-20 2005-09-20 Device file batch duplicating system and its duplicating method

Publications (2)

Publication Number Publication Date
CN1937520A CN1937520A (en) 2007-03-28
CN100426742C true CN100426742C (en) 2008-10-15

Family

ID=37954807

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101032443A Active CN100426742C (en) 2005-09-20 2005-09-20 Device file batch duplicating system and its duplicating method

Country Status (1)

Country Link
CN (1) CN100426742C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541945B (en) * 2010-12-31 2014-04-09 联芯科技有限公司 Multi-file copying method for terminal and terminal
CN103235792A (en) * 2013-03-29 2013-08-07 东莞宇龙通信科技有限公司 Method and device for operating file
CN108268542A (en) * 2016-12-31 2018-07-10 中国移动通信集团河北有限公司 For the method and system of data-base cluster Data Migration
CN112988697A (en) * 2021-05-11 2021-06-18 北京华云安信息技术有限公司 Target file copying method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5845078A (en) * 1992-04-16 1998-12-01 Hitachi, Ltd. Network integrated construction system, method of installing network connection machines, and method of setting network parameters
CN1261698A (en) * 1998-12-09 2000-08-02 国际商业机器公司 Figure interface and system for copying set-up to multiple network equipment
EP1091522A2 (en) * 1999-10-06 2001-04-11 Hewlett-Packard Company, A Delaware Corporation Copying configuration settings between electronic devices
US20030212783A1 (en) * 2002-05-08 2003-11-13 Canon Kabushiki Kaisha Network device administration apparatus and method, computer program, and computer-readable storage medium
CN1527217A (en) * 2003-03-05 2004-09-08 威达电股份有限公司 Information processing device and method with automatic network copying function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5845078A (en) * 1992-04-16 1998-12-01 Hitachi, Ltd. Network integrated construction system, method of installing network connection machines, and method of setting network parameters
CN1261698A (en) * 1998-12-09 2000-08-02 国际商业机器公司 Figure interface and system for copying set-up to multiple network equipment
EP1091522A2 (en) * 1999-10-06 2001-04-11 Hewlett-Packard Company, A Delaware Corporation Copying configuration settings between electronic devices
US20030212783A1 (en) * 2002-05-08 2003-11-13 Canon Kabushiki Kaisha Network device administration apparatus and method, computer program, and computer-readable storage medium
CN1527217A (en) * 2003-03-05 2004-09-08 威达电股份有限公司 Information processing device and method with automatic network copying function

Also Published As

Publication number Publication date
CN1937520A (en) 2007-03-28

Similar Documents

Publication Publication Date Title
CN102880531B (en) Database backup system and backup method and slave database server of database backup system
DE60130808T2 (en) System and method for configuring network resources
CN107122262B (en) Database intelligent backup system based on agent
CN104067216B (en) System and method for implementing expansible data storage service
CN100547583C (en) Database automatically and the method that dynamically provides
CN102541694B (en) Method and device for database backup
CN107688611B (en) Saltstack-based Redis key value management system and method
CN102999400A (en) Data backup method and device of cloud storage system
CN103678337B (en) Data clearing method, apparatus and system
WO1997024688A9 (en) Method and aparatus for processing billing transactions
CN107908503A (en) Recover database from standby system streaming
CN102890682A (en) Method for creating index, searching method, device and system
WO2006103090A1 (en) Computer network system for synchronizing a second database with a first database and corresponding procedure
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
DE60004211T2 (en) REMOVAL OF DUPLICATED OBJECTS FROM AN OBJECT STORAGE
CN101610173A (en) A kind of method and NM server that many network elements is carried out data configuration
CN100426742C (en) Device file batch duplicating system and its duplicating method
CN102349047A (en) Data insertion system
CN107357681A (en) Zookeeper backup management systems and method based on salt
CN101650744A (en) System and method for processing great data amount based on transport tablespace
CN105912424A (en) Cloud architecture based terminal program quick backup and recovery method
CN106651562A (en) Tax-related information acquisition method and system
CN101673374A (en) Bill processing method and device
CN104598540A (en) Timing data migration device and using method thereof
CN110209653A (en) HBase data migration method and moving apparatus

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