CN104717295A - Method and system for downloading big file from target server through mobile terminal - Google Patents
Method and system for downloading big file from target server through mobile terminal Download PDFInfo
- Publication number
- CN104717295A CN104717295A CN201510132945.3A CN201510132945A CN104717295A CN 104717295 A CN104717295 A CN 104717295A CN 201510132945 A CN201510132945 A CN 201510132945A CN 104717295 A CN104717295 A CN 104717295A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- file
- downloading
- target server
- download
- 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
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 description 9
- 230000011218 segmentation Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method for downloading a big file from a target server which does not support segmented downloading through a mobile terminal. The method includes the steps that before the big file is downloaded from the target server which does not support segmented downloading, the mobile terminal sends a downloading link of the target server to a proxy server first, and the network of the proxy server does not limit the size of the gateway file and supports segmented downloading; the proxy server has access to the target server and the big file is downloaded; after the proxy server receives the big file, the mobile terminal downloads the big file from the proxy server. By the application of the method, the problem that it is difficult for the mobile terminal to download the big file from the target server which does not support segmented downloading can be solved, the mobile terminal obtains the needed big file from the target server with the help of the middle proxy server which supports segmented downloading, and the requirement of the mobile terminal for downloading the big file is met.
Description
The invention relates to a method and a system for downloading a large file from a target server by a mobile terminal, wherein the application number of the invention patent application is CN201110061671.5, the application number of the parent application is CN201110061671.5, the application date is 2011, 3, month and 15.
Technical Field
The invention relates to the field of downloading large files of mobile browsers, in particular to a method and a system for downloading large files from a target server which does not support segmented downloading by a mobile terminal.
Background
With the progress of society and the development of technology, people increasingly use mobile access terminals to wirelessly access the internet to obtain information. At present, the existing mobile terminal usually adopts a wireless narrowband access mode to perform network access, and compared with a broadband access used on a computer terminal, the data transmission rate of the wireless narrowband access is small, so that the time required by the wireless narrowband access is far longer than that of the broadband access when the same file is downloaded.
In addition, the connection stability of the wireless narrowband access is poor. Therefore, there is a high probability that the connection is interrupted during the continuous data transmission, which may result in interruption of data transmission. Moreover, as the duration of data transmission increases, the probability of connection interruption increases, and under the influence of this factor, downloading of large files by the mobile terminal requires segmentation, the size of each segment needs to be not larger than the file size limited by the operator gateway, and the file format capable of segmented downloading is different from the common file format, in which segmentation information needs to be included.
When a mobile terminal is used for network access, a domestic operator mainly provides the following two narrowband access modes, one mode is that data transmission needs to be transferred through an operator server (such as mobile cmwap, unicom 3gwap and telecommunication uinwap), which is generally called as a transfer mode; another way is that data transmission does not require relaying through an operator server (e.g. mobile cmnet, unicom 3gwnet, telecom uinnet, WiFi), commonly referred to as "direct mode", where "relay mode" has a greater prevalence than "direct mode".
However, when network downloading is performed, the gateway of some operators limits the size of the file downloaded once, and if the limit value is exceeded, the file downloading will fail. For example, if the size of a single download file exceeds the limit of the gateway (e.g., 1M), the file download may be considered to have failed, e.g., due to a timeout. Therefore, if the user of the existing mobile terminal uses the "transit mode" access network, a file download failure is likely to occur when downloading a large file.
Although the segmented download enables the mobile terminal user to download files whose size exceeds the gateway limit, not all target resource servers support the segmented download function, if the target resource servers do not support the segmented download, the whole file is transmitted to the mobile terminal at one time, so that the large file is discarded by the operator gateway, and the mobile terminal finally cannot download the file successfully.
Disclosure of Invention
In view of the above problems, an object of the present invention is to solve a problem that when a user of a mobile terminal downloads a large file exceeding a gateway limit size to a target resource server, the target resource server does not support a segmented download, so that the large file cannot be successfully downloaded.
According to one aspect of the invention, a method for downloading a large file from a target server which does not support segmented downloading by a mobile terminal is provided, which comprises the following steps:
before downloading a large file from the target server which does not support the segmented downloading, the mobile terminal firstly sends a downloading link of the target server to a proxy server, and the network of the proxy server has no limitation on the size of a gateway file and supports the segmented downloading;
the proxy server accesses a target server and downloads a large file;
and after the proxy server receives the large file, the mobile terminal downloads the large file from the proxy server in a segmented manner.
Further, after the proxy server receives the large file, the large file is divided into a plurality of sub-files matched with the downloading capability of the mobile terminal according to the downloading capability of the mobile terminal.
Before sending the download link of the target server to the proxy server, the mobile terminal judges whether the file to be downloaded exceeds the limit of the size of the file which can be downloaded by the mobile terminal, and if the file to be downloaded does not exceed the limit of the size of the file which can be downloaded by the mobile terminal, the target file can be directly downloaded from the target server; if the file to be downloaded exceeds the limit of the size of the file which can be downloaded by the mobile terminal, further judging whether the target server supports segmented downloading or not; if the target server supports the segmented downloading, directly downloading a target file from the target server; otherwise, downloading the large file through the proxy server.
According to another aspect of the present invention, there is provided a large file download system comprising a mobile terminal, a target server, and a proxy server, wherein,
the target server is a target server which does not support segmented downloading;
the network of the proxy server has no limitation on the size of the gateway file and supports segmented downloading;
before downloading the large file from the target server which does not support the sectional downloading, the mobile terminal firstly sends the downloading link of the target server to the proxy server, and after the proxy server accesses the target server and downloads the large file, the mobile terminal downloads the large file from the proxy server in sections.
The method and the system for downloading the large file from the target server by the mobile terminal can overcome the problem that the mobile terminal is difficult to download the large file from the target server which does not support the sectional downloading, so that the mobile terminal obtains the required large file from the target server by virtue of the intermediate proxy server which supports the sectional downloading, and the requirement of downloading the large file of the mobile terminal is met.
To the accomplishment of the foregoing and related ends, one or more aspects of the invention comprise the features hereinafter fully described and particularly pointed out in the claims. The following description and the annexed drawings set forth in detail certain illustrative aspects of the invention. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed. Further, the present invention is intended to include all such aspects and their equivalents.
Drawings
Other objects and results of the present invention will become more apparent and more readily appreciated as the same becomes better understood by reference to the following description and appended claims, taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 illustrates a flow chart of a method for a mobile terminal to download a large file from a target server that does not support segmented downloading in accordance with the present invention; and
fig. 2 shows a block schematic diagram of a large file download system according to the present invention.
The same reference numbers in all figures indicate similar or corresponding features or functions.
Detailed Description
Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
In order to solve the problem that the mobile terminal downloads the large file from the server which does not support the sectional downloading, the invention arranges the intermediate proxy server which supports the sectional downloading between the mobile terminal and the target server, the network of the proxy server has no limitation of the file size, and the invention can successfully download the large file which can not be downloaded by the mobile terminal at one time, and then transmits the large file to the mobile terminal in sections. In the expression of the present invention, a large file refers to a file with a size exceeding the file size limited by the gateway of the operator of the mobile terminal, or a file with a size exceeding the file size that can be downloaded by the mobile terminal at one time, for example, the file size limited by the CMWAP gateway is 1M, and files exceeding 1M are all called large files and cannot support one-time downloading.
The mobile terminal in the present invention refers to a portable network access device, such as a mobile phone, a PDA, etc., and generally cannot download files exceeding a certain size at one time (without segmentation) due to a network operator and the terminal itself, otherwise, the downloaded files are lost.
Fig. 1 shows a flow chart of a method for downloading a large file from a target server that does not support segmented downloading by a mobile terminal according to the present invention. As shown in fig. 1, the method of the present invention comprises the steps of:
s110: before downloading a large file from a target server which does not support segmented downloading, the mobile terminal firstly sends a downloading link of the target server to a proxy server; wherein the network of proxy servers has no restriction on the size of the gateway file and supports segmented downloading;
s120: the proxy server accesses a target server according to a download link sent by the mobile terminal and downloads the large file;
s130: after the proxy server receives the downloaded large file, the mobile terminal downloads the large file from the proxy server in segments.
Specifically, as an example, after a certain webpage is accessed through a mobile terminal browser and a download link is clicked, a background server of the mobile terminal sends the download link to a specific proxy server, the network where the proxy server is located has no limitation on the gateway file, that is, the network of the proxy server has no limitation on the size of the transmission file, and the proxy server supports the segmented download of a large file; therefore, after receiving the download link sent by the mobile terminal, the proxy server accesses the target site according to the download link and downloads the file, and as the network of the proxy server has no limit on the size of the transmission file, the proxy server can successfully download the large file which cannot be downloaded by the mobile terminal even if the target site does not support the segmented downloading of the large file; after the large file is downloaded to the proxy server, the mobile terminal browser can access the proxy server and perform the segmented downloading of the large file to obtain the large file because the proxy server supports the segmented downloading.
In the specific application implementation process of the invention, before the mobile terminal needs to download the file from the target server, whether the file to be downloaded exceeds the limit of the size of the file which can be downloaded by the mobile terminal can be judged in advance, and if the file to be downloaded does not exceed the limit of the size of the file which can be downloaded by the mobile terminal, the target file can be directly downloaded from the target server without transfer processing through a proxy server; if the file to be downloaded exceeds the limit of the size of the file which can be downloaded by the mobile terminal, whether the target server supports the segmented downloading is further judged, if the target server supports the segmented downloading, the target file can be directly downloaded from the target server without the transfer processing through the proxy server, and if the target server does not support the segmented downloading, the large file is downloaded through the proxy server according to the flow shown in the figure 1.
In addition, in the practical application process, the data transmission capacities (the sizes of the single-transmission files) of the mobile terminals are different, and are different according to the software and hardware settings of the network operator and the mobile terminals, so that in order to improve the efficiency of downloading the large file by the mobile terminals in a targeted manner, in a preferred embodiment of the invention, after the proxy server obtains the large file from the target server, the proxy server divides the large file into a plurality of sub-files matched with the downloading capacities of the corresponding mobile terminals according to the downloading capacities (the sizes of the single-download files) of the corresponding mobile terminals, so that the corresponding mobile terminals can perform subsequent segmented downloading.
Further, when the proxy server divides the large file, the large file may be divided into a plurality of subfiles having the same size, or the large file may be divided into a plurality of subfiles having different sizes.
As described above with reference to fig. 1, the method for downloading a large file from a target server that does not support segmented downloading by a mobile terminal according to the present invention is also provided.
Fig. 2 shows a block schematic diagram of a large file download system 200 according to the present invention. As shown in fig. 2, the large file download system 200 includes a mobile terminal 210, a proxy server 220, and a target server 230. The proxy server 220 may include a segment download supporting unit (not shown).
Wherein the target server 230 is a target server that does not support segment download, and the network of the proxy server 220 has no limitation on the size of the gateway file and supports segment download. Before downloading the large file from the target server 230 that does not support the segmented downloading, the mobile terminal 210 first sends the downloading link of the target server 230 to the proxy server 220, and after the proxy server 220 accesses the target server 230 and downloads the large file, the mobile terminal 210 then downloads the required large file from the proxy server 220 in segments.
The segment download support unit of the proxy server 220 is configured to segment the large file into a plurality of sub-files matching with the download capability of the mobile terminal according to the download capability of the corresponding mobile terminal, so that the corresponding mobile terminal can perform subsequent segment download, thereby improving the efficiency of downloading the large file by the mobile terminal in a targeted manner.
In addition, the mobile terminal may further include a determining unit (not shown in the figure) for determining whether the file to be downloaded exceeds a limit of a size of the file that can be downloaded by the mobile terminal before the download link of the target server is transmitted to the proxy server; when the file to be downloaded exceeds the limit of the size of the file which can be downloaded by the mobile terminal, the judging unit further judges whether the target server supports the segmented downloading. When the file to be downloaded by the mobile terminal exceeds the limit of the size of the file that can be downloaded by the mobile terminal and the corresponding target server does not support segmented downloading, the large file needs to be obtained through the transit service of the proxy server.
A method and a large file download system for downloading a large file from a target server that does not support segment download according to the present invention are described above by way of example with reference to fig. 1 and 2. However, it will be appreciated by those skilled in the art that variations may be made to the method and system of the present invention as described above without departing from the spirit of the invention. Therefore, the scope of the present invention should be determined by the contents of the appended claims.
Claims (8)
1. A method for a mobile terminal to download a large file from a target server, the target server not supporting segmented downloading, the method performed by a proxy server supporting segmented downloading, the method comprising:
after receiving a download link of the target server from the mobile terminal, accessing the target server according to the download link and downloading the large file, wherein the network of the proxy server has no limitation on the size of the gateway file and supports segmented download;
after the large file is received, the large file is divided into a plurality of sub-files matched with the downloading capability of the mobile terminal according to the downloading capability of the mobile terminal, so that the mobile terminal can download the sub-files in a segmented mode.
2. The method of claim 1,
the large file is a file with a size exceeding the limit of the mobile network gateway or a file with a size exceeding the file size which can be downloaded by the mobile terminal.
3. The method of claim 1 or 2,
the plurality of subfiles are equal in size or unequal in size.
4. A method for downloading a large file from a target server which does not support segmented downloading by a mobile terminal comprises the following steps:
the mobile terminal sends the download link of the target server to a proxy server, and the network of the proxy server has no limitation on the size of the gateway file and supports segmented download;
the proxy server accesses the target server according to the download link and downloads the large file;
after receiving the large file, the proxy server divides the large file into a plurality of sub-files matched with the downloading capability of the mobile terminal according to the downloading capability of the mobile terminal;
and the mobile terminal downloads the large file from the proxy server in a segmented manner.
5. The method of claim 4, wherein the mobile terminal determines whether the file to be downloaded exceeds a limit of a file size that can be downloaded by the mobile terminal before sending the download link of the target server to the proxy server,
if the file to be downloaded does not exceed the limit of the size of the file which can be downloaded by the mobile terminal, the mobile terminal directly downloads the target file from the target server;
if the file to be downloaded exceeds the limit of the size of the file which can be downloaded by the mobile terminal, further judging whether the target server supports segmented downloading or not;
if the target server supports the segmented downloading, the mobile terminal directly downloads the target file from the target server; otherwise, the mobile terminal downloads the large file through the proxy server.
6. A proxy server for a mobile terminal to download a large file from a target server, the proxy server having a network without a limitation on the size of a gateway file and supporting segmented downloading,
after receiving the download link of the target server from the mobile terminal, the proxy server accesses the target server according to the download link and downloads the large file,
the proxy server includes:
and the segmented download supporting unit is used for dividing the large file into a plurality of subfiles matched with the download capability of the mobile terminal according to the download capability of the corresponding mobile terminal after the large file is downloaded from the target server, so as to provide the segmented download of the mobile terminal.
7. A large file download system comprises a mobile terminal, a target server and a proxy server, wherein,
the target server is a target server which does not support segmented downloading;
the network of the proxy server has no limitation on the size of the gateway file and supports segmented downloading;
after receiving the download link of the target server from the mobile terminal, the proxy server accesses the target server according to the download link and downloads the large file,
the proxy server includes:
and the segmented download supporting unit is used for dividing the large file into a plurality of subfiles matched with the download capability of the mobile terminal according to the download capability of the corresponding mobile terminal after the large file is downloaded from the target server, so as to provide the segmented download of the mobile terminal.
8. The large file download system according to claim 7, wherein the mobile terminal comprises:
the judging unit is used for judging whether the file to be downloaded exceeds the limit of the size of the file which can be downloaded by the mobile terminal before the downloading link of the target server is sent to the proxy server; wherein,
if the file to be downloaded does not exceed the limit of the size of the file which can be downloaded by the mobile terminal, the mobile terminal directly downloads the target file from the target server;
if the file to be downloaded exceeds the limit of the size of the file which can be downloaded by the mobile terminal, the judging unit further judges whether the target server supports the segmented downloading, and if the target server supports the segmented downloading, the mobile terminal directly downloads the target file from the target server; otherwise, the mobile terminal downloads the large file through the proxy server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510132945.3A CN104717295A (en) | 2011-03-15 | 2011-03-15 | Method and system for downloading big file from target server through mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510132945.3A CN104717295A (en) | 2011-03-15 | 2011-03-15 | Method and system for downloading big file from target server through mobile terminal |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110061671.5A Division CN102088696B (en) | 2011-03-15 | 2011-03-15 | Method and system for downloading large file from target server by mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104717295A true CN104717295A (en) | 2015-06-17 |
Family
ID=53416243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510132945.3A Pending CN104717295A (en) | 2011-03-15 | 2011-03-15 | Method and system for downloading big file from target server through mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104717295A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005041534A1 (en) * | 2003-10-16 | 2005-05-06 | Ntt Docomo, Inc. | Mobile peer-to-peer networking |
CN1929646A (en) * | 2005-09-07 | 2007-03-14 | 乐金电子(中国)研究开发中心有限公司 | Method for supporting large JAVA application download in mobile terminal |
CN101127781A (en) * | 2007-09-26 | 2008-02-20 | 北京搜狐新时代信息技术有限公司 | Method, device and mobile terminal for mobile terminal to download files |
CN101282363A (en) * | 2008-05-30 | 2008-10-08 | 腾讯科技(深圳)有限公司 | Method and system for establishing seed and downloading files in equity coupling network |
CN101702728A (en) * | 2009-09-02 | 2010-05-05 | 优视动景(北京)技术服务有限公司 | Streaming media transmission system for mobile communication equipment terminal and application method thereof |
-
2011
- 2011-03-15 CN CN201510132945.3A patent/CN104717295A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005041534A1 (en) * | 2003-10-16 | 2005-05-06 | Ntt Docomo, Inc. | Mobile peer-to-peer networking |
CN1929646A (en) * | 2005-09-07 | 2007-03-14 | 乐金电子(中国)研究开发中心有限公司 | Method for supporting large JAVA application download in mobile terminal |
CN101127781A (en) * | 2007-09-26 | 2008-02-20 | 北京搜狐新时代信息技术有限公司 | Method, device and mobile terminal for mobile terminal to download files |
CN101282363A (en) * | 2008-05-30 | 2008-10-08 | 腾讯科技(深圳)有限公司 | Method and system for establishing seed and downloading files in equity coupling network |
CN101702728A (en) * | 2009-09-02 | 2010-05-05 | 优视动景(北京)技术服务有限公司 | Streaming media transmission system for mobile communication equipment terminal and application method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105812435B (en) | Application upgrading data packet processing method and device, electronic equipment and system | |
US8175584B2 (en) | System and method to facilitate downloading data at a mobile wireless device | |
CN104539686B (en) | Exempt from method, terminal and the server-side of flow downloading application | |
WO2013131472A1 (en) | Message processing method, device and system | |
CN107015870B (en) | Method and device for realizing communication between web page and local application and electronic equipment | |
CN104123380B (en) | web access method and device | |
US20160234307A1 (en) | Data transmission method, device, and system | |
CN109302437B (en) | Method and device for redirecting website | |
KR20150080595A (en) | A preemptive framework for accessing short urls | |
CN102624569A (en) | Method and system for upgrading terminal, network equipment and terminal | |
CN102833777A (en) | Method for testing PORTAL performance of access controller | |
CN104468813A (en) | Application program recommending method, device and system | |
CN103825923A (en) | Resource download method, business server and mobile phone client-terminal | |
JP2014501055A (en) | Content caching with remote billing services in wireless access networks | |
CN106470227B (en) | A kind of configuration method and device of OTA upgrade package | |
CN108347460B (en) | Resource access method and device | |
CN101150583A (en) | Anti-virus method and device for terminal device | |
CN102104603A (en) | Method, system and device for registering mobile terminal in WEB server | |
CN102088696B (en) | Method and system for downloading large file from target server by mobile terminal | |
CN108370500B (en) | Optimized settings for wireless devices | |
US8526938B1 (en) | Testing mobile phone maintenance channel | |
EP2003852A1 (en) | Method for improving output of data from a remote gateway at a mobile device and download management unit | |
CN111596942A (en) | Method and device for forcibly triggering software upgrading and software upgrading system | |
CN102904935A (en) | Downloading method, downloading device and downloading system based on home gateway | |
CN103139205B (en) | Message processing method, device and the webserver |
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 |
Application publication date: 20150617 |
|
RJ01 | Rejection of invention patent application after publication |