CN1489052A - Multi-node file syn chronizing system and method - Google Patents

Multi-node file syn chronizing system and method Download PDF

Info

Publication number
CN1489052A
CN1489052A CNA02134938XA CN02134938A CN1489052A CN 1489052 A CN1489052 A CN 1489052A CN A02134938X A CNA02134938X A CN A02134938XA CN 02134938 A CN02134938 A CN 02134938A CN 1489052 A CN1489052 A CN 1489052A
Authority
CN
China
Prior art keywords
file
node
server
list
document
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
CNA02134938XA
Other languages
Chinese (zh)
Other versions
CN1261877C (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.)
Torque Capital Solutions Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN 02134938 priority Critical patent/CN1261877C/en
Publication of CN1489052A publication Critical patent/CN1489052A/en
Application granted granted Critical
Publication of CN1261877C publication Critical patent/CN1261877C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The system comprises a master node, multiple slave nodes, and network connecting the master node to these slave nodes. The slave node comprises a slave application server, a slave file server and a slave database. The master node comprises a master application server, a master file server and a master database. Based on file updated record in the master database, running an agent program on a slave application server and running a synchronous program on the master application server complete synchronization between files in the master file server and files in slave file server. The system and method realizes synchronization of files shared between master node and slave nodes on network, as well as reduces unnecessary file synchronization operation and prevents the condition of too large networked traffic needed by some synchronization operations.

Description

