CN101201769B - Synchronous system and method for multiple equipment document - Google Patents

Synchronous system and method for multiple equipment document Download PDF

Info

Publication number
CN101201769B
CN101201769B CN2006101651062A CN200610165106A CN101201769B CN 101201769 B CN101201769 B CN 101201769B CN 2006101651062 A CN2006101651062 A CN 2006101651062A CN 200610165106 A CN200610165106 A CN 200610165106A CN 101201769 B CN101201769 B CN 101201769B
Authority
CN
China
Prior art keywords
synchronization
synchronizer
synchronizers
control devices
synchronous
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
CN2006101651062A
Other languages
Chinese (zh)
Other versions
CN101201769A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2006101651062A priority Critical patent/CN101201769B/en
Publication of CN101201769A publication Critical patent/CN101201769A/en
Application granted granted Critical
Publication of CN101201769B publication Critical patent/CN101201769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a multidevice synchronization system and comprises a synchronization control device which is provided with the following parts: a list of synchronized devices that is used for storing synchronized devices related to the synchronization control device; a mapping table of synchronization relationships that is used for storing mapping relationships among synchronized devices and synchronized objects; and at least two synchronized devices, and each synchronized device has a data synchronization engine which is used for processing normal data synchronization functions; and a synchronized data storage that is used for storing the smallest logic synchronization unit; a mapping table of synchronized objects that is used for describing synchronization mapping relationships among synchronized objects of one synchronized device and other synchronized devices.

Description

