CN103002048B - Realize the system and method for file synchronization storage - Google Patents
Realize the system and method for file synchronization storage Download PDFInfo
- Publication number
- CN103002048B CN103002048B CN201210559321.6A CN201210559321A CN103002048B CN 103002048 B CN103002048 B CN 103002048B CN 201210559321 A CN201210559321 A CN 201210559321A CN 103002048 B CN103002048 B CN 103002048B
- Authority
- CN
- China
- Prior art keywords
- user
- under
- content
- catalogue
- display box
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000005540 biological transmission Effects 0.000 claims abstract description 14
- 230000008569 process Effects 0.000 claims abstract description 12
- 238000005516 engineering process Methods 0.000 claims abstract description 11
- 238000012986 modification Methods 0.000 claims description 12
- 230000004048 modification Effects 0.000 claims description 12
- 238000012544 monitoring process Methods 0.000 claims description 11
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 230000003139 buffering effect Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 abstract description 2
- 230000001360 synchronised effect Effects 0.000 description 7
- 230000008901 benefit Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 108010022579 ATP dependent 26S protease Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000009849 deactivation Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000003362 replicative effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Abstract
The invention discloses a kind of system and method realizing file synchronization storage, relate to network communication technology field.System includes server and multiple client;Server is suitable to deposit the content of multiple client upload by user area code insurance and accept client to the download of preserved content and amendment;Client includes display unit, buffer location, login unit, command operating unit and lock unit;Display unit is suitable to generate display box;Buffer location is suitable to by user area code insurance deposit data;Log in unit to be suitable to obtain the listed files of user when user logs in and its information be saved under User Catalog, and show the icon of correspondence;Command operating unit is suitable to process the content of the content under User Catalog and display when receiving operational order;Lock unit is suitable to the content in the listed files of the content that monitors under User Catalog the user that synchronizes this content and server end.The technical scheme of invention i.e. facilitates the operation of user, saves again network transmission resource.
Description
Technical field
The present invention relates to network communication technology field, be specifically related to a kind of system realizing file synchronization storage
And method.
Background technology
File on one computer is all stored in the hard disk of this locality, if it is desired on other computer
Use these files, then need to be carried out by the movable storage device such as portable hard drive or USB flash disk the copy of data
And transfer.
Occur in that some cloud storage softwares at present, copy files to preserve on the server of this software,
File can be obtained from server in strange land.But when using these cloud storage softwares, user also needs
Opening this software and carry out the copy transfer of file, such as, user needs by down operation from server
The file that download is to be revised, passes through upload operation again by amended files passe to clothes after amendment
Business device row.User operation or comparatively laborious.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly
Ground solves a kind of system and method realizing file synchronization storage of the problems referred to above.
According to one aspect of the present invention, it is provided that a kind of system realizing file synchronization storage, this system
Including: server and multiple client;
Described server, is suitable to deposit by user area code insurance the content of the plurality of client upload, and accepts
The plurality of client is to the download of preserved content and amendment;
Described client includes: display unit, buffer location, login unit, command operating unit and
Lock unit;
Described display unit, is suitable to generate display box;
Described buffer location, is suitable to by user area code insurance deposit data;
Described login unit, is suitable to when user logs in, and obtains the file row of described user from server end
Table, is saved in icon attribute information corresponding for file in the listed files of described user in buffer location
Under described User Catalog, and show corresponding with file in described user file list in described display box
Icon;
Described command operating unit, is suitable to grasp the content in described display box receiving described user
During the operational order made, to the content under User Catalog described in described buffer location and described display box
The content of middle display carries out respective handling;
Described lock unit, is suitable to monitor the content under User Catalog described in described buffer location, and
The content synchronized described in described buffer location under User Catalog and the file of the described user of server end
Content in list.
Alternatively, described command operating unit, it is further adapted for performing one or more in following operation:
When pulling instruction into of specified icons is pulled into described display box when receiving, described specified icons is corresponding
Original document be saved in described in described buffer location under User Catalog, and aobvious in described display box
Show described specified icons;
When receiving the hauling-out instruction hauling out specified icons from described display box, first judge described specified icons
Corresponding original document is the most described in described buffer location under User Catalog, if it is, directly
Connect the original document of the described correspondence replicated described in described buffer location under User Catalog to hauling out instruction
Target location, if it is not, then first download the original document of described correspondence to described buffering from server end
Described in district's unit under User Catalog, then replicate described in described buffer location under User Catalog described
Corresponding original document is to the target location hauling out instruction;
The amendment instruction that the original document that specified icons is corresponding in receiving described display box is modified
Time, first judge that the original document of described correspondence is the most described in described buffer location under User Catalog;
If it is, directly according to the institute under User Catalog described in buffer location described in described amendment instruction modification
State the original document of correspondence, and the corresponding attribute information revising described specified icons;If it does not, first from clothes
Business device end downloads the original document of described correspondence under User Catalog described in described buffer location, then root
Original literary composition according to the described correspondence under User Catalog described in buffer location described in described amendment instruction modification
Part, and the corresponding attribute information revising described specified icons;
When receiving the instruction of attribute information of the specified icons revised in described display box, corresponding amendment institute
State the corresponding attribute information of described specified icons under User Catalog described in buffer location, and described
Described specified icons after display attribute information is modified in display box;
When receiving the deletion instruction of the specified icons deleted in described display box, from described buffer location
Described in delete the attribute information of described specified icons under User Catalog, and if there is also the former of correspondence
Beginning file, deletes in the lump, and cancels the described specified icons of display in described display box.
Alternatively, described lock unit, it is further adapted for utilizing the file control of operating system to drive monitoring
Content under User Catalog described in described buffer location.
Alternatively, described lock unit, it is further adapted for contrasting user's mesh described in described buffer location
Content under Lu and the content in the listed files of the described user of server end;If a certain content is in institute
State and exist under User Catalog described in buffer location, and in the listed files of the described user of server end
Do not exist, then by the listed files of the described user of this content uploading to server end;If in a certain
Hold and do not exist under User Catalog described in described buffer location, and the literary composition of the described user of server end
Part list exists, then from the listed files of the described user of server end, downloads this content to described slow
Rush described in district's unit under User Catalog;If a certain content is user's mesh described in described buffer location
The listed files of the described user of record time and server end all exists, but version is inconsistent, then basis
Renewal or down loading updating are uploaded in the new and old execution of version.
Alternatively, described lock unit, it is further adapted for carrying out cryptographic Hash by the byte burst of predetermined number
Contrast;Wherein, the content of contrast includes one or more in herein below: filename, version information,
Data block.
Alternatively, described lock unit, it is further adapted for using multithread breakpoint continued transmission mode to perform described
Upload and downloading process.
Alternatively, described display unit, it is further adapted for using display box described in DirectUI technology to drawing.
According to another aspect of the present invention, it is provided that a kind of method realizing file synchronization storage, the method
Including:
When user logs in, obtain the listed files of described user from server end, by the literary composition of described user
The icon attribute information that in part list, file is corresponding is saved in described in local buffer under User Catalog, and
The icon corresponding with file in described user file list is shown in display box;
When receiving the operational order that the content in described display box is operated of described user, to this
In content under User Catalog described in relief area, ground and display box, the content of display carries out respective handling;
And, the content under User Catalog described in monitoring local buffer, and synchronize in local buffer
Content under described User Catalog and the content in the listed files of the described user of server end;
Wherein, described display box is the window using DirectUI technology to drawing.
Alternatively, described when the operation that the content in described display box is operated receiving described user
During instruction, the content of display in the content under User Catalog described in local buffer and display box is carried out
Respective handling includes one or more of:
When pulling instruction into of specified icons is pulled into described display box when receiving, described specified icons is corresponding
Original document be saved in described in relief area under User Catalog, and in described display box, show described finger
Determine icon;
When receiving the hauling-out instruction hauling out specified icons from described display box, first judge described specified icons
Corresponding original document is the most under User Catalog described in local buffer, if it is, directly answer
The original document of the described correspondence under User Catalog described in local buffer processed is to the target position hauling out instruction
Put, if it is not, then first download the original document of described correspondence to described in local buffer from server end
Under User Catalog, then the original document replicating the described correspondence under User Catalog described in local buffer arrives
Haul out the target location of instruction;
The amendment instruction that the original document that specified icons is corresponding in receiving described display box is modified
Time, first judge that the original document of described correspondence is the most under User Catalog described in local buffer;As
Fruit is, directly according to the described correspondence under User Catalog described in described amendment instruction modification local buffer
Original document, and the corresponding attribute information revising described specified icons;If it does not, first from server end
Download the original document of described correspondence under User Catalog described in local buffer, further according to described amendment
The original document of the described correspondence under User Catalog described in instruction modification local buffer, and corresponding amendment
The attribute information of described specified icons;
When receiving the instruction of attribute information of the specified icons revised in described display box, corresponding amendment is originally
The corresponding attribute information of the described specified icons under User Catalog described in relief area, ground, and in described display
Described specified icons after display attribute information is modified in frame;
When receiving the deletion instruction of the specified icons deleted in described display box, institute from local buffer
State the attribute information deleting described specified icons under User Catalog, and if there is also corresponding original literary composition
Part, deletes in the lump, and cancels the described specified icons of display in described display box.
Alternatively, described in described monitoring local buffer, the content under User Catalog includes: utilize operation
The file control of system drives the content described in monitoring local buffer under User Catalog.
Alternatively, the content under User Catalog described in described synchronization local buffer and the institute of server end
The content stated in the listed files of user includes:
The file of the described user of the content under User Catalog and server end described in contrast local buffer
Content in list;
If a certain content exists under User Catalog described in local buffer, and server end is described
The listed files of user does not exists, then the file of the described user of this content uploading to server end is arranged
In table;
If a certain content does not exists under User Catalog described in local buffer, and the institute of server end
State in the listed files of user and exist, then from the listed files of the described user of server end, download this interior
Hold under User Catalog described in local buffer;
If a certain content is under User Catalog described in local buffer and the described user of server end
Listed files in all exist, but version is inconsistent, then according to the new and old execution of version upload renewal or under
Carry and update operation.
Alternatively, the content under User Catalog described in described contrast local buffer and the institute of server end
The content stated in the listed files of user includes:
Cryptographic Hash contrast is carried out by the byte burst of predetermined number;
The content of contrast includes one or more in herein below: filename, version information, data block.
Alternatively, upload the data transmission with downloading process described in and use multithread breakpoint continued transmission mode.
From above-mentioned, this when user logs according to the present invention, obtain described user from server end
Listed files, icon attribute information corresponding for file in the listed files of described user is saved in this locality
Described in relief area under User Catalog, and display and file pair in described user file list in display box
The icon answered;When receiving the operational order that the content in described display box is operated of described user,
The content of display in content under User Catalog described in local buffer and display box is carried out corresponding position
Reason;And, the content under User Catalog described in monitoring local buffer, and synchronize in local buffer
Content under described User Catalog and the technical side of the content in the listed files of the described user of server end
Case, can all synchronize the server end preserved, it is achieved that the merit of cloud storage software by the operating result of user
Can, and when user logs in, only the icon attribute information of user file is saved in local buffer,
Rather than All Files is all downloaded, therefore save network transmission resource, show in display box
The virtual icon of the All Files of user, is the All Files seeing oneself the most for a user, when
When user carries out practical operation to certain file in display box, then in local buffer and display box
The content of middle display carries out respective handling, and synchronizes the content of local buffer and server end, for
For family just as operation local file.Visible technical scheme i.e. facilitates the operation of user,
Save again network transmission resource.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit for this
Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical parts.In the accompanying drawings:
Fig. 1 shows the stream of a kind of method realizing file synchronization storage
Cheng Tu;
Fig. 2 shows the signal of the display box embedded according to an embodiment of the invention in computer desktop
Figure;
Fig. 3 shows a kind of client realizing file synchronization storage
Structure chart;
Fig. 4 shows the group of a kind of system realizing file synchronization storage
Become schematic diagram.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the stream of a kind of method realizing file synchronization storage
Cheng Tu.As it is shown in figure 1, the execution flow process of client includes in this realizes the method for file synchronization storage:
Step S110, when user logs in, obtains the listed files of described user, by institute from server end
The icon attribute information stating file in the listed files of user corresponding is saved in user described in local buffer
Under catalogue, and in display box, show the icon corresponding with file in described user file list.
In an embodiment of the present invention, server end preserves file in units of user.User first passes through visitor
Family end registered user name and password, what after registering and logging in, client showed user is a window form
Display box, time initial, this display box is empty.User can pull file into this display box after login.
When user logs on client on any computer, the file before pulled into just can be illustrated in display
In frame.
When user logs in, the file download of this user of server end is not got off by client, only
It is that corresponding icon attribute information is saved in described in local buffer under User Catalog, and at display box
The icon that interior display is corresponding, is therefore shown that virtual icon.
Fig. 2 shows the signal of the display box embedded according to an embodiment of the invention in computer desktop
Figure.In one embodiment of the invention, DirectUI technology to drawing display box embedded system table are used
On face, by icon shows corresponding for file in user file list this display box in system desktop.
In fig. 2, the client of the citing present invention is got through with " cloud disk " function, and the ID of user is " Mike ",
After user Mike logs in cloud disk, display box is shown the file of user Mike, the present embodiment is used
Family Mike has three files: entitled " resume " word document, the file of entitled " music "
And the file of entitled " video ".But Fig. 2 is a kind of form of the display box in the present invention,
Can not be as the restriction of the display box in the present invention.
Step S120, when the operation operating the content in described display box receiving described user refers to
When making, the content of display in the content under User Catalog described in local buffer and display box is carried out phase
Should process.
Step S130, the content under User Catalog described in monitoring local buffer, and synchronize locally buffered
Content under User Catalog described in district and the content in the listed files of the described user of server end.
In one embodiment of the invention, the file control utilizing operating system drives monitoring locally buffered
Content under User Catalog described in district.
At server end, deposit the content of client upload by user area code insurance, and accept client to being protected
Deposit download and the amendment of content.
Method shown in Fig. 1, all can synchronize to be saved in server end by the operating result of user, it is achieved
The function of cloud storage software, and when user logs in, only the icon attribute information of user file is protected
Exist in local buffer rather than All Files is all downloaded, therefore saving network transmission money
Source, shows the virtual icon of the All Files of user in display box, sees the most for a user
The All Files of oneself, when user carries out practical operation to certain file in display box, then to this locality
The corresponding contents of display carries out respective handling in relief area and in display box, and synchronize local buffer and
The content of server end, for a user just as operation local file.The technology of the visible present invention
Scheme i.e. facilitates the operation of user, saves again network transmission resource.
In one embodiment of the invention, client executing in step S120 of method shown in Fig. 1
Operate and include one or more of:
(1) user pulls file in display box into: pull finger when receiving into what display box pulled specified icons into
When making, original document corresponding for this specified icons is saved in user's mesh described in local buffer by client
Under record, and in described display box, show described specified icons.
As a example by Fig. 2, when the word document " daily record " on desktop is pulled in display box by user,
This word document " daily record " is copied in local buffer under the catalogue of user Mike by client, and
The icon of word document " daily record " is shown in display box.The most this files passe operates, for
Exactly file is pulled in display box for user.
(2) user hauls out file from display box: refer to when receiving the hauling-out from display box hauling-out specified icons
When making, client first judges that original document corresponding to this specified icons being dragged out is the most locally buffered
Described in district under User Catalog, if it is, that directly replicates in local buffer under this User Catalog is right
The original document answered is to hauling out the target location instructed, if it is not, then first download correspondence from server end
Original document is under this User Catalog in local buffer, then replicates this User Catalog in local buffer
Under corresponding original document to haul out instruction target location.
As a example by Fig. 2, when the icon of word document in display box " resume " is hauled out desktop by user
Time upper, client first judges that the original document (i.e. the actual content of word document) that this icon is corresponding is
No under the catalogue of user Mike, is directly to replicate the use in local buffer in local buffer
Original document under the catalogue of family Mike copies to desktop, if it does not, first download correspondence from server end
Original document in local buffer, then from relief area, copy to desktop.Under the most this file
Carry and replicate operation, exactly file is hauled out in display box for a user.
(3) user revises file content: the original document that specified icons is corresponding in receiving display box enters
When the amendment of row amendment instructs, client first judges that the original document of correspondence is the most in local buffer
Under described User Catalog;If it is, client is directly according to this use in amendment instruction modification local buffer
Corresponding original document under the catalogue of family, and the corresponding attribute information revising this specified icons, such as amendment day
Phase etc.;If it does not, client is first from the original document of server end download correspondence to local buffer
Under this User Catalog, further according to the correspondence under User Catalog described in amendment instruction modification local buffer
Original document, and the corresponding attribute information revising this specified icons.
This operation of client make user can direct editing files in display box, without picture
Existing cloud storage software is such, and user first carries out down operation and downloads files into this locality, enters in this locality
Edlin, the most again by upload operation by the file synchronization that edits to server end.Therefore user
More convenient to operate.
(4) user revises icon attribute information, such as amendment filename etc.: when receiving in amendment display box
During the instruction of the attribute information of specified icons, in client correspondence amendment local buffer under this User Catalog
The corresponding attribute information of this specified icons, and this after display attribute information is modified in display box refer to
Determine icon.
This operation of client makes, user can in display box the attribute information of direct editing icon,
Such as filename etc..
(5) user deletes file: when receiving the deletion instruction of the specified icons deleted in display box, visitor
Family end deletes the attribute information of described specified icons from local buffer under this User Catalog, and if
There is also the original document of correspondence, delete in the lump, and in display box, cancel the described specified icons of display.
This operation of client makes user can directly delete file in display box.
In one embodiment of the invention, this is synchronized described in step S 130 in method shown in Fig. 1
Interior in the listed files of the described user of the content under User Catalog and server end described in relief area, ground
Hold particularly as follows:
1. the literary composition of the described user of the content under User Catalog and server end described in contrast local buffer
Content in part list.Cryptographic Hash contrast can be carried out by byte (such as the 512k) burst of predetermined number,
Comparing result is following 2,3 and 4.The content of contrast includes one or more in herein below: literary composition
Part name, version information, data block etc..
If the most a certain content exists under User Catalog described in local buffer, and the institute of server end
State in the listed files of user and do not exist, then client is by the described user of this content uploading to server end
Listed files in;
If the most a certain content does not exists under User Catalog described in local buffer, and server end
Exist in the listed files of described user, then client is from the listed files of the described user of server end
Download this content under User Catalog described in local buffer;
If the most a certain content is under User Catalog described in local buffer and the described use of server end
All exist in the listed files at family, but version is inconsistent, then client is uploaded according to the new and old execution of version
Update or down loading updating operation.
By above-mentioned simultaneously operating so that the operating result of file in display box can be synchronized to by user
Server end, the file just as user operation server end is the same.
In an embodiment of the present invention, upper transmitting file and the download synchronized is carried out between client and server
The data transmission of file uses multithread breakpoint continued transmission mode.Synchronous efficiency so can be provided, save and use
Family bandwidth, brings more preferable Consumer's Experience.Whole synchronizing process is all completed by client, it is not necessary to
User's deactivation is uploaded and down operation, and it is the same that Consumer's Experience is equivalent to operate desktop local file, convenient
Fast.
Such as, after in the middle of real life, user has a lot of file or music video to use on a computer,
Want to be stored and be then put on other computer continuation editor or use.Need according to existing mode user
Enter in these file copies to other movable storage devices or individually opening an existing cloud storage equipment
Row copy transfer.And use technical scheme, file can be dragged the most on the table to display
In frame, by client self-propelled synchronous local buffer and the data of server end, and can be at display box
Middle direct editing file realizes real-time synchronization, copies without individually opening other equipment.
Fig. 3 shows a kind of client realizing file synchronization storage
Structure chart.As it is shown on figure 3, this client 300 includes: display unit 301, buffer location 302,
Log in unit 303, command operating unit 304 and lock unit 305.
Display unit 301, is suitable to generate display box.
Buffer location 302, is suitable to by user area code insurance deposit data.
Log in unit 303, be suitable to, when user logs in, obtain the listed files of this user from server end,
Icon attribute information corresponding for file in the listed files of this user being saved in buffer location 302 should
Under the catalogue of user, and show in the display box that display unit 301 generates and in this user file list
The icon that file is corresponding.
Command operating unit 304, is suitable to receiving the behaviour that the content in this display box is operated by user
When instructing, to the content of display in the content under this User Catalog in buffer location 302 and display box
Carry out respective handling.
Lock unit 305, is suitable to monitor the content under this User Catalog in buffer location 302, and same
In step buffer location 302 in the listed files of this user of the content under this User Catalog and server end
Content.
In one embodiment of the invention, during command operating unit 304 is adapted for carrying out following operation
Plant or multiple:
When pulling instruction into of specified icons is pulled into display box, by corresponding for this specified icons original when receiving
File is saved in buffer location 302 under this User Catalog, and shows this specified icons in display box;
When receiving the hauling-out instruction hauling out specified icons from display box, first judge that this specified icons is corresponding
Original document under this User Catalog, delays if it is, directly replicate the most in buffer location 302
The target location that the corresponding original document rushed in district's unit 302 under this User Catalog instructs to hauling-out, as
The most no, then first download corresponding original document to this User Catalog buffer location 302 from server end
Under, then in copied buffer area unit 302, corresponding original document under this User Catalog instructs to hauling out
Target location;
When the amendment instruction that the original document that specified icons in receiving display box is corresponding is modified, first
Judge that the original document of correspondence is the most in buffer location 302 under this User Catalog;If it is, it is straight
Connect according to the corresponding original document under this User Catalog in this amendment instruction modification buffer location 302,
And the attribute information of correspondence this specified icons of amendment;If it does not, first download the original of correspondence from server end
File is under this User Catalog in buffer location 302, further according to this amendment instruction modification buffer location
Corresponding original document under this User Catalog in 302, and the corresponding attribute information revising this specified icons;
When the instruction of the attribute information of the specified icons received in amendment display box, corresponding amendment relief area
The corresponding attribute information of this specified icons under this User Catalog in unit 302, and show in display box
Attribute information be modified after this specified icons;
When receiving the deletion instruction of the specified icons deleted in display box, should from buffer location 302
Delete the attribute information of this specified icons under User Catalog, and if there is also correspondence original document,
Delete in the lump, and in display box, cancel the described specified icons of display.
In one embodiment of the invention, lock unit 305 is suitable to utilize the file control of operating system
Drive the content under this User Catalog in monitoring buffer location 302.
In one embodiment of the invention, lock unit 305 should in being suitable to contrast buffer location 302
Content under User Catalog and the content in the listed files of this user of server end;If a certain content
Buffer location 302 exists under this User Catalog, and in the listed files of this user of server end
Do not exist, then by the listed files of this user of this content uploading to server end;If a certain content
This buffer location 302 does not exists under this User Catalog, and the file of this user of server end row
Table exists, then from the listed files of this user of server end, downloads this content to buffer location
In 302 under this User Catalog;If a certain content in buffer location 302 under this User Catalog and
The listed files of this user of server end all exists, but version is inconsistent, then new and old according to version
Renewal or down loading updating are uploaded in execution.
In one embodiment of the invention, lock unit 305 is suitable to enter by the byte burst of predetermined number
Row cryptographic Hash contrasts;Wherein, the content of contrast includes one or more in herein below: filename,
Version information, data block.
In one embodiment of the invention, lock unit 305 is suitable for use with multithread breakpoint continued transmission mode
Execution is uploaded and downloading process.Synchronous efficiency so can be provided, save user bandwidth, bring preferably
Consumer's Experience.
In one embodiment of the invention, display unit 301 be suitable for use with DirectUI technology to drawing show
Show frame.The display such as drawn is as shown in Figure 2.
Fig. 4 shows the group of a kind of system realizing file synchronization storage
Become schematic diagram.As shown in Figure 4, this system realizing file synchronization storage includes: server 400 is with many
Individual client 300 as shown in Figure 3.Server 400 is suitable to deposit each client 300 by user area code insurance
The content uploaded, and accept each client 300 to the download of preserved content and amendment.Client 300
Composition 26S Proteasome Structure and Function as it is shown on figure 3, the most no longer repeat.
In sum, technical scheme makes the user can be very easily by the literary composition on local desktop
Part stores storage and the synchronization realizing file on server.And the file on server can be with this locality
Preservation equally edited by file, and after editor, file understands automatic synchronization to Cloud Server, it is not necessary to user makes
With movable storage device or open other software interfaces can realize easily local file server storage
Use with server file.
It should be understood that
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above,
Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, not
It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one
Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim
The middle more feature of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right
Requirement itself is all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly
Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible
Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used
To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit excludes each other, can use any combination that (this specification is included companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it
Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment
Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power
In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection
With.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more
The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should
Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis
The embodiment of the present invention realize file synchronization storage system in some or all parts some or
Person's repertoire.The present invention be also implemented as the part for performing method as described herein or
Whole equipment or device program (such as, computer program and computer program).Such
The program realizing the present invention can store on a computer-readable medium, or can have one or many
The form of individual signal.Such signal can be downloaded from internet website and obtain, or at carrier signal
Upper offer, or provide with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment,
And those skilled in the art can design replacement in fact without departing from the scope of the appended claims
Execute example.In the claims, should not will be located in any reference marks between bracket to be configured to right is wanted
The restriction asked.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.It is positioned at
Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention is permissible
By means of including the hardware of some different elements and realizing by means of properly programmed computer.?
If listing in the unit claim of equipment for drying, several in these devices can be by same
Hardware branch specifically embodies.Word first, second and third use do not indicate that any order.
Can be title by these word explanations.
Claims (13)
1. realize a system for file synchronization storage, including: server and multiple client;
Described server, is suitable to deposit by user area code insurance the content of the plurality of client upload, and accepts
The plurality of client is to the download of preserved content and amendment;Wherein, described server is with user as list
Position preserves file;
Described client includes: display unit, buffer location, login unit, command operating unit and
Lock unit;
Described display unit, is suitable to generate display box;
Described buffer location, is suitable to by user area code insurance deposit data;
Described login unit, is suitable to when user logs in, and obtains the file row of described user from server end
Table, is saved in icon attribute information corresponding for file in the listed files of described user in buffer location
Under the catalogue of described user, and show corresponding with file in described user file list in described display box
Icon;
Described command operating unit, is suitable to grasp the content in described display box receiving described user
During the operational order made, to the content under the catalogue of user described in described buffer location and described display
In frame, the content of display carries out respective handling;
Described lock unit, is suitable to monitor the content under the catalogue of user described in described buffer location,
And the described user of the content that synchronizes described in described buffer location under the catalogue of user and server end
Content in listed files.
2. the system as claimed in claim 1, wherein, described command operating unit, it is further adapted for holding
One or more in the following operation of row:
When pulling instruction into of specified icons is pulled into described display box when receiving, described specified icons is corresponding
Original document be saved in described in described buffer location under the catalogue of user, and in described display box
Show described specified icons;
When receiving the hauling-out instruction hauling out specified icons from described display box, first judge described specified icons
Corresponding original document the most described in described buffer location under the catalogue of user, if it is,
The original document of the described correspondence directly replicated described in described buffer location under the catalogue of user is to hauling out
The target location of instruction, if it is not, then first download the original document of described correspondence to described from server end
Under the catalogue of user described in buffer location, then replicate the catalogue of user described in described buffer location
Under described correspondence original document to haul out instruction target location;
The amendment instruction that the original document that specified icons is corresponding in receiving described display box is modified
Time, first judge the original document catalogue of user described in described buffer location the most of described correspondence
Under;If it is, directly according to the catalogue of user described in buffer location described in described amendment instruction modification
Under the original document of described correspondence, and the corresponding attribute information revising described specified icons;If it does not,
The original document catalogue to user described in described buffer location of described correspondence is first downloaded from server end
Under, further according to described right under the catalogue of user described in buffer location described in described amendment instruction modification
The original document answered, and the corresponding attribute information revising described specified icons;
When receiving the instruction of attribute information of the specified icons revised in described display box, corresponding amendment institute
State the corresponding attribute information of described specified icons under the catalogue of user described in buffer location, and in institute
State the described specified icons after display attribute information is modified in display box;
When receiving the deletion instruction of the specified icons deleted in described display box, from described buffer location
Described in user catalogue under delete the attribute information of described specified icons, and if there is also correspondence
Original document, deletes in the lump, and cancels the described specified icons of display in described display box.
3. the system as claimed in claim 1, wherein,
Described lock unit, is further adapted for utilizing the file control of operating system to drive and monitors described buffering
Content under the catalogue of user described in district's unit.
4. the system as claimed in claim 1, wherein,
Described lock unit, is further adapted for contrasting described in described buffer location under the catalogue of user
Content in the listed files of the described user of content and server end;If a certain content is in described buffering
Exist under the catalogue of user described in district's unit, and the listed files of the described user of server end is not deposited
, then by the listed files of the described user of this content uploading to server end;If a certain content exists
Do not exist under the catalogue of user described in described buffer location, and the file of the described user of server end
List exists, then from the listed files of the described user of server end, downloads this content to described buffering
Described in district's unit under the catalogue of user;If a certain content is user described in described buffer location
Under catalogue and server end described user listed files in all exist, but version is inconsistent, then root
Renewal or down loading updating is uploaded according to the new and old execution of version.
5. system as claimed in claim 4, wherein,
Described lock unit, is further adapted for carrying out cryptographic Hash contrast by the byte burst of predetermined number;Its
In, the content of contrast includes one or more in herein below: filename, version information, data block.
6. system as claimed in claim 4, wherein,
Described lock unit, be further adapted for use multithread breakpoint continued transmission mode perform described in upload renewal
With down loading updating process.
7. the system as claimed in claim 1, wherein,
Described display unit, is further adapted for using display box described in DirectUI technology to drawing.
8. the method realizing file synchronization storage, including:
When user logs in, obtain the listed files of described user from server end, by the literary composition of described user
The icon attribute information that in part list, file is corresponding is saved under the catalogue of user described in local buffer,
And in display box, show the icon corresponding with file in described user file list;Wherein, described service
Device end preserves file in units of user;
When receiving the operational order that the content in described display box is operated of described user, to this
In content under the catalogue of user described in relief area, ground and display box, the content of display carries out respective handling;
And, the content under the catalogue of user described in monitoring local buffer, and synchronize local buffer
Described in user catalogue under content and server end described user listed files in content;
Wherein, described display box is the window using DirectUI technology to drawing.
9. method as claimed in claim 8, wherein, described when receive described user to described display
When content in frame carries out the operational order operated, under the catalogue of user described in local buffer
Hold and in display box, the content of display carry out respective handling and includes one or more of:
When pulling instruction into of specified icons is pulled into described display box when receiving, described specified icons is corresponding
Original document be saved under the catalogue of user described in local buffer, and show in described display box
Described specified icons;
When receiving the hauling-out instruction hauling out specified icons from described display box, first judge described specified icons
Corresponding original document is the most under the catalogue of user described in local buffer, if it is, directly
The original document of the described correspondence replicated described in local buffer under the catalogue of user is to the mesh hauling out instruction
Cursor position, if it is not, then first from the original document of the server end described correspondence of download to local buffer
Under the catalogue of described user, then replicate the former of described correspondence under the catalogue of user described in local buffer
Beginning file is to the target location hauling out instruction;
The amendment instruction that the original document that specified icons is corresponding in receiving described display box is modified
Time, first judge that the original document of described correspondence is the most under the catalogue of user described in local buffer;
If it is, directly according to described under the catalogue of user described in described amendment instruction modification local buffer
Corresponding original document, and the corresponding attribute information revising described specified icons;If it does not, first from service
Device end downloads the original document of described correspondence under the catalogue of user described in local buffer, further according to institute
The original document of the described correspondence stated described in amendment instruction modification local buffer under the catalogue of user, and
The corresponding attribute information revising described specified icons;
When receiving the instruction of attribute information of the specified icons revised in described display box, corresponding amendment is originally
The corresponding attribute information of the described specified icons under the catalogue of user described in relief area, ground, and described aobvious
Show the described specified icons after display attribute information is modified in frame;
When receiving the deletion instruction of the specified icons deleted in described display box, institute from local buffer
State the attribute information deleting described specified icons under the catalogue of user, and if there is also the original of correspondence
File, deletes in the lump, and cancels the described specified icons of display in described display box.
10. method as claimed in claim 8, wherein, user described in described monitoring local buffer
Catalogue under content include:
Utilize operating system file control drive monitoring local buffer described in user catalogue under interior
Hold.
11. methods as claimed in claim 8, wherein, user described in described synchronization local buffer
Catalogue under content and server end described user listed files in content include:
The literary composition of the described user of the content under the catalogue of user and server end described in contrast local buffer
Content in part list;
If a certain content exists under the catalogue of user described in local buffer, and the institute of server end
State in the listed files of user and do not exist, then by the file of the described user of this content uploading to server end
In list;
If a certain content does not exists under the catalogue of user described in local buffer, and server end
Exist in the listed files of described user, then downloading from the listed files of the described user of server end should
Content is under the catalogue of user described in local buffer;
If a certain content is under the catalogue of user described in local buffer and the described use of server end
The listed files at family all exists, but version is inconsistent, then according to the new and old execution of version upload renewal or
Down loading updating operates.
12. methods as claimed in claim 11, wherein, user described in described contrast local buffer
Catalogue under content and server end described user listed files in content include:
Cryptographic Hash contrast is carried out by the byte burst of predetermined number;
The content of contrast includes one or more in herein below: filename, version information, data block.
13. methods as claimed in claim 12, wherein,
Described uploading updates and the data transmission employing multithread breakpoint continued transmission mode of down loading updating process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210559321.6A CN103002048B (en) | 2012-12-20 | 2012-12-20 | Realize the system and method for file synchronization storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210559321.6A CN103002048B (en) | 2012-12-20 | 2012-12-20 | Realize the system and method for file synchronization storage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103002048A CN103002048A (en) | 2013-03-27 |
CN103002048B true CN103002048B (en) | 2016-09-28 |
Family
ID=47930181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210559321.6A Expired - Fee Related CN103002048B (en) | 2012-12-20 | 2012-12-20 | Realize the system and method for file synchronization storage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103002048B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067466B (en) * | 2012-12-20 | 2015-12-09 | 北京奇虎科技有限公司 | A kind of client and method realizing file synchronization storage |
WO2015062494A1 (en) * | 2013-10-29 | 2015-05-07 | 北京奇虎科技有限公司 | Method and device for sdk uploading and downloading of a file |
CN103716391A (en) * | 2013-12-26 | 2014-04-09 | 星云融创(北京)信息技术有限公司 | Implementation method for content caching and router |
CN106325771A (en) * | 2016-08-23 | 2017-01-11 | 惠州市拉维尼科技有限公司 | Method for processing data of multiple terminals |
CN108667881B (en) * | 2017-03-31 | 2020-08-18 | 中国科学院声学研究所 | Service data synchronization method for intelligent terminal and cloud server |
CN107357864B (en) * | 2017-06-30 | 2021-02-19 | 联想(北京)有限公司 | File processing method and terminal |
CN109597537B (en) * | 2017-09-30 | 2022-04-15 | 腾讯科技(深圳)有限公司 | File synchronization method, device and equipment |
CN108280196A (en) * | 2018-01-28 | 2018-07-13 | 丁超 | File synchronisation method, device and computer storage media |
CN112615918B (en) * | 2020-12-16 | 2023-04-21 | 杭州迪普科技股份有限公司 | Network management system and information synchronization method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102427476A (en) * | 2011-12-13 | 2012-04-25 | 方正国际软件有限公司 | Wireless cloud storage module |
CN102685223A (en) * | 2012-04-28 | 2012-09-19 | 广州市动景计算机科技有限公司 | Cloud-storage-based file processing method and system |
CN102790802A (en) * | 2012-06-28 | 2012-11-21 | 新浪网技术(中国)有限公司 | Method and system for saving file into micro disk |
CN102801786A (en) * | 2012-07-05 | 2012-11-28 | 北京小米科技有限责任公司 | Method, device and system for transmitting file |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100915589B1 (en) * | 2007-07-12 | 2009-09-07 | 엔에이치엔비즈니스플랫폼 주식회사 | Security authentication system and method |
-
2012
- 2012-12-20 CN CN201210559321.6A patent/CN103002048B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102427476A (en) * | 2011-12-13 | 2012-04-25 | 方正国际软件有限公司 | Wireless cloud storage module |
CN102685223A (en) * | 2012-04-28 | 2012-09-19 | 广州市动景计算机科技有限公司 | Cloud-storage-based file processing method and system |
CN102790802A (en) * | 2012-06-28 | 2012-11-21 | 新浪网技术(中国)有限公司 | Method and system for saving file into micro disk |
CN102801786A (en) * | 2012-07-05 | 2012-11-28 | 北京小米科技有限责任公司 | Method, device and system for transmitting file |
Also Published As
Publication number | Publication date |
---|---|
CN103002048A (en) | 2013-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103002048B (en) | Realize the system and method for file synchronization storage | |
CN103067466B (en) | A kind of client and method realizing file synchronization storage | |
US10762075B2 (en) | Database interface agent for a tenant-based upgrade system | |
US10229134B2 (en) | Systems and methods for managing upgrades, migration of user data and improving performance of a cloud-based platform | |
CN104049968B (en) | Popularize the method and system of the metadata driven version management service in environment | |
US8793230B2 (en) | Single-database multiple-tenant software system upgrade | |
US10013337B2 (en) | Feature switches for private cloud and on-premise application components | |
US11086891B2 (en) | Systems and methods for tracking and representing data science data runs | |
CN107667351A (en) | The system and method for the full data backup and resume for being automatically based upon cloud on mobile device | |
CN107710215A (en) | The method and apparatus of mobile computing device safety in test facilities | |
CN103491169A (en) | Method and system for uploading and downloading files | |
US9122734B2 (en) | Transparent data service suitable for modifying data storage capabilities in applications | |
CN102355503A (en) | Client terminal resource management method, resource management device, system and cloud server | |
CN103761107B (en) | Software package customizing device and method | |
US10311030B1 (en) | Method and system for implementing an automated migration tool | |
CN102970369A (en) | Downloading browser and method | |
CN104519078A (en) | A method and a device for realizing cloud storage | |
AU2021365721B2 (en) | Synchronizing an external location | |
CN105320577B (en) | A kind of data backup and resume method, system and device | |
CN114237810A (en) | Cloud computing platform based on BIM integrated delivery mode | |
CN109669692A (en) | Source code sharing method, server, computer readable storage medium and system | |
US9037539B2 (en) | Data synchronization | |
CN113467773A (en) | Method for multiplexing process codes for realizing robot process automation | |
CN113900998A (en) | Multi-secret knowledge management and editing system using cloud object storage | |
CN108008984A (en) | A kind of resource file downloading updating method and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160928 Termination date: 20211220 |