Multi-node file syn chronizing system and method
[technical field]
The present invention relates to a kind of file syn chronizing system and method, refer to a kind of system and method for realizing the file synchronization between the server node in the network especially.
[background technology]
Along with development of economic globalization trend, large quantities of trans-regional, transnational large-size enterprise groups have appearred.The branch offices of these group of enterprises is distributed in various places, and various places branch offices needs sharing data with combination process.Therefore, how its data is managed, share, become an important component part of such enterprise operation to realize Enterprise Resource.And, make trans-regional data visit and collaborative editing become possibility along with the development of the network communications technology, for this reason, enterprise generally adopts the distributed file management system.
The distributed file management system is the file management system that physical space is disperseed, linked together by network in logic.In the distributed file management system, the user can use file in home server and the remote server as the visit local storage.As China national Department of Intellectual Property on June 12nd, 2002 disclosed publication number be the patent of CN1353836 by name " file management method in the distributed environment and system ", this patent has been described a kind of file management method and system, it can install a file controller in client, be used to manage the exchange of local file and Control Network data, and generate index with the memory location of mark this document in network.When the user when certain network node carries out file access, obtain file storage location by this index, and with file copy to this node, revise index information simultaneously.When file was changed, this system can all network nodes with this document copy carry out file synchronization to other according to index.But this system has following 2 deficiencies:
One, unnecessary file synchronization.Suppose to exist in the network A, B, three nodes of C.After node A upgraded a certain file, the respective copies of node C need be upgraded once.After Node B was upgraded this document, the respective copies of node C need be upgraded once again.And just after the Node B updating file, just visit this document as node C, what done so for the first time is unnecessary synchronously.
Its two, the network communication amount of synchronous operation under some situation is excessive.For example a certain file is that all nodes are required in the network, after this document is updated, needs to do synchronously with the all-network node simultaneously, and the burst data transmission is excessive.
Because said system and the existing deficiency of method provide a kind of multi-node file syn chronizing system and method, its need carry out when the node reading and writing of files synchronously, and real is essential.
[summary of the invention]
Fundamental purpose of the present invention is to provide a kind of multi-node file syn chronizing system and method, only needs to carry out when the node reading and writing of files synchronously, reduces unnecessary file synchronization operation.
Another object of the present invention is to provide a kind of multi-node file syn chronizing system and method, avoid the network communication amount of synchronous operation under some situation excessive.
For reaching above-mentioned goal of the invention, the invention provides a kind of multi-node file syn chronizing system, can realize the file synchronization between a plurality of nodes in the network.This system includes a host node, a plurality of from node and with host node and these networks that is connected from node.
Wherein, from node include one from application server, from file server and from database, one acts on behalf of program run from application server, can be according to file new situation more, and the latest edition of file in download is to upgrade the corresponding document from file server.Be used for storage file from file server, these files need be done synchronously with the corresponding document of host node.Related information from database storing from the file server stored file.
Host node includes a master application server, a main file server and a master data base.Master data base has been stored more new record of file, each file synchronization situation of this recorded and stored.The latest edition of the main file server storage file that master data base write down.The controller that primary application program server operation one synchronous program is upgraded as file, can be according to the new record more of the file in the master data base, by downloading the file upgraded from file server, and it is uploaded to the latest edition of main file server as this document, downloads from node for other.
For reaching above-mentioned goal of the invention, the present invention also provides a kind of multinode file synchronisation method, can realize the file synchronization between a plurality of nodes in the network.This method includes: (a) run on from the Agent of application server and add more new record of a file master data base; (b) synchronization program that runs on master application server is according to file new record more, by downloading the file that is upgraded from file server, and is uploaded to the latest edition of main file server as this document; (c) Agent according to file more new record judge that whether needs upgrade for file from file server, can download the latest edition of this document from main file server if need to upgrade, and be uploaded to from file server to upgrade corresponding document.
By said system and method, can realize in the network shared file between the master and slave node synchronously, and can reduce unnecessary file synchronization operation and avoid the excessive situation of network communication amount in some synchronous operation.
[description of drawings]
Fig. 1 is the enforcement environment synoptic diagram of multi-node file syn chronizing system of the present invention and method.
Fig. 2 is the principle of work synoptic diagram of multi-node file syn chronizing system of the present invention.
Fig. 3 is the synoptic diagram of the local file information table of multi-node file syn chronizing system of the present invention.
Fig. 4 is the synoptic diagram of the file synchronization information table of multi-node file syn chronizing system of the present invention.
Fig. 5 is the functional block diagram of the Agent of multi-node file syn chronizing system of the present invention.
Fig. 6 is the functional block diagram of the synchronization program of multi-node file syn chronizing system of the present invention.
Fig. 7 and Fig. 8 for multi-node file syn chronizing system of the present invention from node synchronization job process flow diagram.
Fig. 9 is the program flow diagram of the synchronization program of multi-node file syn chronizing system of the present invention.
[embodiment]
With reference to shown in Figure 1, be the enforcement environment synoptic diagram of multi-node file syn chronizing system of the present invention and method.This system includes a plurality of from node 100A, B, C, a network 110 and a host node 120.Each is from node 100A, B, C include one from application server 101, act on behalf of program 102, from file server 103 and from database 104.Host node 120 includes a master application server 121, one synchronous program 122, a main file server 123 and a master data base 124.
Wherein, from node 100A, B, C are meant the network node that serves as server in the corresponding sub-network (not shown), and these sub-networks also include a plurality of client (not shown)s, and by a plurality of network interconnection apparatus, network interconnection access networks 110.These client working procedures are to from node 100A, B, and C sends file operation requests.In this preferred embodiment explanation, respectively from node 100A, B, the system architecture of C is identical, form by reaching from database 104, and all can receive the file operation requests that client sent the corresponding networks by operating in from the Agent 102 of application server 101 from application server 101, from file server 103.
Be meant the known suitable type in this field from application server 101, be used for installing and moving various server end application software, for example the server version of an ERP system or a unified workbench.
Agent 102 operates in from application server 101 with the form of dynamic link library (Dynamic Link Library), can be called by other application program (not shown) that operates in from the application server 101, in order to accessing database and upload/file in download.Dynamic link library is meant on the Windows operating system can call the chained library of loading when needed by application program or system, provides the program of standard to carry out function, can be used as a kind of shared software resource and is operated system management.The principle of work of this Agent 102 and functions of modules will describe in detail below.
From file server 103 is to be formed by suitable type known in the art and combination of software, with link together from application server 101, be used for receiving from node 100A, B, the file that C and host node 120 are sent is uploaded/download request, and institute's transmitting file can be stored on this server 103 or the download of required file is provided.
From database 104 with link together from application server 101, stored the essential information of file from file server 103.Need a data base management system (DBMS) (not shown) to move from database 104, described data base management system (DBMS) can be a system R, as the class of Oracle.RTM.
Network 110 is meant Internet or the Intranet that a plurality of LAN (Local Area Network) is combined by router, small switch.By network 110, from node 100A, B, C can and host node 120 between mutually communication and uploading/file in download.
Host node 120 is meant a network node that serves as server in the network 110.This node 120 can be from node 100A, B, and any one in its essential information of not only having stored its file from file server 103 from database 104, has also been stored and is used for realizing from node 100A among the C, B, the file of file synchronization new record more among the C; With its from file server 103 as synchronous required main file server 123; And at it from application server operation synchronization program 122.Perhaps, this node can be the network node that serves as server in the network 110, have master application server 121, main file server 123 and master data base 124, and file upgrades in the main file server 123 to finish at its master application server 121 operation synchronization programs 122.Two kinds of above-mentioned situations logically are equal to, and in this manual, for convenience of description, adopt second kind of situation to describe.
Master application server 121 is with above-mentioned unanimous on the whole from application server 101, synchronization program 122 operates on this server 121, is mainly used in respectively from node 100A, B, it is synchronous to make file between C and the host node 120, and the principle of work of this program 122 and functions of modules will describe in detail below.Main file server 123 stores required file synchronously, is about to from node 100A, and B, the latest edition of each file of C all is uploaded to storage in this server 123.124 of master data base have been stored the file new record more that is used for file synchronization.
With reference to shown in Figure 2, be the principle of work synoptic diagram of multi-node file syn chronizing system of the present invention.In distributed network environment, so-called multi-user edits identical file, is actually a plurality of copies of identical file are edited.These duplicates of the document are stored in the server end of user place network, promptly are stored in respectively from node 100A, B is corresponding from file server 103 among the C.If a certain user edits the corresponding document copy, and be uploaded to corresponding storage from file server 103, then these copies just relate to the file synchronization processing.The key that this preferred embodiment solves file synchronization is to store from node 100A by master data base 124, B, and the file of C is new record more, latest edition by main file server 123 these files of storage, from node 100A, all to make file synchronous with host node 120 for B, C.
Synchronization principles of the present invention is as described below:
Agent 102 is a dynamic link library file that can Gong call, and deposits in from application server 101.When running on a certain application program from application server 101 and need upgrade from file server 103 a certain duplicate of the document, can call Agent 102 updating file is uploaded to from file server 103, and in master data base 124, add more new record of a file.
When running on a certain application program from application server 101 and need read from file server 103 a certain duplicate of the document, call Agent 102 respective file update time of new record more in the update time of this copy and the master data base 124 from file server 103 relatively, the latest edition that whether needs to download from main file server 123 this document with decision by this program 102, and be uploaded to from file server 103 renewal this document copies, to finish the synchronous of this document.
Finish the file of main file server 123 and upgrade by running on synchronization program 122 on the master application server 121.This program 122 connects respectively from node 100A, B, and C's is corresponding to file server 103, according to the file of master data base 124 new record more, downloads the duplicate of the document that all have upgraded, and is uploaded to main file server 123 again.The file of being finished main part server 123 by synchronization program 122 upgrades; 102 of Agents add more new record of files to master data base 124, do not upload the duplicate of the document that has upgraded to main file server 123.
With reference to shown in Figure 3, be the synoptic diagram of the local file information table of multi-node file syn chronizing system of the present invention.Generally, for the ease of managing one from node 100A, B, the file transfer services of C can be used to write down the storage file situation from file server 103 setting up a local file information table 130 as the file service tabulation from database 104.This table 130 includes reference number of a document 131, filename 132, file directory 133 and update time 134 last time etc. field.
Wherein, reference number of a document 131 is used for indicating the file from file server 103, the corresponding reference number of a document of each file, and this document is numbered unique figure denote of corresponding document from file server 103.Filename 132, file directory 133 are used for writing down a file name and in the path of depositing from file server 103, the two combines the unique sign that also can be used as a file.134 be used to deposit the file modifying time update time last time.Each file all can have a recorded information, as the part of file content.This recorded information includes filename, file size, document creation time and file modification time etc.For example, in unix system, but utility command modtime filename reads the modification time of specified file.
With reference to shown in Figure 4, be the synoptic diagram of the file synchronization information table of multi-node file syn chronizing system of the present invention.Agent 102 correspondingly after the duplicate of the document, can add the more new record of corresponding document upgrading in master data base 124 from file server 103.This record is stored in the file synchronization information table 140, is used for respectively from node 100A, and B, it is synchronous to make file between C and the host node 120.File synchronization information table 140 can be by 122 read-writes of Agent 102 and synchronization program, fields such as 146 that it includes reference number of a document 141, filename 142, source directory 143, last time update time 144, target directory 145 and uploading finishes.
Wherein, correspond respectively to reference number of a document 141, filename 142, source directory 143 and update time 144 last time reference number of a document 131 in the local file information table 130, filename 132, file directory 133 and update time 134 last time, these field values are write according to the essential information of latest copy more by Agent 102.And target directory 145 and uploading finishes and 146 adds a file at Agent 102 in file synchronization information table 140 and more be sky (NULL) during new record.Synchronization program 122 is according to file new record more, be uploaded to the duplicate of the document that has upgraded on the main file server 123 after, fill in target directory 145 and upload 146 field values that finish.
With reference to shown in Figure 5, be the functional block diagram of the Agent of multi-node file syn chronizing system of the present invention.Agent 102 is a dynamic link library file from the application server 101, be used for inserting from database 104 with master data base 124, be connected from document data bank 103 to upload/to download data and to connect main file server 123 to finish file synchronization.Agent 102 includes one and acts on behalf of module 1021, database access module 1022 and document transmission module 1023.
Wherein, proxy module 1021 receives from the application server 101 file of application program (not shown) and uploads/download request.Proxy module 1021 can be by database access module 1022 visit local file information table 130 and file synchronization information tables 140, relatively update time 144 last time of the former update time 134 last time and the latter, whether need to upgrade at the copy from file server 103 to determine required file.This module 1021 can pass to document transmission module 1023 as message parameter with file transfer requests, and will upload/download request result returns to above-mentioned application program.
Database access module 1022 as proxy module 1021 and from the middle layer between database 104 and the master data base 124, can be finished the connection database in Agent 102, inquiry and data for updating.Database access module 1022 provides two interfaces (interface): interface that no affairs are handled and the interface (not shown) of supporting affairs.On database 104 and master data base 124, may there be a plurality of affairs simultaneously, as respectively from node 100A, B, the Agent 102 of C carries out read operation or write operation to master data base 124 simultaneously, the interface of support affairs can provide the priority setting of disparate databases operation, thereby allow each affairs be undertaken, will describe in detail below by correct order.
Document transmission module 1023 as proxy module 1021 and from the middle layer between file server 103 and the main file server 123, can be finished to uploading from file server 103/file in download or to main file server 123 file in download in Agent 102.
With reference to shown in Figure 6, be the functional block diagram of the synchronization program of multi-node file syn chronizing system of the present invention.Synchronization program 122 operates on the master application server 121, the file synchronization information table 140 of addressable master data base 124, and according to each file new record more, the duplicate of the document that download has been upgraded from file server 103 also is uploaded to main file server 123 with it, upgrades with the file of finishing host node 120.This program 122 includes a synchronous module 1221, a database access module 1022, a document transmission module 1023 and a subscriber interface module 1224.
Synchronization module 1221 and database access module 1022, document transmission module 1023 and subscriber interface module 1224 mutual communications.Synchronization module 1221 can be by database access module 1222 visit master data base 124, obtain in the file synchronization information table 140 all latest copy file new records more of being uploaded to main file server 123 more, i.e. all renewals record of 146 field values that finish in the file synchronization information table 140 for empty (NULL).This module 1221 also can according to all will be more the latest copy file new record more that is uploaded to main file server 123, be that all renewals 146 field values that finish are not the record of empty (NULL) in the file synchronization information table 140, filename 142, source directory 143 and target directory 145 are sent to document transmission module 1223 to connect from file server 103 and main file server 123 as parameter, will download and be uploaded to main file server 123 from the more latest copy of file server 103.Synchronization module 1221 operates in master application server 121, periodic scan file synchronization information table 140.This cycle can be set in subscriber interface module 1224.In addition, can in master data base 124, set up index, be convenient to read all renewals record of 146 field values that finish for empty (NULL) for file synchronization information table 140.
Database access module 1022 is used to insert master data base 124, access file synchronizing information table 140 and index thereof in synchronization program 122.
Document transmission module 1023 is used for connecting in synchronization program 122 from file server 103 and main file server 123, receives the parameter that synchronization module 1221 is sent, and will be uploaded to main file server 123 from the updating file copy of file server 103.
Subscriber interface module 1224 can with synchronization module 1221 and the 1222 mutual communications of database access module.This module 1224 is for the user provides an operation interface, is mainly used in the cycle of setting synchronization module 1221 scanning document synchronizing information tables 140, or by database access module 1022 access file synchronizing information tables 140 to inspect more new situation of file.
Above-mentioned Agent 102 and synchronization program 122 can run into multiple conflicting special circumstances in actual moving process, the disposal route of this preferred embodiment is described in detail in detail below.
One, a plurality of from node 100A, B, C require to read or upgrade identical file simultaneously.Because before reading or upgrading identical file, corresponding Agent 102 all can insert master data base 124 by database access module 1022, reads or writes file synchronization information table 140.As mentioned above, the provide support interface of affairs of database access module 1022 can be database manipulation priority is set.For example, to the write operation of the file synchronization information table 140 priority height than read operation, the Agent 102 of carrying out write operation can carry out before the Agent 102 of carrying out read operation.
Its two, from node 100A, B, C and host node 120 require access file synchronizing information table 140 simultaneously.As mentioned above, Agent 102 is in order to inspect the more new situation of required file by database access module 1022 access file synchronizing information tables 140; Synchronization program 122 is for the latest edition with file is uploaded to main file server 123 by these tables 140 of database access module 1022 visit, for respectively from node 100A, B, it is synchronous that C makes file.Therefore, the accessing operation for file synchronization information table 140 can be set, host node 120 compares from node 100A, B, the priority height of C.
Its three, the more latest copy of a certain file has been uploaded to main file server 123, from node 100A, B, C be not before making the synchronous processing of this document, desire is upgraded this document.Before upgrading a file, Agent 102 all can insert from database 104 and master data base 124 by database access module 1022, relatively update time 144 last time of the update time 134 last time of local file information table 130 and file synchronization information table 140, upgrade to avoid wrong file.
With reference to shown in Figure 7, for multi-node file syn chronizing system of the present invention from node synchronization job process flow diagram.Beginning, a certain application program (not shown) that runs on from the application server 101 is called Agent 102 (step S10).The above-mentioned application program of proxy module 1021 judgements will be read a certain file or write a certain file (step S11).If read file, proxy module 1021 is read corresponding record from the local file information table (Table A) of database 104 and the file synchronization information table of master data base 124 (table B) respectively by database access module 1022.Certainly, may there be a plurality of records in this document in the file synchronization information table, read time record the latest then, i.e. latest document new record (step S21) more.Proxy module 1021 judge in the Table A update times 134 last time field value whether less than field values update times 144 last time (step S22) of table B.If judged result for not, then represent this document as yet not by other from node 100A, B, C upgrades, this document need not to do synchronously at the copy from file server 103.Proxy module 1021 connects from file server 103 by document transmission module 1023, finishes the download (step S23) of required file.If judged result for being, then represent this document by other from node 100A, B, C renewal.Proxy module 1021 judges that further uploading of table B upgrade whether the field value that finishes is empty (NULL), and whether the latest edition (step S24) of this document is promptly arranged on the main file server 123.If judged result is for being, i.e. the latest edition of no this document on the main file server 123, then 1021 message informings of proxy module are from application server 101 and finish current calling.(step S25).If judged result is for denying, it is the latest edition that has this document on the main file server 123, then proxy module 1021 is downloaded the latest edition of required file by document transmission module 1023 by main file server 123, and is uploaded to from file server 103 to upgrade the copy of this document.Proxy module 1021 is further according to update time last time (step S26) of respective record in the modification time replacement Table A of this copy.
If step S11 judged result is a written document, with reference to shown in Figure 8, proxy module 1021 is read respective file record from the local file information table (Table A) of database 104 and the file synchronization information table of master data base 124 (table B) respectively by database access module 1022.Certainly, may there be a plurality of records in this document in the file synchronization information table, read time record the latest then, promptly up-to-date record (step S31).Proxy module 1021 judges that update time 134 last time in the Table A is whether early than update times 144 last time (step S32) of table B.If judged result for being, then represent this document by other from node 100A, B, C renewal.Proxy module 1021 sends alert message to finish to call (step S33).If judged result for not, then represent this document as yet not by other from node 100A, B, C upgrades, proxy module 1021 inserts from file server 103 by document transmission module 1023, uploads the more latest copy (step S34) of this document.Proxy module 1021 is write respectively from the local file information table (Table A) of database 104 and the file synchronization information table of master data base 124 (table B), i.e. the respective field unit that adds a new record and fill in this record according to institute's updating file situation in table B by database access module 1022; Update time 134 last time of replacement Table A, wherein, update time 134 last time and update time last time of table B and the modification time identical (step 35) of this copy of Table A.Finish, for this that finishes Agent 102 calls the system resource (step 40) of release busy.
With reference to shown in Figure 9, be the program flow diagram of the synchronization program of multi-node file syn chronizing system of the present invention.Beginning, for synchronization module 1221 according to beginning in advance synchronizing cycle on main file server 121, to carry out (step S50).Synchronization module 1221 is read file synchronization information table 140 (step S51) by database access module 1022.Database access module 1022 is not all finish the record of uploading in the file synchronization information table 140, promptly uploads the field value that finishes and as a result of returns to synchronization module 1221 (step S52) for all records of empty (NULL).Whether the return results of synchronization module 1221 determining step S52 is empty (step S53).If be judged as not, synchronization module 1221 reads filename, source directory and the target directory of current results, and it is passed to document transmission module 1022 as message parameter.Document transmission module 1022 from file server 103 be connected main file server 123, by the more latest copy of from file server 103, downloading required file, and it is uploaded to main file server 123 (step S54) according to the parameter that is received.Synchronization module 1221 reads next result, and repeating step S53 (step S55).As if being judged as of step S53 be, promptly do not have the file that needs renewal, then finish this execution of synchronization module 1221, discharge shared system resource (step S56).