Multiple device file synchro system and method
Technical field
The present invention relates to reciprocity simultaneous techniques, more specifically, relate to a kind of multiple device file synchro system and synchronized relation method for building up thereof, method for synchronous, uplink synchronous orientation method and down-going synchronous orientation method.
Background technology
In order to prevent that palm PC data accident from losing, need on desktop computer or notebook computer, the data to palm PC back up just so-called data sync usually.Set up corresponding relation exactly between the target data of two equipment, whether the frequent comparing data of data sync program source is identical with target data, as finds variantly, promptly begins synchronous operation, and data finally are consistent.
Present synchronistic model adopts client/server model more, and sync client and concrete server tight binding, this synchronistic model only need be managed two data correspondence and synchronized relations between the equipment.
But the development of the reinforcement of personal computing devices ability and equity (Peer to Peer) technology, each equipment can be as a separate carrier, and under concrete environment, they often no longer play the part of single role.Such as, under present office environment, each user can be the publisher and the take over party of data, show on the equipment be exactly each computing machine both might be data synchronization server, also might be sync client.Therefore, the situation of a plurality of servers and a plurality of client coexistence just might occur in an intraoffice network environment, each server need be responsible for a plurality of clients, and each client needs to preserve the synchrodata of a plurality of servers.In addition, each data may be on different server.
Under this environment, traditional synchronistic model seems and needs some stiff and inefficiency a kind of new synchronistic model and handle this multi-to-multi synchronous architecture.
Summary of the invention
The present invention is different from existing synchronistic model, a kind of reciprocity synchronistic model has been proposed, and it is control section and synchronized relation map information is independent under original server and client side, so just allow that the user can be on any apparatus operate (set up synchronized relation, start configuration synchronously) to synchronisation source and sync client, thus between many equipment can carry out freely mating synchronously provide the foundation.
According to first scheme of the present invention, a kind of many device synchronization system has been proposed, comprising: Synchronizing Control Devices has: the synchronizer tabulation is used to store the synchronizer relevant with this Synchronizing Control Devices; The synchronized relation mapping table is used to store the mapping relations between each synchronizer, between each synchronization object; And at least two synchronizers, each synchronizer all has: data synchronization engine, be responsible for handling common data sync function; Synchronize data stores is used to store synchronous minimum logic unit; The synchronization object mapping table is used to describe out the synchronization map relation between the synchronization object of each synchronization object of this synchronizer and other synchronizer.
According to alternative plan of the present invention, a kind of synchronized relation method for building up that is used for above-mentioned many device synchronization system has been proposed, may further comprise the steps: Synchronizing Control Devices finds the information of at least two synchronizers relevant with the synchronous flow process that is about to initiate by storage synchronizer tabulation thereon, described at least two synchronizers that exist on the Network Search, and connect with it; And detect when not having the synchronization object mapping table between described at least two synchronizers when Synchronizing Control Devices, control it and set up the synchronization object mapping relations.
Preferably, described synchronized relation method for building up also comprises: Synchronizing Control Devices can be made amendment to the synchronization map relation of synchronizer at any time.
According to third party's case of the present invention, a kind of method for synchronous that is used for above-mentioned many device synchronization system has been proposed, may further comprise the steps: Synchronizing Control Devices finds the information of at least two synchronizers relevant with the synchronous flow process that is about to initiate by storage synchronizer tabulation thereon, described at least two synchronizers that exist on the Network Search, and connect with it; When Synchronizing Control Devices detects when having the synchronization object mapping table between described two synchronizers at least, read the synchronization object mapping table on described at least two synchronizers; The network that Synchronizing Control Devices is set up between described two synchronizers at least connects, and starts synchronized process according to the corresponding relation in the synchronization object mapping table; And described at least two synchronizers carry out normal synchronizing process.
Preferably, described method for synchronous also comprises: the various information in the Synchronizing Control Devices display synchronization process.
Preferably, the various information in the described synchronizing process comprise at least one in error reporting and the synchronous regime report.
According to cubic case of the present invention, a kind of uplink synchronous orientation method that is used for above-mentioned many device synchronization system has been proposed, may further comprise the steps: the synchronization map that opens on the beginning synchronizer concerns along synchronous inheritance, one tunnel backtracking object synchronization equipment, described object synchronization equipment are the movable synchronizer of top in the synchronization link; Set up the synchronization map relation between beginning synchronizer and the object synchronization equipment opening; And deletion initial synchronisation mapping relations.
According to the 5th scheme of the present invention, proposed a kind of down-going synchronous orientation method that is used for above-mentioned many device synchronization system, may further comprise the steps: service synchronization equipment open the beginning synchronizer with another and service synchronization equipment finish and set up synchronization map between the synchronous synchronizer and concern; And deletion initial synchronisation mapping relations.
The invention has the advantages that and introduced third party's Synchronizing Control Devices, by the adding of this equipment:
1. can allow the user on any authorisation device, the synchronous flow process between any two equipment in the control home network (synchronized relation foundation, day process control synchronously etc.).
2. under multiserver multi-client network environment, can realize the preceding consultation of connection of synchronizer at an easy rate, guarantee the dynamic pairing between the synchronizer.
Description of drawings
Below with reference to accompanying drawings, the preferred embodiments of the present invention are described in detail, wherein:
Fig. 1 shows the block scheme according to many device synchronization system of the embodiment of the invention.
Fig. 2 a and 2b show the key diagram according to the uplink synchronous orientation of the embodiment of the invention.
Fig. 2 c and 2d show the key diagram according to the down-going synchronous orientation of the embodiment of the invention.
Embodiment
Below in conjunction with description of drawings the specific embodiment of the present invention.Be noted that described embodiment only is for illustrative purposes, rather than limitation of the scope of the invention.Described various numerical value is not to be used to limit the present invention, and these numerical value can carry out any suitable modification according to those of ordinary skills' needs.
The present invention improves existing synchronistic model, to support the multi-to-multi synchronous architecture better.Under this framework:
1, breaks original client/server model, outside synchronous client device and server end equipment, increased the logical device of a synchro control in addition, formed many device synchronization model of three new equipment systems.
2, be used for synchro control logical device introducing with synchronous corresponding relation set up, back work synchronously such as synchronisation conduit foundation separates from original capacity of equipment, and sync client and service end only need be concerned about the Data Update problem.
3, the present invention allows the user on any authorisation device, the synchronous flow process between any two equipment in the control home network (synchronized relation foundation, day process control synchronously etc.).Under multiserver multi-client network environment, the present invention can realize the preceding consultation of the connection of synchronizer at an easy rate, guarantees the dynamic pairing between the synchronizer.
Fig. 1 shows the block scheme according to many device synchronization system of the embodiment of the invention.
As shown in Figure 1, many device synchronization of the present invention system comprises: synchronizer 100, synchronizer 200 and Synchronizing Control Devices 300.In this structure, each equipment is logical device, and Synchronizing Control Devices 300 can be on the same physical equipment with synchronizer 100 or synchronizer 200, also can be in separately on the other physical equipment.
Synchronizer 100 comprises: data synchronization engine 101, be responsible for handling common data sync function, and comprise module (not shown) such as synchronization engine, sync client engine, synchronization server engine; Synchronize data stores 102 is used to store synchronous minimum logic unit; Synchronization object mapping table 103 is used to describe out the synchronization map relation between the synchronization object of each synchronization object of this equipment 100 and other synchronizer.
Synchronizer 200 comprises: data synchronization engine 201, be responsible for handling common data sync function, and comprise module (not shown) such as synchronization engine, sync client engine, synchronization server engine; Synchronize data stores 202 is used to store synchronous minimum logic unit; Synchronization object mapping table 203 is used to describe out the synchronization map relation between the synchronization object of each synchronization object of this equipment 200 and other synchronizer.
Synchronizing Control Devices 300 comprises: synchronizer tabulation 301, be used to store the synchronizer (for example, synchronizer 100 and 200) relevant with this opertaing device 300, and can adopt the form of tabulation usually; Synchronized relation mapping table 302 is used to store between each synchronizer, the mapping relations between each synchronization object (smallest synchronization unit).
Many device synchronization system of three equipment systems of the present invention mainly comprises two flow processs, is respectively synchronized relation and sets up flow process and synchronous flow process.Below, respectively these two main flow processs are described in detail.
Synchronized relation is set up flow process and is meant that Synchronizing Control Devices 300 control synchronizers 100 and 200 set up the flow process of synchronized relation, mainly may further comprise the steps:
1. Synchronizing Control Devices 300 finds synchronizer 100 relevant with the synchronous flow process that is about to initiation and 200 information by storage synchronizer tabulation 301 thereon, the synchronizer 100 and 200 that exists on the Network Search, and connect with it;
2. detect when not having synchronization object mapping table 103 and 203 between two Be Controlled synchronizers 100 and 200 when Synchronizing Control Devices 300, then control them and set up the synchronization object mapping relations, promptly set up the corresponding entry in synchronization object mapping table 103 and 203;
3. Synchronizing Control Devices 300 can be made amendment to the synchronization map relation of Be Controlled synchronizer 100 and 200 at any time.
Flow process is meant that Synchronizing Control Devices 300 control synchronizers 100 and 200 carry out synchronous flow process, mainly may further comprise the steps synchronously:
1. Synchronizing Control Devices 300 finds synchronizer 100 relevant with the synchronous flow process that is about to initiation and 200 information by storage synchronizer tabulation 301 thereon, the synchronizer 100 and 200 that exists on the Network Search, and connect with it;
2. detect when having synchronization object mapping table 103 and 203 between Be Controlled synchronizer 100 and 200 when Synchronizing Control Devices 300, read the synchronization object mapping table 103 and 203 on synchronizer 100 and 200;
3. Synchronizing Control Devices 300 is set up Be Controlled synchronizer 100 and is connected with 200 network, and starts synchronized process according to the corresponding relation in synchronization object mapping table 103 and 203;
4. Be Controlled synchronizer 100 and 200 carry out normal synchronizing process;
5. the various information of Synchronizing Control Devices 300 in can the display synchronization process are as error reporting, synchronous regime report etc.
Data Update between the synchronizer 100 and 200 is not in the range of control of third party's Synchronizing Control Devices 300.
Synchronization object self-organization coupling:
If the synchronous local synchronization object of ■ client-requested has synchronous higher level, then can be according to client demand, synchronization object and higher level's synchronization object of this client connected, be called the uplink synchronous orientation.
If this apparatus of load of ■ is overweight, then the part synchronization object has been redirected to and has controlled oneself and finished certain synchronous subordinate's synchronizer, be called the down-going synchronous orientation.
■ revises local synchronization object mapping table according to the consultation result.
Shown in Fig. 2 a and 2b, in the uplink synchronous orientation process, the synchronization map relation that opens on the beginning equipment will be along synchronous inheritance, one the road recalls destination node (destination node is the vehicular equipment of top in the synchronization link), set up synchronization map relation between beginning equipment and the target device, deletion initial mapping relation opening then.
Shown in Fig. 2 c and 2d, in the down-going synchronous orientation process,, then opening beginning equipment and a certain having finished set up synchronization map relation between the synchronizer, deletion initial mapping relation if service equipment is because load is overweight.
It should be noted last that: above embodiment is the unrestricted technical scheme of the present invention in order to explanation only, although the present invention is had been described in detail with reference to the foregoing description, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement the present invention, and not breaking away from any modification or partial replacement of the spirit and scope of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (6)

