CN103747032B - A kind of document transmission method, equipment and system - Google Patents
A kind of document transmission method, equipment and system Download PDFInfo
- Publication number
- CN103747032B CN103747032B CN201310684043.1A CN201310684043A CN103747032B CN 103747032 B CN103747032 B CN 103747032B CN 201310684043 A CN201310684043 A CN 201310684043A CN 103747032 B CN103747032 B CN 103747032B
- Authority
- CN
- China
- Prior art keywords
- file
- server
- equipment
- data
- calculating equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 106
- 238000000034 method Methods 0.000 title claims abstract description 91
- 230000008569 process Effects 0.000 claims abstract description 40
- 238000004364 calculation method Methods 0.000 claims description 10
- 239000000203 mixture Substances 0.000 claims description 10
- 230000004048 modification Effects 0.000 claims description 9
- 238000012986 modification Methods 0.000 claims description 9
- 230000008878 coupling Effects 0.000 claims description 4
- 238000010168 coupling process Methods 0.000 claims description 4
- 238000005859 coupling reaction Methods 0.000 claims description 4
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000000875 corresponding effect Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of document transmission device, this document transmission equipment runs at the equipment of calculating, be suitable to that the file on calculating equipment is transferred to server and browse and/or the file of storage in download server, this document transmission equipment includes nearby device evaluator, is suitable to obtain and this calculating equipment one or more first other calculating equipment same LAN from server;And downloading controller, be suitable to receive the first download request downloading data from server, one or more first other calculating equipment that first request of downloading is sent in same LAN, if any one first other calculating equipment can process this first download request, then from these first other calculating device downloads data, otherwise download data from server.Invention additionally discloses a kind of corresponding document transmission method and corresponding network store system.
Description
Technical field
The present invention relates to computer and internet arena, particularly relate to data synchronization technology in a network.
Background technology
Universal along with internet and computer, people typically can have multiple in live and work
Calculating equipment, such as, uses a computer in work unit, and the most also can use another to I haven't seen you for ages
One computer, and various mobile computing device such as flat board or intelligence can be used when going out or entertain
Mobile phone etc..In order to be managed collectively the file in these calculating equipment, occur in that network store system.One
Typical network store system can include storing server and multiple computing terminal.Each computing terminal warp
Communicated with storage server by network.Computing terminal can be uploaded onto the server up local file
Centralized stores.When user uses other computing terminals, service can be browsed by these computing terminals
The file of storage on device, and computing terminal this locality can be downloaded to use.When network speed increasingly
Time fast, this network storage mode is increasingly welcome by user.
But, in this network storage mode, whenever user to check on server on computing terminal
File content time, if this document content is the most such as buffered in (such as, computing terminal on computing terminal
Previously from server, obtained this document and cached), need to obtain from server to be somebody's turn to do the most every time
File content.Along with the digitized development of media content, the resolution of content of multimedia is more and more higher, literary composition
Part content is the most increasing, now from server download these data expend time and network traffics also get over
Coming the biggest, the time that user waits to check file also can be elongated.Therefore, permissible in the urgent need to one
Raising downloads the file of the efficiency of data to improve Consumer's Experience and network utilisation from server
Rate.
Summary of the invention
To this end, the present invention provide a kind of new scheme with try hard to solve or at least alleviate exist above ask
Topic.
According to an aspect of the invention, it is provided a kind of document transmission device, this document transmission equipment exists
Calculating equipment runs, and is suitable to the file on calculating equipment is transferred to server and browses and/or download clothes
The file of storage on business device, this document transmission equipment includes: nearby device evaluator, is suitable to from server
Obtain and this calculating equipment one or more first other calculating equipment in same LAN;And
Downloading controller, is suitable to receive the first download request downloading data from server, downloads request by first
One or more first other calculating equipment being sent in same LAN, if any one first its
Its calculating equipment can process this first download request, then from these first other calculating device downloads data,
Otherwise download data from server.
Alternatively, also include uploading controller according to the document transmission device of the present invention, be suitable to set calculating
Files passe in standby this locality is on server and generate corresponding files passe record;And download request
Processor, is suitable to receive and asks, according to uploading controller from second other second download calculating equipment
The files passe record generated determines this, and whether second to download the data in request local with calculating equipment
File is associated, if it is, process this second download request, from the file acquisition that the equipment of calculating is local
Acquired data are also returned to second other calculating equipment by data.
Alternatively, according in the document transmission device of the present invention, every files passe record includes file
Storage position and storage position on the server in the equipment of calculating this locality.
Alternatively, according in the document transmission device of the present invention, downloading controller is determined by and second
Whether the file that the data in download request are associated storage position on the server is included in files passe
Record determining, whether these data are associated with the file of calculating equipment this locality.
Alternatively, according in the document transmission device of the present invention, download request processor and obtain from server
Take and the second fileinfo downloading the file that the data in request are associated, by this document information and file
The fileinfo of the file uploading the locally stored position in record compares, if it does, then really
Whether these data fixed are associated with the file of calculating equipment this locality.
Alternatively, according in the document transmission device of the present invention, when fileinfo includes the amendment of file
Between, one or more in size and file content cryptographic Hash.
Alternatively, according in the document transmission device of the present invention, if multiple first other calculate equipment
Can be processed this and first download request, then download request processor and the first download request is split as multiple the
Three download request, and each 3rd download request is sent to one corresponding first other calculating equipment,
To obtain the different piece of data respectively from multiple first miscellaneous equipments.
According to another aspect of the present invention, it is provided that a kind of document transmission method, this document transmission method
Run at the equipment of calculating, be suitable to the file on calculating equipment is transferred to server and browses and/or download
The file of storage on server, this document transmission method includes step: obtains from server and sets with this calculating
Standby one or more first other calculating equipment in same LAN;And receive from server
Carry the first download request of data, download request be sent in same LAN or many by first
Individual first other calculating equipment, if any one first other calculating equipment can process this first download and ask
Ask, then from these first other calculating device downloads data, otherwise download data from server.
Alternatively, further comprise the steps of: in calculating equipment this locality according to the document transmission method of the present invention
Files passe is on server and generate corresponding files passe record;And receive from second other meter
Second download request of calculation equipment, determines this second download request according to the files passe record generated
In whether local with the calculating equipment file of data be associated, if it is, process this, second download please
Asking, acquired data are also returned to second other calculating by the file acquisition data local from calculating equipment
Equipment
Alternatively, according in the document transmission method of the present invention, files passe record includes that file is at meter
What calculation equipment was local stores position and storage position on the server.
Alternatively, according in the document transmission method of the present invention, the number in this second download request is determined
The step being associated according to the file the most local with calculating equipment comprises determining that and downloads in request with second
Whether the file that data are associated storage position on the server deposits on the server of files passe record
Storage space is put and is matched.
Alternatively, according in the document transmission method of the present invention, the data in the second download request are determined
The step that the file the most local with calculating equipment is associated includes: obtains to download with second from server and asks
The fileinfo of the file that the data in asking are associated, by this document information and the basis in files passe record
The fileinfo of file of storage position, ground compares, if it does, then determine these data whether with
The file of calculating equipment this locality is associated.
Alternatively, according in the document transmission method of the present invention, when fileinfo includes the amendment of file
Between, one or more in size and file content cryptographic Hash.
Alternatively, if further comprising the steps of: multiple first other meter according to the document transmission method of the present invention
Calculation equipment can process this first download request, then the first download request is split as multiple 3rd download please
Ask, and each 3rd download request is sent to one corresponding first other calculating equipment, in order to point
The different piece of data is not obtained from multiple first miscellaneous equipments.
An also aspect according to the present invention, it is provided that a kind of network store system, including: server;
And multiple calculating equipment, each calculating equipment includes the document transmission device according to the present invention, in order to will
Files passe on calculating equipment is in described server, and from described server/other calculating equipment
Carry data associated with the file.
According to the file transmission scenario of the present invention, calculate at equipment at certain, from server download data it
Before, first judge the lower file being associated with these data whether with this calculating equipment in same LAN
On other calculating equipment, if it is, the corresponding document calculating equipment from these other obtains data,
And server need not be sent the requests to, thus significantly reduce waiting time and the volume of transmitted data of user,
Improve Consumer's Experience and decrease network transmission.
Accompanying drawing explanation
In order to realize above-mentioned and relevant purpose, describe some herein in conjunction with explained below and accompanying drawing and say
Bright property aspect, these aspects indicate can be to put into practice the various modes of principles disclosed herein, and institute
Aspect and equivalence aspect thereof is had to be intended to fall under in the range of theme required for protection.Read by combining accompanying drawing
Reading detailed description below, above-mentioned and other purpose, feature and the advantage of the disclosure will become brighter
Aobvious.Throughout the disclosure, identical reference generally refers to identical parts 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.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the schematic diagram of network store system 100 according to an embodiment of the invention, such as figure
Shown in 1, network store system 100 includes storing server 140 and multiple calculating equipment 110 130 etc..
Calculating equipment 110 130 grade is all passed through network and is connected with storage server 140, wherein calculates equipment 110
With 120 also in same LAN.Along with the development of mobile Internet, in the family, Yi Zhongchang
Situation about seeing is, in addition to traditional computer, the most generally has multiple intelligence with powerful calculated performance
Energy mobile terminal, they can be connected on the Internet by the LAN of family, and and then take with storage
Business device 140 communicates.Each calculating equipment can include document transmission device 200.Can pass through
Document transmission device 200 browses and/or downloads the file of storage in storage server 140, but also can
With by its by the files passe in calculating equipment to storage server 140 in.So, storage server
130 provide a memory space concentrated.User can utilize any one in multiple calculating equipment
Check the file on storage server 30, and when user thinks that file needs at multiple calculating equipment
On when browsing, then can upload to this document store on server 140.
In the present invention, can be that this area is any can process electronic data to calculating equipment 110 130
Equipment, includes but not limited to desktop computer, notebook computer, personal digital assistant, intelligence
Mobile terminal, panel computer etc..Calculating equipment 110 130 generally runs modern operating system, profit
The hardware resource in calculating equipment is managed by operating system.Calculating equipment 110 130 can be in operation system
Various application are run on system.Document transmission device 200 in the present invention can be as one application at meter
Run on calculation equipment 110 and 120.It is of course depend upon the difference of the operating system run on the computing device,
The implementation of document transmission device 200 is the most different, and the present invention is not only restricted to document transmission device 200
Just in order to adapt to the various specific implementation that different operating system uses, and be limited only by document transmission device
200 functions realizing the present invention and must have realize logic.
Fig. 2 shows the schematic diagram of document transmission device according to an embodiment of the invention.File transmits
Equipment 200 is included in any one of the calculating equipment 110 130 shown in Fig. 1, at the equipment of calculating
Middle operation, in order to browse and/or the file of storage in download server 140, and by calculating equipment
File is transferred to store in server 140 and stores.
As in figure 2 it is shown, document transmission device 200 includes nearby device evaluator 210.Nearby device is known
Other device 210 is for searching the calculating equipment resided over together with document transmission device 200 (below
In, reside in the document transmission device 200 shown in Fig. 2 and be described on the calculating equipment 110 of Fig. 1,
It is understood that above description is only schematically, rather than limitation of the present invention) it is in together
Other in one LAN calculate equipment.
Nearby device evaluator 210 can use various ways to search other that be in same LAN
Calculating equipment.Such as, nearby device evaluator 210 can utilize udp protocol to carry out extensively in a local network
Broadcasting, other calculating equipment equally with nearby device evaluator can reply this broadcast, thus sets up logical
Letter, and it is mutually distinguishable out the other side.
According to a kind of implementation of the present invention, nearby device evaluator 210 can timing and storage service
Device 140 communicates.Storage server 140 when communicating with each calculating equipment 110 130,
Can obtain each calculating equipment 110 130 by which internet-ip address is connected to store server 140
Information.Owing to the different calculating equipment in same LAN would generally by same IP address even
Receive the Internet, therefore find that multiple calculating equipment is (as calculated equipment 110 He when storage server 140
120) when utilizing same IP address to be connected to store server 140, it is possible to think these multiple calculating
Equipment is in same LAN.Subsequently, storage server 140 can be carried out with these calculating equipment
Alternately, to obtain calculating equipment IP address in a local network, (this can set by sending instructions to calculating
Standby, in order to its IP address in a local network is sent to server 140 and realizes by calculating equipment, but
The present invention is not only restricted to this, and all can acquisition calculates the embodiment of equipment local area networks IP address all at this
Within the protection domain of invention).Storage server 140 by obtained calculate equipment LAN IP ground
The nearby device evaluator 210 of other calculating equipment that location is sent in same LAN, so that
Nearby device evaluator 210 learns one or more that be in same LAN with calculating equipment 110
Other calculates equipment.
User's operating file transmission equipment 200 on calculating equipment 110 is storing server 140 to browse
The file of upper storage, now document transmission device 200 can obtain corresponding file from storage server 140
Storage organization (such as stores the bibliographic structure of file, the listed files etc. in certain catalogue), and presents to
User.User can select certain file and download this document and check, in one example, works as user
Time under the server file catalogue browsed for graphic file, when user browses this document catalogue, file passes
Transfer device 200 will present the thumbnail of this graphic file.And in another example, when user to broadcast
When putting the multimedia file on certain server, document transmission device 200 can be according to residing calculating equipment
Feature, from server request after cutting, be suitable to the multi-medium data of this calculating equipment.Above
Example in, the data of the not file that document transmission device 200 is downloaded from server request itself, and
It is the data generated according to file content.
Therefore, alternatively, document transmission device 200 includes downloading request generator 220.Download request
Maker 220 generates according to the operation of user will be from the download request of server download data, this download
Being asked the data downloaded to be associated with the file of storage on server, such as data are this document basis
The data of body, or for the data generated according to this document.The request of download generally also includes literary composition to be correlated with
Part storage position on the server, such server 140 just can process this download request exactly.
As in figure 2 it is shown, document transmission device 200 includes downloading controller 230.Downloading controller 230
It is couple to download request generator 220 process to receive the download request generated.Downloading controller 230
Can obtain from nearby device evaluator 210 and calculate equipment 110 other calculating same LAN
The information of equipment (calculating equipment 120), calculates equipment if there is no other, then this download is asked
It is sent to server 140 to download data.Equipment, then downloading controller 230 are calculated if there is other
Download request can be sent to other calculating equipment each process.If any one other calculating sets
The standby message that can not process this download request that all returns, then this download request can be sent out by downloading controller 230
Give server 140 to download data.If there being other calculating equipment can process this download request, then
Downloading controller 230 calculates device downloads data from these other.
Alternatively, when nearby device evaluator 210 gets other calculating equipment multiple, and have multiple
When other calculating equipment can process the download request that downloading controller 230 receives, downloading controller 230
Data can be downloaded in the way of using similar peer-to-peer network transmission.I.e. downloading controller 230 can just will
Download request is divided into multiple downloads request, each download request be used for asking downloading a part originally will under
The data carried, and these download requests are sent respectively to other calculating equipment, corresponding to obtain
Data.Subsequently, downloading controller 230 combines acquired data and completes the process to former download request.
Document transmission device 200 is except in addition to browsing and/or download the file in storage server 140
It is additionally operable in the files passe of calculating equipment 110 this locality to storage server 140, to this end, file passes
Transfer device 200 includes uploading controller 240.Upload controller 240 by calculating equipment 110 this locality
Files passe is to storing on server 140.The user of calculating equipment can be such as between office and other places
Frequently during mobile office, it may be desirable to by the files passe being not fully complete in office to storing on server 140,
This document is obtained in other places again when then handling official business.It addition, in one example, user may exist at needs
Browsing multimedia file on various mobile terminals, and these multimedia files are originally stored in other desktop meter
In calculation machine, be now accomplished by utilizing in desktop computer uploads controller 240 by these multimedia files
Upload to store on server.
Upload controller 240 while by files passe to storage server 140, can generate corresponding
Files passe record.Upload controller 240 often to upload a file and will generate files passe note
Record, every files passe record can include that the time of transmitting file, file are in local the depositing of calculating equipment
Storage space is put and in the storage position etc. stored on server 140.Alternatively, document transmission device 200
Memory element 250 can also be included, upload, for storage, the files passe record that controller 240 generates.
In order to process the download request calculating equipment from other in same LAN, document transmission device
200 also include downloading request processor 260.Download request processor 260 to receive from other calculating equipment
Download ask and process.Download request processor 260 according to uploading the literary composition that controller 240 generates
Part is uploaded record and is determined whether the data in this download request are associated with the file of calculating equipment this locality,
If be associated, then return and can process the calculating equipment that the message of this download request is asked to transmission, with
After, from the file that calculating equipment is local, obtain data and acquired data are returned to other calculating set
Standby.If unconnected, then download request processor 260 and return the message that can not process this download request.
In one embodiment, the request of downloading includes that the file being associated with the data in the request of downloading exists
File storage location on server 140, and every files passe record also includes that file is at calculating equipment
Local storage position and file respective memory locations on the server 140.Download request processor
260 can inquire about in files passe record list, with locating file storage position on the server
Put and download the files passe record that the file storage location in request matches.If able to find phase
Should record, then it is believed that this download request can be met by local file, otherwise return can not process
The message of this download request.
Further, owing to, after on files passe to server, user can be calculated by other
Equipment obtains this document from server, carries out editing uploading the most again.Therefore equipment is calculated locally stored
File is not necessarily up-to-date file, needs to further determine that this locality to this end, download request processor 260
Whether whether the file of storage be consistent with the file of storage on server 140.In a kind of implementation
In, when download request processor 260 finds in files passe record and records accordingly, from service
Device 140 obtains the fileinfo of the file at respective memory locations on the server, by this document information with
The fileinfo of the file of locally stored position is compared to determine locally stored file and server
The file of upper storage is the most consistent, if unanimously, is then directly met download request by local file;No
Then return the message that can not process this download request.
Fileinfo can include the up-to-date modification time of such as file, file size and/or to file content
The cryptographic Hash etc. such as the MD5 value obtained after carrying out hash calculating.The present invention is not only restricted to the concrete of fileinfo
Content, all is determined for the local file information the most consistent with the corresponding document on server all
Within protection scope of the present invention.
Further optionally, need to expend server due to calculation document cryptographic Hash and calculating equipment is too many
The calculating time, download request processor 260 and can first check for the up-to-date modification time of file and size is
No coupling, only have matched calculating and the coupling just proceeding cryptographic Hash, otherwise may determine that local literary composition
File on part and server is inconsistent, just need not carry out the comparison of cryptographic Hash.
Document transmission device 200 according to the present invention can be before server downloads data, under first judging
The file being associated with these data whether with other calculating equipment in same LAN of this calculating equipment
On, if it is, the corresponding document calculating equipment from these other obtains data, and need not will ask
It is sent to server, thus significantly reduces waiting time and the volume of transmitted data of user, improve user
Experience and decrease network transmission.
For example, user has a mobile terminal (corresponding to calculating equipment 110) and at home
Individual notebook (corresponding to calculating equipment 120), the two equipment same route by family
Device is connected to the Internet.When user uses mobile terminal at home, find on network, there is a good music,
The most just download on mobile terminal and be stored as a.mp3.In order to it is (right with the computer of office
Should be in calculating equipment 130) share this document, this document is uploaded onto the server the " sound on 140 by user
Happy " under catalogue, now uploading controller 240 and can give birth on the document transmission device 200 on mobile terminal
Becoming a file transmission log, recorded content includes file transmission time, local catalogue and position
" a.mp3 " and storage position " music/a.mp3 " on the server.After having spent a period of time,
User uses the file on notebook browser server at home, finds a.mp3 music file,
And wanting to listen to this music, now user can click directly on this document to play online.Now exist
In notebook, nearby device evaluator 210 will recognise that mobile terminal and notebook are at same LAN
In, download request generator 220 can generate the download of request a.mp3 data and ask, and downloading controller
230 when receiving this request, can first obtain same LAN from nearby device equipment 210
Miscellaneous equipment, i.e. mobile terminal, by this download request be sent to mobile terminal.Under in mobile terminal
Carry request processor 260 to make a look up in file transmission log, find that this a.mp3 file is mobile whole
End this locality has stored, and therefore downloads request processor 260 and can directly read mobile terminal this locality
A.mp3 this data and return to the downloading controller 230 of notebook, thus avoid unnecessary network
Transmission, also reduces the time of the music to be played such as user simultaneously, enhances Consumer's Experience.
Fig. 3 shows the schematic diagram of the document transmission method 300 according to one implementation of the present invention, figure
Document transmission method 300 shown in 3 is suitable to perform in calculating equipment 110-130 in FIG, in order to will
Files passe in calculating equipment is in server 140, and browses and/or deposit in download server 140
The file of storage.According to an embodiment, this document transmission method 300 can pass by file as shown in Figure 2
Transfer device 200 performs.
Document transmission method 300 starts from step S310.In step S310, search and execution method 300
Calculating equipment (hereinafter, with method 300 by Fig. 1 calculating equipment 110 perform be described,
It is understood that above description is only schematically, rather than limitation of the present invention) it is in together
Other in one LAN calculate equipment.
Various ways can be used to search other calculating equipment being in same LAN.Such as, exist
In one mode, udp protocol can be utilized in a local network to broadcast, other has neighbouring setting equally
The calculating equipment of standby evaluator can reply this broadcast, thus sets up communication, and is mutually distinguishable out the other side.
According to the another kind of implementation of the present invention, calculating equipment can enter with storage server 140 in timing
Row communication.Storage server 140, when communicating with each calculating equipment 110 130, can obtain each
Individual calculating equipment 110 130 is connected to store the information of server 140 by which internet-ip address.
Owing to the different calculating equipment in same LAN would generally be connected to interconnection by same IP address
Net, therefore finds multiple calculating equipment (as calculated equipment 110 and 120) profit when storage server 140
When being connected to store server 140 with same IP address, it is possible to think that these multiple calculating equipment are in
In same LAN.Subsequently, storage server 140 can interact with these calculating equipment, with
Obtain calculating equipment IP address in a local network (this can be by sending instructions to calculating equipment, in order to
Its IP address in a local network is sent to server 140 and realizes by calculating equipment, but the present invention is not
Being limited to this, all can acquisition calculates the embodiment of equipment local area networks IP address all the guarantor of the present invention
Within the scope of protecting).The LAN IP address calculating equipment obtained is sent to by storage server 140
Other in same LAN calculate equipment, so that each calculating equipment is learned and calculating equipment 110
One or more other calculating equipment being in same LAN.
User browses the file of storage on storage server 140 by calculating equipment 110, now counts
Calculation equipment 110 can obtain corresponding file storage structure from storage server 140 and (such as store file
Bibliographic structure, the listed files etc. in certain catalogue), and present to user.User can select certain literary composition
Part is also downloaded this document and is checked, in one example, when under the server file catalogue that user browses being
During graphic file, when user browses this document catalogue, the thumbnail of this graphic file will be presented.And
In another example, when user to play the multimedia file on certain server, calculate equipment meeting
According to the residing feature calculating equipment, from server request after cutting, be suitable to this calculating equipment
Multi-medium data.In the above example, the not file itself that equipment is downloaded is calculated from server request
Data, but data generated according to file content.
Therefore, document transmission method also includes in step S320, wherein receives and gives birth to according to the operation of user
Cheng Yaocong server is downloaded the download request of data and is processed.Download asked download data and
On server storage file be associated, such as data are the data of this document itself, or according to this
File and the data that generate.The request of download generally also includes wanting associated documents storage position on the server,
So server 140 just can process this download request exactly.In step s 320, step can be checked
Whether S310 obtains and (calculates with calculating equipment 110 other calculating equipment in same LAN
Equipment 120) information, if there is no other calculate equipment, then by this download request be sent to service
Device 140 is to download data.If storing other calculating equipment, the most in step s 320, can ask downloading
Ask and be sent to other calculating equipment each and process.If any one other calculating equipment all returns not
The message of this download request can be processed, then this download request can be sent to server 140 to download data.
If there being other calculating equipment can process this download request, then downloading controller 230 sets from other calculating
Standby download data.
Alternatively, when getting other calculating equipment multiple in step S310, and in step S320
In determine other calculating equipment multiple can process download request time, class can be used in step s 320
The mode transmitted like peer-to-peer network downloads data.Download request i.e. can be divided into multiple download ask,
Each request of downloading is used for asking to download the data that a part is to be downloaded, and these requests of downloading is divided
It is not sent to other calculating equipment, to obtain corresponding data.Subsequently, combine in step s 320
Acquired data complete the former process downloading request.
Method 300 except for browse and/or download storage server 140 in file in addition to be additionally operable to by
The files passe of calculating equipment this locality is to storing in server 140, to this end, document transmission method includes step
Rapid S330.In step S330, by the files passe calculated in equipment 110 this locality to storing server
On 140.The user of calculating equipment can such as during frequent mobile office, can need between office and other places
Will be by the files passe being not fully complete in office to storing on server 140, when then handling official business in other places again
Obtain this document.It addition, in one example, user may browse on various mobile terminals at needs
Multimedia file, and these multimedia files are originally stored in other desktop computer, are now accomplished by
These multimedia files are uploaded to store on server by these desktop computers.
In step S330, while by files passe to storage server 140, can generate corresponding
Files passe record.In step S330, often upload a file and will generate a files passe note
Record, every files passe record can include that the time of transmitting file, file are in local the depositing of calculating equipment
Storage space is put and in the storage position etc. stored on server 140.Alternatively, step S330 can also be wrapped
Include the step of the files passe record that storage is generated.
In order to process the download request calculating equipment from other in same LAN, document transmission method
300 also include step S340.Step S340 receives and goes forward side by side from other download request calculating equipment
Row processes.In step S340, the files passe record according to generating in step S330 determines this
The file downloading the data in request the most local with calculating equipment is associated, if be associated, then returns
The message calculating equipment to transmission request of this download request can be processed, subsequently, local from the equipment of calculating
File in obtain data acquired data are returned to other calculating equipment.If it is unconnected,
Then return the message that can not process this download request.
In one embodiment, the request of downloading includes that the file being associated with the data in the request of downloading exists
File storage location on server 140, and every files passe record also includes that file is at calculating equipment
Local storage position and file respective memory locations on the server 140.In step S340,
Can inquire about in files passe record list, with locating file storage position on the server with
Download the files passe record that the file storage location in request matches.If able to find corresponding note
Record, then it is believed that this download request can be met by local file, otherwise return and can not process under this
Carry the message of request.
Further, owing to, after on files passe to server, user can be calculated by other
Equipment obtains this document from server, carries out editing uploading the most again.Therefore equipment is calculated locally stored
File is not necessarily up-to-date file, to this end, in step S340, needs to further determine that locally stored
File whether be whether consistent with the file of storage on server 140.In one implementation,
Step S340 finds in files passe record when recording accordingly, obtain from server 140
The fileinfo of file at respective memory locations on server, by this document information and locally stored position
The fileinfo of the file at place is compared to determine on locally stored file and server the file of storage
The most consistent, if unanimously, then directly met download request by local file;Otherwise return and can not locate
Manage the message of this download request.
Fileinfo can include the up-to-date modification time of such as file, file size and/or to file content
The cryptographic Hash etc. such as the MD5 value obtained after carrying out hash calculating.The present invention is not only restricted to the concrete of fileinfo
Content, all is determined for the local file information the most consistent with the corresponding document on server all
Within protection scope of the present invention.
Further optionally, need to expend server due to calculation document cryptographic Hash and calculating equipment is too many
The calculating time, in step S340, the up-to-date modification time of file and size can be first checked for whether
Join, only have matched calculating and the coupling just proceeding cryptographic Hash, otherwise may determine that local file and
File on server is inconsistent, just need not carry out the comparison of cryptographic Hash.
Document transmission method 300 according to the present invention can be before server downloads data, under first judging
The file being associated with these data whether with other calculating equipment in same LAN of this calculating equipment
On, if it is, the corresponding document calculating equipment from these other obtains data, and need not will ask
It is sent to server, thus significantly reduces waiting time and the volume of transmitted data of user, improve user
Experience and decrease network transmission.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, and
It is not shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one
Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim
Middle feature more features be expressly recited.More precisely, as the following claims reflect
Like that, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Claims of body embodiment are thus expressly incorporated in this detailed description of the invention, and the most each right is wanted
Ask itself all as the independent embodiment of the present invention.
Those skilled in the art are to be understood that module or the list of the equipment in example disclosed herein
Unit or assembly can be arranged in equipment as depicted in this embodiment, or alternatively can position
In the one or more equipment different from the equipment in this example.Module in aforementioned exemplary can combine
It is a module or is segmented into multiple submodule in addition.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly
Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible
Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used
To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit excludes each other, can use any combination that (this specification is included companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it
Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment
Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power
In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection
With.
Additionally, some in described embodiment be described as at this can by the processor of computer system or
Person by perform described function other device implement method or the combination of method element.Therefore, there is use
Processor in the necessary instruction implementing described method or method element is formed and is used for implementing the method or method
The device of element.Additionally, the element described herein of device embodiment is the example of following device: this dress
Put for implementing by the function performed by the element of the purpose in order to implement this invention.
As used in this, unless specifically stated so, use ordinal number " first ", " second ", " the
Three " etc. describe plain objects and be merely representative of the different instances relating to similar object, and be not intended dark
Show the object being so described must have the time upper, spatially, sequence aspect or with arbitrarily other side
Formula to definite sequence.
Although the embodiment according to limited quantity describes the present invention, but benefits from above description, this
In technical field it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other
Embodiment.Additionally, it should be noted that the language used in this specification is primarily to readable and teaching
Purpose and select rather than select to explain or limit subject of the present invention.Therefore,
In the case of without departing from the scope of the appended claims and spirit, for the common skill of the art
For art personnel, many modifications and changes will be apparent from.For the scope of the present invention, to the present invention
The disclosure done is illustrative and not restrictive, and the scope of the present invention is limited by appended claims
Fixed.
The invention discloses A1, a kind of document transmission device, this document transmission equipment runs at the equipment of calculating,
Be suitable to that the file on calculating equipment is transferred to server and browse and/or storage in download server
File, this document transmission equipment includes:
Nearby device evaluator, is suitable to obtain with this calculating equipment same LAN from described server
One or more first other calculate equipment;And
Downloading controller, is suitable to receive the first download request downloading data from server, by described first
One or more first other calculating equipment that the request of download is sent in described same LAN, if
Any one first other calculating equipment can process this first download request, then set from this first other calculating
Standby data of downloading, otherwise download data from described server.
A2, document transmission device as described in A1, also include:
Upload controller, be suitable on the files passe in described calculating equipment this locality to server and generate
Corresponding files passe record;And
Download request processor, be suitable to receive and ask from second other second download calculating equipment, root
According to the described files passe record of controller generation of uploading whether to determine these second data downloading in request
The file local with described calculating equipment is associated, if it is, process this second download request, from institute
State the local file acquisition data of calculating equipment and acquired data are returned to second other calculating set
Standby.
A3, document transmission device as described in A1 or A2, also include downloading request generator, be suitable to
Generate described the first download request downloading data from server.
A4, document transmission device as described in A2, wherein said files passe record includes that file is calculating
What equipment was local stores position and storage position on the server.
A5, document transmission device as described in A4, wherein said download request processor is determined by and the
Whether the file that the data in two download requests are associated storage position on the server is included on file
Biography record determining, whether these data are associated with the file of calculating equipment this locality.
A6, document transmission device as described in A5, wherein said download request processor obtains from server
Take and the second fileinfo downloading the file that the data in request are associated, by this document information and file
The fileinfo of the file uploading the locally stored position in record compares, if it does, then really
Whether these data fixed are associated with the file of calculating equipment this locality.
A7, document transmission device as described in A6, wherein said fileinfo include file modification time,
One or more in size and file content cryptographic Hash.
A8, document transmission device as described in any one in A1 mono-A7, if multiple first other calculating sets
For processing this first download request, described first download request is torn open by the most described download request processor
Be divided into multiple 3rd download request, and each 3rd download request is sent to one corresponding first its
It calculates equipment, in order to obtain the different piece of data respectively from multiple first miscellaneous equipments.
The invention also discloses B1, a kind of document transmission method, this document transmission method is in the equipment of calculating fortune
OK, be suitable to that the file on calculating equipment is transferred to server and browse and/or store in download server
File, this document transmission method includes step:
From described server obtain with this calculating equipment same LAN one or more first its
It calculates equipment;And
Receive the first download request downloading data from server, described first download request is sent to institute
State one or more first other calculating equipment in same LAN, if any one first other meter
Calculation equipment can process this first download request, then from these first other calculating device downloads data, otherwise
Data are downloaded from described server.
B2, document transmission method as described in B1, further comprise the steps of:
By on the files passe in described calculating equipment this locality to described server and generate on corresponding file
Biography is recorded;And
Receive and ask, according to the files passe note generated from second other second download calculating equipment
Record determines whether these second data downloading in request are associated with the file of described calculating equipment this locality,
If it is, according to this second download request from the file acquisition data of described calculating equipment this locality and by institute
The data obtained return to second other calculating equipment.
B3, document transmission method as described in B1 or B2, wherein said files passe record includes literary composition
Part is in the storage position of the equipment of calculating this locality and storage position on the server.
B4, document transmission method as described in B3, wherein said determine that this second downloads the data in request
The step that the file the most local with described calculating equipment is associated comprises determining that and this second download request
In the file that is associated of data storage position on the server whether with the service in files passe record
Store position on device to match.
Whether B5, document transmission method as described in B4, wherein determine these second data downloading in request
The step that the file local with described calculating equipment is associated includes: obtains to download with second from server and asks
The fileinfo of the file that the data in asking are associated, by this document information and the basis in files passe record
The fileinfo of file of storage position, ground compares, if it does, then determine these data whether with
The file of calculating equipment this locality is associated.
B6, document transmission method as described in B5, wherein said fileinfo include file modification time,
One or more in size and file content cryptographic Hash.
B7, document transmission method as described in any one in B1 mono-B6, further comprise the steps of:
If multiple first other calculating equipment can process this first download request, then by described first time
Load request is split as the multiple 3rd and downloads request, and each 3rd download request is sent to one accordingly
First other calculate equipment, in order to respectively from multiple first miscellaneous equipments obtain data different piece.
The invention also discloses C1, a kind of network store system, including:
Server;And
Multiple calculating equipment, each calculating equipment includes the file as described in any one in claim 1-8
Transmission equipment, in order to by the files passe on calculating equipment to described server, and from described service
The data that device/other calculating device downloads is associated with the file.
Claims (14)
1. a document transmission device, this document transmission equipment runs at the equipment of calculating, is suitable to calculate
File on equipment is transferred to server and browses and/or the file of storage in download server, this article
Part transmission equipment includes:
Nearby device evaluator, is suitable to obtain with this calculating equipment at same LAN from described server
In one or more first other calculate equipment;
Downloading controller, is suitable to receive the first download request downloading data from server, by described the
One or more first other calculating equipment that one request of downloading is sent in described same LAN,
If any one first other calculating equipment can process this first download request, then from this first other
Calculate device downloads data, otherwise download data from described server;
Upload controller, be suitable on the files passe in described calculating equipment this locality to server and raw
Become corresponding files passe record;And
Download request processor, be suitable to receive and ask from second other second download calculating equipment,
The data in this second download request are determined according to the described files passe record uploading controller generation
The file the most local with described calculating equipment is associated, if it is, process this second download request,
Acquired data are also returned to second other meter by the file acquisition data local from described calculating equipment
Calculation equipment.
2. document transmission device as claimed in claim 1, also includes downloading request generator, is suitable to
Generate described the first download request downloading data from server.
3. document transmission device as claimed in claim 1, wherein said files passe record includes literary composition
Part is in the storage position of the equipment of calculating this locality and storage position on the server.
4. document transmission device as claimed in claim 3, wherein said download request processor passes through
Determine whether the file being associated with the data in the second download request storage position on the server wraps
It is contained in files passe record and determines whether these data are associated with the file of calculating equipment this locality.
5. as described in claim 4 document transmission device, wherein said download request processor from
Server obtains and the second fileinfo downloading the file that the data in request are associated, by this document
Information compares with the fileinfo of the file of the locally stored position in files passe record, as
Fruit coupling, it is determined that whether these data are associated with the file of calculating equipment this locality.
6. document transmission device as claimed in claim 5, wherein said fileinfo includes file
One or more in modification time, size and file content cryptographic Hash.
7. the document transmission device as described in any one in claim 1-6, if multiple first other
Calculating equipment can process this first download request, and the most described download request processor is by described first time
Load request is split as the multiple 3rd and downloads request, and each 3rd download request is sent to a phase
Other calculating equipment of first answered, in order to obtain the different portions of data respectively from multiple first miscellaneous equipments
Point.
8. a document transmission method, this document transmission method runs at the equipment of calculating, is suitable to calculate
File on equipment is transferred to server and browses and/or the file of storage in download server, this article
Part transmission method includes step:
From described server obtain with this calculating equipment same LAN one or more first
Other calculates equipment;
Receive the first download request downloading data from server, described first download request is sent to
In described same LAN one or more first other calculate equipment, if any one first its
Its calculating equipment can process this first download request, then from these first other calculating device downloads data,
Otherwise download data from described server;
This document transmission method also includes the files passe in described calculating equipment this locality to described service
On device and generate corresponding files passe record;And
Receive and ask, according to the files passe generated from second other second download calculating equipment
Record determines that these second data downloading in request are the most relevant to the file of described calculating equipment this locality
Connection, if it is, according to these the second download request file acquisition data from described calculating equipment this locality
And acquired data are returned to second other calculating equipment.
9. document transmission method as claimed in claim 8, wherein said files passe record includes literary composition
Part is in the storage position of the equipment of calculating this locality and storage position on the server.
10. document transmission method as claimed in claim 9, wherein said determine this second download please
The step whether data in asking are associated with the file of described calculating equipment this locality comprises determining that and is somebody's turn to do
Second download the storage position on the server of the file that is associated of data in request whether with on file
Store position on server in biography record to match.
11. document transmission methods as described in claim 10, wherein determine this second download request
In the step that is associated of whether local with the described calculating equipment file of data include: obtain from server
Take and the second fileinfo downloading the file that the data in request are associated, by this document information and literary composition
The fileinfo of the file that part uploads the locally stored position in record compares, if it does,
Then determine whether these data are associated with the file of calculating equipment this locality.
12. document transmission methods as claimed in claim 11, wherein said fileinfo includes file
Modification time, size and file content cryptographic Hash in one or more.
13. document transmission methods as described in any one in claim 8-12, further comprise the steps of:
If multiple first other calculating equipment can process this first download request, then by described first
Download request is split as the multiple 3rd and downloads request, and each 3rd download request is sent to one
Corresponding first other calculating equipment, in order to obtain the difference of data respectively from multiple first miscellaneous equipments
Part.
14. 1 kinds of network store systems, including:
Server;And
Multiple calculating equipment, each calculating equipment includes the literary composition as described in any one in claim 1-7
Part transmission equipment, in order to by the files passe on calculating equipment to described server, and from described
The data that server/other calculating device downloads is associated with the file.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310684043.1A CN103747032B (en) | 2013-12-12 | 2013-12-12 | A kind of document transmission method, equipment and system |
US15/103,734 US20160315997A1 (en) | 2013-12-12 | 2014-12-11 | File transfer method, device, and system |
PCT/CN2014/093577 WO2015085939A1 (en) | 2013-12-12 | 2014-12-11 | File transfer method, device, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310684043.1A CN103747032B (en) | 2013-12-12 | 2013-12-12 | A kind of document transmission method, equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103747032A CN103747032A (en) | 2014-04-23 |
CN103747032B true CN103747032B (en) | 2016-09-28 |
Family
ID=50504019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310684043.1A Expired - Fee Related CN103747032B (en) | 2013-12-12 | 2013-12-12 | A kind of document transmission method, equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103747032B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160315997A1 (en) * | 2013-12-12 | 2016-10-27 | Beijing Qihoo Technology Company Limited | File transfer method, device, and system |
CN105354312A (en) * | 2015-11-10 | 2016-02-24 | 中国建设银行股份有限公司 | File storage method and method, and file downloading method and system |
CN105610857A (en) * | 2016-01-26 | 2016-05-25 | 杭州德澜科技有限公司 | Method for automatically identifying local and remote networks |
CN106487926A (en) * | 2016-12-07 | 2017-03-08 | 雷蕾 | A kind of document transmission method and system |
CN110233862A (en) * | 2018-03-05 | 2019-09-13 | 上海聚虹光电科技有限公司 | Device file pulls system in local area network |
CN111431957B (en) * | 2019-01-10 | 2023-09-26 | 钉钉控股(开曼)有限公司 | File processing method, device, equipment and system |
CN111294396A (en) * | 2020-01-20 | 2020-06-16 | 咪咕数字传媒有限公司 | File transmission method and device, electronic equipment and storage medium |
CN115514753A (en) * | 2021-06-23 | 2022-12-23 | 中兴通讯股份有限公司 | Data processing method, file service system, terminal device, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101873348A (en) * | 2010-06-09 | 2010-10-27 | 清华大学 | Cloud storage system based on network gateway devices and network access method thereof |
CN102368737A (en) * | 2011-11-25 | 2012-03-07 | 裘嘉 | Cloud storage system and data access method thereof |
CN103108051A (en) * | 2013-02-27 | 2013-05-15 | 上海够快网络科技有限公司 | Synchronous file sharing method from cloud server |
-
2013
- 2013-12-12 CN CN201310684043.1A patent/CN103747032B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101873348A (en) * | 2010-06-09 | 2010-10-27 | 清华大学 | Cloud storage system based on network gateway devices and network access method thereof |
CN102368737A (en) * | 2011-11-25 | 2012-03-07 | 裘嘉 | Cloud storage system and data access method thereof |
CN103108051A (en) * | 2013-02-27 | 2013-05-15 | 上海够快网络科技有限公司 | Synchronous file sharing method from cloud server |
Also Published As
Publication number | Publication date |
---|---|
CN103747032A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103747032B (en) | A kind of document transmission method, equipment and system | |
CN103780676B (en) | File transmission method, device and system | |
CN103812882B (en) | A kind of method and system of file transmission | |
CN102999636B (en) | Pop-up in webpage is carried out method and the browser of intercept process | |
CN108737534B (en) | Block chain-based data transmission method and device and block chain system | |
US20160100035A1 (en) | Personal handheld web server and storage device | |
CN103227836B (en) | Offline download method and off-line download server | |
CN106933871A (en) | Short linking processing method, device and short linked server | |
CN103731487A (en) | Download method, device, system and router for resource file | |
US8903972B2 (en) | Method and apparatus for sharing contents using information of group change in content oriented network environment | |
CN103312489B (en) | A kind of terminal carries out synchronize method and apparatus with server | |
CN105554085B (en) | A kind of dynamic timeout treatment method and apparatus based on server connection | |
CN105208065A (en) | File transmitting method and device | |
CN103369002B (en) | A kind of method and system of resource downloading | |
CN106131113A (en) | A kind of resource downloading method, device, system and Resource Server | |
CN103248678A (en) | Data resource sharing method, server-side and client-side | |
CN103888505A (en) | File transmission method and system, and terminal devices and servers | |
CN103678535A (en) | Browser and downloading method thereof | |
CN104504113B (en) | Mobile terminal browser carries out the method, apparatus and mobile terminal of information processing | |
US9137331B2 (en) | Adaptive replication | |
CN104735041A (en) | Method and device for having access to offline resources | |
WO2015085939A1 (en) | File transfer method, device, and system | |
KR101294202B1 (en) | Storage device for data sharing | |
CN106134161B (en) | Method for obtaining content from peer device | |
CN110535959A (en) | A kind of method, apparatus and computer readable storage medium for transmitting data |
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 | ||
CB03 | Change of inventor or designer information |
Inventor after: Chen Bin Inventor after: Zhao Huaqiang Inventor after: Wang Lin Inventor before: Zhao Huaqiang Inventor before: Wang Lin |
|
COR | Change of bibliographic data | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160928 Termination date: 20211212 |