Claims (16)

1. multi-node file syn chronizing system, this system includes a host node, a plurality of from node and with host node and these networks that is connected from node, can be synchronous from making file between node and the host node at these, it is characterized in that, wherein:
From node include one from application server, from file server and from database, wherein:
Be used for storage file from file server, these files need be done synchronously with the corresponding document of host node;
From database storing above-mentioned essential information from the file server stored file is arranged;
Act on behalf of program from application server operation one, be used to judge whether required file upgrades, and manage uploading and downloading of this document;
Host node includes a master application server, a main file server and a master data base, wherein:
The file that the master data base storage is used to write down and control documents is synchronous is new record more;
The latest edition of the main file server storage file that master data base write down;
Primary application program server operation one synchronous program is used for as the controller that file upgrades
Upgrade record according to file in the main file server,, and be uploaded to main file server by the file that is upgraded from the file server download.
2. multi-node file syn chronizing system as claimed in claim 1 is characterized in that, host node and a plurality ofly be the network node that serves as server wherein from node, and be connected with a plurality of clients.
3. multi-node file syn chronizing system as claimed in claim 1, it is characterized in that, wherein each from node all store a copy of shared file from file server, after this copy was modified, Agent can add more new record of a file in master data base.
4. multi-node file syn chronizing system as claimed in claim 1 is characterized in that, wherein Agent can be according to the file of master data base new record more, from the latest edition of main file server file in download.
5. multi-node file syn chronizing system as claimed in claim 1, it is characterized in that, wherein establish one first list from database, storage is used to write down essential information from the file server stored file, and this list includes a plurality of fields: filename, file directory and update time last time field.
6. multi-node file syn chronizing system as claimed in claim 5, it is characterized in that, wherein master data base establishes one second list and stores more new record of file, and this list includes a plurality of fields: filename, source directory, update time last time, target directory and upload the field that finishes.
7. multi-node file syn chronizing system as claimed in claim 6 is characterized in that, wherein the filename of second list, source directory and update time last time field correspond respectively to first list filename, file directory and update time last time field.
8. multi-node file syn chronizing system as claimed in claim 6 is characterized in that, wherein the filename of second list, file directory and update time last time field value fill in according to the essential information of updating file by Agent, other field value is changed to sky.
9. multi-node file syn chronizing system as claimed in claim 6 is characterized in that, wherein synchronization program can read in second list all and do not finish more new record of the file uploaded, promptly upload finish field value for all empty records to finish uploading of required file.
10. multi-node file syn chronizing system as claimed in claim 9 is characterized in that, wherein finishes uploading of required file and is meant by the latest edition from the file server file in download, and be uploaded to main file server.
11. multinode file synchronisation method, its by a multi-node file syn chronizing system a plurality of synchronous from making file between node and the host node, wherein, from node include one from application server, from file server and from database, host node includes a master application server, a main file server and a master data base, it is characterized in that, include following steps:
(a) run on from the Agent of application server and master data base, add more new record of a file;
(b) run on the synchronization program of master application server, and according to file new record more, by downloading the file that has upgraded, and be uploaded to the latest edition of main file server as this document from file server;
(c) Agent according to file more new record judge that whether needs upgrade for file from file server, can be downloaded the latest edition of this document by main file server if need to upgrade, and be uploaded to from file server to upgrade corresponding document.
12. multinode file synchronisation method as claimed in claim 11, it is characterized in that, further include a step: from database, setting up first list with record from the essential information of file server stored file, this list includes a plurality of fields: reference number of a document, filename, file directory and update time last time field.
13. multinode file synchronisation method as claimed in claim 11, it is characterized in that, further include a step: in master data base, set up second list with the storage file lastest imformation, this list includes a plurality of fields: reference number of a document, filename, source directory, update time last time, target directory and upload the field that finishes, wherein the filename of second list, source directory and update time last time field correspond respectively to first list filename, file directory and update time last time field.
14. multinode file synchronisation method as claimed in claim 13, it is characterized in that, wherein step (a) further includes a step: add in second list after the file update information, Agent according to the essential information of updating file fill up a document name, source directory, target directory and update time last time field, other field value is put sky.
15. multinode file synchronisation method as claimed in claim 13, it is characterized in that, wherein step (b) further includes a step: synchronization program reads in second list all and does not finish more new record of the file uploaded, promptly uploads the field value that finishes and is all empty records.
16. multinode file synchronisation method as claimed in claim 13, it is characterized in that, whether wherein step (c) further includes a step: update time last time that the more required file of Agent writes down in first list and update time last time of writing down in second list, need to upgrade to judge from this document of file server.
CN 02134938 2002-10-11 2002-10-11 Multi-node file syn chronizing system and method Expired - Fee Related CN1261877C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02134938 CN1261877C (en) 2002-10-11 2002-10-11 Multi-node file syn chronizing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02134938 CN1261877C (en) 2002-10-11 2002-10-11 Multi-node file syn chronizing system and method