1. synchronized relation method for building up that is used for many device synchronization system, described many device synchronization system comprises: Synchronizing Control Devices and at least two synchronizers,
Described Synchronizing Control Devices has: the synchronizer tabulation is used to store the synchronizer relevant with this Synchronizing Control Devices; With the synchronized relation mapping table, be used to store the mapping relations between each synchronizer, between each synchronization object; And
Each synchronizer all has: data synchronization engine, be responsible for handling common data sync function; Synchronize data stores is used to store synchronous minimum logic unit; With the synchronization object mapping table, be used to describe out the synchronization map relation between the synchronization object of each synchronization object of this synchronizer and other synchronizer,
Described synchronized relation method for building up may further comprise the steps:
Synchronizing Control Devices finds the information of at least two synchronizers relevant with the synchronous flow process that is about to initiate by storage synchronizer tabulation thereon, described at least two synchronizers that exist on the Network Search, and connect with described at least two synchronizers; And
When Synchronizing Control Devices detects when not having the synchronization object mapping table between described two synchronizers at least, described at least two synchronizers of Synchronizing Control Devices control are set up the synchronization object mapping relations,
It is characterized in that described at least two synchronizers comprise: open the beginning synchronizer and be requested synchronizer, and have under the situation of higher level's synchronization object at the local synchronization object that is requested synchronizer, described synchronized relation method for building up also comprises:
The synchronization map that opens on the beginning synchronizer concerns that one the road recalls object synchronization equipment along synchronous inheritance, and described object synchronization equipment is the movable synchronizer of top in the synchronization link;
Set up the synchronization map relation between beginning synchronizer and the object synchronization equipment opening; And
Deletion initial synchronisation mapping relations.
2. synchronized relation method for building up according to claim 1 is characterized in that also comprising: Synchronizing Control Devices can be made amendment to the synchronization map relation of synchronizer at any time.
3. synchronized relation method for building up according to claim 1 and 2 is characterized in that
Under the overweight situation of service synchronization apparatus of load, described synchronized relation method for building up also comprises:
Service synchronization equipment open the beginning synchronizer with another and service synchronization equipment finish and set up synchronization map between the synchronous synchronizer and concern; And
Deletion initial synchronisation mapping relations.
4. the method for synchronous of device synchronization system more than a kind, described many device synchronization system comprises: Synchronizing Control Devices and at least two synchronizers,
Described Synchronizing Control Devices has: the synchronizer tabulation is used to store the synchronizer relevant with this Synchronizing Control Devices; With the synchronized relation mapping table, be used to store the mapping relations between each synchronizer, between each synchronization object; And
Each synchronizer all has: data synchronization engine, be responsible for handling common data sync function; Synchronize data stores is used to store synchronous minimum logic unit; With the synchronization object mapping table, be used to describe out the synchronization map relation between the synchronization object of each synchronization object of this synchronizer and other synchronizer, described method for synchronous may further comprise the steps:
Synchronizing Control Devices finds the information of at least two synchronizers relevant with the synchronous flow process that is about to initiate by storage synchronizer tabulation thereon, described at least two synchronizers that exist on the Network Search, and connect with described at least two synchronizers;
When Synchronizing Control Devices detects when having the synchronization object mapping table between described two synchronizers at least, Synchronizing Control Devices reads the synchronization object mapping table on described at least two synchronizers;
The network that Synchronizing Control Devices is set up between described two synchronizers at least connects, and starts synchronized process according to the corresponding relation in the synchronization object mapping table; And
Described at least two synchronizers carry out normal synchronizing process,
Corresponding relation in the wherein said synchronization object mapping table is according to setting up according to the described synchronized relation method for building up of one of claim 1~3.
5. method for synchronous according to claim 4 is characterized in that also comprising: the various information in the Synchronizing Control Devices display synchronization process.
6. method for synchronous according to claim 5 is characterized in that various information in the described synchronizing process comprise at least one in error reporting and the synchronous regime report.
CN2006101651062A 2006-12-13 2006-12-13 Synchronous system and method for multiple equipment document Active CN101201769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101651062A CN101201769B (en) 2006-12-13 2006-12-13 Synchronous system and method for multiple equipment document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101651062A CN101201769B (en) 2006-12-13 2006-12-13 Synchronous system and method for multiple equipment document

