Summary of the invention
The objective of the invention is to solve the defective of the complicated manual intervention of needs in above-mentioned available data management and the simultaneous techniques; A kind of adaptive method of data synchronization and system based on terminal unit ability and data access rule proposed, synchronous according to the selectivity of data in each terminal equipment of characteristic realization of capacity, disposal ability and the data itself of equipment.
The present invention discloses a kind of multiple terminals method of data synchronization based on capacity of equipment, it is characterized in that, comprising:
Step 1, N terminal equipment interconnects through data link and data sync controller, initialization terminal equipment, the existence each other of sense terminals equipment, said N >=2;
Step 2 is for the terminal equipment that can detect existence, according to the content of its data, by data sync controller control and upgrade synchronously.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 1 initialization comprises:
Step 21, whether be passive terminal equipment and/or be terminal equipment initiatively if detecting it;
Step 22 if be passive terminal equipment, is obtained terminal equipment information automatically when terminal equipment connects, type, unique identification, the facility information of equipment recorded in the database;
Step 23 if be the active terminal equipment, needs the synchronization module of installation therein and hardware compatibility; The unique identification of this module meeting self recording apparatus; And the ability information of checkout equipment, and through data link equipment is classified, when said active terminal equipment connects; Through the available synchronization module of data link discovery feature identification, and show the user.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 23 also comprises:
Step 31; Select to add synchronization module by the user according to synchronizing information; And the key of synchronization module is provided, and synchronization module can send to database with the data such as facility information of collecting, and this key of synchronization module record is the authority of verification terminal equipment identities when synchronous as follow-up data.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 1 comprises:
Step 41; Terminal equipment after initialization, if connect the data isochronous controller once more, can be with in the database of the terminal equipment information updating of upgrading in the data sync controller; Said terminal equipment information is volume change information; The usage frequency change information, systems soft ware environmental change information, Hardware configuration change information.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 41 comprises:
Step 51, data sync controller are according to the device capability information of collecting in terminal equipment initialization and the follow-up terminal equipment connection procedure, and design data is selected, transformation rule is selected data;
Step 52, the user makes amendment to the rule that the data isochronous controller generates, and adds self-defining data and selects transformation rule.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 2 comprises:
Step 61, the terminal equipment that initialization is accomplished carries out terminal device authentication, and authentication is through laggard line data simultaneous operation;
Step 62 can be accomplished by the data sync controller for this work of passive terminal equipment the new data that produce send to the data sync controller from last subsynchronous back for the active terminal equipment;
Step 63, data sync controller in the data storage device that it is kept at isochronous controller links to each other, and are kept at the metadata information of data in the database after getting access to data;
Step 64, the data of formulating in the applying step 51 are simultaneously selected, transformation rule is selected and changed these data, for other terminal equipment generates the data sync scheme, are kept in the database, for the data sync of miscellaneous equipment is prepared;
Step 65 is accomplished terminal equipment after the data sync of data sync controller, and the data sync controller can be searched the synchronization scenario of terminal equipment in its database;
Step 66 is taken out data sync according to available capacity up-to-date in the data sync controller and usage frequency information in terminal equipment simultaneously from the data that synchronization scenario is selected, accomplish the data sync of data sync controller to terminal equipment.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 2 also comprises:
Step 71, terminal equipment information are kept in each synchronous terminal equipment, and the data sync controller sends the synchronous terminal equipment that transaction file is tabulated and connected, carry out data by synchronous terminal equipment and select and initiate the data sync operation.
The present invention also discloses a kind of multiple terminals data synchronous system based on capacity of equipment, comprising:
Initialization module is used for N terminal equipment and interconnects through data link and data sync controller, initialization terminal equipment, the existence each other of sense terminals equipment, said N >=2;
Computing module is used for for the terminal equipment that can detect existence, according to the content of its data, by data sync controller control and upgrade synchronously.
Described multiple terminals data synchronous system based on capacity of equipment, said initialization module comprises:
Detection module, whether be passive terminal equipment and/or be terminal equipment initiatively if being used to detect it;
Passive EM equipment module if be used for when terminal equipment connects, obtaining terminal equipment information automatically for passive terminal equipment, records type, unique identification, the facility information of equipment in the database;
The active devices module if be used for being the active terminal equipment, needs the synchronization module of installation therein and hardware compatibility; The unique identification of this module meeting self recording apparatus; And the ability information of checkout equipment, and through data link equipment is classified, when said active terminal equipment connects; Through the available synchronization module of data link discovery feature identification, and show the user.
Described multiple terminals data synchronous system based on capacity of equipment, said active devices module also comprises:
Key module is set; Be used for the user and select to add synchronization module according to synchronizing information; And the key of synchronization module is provided, and synchronization module can send to database with the data such as facility information of collecting, and this key of synchronization module record is the authority of verification terminal equipment identities when synchronous as follow-up data.
Described multiple terminals method of data synchronization based on capacity of equipment, said computing module comprises:
The configuration information module; Be used for terminal equipment after initialization, if connect the data isochronous controller once more, can be with in the database of the terminal equipment information updating of upgrading in the data sync controller; Said terminal equipment information is volume change information; The usage frequency change information, systems soft ware environmental change information, Hardware configuration change information.
Described multiple terminals method of data synchronization based on capacity of equipment, said configuration information module comprises:
The synchronization rules module is used for the device capability information that the data sync controller is collected according to terminal equipment initialization and follow-up terminal equipment connection procedure, and design data is selected, transformation rule is selected data;
The rules modification module is used for the user rule that the data isochronous controller generates is made amendment, and adds self-defining data and selects transformation rule.
Described multiple terminals data synchronous system based on capacity of equipment, said computing module comprises:
Authentication module is used for the terminal equipment that initialization is accomplished, and carries out terminal device authentication, and authentication is through laggard line data simultaneous operation;
Select module, be used for to accomplish by the data sync controller for this work of passive terminal equipment the new data that produce send to the data sync controller from last subsynchronous back for the active terminal equipment;
Preserve module, be used for the data sync controller after getting access to data, in the data storage device that it is kept at isochronous controller links to each other, and the metadata information of data is kept in the database; The data of formulating in the application of synchronized rule module are simultaneously selected, transformation rule is selected and changed these data, for other terminal equipment generates the data sync scheme, are kept in the database, for the data sync of miscellaneous equipment is prepared;
Search module, be used to accomplish terminal equipment after the data sync of data sync controller, the data sync controller can be searched the synchronization scenario of terminal equipment in its database;
Accomplish synchronization module, be used for from the data that synchronization scenario is selected, taking out data sync according to data sync controller up-to-date available capacity and usage frequency information in terminal equipment simultaneously, accomplish the data sync of data sync controller to terminal equipment.
Described multiple terminals data synchronous system based on capacity of equipment, said computing module also comprises:
Upgrade list block, be used for terminal equipment information and be kept at each synchronous terminal equipment, the data sync controller sends the synchronous terminal equipment that transaction file is tabulated and connected, carries out data by synchronous terminal equipment and selects and initiate the data sync operation.
Beneficial effect of the present invention is:
Compared with prior art; This method has been simplified data synchronization process user's complicated operation degree; The user only need carry out the detection of primary equipment ability on terminal equipment, and connects devices on the shared storage device, and this equipment can be collected the ability information of all terminal equipments that connected automatically; Characteristic according to different terminal equipment is carried out selectivity processing and synchronous to data, and optimizing equipment capacity and data link bandwidth are used.
Embodiment
Provide embodiment of the present invention below, the present invention has been made detailed description in conjunction with accompanying drawing.
For achieving the above object, the present invention provides a kind of data based on terminal unit ability to select method for synchronous, and it comprises: be used to preserve the shared storage device or the service of partial data copy, comprise in the said data trnascription: the data of user storage; The metadata information of the data of user storage; The device capability information of collecting; The program or the parts that are used for the collecting device ability information; Be used for the analytical equipment ability and form the program or the processing unit of synchronization scenario, said collecting device ability information detailed process is following:
Information gathering is divided into two kind equipments: (1) passive equipment; Equipment like non-network interface connections such as use USB/ bluetooth such as mp3/ panel computer/digital cameras; The information of this kind equipment can be through obtaining the unique identification of unit type from interfaces such as USB; Can from third-party database, obtain the details of this equipment through this sign, place capacity/free space also can be through directly obtaining in the interfaces such as USB; (2) active devices, the equipment that connects through network interface like notebook computer etc., synchronization module that need installation system provides in this kind equipment, this module can be after startup the relevant software and hardware configuration of scanning system, form report and send to isochronous controller.;
Key point 1, the automaticdata selectivity is synchronous; Said selectivity is the ability of technique effect through identification terminal equipment synchronously; Decision is synchronized to the data set on this equipment; But and connect the time spent at terminal equipment the selected data collection be transferred in the terminal equipment, wherein selectivity is synchronous: at first the data file is classified according to " modification time, type, size, historical synchronizer, User Defined rule " etc.; Secondly, known device is classified by its " capacity, support that file type, last service time, historical synchronous documents, User Defined are regular " etc.; Once more, from above-mentioned two set, seek Optimum Matching;
Key point 2, terminal unit ability identification; Technique effect is through carrying out the detection of system environments, hardware performance to terminal equipment, and identification comprises but data type and place capacity that the equipment of being not limited to can be supported;
Key point 3 is based on the data selecting method of capacity of equipment; Technique effect draws the data set that is fit to this equipment through the analysis to terminal unit ability;
Key point 4, the manual synchrodata of selecting; The user interface that the technique effect using system provides; Artificial selection needs data in synchronization; Select by hand wherein to be meant that the user is dissatisfied to the synchronization scenario that system generates automatically, and the process of manual " increasing more data in synchronization " or " deletion does not need data in synchronization "; Also can be the user just drawing up a plan for before synchronously, formulated the rule of " system must with some data sync to appointed equipment " or " some data can be synchronized to some equipment scarcely ".
As shown in Figure 1, the present invention discloses a kind of multiple terminals method of data synchronization based on capacity of equipment, it is characterized in that, comprising:
Step 1, N terminal equipment interconnects through data link and data sync controller, initialization terminal equipment, the existence each other of sense terminals equipment, said N >=2;
Step 2 is for the terminal equipment that can detect existence, according to the content of its data, by data sync controller control and upgrade synchronously.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 1 initialization comprises:
Step 21, whether be passive terminal equipment and/or be terminal equipment initiatively if detecting it;
Step 22 if be passive terminal equipment, is obtained terminal equipment information automatically when terminal equipment connects, type, unique identification, the facility information of equipment recorded in the database;
Step 23 if be the active terminal equipment, needs the synchronization module of installation therein and hardware compatibility; The unique identification of this module meeting self recording apparatus; And the ability information of checkout equipment, and through data link equipment is classified, when said active terminal equipment connects; Through the available synchronization module of data link discovery feature identification, and show the user.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 23 also comprises:
Step 31; Select to add synchronization module by the user according to synchronizing information; And the key of synchronization module is provided, and synchronization module can send to database with the data such as facility information of collecting, and this key of synchronization module record is the authority of verification terminal equipment identities when synchronous as follow-up data.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 1 comprises:
Step 41; Terminal equipment after initialization, if connect the data isochronous controller once more, can be with in the database of the terminal equipment information updating of upgrading in the data sync controller; Said terminal equipment information is volume change information; The usage frequency change information, systems soft ware environmental change information, Hardware configuration change information.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 41 comprises:
Step 51, data sync controller are according to the device capability information of collecting in terminal equipment initialization and the follow-up terminal equipment connection procedure, and design data is selected, transformation rule is selected data;
Step 52, the user makes amendment to the rule that the data isochronous controller generates, and adds self-defining data and selects transformation rule.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 2 comprises:
Step 61, the terminal equipment that initialization is accomplished carries out terminal device authentication, and authentication is through laggard line data simultaneous operation;
Step 62 can be accomplished by the data sync controller for this work of passive terminal equipment the new data that produce send to the data sync controller from last subsynchronous back for the active terminal equipment;
Step 63, data sync controller in the data storage device that it is kept at isochronous controller links to each other, and are kept at the metadata information of data in the database after getting access to data;
Step 64, the data of formulating in the applying step 51 are simultaneously selected, transformation rule is selected and changed these data, for other terminal equipment generates the data sync scheme, are kept in the database, for the data sync of miscellaneous equipment is prepared;
Step 65 is accomplished terminal equipment after the data sync of data sync controller, and the data sync controller can be searched the synchronization scenario of terminal equipment in its database;
Step 66 is taken out data sync according to available capacity up-to-date in the data sync controller and usage frequency information in terminal equipment simultaneously from the data that synchronization scenario is selected, accomplish the data sync of data sync controller to terminal equipment.
Described multiple terminals method of data synchronization based on capacity of equipment, said step 2 also comprises:
Step 71, terminal equipment information are kept in each synchronous terminal equipment, and the data sync controller sends the synchronous terminal equipment that transaction file is tabulated and connected, carry out data by synchronous terminal equipment and select and initiate the data sync operation.
1. system forms
As shown in Figure 2, be the hardware structure figure that uses the preferred embodiment of multiple terminals of the present invention method of data synchronization.Hardware structure of the present invention mainly comprise 10, one shared storage devices of a data isochronous controller 110 with (or) share stores service 111, at least two data terminal equipments 12.
Wherein 10 can be to operate in a background program in the computer, also can be an embedded device that solidifies method of data synchronization, comprising but be not limited to: a computing module 100 is used to handle whole synchronous flow process; A data library module 101 is used to preserve facility information and synchronization scenario; Wired ethernet interface 102, wireless ethernet interface 103, bluetooth module 104, at least one usb 1 05, at least one SATA interface 106 are used for linking to each other with data terminal equipment, shared storage device or shared stores service; 10 and 110 generally use Ethernets or SATA/USB to link to each other, and the 10 and 111 general Ethernets that use link to each other through Internet; 10 can link to each other through modes such as wire/wireless Ethernet, USB, Bluetooth transmission with data terminal equipment 120-124.
2. data terminal equipment initialization
Before data terminal equipment adds synchro system shown in Figure 2, need set up related and interchange key and facility information with 10:
1) if data terminal equipment belongs to the terminal equipment type (below be referred to as " passive equipment ") that can obtain facility information like mp3 player, digital camera etc. through the connectivity port; Then 10 can, obtain equipment facility information when connecting automatically; And whether the inquiry user joins equipment in the synchro system; If the user allows it to add, then type, unique identification, the facility information with equipment records in the database of 10 inside;
2) if the information of data terminal equipment can not obtain (following this kind equipment is called " active devices ") through the mode of (1), promptly can not obtain the new terminal equipment type of equipment, then need to install therein synchronization module with hardware compatibility through the connectivity port; This module possibly be that a kind of software is realized or hardware is realized; This module can self recording apparatus unique identification and the ability information of checkout equipment, and equipment is classified through the optional user interactive interface, this kind equipment is when 10 are connected; Through the available synchro system of network discovery function identification; And show the user through certain mode, select the synchro system that will add by the user, and the key of isochronous controller is provided; Synchronization module can send to the data such as facility information of collecting in 10; 10 record its inner database with these information, and its 10 key itself is returned to synchronization module, and this key of synchronization module record is verified the authority of 10 identity when synchronous as follow-up data;
3) if equipment does not belong to above two types, then can't use native system to carry out synchronously
Through above step, can accomplish the task of newly-increased data terminal equipment.
Isochronous controller 10 is after the information that has obtained new terminal equipment; Can analyze these information, comprising but be not limited to: data format, device screen size, equipment input mode, equipment usage frequency that device class, equipment available capacity, equipment are supported.Out of Memory in the above information except that equipment usage frequency information is connected to 10 for the first time at equipment and can obtains; The usage frequency of equipment needs to be collected by synchronization module in the use of equipment afterwards, and default setting is the highest usage frequency when connecting for the first time.Analyze and finally need draw data selection, the transformation rule that portion is applied to this device synchronization; 10 can select and necessary conversion the data of the data of having stored in the system and follow-up adding according to this rule; After equipment is connected to 10 once more, with select, data sync after the conversion is in equipment.
The user can check, revise, remove the data terminal equipment that has been registered in 10 through the optional user interface; The user can check, customizes, revise the data selection, the transformation rule that have generated in 10 through the optional user interface.
3. data sync
Fig. 3 is the sketch map of data synchronization process, and when the data terminal equipment of accomplishing when initialization 20 linked 10 once more, 20 and 10 can at first carry out the equipment identities authentication, authentication through after just can proceed the synchronization of data process; (21)
For active devices, 20 can send to 10 from the new data that produce in last subsynchronous back, accomplish by 10 for this work of passive equipment; (22)
10 after getting access to data, it is kept in shared storage device 110 or the shared stores service 111 (23)
The data of formulating in the applying step 2 are simultaneously selected, transformation rule is selected these data, for miscellaneous equipment generates a data sync scheme, are kept in the database 101, for the data sync of miscellaneous equipment is prepared; (24)
After the data sync of completion 20 to 10,10 can search the synchronization scenario of equipment 20 in its database; (25)
Be synchronized in 20 simultaneously according to the available capacity up-to-date in 30 and the subclass of usage frequency information taking-up data from the data that synchronization scenario is selected; (26)
Accomplish 10 to 20 data sync, and off device connects.
Other embodiment does
In one embodiment; Device capability information is not kept in the data sync controller 10; But be kept in each synchronizer 12, isochronous controller 10 sends the synchronizer 12 that transaction file is tabulated and connected, carries out data by synchronizer 12 and selects and initiate the data sync operation.
As shown in Figure 4, the present invention also discloses a kind of multiple terminals data synchronous system based on capacity of equipment, comprising:
Initialization module 10 is used for N terminal equipment and interconnects through data link and data sync controller, initialization terminal equipment, the existence each other of sense terminals equipment, said N >=2;
Computing module 20 is used for for the terminal equipment that can detect existence, according to the content of its data, by data sync controller control and upgrade synchronously.
Described multiple terminals data synchronous system based on capacity of equipment, said initialization module comprises:
Detection module, whether be passive terminal equipment and/or be terminal equipment initiatively if being used to detect it;
Passive EM equipment module if be used for when terminal equipment connects, obtaining terminal equipment information automatically for passive terminal equipment, records type, unique identification, the facility information of equipment in the database;
The active devices module if be used for being the active terminal equipment, needs the synchronization module of installation therein and hardware compatibility; The unique identification of this module meeting self recording apparatus; And the ability information of checkout equipment, and through data link equipment is classified, when said active terminal equipment connects; Through the available synchronization module of data link discovery feature identification, and show the user.
Described multiple terminals data synchronous system based on capacity of equipment, said active devices module also comprises:
Key module is set; Be used for the user and select to add synchronization module according to synchronizing information; And the key of synchronization module is provided, and synchronization module can send to database with the data such as facility information of collecting, and this key of synchronization module record is the authority of verification terminal equipment identities when synchronous as follow-up data.
Described multiple terminals method of data synchronization based on capacity of equipment, said computing module comprises:
The configuration information module; Be used for terminal equipment after initialization, if connect the data isochronous controller once more, can be with in the database of the terminal equipment information updating of upgrading in the data sync controller; Said terminal equipment information is volume change information; The usage frequency change information, systems soft ware environmental change information, Hardware configuration change information.
Described multiple terminals method of data synchronization based on capacity of equipment, said configuration information module comprises:
The synchronization rules module is used for the device capability information that the data sync controller is collected according to terminal equipment initialization and follow-up terminal equipment connection procedure, and design data is selected, transformation rule is selected data;
The rules modification module is used for the user rule that the data isochronous controller generates is made amendment, and adds self-defining data and selects transformation rule.
Described multiple terminals data synchronous system based on capacity of equipment, said computing module comprises:
Authentication module is used for the terminal equipment that initialization is accomplished, and carries out terminal device authentication, and authentication is through laggard line data simultaneous operation;
Select module, be used for to accomplish by the data sync controller for this work of passive terminal equipment the new data that produce send to the data sync controller from last subsynchronous back for the active terminal equipment;
Preserve module, be used for the data sync controller after getting access to data, in the data storage device that it is kept at isochronous controller links to each other, and the metadata information of data is kept in the database; The data of formulating in the application of synchronized rule module are simultaneously selected, transformation rule is selected and changed these data, for other terminal equipment generates the data sync scheme, are kept in the database, for the data sync of miscellaneous equipment is prepared;
Search module, be used to accomplish terminal equipment after the data sync of data sync controller, the data sync controller can be searched the synchronization scenario of terminal equipment in its database;
Accomplish synchronization module, be used for from the data that synchronization scenario is selected, taking out data sync according to data sync controller up-to-date available capacity and usage frequency information in terminal equipment simultaneously, accomplish the data sync of data sync controller to terminal equipment.
Described multiple terminals data synchronous system based on capacity of equipment, said computing module also comprises:
Upgrade list block, be used for terminal equipment information and be kept at each synchronous terminal equipment, the data sync controller sends the synchronous terminal equipment that transaction file is tabulated and connected, carries out data by synchronous terminal equipment and selects and initiate the data sync operation.
Those skilled in the art can also carry out various modifications to above content under the condition that does not break away from the definite the spirit and scope of the present invention of claims.Therefore scope of the present invention is not limited in above explanation, but confirm by the scope of claims.