CN103002048A - System and method for achieving file synchronous storage - Google Patents
System and method for achieving file synchronous storage Download PDFInfo
- Publication number
- CN103002048A CN103002048A CN2012105593216A CN201210559321A CN103002048A CN 103002048 A CN103002048 A CN 103002048A CN 2012105593216 A CN2012105593216 A CN 2012105593216A CN 201210559321 A CN201210559321 A CN 201210559321A CN 103002048 A CN103002048 A CN 103002048A
- Authority
- CN
- China
- Prior art keywords
- user
- under
- content
- display box
- user catalog
- 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.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a system and a method for achieving file synchronous storage and relates to the technical field of network communication. The system comprises a server and a plurality of client sides. The server is applicable to storing contents uploaded by the plurality of client sides according to user distinguishing and receiving downloading and modification of the contents stored by the client sides. Each client side comprises a display unit, a buffer area unit, a login unit, an instruction operation unit and a synchronization unit, wherein the display unit is applicable to generating a display frame, the buffer area unit is applicable to storing data according to user distinguishing, the login unit is applicable to obtaining a file list of a user when the user logs in, storing file list information under a user catalog and displaying a corresponding icon, the instruction operation unit is applicable to processing contents under the user catalog and the displayed contents when receiving operation instructions, and the synchronization unit is applicable to monitoring the contents under the user catalog and synchronizing the contents under the user catalog and the contents in the file list of the user of a server side. By adopting the technical scheme, the system and the method facilitate user operation and save network transmission resources.
Description
Technical field
The present invention relates to network communications technology field, be specifically related to a kind of system and method for realizing the file synchronization storage.
Background technology
File on computer all is to be kept in the local hard disk, if want to use these files at other computer, then needs to be undertaken by movable storage devices such as portable hard drive or USB flash disks copy and the transfer of data.
Some cloud storing softwares occur at present, copied files on the server of this software and preserve, can obtain file from server in the strange land.But when using these cloud storing softwares, the user also needs to open the copy transfer that this software carries out file, for example, the user need to download the file that will revise from server by down operation, and is by upload operation that amended File Upload is capable to server again after modification is complete.User's operation is still more loaded down with trivial details.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of a kind of system and method for realizing the file synchronization storage that overcomes the problems referred to above or address the above problem at least in part is provided.
According to one aspect of the present invention, a kind of system that realizes the file synchronization storage is provided, this system comprises: server and a plurality of client;
Described server is suitable for dividing the content of preserving described a plurality of client upload by the user area, and accepts described a plurality of client to download and the modification of preservation content;
Described client comprises: display unit, buffer location, login unit, command operating unit and lock unit;
Described display unit is suitable for generating display box;
Described buffer location is suitable for dividing save data by the user area;
Described login unit, be suitable for when the user logins, obtain described user's listed files from server end, the icon attribute information that described user's listed files File is corresponding is kept at described in the buffer location under the User Catalog, and shows in described display box and described user file icon corresponding to File of tabulating;
Described command operating unit is suitable for when receiving the operational order that described user operates the content in the described display box content that shows in the content under the User Catalog described in the described buffer location and the described display box being carried out respective handling;
Described lock unit is suitable for monitoring the content under the User Catalog described in the described buffer location, and the content in the described user's of the content under the User Catalog described in the synchronous described buffer location and server end the listed files.
Alternatively, described command operating unit is further adapted for one or more in the operation below the execution:
When receive to described display box pull into specified icons pull instruction into the time, the original document that described specified icons is corresponding is saved in described in the described buffer location under the User Catalog, and shows described specified icons in described display box;
When receiving when hauling out the hauling-out instruction of specified icons from described display box, judge that first original document corresponding to described specified icons is whether under User Catalog described in the described buffer location, if, then directly copy the original document of the described correspondence under the User Catalog described in the described buffer location to the target location of hauling out instruction, if not, the original document of then downloading described correspondence from server end first copies the original document of the described correspondence under the User Catalog described in the described buffer location again to the target location of hauling out instruction under User Catalog described in the described buffer location;
During original document corresponding to specified icons made amendment in receiving described display box modify instruction, judge that first the original document of described correspondence is whether under User Catalog described in the described buffer location; If so, directly revise the original document of the described correspondence under the User Catalog described in the described buffer location according to described modify instruction, and the corresponding attribute information of revising described specified icons; If not, download the original document of described correspondence under User Catalog described in the described buffer location from server end first, revise again the original document of the described correspondence under the User Catalog described in the described buffer location according to described modify instruction, and the corresponding attribute information of revising described specified icons;
When receiving the instruction of the attribute information of revising the specified icons in the described display box, the corresponding corresponding attribute information of revising the described specified icons under the User Catalog described in the described buffer location, and the described specified icons after display attribute information is modified in described display box;
When receiving the delete instruction of deleting the specified icons in the described display box, the attribute information of the described specified icons of deletion under the User Catalog described in the described buffer location, if and the original document that also has correspondence, in the lump deletion, and cancellation shows described specified icons in described display box.
Alternatively, described lock unit is further adapted for the file control that utilizes operating system and drives the content under the User Catalog described in the described buffer location of monitoring.
Alternatively, described lock unit is further adapted for the content in described user's the listed files of the content under the User Catalog described in the described buffer location of contrast and server end; If a certain content exists under the User Catalog described in the described buffer location, and does not exist in the described user's of server end the listed files, then with this content uploading in the described user's of server end listed files; If a certain content does not exist under the User Catalog described in the described buffer location, and exist in the described user's of server end the listed files, then from the described user's of server end listed files, download this content under User Catalog described in the described buffer location; If a certain content all exists under User Catalog described in the described buffer location and in the described user's of server end the listed files, but version is inconsistent, then upload according to the new and old execution of version and upgrade or down loading updating.
Alternatively, described lock unit, the byte burst that is further adapted for by default number carries out the cryptographic Hash contrast; Wherein, the content of contrast comprises one or more in the following content: filename, version information, data block.
Alternatively, described lock unit is further adapted for and adopts the multithread breakpoint continued transmission mode to carry out described upload and download process.
Alternatively, described display unit is further adapted for and adopts the described display box of DirectUI technology to drawing.
According to another aspect of the present invention, a kind of method that realizes the file synchronization storage is provided, the method comprises:
When the user logins, obtain described user's listed files from server end, the icon attribute information that described user's listed files File is corresponding is kept at described in the local buffer under the User Catalog, and shows in display box and described user file icon corresponding to File of tabulating;
When operational order that the content in the described display box of receiving described user operates, the content that shows in the content under the User Catalog described in the local buffer and the display box is carried out respective handling;
And, the content described in the monitoring local buffer under the User Catalog, and the content in the described user's of the content under the User Catalog described in the synchronous local buffer and server end the listed files;
Wherein, described display box is for adopting the window of DirectUI technology to drawing.
Alternatively, during operational order that the described content in the described display box when receiving described user operates, to the content that shows in the content under the User Catalog described in the local buffer and the display box carry out respective handling comprise following one or more:
When receive to described display box pull into specified icons pull instruction into the time, the original document that described specified icons is corresponding is saved in described in the buffering area under the User Catalog, and shows described specified icons in described display box;
When receiving when hauling out the hauling-out instruction of specified icons from described display box, judge that first original document corresponding to described specified icons is whether under User Catalog described in the local buffer, if, then directly copy the original document of the described correspondence under the User Catalog described in the local buffer to the target location of hauling out instruction, if not, the original document of then downloading described correspondence from server end first copies the original document of the described correspondence under the User Catalog described in the local buffer again to the target location of hauling out instruction under User Catalog described in the local buffer;
During original document corresponding to specified icons made amendment in receiving described display box modify instruction, judge that first the original document of described correspondence is whether under User Catalog described in the local buffer; If so, directly revise the original document of the described correspondence under the User Catalog described in the local buffer according to described modify instruction, and the corresponding attribute information of revising described specified icons; If not, download the original document of described correspondence under User Catalog described in the local buffer from server end first, revise again the original document of the described correspondence under the User Catalog described in the local buffer according to described modify instruction, and the corresponding attribute information of revising described specified icons;
When receiving the instruction of the attribute information of revising the specified icons in the described display box, the corresponding corresponding attribute information of revising the described specified icons under the User Catalog described in the local buffer, and the described specified icons after display attribute information is modified in described display box;
When receiving the delete instruction of deleting the specified icons in the described display box, the attribute information of the described specified icons of deletion under the User Catalog described in the local buffer, if and also have corresponding original document, in the lump deletion, and cancellation shows described specified icons in described display box.
Alternatively, the content under the User Catalog comprises described in the described monitoring local buffer: utilize the file control of operating system to drive the content under the User Catalog described in the monitoring local buffer.
Alternatively, the content in the described user's of the content under the User Catalog and server end the listed files comprises described in the described synchronous local buffer:
Content in content described in the contrast local buffer under the User Catalog and the described user's of server end the listed files;
If a certain content exists under User Catalog described in the local buffer, and does not exist in the described user's of server end the listed files, then with this content uploading in the described user's of server end listed files;
If a certain content does not exist, and exists in the described user's of server end the listed files, then from the described user's of server end listed files, download this content under User Catalog described in the local buffer under User Catalog described in the local buffer;
If a certain content all exists under User Catalog described in the local buffer and in the described user's of server end the listed files, but version is inconsistent, then upload according to the new and old execution of version and upgrade or the down loading updating operation.
Alternatively, the content in the described user's of the content under the User Catalog and server end the listed files comprises described in the described contrast local buffer:
Byte burst by default number carries out the cryptographic Hash contrast;
The content of contrast comprises one or more in the following content: filename, version information, data block.
Alternatively, the transfer of data of described upload and download process adopts the multithread breakpoint continued transmission mode.
By as seen above-mentioned, this when the user logins according to the present invention, obtain described user's listed files from server end, the icon attribute information that described user's listed files File is corresponding is kept at described in the local buffer under the User Catalog, and shows in display box and described user file icon corresponding to File of tabulating; When operational order that the content in the described display box of receiving described user operates, the content that shows in the content under the User Catalog described in the local buffer and the display box is carried out respective handling; And, content described in the monitoring local buffer under the User Catalog, and the technical scheme of the content in the described user's of the content under the User Catalog described in the synchronous local buffer and server end the listed files, the server end that user's operating result all can be preserved synchronously, realized the function of cloud storing software, and when the user logins, only the icon attribute information with user file is kept in the local buffer, rather than All Files all downloaded, therefore saved network transmission resource, the virtual icon that in display box, shows user's All Files, therefore be the All Files of seeing oneself for the user, when the user carries out practical operation to certain file in the display box, again in the local buffer and the content that shows in the display box carry out respective handling, and the synchronous content of local buffer and server end, for the user just as the operation local file.As seen technical scheme of the present invention has namely made things convenient for user's operation, has saved again network transmission resource.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of realizing the method for file synchronization storage;
Fig. 2 shows the schematic diagram of the display box on the embeddeding computer desktop according to an embodiment of the invention;
Fig. 3 shows a kind of according to an embodiment of the invention structure chart of realizing the client of file synchronization storage;
Fig. 4 shows a kind of according to an embodiment of the invention composition schematic diagram of realizing the system of file synchronization storage.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of realizing the method for file synchronization storage.As shown in Figure 1, the execution flow process of client comprises in the method for this realization file synchronization storage:
Step S110, when the user logins, obtain described user's listed files from server end, the icon attribute information that described user's listed files File is corresponding is kept at described in the local buffer under the User Catalog, and shows in display box and described user file icon corresponding to File of tabulating.
In an embodiment of the present invention, server end is preserved file take the user as unit.The user is first by client registered user name and password, and the rear client shows of registration and login is the display box of a window form to the user's, and this display box is empty when initial.The user can pull file into to this display box after login.When the user logined client again on any computer, the file of before pulling into just can be illustrated in the display box.
When the user logins, the file that client does not have this user of server end downloads, just the icon attribute information of correspondence is kept at described in the local buffer under the User Catalog, and shows corresponding icon in display box, what therefore show is virtual icon.
Fig. 2 shows the schematic diagram of the display box on the embeddeding computer desktop according to an embodiment of the invention.In one embodiment of the invention, adopt on DirectUI technology to drawing display box and the embedded system desktop, user file is tabulated in icon shows this display box on system desktop corresponding to File.In Fig. 2, the client of the present invention of giving an example is got through with " cloud dish " function, user's ID is " Mike ", as user Mike login Yun Panhou, show the file of user Mike in display box, user Mike has three files in the present embodiment: name is called " resume " word document, name is called the file of " music " and the file that name is called " video ".But Fig. 2 is a kind of form of the display box among the present invention, can not be as the restriction of the display box among the present invention.
Step S120 when operational order that the content in the described display box of receiving described user operates, carries out respective handling to the content that shows in the content under the User Catalog described in the local buffer and the display box.
Step S130, the content described in the monitoring local buffer under the User Catalog, and the content in the described user's of the content under the User Catalog described in the synchronous local buffer and server end the listed files.
In one embodiment of the invention, utilize the file control of operating system to drive the content under the User Catalog described in the monitoring local buffer.
At server end, divide the content of preserving client upload by the user area, and accept client to download and the modification of preservation content.
Method shown in Figure 1, user's operating result all can be kept at server end synchronously, realized the function of cloud storing software, and when the user logins, only the icon attribute information with user file is kept in the local buffer, rather than All Files all downloaded, therefore saved network transmission resource, the virtual icon that in display box, shows user's All Files, therefore be the All Files of seeing oneself for the user, when the user carries out practical operation to certain file in the display box, again in the local buffer and the corresponding contents that shows in the display box carry out respective handling, and the synchronous content of local buffer and server end, for the user just as the operation local file.As seen technical scheme of the present invention has namely made things convenient for user's operation, has saved again network transmission resource.
In one embodiment of the invention, among the step S120 of method shown in Figure 1 the operation of client executing comprise following one or more:
(1) user pulls file in the display box into: when receive to display box pull into specified icons pull instruction into the time, the client original document that this specified icons is corresponding is saved in described in the local buffer under the User Catalog, and shows described specified icons in described display box.
Take Fig. 2 as example, when the user pulls into the word document " daily record " on the desktop in the display box, client copies to this word document " daily record " under the catalogue of user Mike in the local buffer, and shows the icon of word document " daily record " in display box.Therefore this File Upload operation is pulled file in the display box into for the user exactly.
(2) user hauls out file from display box: when receiving when hauling out the hauling-out instruction of specified icons from display box, client judges that first original document corresponding to this specified icons of being hauled out is whether under User Catalog described in the local buffer, if, then directly copy the original document of the correspondence under this User Catalog in the local buffer to the target location of hauling out instruction, if not, then download under corresponding original document this User Catalog to the local buffer from server end first, copy again in the local buffer the corresponding original document under this User Catalog to the target location of hauling out instruction.
Take Fig. 2 as example, when the user with display box in the icon of word document " resume " when hauling out on the desktop, client judges that first original document corresponding to this icon (being the actual content of word document) is whether in local buffer under the catalogue of user Mike, that the original document that then directly copies under the catalogue of the user Mike in the local buffer copies to desktop, if not, download corresponding original document to local buffer from server end first, from buffering area, copy to again desktop.Therefore download and the copy operation of this file are hauled out file in the display box for the user exactly.
(3) user's revised file content: during original document corresponding to specified icons made amendment in receiving display box modify instruction, client judges that first corresponding original document is whether under User Catalog described in the local buffer; If so, client is directly revised the original document of the correspondence under this User Catalog in the local buffer according to modify instruction, and the corresponding attribute information of revising this specified icons, as revising the date etc.; If not, client is downloaded under corresponding original document this User Catalog to the local buffer from server end first, revise again the original document of the correspondence under the User Catalog described in the local buffer according to modify instruction, and the corresponding attribute information of revising this specified icons.
This operation of client is so that the user can be directly at display box inediting file, and do not need as existing cloud storing software, the user carries out first down operation and downloads files into this locality, edit in this locality, and then by upload operation the file synchronization that edits is arrived server end.Therefore the user's is more convenient to operate.
(4) user revises icon attribute information, such as the revised file name etc.: when receiving the instruction of the attribute information of revising the specified icons in the display box, the corresponding corresponding attribute information of revising this specified icons under this User Catalog in the local buffer of client, and this specified icons after display attribute information is modified in display box.
This operation of client so that, the user can be in display box the attribute information of direct editing icon, such as filename etc.
(5) user's deleted file: when receiving the delete instruction of deleting the specified icons in the display box, client is deleted the attribute information of described specified icons under this User Catalog from local buffer, if and the original document that also has correspondence, in the lump deletion, and cancellation shows described specified icons in display box.
This operation of client so that the user can be in display box direct deleted file.
In one embodiment of the invention, content in the described user's of the content under the User Catalog described in the synchronous local buffer and server end the listed files is specially described in the step S 130 in the method shown in Figure 1:
1. the content in the content described in the contrast local buffer under the User Catalog and the described user's of server end the listed files.Can carry out by byte (such as the 512k) burst of default number the cryptographic Hash contrast, comparing result is following 2,3 and 4.The content of contrast comprises one or more in the following content: filename, version information, data block etc.
2. if a certain content exists under User Catalog described in the local buffer, and does not exist in the described user's of server end the listed files, then client with this content uploading in the described user's of server end listed files;
3. if a certain content does not exist under User Catalog described in the local buffer, and exist in the described user's of server end the listed files, then client is downloaded this content under User Catalog described in the local buffer from the described user's of server end listed files;
4. if a certain content all exists under User Catalog described in the local buffer and in the described user's of server end the listed files, but version is inconsistent, then client is uploaded according to the new and old execution of version and is upgraded or the down loading updating operation.
By above-mentioned simultaneous operation, so that the user can be synchronized to server end to the operating result of display box File, just as the file of user's operations server end.
The transfer of data of in an embodiment of the present invention, carrying out synchronous upload file and download file between the client and server adopts the multithread breakpoint continued transmission mode.Can provide synchronous efficiency like this, save user bandwidth, bring better user to experience.Whole synchronizing process is all finished by client, does not need the operation of user's deactivation upload and download, and it is the same, convenient and swift that user's experience is equivalent to operate the desktop local file.
For example, a lot of files or music video are arranged after a computer uses user in the middle of the real life, want then its storage is put into continuation editor or use on other computer.Need to be with these file copies in other movable storage devices or open separately an existing cloud memory device and carry out copy transfer according to existing mode user.And use technical scheme of the present invention, can directly drag on the table file in display box, by the data of client self-propelled synchronous local buffer and server end, and can in display box, realize real-time synchronization by the direct editing file, not copy and do not need to open separately other equipment.
Fig. 3 shows a kind of according to an embodiment of the invention structure chart of realizing the client of file synchronization storage.As shown in Figure 3, this client 300 comprises: display unit 301, buffer location 302, login unit 303, command operating unit 304 and lock unit 305.
Display unit 301 is suitable for generating display box.
Buffer location 302 is suitable for dividing save data by the user area.
Login unit 303, be suitable for when the user logins, obtain this user's listed files from server end, the icon attribute information that this user's listed files File is corresponding is kept under the catalogue of this user in the buffer location 302, and shows the icon corresponding with this user file tabulation File in the display box that display unit 301 generates.
Command operating unit 304 is suitable for when receiving the operational order that the user operates the content in this display box the content that shows in the content under this User Catalog in the buffer location 302 and the display box being carried out respective handling.
Lock unit 305 is suitable for monitoring the content under this User Catalog in the buffer location 302, and the content in this user's of the content under this User Catalog and server end the listed files in the unit, sync buffering district 302.
In one embodiment of the invention, command operating unit 304 is suitable for carrying out one or more in the following operation:
When receive to display box pull into specified icons pull instruction into the time, the original document that this specified icons is corresponding is saved in the buffer location 302 under this User Catalog, and shows this specified icons in display box;
When receiving when hauling out the hauling-out instruction of specified icons from display box, judge that first original document corresponding to this specified icons is whether in buffer location 302 under this User Catalog, if, then the original document of the correspondence under this User Catalog arrives the target location of hauling out instruction in the direct copied buffer area unit 302, if not, then download corresponding original document to the buffer location 302 under this User Catalog from server end first, again in the copied buffer area unit 302 original document of the correspondence under this User Catalog to the target location of hauling out instruction;
During original document corresponding to specified icons made amendment in receiving display box modify instruction, judge that first corresponding original document is whether in buffer location 302 under this User Catalog; If so, directly revise the original document of the correspondence under this User Catalog in the buffer location 302 according to this modify instruction, and the corresponding attribute information of revising this specified icons; If not, download corresponding original document to the buffer location 302 under this User Catalog from server end first, revise again the original document of the correspondence under this User Catalog in the buffer location 302 according to this modify instruction, and the corresponding attribute information of revising this specified icons;
When receiving the instruction of the attribute information of revising the specified icons in the display box, the corresponding corresponding attribute information of revising this specified icons under this User Catalog in the buffer location 302, and this specified icons after display attribute information is modified in display box;
When receiving the delete instruction of deleting the specified icons in the display box, the attribute information of this specified icons of deletion under this User Catalog from buffer location 302, if and also have corresponding original document, in the lump deletion, and cancellation shows described specified icons in display box.
In one embodiment of the invention, lock unit 305 is suitable for utilizing the file control of operating system to drive the content under this User Catalog in the monitoring buffer location 302.
In one embodiment of the invention, lock unit 305 is suitable for contrasting the content in the listed files of this user of the content under this User Catalog and server end in the buffer location 302; If a certain content exists under this User Catalog in buffer location 302, and does not exist in this user's of server end the listed files, then with this content uploading in this user's of server end listed files; If a certain content does not exist under this User Catalog, and exists in this user's of server end the listed files, then from this user's of server end listed files, download this content in the buffer location 302 under this User Catalog in this buffer location 302; If a certain content all exists under this User Catalog and in this user's of server end the listed files in buffer location 302, but version is inconsistent, then upload according to the new and old execution of version and upgrade or down loading updating.
In one embodiment of the invention, lock unit 305 is suitable for carrying out the cryptographic Hash contrast by the byte burst of default number; Wherein, the content of contrast comprises one or more in the following content: filename, version information, data block.
In one embodiment of the invention, lock unit 305 is suitable for adopting the multithread breakpoint continued transmission mode to carry out the upload and download process.Can provide synchronous efficiency like this, save user bandwidth, bring better user to experience.
In one embodiment of the invention, display unit 301 is suitable for adopting DirectUI technology to drawing display box.Example shows as shown in Figure 2 as drawn.
Fig. 4 shows a kind of according to an embodiment of the invention composition schematic diagram of realizing the system of file synchronization storage.As shown in Figure 4, the system of this realization file synchronization storage comprises: server 400 and a plurality of as shown in Figure 3 client 300.Server 400 is suitable for dividing the preservation content that each client 300 is uploaded by the user area, and accepts download and the modification of 300 pairs of contents of preserving of each client.The composition 26S Proteasome Structure and Function of client 300 is no longer repeated as shown in Figure 3 here.
In sum, technical scheme of the present invention is so that the user can store the file on the local desktop into the storage of realization file on the server very easily with synchronously.And the file on the server can equally with local file be edited preservation, edit complete rear file can automatic synchronization to Cloud Server, need not the user and use movable storage device or open other software interfaces and can realize easily the server stores of local file and the use of server file.
Need to prove:
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this specification (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the system of the realization file synchronization of embodiment of the invention storage.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.
Claims (13)
1. a system that realizes the file synchronization storage comprises: server and a plurality of client;
Described server is suitable for dividing the content of preserving described a plurality of client upload by the user area, and accepts described a plurality of client to download and the modification of preservation content;
Described client comprises: display unit, buffer location, login unit, command operating unit and lock unit;
Described display unit is suitable for generating display box;
Described buffer location is suitable for dividing save data by the user area;
Described login unit, be suitable for when the user logins, obtain described user's listed files from server end, the icon attribute information that described user's listed files File is corresponding is kept at described in the buffer location under the User Catalog, and shows in described display box and described user file icon corresponding to File of tabulating;
Described command operating unit is suitable for when receiving the operational order that described user operates the content in the described display box content that shows in the content under the User Catalog described in the described buffer location and the described display box being carried out respective handling;
Described lock unit is suitable for monitoring the content under the User Catalog described in the described buffer location, and the content in the described user's of the content under the User Catalog described in the synchronous described buffer location and server end the listed files.
2. the system as claimed in claim 1, wherein, described command operating unit is further adapted for and carries out in the following operation one or more:
When receive to described display box pull into specified icons pull instruction into the time, the original document that described specified icons is corresponding is saved in described in the described buffer location under the User Catalog, and shows described specified icons in described display box;
When receiving when hauling out the hauling-out instruction of specified icons from described display box, judge that first original document corresponding to described specified icons is whether under User Catalog described in the described buffer location, if, then directly copy the original document of the described correspondence under the User Catalog described in the described buffer location to the target location of hauling out instruction, if not, the original document of then downloading described correspondence from server end first copies the original document of the described correspondence under the User Catalog described in the described buffer location again to the target location of hauling out instruction under User Catalog described in the described buffer location;
During original document corresponding to specified icons made amendment in receiving described display box modify instruction, judge that first the original document of described correspondence is whether under User Catalog described in the described buffer location; If so, directly revise the original document of the described correspondence under the User Catalog described in the described buffer location according to described modify instruction, and the corresponding attribute information of revising described specified icons; If not, download the original document of described correspondence under User Catalog described in the described buffer location from server end first, revise again the original document of the described correspondence under the User Catalog described in the described buffer location according to described modify instruction, and the corresponding attribute information of revising described specified icons;
When receiving the instruction of the attribute information of revising the specified icons in the described display box, the corresponding corresponding attribute information of revising the described specified icons under the User Catalog described in the described buffer location, and the described specified icons after display attribute information is modified in described display box;
When receiving the delete instruction of deleting the specified icons in the described display box, the attribute information of the described specified icons of deletion under the User Catalog described in the described buffer location, if and the original document that also has correspondence, in the lump deletion, and cancellation shows described specified icons in described display box.
3. the system as claimed in claim 1, wherein,
Described lock unit is further adapted for the file control that utilizes operating system and drives the content under the User Catalog described in the described buffer location of monitoring.
4. to go to 1 described system such as right, wherein,
Described lock unit is further adapted for the content in described user's the listed files of the content under the User Catalog described in the described buffer location of contrast and server end; If a certain content exists under the User Catalog described in the described buffer location, and does not exist in the described user's of server end the listed files, then with this content uploading in the described user's of server end listed files; If a certain content does not exist under the User Catalog described in the described buffer location, and exist in the described user's of server end the listed files, then from the described user's of server end listed files, download this content under User Catalog described in the described buffer location; If a certain content all exists under User Catalog described in the described buffer location and in the described user's of server end the listed files, but version is inconsistent, then upload according to the new and old execution of version and upgrade or down loading updating.
5. system as claimed in claim 4, wherein,
Described lock unit, the byte burst that is further adapted for by default number carries out the cryptographic Hash contrast; Wherein, the content of contrast comprises one or more in the following content: filename, version information, data block.
6. system as claimed in claim 4, wherein,
Described lock unit is further adapted for and adopts the multithread breakpoint continued transmission mode to carry out described upload and download process.
7. the system as claimed in claim 1, wherein,
Described display unit is further adapted for and adopts the described display box of DirectUI technology to drawing.
8. method that realizes file synchronization storage comprises:
When the user logins, obtain described user's listed files from server end, the icon attribute information that described user's listed files File is corresponding is kept at described in the local buffer under the User Catalog, and shows in display box and described user file icon corresponding to File of tabulating;
When operational order that the content in the described display box of receiving described user operates, the content that shows in the content under the User Catalog described in the local buffer and the display box is carried out respective handling;
And, the content described in the monitoring local buffer under the User Catalog, and the content in the described user's of the content under the User Catalog described in the synchronous local buffer and server end the listed files;
Wherein, described display box is for adopting the window of DirectUI technology to drawing.
9. method as claimed in claim 8, wherein, during operational order that the described content in the described display box when receiving described user operates, to the content that shows in the content under the User Catalog described in the local buffer and the display box carry out respective handling comprise following one or more:
When receive to described display box pull into specified icons pull instruction into the time, the original document that described specified icons is corresponding is saved in described in the local buffer under the User Catalog, and shows described specified icons in described display box;
When receiving when hauling out the hauling-out instruction of specified icons from described display box, judge that first original document corresponding to described specified icons is whether under User Catalog described in the local buffer, if, then directly copy the original document of the described correspondence under the User Catalog described in the local buffer to the target location of hauling out instruction, if not, the original document of then downloading described correspondence from server end first copies the original document of the described correspondence under the User Catalog described in the local buffer again to the target location of hauling out instruction under User Catalog described in the local buffer;
During original document corresponding to specified icons made amendment in receiving described display box modify instruction, judge that first the original document of described correspondence is whether under User Catalog described in the local buffer; If so, directly revise the original document of the described correspondence under the User Catalog described in the local buffer according to described modify instruction, and the corresponding attribute information of revising described specified icons; If not, download the original document of described correspondence under User Catalog described in the local buffer from server end first, revise again the original document of the described correspondence under the User Catalog described in the local buffer according to described modify instruction, and the corresponding attribute information of revising described specified icons;
When receiving the instruction of the attribute information of revising the specified icons in the described display box, the corresponding corresponding attribute information of revising the described specified icons under the User Catalog described in the local buffer, and the described specified icons after display attribute information is modified in described display box;
When receiving the delete instruction of deleting the specified icons in the described display box, the attribute information of the described specified icons of deletion under the User Catalog described in the local buffer, if and also have corresponding original document, in the lump deletion, and cancellation shows described specified icons in described display box.
10. method as claimed in claim 8, wherein, the content described in the described monitoring local buffer under the User Catalog comprises:
Utilize the file control of operating system to drive the content under the User Catalog described in the monitoring local buffer.
11. method as claimed in claim 8, wherein, the content in the content described in the described synchronous local buffer under the User Catalog and the described user's of server end the listed files comprises:
Content in content described in the contrast local buffer under the User Catalog and the described user's of server end the listed files;
If a certain content exists under User Catalog described in the local buffer, and does not exist in the described user's of server end the listed files, then with this content uploading in the described user's of server end listed files;
If a certain content does not exist, and exists in the described user's of server end the listed files, then from the described user's of server end listed files, download this content under User Catalog described in the local buffer under User Catalog described in the local buffer;
If a certain content all exists under User Catalog described in the local buffer and in the described user's of server end the listed files, but version is inconsistent, then upload according to the new and old execution of version and upgrade or the down loading updating operation.
12. method as claimed in claim 11, wherein, the content in the content described in the described contrast local buffer under the User Catalog and the described user's of server end the listed files comprises:
Byte burst by default number carries out the cryptographic Hash contrast;
The content of contrast comprises one or more in the following content: filename, version information, data block.
13. method as claimed in claim 12, wherein,
The transfer of data of described upload and download process adopts the multithread breakpoint continued transmission mode.
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 true CN103002048A (en) | 2013-03-27 |
CN103002048B 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) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067466A (en) * | 2012-12-20 | 2013-04-24 | 北京奇虎科技有限公司 | Client-side and method capable of achieving synchronic file storage |
CN103716391A (en) * | 2013-12-26 | 2014-04-09 | 星云融创(北京)信息技术有限公司 | Implementation method for content caching and router |
WO2015062494A1 (en) * | 2013-10-29 | 2015-05-07 | 北京奇虎科技有限公司 | Method and device for sdk uploading and downloading of a file |
CN106325771A (en) * | 2016-08-23 | 2017-01-11 | 惠州市拉维尼科技有限公司 | Method for processing data of multiple terminals |
CN107357864A (en) * | 2017-06-30 | 2017-11-17 | 联想(北京)有限公司 | A kind of document handling method and terminal |
CN108280196A (en) * | 2018-01-28 | 2018-07-13 | 丁超 | File synchronisation method, device and computer storage media |
CN108667881A (en) * | 2017-03-31 | 2018-10-16 | 中国科学院声学研究所 | A kind of synchronous method of the business datum of intelligent terminal and Cloud Server |
CN109597537A (en) * | 2017-09-30 | 2019-04-09 | 腾讯科技(深圳)有限公司 | File synchronisation method, device and equipment |
CN112615918A (en) * | 2020-12-16 | 2021-04-06 | 杭州迪普科技股份有限公司 | Network management system and information synchronization method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090259839A1 (en) * | 2007-07-12 | 2009-10-15 | Nhn Corporation | Security authentication system and method |
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 |
-
2012
- 2012-12-20 CN CN201210559321.6A patent/CN103002048B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090259839A1 (en) * | 2007-07-12 | 2009-10-15 | Nhn Corporation | Security authentication system and method |
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 |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067466A (en) * | 2012-12-20 | 2013-04-24 | 北京奇虎科技有限公司 | Client-side and method capable of achieving synchronic file storage |
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 |
CN108667881A (en) * | 2017-03-31 | 2018-10-16 | 中国科学院声学研究所 | A kind of synchronous method of the business datum of intelligent terminal and Cloud Server |
CN107357864A (en) * | 2017-06-30 | 2017-11-17 | 联想(北京)有限公司 | A kind of document handling method and terminal |
CN107357864B (en) * | 2017-06-30 | 2021-02-19 | 联想(北京)有限公司 | File processing method and terminal |
CN109597537A (en) * | 2017-09-30 | 2019-04-09 | 腾讯科技(深圳)有限公司 | File synchronisation method, device and equipment |
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 |
CN112615918A (en) * | 2020-12-16 | 2021-04-06 | 杭州迪普科技股份有限公司 | Network management system and information synchronization method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103002048B (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103067466B (en) | A kind of client and method realizing file synchronization storage | |
CN103002048A (en) | System and method for achieving file synchronous storage | |
US20200218529A1 (en) | Image upgrade method and device | |
CN103607455A (en) | Method and system for file transmission | |
CN105474206A (en) | Virtual synchronization with on-demand data delivery | |
US10210229B2 (en) | File creation through virtual containers | |
WO2019112811A1 (en) | Enhanced techniques for copying cloud stored files | |
CN102662591B (en) | Data processing method and device | |
CN102682013A (en) | Method for operating compressed file in network storage appliance | |
US9703848B2 (en) | Caching linked queries for optimized compliance management | |
CN102436450A (en) | Method and device for positioning folder | |
CN113900998A (en) | Multi-secret knowledge management and editing system using cloud object storage | |
US11675776B2 (en) | Reverse update data generation | |
CN109977381B (en) | H5 interactive resource access editing and playing tool based on Office Addin | |
WO2022192039A1 (en) | Reverse update data generation | |
KR20150098992A (en) | A recording media recognized by computer for providing an application developing environment program | |
KR20150099196A (en) | A recording media recognized by computer for providing an application developing environment program | |
KR20150098803A (en) | A recording media recognized by computer for providing an application developing environment program | |
Rocchi | iCloud for Developers | |
JP2004118765A (en) | Modification repercussion control support system, method and program for document control system | |
KR20150099004A (en) | A recording media specialized for an application developing environment program recording recognized by computer | |
KR20150098810A (en) | A recording media recognized by computer for providing an application developing environment program | |
KR20150098804A (en) | A recording media recognized by computer for providing an application developing environment program | |
KR20150098969A (en) | A recording media recognized by computer for providing an application developing environment program | |
KR20150098995A (en) | A recording media specialized for an application developing environment program recording recognized by computer |
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 |
Granted publication date: 20160928 Termination date: 20211220 |
|
CF01 | Termination of patent right due to non-payment of annual fee |