CN101840399B - Computer and method for data synchronization between computer and electronic equipment - Google Patents

Computer and method for data synchronization between computer and electronic equipment Download PDF

Info

Publication number
CN101840399B
CN101840399B CN200910080042XA CN200910080042A CN101840399B CN 101840399 B CN101840399 B CN 101840399B CN 200910080042X A CN200910080042X A CN 200910080042XA CN 200910080042 A CN200910080042 A CN 200910080042A CN 101840399 B CN101840399 B CN 101840399B
Authority
CN
China
Prior art keywords
electronic equipment
computing machine
data field
data
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
CN200910080042XA
Other languages
Chinese (zh)
Other versions
CN101840399A (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 CN200910080042XA priority Critical patent/CN101840399B/en
Publication of CN101840399A publication Critical patent/CN101840399A/en
Application granted granted Critical
Publication of CN101840399B publication Critical patent/CN101840399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a computer and a method for the data synchronization between the computer and electronic equipment. The computer comprises a storage module, a detection module and a synchronization module, wherein the storage module is used for storing internal data information of the computer and the data information acquired by the computer from electronic equipment independent of the computer, the storage module comprises a special storage area and the electronic equipment comprises a data area; the detection module is used for detecting if electronic equipment is connected to the computer in a wired or wireless manner, and when the electronic equipment is connected to the computer in the wired or wireless manner, generating a data synchronization starting command; and the synchronization module is used for synchronizing the contents of the data area to the special storage area according to data synchronization starting command when the electronic equipment is connected to the computer in the wired or wireless manner. The computer of the invention can complete the data synchronization with electronic equipment with the electronic equipment automatically and make the operation simple and use convenient.

Description

A kind of computing machine and with the method for the data sync of electric room
Technical field
The present invention relates to computer realm, be meant especially a kind of computing machine and with the method for the data sync of electric room.
Background technology
Mancarried electronic aid is more and more universal in people's life; People carry these electronic equipments and carry out some simple calculating and data processing when going on business and travel; This phenomenon is along with the appearance of net book (netbook) is also more and more general; Net book is the incomplete notebook computer of a kind of function, and utilizing the online of Wi-Fi WiMAX is its core, and people carry the such electronic equipment of net book and calculate with simple data processing very convenient.But because electronic equipment carries for ease, its volume is often all smaller, because the volume restrictions of electronic equipment does not have too many I/O interface usually, its computing power is not also claimed powerful far away.Therefore, under the situation of conditions being possessed, people are more prone to use the computing machine (being representative with desktop computer) of a complete function to come work in office or family.Data sync between electronic equipment and the desk-top computer becomes particularly important like this, and when being with electronic equipment to work out, the data of being seen were the same with processed content when people hoped to work at home.
In the existing scheme; People usually carry out data sync through manual mode, are about to data and copy on the computing machine from mancarried electronic aid, perhaps data form computer are copied on the mancarried electronic aid; The content that guarantees people's work is continuous and synchronous; Such scheme, complicated operation and need bi-directional synchronization can't be accomplished real seamless link.
In addition, in the existing scheme, also just like the MobileMe scheme of apple; All devices (comprise the both sides that need data sync or equipment) in many ways all carries out synchronously through an online server, wherein during the data change on the method, apparatus, on online server, changes automatically; When the opposing party's equipment connects online server, again the content synchronization on the online server to this opposing party's equipment, in this scheme; Need a special server, equipment need be connected (promptly online), i.e. consumes resources on the net always; Inconvenient again, and this scheme can only be carried out synchronously (like phone directory etc.) to some specific data.
The inventor finds to exist at least in the prior art following problem in realizing process of the present invention:
Data sync scheme between existing mancarried electronic aid and the computing machine, complicated operation, inconvenient user uses.
Summary of the invention
The technical matters that the present invention will solve provides a kind of simple to operate, the convenient computing machine that uses and with the method for the data sync of electric room.
For solving the problems of the technologies described above, embodiments of the invention provide technical scheme following:
On the one hand, a kind of computing machine is provided, comprises:
Memory module is used to store said computer-internal and said computing machine from the data message that the electronic equipment that is independent of said computing machine obtains, and comprises a dedicated memory in the said memory module, and said electronic equipment includes a data field;
Detection module, whether have said electronic equipment through wired or wireless mode be connected to said computing machine, and when having said electronic equipment to be connected to said computing machine through wired or wireless mode, produce one and be used for the synchronous instruction of log-on data if being used for detection;
Synchronization module is used for when having said electronic equipment to be connected to said computing machine through wired or wireless mode, is used for the synchronous instruction of log-on data based on said, and the content in the synchronous said data field is in said dedicated memory.
Preferably, the aforementioned calculation machine also comprises:
First is provided with module, is used for when said detection module has detected said electronic equipment and is connected to said computing machine through wired or wireless mode, and the said data field of said electronic equipment is made as and can not revises through said electronic equipment.
Preferably, the aforementioned calculation machine also comprises:
Second is provided with module, is used for detecting said electronic equipment and said computing machine at said detection module and breaks off when being connected, and said dedicated memory is made as and can not revises.
Preferably, said synchronization module is specially:
First synchronization module; Be used for when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said, with the content of the data field of the synchronous said electronic equipment of mode of full backup in said dedicated memory; Perhaps
Second synchronization module; Be used for when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said, with the content of the data field of the synchronous said electronic equipment of mode of incremental backup in said dedicated memory; Perhaps
The 3rd synchronization module; Be used for when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said, with the content of the data field of the synchronous said electronic equipment of mode of all standing in said dedicated memory.
Preferably, the aforementioned calculation machine also comprises:
Divide module, be used for said dedicated memory is divided at least two subpools;
Said first synchronization module is when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said; Select a said subpool to arrive said subpool, selected subpool when once said electronic equipment was connected with said computing machine before said subpool was different from the content of the data field of the synchronous said electronic equipment of mode of full backup;
Said second synchronization module is when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said; Select a said subpool with the content of the data field of the synchronous said electronic equipment of mode of incremental backup in said subpool, selected subpool when once said electronic equipment was connected with said computing machine before said subpool was different from.
Preferably, the aforementioned calculation machine also comprises:
Write control module, be used for after the synchronous operation of said synchronization module is accomplished, the write operation data being write in the data field and said dedicated memory of said electronic equipment; When the synchronous operation of said synchronization module is not accomplished, the write operation data are write in the data field of said electronic equipment.
Preferably, the aforementioned calculation machine also comprises:
Read control module, be used for after the synchronous operation of said synchronization module is accomplished, from said dedicated memory, reading the read operation data; When the synchronous operation of said synchronization module is not accomplished, from the data field of said electronic equipment, read the read operation data.
Preferably, the aforementioned calculation machine also comprises:
Identification module is used for when said detection module has detected a plurality of electronic equipments and is connected to said computing machine through wired or wireless mode, discerns the ID of data field of ID and the said electronic equipment of said electronic equipment;
Said synchronization module is according to the ID of the data field of the ID of said electronic equipment and said electronic equipment, and the content of the data field of synchronous said electronic equipment is in the said dedicated memory corresponding with said electronic equipment.
On the other hand, the method for the data sync of a kind of computing machine and electric room is provided also, comprises:
Whether detect has the electronic equipment that is independent of said computing machine to be connected to said computing machine through wired or wireless mode;
When having said electronic equipment to be connected to said computing machine, produce one and be used for the synchronous instruction of log-on data through wired or wireless mode;
Be used for the synchronous instruction of log-on data based on said, the content in the data field of synchronous said electronic equipment is in the dedicated memory of said computing machine.
Preferably, said when having said electronic equipment to be connected to said computing machine through wired or wireless mode, also comprise: the said data field of said electronic equipment is made as and can not revises through said electronic equipment.
Preferably, detect said electronic equipment and said computing machine and break off when being connected, also comprise:
Said dedicated memory is made as and can not revises.
Preferably, the content of the data field of said synchronous said electronic equipment is specially to the step in the said dedicated memory:
With the mode of full backup, with the mode of incremental backup or with the mode of all standing, the content of the data field of synchronous said electronic equipment is in said dedicated memory.
Preferably, said method also comprises:
The dedicated memory of said computing machine is divided at least two subpools;
The content of the data field of the said synchronous said electronic equipment of mode with full backup is specially to the step in the said dedicated memory:
Select a said subpool to arrive said subpool, selected subpool when once said electronic equipment was connected with said computing machine before said subpool was different from the content of the data field of the synchronous said electronic equipment of mode of full backup; Perhaps
The content of the data field of the said synchronous said electronic equipment of mode with incremental backup is specially to the step in the said dedicated memory:
Select a said subpool with the content of the data field of the synchronous said electronic equipment of mode of incremental backup in said subpool, selected subpool when once said electronic equipment was connected with said computing machine before said subpool was different from.
Preferably, when having a plurality of said electronic equipments to be connected to said computing machine, also comprise through wired or wireless mode:
Discern the ID of data field of ID and the said electronic equipment of said electronic equipment;
Content in the data field of said synchronous said electronic equipment is specially to the step in the dedicated memory of said computing machine:
According to the ID of the data field of the ID of said electronic equipment and said electronic equipment, the content of the data field of synchronous said electronic equipment is in the said dedicated memory corresponding with said electronic equipment.
Embodiments of the invention have following beneficial effect:
Such scheme passes through a dedicated memory on computers, and operational data all is stored in this data storage areas; When working on computers, before dedicated memory on the computing machine and the data field on the electronic equipment appear at user plane with the image of a unified integration.Such design is carried out automaticdata synchronization optimization scheme for the user has created one with electronic equipment, make no matter the user still stays at home at whilst on tour/office in, the data of work can be connected easily, greatly make things convenient for the user.
Description of drawings
Fig. 1 is an embodiments of the invention computer architecture synoptic diagram;
Fig. 2 is an example structure synoptic diagram of computing machine shown in Figure 1;
Fig. 3 is the structural representation of the synchronization module of Fig. 1 or computing machine shown in Figure 2;
Fig. 4 is another example structure synoptic diagram of computing machine shown in Figure 1;
Fig. 5 is the another example structure synoptic diagram of computing machine shown in Figure 1;
Fig. 6 is an example structure synoptic diagram of computing machine shown in Figure 1;
Fig. 7 is the schematic flow sheet of the data sync of embodiments of the invention computing machine and electric room;
Fig. 8 is the operating process synoptic diagram of computing machine when being connected with electronic equipment;
Fig. 9 is the synoptic diagram of computing machine to the read operation process of data field;
Figure 10 is the synoptic diagram of computing machine to the write operation process of data field.
Embodiment
For technical matters, technical scheme and advantage that embodiments of the invention will be solved is clearer, will combine accompanying drawing and specific embodiment to be described in detail below.
Embodiments of the invention are to computing machine and electronic equipment data sync complicated operation in the prior art; The problem of being inconvenient to use provides the method for the synchrodata of a kind of computing machine and computing machine and electric room, and whole data synchronization process is accomplished automatically; Simple to operate, be user-friendly to.
As shown in Figure 1, embodiments of the invention computing machine 10 comprises:
Memory module 101 is used to store these computing machine 10 inside and this computing machine 10 from the data message that the electronic equipment 20 that is independent of this computing machine 10 obtains, and comprises a dedicated memory 1011 in this memory module 101, and this electronic equipment 20 includes a data field 201; This memory module 101 is storage areas in the memory device of computing machine 10, and this memory device includes but not limited to: hard disk, flash memory, USB memory device, internal memory etc.;
Detection module 102; Whether be used for detecting has this electronic equipment 20 to be connected to this computing machine 10 through wired or wireless mode; And when having this electronic equipment 20 to be connected to this computing machine 10, produce one and be used for the synchronous instruction of log-on data through wired or wireless mode;
Synchronization module 103 is used for when having electronic equipment 20 to be connected to this computing machine 10 through wired or wireless mode, being used for the synchronous instruction of log-on data based on this, and the content of the data field 201 of this electronic equipment 20 is in this dedicated memory 1011 synchronously.
This embodiment is through marking off a dedicated memory 1011 in the memory device of computing machine, user's operational data all is stored in this dedicated memory 1011, when this computing machine 10 is connected with electronic equipment 20; Computing machine 10 automatically with the content synchronization of the data field 201 in this electronic equipment 20 in this dedicated memory 1011; The user need not anyly operate like this, just can see up-to-date data content on computers, at this moment; The user can handle the data content in this dedicated memory 1011; Comprise reading or writing, that is to say, to the user; The data field that can not distinguish this moment operation is the dedicated memory 1011 of computing machine 10 or the data field 201 of electronic equipment 20, and this computing machine 10 just can be correctly stores user's service data into correct position.
The scheme of this embodiment; When electronic equipment 20 is connected with computing machine 10, perhaps break off when connecting; All operations are accomplished automatically, need not user's manual operation, to the user; The dedicated memory 1011 of computing machine 10 and the data field 201 of electronic equipment 20 are with a unified image display, greatly are user-friendly to.
As shown in Figure 2, on the basis of the foregoing description, detect electronic equipment 10 at detection module 102 and be connected to 10 last times of this computing machine through wired or wireless mode, this computing machine 10 also can comprise:
First is provided with module 104, is used for when this detection module 102 has detected electronic equipment 20 and is connected to this computing machine 10 through wired or wireless mode, and the data field 201 of this electronic equipment 20 is made as and can not revises through this electronic equipment 20; Specifically; Can not revising promptly of this data field 201 can be provided with on computing machine 10, also can on electronic equipment 20, be provided with, generally; Be that electronic equipment 20 itself detects when being connected to computing machine 10 main frames; It is just not in running order, just for main frame provides data, can guarantee that like this user's service data entanglement can not take place;
In addition, this data field 201 is made as and can not revises, and common mode is to be made as this electronic equipment 20 unavailable; This moment can not be through these electronic equipment 20 these data fields 201 of operation; Especially can not carry out write operation through 20 pairs of these data fields 202 of this electronic equipment, as this moment this electronic equipment can not carry out any operation, perhaps this data field 201 is for electronic equipment 20; Can be hide, read-only or the forbidding; Hiding, read-only or forbidding can realize that specifically this OptionButton can be a radio button through an OptionButton, also can be the multiselect button.
On the basis of above-mentioned all embodiment, when detection module 102 detected the connection of electronic equipment 10 these computing machines 10 of disconnection, this computing machine 10 also can comprise:
Second is provided with module 105, is used for this detection module 102 and detects this computing machine 10 and electronic equipment 20 and break off when being connected, and the dedicated memory 1011 of this computing machine 10 is made as and can not revises.
This second is provided with module 105 and can be specially an attribute module is set, and is used to detect with this mancarried electronic aid 20 break off when being connected, and the attribute of this dedicated memory 1011 is made as: hiding, read-only or forbid; For this dedicated memory 1011 of computing machine 10 too, this hiding, read-only or forbidding can realize that this OptionButton can be a radio button through an OptionButton, also can be the multiselect button; This dedicated memory 1011 is set as when hiding, and 1011 couples of users are invisible in this dedicated memory; This dedicated memory 1011 is set as when read-only, and this dedicated memory 1011 can only be read, and can not write; When this dedicated memory 1011 was set as forbidding, the 1011 couples of users in this dedicated memory possibly be the options of grey, and the user can only see this elder generation's item, but can't carry out any operation to this option; That is to say; When electronic equipment 20 is connected with computing machine 10 disconnections; The user can not access computer data in the 10 local dedicated memorys 1011, perhaps can read the data in this dedicated memory 1011, but all are invalid to the write operation of this dedicated memory 1011.
Above-mentioned dedicated memory 1011 can not revise option; Other forms of option can also be arranged; This dedicated memory 1011 is broken off when being connected at mancarried electronic aid 20 and computing machine 10, can not revise getting final product, and other forms of option also should belong to present embodiment institute restricted portion.
Break off when being connected at electronic equipment 20, this dedicated memory 1011 is made as and can not revises, guarantee that the data content that the user works during next the connection is connected on computing machine 10 and electronic equipment 20 with computing machine 10.
As shown in Figure 3, on the basis of above-mentioned all embodiment, above-mentioned synchronization module 103 can specifically comprise:
First synchronization module 1031; Be used for when having electronic equipment 20 to be connected to this computing machine 10 through wired or wireless mode; Be used for the synchronous instruction of log-on data based on above-mentioned, with the mode of full backup synchronously the content of the data field 201 of this electronic equipment 20 in the dedicated memory 1011 of this computing machine 10; Full backup is meant: the file that backup is all chosen, and the archive attribute that does not rely on file is confirmed those files of backup, and in backup procedure, any existing mark all is eliminated, and each file all is marked as and backs up; Perhaps
Second synchronization module 1032; Be used for when having electronic equipment 20 to be connected to this computing machine 10 through wired or wireless mode; Be used for the synchronous instruction of log-on data based on above-mentioned, with the mode of incremental backup synchronously the content of the data field 201 of this electronic equipment 20 in this dedicated memory 1011; Incremental backup is meant: be directed to last backup (no matter being which kind of backup), and after the last backup of backup, the file that all change; Certainly the mode that this second synchronization module 1032 also can differential backup synchronously the content of the data field 201 of this electronic equipment 20 in this dedicated memory 1011; And differential backup is the situation of full backup to last backup just; Promptly to backup fully; The All Files that changes after the backup fully of backup last time in the differential backup process, only backs up markd file that those are chosen and file; Perhaps
The 3rd synchronization module 1033; Be used for when having electronic equipment 20 to be connected to this computing machine 10 through wired or wireless mode; Be used for the synchronous instruction of log-on data based on above-mentioned, with the mode of all standing synchronously the content of the data field 201 of this electronic equipment 20 in this dedicated memory 1011; The mode of all standing is meant: electronic equipment 20 and computing machine 10 this when being connected; Be synchronized to new data content in the dedicated memory 1011 of this computing machine 10 and override last time electronic equipment 20 and break off the data content of last preservation when being connected, like direct copy with computing machine 10.
Certainly this synchronization module 103 can also adopt other the method for synchronization; As do not get rid of with authority to the user; Let user's manual mode carry out synchronously, but just let the user manually go to select some options, rather than all manually choose the total data content in the prior art; Carry out the operation of copy and paste then, these modes are also simple to operate and convenient than existing manual synchronization mode.
As shown in Figure 4, on the basis of above-mentioned all embodiment, this computing machine 10 can also comprise:
Divide module 106, be used for the dedicated memory 1011 of this computing machine 10 is divided at least two subpools, when these subpools are used for that electronic equipment 20 is each to be connected with computing machine 10, select a subpool to back up;
Be that above-mentioned first synchronization module 1031 is when having electronic equipment 20 to be connected to this computing machine 10 through wired or wireless mode; Be used for the synchronous instruction of log-on data based on above-mentioned; Select a subpool to arrive this subpool with the content of the data field 201 of synchronous this electronic equipment 20 of mode of full backup; Selected subpool when once said electronic equipment was connected with said computing machine before this subpool was different from; When electronic equipment 20 is connected with computing machine 10 at every turn certainly; Can select a subpool to carry out synchronously successively, selected subpool can be continuous with preceding selected subpool when once being connected when promptly this connected, here can be continuously subpool sequence number continuously or the address continuous; The subpool of selecting when electronic equipment 20 is connected with computing machine 10 at every turn certainly also can be discontinuous; Can on the dedicated memory of computing machine, see the Backup Data of the electronic equipment of a plurality of time points simultaneously like this, the user can select to recover wherein some subpools and recover, and increases ease for use; Perhaps
Above-mentioned second synchronization module 1032 is when having electronic equipment 20 to be connected to this computing machine 10 through wired or wireless mode; Be used for the synchronous instruction of log-on data based on above-mentioned, select a subpool with the mode of incremental backup synchronously the content of the data field 201 of this electronic equipment 20 in this subpool; Selected subpool when once said electronic equipment was connected with said computing machine before same this subpool was different from; When electronic equipment 20 is connected with computing machine 10 at every turn certainly; Can select a subpool to carry out synchronously successively; Be this when connecting selected subpool can be continuous with preceding selected subpool when once being connected, here can be continuously subpool sequence number continuously or the address continuous; The subpool of selecting when electronic equipment 20 is connected with computing machine 10 at every turn certainly also can be discontinuous; Like this when improving backup efficient; Also can be on the dedicated memory 1011 of computing machine 10; See the Backup Data of the electronic equipment 20 of a plurality of time points simultaneously, this Backup Data is to the data of the modification of Last Backup, promptly can let the user know and know the historical record of nearest backup; The user also can select to recover one of them subpool, increases ease for use.
As shown in Figure 5; On the basis of above-mentioned all embodiment, break off when being connected at electronic equipment 20 and computing machine 10, can adopt manual mode with up-to-date to the data sync in the dedicated memory in electronic equipment 20; Also can be that computing machine is accomplished automatically; Computing machine is accomplished this synchronizing process automatically than manual mode, and improved operating efficiency greatly and be user-friendly to, under the mode that computing machine is accomplished automatically:
Aforementioned calculation machine 10 can also comprise following two modules when its dedicated memory 1011 is operated:
Write control module 107; Be used for above-mentioned synchronization module 103 is accomplished the content synchronization of the data field 201 of electronic equipment 20 to the synchronous operation of the dedicated memory 1011 of computing machine 10 after, user's write operation data being write in the data field 201 and this dedicated memory 1011 of this electronic equipment 20; When this electronic equipment 20 was connected with computing machine 10, the data field 201 of this electronic equipment 20 was exercisable (comprising read/write) for computing machine.Here promptly can user's write operation data be write in 201 these dedicated memorys 1011 of neutralization, data field of this electronic equipment 20 simultaneously; Also can user's write operation data be write in the data field 201 of this electronic equipment 20 breaking off with before electronic equipment 20 is connected; But above-mentioned synchronization module 103 with the content synchronization of the data field 201 of electronic equipment 20 when the synchronous operation of the dedicated memory 1011 of computing machine 10 is not accomplished; User's write operation data are write in the data field 201 of this electronic equipment 20; And mark " treat synchronously " so that later on the synchronization of data content in this data field 201 in the dedicated memory 1011 of computing machine 10.
Read control module 108, be used for above-mentioned synchronization module 103 is accomplished the synchronization of data content of the data field 201 of electronic equipment 20 to the synchronous operation of the dedicated memory 1011 of computing machine 10 after, from this dedicated memory 1011, reading the read operation data; Above-mentioned synchronization module 103 with the synchronization of data content of the data field 201 of electronic equipment 20 when the synchronous operation of the dedicated memory 1011 of computing machine 10 is not accomplished; From the data field 201 of this electronic equipment 20, read the read operation data; The data content read of user is up-to-date like this, guarantees the connecting of user job data.
As shown in Figure 6, on the basis of above-mentioned all embodiment, aforementioned calculation machine 10 also can comprise:
Identification module 109; Be used for when above-mentioned detection module 102 has detected a plurality of electronic equipments 20 and is connected to this computing machine 10 through wired or wireless mode; The ID of the ID that discerns this electronic equipment 20 and the data field 201 of this electronic equipment 20; The ID of this electronic equipment 20 can be correlation attribute information such as the title, type of this electronic equipment 20; And the ID of the data field 201 of this electronic equipment 20 can be the filename of a storage area from this electronic equipment 20, dividing, like " My Work Document " etc.;
Above-mentioned synchronization module 103 can be according to the ID of the data field 201 of the ID of this electronic equipment 20 and this electronic equipment 20 when carrying out synchronous operation, synchronously the content of the data field 201 of this electronic equipment 20 to the corresponding dedicated memory 1011 of this electronic equipment in.
In addition, in the above embodiment of the present invention, in the electronic equipment 20; This data field 201 also can be to divide the data storage area or the file that come out from electronic equipment 20; As with the data field of computing machine 10 synchronous operations, break off when being connected with computing machine, the user is stored in operational data in this data field 20; When being connected with computing machine; The content of this data field 201 just is synchronized on the computing machine, and the user can continue to operate on computers, and the data of write operation also can be saved in this data field 201 simultaneously; This electronic equipment 20 comprises with the connected mode of computing machine 10: the network of wired or wireless (Wi-Fi, bluetooth etc.) connects; Perhaps this electronic equipment 20 is as the affiliated disc of modes such as USB of this computing machine 10 or SATA.In addition, this electronic equipment 20 is preferably mancarried electronic aid.
In sum, the above embodiments are through mark off a data storage area respectively on computers with on the electronic equipment, and operational data all is stored in this data storage areas; When working on computers, before dedicated memory on the computing machine and the data field on the electronic equipment appear at user plane with the image of a unified integration.Be that the user only knows that this is the data field, can handle the data of (reading or writing) this data field, and do not distinguish this data field actually on computers still on electronic equipment.Such design is carried out automaticdata synchronization optimization scheme for the user has created one with electronic equipment, make no matter the user still stays at home at whilst on tour/office in, the data of work can be connected easily, greatly make things convenient for the user.
As shown in Figure 7, embodiments of the invention also provide the method for the data sync of a kind of computing machine and electric room, comprising:
Step 71, whether detect has the electronic equipment that is independent of computing machine to be connected to this computing machine through wired or wireless mode;
Step 72 when having electronic equipment to be connected to this computing machine through wired or wireless mode, produces one and is used for the synchronous instruction of log-on data;
Step 73 is used for the synchronous instruction of log-on data based on this, and the content of the data field of this electronic equipment is in this dedicated memory synchronously.
Among this embodiment, when electronic equipment was connected with computing machine, automatic detected electrons equipment and automatic completion were synchronous with electric room; After synchronous operation is accomplished; The data content of seeing on computers is up-to-date, guarantees that the user is on the basis of the data of revising recently, operates; And when breaking off, can't see the data field of electronic equipment, dedicated memory that can not access computer this locality with being connected of computing machine; Perhaps can read the data of local dedicated memory, but all are invalid to the write operation of this dedicated memory, guarantee user's service data connecting.
In the said method, in step 72, when having detected electronic equipment and being connected to this computing machine, also can comprise through wired or wireless mode:
Step 721: the data field of this electronic equipment is made as and can not revises through this electronic equipment, and specifically, promptly can not revising promptly of this data field can be provided with on computers; Also can on electronic equipment, be provided with; Generally, be that electronic equipment itself detects when being connected to main frame, it is just not in running order; Just, can guarantee that like this user's service data entanglement can not take place for main frame provides data;
In addition, this data field is made as and can not revises, and common mode is to be made as this electronic equipment unavailable; This moment can not be through this this data field of electronic equipment operation; Especially can not carry out write operation to this data field through this electronic equipment, as this moment this electronic equipment can not carry out any operation, perhaps this data field is for electronic equipment; Can be hide, read-only or the forbidding; Hiding, read-only or forbidding can realize that specifically this OptionButton can be a radio button through an OptionButton, also can be the multiselect button.
In addition, break off when being connected detecting electronic equipment and computing machine, said method also can comprise:
Step 74 is made as this dedicated memory can not revise.Specifically, can said dedicated memory be made as: hiding, read-only or forbidding.Being somebody's turn to do hiding, read-only or forbidding and can realize that this OptionButton can be a radio button through an OptionButton, also can be the multiselect button; This dedicated memory is set as when hiding, and this dedicated memory is invisible to the user; This dedicated memory is set as when read-only, and this dedicated memory can only be read, and can not write; When this dedicated memory was set as forbidding, this dedicated memory possibly be the option of grey to the user, and the user can only see this elder generation's item, but can't carry out any operation to this option; This dedicated memory is broken off when being connected at electronic equipment and computing machine, be made as and revise, the connecting of operational data when guaranteeing that this electronic equipment is next and being connected with computing machine.
In addition, in above-mentioned steps 73, the content of the data field of this electronic equipment includes but not limited to the mode in this dedicated memory synchronously:
With the mode of full backup synchronously the content of the data field of this electronic equipment in this dedicated memory;
With the mode of incremental backup synchronously the content of the data field of this electronic equipment in this dedicated memory;
With the mode of all standing synchronously the content of the data field of this electronic equipment in this dedicated memory.
Wherein, full backup is meant: the file that backup is all chosen, and the archive attribute that does not rely on file is confirmed those files of backup, and in backup procedure, any existing mark all is eliminated, and each file all is marked as and backs up;
Incremental backup is meant: be directed to last backup (no matter being which kind of backup), and after the last backup of backup, the file that all change; Certainly the mode that this also can differential backup synchronously the content of the data field of this electronic equipment in this dedicated memory; And differential backup is the situation of full backup to last backup just; Promptly to backup fully; The All Files that changes after the backup fully of backup last time in the differential backup process, only backs up markd file that those are chosen and file;
The mode of all standing is meant: electronic equipment and computing machine this when being connected; Be synchronized to data content in the dedicated memory of this computing machine and override the last time electronic equipment and break off the last data content of preserving when being connected with computing machine, promptly direct with copying data in the dedicated memory of computing machine.
Said method also can comprise: this dedicated memory is divided at least two subpools;
Above-mentioned mode with the full backup content of the data field of this electronic equipment synchronously is specially to the step in this dedicated memory:
Select the mode of a subpool with full backup, the content of the data field of this electronic equipment is to subpool, selected subpool when once said electronic equipment was connected with said computing machine before this subpool was different from synchronously;
When electronic equipment is connected with computing machine at every turn certainly; Can select a subpool to carry out synchronously successively; Be this when connecting selected subpool can be continuous with preceding selected subpool when once being connected, here can be continuously subpool sequence number continuously or the address continuous; The subpool of selecting when electronic equipment is connected with computing machine at every turn certainly also can be discontinuous; Can on the dedicated memory of computing machine, see the Backup Data of the electronic equipment of a plurality of time points simultaneously like this, the user can select to recover wherein some subpools and recover, and increases ease for use;
Above-mentioned mode with the incremental backup content of the data field of this electronic equipment synchronously is specially to the step in this dedicated memory:
Select a subpool with the mode of incremental backup synchronously the content of the data field of this electronic equipment in subpool, selected subpool when once said electronic equipment was connected with said computing machine before this subpool was different from;
When electronic equipment is connected with computing machine at every turn certainly; Can select a subpool to carry out synchronously successively; Be this when connecting selected subpool can be continuous with preceding selected subpool when once being connected, here can be continuously subpool sequence number continuously or the address continuous; The subpool of selecting when electronic equipment is connected with computing machine at every turn certainly also can be discontinuous; Like this when improving backup efficient; Also can be on the dedicated memory of computing machine; See the Backup Data of the electronic equipment of a plurality of time points simultaneously, this Backup Data is to the data of the modification of Last Backup, promptly can let the user know and know the historical record of nearest backup; The user also can select to recover one of them subpool, increases ease for use.
In addition, in the above-mentioned steps 72, also comprise when having detected a plurality of electronic equipments through wired or wireless mode connection computing machine:
The ID of the ID that discerns this electronic equipment and the data field of this electronic equipment;
Then in the step 73: according to the ID of the data field of the ID of this electronic equipment and this electronic equipment synchronously the content of the data field of this electronic equipment in this dedicated memory corresponding with this electronic equipment.
The flow process that combines concrete application scenarios explanation said method below again:
1. the operation when electronic equipment is connected on the computing machine, as shown in Figure 8:
Computing machine has judged whether that at first electronic equipment connects; If have; Then discern this electronic equipment, obtain the ID of this electronic equipment, in the dedicated memory with this computing machine of content synchronization of the data field (like My Work Document) of this electronic equipment; Whether if do not have, continuing to detect has electronic equipment to connect.
2. to the read operation of data field, as shown in Figure 9:
Judge whether the content of the data field of synchronous electronic equipment is accomplished to the synchronous operation of the dedicated memory of computing machine; If accomplish; Then from the dedicated memory of computing machine, read the read operation data,, then read the read operation data from the data field of electronic equipment if do not accomplish.
3. to the write operation of data field, shown in figure 10:
Judge whether the content of the data field of synchronous electronic equipment is accomplished to the synchronous operation of the dedicated memory of computing machine; If accomplish; Then the write operation data are write in the data field of computing machine and electronic equipment simultaneously,, then the write operation data are write in the data field of electronic equipment if do not accomplish; And mark " treat synchronously " so that with this data sync in the dedicated memory of computing machine.
To sum up, said method embodiment is through mark off a data storage area respectively on computers with on the electronic equipment, and operational data all is stored in this data storage areas; When working on computers, before dedicated memory on the computing machine and the data field on the electronic equipment appear at user plane with the image of a unified integration.Be that the user only knows that this is the data field, can handle the data of (reading or writing) this data field, and do not distinguish this data field actually on computers still on electronic equipment.Such design is carried out automaticdata synchronization optimization scheme for the user has created one with electronic equipment, make no matter the user still stays at home at whilst on tour/office in, the data of work can be connected easily, greatly make things convenient for the user.
The above is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle according to the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (10)

1. a computing machine is characterized in that, comprising:
Memory module is used to store said computer-internal and said computing machine from the data message that the electronic equipment that is independent of said computing machine obtains, and comprises a dedicated memory in the said memory module, and said electronic equipment includes a data field;
Detection module, whether have said electronic equipment through wired or wireless mode be connected to said computing machine, and when having said electronic equipment to be connected to said computing machine through wired or wireless mode, produce one and be used for the synchronous instruction of log-on data if being used for detection;
Synchronization module is used for when having said electronic equipment to be connected to said computing machine through wired or wireless mode, is used for the synchronous instruction of log-on data based on said, and the content in the synchronous said data field is in said dedicated memory;
Said synchronization module is specially:
First synchronization module; Be used for when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said, with the content of the data field of the synchronous said electronic equipment of mode of full backup in said dedicated memory; Perhaps
Second synchronization module; Be used for when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said, with the content of the data field of the synchronous said electronic equipment of mode of incremental backup in said dedicated memory; Perhaps
The 3rd synchronization module; Be used for when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said, with the content of the data field of the synchronous said electronic equipment of mode of all standing in said dedicated memory; Said computing machine also comprises:
Divide module, be used for said dedicated memory is divided at least two subpools;
Said first synchronization module is when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said; Select a said subpool to arrive said subpool, selected subpool when once said electronic equipment was connected with said computing machine before said subpool was different from the content of the data field of the synchronous said electronic equipment of mode of full backup;
Said second synchronization module is when having said electronic equipment to be connected to said computing machine through wired or wireless mode; Be used for the synchronous instruction of log-on data based on said; Select a said subpool with the content of the data field of the synchronous said electronic equipment of mode of incremental backup in said subpool, selected subpool when once said electronic equipment was connected with said computing machine before said subpool was different from.
2. computing machine according to claim 1 is characterized in that, also comprises:
First is provided with module, is used for when said detection module has detected said electronic equipment and is connected to said computing machine through wired or wireless mode, and the said data field of said electronic equipment is made as and can not revises through said electronic equipment.
3. computing machine according to claim 1 is characterized in that, also comprises:
Second is provided with module, is used for detecting said electronic equipment and said computing machine at said detection module and breaks off when being connected, and said dedicated memory is made as and can not revises.
4. computing machine according to claim 1 is characterized in that, also comprises:
Write control module, be used for after the synchronous operation of said synchronization module is accomplished, the write operation data being write in the data field and said dedicated memory of said electronic equipment; When the synchronous operation of said synchronization module is not accomplished, the write operation data are write in the data field of said electronic equipment.
5. computing machine according to claim 1 is characterized in that, also comprises:
Read control module, be used for after the synchronous operation of said synchronization module is accomplished, from said dedicated memory, reading the read operation data; When the synchronous operation of said synchronization module is not accomplished, from the data field of said electronic equipment, read the read operation data.
6. computing machine according to claim 1 is characterized in that, also comprises:
Identification module is used for when said detection module has detected a plurality of electronic equipments and is connected to said computing machine through wired or wireless mode, discerns the ID of data field of ID and the said electronic equipment of said electronic equipment;
Said synchronization module is according to the ID of the data field of the ID of said electronic equipment and said electronic equipment, and the content of the data field of synchronous said electronic equipment is in the said dedicated memory corresponding with said electronic equipment.
7. the method for the data sync of computing machine and electric room is characterized in that, comprising:
Whether detect has the electronic equipment that is independent of said computing machine to be connected to said computing machine through wired or wireless mode;
When having said electronic equipment to be connected to said computing machine, produce one and be used for the synchronous instruction of log-on data through wired or wireless mode;
Be used for the synchronous instruction of log-on data based on said, the content in the data field of synchronous said electronic equipment is in the dedicated memory of said computing machine;
The content of the data field of said synchronous said electronic equipment is specially to the step in the said dedicated memory: with the mode of full backup, with the mode of incremental backup or with the mode of all standing, the content of the data field of synchronous said electronic equipment is in said dedicated memory; Said method also comprises:
The dedicated memory of said computing machine is divided at least two subpools;
The content of the data field of the said synchronous said electronic equipment of mode with full backup is specially to the step in the said dedicated memory: select a said subpool with the content of the data field of the synchronous said electronic equipment of mode of full backup to said subpool, selected subpool when once said electronic equipment was connected with said computing machine before said subpool was different from; Perhaps
The content of the data field of the said synchronous said electronic equipment of mode with incremental backup is specially to the step in the said dedicated memory: select a said subpool with the content of the data field of the synchronous said electronic equipment of mode of incremental backup in said subpool, selected subpool when once said electronic equipment was connected with said computing machine before said subpool was different from.
8. method according to claim 7 is characterized in that, and is said when having said electronic equipment to be connected to said computing machine through wired or wireless mode, also comprises:
The said data field of said electronic equipment is made as and can not revises through said electronic equipment.
9. method according to claim 7 is characterized in that, detects said electronic equipment and said computing machine and breaks off when being connected, and also comprises:
Said dedicated memory is made as and can not revises.
10. method according to claim 7 is characterized in that, when having a plurality of said electronic equipments to be connected to said computing machine through wired or wireless mode, also comprises:
Discern the ID of data field of ID and the said electronic equipment of said electronic equipment;
Content in the data field of said synchronous said electronic equipment is specially to the step in the dedicated memory of said computing machine:
According to the ID of the data field of the ID of said electronic equipment and said electronic equipment, the content of the data field of synchronous said electronic equipment is in the said dedicated memory corresponding with said electronic equipment.
CN200910080042XA 2009-03-17 2009-03-17 Computer and method for data synchronization between computer and electronic equipment Active CN101840399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910080042XA CN101840399B (en) 2009-03-17 2009-03-17 Computer and method for data synchronization between computer and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910080042XA CN101840399B (en) 2009-03-17 2009-03-17 Computer and method for data synchronization between computer and electronic equipment

Publications (2)

Publication Number Publication Date
CN101840399A CN101840399A (en) 2010-09-22
CN101840399B true CN101840399B (en) 2012-11-21

Family

ID=42743775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910080042XA Active CN101840399B (en) 2009-03-17 2009-03-17 Computer and method for data synchronization between computer and electronic equipment

Country Status (1)

Country Link
CN (1) CN101840399B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008908A (en) * 2006-01-25 2007-08-01 联想(北京)有限公司 Synchronous data copy system and method
CN101271416A (en) * 2007-03-23 2008-09-24 英华达(上海)科技有限公司 Data synchronization method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008908A (en) * 2006-01-25 2007-08-01 联想(北京)有限公司 Synchronous data copy system and method
CN101271416A (en) * 2007-03-23 2008-09-24 英华达(上海)科技有限公司 Data synchronization method

Also Published As

Publication number Publication date
CN101840399A (en) 2010-09-22

Similar Documents

Publication Publication Date Title
CN102821193B (en) A kind of method of prompt operation file of smart mobile phone and smart mobile phone
CN102708024B (en) Portable device and backup method thereof
CN104239315A (en) Picture correlation method
CN102932383B (en) A kind of data transmission method, terminal and terminal system
JP4517827B2 (en) Screen sharing system and information processing apparatus
CN104391625A (en) Chat display method and device
WO2015024494A1 (en) Application sharing method and device
CN105511862A (en) Information copy paste method and copy paste device
CN103098006A (en) Position bar and bookmark function
CN103019814A (en) System and method for managing shear plate
CN101782927A (en) File management method of hand-hold equipment
JP2013196233A (en) Object sharing system and object management program
CN102004747A (en) System with file automatic copying function and device and method thereof
CN104298654A (en) Method and device for displaying information
CN103677517A (en) Method and device for searching pictures
CN102842143B (en) Method for adding data in a working area
CN101546321B (en) Breakpoint continuous transmission method of mobile storage equipment
CN108228168A (en) A kind of revocation, the abstract method of recovery operation
CN107562372A (en) A kind of electronic equipment and its data managing method, computer-readable recording medium
US20160246483A1 (en) Display control device, communication terminal, and display control method
CN101840399B (en) Computer and method for data synchronization between computer and electronic equipment
CN102419758A (en) Data processing system and method
CN109521914A (en) Restore the methods, devices and systems of data in file
CN104104899A (en) Method for information transmission in video conference and device thereof
CN103500090B (en) A kind of mobile device, the method and device of display electronic file page

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