Publications (2)

Publication Number Publication Date
CN101201769A CN101201769A (en) 2008-06-18
CN101201769B true CN101201769B (en) 2011-04-27

Family

ID=39516944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101651062A Active CN101201769B (en) 2006-12-13 2006-12-13 Synchronous system and method for multiple equipment document

Country Status (1)

Country Link
CN (1) CN101201769B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263798B (en) * 2010-05-25 2013-11-20 中国移动通信集团甘肃有限公司 Data synchronization method, device and system for communication systems
CN103106223B (en) * 2011-11-15 2018-03-27 联想(北京)有限公司 A kind of data manipulation method, apparatus and system
CN102945260B (en) * 2012-10-18 2015-12-16 江苏南开之星软件技术有限公司 A kind of collision detection method based on user class file bi-directional synchronization
CN104980455B (en) * 2014-04-02 2019-02-05 腾讯科技(深圳)有限公司 A kind of multiple terminals method of data synchronization based on cloud storage, device and system
CN104506572B (en) * 2014-11-27 2019-08-23 惠州Tcl移动通信有限公司 Synchronous method and intelligent terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1493984A (en) * 2002-11-01 2004-05-05 英业达股份有限公司 Distribution type data synchronous system and its method
CN1529426A (en) * 2003-10-10 2004-09-15 清华大学 SAN dual-node image schooling method and system based on FCP protocol

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1493984A (en) * 2002-11-01 2004-05-05 英业达股份有限公司 Distribution type data synchronous system and its method
CN1529426A (en) * 2003-10-10 2004-09-15 清华大学 SAN dual-node image schooling method and system based on FCP protocol

