Data synchronizing system and method thereof
AssigneesInventec (Pudong) Technology Corporation, Inventec Corporation
InventorSean Liu
Life of this patent
Estimating the term…
Abstract
A data synchronizing system and a method thereof are provided. One of clients capable of being connected to a synchronizing server may be selected as a synchronization processing client, and after the synchronization processing client is synchronized with all the clients, the synchronization processing client is synchronized with the synchronizing server, so as to achieve the technical efficacy of improving synchronizing convenience of a plurality of clients.
Claims10
A data synchronizing system, comprising:
- a synchronizing server, configured for storing a first synchronization data;
- and
- at least two clients, wherein each client stores a second synchronization data respectively, and each client comprises:
- a detecting module, configured for detecting a state of a connection between a client and the synchronizing server, wherein when the state of the connection between the client and the synchronizing server is a connected state, the client is defined as a connected client;
- a transmitting module, configured for, when the client is a connected client, broadcasting a preset weight message, and receiving a weight message broadcasted by another connected client as a comparison message;
- a selecting module, configured for comparing the weight message with the comparison message, so as to generate a weight sequence list, and selecting a connected client with the highest weight as a synchronization processing client from the weight sequence list;
- and
- a synchronizing module, configured for, when the client is not defined as a synchronization processing client, synchronizing the client with the synchronization processing client according to the second synchronization data;
- when the client is defined as a synchronization processing client and after the client is confirmed to have been synchronized with another client, connecting the client to the synchronizing server, so as to synchronize the synchronization processing client with the synchronizing server according to the first synchronization data;
- and after the synchronization processing client and the synchronizing server have been synchronized, synchronizing the synchronization processing client with all the clients.
A data synchronizing method, applied to a network environment including a synchronizing server and at least two clients, comprising:
- storing first synchronization data by the synchronizing server, and storing second synchronization data respectively by each client;
- detecting a state of a connection between the client and the synchronizing server by the client, wherein when the state of the connection between the client and the synchronizing server is a connected state, the client is defined as a connected client;
- broadcasting a preset weight message when the client is a connected client, and receiving a weight message broadcasted by another connected client as a comparison message when the client is a connected client;
- comparing the weight message with the comparison message by the client, so as to generate a weight sequence list, and selecting a connected client with the highest weight as a synchronization processing client from the weight sequence list;
- and
- synchronizing the client with the synchronization processing client according to the second synchronization data when the client is not defined as a synchronization processing client;
- connecting the client to the synchronizing server when the client is defined as a synchronization processing client and after the client is confirmed to have been synchronized with another client, so as to synchronize the synchronization processing client with the synchronizing server according to the first synchronization data;
- and after the synchronization processing client and the synchronizing server have been synchronized, synchronizing the synchronization processing client with all the clients.
Dependencies are inferred from the claim text.