CN1249596C - Non Structured data synchronous system and method - Google Patents

Non Structured data synchronous system and method Download PDF

Info

Publication number
CN1249596C
CN1249596C CN 02134661 CN02134661A CN1249596C CN 1249596 C CN1249596 C CN 1249596C CN 02134661 CN02134661 CN 02134661 CN 02134661 A CN02134661 A CN 02134661A CN 1249596 C CN1249596 C CN 1249596C
Authority
CN
China
Prior art keywords
branch node
data
unstructured data
server
summary info
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.)
Expired - Fee Related
Application number
CN 02134661
Other languages
Chinese (zh)
Other versions
CN1480858A (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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co 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 02134661 priority Critical patent/CN1249596C/en
Publication of CN1480858A publication Critical patent/CN1480858A/en
Application granted granted Critical
Publication of CN1249596C publication Critical patent/CN1249596C/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 present invention relates to an unstructured data synchronous system and a method thereof. A structured data base is used for storing unstructured data summary information and synchronizing the summary information firstly, and then, synchronous operation of unstructured data is carried out according to requirements. In this way, the real-time synchronization of the unstructured data is realized under the condition of little traffic. The method comprises the steps that unstructured data summary information tables are synchronized among data base servers of a plurality of branch nodes; the first branch node sends a synchronous request message to the second branch node at which unstructured data is stored; the second branch node receives the synchronous request message and delivers the latest version of the unstructured data to the first branch node; the second branch node stores the information in the synchronous process to the summary information table in the data base server of the second branch node.

Description

Non Structured data synchronous system and method
[technical field]
The present invention relates to a kind of data synchronous system and method, particularly a kind of non Structured data synchronous system and method for two step of the utilization method of synchronization.
[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 all over the world, and information need be shared with combination process by various places branch offices.Therefore, how its information is carried out management and control,, become an important component part of such enterprise operation to realize sharing of Enterprise Resource.And the development of infotech makes the data access stride mechanism, cross-region become possibility with cooperating.At present, for efficient that improves data access and the loss that reduces fault, enterprise generally adopts distributed.
Distributed is meant data storage, the management system that physical space is disperseed, linked together by network in logic, and in this system, the user can use the data of remote storage area as the data of visit local storage.As on June 12nd, 2002 disclosed publication number be the Chinese patent of CN1353836 by name " file management method in the distributed environment and system ", this patent is provided with file controller in each client, management local file and Control Network message exchange, and first index of generation include file memory location is with the sign network information.When certain client is carried out file access, obtain file storage location the user, and file copy is arrived the local terminal, revise first index information simultaneously by first index.This patent has solved particular terminal load centralization and file and has upgraded synchronous problem, but this system exists problems such as client data repeated storage, synchronizing process traffic are big, client operation complexity.
[summary of the invention]
The invention provides a kind of non Structured data synchronous system and method, data sync operation and client are isolated, thereby solved the client operation complicated problems.The present invention adopts two step synchronizing processes in addition, has solved the bigger problem of unstructured data synchronizing process traffic.
System of the present invention comprises some branch nodes and the network that these branch nodes are linked to each other.Branch node comprises a database server, a ftp server and plurality of client end.Database server comprises a summary info table, and the summary info table in this summary info table and other branch node database server keeps synchronously.Ftp server is used to store unstructured data, and can carry out the transmission and the reception of unstructured data with the ftp server of other branch node.Client comprises a Client Agent program, and this Client Agent program comprises a database manipulation module, user's operational module and a file operation module.Wherein file operation module is connected with ftp server, is used for sending the file transfer order to ftp server; The database manipulation module links to each other with database server, be used for to the data of database server inquire about, renewal and deletion action; User's operational module links to each other with file operation module and database manipulation module respectively, for the user provides operation interface.
This invention also provides a kind of unstructured data method for synchronous.The method includes the steps of: (a) synchronous unstructured data summary info between the database server of some branch nodes; (b) user's operational module of first branch node receives the user's data operation requests, and this request is sent to the database server of this first branch node; (c) summary info of the database server of first branch node search subscriber request msg in the summary info table, and Search Results is sent to the file operation module; (d) the file operation module is judged user request information latest edition position, if the latest edition of these data, shows then that the latest edition of these data is to user, EO at the ftp server of this first branch node; If at the ftp server of this first branch node, then the ftp server of first branch node does not send second branch node of synchronization request message to unstructured data latest edition place to the latest edition of these data; (e) second branch node receives synchronization request message, and the unstructured data latest edition is sent to first branch node, and user's operational module of first branch node shows the user with the latest edition of this unstructured data; (f) second branch node is with the summary info table of synchronizing process information stores to this second branch node database server.
By the present invention, realized under the less relatively situation of traffic unstructured data synchronously in real time, and made things convenient for the operation of client.
[description of drawings]
Fig. 1 is the enforcement environment map of non Structured data synchronous system of the present invention and method.
Fig. 2 is the branch node Organization Chart of non Structured data synchronous system of the present invention and method.
Fig. 3 is the host node Organization Chart of non Structured data synchronous system of the present invention and method.
Fig. 4 is the summary info table of unstructured data in the database server of non Structured data synchronous system of the present invention and method.
Fig. 5 is that the client of non Structured data synchronous system of the present invention and method reads the unstructured data process flow diagram.
Fig. 6 is that the unstructured data of non Structured data synchronous system of the present invention and method duplicates process flow diagram.
[embodiment]
As shown in Figure 1, be the enforcement environment map of non Structured data synchronous system of the present invention and method.This system is made up of the enterprise information system node that is dispersed in diverse geographic location, specifically comprises a host node 110 and some branch nodes 120,130 (only drawing among the figure two).These nodes link to each other by intranet 140, and all adopt three layers of (or multilayer) structure: a database server (113,123 or 133), an application server system (112,122 or 132), and distributed client (111,121 or 131).To be example below, introduce the composition of each node with host node 110.
Host node 110 comprises a database server 113, one application server systems 112 and plurality of client end 111 (only drawing among the figure one).Database server 113 is used to store all relevant structural datas of enterprise, and is in charge of read-write and maintenance to database, can carry out the renewal and the retrieval of mass data rapidly.Application server system 112 has comprised core and business logic mutability (planning, How It Works, management mode etc.) in the enterprise information system, and its function is to receive input, handles and return results.Client 111 is user interfaces of system applies, be responsible for to receive user's input and to user's display systems result.The composition structure of branch node 120,130 is identical with host node 110.
Fig. 2 is branch node 120 structural drawing of non Structured data synchronous system of the present invention and method.The client 121 of branch node 120 comprises a Client Agent program 201, is used for the system operation encapsulation, and system operation is separated with user's operation, has simplified user's operation.This Client Agent program 201 comprises user's operational module 202, a database manipulation module 203 and a file operation module 205.The application server system 122 of branch node 120 comprises a FTP (File Transfer Protocol) server 207 and an apps server 209.
(Graphical UserInterface GUI), makes things convenient for the user to import to user's operational module 202 for the user provides a graphical user interface.This user's operational module 202 links to each other with database manipulation module 203 and file operation module 205, and system is showed the user to the operating result of ftp server 207 and database server 123.File operation module 205 is connected with ftp server 207, is used for sending operational order to file to ftp server 207, and this order comprises File Open, closes, edits, uploads, downloads, deletes, changes and increases or operation such as the folder that deltrees.File operation module 205 also links to each other with database manipulation module 203, is used for the data that process database operations module 203 transmits.Database manipulation module 203 links to each other with apps server 209, is used for generating the data of database server 123 are inquired about, upgraded and operational order such as deletion.Database manipulation module 203 also is responsible for the operating result of database server 123 is sent to file operation module 205.
Ftp server 207 is used to store unstructured data, as document, image, sound and image etc.This ftp server 207 links to each other with intranet 140, can carry out file transfer operation by the ftp server of intranet 140 and other node.Apps server 209 is used to connect client 121 and database server 123, the database manipulation order of the database manipulation module 203 of client 121 is passed to database server 123 carries out, and send database server 123 execution results to database manipulation module 203.
Database server 123 has been stored the summary info of the unstructured data (as sound, image, document and image) of enterprise, and this summary info comprises information such as numbering, title, memory location and catalogue, the update date of unstructured data.The summary info timing of the unstructured data in this database server 123 is synchronous with the unstructured data summary info in the database server 113 of host node 110.
Fig. 3 is host node 110 structural drawing of non Structured data synchronous system of the present invention and method.The client 111 of host node 110 and the function of database server 113 and composition and structure and branch node 120 identical (see figure 2)s.
The application server system 112 of host node 110 comprises a ftp server 309 and an apps server 310.Ftp server 309 is used to store unstructured data, comprises document, image, sound and image etc.This ftp server 309 links to each other with intranet 140, can carry out file transfer operation by the ftp server of intranet 140 and other branch node.Apps server 310 is control centers of this data synchronous system, comprises a synchronous control module 313, a file transfer control module 311 and a database link block 315.Synchronization control module 313 is used to control the execution of synchronous operation, links to each other with file transfer control module 311 and database link block 315.This synchronization control module 313 can generate some synchronous operation orders according to synchronization request, and these synchronous operation orders comprise data transfer command and upgrade database command, and send a command to file transfer control module 311 and 315 execution of database link block.File transfer control module 311 can receive the synchronization request of ftp server 309 and this request is sent to synchronization control module 313 to generate synchronous control command.Simultaneously, file transfer control module 311 also is responsible for understanding the synch command of synchronization control module 313, and this synch command is compiled as ftp server 309 executable instructions.Database link block 315 can be carried out the database update order of synchronization control module 313, with information updatings such as data synchronization information such as unstructured data position, update times.
Fig. 4 is the middle unstructured data summary info table 400 of the database server 113 (or 213,313) of non Structured data synchronous system of the present invention and method.This summary info table 400 comprises data number 401, data header 403, Data Position 405, data directory 407 and update time 409.Wherein, data number 401 is corresponding unstructured data unified numberings in enterprise information system, and each unstructured data has and only have a unique numbering.Data header 403 is titles of unstructured data, and it can briefly describe the content of this unstructured data.Data Position 405 is FTP of storage unstructured data) the IP address of server, as 10.153.24.126.Data directory 407 is unstructured data catalogues at ftp server.Be the last concrete time to the unstructured data operation update time 409.Summary info table 400 timing in the database server 123 (or 133) of branch node 120 (or 130) is synchronous with the summary info table 400 in the database server 113 of host node 110.For example, can in the database server 113 of host node 113, set the synchronizing step of carrying out a summary info table 400 in per three minutes.
Fig. 5 is that the client 121 of non Structured data synchronous system of the present invention and method reads the unstructured data process flow diagram.At first, the user passes through the GUI of user's operational module 202 to the operation requests (step S501) of system's transmission to a unstructured data, and this operation can be for reading or edit this unstructured data, the corresponding unique number of this unstructured data.Database manipulation module 203 is compiled as query sentence of database with this request, and is sent to database server 123 via apps server 209.Database server 123 is carried out this query statement, inquiry qualified list item (step S503) in data number 401 hurdles of unstructured data summary info table 400.Then, database server 123 is sent to file operation module 205 with the qualified tabular of data number.
File operation module 205 reads the tabular message, and Data Position 405 hurdles (step S505) of search summary info table 400 tabular.If in this hurdle, there is not the IP address of the ftp server 207 of this node 120, represent that then this unstructured data is not at this node, then file operation module 205 is sent the data synchronization request message via ftp server 207 to the synchronization control module 313 of host node 110, this data synchronization request message only contains data number (step S507), and this step will be described in detail at Fig. 6.If there are this data this locality, promptly there is the IP address of the ftp server 207 of this node 120 on Data Position 405 hurdles, and then file operation module 205 further compares hurdle 409 (the step S509) update time of summary info table 400 tabular.If the update date of the tabular of the IP address of corresponding ftp server 207 is early than the update date of all the other arbitrary tabulars, promptly the latest edition of these data is at this node 120, then execution in step S507.If the latest edition of data is in the ftp server 207 of this node 120, then file operation module 205 directly is shown to user (step S511) with these data.
Fig. 6 is that the unstructured data of non Structured data synchronous system of the present invention and method duplicates process flow diagram.The synchronizing process that hereinafter exemplifies branch node 120 and host node 110 describes.At first, the ftp server 309 of host node 110 receives the data synchronization request message (step S601) of ftp server 207 transmissions of branch node 120.This data synchronization request is sent to synchronization control module 313 via file transfer control module 311.Synchronization control module 313 is by data number in the data query synchronization request in the summary info table 400 of database link block 315 in database server 113, and the Query Result tabular is sent back synchronization control module 313 (step S603).
Synchronization control module 313 according to 405 hurdles of the Data Position in the summary info table 400 and update times 409 hurdle judge this data latest edition position (step S605).If the data latest edition is not in the ftp server 309 of host node 110, then synchronization control module 313 sends data download command to file transfer control module 311, this data download command comprises the numbering of data, position and catalogue, file transfer control module 311 is compiled into the download instruction that ftp server 309 can directly be carried out with this download command, and be sent to ftp server 309, ftp server 309 is carried out download instruction, download unstructured data latest edition (step S607) from the ftp server of data latest edition place node (as branch node 130), generate a response message simultaneously, whether notice synchronization control module 313 judgment data have downloaded success (step S608), if the data failed download then returns step S603.If the data latest edition is on the ftp server 309 of host node 110, then synchronization control module 313 generates a data upload order, and this order is sent to file transfer control module 311, data upload instruction through 311 compilings of file transmission control module is carried out by ftp server 309, and corresponding data is transferred into the ftp server 207 (step S609) of former requesting node 120.Judge that file uploads whether success (step S611).If file is uploaded success, ftp server 309 is uploaded success message with one and is returned synchronization control module 313 (step S613) via file transfer control module 311, and synchronization control module 313 will be revised the summary message table 400 in the database server 113.If file is uploaded failure, then return step S601.

Claims (11)

1. non Structured data synchronous system, this system comprises some branch nodes and the network that these branch nodes are linked to each other, and branch node comprises a database server, and a ftp server and plurality of client end is characterized in that:
Database server comprises a summary info table, and the summary info table in the database server of this summary info table and other branch node keeps synchronously;
Ftp server is used to store unstructured data, and can carry out the transmission and the reception of unstructured data with the ftp server of other branch node;
Client comprises a Client Agent program, and this Client Agent program comprises a database manipulation module, user's operational module and a file operation module, wherein:
The file operation module is connected with ftp server, is used for sending file to ftp server and passes
Defeated order;
The database manipulation module links to each other with database server, is used for database server
Data are inquired about, renewal and deletion action;
User's operational module links to each other with file operation module and database manipulation module respectively, for making
Provide operation interface with the person.
2. non Structured data synchronous system as claimed in claim 1 is characterized in that, wherein the summary info table comprises numbering, memory location, the update time of unstructured data.
3. non Structured data synchronous system as claimed in claim 1 is characterized in that, wherein the unstructured data of storing in the server of FTP storehouse is document, image, sound and image data.
4. non Structured data synchronous system as claimed in claim 1 is characterized in that, wherein carrying out for timing synchronously between the summary info table in the branch node database server.
5. unstructured data method for synchronous is characterized in that this method may further comprise the steps:
(a) synchronous unstructured data summary info table between the database server of some branch nodes;
(b) first branch node sends second branch node of synchronization request message to the unstructured data place;
(c) second branch node receives synchronization request message, and the unstructured data latest edition is sent to first branch node, and user's operational module of first branch node shows the user with this unstructured data latest edition;
(d) second branch node is with the summary info table of synchronizing process information stores to the database server of this second branch node.
6. non Structured data synchronous system as claimed in claim 5 is characterized in that, wherein the summary info table comprises numbering, memory location, the update time of unstructured data.
7. non Structured data synchronous system as claimed in claim 5 is characterized in that, wherein carrying out for timing synchronously in the step (a).
8. non Structured data synchronous system as claimed in claim 5 is characterized in that, wherein step (b) may further comprise the steps:
(b1) user's operational module of first branch node receives the user's data operation requests, and this request is sent to the database server of this first branch node;
(b2) data of the database server of first branch node search subscriber request in the summary info table, and Search Results is sent to the file operation module;
(b3) the file operation module is judged the latest edition position of user's request msg;
(i) if the latest edition of these data at the ftp server of this first branch node, then beat
Open the latest edition of these data, EO;
(ii) if the latest edition of these data not at the ftp server of this first branch node, then
The ftp server of first branch node sends synchronization request message to the unstructured data place
Second branch node.
9. unstructured data method for synchronous is characterized in that this method may further comprise the steps:
(a) summary info of synchronous unstructured data between the database server of some branch nodes;
(b) user's operational module receiving subscriber data operation requests of first branch node, and this request is sent to the database server of this first branch node;
(c) database server of first branch node search subscriber request msg in the summary info table, and Search Results is sent to the file operation module;
(d) the file operation module is judged user's request msg latest edition position;
(i) as if the ftp server of this data latest edition, then open at this first branch node
The latest edition of these data, EO;
(ii) if the latest edition of these data not at the ftp server of this first branch node, then
The ftp server of first branch node sends synchronization request message to the unstructured data latest edition
Second branch node at this place;
(e) second branch node receives synchronization request message, and the unstructured data latest edition is sent to first branch node, and user's operational module of first branch node shows the user with the latest edition of this unstructured data;
(f) second branch node is with the information stores of the synchronizing process summary info table to the database server of this second branch node.
10. unstructured data method for synchronous as claimed in claim 9 is characterized in that, wherein the summary info table comprises numbering, memory location, the update time of unstructured data.
11. unstructured data method for synchronous as claimed in claim 9 is characterized in that, wherein carrying out for timing synchronously in the step (a).
CN 02134661 2002-09-03 2002-09-03 Non Structured data synchronous system and method Expired - Fee Related CN1249596C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02134661 CN1249596C (en) 2002-09-03 2002-09-03 Non Structured data synchronous system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02134661 CN1249596C (en) 2002-09-03 2002-09-03 Non Structured data synchronous system and method

Publications (2)

Publication Number Publication Date
CN1480858A CN1480858A (en) 2004-03-10
CN1249596C true CN1249596C (en) 2006-04-05

Family

ID=34145899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02134661 Expired - Fee Related CN1249596C (en) 2002-09-03 2002-09-03 Non Structured data synchronous system and method

Country Status (1)

Country Link
CN (1) CN1249596C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064630B (en) * 2006-04-24 2011-09-21 华为技术有限公司 Data synchronization method and system
CN101477537A (en) * 2008-12-31 2009-07-08 北京思在信息技术有限责任公司 Method and device for updating abstract structure
CN102427466A (en) * 2011-08-24 2012-04-25 厦门雅迅网络股份有限公司 Long-distance updating system and long-distance software automatic updating method based on same
CN103092891B (en) * 2011-11-08 2016-01-27 中国移动通信集团四川有限公司 Distributed file storage system and its implementation
CN103117883B (en) * 2013-03-20 2015-09-16 烽火通信科技股份有限公司 A kind of packet equipment running status synchronous method
CN103475721B (en) * 2013-09-12 2016-09-14 广东电子工业研究院有限公司 A kind of digital asset updates the digital asset update method of system
CN104834292A (en) * 2015-04-27 2015-08-12 北京华泰诺安科技有限公司 Nuclear-biological-chemical monitoring data synchronization method
CN106603687B (en) * 2016-12-23 2019-03-12 中科星图股份有限公司 Unstructured data transmission method between a kind of multi-user's node
CN111832263B (en) * 2019-04-15 2024-04-02 北京智启蓝墨信息技术有限公司 Editing method and device for intelligent teaching materials

Also Published As

Publication number Publication date
CN1480858A (en) 2004-03-10

Similar Documents

Publication Publication Date Title
CN1249597C (en) Synchronous system in distributed files and method
JP4405812B2 (en) Method and apparatus for synchronizing between a first data storage unit and a second data storage unit
JP3968119B2 (en) Inter-cache information transfer method
US7584174B2 (en) Update dependency control for multi-master replication
US20070156774A1 (en) Multi-Tier Document Management System
CN1695146A (en) System and method for using portals by mobile devices in a disconnected mode
CN1249596C (en) Non Structured data synchronous system and method
CN1745559A (en) System and method for synchronisation of data between service portals and access platforms for services using such a synchronisation system
CN106407214A (en) Distributed storage method and system
CN101741696A (en) Multi-user real-time cooperative system in distributed geographic information environment
JP2001522074A (en) Communication system and method
US20030187957A1 (en) Automatic data download system and method
US6199111B1 (en) Client-led network computing system and its method
TWI236253B (en) System and method for synchronizing data
WO2010053633A1 (en) Method and systems for caching objects in a computer system
CN1893422A (en) Distribution type data transmission method based on internetwork standard
JPH04232563A (en) Document controlling method
CN1968281A (en) Method for word library data synchronization between terminals and terminal thereof
CN103491137A (en) Data synchronizing system and data synchronizing method
CA2547324A1 (en) Distributed knowledge management system
CN1472911A (en) Wireless facility synchronizing system and method
CN1617139A (en) Electronic sending file synchronous system and method
CN101207507A (en) System for managing mobile terminal capability information
US7313603B2 (en) System and method for synchronizing unstructured documents
US5615372A (en) Network definition modifying system

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060405

Termination date: 20150903

EXPY Termination of patent right or utility model