Also Published As

Publication number Publication date
CN101201769A (en) 2008-06-18

Similar Documents

Publication Publication Date Title
US9697225B2 (en) Method for synchronizing file
CN101426026B (en) Method and system for data synchronization between multiple servers
KR100626894B1 (en) A database system having at least two host databases and a remote database, and a method of synchronizing such databases
CN101567858B (en) Method and system for synchronizing data
CN101551801B (en) Data synchronization method and data synchronization system
CN102054035B (en) Data range-based method for synchronizing data in database
CN101201769B (en) Synchronous system and method for multiple equipment document
CN102098342A (en) Transaction level-based data synchronizing method, device thereof and system thereof
CN100458790C (en) Method and system for access data base
CN105635311A (en) Method for synchronizing resource pool information in cloud management platform
CN102752294A (en) Method and system for synchronizing data of multiple terminals on basis of equipment capacity
CN106611062A (en) Database updating method and device
CN104348793A (en) Storage server system and storage method for data information
CN109614398A (en) The variation and device of table structure in database
CN101997726B (en) Method and device for storing and managing telecommunication network user data
KR101178280B1 (en) File syscronization method and apparatus
CN105812469A (en) Address book synchronization method and device
CN101610225B (en) Method, system and device for synchronous processing
CN102594874A (en) Synchronization processing method and device
CN108595485A (en) A kind of data-updating method and system at Double Data center
CN105723365A (en) Method for optimizing index, master database node and subscriber database node
CN106855869A (en) A kind of methods, devices and systems for realizing database High Availabitity
CN101702159A (en) Index file synchronized method, index server and search system
CN103064929B (en) A kind of method that in NFS, server writes data
CN111124293B (en) Partial replication method in address space conversion algorithm

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