CN102065113A - Method and system for accelerating to upload files - Google Patents
Method and system for accelerating to upload files Download PDFInfo
- Publication number
- CN102065113A CN102065113A CN2009102381308A CN200910238130A CN102065113A CN 102065113 A CN102065113 A CN 102065113A CN 2009102381308 A CN2009102381308 A CN 2009102381308A CN 200910238130 A CN200910238130 A CN 200910238130A CN 102065113 A CN102065113 A CN 102065113A
- Authority
- CN
- China
- Prior art keywords
- section
- client
- upload
- file
- uploaded
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a method and system for accelerating to upload files, which is used for solving the problem of lower uploading efficiency in the existing technology. In the method, a receiving server receives fragments of files to be uploaded, wherein the files are simultaneously uploaded by a client-side; and after the client-side finishes uploading the fragments, a WEB server receives fragment rules uploaded by the client-side, and acquires the fragments from the receiving server, and restores the fragments to the files to be uploaded in accordance with the fragment rules. Because the client-side fragments the files to be uploaded and then simultaneously uploads the fragments, uploading efficiency of the files is improved.
Description
Technical field
The invention belongs to communication technical field, the method and system that particularly a kind of file acceleration is uploaded.
Background technology
Development along with Internet and video and audio frequency technology applications, the download technology of file is also progressively perfect, multithreading occurs and downloaded software, these softwares can download to the video files of server end on user's the machine fast, very outstanding what do aspect the file acceleration download, still, upload technology for file, also have only dual mode at present, upload and upload by the ftp agreement by the http agreement.
At present, the mode of using of uploading, as uploading by the http agreement and uploading by the ftp agreement, smaller or network speed is local normally for some files, as use the http mode can satisfy the requirement that sends substantially, but the place of actual needs upload file can not always guarantee network speed, and the file that has is very big, upload meeting with common http mode again and a lot of problems occur, lower such as last transfer efficiency.
Summary of the invention
In order to solve the lower problem of transfer efficiency on the prior art file, the embodiment of the invention provides a kind of file to quicken the method for uploading, and comprising:
Reception server receives client will treat each section of uploading simultaneously after the transmitting file section;
Client with each section upload finish after, the WEB server receives the section rule of client upload;
The WEB server obtains each section from reception server, and is reduced to and treats transmitting file according to the section rule.
The embodiment of the invention also provides a kind of file to quicken the system that uploads simultaneously, comprising:
Reception server is used to receive client and will treats each section of uploading simultaneously after the transmitting file section;
The WEB server, be used for client with each section upload finish after, receive the section rule of client upload;
Obtain each section from reception server, and be reduced to and treat transmitting file according to the section rule.
By specific embodiments provided by the invention as can be seen, will treat to upload simultaneously after the transmitting file section just because of client, and then improve transfer efficiency on the file.
Description of drawings
Fig. 1 is the first embodiment method flow diagram provided by the invention;
Fig. 2 is the second embodiment system construction drawing provided by the invention.
Embodiment
Upload the lower problem of efficient in order to solve in the prior art file, the embodiment of the invention provides a kind of file to quicken the method for uploading, client will be treated the transmitting file section, client is uploaded each section to reception server simultaneously, reception server receives each section that client is uploaded simultaneously, client will treat transmitting file upload finish after, upload the section rule to the WEB server, after the WEB server receives the section rule of client upload, the WEB server obtains from reception server and treats transmitting file section, and is reduced to according to the section rule and treats transmitting file.Because client will be treated to upload simultaneously after the transmitting file section, and then improve transfer efficiency on the file.
First embodiment provided by the invention is the method that a kind of file acceleration is uploaded, and treats that upload file is A.MP3, and method flow comprises as shown in Figure 1:
Step 101: client is uploaded thread is uploaded A.MP3 simultaneously to reception server 2 different sliced sections by 2 files, and generates A1.MP3 and A2.MP3 at reception server.
Step 102: after client upload is finished, upload the section rule to the WEB server.
After step 103:WEB server receives the section rule of client upload, send the request message that obtains A1.MP3 and A2.MP3 to reception server.
Step 104: reception server sends A1.MP3 and A2.MP3 to the WEB server after receiving request message.
After step 105:WEB server receives A1.MP3 and A2.MP3, A1.MP3 and A2.MP3 are reduced to A.MP3 according to the section rule.
Wherein in the step 101, A1.MP3 and A2.MP3 still be suffix be the file of ACF form or the file of other form, present embodiment is according to default cutting quantity 2, A.MP3 is split as 2 uploads, and can also A.MP3 be divided into 34 etc. according to upload speed.In the present embodiment A.MP3 being split as 2 uploads, can be actually to generate section file A1.MP3 and A2.MP3 in client, just generate section explanation slice.xml file, in slice.xml, indicate: the file of section one A1.MP3 by name, the start-stop address information, how many bytes are size be; The file name of section two is A2.MP3, the start-stop address information, and how many bytes are size be.A start-stop address information of uploading thread according to section one, size for how many bytes is uploaded A.MP3, another uploads the start-stop address information of thread according to section two simultaneously, size for how many bytes is uploaded A.MP3, also can be at actual generation section one corresponding file A1.MP3 of client and section two corresponding file A2.MP3, upload thread for one A1.MP3 is uploaded, another is uploaded thread A2.MP3 is uploaded.
Client has split the back and has started a timer, and regularly uploading thread and uploading the thread of uploading of section two of section one uploaded in monitoring, and when two upload when interrupting of uploading and/or cut into slices of section one, regularly the section that interruption is uploaded continues biography.File is uploaded thread and is used the ftp mode to upload section one and section two, and corresponding reception server is a ftp server, can certainly be based on the server of http mode work.。
For step 102, the section rule is 2 as number of sections, the sequence number of section one is 1, the sequence number of section two is 2, file name is respectively A1.MP3 and A2.MP3 and start-stop address separately, be 500K etc. with size, the preferred scheme of present embodiment is that section rule are kept at section explanation slice.xml file.Client is uploaded the slice.xml file to the WEB server, can certainly adopt the form of message to upload the section rule to the WEB server.The webservice interface of client call WEB server end, notice WEB server has been uploaded and has been finished, upload the section rule to the WEB server simultaneously, the WEB server receives the section rule of client upload by the webservice interface, and section rule certainly also can be kept in the file of text formatting or in the file of other form.
For step 105, the WEB server reconfigures A1.MP3 and A2.MP3 according to the section rule, generates A.MP3, deletes temporary file A1.MP3 and A2.MP3 simultaneously.
Second embodiment provided by the invention is the system that a kind of file acceleration is uploaded, and its structure comprises as shown in Figure 2:
Further, reception server 201 is a ftp server.
Further, WEB server 202 also is used for also being used to receive the section rule of uploading with XML formatted file form.
Further, WEB server 202 also is used for the section rule by webservice interface reception client upload.
Further, also comprise: client 203 is used for determining to treat the transmitting file number of sections according to upload speed.
Further, client 203 also is used for each section of regularly monitoring and uploads process, uploads when interrupting when having monitored section, regularly the section of interrupting uploading is continued biography.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (12)
1. the method that file quickens to upload is characterized in that, comprising:
Reception server receives each section for the treatment of transmitting file that client is uploaded simultaneously;
Client with each section upload finish after, the WEB server receives the section rule of client upload;
The WEB server obtains each section from reception server, and is reduced to and treats transmitting file according to the section rule.
2. the method for claim 1 is characterized in that, reception server is a ftp server.
3. the method for claim 1 is characterized in that, uploads the section rule with XML formatted file form.
4. the method for claim 1 is characterized in that, the WEB server receives the section rule of client upload by the webservice interface.
5. the method for claim 1 is characterized in that, client determines to treat the transmitting file number of sections according to upload speed.
6. the method for claim 1 is characterized in that, client is regularly monitored each section and uploaded process, uploads when interrupting when having monitored section, regularly the section of interrupting uploading is continued biography.
7. the system that file quickens to upload is characterized in that, comprising:
Reception server is used to receive each section for the treatment of transmitting file that client is uploaded simultaneously;
The WEB server, be used for client with each section upload finish after, receive the section rule of client upload, obtain each section from reception server, and be reduced to according to the section rule and treat transmitting file.
8. system as claimed in claim 7 is characterized in that, reception server is a ftp server.
9. system as claimed in claim 7 is characterized in that, the WEB server also is used to receive the section rule of uploading with XML formatted file form.
10. system as claimed in claim 7 is characterized in that, the WEB server also is used for the section rule by webservice interface reception client upload.
11. system as claimed in claim 7 is characterized in that, also comprises: client is used for determining to treat the transmitting file number of sections according to upload speed.
12. system as claimed in claim 7 is characterized in that, client also is used for each section of regularly monitoring and uploads process, uploads when interrupting when having monitored section, regularly the section of interrupting uploading is continued biography.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102381308A CN102065113A (en) | 2009-11-16 | 2009-11-16 | Method and system for accelerating to upload files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102381308A CN102065113A (en) | 2009-11-16 | 2009-11-16 | Method and system for accelerating to upload files |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102065113A true CN102065113A (en) | 2011-05-18 |
Family
ID=44000214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009102381308A Pending CN102065113A (en) | 2009-11-16 | 2009-11-16 | Method and system for accelerating to upload files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102065113A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571788A (en) * | 2011-12-30 | 2012-07-11 | 北京奇虎科技有限公司 | Sample collection method and system |
CN103581216A (en) * | 2012-07-20 | 2014-02-12 | 中国电信股份有限公司 | Fragmentation data storage method, device and system |
CN104361057A (en) * | 2014-10-31 | 2015-02-18 | 无锡天脉聚源传媒科技有限公司 | Method and device for uploading multimedia file |
CN104881492A (en) * | 2015-06-12 | 2015-09-02 | 北京京东尚科信息技术有限公司 | Cache fragmentation technology based data filtering method and device |
CN105187551A (en) * | 2015-09-29 | 2015-12-23 | 成都四象联创科技有限公司 | Distributed computing method based on cloud platform |
CN105763578A (en) * | 2014-12-15 | 2016-07-13 | 中国移动通信集团广东有限公司 | Picture processing method and device |
CN106067896A (en) * | 2016-05-30 | 2016-11-02 | 刘华英 | File continuous transmission method and device |
CN107734058A (en) * | 2017-11-09 | 2018-02-23 | 哈尔滨工业大学 | A kind of fusion WebService and FTP Distributed Experiment data transmission method |
CN109391694A (en) * | 2018-10-26 | 2019-02-26 | 深圳壹账通智能科技有限公司 | Document transmission method and relevant device based on SFTP |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060075064A1 (en) * | 2004-09-30 | 2006-04-06 | International Business Machines Corporation | Concurrent ftp read and write |
CN101039309A (en) * | 2006-03-16 | 2007-09-19 | 联想(北京)有限公司 | Link sharing service apparatus and communication method thereof |
CN101202624A (en) * | 2007-12-24 | 2008-06-18 | 北京创毅视讯科技有限公司 | Method and system of document transmission |
CN101227460A (en) * | 2007-01-19 | 2008-07-23 | 秦晨 | Method for uploading and downloading distributed document and apparatus and system thereof |
CN101437044A (en) * | 2008-11-28 | 2009-05-20 | 中兴通讯股份有限公司 | Method and system for downloading file by point-to-point network technique based on sliced sheet |
CN101567893A (en) * | 2009-05-26 | 2009-10-28 | 中兴通讯股份有限公司 | Method and system for uploading files in WEB application |
-
2009
- 2009-11-16 CN CN2009102381308A patent/CN102065113A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060075064A1 (en) * | 2004-09-30 | 2006-04-06 | International Business Machines Corporation | Concurrent ftp read and write |
CN101039309A (en) * | 2006-03-16 | 2007-09-19 | 联想(北京)有限公司 | Link sharing service apparatus and communication method thereof |
CN101227460A (en) * | 2007-01-19 | 2008-07-23 | 秦晨 | Method for uploading and downloading distributed document and apparatus and system thereof |
CN101202624A (en) * | 2007-12-24 | 2008-06-18 | 北京创毅视讯科技有限公司 | Method and system of document transmission |
CN101437044A (en) * | 2008-11-28 | 2009-05-20 | 中兴通讯股份有限公司 | Method and system for downloading file by point-to-point network technique based on sliced sheet |
CN101567893A (en) * | 2009-05-26 | 2009-10-28 | 中兴通讯股份有限公司 | Method and system for uploading files in WEB application |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571788A (en) * | 2011-12-30 | 2012-07-11 | 北京奇虎科技有限公司 | Sample collection method and system |
CN102571788B (en) * | 2011-12-30 | 2014-11-19 | 北京奇虎科技有限公司 | Sample collection method and system |
CN103581216A (en) * | 2012-07-20 | 2014-02-12 | 中国电信股份有限公司 | Fragmentation data storage method, device and system |
CN104361057A (en) * | 2014-10-31 | 2015-02-18 | 无锡天脉聚源传媒科技有限公司 | Method and device for uploading multimedia file |
CN105763578A (en) * | 2014-12-15 | 2016-07-13 | 中国移动通信集团广东有限公司 | Picture processing method and device |
CN105763578B (en) * | 2014-12-15 | 2019-05-28 | 中国移动通信集团广东有限公司 | A kind of image processing method and device |
CN104881492A (en) * | 2015-06-12 | 2015-09-02 | 北京京东尚科信息技术有限公司 | Cache fragmentation technology based data filtering method and device |
CN105187551A (en) * | 2015-09-29 | 2015-12-23 | 成都四象联创科技有限公司 | Distributed computing method based on cloud platform |
CN106067896A (en) * | 2016-05-30 | 2016-11-02 | 刘华英 | File continuous transmission method and device |
CN107734058A (en) * | 2017-11-09 | 2018-02-23 | 哈尔滨工业大学 | A kind of fusion WebService and FTP Distributed Experiment data transmission method |
CN109391694A (en) * | 2018-10-26 | 2019-02-26 | 深圳壹账通智能科技有限公司 | Document transmission method and relevant device based on SFTP |
CN109391694B (en) * | 2018-10-26 | 2022-07-26 | 深圳壹账通智能科技有限公司 | SFTP-based file transmission method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102065113A (en) | Method and system for accelerating to upload files | |
JP5792850B2 (en) | File folder transmission over the network | |
US9807452B2 (en) | Practical delivery of high quality video using dynamic adaptive hypertext transport protocol (HTTP) streaming (DASH) without using HTTP in a broadcast network | |
EP3063925B1 (en) | Synchronizing event history for multiple clients | |
WO2011152362A1 (en) | Broadcast content transmitting device, and broadcast content receiving device | |
CN103731451A (en) | Method and system for uploading file | |
CN103531218B (en) | A kind of online multimedia file editing method and system | |
CN106354865B (en) | Method, device and system for synchronizing master database and slave database | |
CN106598633B (en) | Configuration file updating method, client and server | |
SG158100A1 (en) | METHOD AND APPARATUS FOR EFFICIENTLY MANAGING ôMESSAGES SENTö FILE AND RESENDING OF MESSAGES FROM MOBILE WIRELESS COMMUNICATION DEVICE | |
WO2010125052A3 (en) | Methods and apparatus for transmitting multimedia files in a data network | |
CN104284202B (en) | A kind of CDN transparent transmission methods using optimized-type structure | |
CN101039309A (en) | Link sharing service apparatus and communication method thereof | |
WO2013071747A1 (en) | Method and apparatus for obtaining file | |
CN104010001B (en) | In mobile terminal, the method and system connecting communication is carried out in similar networking request | |
CN106254336A (en) | A kind of document transmission method based on File Mapping encryption | |
WO2012174935A1 (en) | Method for implementing persistent service and persistent service system | |
CN104184789A (en) | File downloading method and device | |
CN105721526A (en) | Terminal and server file synchronization methods and device | |
CN105743951A (en) | Data sending method and apparatus and data receiving method and apparatus | |
CN106899894B (en) | The adaptive stream media method, apparatus and server of dynamic optimization | |
CN104092666A (en) | File transmission method and device | |
CN104301438A (en) | File uploading method | |
CN103118049A (en) | Method and system downloading files through network caching | |
CN1956421A (en) | Reliable transmission method for web service message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110518 |