CN103067466B - A kind of client and method realizing file synchronization storage - Google Patents

A kind of client and method realizing file synchronization storage Download PDF

Info

Publication number
CN103067466B
CN103067466B CN201210560399.XA CN201210560399A CN103067466B CN 103067466 B CN103067466 B CN 103067466B CN 201210560399 A CN201210560399 A CN 201210560399A CN 103067466 B CN103067466 B CN 103067466B
Authority
CN
China
Prior art keywords
user
content
display box
user catalog
under
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210560399.XA
Other languages
Chinese (zh)
Other versions
CN103067466A (en
Inventor
李利东
闫磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210560399.XA priority Critical patent/CN103067466B/en
Publication of CN103067466A publication Critical patent/CN103067466A/en
Application granted granted Critical
Publication of CN103067466B publication Critical patent/CN103067466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of client and the method that realize file synchronization storage, relate to network communication technology field.Described method comprises: when user logs in, the listed files of described user is obtained from server end, under icon attribute information corresponding for the listed files file of described user is kept at User Catalog described in local buffer, and the icon that display is corresponding with described user file list file in display box; When receiving the operational order operated the content in described display box of described user, respective handling is carried out to the content shown in the content under User Catalog described in local buffer and display box; And, the content described in monitoring local buffer under User Catalog, and the content in the listed files of the described user of content under User Catalog described in synchronous local buffer and server end.Namely the technical scheme of invention facilitates the operation of user, in turn saves network transmission resource.

Description

A kind of client and method realizing file synchronization storage
Technical field
The present invention relates to network communication technology field, be specifically related to a kind of client and the method that realize file synchronization storage.
Background technology
File on a computer is all be kept in local hard disk, if want to use these files on other computer, then needs copy and the transfer of being carried out data by the movable storage device such as portable hard drive or USB flash disk.
There are some cloud storing softwares at present, the server copying files to this software has been preserved, file can be obtained from server in strange land.But when using these cloud storing softwares, user also needs to open the copy transfer that this software carries out file, such as, user needs to download by down operation the file that will revise from server, amendment after again by upload operation by capable to server for amended files passe.User operation is still more loaded down with trivial details.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of a kind of client and method realizing file synchronization storage overcoming the problems referred to above or solve the problem at least in part.
According to one aspect of the present invention, provide a kind of client realizing file synchronization and store, wherein, this 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 by user area code insurance deposit data;
Described login unit, be suitable for when user logs in, the listed files of described user is obtained from server end, under icon attribute information corresponding for the listed files file of described user is kept at User Catalog described in buffer location, and the icon that display is corresponding with described user file list file in described display box;
Described command operating unit, is suitable for when receiving the operational order that described user operates the content in described display box, carries out respective handling to the content shown in the content under User Catalog described in described buffer location and described display box;
Described lock unit, is suitable for monitoring the content under User Catalog described in described buffer location, and the content in the listed files of the described user of content under User Catalog described in synchronous described buffer location and server end.
Alternatively, described command operating unit, be further adapted for perform in following operation one or more:
When receive to described display box pull into specified icons pull instruction into time, under original document corresponding for described specified icons is saved in User Catalog described in described buffer location, and show described specified icons in described display box;
When receiving the hauling-out instruction from described display box hauling-out specified icons, first judge original document corresponding to described specified icons whether under User Catalog described in described buffer location, if, then directly copy the original document of the described correspondence under User Catalog described in described buffer location to the target location of hauling out instruction, if not, then first download the original document of described correspondence to User Catalog described in described buffer location from server end, copy the original document of the described correspondence under User Catalog described in described buffer location again to the target location of hauling out instruction,
When receiving the modify instruction that original document that in described display box, specified icons is corresponding is modified, first judge that the original document of described correspondence is whether under User Catalog described in described buffer location; If so, the original document of the described correspondence under User Catalog described in described buffer location is directly revised according to described modify instruction, and the attribute information of the described specified icons of corresponding amendment; If not, first download the original document of described correspondence to User Catalog described in described buffer location from server end, the original document of the described correspondence under User Catalog described in described buffer location is revised again according to described modify instruction, and the attribute information of the described specified icons of corresponding amendment;
When receiving the instruction of attribute information of the specified icons in the described display box of amendment, the corresponding attribute information of the described specified icons under User Catalog described in the described buffer location of corresponding amendment, and in described display box display attribute information be modified after described specified icons;
When receiving the delete instruction of the specified icons of deleting in described display box, the attribute information of described specified icons is deleted from User Catalog described in described buffer location, if and also there is corresponding original document, delete in the lump, and in described display box, cancel the described specified icons of display.
Alternatively, described lock unit, is further adapted for the content under utilizing the file control of operating system to drive User Catalog described in the described buffer location of monitoring.
Alternatively, described lock unit, is further adapted for the content in the listed files of the described user of content described in the described buffer location of contrast under User Catalog and server end; If a certain content exists under User Catalog described in described buffer location, and does not exist in the listed files of the described user of server end, then by this content uploading in the listed files of the described user of server end; If a certain content does not exist under User Catalog described in described buffer location, and exist in the listed files of the described user of server end, then under downloading User Catalog described in this content to described buffer location from the listed files of the described user of server end; If a certain content all exists under User Catalog described in described buffer location and in the listed files of the described user of server end, but version is inconsistent, then upload renewal or down loading updating according to the new and old execution of version.
Alternatively, described lock unit, is further adapted for and carries out cryptographic Hash contrast by the byte burst of predetermined number; Wherein, the content of contrast comprises one or more in following content: filename, version information, data block.
Alternatively, described lock unit, is further adapted for and adopts multithread breakpoint continued transmission mode to perform described upload and download process.
Alternatively, described display unit, is further adapted for and adopts display box described in DirectUI technology to drawing.
According to another aspect of the present invention, provide a kind of method realizing file synchronization and store, the method comprises:
When user logs in, the listed files of described user is obtained from server end, under icon attribute information corresponding for the listed files file of described user is kept at User Catalog described in local buffer, and the icon that display is corresponding with described user file list file in display box;
When receiving the operational order operated the content in described display box of described user, respective handling is carried out to the content shown in the content under User Catalog described in local buffer and display box;
And, the content described in monitoring local buffer under User Catalog, and the content in the listed files of the described user of content under User Catalog described in synchronous local buffer and server end.
Alternatively, described when receiving the operational order operated the content in described display box of described user, to the content shown in the content under User Catalog described in local buffer and display box carry out respective handling comprise following one or more:
When receive to described display box pull into specified icons pull instruction into time, under original document corresponding for described specified icons is saved in User Catalog described in buffering area, and show described specified icons in described display box;
When receiving the hauling-out instruction from described display box hauling-out specified icons, first judge original document corresponding to described specified icons whether under User Catalog described in local buffer, if, then directly copy the original document of the described correspondence under User Catalog described in local buffer to the target location of hauling out instruction, if not, then first download the original document of described correspondence to User Catalog described in local buffer from server end, then copy the target location of original document to hauling-out instruction of the described correspondence under User Catalog described in local buffer;
When receiving the modify instruction that original document that in described display box, specified icons is corresponding is modified, first judge that the original document of described correspondence is whether under User Catalog described in local buffer; If so, directly according to the original document of the described correspondence under User Catalog described in described modify instruction amendment local buffer, and the attribute information of the described specified icons of corresponding amendment; If not, first download the original document of described correspondence to User Catalog described in local buffer from server end, again according to the original document of the described correspondence under User Catalog described in described modify instruction amendment local buffer, and the attribute information of the described specified icons of corresponding amendment;
When receiving the instruction of attribute information of the specified icons in the described display box of amendment, the corresponding attribute information of the described specified icons under User Catalog described in corresponding amendment local buffer, and in described display box display attribute information be modified after described specified icons;
When receiving the delete instruction of the specified icons of deleting in described display box, the attribute information of described specified icons is deleted from User Catalog described in local buffer, if and also there is corresponding original document, delete in the lump, and in described display box, cancel the described specified icons of display.
Alternatively, the content under User Catalog described in described monitoring local buffer comprises: the content under utilizing the file control of operating system to drive User Catalog described in monitoring local buffer.
Alternatively, the content in the listed files of the content under User Catalog described in described synchronous local buffer and the described user of server end comprises:
Content in the listed files of the content under User Catalog described in contrast local buffer and the described user of server end;
If a certain content exists under User Catalog described in local buffer, and does not exist in the listed files of the described user of server end, then by this content uploading in the listed files of the described user of server end;
If a certain content does not exist under User Catalog described in local buffer, and exists in the listed files of the described user of server end, then under downloading User Catalog described in this content to local buffer from the listed files of the described user of server end;
If a certain content all exists under User Catalog described in local buffer and in the listed files of the described user of server end, but version is inconsistent, then upload renewal or down loading updating operation according to the new and old execution of version.
Alternatively, the content in the listed files of the content under User Catalog described in described contrast local buffer and the described user of server end comprises:
Cryptographic Hash contrast is carried out by the byte burst of predetermined number;
The content of contrast comprise in following content one or more: filename, version information, data block.
Alternatively, the transfer of data of described upload and download process adopts multithread breakpoint continued transmission mode.
Alternatively, described display box is the window adopting DirectUI technology to drawing.
From above-mentioned, this when user logs according to the present invention, the listed files of described user is obtained from server end, under icon attribute information corresponding for the listed files file of described user is kept at User Catalog described in local buffer, and the icon that display is corresponding with described user file list file in display box, when receiving the operational order operated the content in described display box of described user, respective handling is carried out to the content shown in the content under User Catalog described in local buffer and display box, and, content under User Catalog described in monitoring local buffer, and the technical scheme of content in the listed files of the described user of content under User Catalog described in synchronous local buffer and server end, the server end operating result of user all synchronously can preserved, achieve the function of cloud storing software, and when user logs in, only the icon attribute information of user file is kept in local buffer, instead of All Files is all downloaded, therefore save network and spread out of resource, the virtual icon of the All Files of user is shown in display box, therefore be the All Files seeing oneself for user, when user carries out practical operation to certain file in display box, again respective handling is carried out to the content shown in local buffer and in display box, and the content of synchronous local buffer and server end, for user just as operation local file.Namely visible technical scheme of the present invention facilitates the operation of user, in turn saves network transmission resource.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart realizing the method that file synchronization stores;
Fig. 2 shows the schematic diagram of the display box on 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 realizing the client that file synchronization stores;
Fig. 4 shows a kind of according to an embodiment of the invention composition schematic diagram realizing the system that file synchronization stores.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows a kind of according to an embodiment of the invention flow chart realizing the method that file synchronization stores.As shown in Figure 1, the execution flow process realizing client in the method for file synchronization storage at this comprises:
Step S110, when user logs in, the listed files of described user is obtained from server end, under icon attribute information corresponding for the listed files file of described user is kept at User Catalog described in local buffer, and the icon that display is corresponding with described user file list file in display box.
In an embodiment of the present invention, server end preserves file in units of user.User, first by client registers username and password, register and what log in that client afterwards shows user is the display box of a window form, and time initial, this display box is empty.User can pull file into this display box after login.When user again logs in client on any computer, the file before pulled into just can be illustrated in display box.
When user logs in, the file download of this user of server end does not get off by client, under just the icon attribute information of correspondence being kept at User Catalog described in local buffer, and in display box, show corresponding icon, what therefore show is virtual icon.
Fig. 2 shows the schematic diagram of the display box on embeddeding computer desktop according to an embodiment of the invention.In one embodiment of the invention, adopt DirectUI technology to drawing display box on embedded system desktop, by this display box in system desktop of icon shows corresponding for user file list file.In fig. 2, client of the present invention of illustrating and " cloud dish " function are got through, the ID of user is " Mike ", when user Mike logs in Yun Panhou, in display box, show the file of user Mike, in the present embodiment, user Mike has three files: word document that name is called " resume ", name are called that the file of " music " and name are called the file of " video ".But Fig. 2 is a kind of form of the display box in the present invention, can not as the restriction of the display box in the present invention.
Step S120, when receiving the operational order operated the content in described display box of described user, carries out respective handling to the content shown in the content under User Catalog described in local buffer and display box.
Step S130, the content described in monitoring local buffer under User Catalog, and the content in the listed files of the described user of content under User Catalog described in synchronous local buffer and server end.
In one embodiment of the invention, the content under utilizing the file control of operating system to drive User Catalog described in monitoring local buffer.
At server end, divide the content of preserving client upload by user area, and accept client to the download of preserved content and amendment.
Method shown in Fig. 1, the operating result of user all synchronously can be kept at server end, achieve the function of cloud storing software, and when user logs in, only the icon attribute information of user file is kept in local buffer, instead of All Files is all downloaded, therefore network transmission resource is saved, the virtual icon of the All Files of user is shown in display box, therefore be the All Files seeing oneself for user, when user carries out practical operation to certain file in display box, again respective handling is carried out to the corresponding contents shown in local buffer and in display box, and the content of synchronous local buffer and server end, for user just as operation local file.Namely visible technical scheme of the present invention facilitates the operation of user, in turn saves network transmission resource.
In one embodiment of the invention, in the step S120 of method shown in Fig. 1 the operation of client executing comprise following one or more:
(1) user pulls file in display box: when receive to display box pull into specified icons pull instruction into time, under original document corresponding for this specified icons is saved in User Catalog described in local buffer by client, and show described specified icons in described display box.
For Fig. 2, when the word document " daily record " on desktop is pulled in display box by user, under this word document " daily record " is copied to the catalogue of user Mike in local buffer by client, and in display box, show the icon of word document " daily record ".Therefore this files passe operation, pulls into file in display box exactly for user.
(2) user hauls out file from display box: when receiving the hauling-out instruction from display box hauling-out specified icons, client first judges this by original document corresponding to the specified icons of hauling out whether under User Catalog described in local buffer, if, then directly copy the original document of the correspondence in local buffer under this User Catalog to the target location of hauling out instruction, if not, then first download corresponding original document under this User Catalog local buffer from server end, copy the target location of the corresponding original document in local buffer under this User Catalog to hauling-out instruction again.
For Fig. 2, when the icon of word document in display box " resume " is hauled out on desktop by user, client first judge original document (i.e. the actual content of word document) that this icon is corresponding whether in local buffer user Mike catalogue under, that the original document directly copied under the catalogue of the user Mike in local buffer copies to desktop, if not, first download corresponding original document to local buffer from server end, then copy to desktop from buffering area.Therefore the download of this file and copy operation, haul out file in display box exactly for user.
(3) user revises file content: when receiving the modify instruction that original document that in display box, specified icons is corresponding is modified, and client first judges corresponding original document whether under User Catalog described in local buffer; If so, client is directly according to the original document of the correspondence under this User Catalog in modify instruction amendment local buffer, and the attribute information of corresponding this specified icons of amendment, as the amendment date etc.; If not, client first downloads corresponding original document under this User Catalog local buffer from server end, again according to the original document of the correspondence under User Catalog described in modify instruction amendment local buffer, and the attribute information of corresponding this specified icons of amendment.
This operation of client makes user can directly at display box inediting file, and do not need as existing cloud storing software, user first carries out down operation and downloads files into this locality, edit in this locality, and then by upload operation by the file synchronization that edits to server end.Therefore user's is more convenient to operate.
(4) user revises icon attribute information, as revised filename etc.: when receiving the instruction of attribute information of the specified icons in amendment display box, the corresponding attribute information of this specified icons in client correspondence amendment local buffer under this User Catalog, and in display box display attribute information be modified after this specified icons.
This operation of client makes, user can in display box the attribute information of direct editing icon, as filename etc.
(5) user's deleted file: when receiving the delete instruction of the specified icons of deleting in display box, client deletes the attribute information of described specified icons from local buffer under this User Catalog, if and also there is corresponding original document, delete in the lump, and in display box, cancel the described specified icons of display.
This operation of client make user can in display box direct deleted file.
In one embodiment of the invention, the content in the listed files of the content under User Catalog described in synchronous local buffer described in the step S130 in method shown in Fig. 1 and the described user of server end is specially:
1. the content in the listed files of the content under User Catalog described in contrast local buffer and the described user of server end.Can carry out cryptographic Hash contrast by the byte of predetermined number (as 512k) burst, comparing result is following 2,3 and 4.The content of contrast comprise in following content one or more: filename, version information, data block etc.
If 2. a certain content exists under User Catalog described in local buffer, and does not exist in the listed files of the described user of server end, then client by this content uploading in the listed files of the described user of server end;
If 3. a certain content does not exist under User Catalog described in local buffer, and exist in the listed files of the described user of server end, then under client downloads User Catalog described in this content to local buffer from the listed files of the described user of server end;
If 4. a certain content all exists under User Catalog described in local buffer and in the listed files of the described user of server end, but version is inconsistent, then client uploads renewal or down loading updating operation according to the new and old execution of version.
By above-mentioned simultaneous operation, make user can be synchronized to server end to the operating result of display box file, just as the file of user operation server end.
In an embodiment of the present invention, the transfer of data of carrying out synchronous upload file and download file between client and server adopts multithread breakpoint continued transmission mode.Can synchronous efficiency be provided like this, save user bandwidth, bring better Consumer's Experience.Whole synchronizing process is all completed by client, does not need user's deactivation upload and download to operate, and it is the same, convenient and swift that Consumer's Experience is equivalent to operation desktop local file.
Such as, after user has a lot of file or music video to use on a computer in the middle of real life, want to be stored then to be put on other computer and continue editor or use.Need in these file copies to 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, directly can drag file on the table in display box, by the data of client self-propelled synchronous local buffer and server end, and in display box, real-time synchronization can be realized by direct editing file, and not need to open separately other equipment and copy.
Fig. 3 shows a kind of according to an embodiment of the invention structure chart realizing the client that file synchronization stores.As shown in Figure 3, this client 300 realizing file synchronization storage 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 by user area code insurance deposit data.
Log in unit 303, be suitable for when user logs in, the listed files of this user is obtained from server end, under icon attribute information corresponding for the listed files file of this user is kept at the catalogue of this user in buffer location 302, and the icon that display is corresponding with this user file list file in the display box that display unit 301 generates.
Command operating unit 304, is suitable for, when receiving the operational order that user operates the content in this display box, carrying out respective handling to the content shown in the content under this User Catalog in buffer location 302 and display box.
Lock unit 305, is suitable for monitoring the content in buffer location 302 under this User Catalog, and the content in the listed files of this user of content in sync buffering district unit 302 under this User Catalog and server end.
In one embodiment of the invention, command operating unit 304 is suitable for performing one or more in following operation:
When receive to display box pull into specified icons pull instruction into time, original document corresponding for this specified icons is saved in buffer location 302 under this User Catalog, and in display box, shows this specified icons;
When receiving the hauling-out instruction from display box hauling-out specified icons, first judge original document corresponding to this specified icons whether in buffer location 302 under this User Catalog, if, the original document of the correspondence then in direct copied buffer area unit 302 under this User Catalog is to the target location of hauling out instruction, if not, then first download corresponding original document under this User Catalog buffer location 302 from server end, then the original document of correspondence in copied buffer area unit 302 under this User Catalog is to the target location of hauling-out instruction;
When receiving the modify instruction that original document that in display box, specified icons is corresponding is modified, first judge corresponding original document whether in buffer location 302 under this User Catalog; If so, directly according to the original document of the correspondence under this User Catalog in this modify instruction amendment buffer location 302, and the attribute information of corresponding this specified icons of amendment; If not, first download corresponding original document under this User Catalog buffer location 302 from server end, again according to the original document of the correspondence under this User Catalog in this modify instruction amendment buffer location 302, and the attribute information of corresponding this specified icons of amendment;
When receiving the instruction of attribute information of the specified icons in amendment display box, the corresponding attribute information of this specified icons in corresponding amendment buffer location 302 under this User Catalog, and in display box display attribute information be modified after this specified icons;
When receiving the delete instruction of the specified icons of deleting in display box, the attribute information of this specified icons is deleted under this User Catalog from buffer location 302, if and also there is corresponding 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 for utilizing the file control of operating system to drive the content monitored in buffer location 302 under this User Catalog.
In one embodiment of the invention, lock unit 305 is suitable for contrasting the content in the listed files of this user of content in buffer location 302 under this User Catalog and server end; If a certain content exists under this User Catalog in buffer location 302, and does not exist in the listed files of this user of server end, then by this content uploading in the listed files of this user of server end; If a certain content does not exist under this User Catalog in this buffer location 302, and exists in the listed files of this user of server end, then to download in this content to buffer location 302 under this User Catalog from the listed files of this user of server end; If a certain content all exists under this User Catalog and in the listed files of this user of server end in buffer location 302, but version is inconsistent, then upload renewal or down loading updating according to the new and old execution of version.
In one embodiment of the invention, lock unit 305 is suitable for carrying out cryptographic Hash contrast by the byte burst of predetermined number; Wherein, the content of contrast comprises one or more in following content: filename, version information, data block.
In one embodiment of the invention, lock unit 305 is suitable for adopting multithread breakpoint continued transmission mode to perform upload and download process.Can synchronous efficiency be provided like this, save user bandwidth, bring better Consumer's Experience.
In one embodiment of the invention, display unit 301 is suitable for adopting DirectUI technology to drawing display box.Such as drawn display as shown in Figure 2.
Fig. 4 shows a kind of according to an embodiment of the invention composition schematic diagram realizing the system that file synchronization stores.As shown in Figure 4, this system realizing file synchronization storage comprises: server 400 and multiple client 300 realizing file synchronization storage as shown in Figure 3.Server 400 is suitable for dividing the content of preserving each client 300 realizing file synchronization storage and uploading by user area, and accepts each client 300 realizing file synchronization storage to the download of preserved content and amendment.The composition 26S Proteasome Structure and Function realizing the client 300 that file synchronization stores as shown in Figure 3, is no longer repeated here.
In sum, the technical scheme of the present invention storage that file on local desktop can be stored into by user very easily server realizes file and synchronous.And the file on server equally with local file can edit preservation, after editor, file meeting automatic synchronization is on Cloud Server, uses movable storage device or open other software interfaces to realize the server stores of local file and the use of server file easily without the need to user.
It should be noted that:
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.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 in each inventive aspect one or more, in the description above 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.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of some or all parts realized in the client that file synchronization stores that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of 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 does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (14)

1. realize the client that file synchronization stores, wherein, this 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 by user area code insurance deposit data;
Described login unit, be suitable for when user logs in, the listed files of described user is obtained from server end, under icon attribute information corresponding for the listed files file of described user is kept at User Catalog described in buffer location, and the icon that display is corresponding with described user file list file in described display box; Wherein, described server end preserves file in units of user;
Described command operating unit, is suitable for when receiving the operational order that described user operates the content in described display box, carries out respective handling to the content shown in the content under User Catalog described in described buffer location and described display box;
Described lock unit, is suitable for monitoring the content under User Catalog described in described buffer location, and the content in the listed files of the described user of content under User Catalog described in synchronous described buffer location and server end.
2. client as claimed in claim 1, wherein, described command operating unit, be further adapted for perform in following operation one or more:
When receive to described display box pull into specified icons pull instruction into time, under original document corresponding for described specified icons is saved in User Catalog described in described buffer location, and show described specified icons in described display box;
When receiving the hauling-out instruction from described display box hauling-out specified icons, first judge original document corresponding to described specified icons whether under User Catalog described in described buffer location, if, then directly copy the original document of the described correspondence under User Catalog described in described buffer location to the target location of hauling out instruction, if not, then first download the original document of described correspondence to User Catalog described in described buffer location from server end, copy the original document of the described correspondence under User Catalog described in described buffer location again to the target location of hauling out instruction,
When receiving the modify instruction that original document that in described display box, specified icons is corresponding is modified, first judge that the original document of described correspondence is whether under User Catalog described in described buffer location; If so, the original document of the described correspondence under User Catalog described in described buffer location is directly revised according to described modify instruction, and the attribute information of the described specified icons of corresponding amendment; If not, first download the original document of described correspondence to User Catalog described in described buffer location from server end, the original document of the described correspondence under User Catalog described in described buffer location is revised again according to described modify instruction, and the attribute information of the described specified icons of corresponding amendment;
When receiving the instruction of attribute information of the specified icons in the described display box of amendment, the corresponding attribute information of the described specified icons under User Catalog described in the described buffer location of corresponding amendment, and in described display box display attribute information be modified after described specified icons;
When receiving the delete instruction of the specified icons of deleting in described display box, the attribute information of described specified icons is deleted from User Catalog described in described buffer location, if and also there is corresponding original document, delete in the lump, and in described display box, cancel the described specified icons of display.
3. client as claimed in claim 1, wherein,
Described lock unit, is further adapted for the content under utilizing the file control of operating system to drive User Catalog described in the described buffer location of monitoring.
4. client as claimed in claim 1, wherein,
Described lock unit, is further adapted for the content in the listed files of the described user of content described in the described buffer location of contrast under User Catalog and server end; If a certain content exists under User Catalog described in described buffer location, and does not exist in the listed files of the described user of server end, then by this content uploading in the listed files of the described user of server end; If a certain content does not exist under User Catalog described in described buffer location, and exist in the listed files of the described user of server end, then under downloading User Catalog described in this content to described buffer location from the listed files of the described user of server end; If a certain content all exists under User Catalog described in described buffer location and in the listed files of the described user of server end, but version is inconsistent, then upload renewal or down loading updating according to the new and old execution of version.
5. client as claimed in claim 4, wherein,
Described lock unit, is further adapted for and carries out cryptographic Hash contrast by the byte burst of predetermined number; Wherein, the content of contrast comprises one or more in following content: filename, version information, data block.
6. client as claimed in claim 4, wherein,
Described lock unit, be further adapted for adopt multithread breakpoint continued transmission mode perform described in upload renewal and down loading updating process.
7. client as claimed in claim 1, wherein,
Described display unit, is further adapted for and adopts display box described in DirectUI technology to drawing.
8. realize the method that file synchronization stores, the method comprises:
When user logs in, the listed files of described user is obtained from server end, under icon attribute information corresponding for the listed files file of described user is kept at User Catalog described in local buffer, and the icon that display is corresponding with described user file list file in display box; Wherein, described server end preserves file in units of user;
When receiving the operational order operated the content in described display box of described user, respective handling is carried out to the content shown in the content under User Catalog described in local buffer and display box;
And, the content described in monitoring local buffer under User Catalog, and the content in the listed files of the described user of content under User Catalog described in synchronous local buffer and server end.
9. method as claimed in claim 8, wherein, described when receiving the operational order operated the content in described display box of described user, to the content shown in the content under User Catalog described in local buffer and display box carry out respective handling comprise following one or more:
When receive to described display box pull into specified icons pull instruction into time, under original document corresponding for described specified icons is saved in User Catalog described in local buffer, and show described specified icons in described display box;
When receiving the hauling-out instruction from described display box hauling-out specified icons, first judge original document corresponding to described specified icons whether under User Catalog described in local buffer, if, then directly copy the original document of the described correspondence under User Catalog described in local buffer to the target location of hauling out instruction, if not, then first download the original document of described correspondence to User Catalog described in local buffer from server end, then copy the target location of original document to hauling-out instruction of the described correspondence under User Catalog described in local buffer;
When receiving the modify instruction that original document that in described display box, specified icons is corresponding is modified, first judge that the original document of described correspondence is whether under User Catalog described in local buffer; If so, directly according to the original document of the described correspondence under User Catalog described in described modify instruction amendment local buffer, and the attribute information of the described specified icons of corresponding amendment; If not, first download the original document of described correspondence to User Catalog described in local buffer from server end, again according to the original document of the described correspondence under User Catalog described in described modify instruction amendment local buffer, and the attribute information of the described specified icons of corresponding amendment;
When receiving the instruction of attribute information of the specified icons in the described display box of amendment, the corresponding attribute information of the described specified icons under User Catalog described in corresponding amendment local buffer, and in described display box display attribute information be modified after described specified icons;
When receiving the delete instruction of the specified icons of deleting in described display box, the attribute information of described specified icons is deleted from User Catalog described in local buffer, if and also there is corresponding original document, delete in the lump, and in described display box, cancel the described specified icons of display.
10. method as claimed in claim 8, wherein, the content under User Catalog described in described monitoring local buffer comprises:
Content under utilizing the file control of operating system to drive User Catalog described in monitoring local buffer.
11. methods as claimed in claim 8, wherein, the content in the listed files of the content under User Catalog described in described synchronous local buffer and the described user of server end comprises:
Content in the listed files of the content under User Catalog described in contrast local buffer and the described user of server end;
If a certain content exists under User Catalog described in local buffer, and does not exist in the listed files of the described user of server end, then by this content uploading in the listed files of the described user of server end;
If a certain content does not exist under User Catalog described in local buffer, and exists in the listed files of the described user of server end, then under downloading User Catalog described in this content to local buffer from the listed files of the described user of server end;
If a certain content all exists under User Catalog described in local buffer and in the listed files of the described user of server end, but version is inconsistent, then upload renewal or down loading updating operation according to the new and old execution of version.
12. methods as claimed in claim 11, wherein, the content in the listed files of the content under User Catalog described in described contrast local buffer and the described user of server end comprises:
Cryptographic Hash contrast is carried out by the byte burst of predetermined number;
The content of contrast comprise in following content one or more: filename, version information, data block.
13. methods as claimed in claim 12, wherein,
The described transfer of data uploading renewal and down loading updating process adopts multithread breakpoint continued transmission mode.
14. methods as claimed in claim 8, wherein,
Described display box is the window adopting DirectUI technology to drawing.
CN201210560399.XA 2012-12-20 2012-12-20 A kind of client and method realizing file synchronization storage Active CN103067466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210560399.XA CN103067466B (en) 2012-12-20 2012-12-20 A kind of client and method realizing file synchronization storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210560399.XA CN103067466B (en) 2012-12-20 2012-12-20 A kind of client and method realizing file synchronization storage

Publications (2)

Publication Number Publication Date
CN103067466A CN103067466A (en) 2013-04-24
CN103067466B true CN103067466B (en) 2015-12-09

Family

ID=48109920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210560399.XA Active CN103067466B (en) 2012-12-20 2012-12-20 A kind of client and method realizing file synchronization storage

Country Status (1)

Country Link
CN (1) CN103067466B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312826B (en) * 2013-07-12 2017-03-01 北京金山云网络技术有限公司 The method of file synchronization, device, client, server end and equipment
CN104462967B (en) * 2014-12-15 2019-05-14 北京奇安信科技有限公司 The method, apparatus and system of file access pattern
CN105357307A (en) * 2015-11-16 2016-02-24 浪潮软件集团有限公司 File online editing method, device and system
CN107329657A (en) * 2017-06-30 2017-11-07 北京酷我科技有限公司 A kind of method that content shows completion
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
CN108306966B (en) * 2018-01-31 2022-01-21 腾讯科技(深圳)有限公司 Document processing method, device, system, terminal and server
CN108809467A (en) * 2018-05-22 2018-11-13 深圳华博高科光电技术有限公司 Monitor the method, apparatus and computer readable storage medium of picture certification
CN109947708A (en) * 2019-03-27 2019-06-28 芜湖岭上信息科技有限公司 A kind of file saving method and system
CN113688608A (en) * 2021-08-18 2021-11-23 上海英方软件股份有限公司 Method and system for online editing of cloud Office file

Citations (5)

* Cited by examiner, † Cited by third party
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
CN103002048A (en) * 2012-12-20 2013-03-27 北京奇虎科技有限公司 System and method for achieving file synchronous storage

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100915589B1 (en) * 2007-07-12 2009-09-07 엔에이치엔비즈니스플랫폼 주식회사 Security authentication system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN103002048A (en) * 2012-12-20 2013-03-27 北京奇虎科技有限公司 System and method for achieving file synchronous storage

Also Published As

Publication number Publication date
CN103067466A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN103067466B (en) A kind of client and method realizing file synchronization storage
CN103002048B (en) Realize the system and method for file synchronization storage
JP5340535B2 (en) ARCHIVE FILE SYSTEM MANAGEMENT METHOD, SYSTEM, AND PRODUCT (ARCHIVE FILE SYSTEM MANAGEMENT)
US10235246B2 (en) Data synchronization of block-level backup
CN102946436B (en) A kind of download system
US9244960B2 (en) Metadata-driven version management service in pervasive environment
US10929350B2 (en) Enhanced techniques for copying cloud stored files
CN105474206A (en) Virtual synchronization with on-demand data delivery
CN105045631A (en) Method and device for upgrading client-side applications
CN103607455A (en) Method and system for file transmission
US9122734B2 (en) Transparent data service suitable for modifying data storage capabilities in applications
CN102970369A (en) Downloading browser and method
CN103020235A (en) Autonomous network stream transmission
US9262433B2 (en) Virtualization of file input/output operations
CN102682013A (en) Method for operating compressed file in network storage appliance
US20230376385A1 (en) Reducing bandwidth during synthetic restores from a deduplication file system
US11151093B2 (en) Distributed system control for on-demand data access in complex, heterogenous data storage
CN103647753A (en) LAN file security management method, server and system
CN108008984A (en) A kind of resource file downloading updating method and device
CN114968069A (en) Data storage method and device, electronic equipment and storage medium
US7890963B2 (en) Vector replacement method
US11675776B2 (en) Reverse update data generation
CN105446718B (en) Method of managing software and system based on red cap software package manager
EP4305521A1 (en) Reverse update data generation

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.