Publications (2)

Publication Number Publication Date
CN1489052A true CN1489052A (en) 2004-04-14
CN1261877C CN1261877C (en) 2006-06-28

Family

ID=34146011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02134938 Expired - Fee Related CN1261877C (en) 2002-10-11 2002-10-11 Multi-node file syn chronizing system and method

Country Status (1)

Country Link
CN (1) CN1261877C (en)

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100445995C (en) * 2005-03-29 2008-12-24 威盛电子股份有限公司 Database synchronous system and method
CN101661388A (en) * 2008-08-29 2010-03-03 国际商业机器公司 Version management system, version management method, synchronous control equipment and synchronous control method
CN1828599B (en) * 2005-02-22 2010-06-16 微软公司 Ghosted synchronization system and method
CN1988535B (en) * 2005-12-23 2010-08-11 腾讯科技(深圳)有限公司 Synchronous method, system for file storage and customer terminal
CN101854395A (en) * 2010-06-02 2010-10-06 四川华廷威思信息技术有限公司 Automatic attachment modifying method based on Web program
CN101534480B (en) * 2009-04-14 2010-12-08 南京大学 Cross network file synchronizing method based on mobile software agent
CN102054229A (en) * 2010-12-30 2011-05-11 福建星网视易信息系统有限公司 Distributed member information management system and method for member information management
CN102184192A (en) * 2011-04-19 2011-09-14 中兴通讯股份有限公司 Data timing synchronization method and system
CN102360410A (en) * 2011-09-30 2012-02-22 许式伟 User operation discovery method of file system and synchronous system utilizing the same
CN102411612A (en) * 2011-10-27 2012-04-11 苏州阔地网络科技有限公司 Method and system for synchronizing information
CN102591751A (en) * 2012-01-05 2012-07-18 中国电子科技集团公司第五十二研究所 Independent hot backup protection method for storage system
CN103001995A (en) * 2011-09-15 2013-03-27 伊姆西公司 Method and device for improving cache coherence in cluster file system
CN103023988A (en) * 2012-11-27 2013-04-03 北京金山云科技有限公司 File synchronization method, file synchronization server, file synchronization client side and terminal device
CN103199978A (en) * 2013-03-25 2013-07-10 天脉聚源(北京)传媒科技有限公司 Method and device for log synchronization
CN103237065A (en) * 2013-04-15 2013-08-07 国家电网公司 Automatic synchronization method of multistate data in integrated substation monitoring system
CN101933294B (en) * 2008-02-01 2013-08-21 微软公司 Representation of qualitative object changes in a knowledge based framework for a multi-master synchronization environment
CN103369051A (en) * 2013-07-22 2013-10-23 中安消技术有限公司 Data server cluster system and data synchronization method
CN103457979A (en) * 2012-06-05 2013-12-18 鸿富锦精密工业(深圳)有限公司 Distribution type file storage system and method
CN103561095A (en) * 2013-11-04 2014-02-05 金蝶软件(中国)有限公司 Data synchronous method and node and storage service cluster
CN103716384A (en) * 2013-12-17 2014-04-09 创新科存储技术(深圳)有限公司 Method and device for realizing cloud storage data synchronization in cross-data-center manner
CN103858122A (en) * 2011-08-03 2014-06-11 艾玛迪斯简易股份公司 Method and system to maintain strong consistency of distributed replicated contents in a client/server system
CN104144187A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method, terminal, platform and system for obtaining application in updated version
CN104272649A (en) * 2011-11-04 2015-01-07 达索系统加拿大软件股份有限公司 System and method for data communication over a network
CN104281631A (en) * 2013-07-12 2015-01-14 中兴通讯股份有限公司 Distributed database system and data synchronization method and nodes thereof
CN104778214A (en) * 2015-03-20 2015-07-15 四川长虹电器股份有限公司 Distributed file system on basis of jump of resource locator and data synchronization method thereof
CN105138441A (en) * 2015-06-30 2015-12-09 中标软件有限公司 HAC system, warning method based on HAC system and warning system based on HAC system
CN105162893A (en) * 2015-10-16 2015-12-16 珠海格力电器股份有限公司 Video file uploading method, uploading system, access method, and access system
CN105306585A (en) * 2015-11-12 2016-02-03 焦点科技股份有限公司 Data synchronization method for plurality of data centers
CN106331063A (en) * 2016-08-15 2017-01-11 成都轻车快马网络科技有限公司 Database deployment method
CN106708911A (en) * 2015-11-18 2017-05-24 阿里巴巴集团控股有限公司 Method and device for synchronizing data files in cloud environment
CN107707645A (en) * 2017-09-27 2018-02-16 北京机电工程研究所 Telefile sychronisation and method for PDM
CN107995302A (en) * 2017-12-11 2018-05-04 北京恒华伟业科技股份有限公司 A kind of system of data synchronization
CN108123967A (en) * 2016-11-28 2018-06-05 中国石油天然气股份有限公司 The method of data synchronization and system of a kind of group system
CN108121804A (en) * 2017-12-22 2018-06-05 百度在线网络技术(北京)有限公司 Method, apparatus, terminal and the storage medium of cross-region distributed storage data
CN110019091A (en) * 2017-12-03 2019-07-16 中国直升机设计研究所 A kind of strange land data collaborative system
CN110365627A (en) * 2018-04-11 2019-10-22 腾讯科技(深圳)有限公司 Application program synchronous method, calculates equipment and storage medium at device
CN110515916A (en) * 2019-07-26 2019-11-29 济南浪潮数据技术有限公司 A kind of master-salve distributed document handling method, master node, slave node and system
CN115391465A (en) * 2022-10-27 2022-11-25 天津睿智诚科技发展有限公司 Multi-terminal data synchronization method, system and device based on signal clustering judgment

