CN100521605C - Synchronizing system and method - Google Patents

Synchronizing system and method Download PDF

Info

Publication number
CN100521605C
CN100521605C CNB2005101058462A CN200510105846A CN100521605C CN 100521605 C CN100521605 C CN 100521605C CN B2005101058462 A CNB2005101058462 A CN B2005101058462A CN 200510105846 A CN200510105846 A CN 200510105846A CN 100521605 C CN100521605 C CN 100521605C
Authority
CN
China
Prior art keywords
data
electronic equipment
database
service end
module
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
CNB2005101058462A
Other languages
Chinese (zh)
Other versions
CN1937504A (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2005101058462A priority Critical patent/CN100521605C/en
Publication of CN1937504A publication Critical patent/CN1937504A/en
Application granted granted Critical
Publication of CN100521605C publication Critical patent/CN100521605C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This synchronous method and system are used to transfer data to electronic device database (EDD) and server end database (SED). They include the setting module (SM) setting transfer direction, the map module (MM) building temporary documents (TD) and mapping the data in EDD, the contrast module (CM) contrasting TD against the server data and confirming data need to transfer, the renew module renewing TD and server database according to the contrast result and transfer direction set by the SM and the induce module inducing TD into EDD. This method transfers data via TD to EDD and SED without accessing EDD. EDD may not operate. Data transfer synchronization can be realized fast and efficiently.

Description

Synchro system and method
Technical field
The invention relates to a kind of transfer of data simultaneous techniques, particularly carry out transfer of data, reach the synchro system and the method for Synchronous Processing about a kind of electronic equipment database and service end database data.
Background technology
The electronic product development so far, digitlization, portable electronic product rely on strong functions, shirtsleeve operation and the big main flow that plurality of advantages develops into present electronic product such as are convenient for carrying, and make the modern all can enjoy the facility that electronic product brings in daily life.
With the digital multimedia playback equipment is example, and data-handling capacity and storage area be restriction to some extent all.Yet in modern today of information-intensive society, computer has become popular contact, has handled one of numerical data most important platform.Especially in recent years, along with the price of computer reduces gradually, computer almost becomes the standard configuration in family and the company, computer is with its simple mode of operation and cheap price, allow digital information can go deep into all orders of society, even generally be not subjected to the common people of computer operation training, also can control this class of electronic devices easily, reach the purpose that increases knowledge.In addition, along with the significantly raising of the arithmetic speed of computer, and the development of multimedia treatment technology, the computer application level no longer is confined to document processing etc., and it can effectively be handled multi-medium datas such as sound, images.Moreover also there has been very big development the storage area of computer relatively in the past, more can infinitely expand by the mode of buying storing medias such as hard disk.Therefore, electronic equipment and computer interactive data are present trend of the times and development focus.
Current electronic equipment is all with the mode storage data of database, also only carries out simple data transport at electronic equipment with the data processing after computer is connected and handles, and still the form of database of no use provides the Synchronous Processing of transfer of data.
Therefore, how solving with the database transmitting synchronous processing (data upload/download process just) of the electronic equipment data that are storing mode, is the problem that needs solution at present.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, main purpose of the present invention is to provide a kind of synchro system and method, can carry out transfer of data to electronic equipment database and service end database data, realizes the purpose of data sync transmission fast and efficiently.
Another object of the present invention is to provide a kind of synchro system and method, do the reflection intermediate file, carry out the synchronous transmission of electronic equipment database and service end database data by a pair of electronic equipment database.
For reaching above-mentioned and other purpose, the invention provides a kind of synchro system and method.Synchro system of the present invention, be used for electronic equipment database and service end database data are carried out transfer of data, and this electronic equipment database also stores first a reflection relation table that is used to write down the data that are sent to this service end, this service end database also stores second a reflection relation table that is used to write down the data that are sent to this electronic equipment, this synchro system comprises: module is set, and being used to be provided with data transfer direction is that this electronic equipment database data is sent to this service end database or this service end database is sent to the electronic equipment database; Image module, be used for the transmission option that module is provided with being set by this, this electronic equipment data of database is videoed, and generate an intermediate file that is used for the storage map data, and content and this electronic equipment database corresponding data of this intermediate file is identical behind the reflection; The contrast module is used for intermediate file and this service end data that this image module generates are compared, and judges the data that need transmission; Update module by the comparing result of this contrast module, and by this data transfer direction that module setting is set, is upgraded this intermediate file or this service end database; And the importing module, after this update module is upgraded this intermediate file, this electronic equipment database is arrived in the intermediate file data importing.
Method for synchronous of the present invention, be used for electronic equipment database and service end database are carried out transfer of data, and this electronic equipment database also stores first a reflection relation table that is used to write down the data that are sent to this service end, this service end database also stores second a reflection relation table that is used to write down the data that are sent to this electronic equipment, and this method for synchronous may further comprise the steps: (1) is provided with that data transfer direction is sent to this service end database for this electronic equipment database data or this service end database is sent to the electronic equipment database; (2) set up intermediate file, the electronic equipment database data is videoed, and content and this electronic equipment database corresponding data of this intermediate file is identical behind the reflection; (3) contrast this intermediate file and this service end database data, need to determine the data of transmission; (4) judge the data transfer direction that this step (1) is provided with,, then jump to step (6), otherwise enter step (5) if data transfer direction is that this service end database is sent to the electronic equipment database; (5) according to the comparing result of this step (3), this service end database is transmitted, and the data modification that writes down in this second reflection relation table of corresponding renewal finishes the treatment step of method for synchronous after the time by this intermediate file; (6) by the comparing result of this step (3), this intermediate file is upgraded; And (7) import to this electronic equipment database with this intermediate file content, and the data modification time of writing down in this first reflection relation table of corresponding renewal.
In sum, compare with existing transfer of data simultaneous techniques, synchro system of the present invention and method can be carried out transfer of data to electronic equipment database and service end database, and data transmission and processing is to be undertaken by an intermediate file, needn't be in the transmission course by this electronic equipment database, and this electronic equipment also needn't be started shooting, and reaches to reach the synchronous purpose of transfer of data efficiently fast.
Description of drawings
Fig. 1 is the basic framework block schematic diagram of synchro system of the present invention.
Fig. 2 (A) to Fig. 2 (C) be the first reflection relation table and the second reflection relation table exemplary plot in the synchro system of the present invention.
Fig. 3 is the operational flow diagram of method for synchronous of the present invention.
Embodiment
Embodiment
Be the basic structure block schematic diagram of synchro system of the present invention as shown in Figure 1, what should be specified is, this synchro system also comprises other member in addition, is to simplify accompanying drawing and explanation, and basic structure herein only shows the member relevant with the present invention.
In the present embodiment, synchro system 1 of the present invention is to be used for electronic equipment database 11 and service end database 12 are carried out transfer of data, this synchro system 1 comprises: module 13, image module 14, contrast module 15, update module 16 are set and import module 17, synchro system 1 can be installed in this electronic equipment or the service end.
This electronic equipment database 11 is to place this electronic equipment, is used to store the data of this electronic equipment, and these data for example are voice data, video data (comprising image data) and audio frequency and video blended data.This electronic equipment for example is multimedia play equipment (not marking at this).
This service end database 12 is to place this service end (not marking at this), be used for storage data, these data for example are voice data, video data (comprising image data) and audio frequency and video blended data, this service end for example is personal computer, notebook computer, service end and work station, and a service end can be carried out transfer of data to a plurality of electronic equipments.In addition, this service end also provides an interface that can electrically connect with this electronic equipment, and what need to specify is that the connected mode of this electronic equipment and this service end is a prior art, is simplified illustration, no longer describes in detail at this.
This is provided with module 13 and is used to be provided with data transfer direction, and this data transfer direction is that these electronic equipment database 11 data are sent to this service end database 12 or this service end database 12 data and are sent in the electronic equipment database 11 one.In the present embodiment, this is provided with module 13 and also is used to be provided with data transmission and transmission process rule, and wherein, this data transmission comprises voice data, video data (comprising image data) or audio frequency and video blended data; This transmission process rule is if the duplication of name data occur in the transmission and processing process, then processing mode comprises and skips these duplication of name data (default transmission rule), covered the data of the same name of service end or covered this electronic equipment end data end data of the same name by the service end data by this electronic equipment end data, and the processing rule of wherein skipping these duplication of name data is not meant to be handled these data.
This image module 14 is used for by this transmission option that module 13 is provided with being set, data to this electronic equipment database 11 are videoed, and generate an intermediate file (not marking) that is used for the storage map data, the content of this intermediate file and this electronic equipment database 11 are identical, a sheet photo that is equivalent to this electronic equipment database, its data format are to be carried out read-write operation by this electronic equipment and this service end.Because common electronics equipment all can be closed its power supply automatically when carrying out transfer of data with the service end electric connection, so can cause and to call its original database 11, more can't be correct from this database, obtain useful information in 11, after transfer of data is finished, also data updated can't be write in this electronic equipment database 11.Therefore, the present invention utilizes an intermediate file before this electronic equipment powered-down carries out data sync transmission, and the content of this electronic equipment database 11 of videoing, and it is kept at this electronic equipment is so that follow-uply carry out data sync transmission operation.This electronic equipment and this service end electrically connect in the data sync transmission course, and carry out the read-write simultaneous operation of this intermediate file by the power supply of this service end; After read-write is finished synchronously, disconnect being connected of this electronic equipment and this service end, open the power supply of this electronic equipment, get final product content with this intermediate file and import that to finish transfer of data in this electronic equipment database 11 synchronous.
This contrast module 15 is used for content and this service end data of the intermediate file of this image module 14 generations are compared, and need to determine the data of synchronous transmission.Judge at first during contrast that this is provided with the data type that module 13 is provided with, if this data type is a voice data, then only contrast voice data, if data type is video data (comprising an image data), then only contrast video data, if data type is the audio frequency and video blended data, then only contrast the audio frequency and video blended data, the data sync transport-type is will compare all data under the default setting.
This update module 16 is used for by the comparing result of this contrast module 15, and by this data transfer direction that module 13 is provided with is set, and this intermediate file or this service end database 12 are upgraded.If this data transfer direction that module 13 settings are set is that these electronic equipment database 11 data are sent to this service end database 12 (being data upload), then this service end database 12 is upgraded by this intermediate file, can finish synchronous renewal; Otherwise upgrade (being that data are downloaded) by 12 pairs of these intermediate files of this service end database.In synchronous renewal process,, then module 13 is set and the transmission process rule is set these data of the same name are handled by this if data of the same name occur.Wherein this processing rule comprises and skips these duplication of name data, covered the data of the same name of service end or covered this electronic equipment end data end data of the same name by the service end data by this electronic equipment end data, wherein skips these duplication of name data and promptly represents it not to be upgraded.
This importing module 17 is to be used for this this electronic equipment of intermediate file data importing, wherein if this update module 16 is that this intermediate file is upgraded, then this importing module 17 is upgraded when restarting this electronic equipment after finishing at 16 pairs of these intermediate files of this update module, this electronic equipment database 11 is arrived in this intermediate file data importing, to finish synchronous renewal.
See also Fig. 2 (A) to Fig. 2 (C), in the present embodiment, also have one first reflection relation table in this electronic equipment, be used to write down the data that are sent to this service end.This first reflection relation table is used for record data and indicates information such as identification code, data name and data modification time, the electronic equipment mark code (machineid) that has the electronic equipment of this first reflection relation table at present embodiment is 1001, wherein this electronic equipment mark code is provided by electronic equipment self, then shown in Fig. 2 (A), with first row 110 is example, it is that 7 corresponding data modification times are 100001 that data indicate identification code, data name be my location 1.mp3; Then, shown in Fig. 2 (B), this table promptly is stored in the reflection of first in another electronic equipment relation table, and wherein, this electronic equipment mark code is 1001, and the data position of the row 113 shown in this first reflection relation table is consistent with Fig. 2 (A), so do not repeat them here; Then, this service end database 12 also stores one second reflection relation table, be used to write down the data that are sent to this electronic equipment, this second mapping table is used to write down service end mark code, electronic equipment mark code (machine id), the data name that is transmitted data, data modification time and data and indicates identification code, shown in Fig. 2 (C), with first row 111 is example, the service end mark code is 1, the electronic equipment mark code be the data name of 1000 correspondences be C: 1.mp3, the data modification time is 100001, and it is 7 that data indicate identification code.After each data transmission and processing finishes, all can be in this first reflection relation table and this second reflection relation table the record data modification time, if carry out new data transmission and processing once more, then whether mate and choose new data item and transmit, realize that data processing reaches the purpose that improves treatment effeciency synchronously according to revising the date.In addition, in the present embodiment, this synchro system 1 is to be undertaken by the operation script (script) and the mode of order line (command line).
As shown in Figure 3, it is the operational flow diagram of method for synchronous of the present invention.
At first carry out step S1, data transfer direction is set for data being sent to this electronic equipment database 11 (being the Synchronous Processing that data are downloaded) or data being sent to this service end database 12 (being the Synchronous Processing of data upload); In the present embodiment, this step S1 comprises that also the transport-type of setting is voice data, video data or audio frequency and video blended data, and the transmission process rule that is provided be the data of appearance duplication of name in the transmission course, according to the transmission process rule of this setting, these duplication of name data handled.This processing mode comprises to be skipped these duplication of name data, is covered the data of the same name of service end or by service end data overlay electronic equipment end data data of the same name, then entered step S2 by this electronic equipment end data.
At this step S2, set up this intermediate file, the data of this electronic equipment database 11 to be videoed, the content of this intermediate file and this electronic equipment database 11 corresponding datas are identical behind the reflection, then enter step S3.
At this step S3, contrast the data content of this intermediate file and this service end database 12, need to determine the data of transmission so that the follow-up data transmission and processing (being the Synchronous Processing of data upload or download) of carrying out then enters step S4.
At this step S4, judge the data transfer direction that this step S2 is provided with, if data transfer direction for data are sent to this service end database 12, then directly enters step S5; Otherwise skip to step S6.
At this step S5,, this service end database 12 is carried out the upload process of data and process ends step by this intermediate file by the comparing result of this step S3.
At this step S6,, upgrade processing by 12 pairs of these intermediate files of this service end database by the comparing result of this step S3.
At this step S7, after restarting this electronic equipment, by this intermediate file this electronic equipment database 11 is upgraded, and finish process step.
In the present embodiment, method for synchronous is to be undertaken by the script (script) and the mode of order line (commandline).
Generally speaking, can carry out the data sync transmission process to electronic equipment database 11 and service end database 12 data by synchro system of the present invention and method, and it is to be undertaken by an intermediate file that synchronous transmission is handled, needn't be in the synchronizing process by this electronic equipment database, and this electronic equipment also needn't be started shooting, and reaches the purpose that reaches data sync transmission efficiently fast.

Claims (14)

1. synchro system, be used for electronic equipment database and service end database are carried out transfer of data, and this electronic equipment database also stores first a reflection relation table that is used to write down the data that are sent to this service end, this service end database also stores second a reflection relation table that is used to write down the data that are sent to this electronic equipment, it is characterized in that this synchro system comprises:
Module is set, and being used to be provided with data transfer direction is that this electronic equipment database data is sent to this service end database or this service end database is sent to the electronic equipment database;
Image module, be used for the transmission option that module is provided with being set by this, this electronic equipment data of database is videoed, and generate an intermediate file that is used for the storage map data, and content and this electronic equipment database corresponding data of this intermediate file is identical behind the reflection;
The contrast module is used for intermediate file and this service end data that this image module generates are compared, and judges the data that need transmission;
Update module by the comparing result of this contrast module, and by this data transfer direction that module setting is set, is upgraded this intermediate file or this service end database; And
Import module, after this update module is upgraded this intermediate file, this electronic equipment database is arrived in the intermediate file data importing.
2. synchro system as claimed in claim 1 is characterized in that, this type that is provided with that module also is used for being provided with the transmission data is voice data, video data or audio frequency and video blended data combination group one.
3. synchro system as claimed in claim 1, it is characterized in that, this is provided with module also provides the transmission process rule to set for the user, this transmission process rule be skip these duplication of name data, by this electronic equipment end data cover service end data of the same name or by service end data overlay electronic equipment end data terminal data of the same name one of them, with when this update module carries out data of the same name occurring in the renewal process to this intermediate file or service end database, these data of the same name are handled according to this transmission process rule.
4. synchro system as claimed in claim 1 is characterized in that this electronic equipment is a multimedia play equipment.
5. synchro system as claimed in claim 1 is characterized in that, the data that this first reflection relation table is used for recorded electronic equipment indicate identification code, modification time and transmit data name.
6. synchro system as claimed in claim 1 is characterized in that, this second mapping table is used for writing down service end mark code, electronic equipment mark code, is transmitted the data sign identification code of data name, data modification time and electronic equipment.
7. synchro system as claimed in claim 1 is characterized in that, this service end database can carry out transfer of data to a plurality of electronic equipment databases.
8. method for synchronous, be used for electronic equipment database and service end database are carried out transfer of data, and this electronic equipment database also stores first a reflection relation table that is used to write down the data that are sent to this service end, this service end database also stores second a reflection relation table that is used to write down the data that are sent to this electronic equipment, it is characterized in that this method for synchronous may further comprise the steps:
(1) data transfer direction being set is that this electronic equipment database data is sent to this service end database or this service end database is sent to the electronic equipment database;
(2) set up intermediate file, the electronic equipment database data is videoed, and content and this electronic equipment database corresponding data of this intermediate file is identical behind the reflection;
(3) contrast this intermediate file and this service end database data, need to determine the data of transmission;
(4) judge the data transfer direction that this step (1) is provided with,, then jump to step (6), otherwise enter step (5) if data transfer direction is that this service end database is sent to the electronic equipment database;
(5) according to the comparing result of this step (3), this service end database is transmitted, and the data modification that writes down in this second reflection relation table of corresponding renewal finishes the treatment step of method for synchronous after the time by this intermediate file;
(6) by the comparing result of this step (3), this intermediate file is upgraded; And
(7) this intermediate file content is imported to this electronic equipment database, and the data modification time of writing down in this first reflection relation table of corresponding renewal.
9. method for synchronous as claimed in claim 8 is characterized in that, this step (1) also comprises the type that transfer of data is set, and this data type comprises one in voice data, video data or the audio frequency and video blended data composition group.
10. method for synchronous as claimed in claim 8, it is characterized in that, this step (1) also comprises providing the transmission process rule is set, this transmission process rule be skip these duplication of name data, by this electronic equipment end data cover service end data of the same name or by service end data overlay electronic equipment end data terminal data of the same name one of them, during with appearance data of the same name in according to this step (6) renewal process, according to the transmission process rule of this setting, this data duplication of name of the same name is handled.
11. method for synchronous as claimed in claim 8 is characterized in that, this electronic equipment is a multimedia play equipment.
12. method for synchronous as claimed in claim 8 is characterized in that, the data that this first reflection relation table is used for recorded electronic equipment indicate identification code, modification time and data name.
13. method for synchronous as claimed in claim 8 is characterized in that, this second mapping table is used for writing down service end mark code, electronic equipment mark code, is transmitted the data sign identification code of data name, data modification time and electronic equipment.
14. method for synchronous as claimed in claim 8 is characterized in that, this service end database can carry out transfer of data to a plurality of electronic equipment databases.
CNB2005101058462A 2005-09-23 2005-09-23 Synchronizing system and method Expired - Fee Related CN100521605C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101058462A CN100521605C (en) 2005-09-23 2005-09-23 Synchronizing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101058462A CN100521605C (en) 2005-09-23 2005-09-23 Synchronizing system and method

Publications (2)

Publication Number Publication Date
CN1937504A CN1937504A (en) 2007-03-28
CN100521605C true CN100521605C (en) 2009-07-29

Family

ID=37954792

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101058462A Expired - Fee Related CN100521605C (en) 2005-09-23 2005-09-23 Synchronizing system and method

Country Status (1)

Country Link
CN (1) CN100521605C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499069B (en) * 2008-02-02 2013-06-05 中兴通讯股份有限公司 Internal memory database file updating method and apparatus
CN101604234B (en) * 2008-06-13 2011-06-01 英业达股份有限公司 Data synchronous system among storage devices and method thereof
CN107885804A (en) * 2017-11-02 2018-04-06 平安科技(深圳)有限公司 Database synchronization method, application server and computer-readable recording medium

Also Published As

Publication number Publication date
CN1937504A (en) 2007-03-28

Similar Documents

Publication Publication Date Title
CN101821720B (en) Modular wireless communicator
CN105291613B (en) The control method of information processing equipment and information processing equipment
US20060235926A1 (en) Portable communication apparatus
CN102692245B (en) Display device, energy display method
KR101673188B1 (en) Method and apparatus for sharing contents
CN102119382A (en) Bookmarks for flexible integrated access to published material
WO2006011995A3 (en) Method and apparatus for storing and retrieving business contact information in a computer system
CN102282549A (en) System, method, and apparatus for providing telephony and digital media services
JP2001222433A (en) Information recording medium and information processing system and information processor and program recording medium
CN101795241A (en) Bulletin board system, terminal device of bulletin board system, and server device of bulletin board system
CN102549543A (en) User interface
CN104077026A (en) Device and method for displaying execution result of application
CN102270149A (en) Navigation equipment management device and method
CN102623029B (en) Voice information recording apparatus
CN106339745A (en) Memory Device Performing Wireless Communication, Information Processing System, And Non-Transitory Computer Readable Recording Medium
CN100521605C (en) Synchronizing system and method
CN102652427A (en) User information registration program and user information registration method
JP5339159B2 (en) Information management system
CN102047684A (en) Data processing device, data processing system, data processing device control method, control program, and computer-readable recording medium containing the program
KR100834543B1 (en) Method and apparatus for sharing a live presentation file over a network
CN103995640A (en) Information distribution device and information distribution method
CN106201010A (en) Method for adding word bank and device
CN103167402A (en) Real-time guiding system based on movable terminal positions and method thereof
JP2006309543A (en) System, method and program for controlling content distribution
CN205507888U (en) Intelligent management system of house intermediary

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

Granted publication date: 20090729

Termination date: 20110923