CN103780676B - File transmission method, device and system - Google Patents

File transmission method, device and system Download PDF

Info

Publication number
CN103780676B
CN103780676B CN201310681921.4A CN201310681921A CN103780676B CN 103780676 B CN103780676 B CN 103780676B CN 201310681921 A CN201310681921 A CN 201310681921A CN 103780676 B CN103780676 B CN 103780676B
Authority
CN
China
Prior art keywords
file
server
data
computing device
local
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
CN201310681921.4A
Other languages
Chinese (zh)
Other versions
CN103780676A (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 CN201310681921.4A priority Critical patent/CN103780676B/en
Publication of CN103780676A publication Critical patent/CN103780676A/en
Priority to PCT/CN2014/093577 priority patent/WO2015085939A1/en
Priority to US15/103,734 priority patent/US20160315997A1/en
Application granted granted Critical
Publication of CN103780676B publication Critical patent/CN103780676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a file transmission device. The file transmission device is operated on a computation device and is adapted to transmitting a file on the computation device to a server and browsing and/or downloading a file stored on the server. The file transmission device comprises an upload controller adapted to transmitting a local file on the computation device to the server and generating a corresponding file transmission recording; and a download controller adapted to receiving a download request for downloading data from the server, according to the file transmission recording generated by the upload controller, determining whether the data in the download request is associated with the local file of the computation device, if so, obtaining the data from the local file of the computation device, and if not, downloading the data from the server. The invention also discloses a corresponding file transmission method and a corresponding network storage system.

Description

A kind of document transmission method, equipment and system
Technical field
The present invention relates to computer and internet arena, more particularly to data synchronization technology in a network.
Background technology
With the popularization of internet and computer, people typically can possess multiple calculating in live and work and set It is standby, for example, a computer is used to I haven't seen you for ages in work unit, and another computer can be also used at home, and outgoing Can be using various mobile computing devices such as flat board or smart mobile phone etc. when either entertaining.In order to be managed collectively these computing devices In file, occur in that network store system.One typical network store system can include storage server and multiple meters Calculate terminal.Each computing terminal is communicated via network with storage server.Computing terminal can be transferred to local file Come on server centrally stored.When user uses other computing terminals, can be by these computing terminals come browser server The file of upper storage, and computing terminal can be downloaded to locally to use.When network speed is more and more faster, this network is deposited Storage mode is increasingly welcome by user.
But, in this network storage mode, in the file that user will be checked on server on computing terminal Rong Shi, if this document content is not for example buffered on computing terminal, and (for example, computing terminal previously obtained this from server File is simultaneously cached), then it is required for every time obtaining this document content from server.With digitized of media content Exhibition, the resolution ratio more and more higher of content of multimedia, file content is also increasing, now downloads these data from server and expends Time and network traffics it is also increasing, user in order to check file wait time also can be elongated.Therefore, in the urgent need to one Planting can improve the file from the efficiency of server downloading data to improve Consumer's Experience and network utilization.
The content of the invention
For this purpose, the present invention provides a kind of new scheme to try hard to solve the problems, such as or at least alleviate above.
According to an aspect of the invention, there is provided a kind of document transmission device, this document transmission equipment is in computing device Operation, be suitable to by the file in computing device be transferred to server and browse and/or download server on store file, should Document transmission device includes:Controller is uploaded, the file by computing device in local is suitable to and is transferred on server and generates phase The file transmission log answered;Downloading controller, is suitable to receive the download request from server downloading data, according to upload controller The file transmission log of generation to determine the download request in whether local with the computing device file of data be associated, if It is, then from the file acquisition data that computing device is local;If it is not, then from server downloading data.
Alternatively, in document transmission device of the invention, every file transmission log sets including file in calculating Standby local storage location and storage location on the server.
Alternatively, in document transmission device of the invention, downloading controller is provided in download request by determining Data file storage location on the server whether be stored in file transmission log determine the data whether with meter The local file of calculation equipment is associated.
Alternatively, in document transmission device of the invention, downloading controller is obtained to provide to download from server and asked The fileinfo of the file of the data in asking, by the file at the locally stored position in this document information and file transmission log Fileinfo be compared, if it does, then determining that whether local with the computing device file of the data is associated.
Alternatively, in document transmission device of the invention, the modification time of fileinfo including file, size with And one or more in file content cryptographic Hash.
According to another aspect of the present invention, there is provided a kind of document transmission method, this document transmission method sets in calculating Received shipment row, be suitable to by the file in computing device be transferred to server and browse and/or download server on store file, This document transmission method includes step:File of the computing device in local is transferred on server and generates corresponding file and is passed Defeated record;The download request from server downloading data is received, determines that the download please according to the file transmission log for being generated Whether local with the computing device file of data in asking is associated, if it is, obtaining from the local file of computing device Fetch data;If it is not, then from server downloading data.
Alternatively, in document transmission method of the invention, file transmission log includes file in computing device sheet The storage location and storage location on the server on ground.
Alternatively, in document transmission method of the invention, determine data in the download request whether with calculating The associated step of the local file of equipment includes:It is determined that the storage on the server of the file of the data in offer download request Whether position matches with storage location on the server of file transmission log.
Alternatively, in document transmission method of the invention, determine data in the download request whether with calculating The associated step of the local file of equipment includes:The file letter of the file that the data in download request are provided is obtained from server Breath, the fileinfo of the file at the locally stored position in this document information and file transmission log is compared, if Matching, it is determined that whether local with the computing device file of the data is associated.
Alternatively, in document transmission method of the invention, the modification time of fileinfo including file, size with And one or more in file content cryptographic Hash.
It is of the invention to also have on one side, there is provided a kind of network store system, including:Server;And it is multiple Computing device, each computing device includes document transmission device of the invention, so that the file in computing device is transmitted To in server, and browse file on the server.
File transmission scenario of the invention, at certain computing device, from before server downloading data, first judges Whether the lower file being associated with the data is on uploading onto the server from the computing device, if it is, direct from the meter The corresponding document of calculation equipment obtaining data, and without sending the requests to server, so as to significantly reduce the wait of user Time and volume of transmitted data, improve Consumer's Experience and reduce network transmission.
Description of the drawings
In order to realize above-mentioned and related purpose, some illustrative sides are described herein in conjunction with explained below and accompanying drawing Face, these aspects indicate various modes that can be to put into practice principles disclosed herein, and all aspects and its equivalent aspect It is intended to fall under in the range of theme required for protection.By being read in conjunction with the accompanying detailed description below, the disclosure it is above-mentioned And other purposes, feature and advantage will be apparent from.Throughout the disclosure, identical reference generally refers to identical Part or element.
Fig. 1 shows the schematic diagram of network store system according to an embodiment of the invention;
Fig. 2 shows the schematic diagram of document transmission device according to an embodiment of the invention;And
Fig. 3 shows the schematic diagram of document transmission method according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 shows the schematic diagram of network store system according to an embodiment of the invention 100, as shown in figure 1, network Storage system 100 includes storage server 130 and multiple computing devices 110 and 120 etc..Computing device 110 and 120 passes through network It is connected with storage server 130.Can be with presence document transmission equipment 200 in each computing device.Can be transmitted by file Equipment 200 is transferred to the file in computing device in storage server 130, and can be browsed and/or be downloaded by it The file stored in storage server 130.So, storage server 130 provides the memory space of a concentration.User can be with The file checked using any one in multiple computing devices in storage server 30, and when user thinks that file is needed When browsing in multiple computing devices, then this document can be transferred in storage server 130.
In the present invention, computing device 110 and 120 can be any equipment that can process electronic data in this area, bag Include but be not limited to desktop computer, notebook computer, personal digital assistant, intelligent mobile terminal, panel computer etc..Meter The usual modern operating system of operation in calculation equipment 110 and 120, using operating system to manage computing device in hardware money Source.Computing device 110 and 120 can on an operating system run various applications.Document transmission device 200 in the present invention can be with Run in computing device 110 and 120 as a kind of application.The operating system for being of course depend upon running on the computing device Difference, the implementation of document transmission device 200 is also different, and the present invention is not only restricted to document transmission device 200 in order to suitable The various specific implementations for answering different operating system just to adopt, and it is limited only by the work(that document transmission device 200 realizes the present invention Can and must have realize logic.
Fig. 2 shows the schematic diagram of document transmission device according to an embodiment of the invention.Document transmission device 200 is wrapped In being contained in any one of the computing device 110 and 120 shown in Fig. 1, run in computing device for document transmission device 200, Be suitable to by the file in computing device be transferred to storage server 130 and browse and/or download server 130 on store text Part.
As shown in Fig. 2 document transmission device 200 includes uploading controller 210 and downloading controller 220.Upload controller 210 files by computing device 110 and 120 in local are transferred in storage server 130.The user of computing device 110 and 120 Can be for example between office and other places during frequent mobile office, it may be desirable to which the file not completed in office is transferred to into storage On server 130, then this document is obtained again in other places office.In addition, in one example, user may be being needed each Browsing multimedia file on mobile terminal is planted, and these multimedia files are originally stored in other desktop computers, now Need on these multimedia file transmissions to storage server using the upload controller 210 in desktop computer.
Controller 210 is uploaded while file is transferred in storage server 130, corresponding file transmission can be generated Record.Uploading controller 210 and often upload a file will generate a file transmission log, and every file transmission log can be with Including the storage position in the local storage location of computing device and in storage server 130 of time, file of transmission file Put.Alternatively, document transmission device 200 can also include memory cell 240, upload what controller 210 was generated for storage File transmission log.
User's operating file transmission equipment 200 in computing device 110 and 120 is deposited with browsing in storage server 130 The file of storage, the now meeting of document transmission device 200 obtain corresponding file storage structure and (for example store from storage server 130 The bibliographic structure of file, the listed files in certain catalogue etc.), and present to user.Under user can select certain file simultaneously Carry this document to check, it is in one example, clear in user when under the server file catalogue that user browses being graphic file Look at this document catalogue when, document transmission device 200 will be presented the thumbnail of the graphic file.And in another example, when When user will play the multimedia file on certain server, document transmission device 200 can be according to the spy of residing computing device Levy, from server request after cutting, be suitable to the multi-medium data of the computing device.In the above example, file transmission Equipment 200 is downloaded from server request not file data of itself, but the data generated according to file content.
Therefore, alternatively, document transmission device 200 includes download request maker 230.Download request maker 230 Generating according to the operation of user will be from the download request of server downloading data, and the download request asks the data downloaded and clothes The file stored on business device is associated, such as data for this document itself data, or the number to be generated according to this document According to.Download request generally also includes wanting associated documents storage location on the server, and such server 130 just can be exactly Process the download request.
The download request that downloading controller 220 is couple to download request maker 230 to receive generation is processed.Download Controller 220 processes download request according to the file transmission log for uploading the generation of controller 210.When according to file transmission note Record, the data asked in download request (are associated when can obtain from the local file of computing device with local file When), then, directly from the local file of computing device obtaining the data, otherwise, downloading controller 220 will for downloading controller 220 Download request is sent to server 130 to obtain data from server 130.
Alternatively, when the data that download request is asked are whole files, downloading controller 220 completes download request While downloading files into local, a file transmission log is also generated, every file transmission log can include transmission text Time, the file of part is in the local storage location of computing device and the storage location in storage server 130 etc..So, When user asks to download again same file on the server, it is also possible to according to this document transmission log, directly from local Obtain file and without from server download file.Because user repeatedly may respectively download to a file on server The various location of local device, it is thus possible to but it is identical locally stored to there is the storage location in a plurality of storage server The different file transmission log in position.
In one embodiment, download request includes the file being associated with the data in download request in server File storage location on 130, and every file transmission log also includes file in the local storage location of computing device and File respective memory locations on server 130.Downloading controller 220 can be looked in file transmission log list Ask, the file transmission note matched with the file storage location in locating file storage location on the server and download request Record.If respective record can be found, it is considered that the download request can be met by local file, otherwise just should Download request is sent to server 130 to be processed the download request by server 130.
Further, because after file is transferred on server, user can be by other computing devices from clothes Business device obtains this document, enters edlin and then upload again.Therefore the locally stored file of computing device is not necessarily newest text Part, for this purpose, downloading controller 220 need to further determine that locally stored file whether with the file that stores on server 130 It is consistent.In one implementation, when downloading controller 220 finds corresponding record in file transmission log, Obtain the fileinfo of the file at respective memory locations on the server from server 130, by this document information with locally deposit Whether the fileinfo of the file at the storage space place of putting is compared to determine the file that stores on locally stored file and server Unanimously, if unanimously, directly download request is met by local file;Otherwise, or by the download request it is sent to service Device 130, is processed by server 130.It should be appreciated that due to there may be the storage location phase in a plurality of storage server But with locally stored position different file transmission log, so when being inquired about in file transmission log list, when sending out When now certain transmission log is undesirable, should continue to make a look up from list.
Fileinfo can include the newest modification time of such as file, file size and/or file content is dissipated Cryptographic Hash such as the MD5 values obtained after column count etc..The present invention is not only restricted to the particular content of fileinfo, all to can be used for really Determine the local file information whether consistent with the corresponding document on server all within protection scope of the present invention.
Further optionally, because calculation document cryptographic Hash needs to expend the server and computing device too many calculating time, Downloading controller 220 can first check for whether the newest modification time and size of file matches, only have matched just continue into The calculating and matching of row cryptographic Hash, otherwise then can determine the file on local file and server be it is inconsistent, just without Carry out the comparison of cryptographic Hash.
Document transmission device of the invention 200 can first judge and ask with downloading from before server downloading data Whether the associated file of the data asked is on uploading onto the server from the computing device, if it is, directly from the meter The corresponding document of calculation equipment obtaining data, and without sending the requests to server, so as to significantly reduce the wait of user Time and volume of transmitted data, improve Consumer's Experience and reduce network transmission.
For example, user has a mobile terminal (corresponding to computing device 110), and user uses at home movement eventually During end, find there is a good music on network, then just downloaded on mobile terminal and be stored as a.mp3.User is by this article Part is uploaded onto the server under " music " catalogue on 130, and now the upload controller 210 on document transmission device 200 can be generated One file transmission log, record content includes file transmission time, local catalogue and position " a.mp3 " and in server On storage location " music/a.mp3 ".After a period of time has been spent, user have forgotten to be had " a.mp3 " locally stored, but It is user using the mobile terminal come the file on browser server, finds a.mp3 music files, and wants to listen to the music, User can click directly on this document to be played online, and now download request maker 230 can generate request a.mp3 data Download request, and downloading controller 220 is when the request is received, and can make a look up from file transmission log, and finding should A.mp3 files have locally been stored in mobile terminal, then downloading controller 220 can directly read the file of local a.mp3 Play out, so as to avoid unnecessary network transmission, while also reducing the time of the music to be played such as user, enhance Consumer's Experience.
Fig. 3 shows the schematic diagram of the document transmission method 300 according to an implementation of the invention, the text shown in Fig. 3 Perform in the computing device 110 and 120 that part transmission method 300 is suitable in FIG, so that the file in computing device is transferred to In server 130, and browse and/or download server 130 on store file.According to one embodiment, this document transmission Method 300 can be as shown in Figure 2 document transmission device 200 performing.
Document transmission method 300 starts from step S310, wherein the file by computing device in local is transferred to storage service On device 130.The user of computing device 110 and 120 can be for example between office and other places during frequent mobile office, and needs will be done The file not completed in public room is transferred in storage server 130, then obtains this document again in other places office.At another In example, user may need the browsing multimedia file on various mobile terminals, and these multimedia files were originally stored In other desktop computers, now it is accomplished by these multimedia file transmissions using desktop computer to storage server On.
In step S310, while file is transferred in storage server 130, corresponding file transmission can be generated Record.Often uploading a file will generate a file transmission log, and every file transmission log can include upper transmitting file Time, file in the local storage location of computing device and the storage location in storage server 130 etc..Alternatively, In step S310, generated file transmission log is also stored.
User browses the file stored in storage server 130 in computing device 110 and 120, now computing device Corresponding file storage structure (bibliographic structure of such as storage file, the text in certain catalogue can be obtained from storage server 130 Part list etc.), and present to user.User can select certain file and download this document checking, in one example, when When being graphic file under the server file catalogue that user browses, when user browses this document catalogue, computing device will be in The existing thumbnail of the graphic file.And in another example, when user will play the multimedia file on certain server, Computing device can according to the feature of residing computing device, from server request after cutting, be suitable to many of the computing device Media data.In the above example, computing device is downloaded from server request not file data of itself, but according to File content and the data that generate.
Therefore, in computing device, can be generated according to the operation of user will from the download request of server downloading data, The download request asks the data downloaded to be associated with the file stored on server, and such as data are the number of this document itself According to, or the data to be generated according to this document.Download request generally also includes wanting associated documents storage on the server Position, such server 130 just can exactly process the download request.
Subsequently, in step s 320, the download request to being generated is processed.In step s 320, according to step The file transmission log that S310 is generated is processing download request.When according to file transmission log, the number asked in download request According to when can obtain from the local file of computing device (when being associated with local file), then in step s 320, directly The data are obtained from the local file of computing device, otherwise, download request server 130 is sent to into so as to from server 130 obtain data.
Alternatively, when the data that download request is asked are whole files, in step s 320, download request is completed While downloading files into local, a file transmission log is also generated, every file transmission log can include transmission text Time, the file of part is in the local storage location of computing device and the storage location in storage server 130 etc..So, When user asks to download again same file on the server, it is also possible to according to this document transmission log, directly from local Obtain file and without from server download file.Because user repeatedly may respectively download to a file on server The various location of local device, it is thus possible to but it is identical locally stored to there is the storage location in a plurality of storage server The different file transmission log in position.
In one embodiment, download request includes the file being associated with the data in download request in server File storage location on 130, and every file transmission log also includes file in the local storage location of computing device and File respective memory locations on server 130.Therefore, in step s 320, can enter in file transmission log list Row inquiry, is passed with the file that the file storage location in locating file storage location on the server and download request matches Defeated record.If respective record can be found, it is considered that the download request can be met by local file, otherwise The download request is sent to into server 130 to be processed the download request by server 130.
Further, because after file is transferred on server, user can be by other computing devices from clothes Business device obtains this document, enters edlin and then upload again.Therefore the locally stored file of computing device is not necessarily newest text Part, for this purpose, in step s 320, need to further determine that locally stored file whether with the file that stores on server 130 Whether it is consistent.In one implementation, when corresponding record is found in file transmission log, from server 130 The fileinfo of file on the server at respective memory locations is obtained, by the text at this document information and locally stored position Whether the fileinfo of part is compared to determine locally stored file consistent with the file stored on server, if one Cause, then directly download request met by local file;Otherwise, or by the download request server 130 is sent to, by servicing Device 130 is processing.But it is it should be appreciated that identical local due to there may be the storage location in a plurality of storage server The different file transmission log of storage location, so when being inquired about in file transmission log list, when certain transmission of discovery When recording undesirable, should continue to make a look up from list.
Fileinfo can include the newest modification time of such as file, file size and/or file content is dissipated Cryptographic Hash such as the MD5 values obtained after column count etc..The present invention is not only restricted to the particular content of fileinfo, all to can be used for really Determine the local file information whether consistent with the corresponding document on server all within protection scope of the present invention.
Further optionally, because calculation document cryptographic Hash needs to expend the server and computing device too many calculating time, In step s 320, whether the newest modification time and size that can first check for file matches, only have matched just continue into The calculating and matching of row cryptographic Hash, otherwise then can determine the file on local file and server be it is inconsistent, just without Carry out the comparison of cryptographic Hash.
Document transmission method of the invention 300 can first judge and ask with downloading from before server downloading data Whether the associated file of the data asked is on uploading onto the server from the computing device, if it is, directly from the meter The corresponding document of calculation equipment obtaining data, and without sending the requests to server, so as to significantly reduce the wait of user Time and volume of transmitted data, improve Consumer's Experience and reduce network transmission.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of without these details.In some instances, known method, knot is not been shown in detail Structure and technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The feature more features that the application claims ratio of shield is expressly recited in each claim.More precisely, as following As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, abide by Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself As the separate embodiments of the present invention.
Those skilled in the art should be understood the module or unit or group of the equipment in example disclosed herein Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example In one or more different equipment.Module in aforementioned exemplary can be combined as a module or be segmented in addition multiple Submodule.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
Additionally, some heres in the embodiment be described as can be by the processor of computer system or by performing The combination of method or method element that other devices of the function are implemented.Therefore, with for implementing methods described or method The processor of the necessary instruction of element forms the device for implementing the method or method element.Additionally, device embodiment Element described in this is the example of following device:The device is used to implement by performed by the element for the purpose for implementing the invention Function.
As used in this, unless specifically stated so, come using ordinal number " first ", " second ", " the 3rd " etc. Description plain objects are merely representative of and are related to the different instances of similar object, and are not intended to imply that the object being so described must Must have the time it is upper, spatially, sequence aspect or given order in any other manner.
Although describing the present invention according to the embodiment of limited quantity, above description, the art are benefited from It is interior it is clear for the skilled person that in the scope of the present invention for thus describing, it can be envisaged that other embodiments.Additionally, it should be noted that Language used in this specification primarily to readable and teaching purpose and select, rather than in order to explain or limit Determine subject of the present invention and select.Therefore, in the case of without departing from the scope of the appended claims and spirit, for this Many modifications and changes will be apparent from for the those of ordinary skill of technical field.For the scope of the present invention, to this The done disclosure of invention is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.
The invention discloses A1, a kind of document transmission device, this document transmission equipment runs in computing device, is suitable to count File on calculation equipment be transferred to server and browse and/or download server on store file, this document transmission equipment Including:
Controller is uploaded, the file by the computing device in local is suitable to and is transferred on server and generates corresponding text Part transmission log;
Downloading controller, is suitable to receive the download request from server downloading data, is generated according to the upload controller File transmission log to determine the download request in whether local with the computing device file of data be associated, if It is, then from the file acquisition data that the computing device is local;If it is not, then from the server downloading data.
A2, the document transmission device as described in A1, also including download request maker, are suitable to generation described under server Carry the download request of data.
A3, the document transmission device as described in A1 or A2, wherein publishing papers under server in download request request During part, the downloading controller generates corresponding file transmission log.
A4, the document transmission device as described in any one in A1-A3, wherein the file transmission log includes file in meter The local storage location of calculation equipment and storage location on the server.
A5, the document transmission device as described in any one in A1-A4, wherein under the downloading controller is by determining offer Whether the file of the data in load request storage location on the server is stored in file transmission log to determine the data Whether the file local with computing device is associated.
A6, such as the document transmission device described in A5, wherein the downloading controller is obtained from server and provides that download please The fileinfo of the file of the data in asking, by the file at the locally stored position in this document information and file transmission log Fileinfo be compared, if it does, then determining that whether local with the computing device file of the data is associated.
A7, the document transmission device as described in A6, wherein the modification time of the fileinfo including file, size and One or more in file content cryptographic Hash.
The invention also discloses B1, a kind of document transmission method, this document transmission method runs in computing device, be suitable to by File in computing device be transferred to server and browse and/or download server on store file, this document transmission side Method includes step:
File of the computing device in local is transferred on server and is generated corresponding file transmission log;
The download request from server downloading data is received, determines that the download please according to the file transmission log for being generated Whether local with the computing device file of data in asking is associated, if it is, from the local text of the computing device Part obtains data;If it is not, then from the server downloading data.
B2, the document transmission method as described in B1, also including step:Publish papers under server in download request request During part, corresponding file transmission log is generated.
B3, the document transmission method as described in B1 or B2, wherein the file transmission log sets including file in calculating Standby local storage location and storage location on the server.
B4, the document transmission method as described in B3, wherein the data determined in the download request whether with the meter The associated step of the local file of calculation equipment includes:It is determined that providing file the depositing on the server of the data in download request Whether storage space is put and is matched with storage location on the server of file transmission log.
B5, such as the document transmission method described in B4, wherein determine data in the download request whether with the calculating The associated step of the local file of equipment includes:The file letter of the file that the data in download request are provided is obtained from server Breath, the fileinfo of the file at the locally stored position in this document information and file transmission log is compared, if Matching, it is determined that whether local with the computing device file of the data is associated.
B6, the document transmission method as described in B5, wherein the modification time of the fileinfo including file, size and One or more in file content cryptographic Hash.
The invention also discloses C1, a kind of network store system, including:
Server;And
Multiple computing devices, each computing device includes the document transmission device as described in any one in claim 1-7, So that the file in computing device is transferred in the server, and browse file on the server.

Claims (14)

1. a kind of document transmission device, this document transmission equipment runs in computing device, is suitable to pass the file in computing device It is defeated to server and browse and/or download server on the file that stores, this document transmission equipment includes:
Controller is uploaded, the file by the computing device in local is suitable to and is transferred on server and generates corresponding file biography Defeated record;
Downloading controller, is suitable to receive the download request from server downloading data, according to the text that the upload controller is generated Part transmission log to determine the download request in whether local with the computing device file of data be associated, if it is, Then from the file acquisition data that the computing device is local;If it is not, then from the server downloading data.
2. document transmission device as claimed in claim 1, also including download request maker, is suitable to generation described from server The download request of downloading data.
3. document transmission device as claimed in claim 1, wherein when download request request downloads file from server, The downloading controller generates corresponding file transmission log.
4. the document transmission device as described in any one in claim 1-3, wherein the file transmission log exists including file The local storage location of computing device and storage location on the server.
5. document transmission device as claimed in claim 4, wherein the downloading controller is provided in download request by determining Data file storage location on the server whether be stored in file transmission log determine the data whether with meter The local file of calculation equipment is associated.
6. document transmission device as described in claim 5, wherein the downloading controller is obtained from server provides download The fileinfo of the file of the data in request, by the text at the locally stored position in this document information and file transmission log The fileinfo of part is compared, if it does, then determining that whether local with the computing device file of the data is associated.
7. document transmission device as claimed in claim 6, wherein the fileinfo include the modification time of file, size with And one or more in file content cryptographic Hash.
8. a kind of document transmission method, this document transmission method runs in computing device, is suitable to pass the file in computing device It is defeated to server and browse and/or download server on store file, this document transmission method include step:
File of the computing device in local is transferred on server and is generated corresponding file transmission log;
The download request from server downloading data is received, during the download request is determined according to the file transmission log for being generated Whether local with the computing device file of data be associated, if it is, obtaining from the local file of the computing device Fetch data;If it is not, then from the server downloading data.
9. document transmission method as claimed in claim 8, also including step:Download from server in download request request During file, corresponding file transmission log is generated.
10. the document transmission method as described in claim 8 or 9, wherein the file transmission log includes that file is being calculated The local storage location of equipment and storage location on the server.
11. document transmission methods as claimed in claim 10, wherein the data determined in the download request whether with institute Stating the associated step of the local file of computing device includes:It is determined that providing the file of the data in download request on the server Storage location whether match with storage location on the server of file transmission log.
12. document transmission methods as described in claim 11, wherein determine data in the download request whether with it is described The associated step of the local file of computing device includes:The text of the file that the data in download request are provided is obtained from server Part information, the fileinfo of the file at the locally stored position in this document information and file transmission log is compared, If it does, then determining that whether local with the computing device file of the data is associated.
13. document transmission methods as claimed in claim 12, wherein the fileinfo includes modification time, the size of file And one or more in file content cryptographic Hash.
A kind of 14. network store systems, including:
Server;And
Multiple computing devices, each computing device includes the document transmission device as described in any one in claim 1-7, so as to File in computing device is transferred in the server, and browses file on the server.
CN201310681921.4A 2013-12-12 2013-12-12 File transmission method, device and system Active CN103780676B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201310681921.4A CN103780676B (en) 2013-12-12 2013-12-12 File transmission method, device and system
PCT/CN2014/093577 WO2015085939A1 (en) 2013-12-12 2014-12-11 File transfer method, device, and system
US15/103,734 US20160315997A1 (en) 2013-12-12 2014-12-11 File transfer method, device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310681921.4A CN103780676B (en) 2013-12-12 2013-12-12 File transmission method, device and system

Publications (2)

Publication Number Publication Date
CN103780676A CN103780676A (en) 2014-05-07
CN103780676B true CN103780676B (en) 2017-04-26

Family

ID=50572491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310681921.4A Active CN103780676B (en) 2013-12-12 2013-12-12 File transmission method, device and system

Country Status (1)

Country Link
CN (1) CN103780676B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015085939A1 (en) * 2013-12-12 2015-06-18 北京奇虎科技有限公司 File transfer method, device, and system
CN106899630B (en) * 2015-12-18 2020-11-03 北京奇虎科技有限公司 Thumbnail display method and device for pictures in network disk
CN106911751A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 File acquisition method, device and system
CN106911747A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 File acquisition method, device and system
CN106911758A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 File acquisition system
CN106909591A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 File acquisition method, device and system
CN106487926A (en) * 2016-12-07 2017-03-08 雷蕾 A kind of document transmission method and system
CN109756581B (en) * 2019-03-06 2021-11-09 珠海金山网络游戏科技有限公司 File transmission system and method, computing device and storage medium
CN113973019B (en) * 2021-12-27 2022-04-01 北京安博通科技股份有限公司 Network virus detection method and network equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739791A (en) * 2012-06-28 2012-10-17 奇智软件(北京)有限公司 File downloading and uploading method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020174189A1 (en) * 2001-04-23 2002-11-21 Luosheng Peng Apparatus and methods for intelligently caching applications and data on a mobile device
TW573257B (en) * 2002-03-29 2004-01-21 Hon Hai Prec Ind Co Ltd Automatic data download system and method
CN101141717A (en) * 2006-09-06 2008-03-12 深圳市朗科科技有限公司 File download method between multiple handhold equipments based on wireless communication

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739791A (en) * 2012-06-28 2012-10-17 奇智软件(北京)有限公司 File downloading and uploading method and device

Also Published As

Publication number Publication date
CN103780676A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN103780676B (en) File transmission method, device and system
US10817256B2 (en) Volume control
CN110096660B (en) Method and device for loading page pictures and electronic equipment
CN109600447B (en) Method, device and system for processing data
US8224804B2 (en) Indexing of partitioned external data sources
CN103747032B (en) A kind of document transmission method, equipment and system
CN104115142B (en) For the file specific to equipment of bookmark synchronization
JP6328233B2 (en) Computer program product, system and method for optimizing web page loading
US9459897B2 (en) System and method for providing data analysis service in cloud environment
US9787521B1 (en) Concurrent loading of session-based information
CN105573667A (en) Data reading method and storage server
WO2014074964A1 (en) Providing and procuring worksheet functions through an online marketplace
US10623517B2 (en) Content prefetching and cache management
CN108536753A (en) The determination method and relevant apparatus of duplicate message
CN107566862B (en) Method and system for sharing music among multimedia communication terminals
CN110650209A (en) Method and device for realizing load balance
CN108108247A (en) Distributed picture storage service system and method
CN107395708B (en) Method and device for processing download request
CN109640176A (en) Method and apparatus for generating information
WO2014066114A2 (en) Book thinning
CN102882960A (en) Method and device for transmitting resource files
CN106936917A (en) A kind of cloud storage method and device, electronic equipment
CN106156274A (en) Page content loading method and device and electronic equipment
CN106294417A (en) A kind of data reordering method, device and electronic equipment
CN103403713B (en) File variant in file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220728

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.