Cited By (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828599B (en) * 2005-02-22 2010-06-16 微软公司 Ghosted synchronization system and method
CN100445995C (en) * 2005-03-29 2008-12-24 威盛电子股份有限公司 Database synchronous system and method
CN1988535B (en) * 2005-12-23 2010-08-11 腾讯科技(深圳)有限公司 Synchronous method, system for file storage and customer terminal
CN101933294B (en) * 2008-02-01 2013-08-21 微软公司 Representation of qualitative object changes in a knowledge based framework for a multi-master synchronization environment
CN101661388A (en) * 2008-08-29 2010-03-03 国际商业机器公司 Version management system, version management method, synchronous control equipment and synchronous control method
CN101534480B (en) * 2009-04-14 2010-12-08 南京大学 Cross network file synchronizing method based on mobile software agent
CN101854395A (en) * 2010-06-02 2010-10-06 四川华廷威思信息技术有限公司 Automatic attachment modifying method based on Web program
CN102054229A (en) * 2010-12-30 2011-05-11 福建星网视易信息系统有限公司 Distributed member information management system and method for member information management
CN102184192A (en) * 2011-04-19 2011-09-14 中兴通讯股份有限公司 Data timing synchronization method and system
CN103858122B (en) * 2011-08-03 2016-12-28 艾玛迪斯简易股份公司 The method and system of the high consistency of the distributed reproducting content in holding client/server system
CN103858122A (en) * 2011-08-03 2014-06-11 艾玛迪斯简易股份公司 Method and system to maintain strong consistency of distributed replicated contents in a client/server system
CN103001995B (en) * 2011-09-15 2016-04-13 伊姆西公司 The method and apparatus of cache coherence is improved in cluster file system
CN103001995A (en) * 2011-09-15 2013-03-27 伊姆西公司 Method and device for improving cache coherence in cluster file system
CN102360410A (en) * 2011-09-30 2012-02-22 许式伟 User operation discovery method of file system and synchronous system utilizing the same
CN102360410B (en) * 2011-09-30 2014-03-19 许式伟 User operation discovery method of file system and synchronous system utilizing the same
CN102411612A (en) * 2011-10-27 2012-04-11 苏州阔地网络科技有限公司 Method and system for synchronizing information
CN104272649A (en) * 2011-11-04 2015-01-07 达索系统加拿大软件股份有限公司 System and method for data communication over a network
CN102591751A (en) * 2012-01-05 2012-07-18 中国电子科技集团公司第五十二研究所 Independent hot backup protection method for storage system
CN103457979A (en) * 2012-06-05 2013-12-18 鸿富锦精密工业(深圳)有限公司 Distribution type file storage system and method
CN103457979B (en) * 2012-06-05 2017-04-26 中山市云创知识产权服务有限公司 Distribution type file storage system and method
CN103023988B (en) * 2012-11-27 2016-05-04 北京金山云科技有限公司 File synchronisation method, server, client and terminal device
CN103023988A (en) * 2012-11-27 2013-04-03 北京金山云科技有限公司 File synchronization method, file synchronization server, file synchronization client side and terminal device
CN103199978A (en) * 2013-03-25 2013-07-10 天脉聚源(北京)传媒科技有限公司 Method and device for log synchronization
CN103237065A (en) * 2013-04-15 2013-08-07 国家电网公司 Automatic synchronization method of multistate data in integrated substation monitoring system
CN103237065B (en) * 2013-04-15 2016-03-02 国家电网公司 The automatic synchronous method of the Multi-state data in transformer station's integrated monitoring system
CN104144187A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method, terminal, platform and system for obtaining application in updated version
CN104281631A (en) * 2013-07-12 2015-01-14 中兴通讯股份有限公司 Distributed database system and data synchronization method and nodes thereof
CN103369051B (en) * 2013-07-22 2016-04-27 中安消技术有限公司 A kind of data server cluster system and method for data synchronization
CN103369051A (en) * 2013-07-22 2013-10-23 中安消技术有限公司 Data server cluster system and data synchronization method
CN103561095A (en) * 2013-11-04 2014-02-05 金蝶软件(中国)有限公司 Data synchronous method and node and storage service cluster
CN103716384A (en) * 2013-12-17 2014-04-09 创新科存储技术(深圳)有限公司 Method and device for realizing cloud storage data synchronization in cross-data-center manner
CN104778214B (en) * 2015-03-20 2018-02-06 四川长虹电器股份有限公司 The distributed file system and its method of data synchronization redirected based on resource localizer
CN104778214A (en) * 2015-03-20 2015-07-15 四川长虹电器股份有限公司 Distributed file system on basis of jump of resource locator and data synchronization method thereof
CN105138441A (en) * 2015-06-30 2015-12-09 中标软件有限公司 HAC system, warning method based on HAC system and warning system based on HAC system
CN105138441B (en) * 2015-06-30 2018-05-08 中标软件有限公司 Highly available cluster system and alarm method, warning system based on the system
CN105162893A (en) * 2015-10-16 2015-12-16 珠海格力电器股份有限公司 Video file uploading method, uploading system, access method, and access system
CN105306585A (en) * 2015-11-12 2016-02-03 焦点科技股份有限公司 Data synchronization method for plurality of data centers
CN105306585B (en) * 2015-11-12 2019-02-05 焦点科技股份有限公司 A kind of method of data synchronization of multiple data centers
CN106708911A (en) * 2015-11-18 2017-05-24 阿里巴巴集团控股有限公司 Method and device for synchronizing data files in cloud environment
CN106331063A (en) * 2016-08-15 2017-01-11 成都轻车快马网络科技有限公司 Database deployment method
CN106331063B (en) * 2016-08-15 2019-04-09 成都轻车快马网络科技有限公司 Database portion arranging method
CN108123967A (en) * 2016-11-28 2018-06-05 中国石油天然气股份有限公司 The method of data synchronization and system of a kind of group system
CN107707645A (en) * 2017-09-27 2018-02-16 北京机电工程研究所 Telefile sychronisation and method for PDM
CN110019091A (en) * 2017-12-03 2019-07-16 中国直升机设计研究所 A kind of strange land data collaborative system
CN107995302A (en) * 2017-12-11 2018-05-04 北京恒华伟业科技股份有限公司 A kind of system of data synchronization
CN108121804A (en) * 2017-12-22 2018-06-05 百度在线网络技术(北京)有限公司 Method, apparatus, terminal and the storage medium of cross-region distributed storage data
CN108121804B (en) * 2017-12-22 2020-06-05 百度在线网络技术(北京)有限公司 Cross-region distributed data storage method, device, terminal and storage medium
CN110365627A (en) * 2018-04-11 2019-10-22 腾讯科技(深圳)有限公司 Application program synchronous method, calculates equipment and storage medium at device
CN110365627B (en) * 2018-04-11 2021-10-29 腾讯科技(深圳)有限公司 Application program synchronization method and device, computing equipment and storage medium
CN110515916A (en) * 2019-07-26 2019-11-29 济南浪潮数据技术有限公司 A kind of master-salve distributed document handling method, master node, slave node and system
CN110515916B (en) * 2019-07-26 2022-12-23 济南浪潮数据技术有限公司 Master-slave distributed file processing method, master node, slave node and system
CN115391465A (en) * 2022-10-27 2022-11-25 天津睿智诚科技发展有限公司 Multi-terminal data synchronization method, system and device based on signal clustering judgment

Also Published As

Publication number Publication date
CN1261877C (en) 2006-06-28

Similar Documents

Publication Publication Date Title
CN1261877C (en) Multi-node file syn chronizing system and method
US7139780B2 (en) System and method for synchronizing files in multiple nodes
CN1132109C (en) System and method for efficient caching in a distributed file system
CN1099785C (en) Data management system and method for replicated data
US6317754B1 (en) System for user control of version /Synchronization in mobile computing
EP1845688B1 (en) Method, system, client terminal and server for realizing data synchronization
EP2442489B1 (en) Distributed management monitoring system, monitoring method and creating method thereof
CA2555630C (en) Integrated deployment of software projects
RU2425415C2 (en) Resource update and replication
RU2357283C2 (en) Scheme for refreshing connection with network printing device for clients of printer device
US20070088669A1 (en) Method and apparatus for accessing information based on distributed file system (DFS) paths
US20140250064A1 (en) Method and system for supporting off-line mode of operation and synchronization
US20090198772A1 (en) Data synchronization method and system between devices
EP0955761A1 (en) Network directory access mechanism
US20050216523A1 (en) File management method in a distributed storage system
US20080104277A1 (en) Method, system, client and server for implementing data sync
CN1480859A (en) Synchronous system in distributed files and method
US6970975B2 (en) Method for efficient caching and enumerating objects in distributed storage systems
EP1422901A1 (en) Client driven synchronization of file and folder content in web publishing
CN1545252A (en) A method for implementing foreground data configuration in network management system
EA003156B1 (en) System and method for updating a remote database in a network
CN106407214A (en) Distributed storage method and system
US7251670B1 (en) Methods and apparatus for replicating a catalog in a content distribution network
US5504906A (en) Managing structured objects using global definitions
CN113120039B (en) Automatic acquisition method for operation diagram file compatible with single-computer and double-computer operation scenes

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
ASS Succession or assignment of patent right

Owner name: HONGHAI PRECISIVE INDUSTRY STOCK-SHARING CO., LTD.

Free format text: FORMER OWNER: FOXCONN PRECISION INDUSTRY (WUHAN) CO., LTD.

Effective date: 20120914

Free format text: FORMER OWNER: HONGHAI PRECISIVE INDUSTRY STOCK-SHARING CO., LTD.

Effective date: 20120914

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518109 SHENZHEN, GUANGDONG PROVINCE TO: TAIWAN, CHINA

TR01 Transfer of patent right

Effective date of registration: 20120914

Address after: China Taiwan New Taipei City Tucheng District No. 66 Zhongshan Road

Patentee after: Hon Hai Precision Industry Co., Ltd.

Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Patentee before: Hongfujin Precise Industry (Shenzhen) Co., Ltd.

Patentee before: Hon Hai Precision Industry Co., Ltd.

ASS Succession or assignment of patent right

Owner name: TORQUE CAPITAL SOLUTIONS LLC

Free format text: FORMER OWNER: HON HAI PRECISION INDUSTRY CO., LTD.

Effective date: 20121127

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20121127

Address after: Delaware

Patentee after: Torque Capital Solutions Ltd

Address before: China Taiwan New Taipei City Tucheng District No. 66 Zhongshan Road

Patentee before: Hon Hai Precision Industry Co., Ltd.

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

Granted publication date: 20060628

Termination date: 20131011