Background technology
In recent years, follow the flourish of consumption electronic products software and hardware, has personal information management (Personal Information Management, PIM) PDA (Personal Digital Assistant), no matter be on the volume, on the price or on the function, all accepted extensively by people already and begin to be applied on the various uses, in daily life, individual's the use, even there have been many large enterprises also to begin to assist its operational development at present by similar PDA (Personal Digital Assistant).
Yet the range of application of PDA (Personal Digital Assistant) is more and more universal now, and the demand that people use for PDA (Personal Digital Assistant) also just requires more and more higher, particularly on the problem of data sync.Especially when PDA (Personal Digital Assistant) kind type on the market is more and more, or often have when carrying out the demand of data sync with other people, whether the PDA (Personal Digital Assistant) of oneself has quick, easy, reliable data sync function just seems especially important.
The function that past data is synchronous, not only to provide between the PDA (Personal Digital Assistant) that belongs to same model equally to carry out smoothly, be exactly must everybody data in functional module definition, on the data category, on the data field position, on the data name, all to meet fully on the data type and just be carried out data synchronization, get up and quite get in the way, otherwise be will artificial stroke by stroke on one's own account input, go above data can being transferred to smoothly other PDA (Personal Digital Assistant), very inconvenient and inefficent, the easier carelessness that causes on artificial.
Hence one can see that, various PDA (Personal Digital Assistant) machine types data synchronization problems to each other be current production PDA (Personal Digital Assistant) manufacturer one of major issue anxious to be solved, if do not research and develop data synchronous system and method that a cover can be applied in different machines early, not only can make oneself product and other Related product can not be compatible in data exchange processing, the product of oneself is eliminated by choosing carefully of the trend trend in market and consumer.
Summary of the invention
The present invention is for solving the above-mentioned technical matters that exists in the background technology, and provide a kind of PDA (Personal Digital Assistant) data synchronous system and method thereof, it can utilize consistent data sync definition and Data Update rule, make the PDA (Personal Digital Assistant) of different machines, can reach the purpose of data sync each other.
Technical solution of the present invention is: the present invention is a kind of PDA (Personal Digital Assistant) data synchronous system, it is: this system comprises and is used to provide the definition of data table, define during as data sync definition that when contrast use to lighting module, be used to provide to this definition of data table and Data Update rule the Dynamic Definition module that defines and set and be used for storing the temporary module of data of the every data content when carrying out the temporary and Data Update of data.
Said system operates on the computing machine executable platform, can provide a plurality of PDA (Personal Digital Assistant) that are connected with this computing machine executable platform to carry out data sync simultaneously.
Aforementioned calculation machine executable platform can be personal computer or mobile computer.
Above-mentioned definition of data table comprises functional module definition of data table and Field Definition tables of data.
When above-mentioned definition defines the action of contrast to lighting module, be to carry out according to the code in this functional module definition of data table and this Field Definition tables of data.
Above-mentioned Data Update rule comprises title rule, rule module, field rule and record rule.
Above-mentioned data object temporary and this Data Update comprises functional module, data field position and data recording.
The temporary module of above-mentioned data is to store every relevant information and data content with a text-only file.
A kind ofly utilize above-mentioned PDA (Personal Digital Assistant) data synchronous system to carry out the method for data sync, its special character is: this method comprises the following step:
1) activation data synchro system is set up onlinely with first PDA (Personal Digital Assistant) and second PDA (Personal Digital Assistant), and produces a data temporary file;
2) this data synchronous system captures this first personal digital assistant's machine data to carry out data temporary;
3) it is temporary that this data synchronous system and this second PDA (Personal Digital Assistant) are carried out Data Update and data;
4) this data synchronous system and this first PDA (Personal Digital Assistant) are carried out Data Update.
Above-mentioned steps 3) carry out Data Update and data when temporary in data synchronous system and PDA (Personal Digital Assistant), also comprise the following step:
1) reads PDA (Personal Digital Assistant) functional module code in regular turn;
2) carry out the renewal of functional module data and temporary;
3) carry out the renewal of field data and temporary in regular turn;
4) carry out the renewal of record data and temporary in regular turn.
PDA (Personal Digital Assistant) data synchronous system of the present invention and method thereof, set up consistent data sync definition and Data Update rule, make the PDA (Personal Digital Assistant) of different machines carry out each other data sync operation with simpler and easy, more efficient mode, simultaneously also can be so that product can be more flexible on data extending, also saved many manpowers and temporal input burden, the incidence of related mistake also can be reduced to minimum.In addition, for production manufacturer, adopted the present invention not only can make the product of oneself have the compatibility of height each other, make the consumer no longer need to worry to cause data to use to go up because of new and old not conforming to of type can't compatibility problem, and be words that most manufacturer supported as the present invention, equally also can make oneself product become main flow on the market rapidly, and then break through the sales range of product, increase the income of business.
Embodiment
Referring to Fig. 1, data synchronous system 300 runnings of the present invention are carried out at computing machine executable platform 50 (as: personal computer, mobile computer ...) on, set up onlinely again by computing machine executable platform and a plurality of PDA (Personal Digital Assistant) (as first PDA (Personal Digital Assistant) 100, second PDA (Personal Digital Assistant) 200), carry out data sync action each other.
Wherein, the main functional modules framework of data synchronous system 300 of the present invention comprises:
(1) the Dynamic Definition module 310, can provide the user at any time for being stored in definition to each definition of data table (as: functional module definition of data table, Field Definition tables of data in the lighting module 320 ...) expand, the Data Update rule that also can provide simultaneously the user to be followed when carrying out data sync is set (as: title rule, rule module, field rule, record rule ...), increase extendibility and compatibility of system of the present invention with this.
(2) definition is to lighting module 320, be responsible for providing content (as: functional module definition of data table, the Field Definition tables of data of each definition of data table ...), each definition of data table all can have two Field Definitions basically: one is definition code (using when the definition contrast is provided), and another is a define name; Except default definition of data content, can also comprise the setting content that the user is undertaken by Dynamic Definition module 310 in each definition of data table.When this module 320 is mainly used to as data sync and other PDA (Personal Digital Assistant) carry out every definition contrast so that the determination data processing mode.
Required every information and data content (comprising: functional module data, field data, record data when (3) the temporary module 330 of data, responsible storage were carried out the temporary and Data Update operation of data ...).These information temporary storages are in the text-only file (text file) that temporary module 330 is produced by data.
Referring to Fig. 1,2, the concrete workflow of method of data synchronization of the present invention is as follows
Data synchronous system 300 of the present invention is carried out in computing machine executable platform 50, and the computing machine executable platform is connected with first PDA (Personal Digital Assistant) 100 and second PDA (Personal Digital Assistant) 200 respectively, a plurality of functional module (as: functional module Aa110 in first PDA (Personal Digital Assistant) 100, have been comprised ... functional module Am120), same a plurality of functional module (as: functional module Ba210 in second PDA (Personal Digital Assistant) 100, have been comprised ... functional module Bn220), wherein the machine type of two PDA (Personal Digital Assistant) and functional module number (m is not equal to n) all inequality.
Need when 1) carrying out data sync first earlier system to be activated, automatically produce a data temporary file by data synchronous system 300 of the present invention then, these archives belong to a text-only file (textfile), be used for storing every relevant information and data content required when carrying out data sync, comprise: the functional module data, field data, record data ... set up after the data temporary file just respectively and two PDA (Personal Digital Assistant) (i.e. first PDA (Personal Digital Assistant) 100, second PDA (Personal Digital Assistant) 200) sets up onlinely, prepare to carry out the action of data sync;
2) begin to capture the data of first PDA (Personal Digital Assistant) 100 then earlier, and carry out the temporary action of data;
3) in the data temporary file, will store the data of first PDA (Personal Digital Assistant) 100 after finishing; Proceed then and the Data Update and the temporary operation of data of 200 of second PDA (Personal Digital Assistant);
4) mainly the data acquisition on second PDA (Personal Digital Assistant) 200 is come out to keep in this moment, and the data of first PDA (Personal Digital Assistant) 100 that will before keep in are brought with second PDA (Personal Digital Assistant) 200 and are done contrast, carry out the action of Data Update, after finishing the Data Update with second PDA (Personal Digital Assistant) 200, in the data temporary file, will remain with all data contents of two PDA (Personal Digital Assistant) this moment; Last data in the data temporary file being brought with first PDA (Personal Digital Assistant) 100 again done contrast, continues to finish the action of Data Update.
So far finish data sync operation to two PDA (Personal Digital Assistant) by system of the present invention.
In fact, if when just the data content of other a plurality of PDA (Personal Digital Assistant) having been arranged originally in the data temporary file, can also be synchronized to the data of other a plurality of PDA (Personal Digital Assistant) in the lump in the middle of two PDA (Personal Digital Assistant) of connection via above-mentioned flow process.
Referring to Fig. 3,, be described as follows in order further to understand the detailed process of the whole data sync running between the present invention and the PDA (Personal Digital Assistant):
1) when data synchronous system 300 of the present invention is set up binding with PDA (Personal Digital Assistant) (is example with first PDA (Personal Digital Assistant) 100), can be according to the functional module of going to read in proper order in first PDA (Personal Digital Assistant) 100;
2) judge that then whether with in the data temporary file functional module to be read out has in stored and meet;
3) all foundations that read and judge, all be to be undertaken by definition code unique in each functional module, if the definition code of this functional module does not exist in the data temporary file, this just represents that this functional module need not carry out the action of data sync, system can continue to read next functional module up to read finish till, otherwise, if the words that meet to some extent in functional module code that reads out and the data temporary file, then expression need be carried out the data sync action, and system then of the present invention can begin this functional module is carried out Data Update and the temporary action of data.To the Data Update of each functional module and the temporary action of data, all comprised several sections: the one, to functional module data, the one, to field data, and to record data.When determining to carry out data sync to this functional module, at first can carry out the renewal and the temporary action of functional module data;
4) carry out then the renewal of field data and temporary;
5) system can continue to judge whether to still have untreated field in the process;
6) if having, then continue to read untreated field and carry out data sync, otherwise just will carry out last renewal and temporary action record data;
7) equally in this process, system can continue to judge whether to still have untreated record;
8) if having, then continue to read untreated record and carry out data sync, otherwise the data sync operation of representing a functional module comes to an end, can system judge whether to still have the functional module that does not read? if there is not the data sync then finish this PDA (Personal Digital Assistant), otherwise continue to read next functional module up to read finish till.
Certainly in the running of whole data sync, in order to make PDA (Personal Digital Assistant) and system of the present invention can carry out data sync more smoothly, in fact data necessary definition and Data Update rule (as: title rule in system of the present invention, have all been formulated, rule module, field rule and record rule ...), under the prerequisite situation of following consistent data sync definition and Data Update rule, no matter be the data sync of carrying out that the PDA (Personal Digital Assistant) of which kind of type kind can be very easy, and data definition and Data Update rule that system of the present invention arrives for standard not, keep its original incompatible data content between different machines except making, even can also provide more flexible, Dynamic Definition setting means more easily makes the data sync between the PDA (Personal Digital Assistant) of different machines more easy.