[go: up one dir, main page]

WO2011017970A1 - Method and system for downloading resource based on multi-mode mobile terminal - Google Patents

Method and system for downloading resource based on multi-mode mobile terminal Download PDF

Info

Publication number
WO2011017970A1
WO2011017970A1 PCT/CN2010/073736 CN2010073736W WO2011017970A1 WO 2011017970 A1 WO2011017970 A1 WO 2011017970A1 CN 2010073736 W CN2010073736 W CN 2010073736W WO 2011017970 A1 WO2011017970 A1 WO 2011017970A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
mode
download
mobile terminal
downloading
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.)
Ceased
Application number
PCT/CN2010/073736
Other languages
French (fr)
Chinese (zh)
Inventor
贺彬
向炳新
王柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2011017970A1 publication Critical patent/WO2011017970A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the speed of downloading resources through the mobile terminal is relatively slow, which is limited by the bandwidth of the current mobile communication network.
  • the transmission rate of the CS data service is only 9.6 kbps, which is only suitable for a small amount.
  • the slower data transmission service; High Speed Circuit Switched Data (HSCSD, High Speed Circuit Switched Data) can achieve a transmission speed of 57.6 kbps.
  • the most widely used General Packet Radio Service (GPRS) has a transmission speed of up to 115 kbps; a higher-speed wireless mobile communication network, such as the enhanced data rate GSM evolution technology (EGPRS) that takes GPRS functions to the limit.
  • GSM evolution technology Evolast Radio Service
  • a multi-mode mobile terminal when used to download resources, the user can only select a network that is connected to a standard system, that is, a single-mode network. Generally, the user selects a single-mode network with a larger bandwidth and better network quality.
  • this download method also wastes the advantage of the multi-mode mobile terminal, that is, cannot download resources from multiple single-mode networks at the same time, and make the download speed. The fastest. Summary of the invention
  • a resource downloading method based on a multimode mobile terminal comprising:
  • the method for downloading resources based on the multi-mode mobile terminal of the present invention is as shown in FIG. 1.
  • the method includes the following steps: Step 101: A multi-mode mobile terminal accesses each single-mode network, and establishes a physical connection with a data service of each single-mode network.
  • the mobile terminal can send a download request for a partial resource to the resource download server through the Range parameter of the HTTP (Hypertext Transfer Protocol) protocol header, and determine whether to support the breakpoint of the current resource through the reply message of the resource download server. pass. It should be noted that the mobile terminal can send the request to the resource download server through any single mode network it supports.
  • HTTP Hypertext Transfer Protocol
  • the mobile terminal can send a request for downloading the resource after 1 MB to the resource download server by using the Range parameter of the HTTP protocol header, and the specific content of the request is as follows: GET/test.zi HTTP/1.0
  • the request for downloading the complete resource sent by the mobile terminal to the resource download server (the resource name requested to be downloaded is test.zip) is as follows: GET/test.zip HTTP/ 1.1
  • the resource download server allows only one mobile terminal to create up to five download connections based on one IP address, corresponding to five download threads, that is, the maximum number of download threads is 5, and the data transfer rate of each download connection is limited to 10 kbps;
  • the mobile terminal can download resources at a rate of up to 5x10 kbps.
  • the downloading thread cannot be opened too much, which brings a large system overhead, so the multi-mode mobile terminal itself needs to specify the maximum under the single-mode network.
  • the number of download threads MAXTHREADS, MAXTHREADS is determined as an empirical value.
  • the socket connection (ie the download thread) is created successfully.
  • Step 304 Determine that the current number of download threads I is MAX, and the process ends.
  • Step 5 Determine whether the resource has been partially downloaded in the multi-mode mobile terminal. If no, go to step 6. If yes, go to step 7.
  • step 6 the complete resource is requested, and the resource data segment respectively requested by each downloading thread is allocated, and step 8 is performed.
  • the mobile terminal needs to download the complete resource.
  • the data segment requested by each download thread needs to be allocated according to the size of the resource, the maximum number of download threads MAX under each single-mode network, and the standard downlink data transmission rate under each single-mode network.
  • the following allocation policy may be adopted: setting the requested resource size (the complete resource in this step) to ⁇ , the mobile terminal supporting the network A and the network B in the dual-mode mobile terminal, and the standard downlink data transmission rate under the network A
  • Steps 10 to 11 determine whether the download of all the requested resources is completed. If yes, the resource download is completed, and the process ends; if no, go to step 12.
  • step 12 is performed.
  • Step 12 Determine whether the download thread of the uncompleted single-mode network of other resources is valid, and if yes, perform step 8; if no, go to step 13.
  • the present invention further provides a resource downloading system, which is applicable to a multi-mode mobile terminal.
  • the method includes:
  • the access module 10 is configured to enable the multi-mode mobile terminal to access each single-mode network.
  • the connection module 20 is configured to establish a physical connection with a data service of each single-mode network after the multi-mode mobile terminal accesses each single-mode network;
  • the determining module 30 is configured to determine, after the multi-mode mobile terminal establishes a physical service connection with each of the single-mode networks, that the resource download server supports a breakpoint transmission of the required resources;
  • the resource downloading module 40 is configured to perform downloading of the required resources by means of each single-mode network in a resumed manner when the resource downloading server supports the resuming of the required resources.
  • the resource downloading module 40 is further configured to perform downloading of the required resources in a multi-threaded manner when performing downloading of the required resources in a manner of resumed by a breakpoint;
  • the judging module 30 is further configured to: when the resource downloading of the single-mode network is completed, determine whether the download thread of the other unmode-downloaded single-mode network is valid;
  • the resource downloading module 40 is further configured to: according to the result of the determining module 30, When the determination is invalid, the download thread of the single-mode network that has not completed the download is released, and the undownloaded resource in the single-mode network with invalid thread is requested to be downloaded through the downloaded single-mode network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for downloading resource based on the multi-mode mobile terminal is disclosed in the present invention, which comprises the following steps: the multi-mode mobile terminal accesses each single-mode network, and establishes the data service physical connection with each single-mode network; when deciding that a resource download server supports the download resume for the required resource, the multi-mode mobile terminal downloads the required resource in the manner of the download resume though each single-mode network. A system for downloading resource based on the multi-mode mobile terminal is also disclosed in the present invention. Based on the method and system, the resource can be simultaneously downloaded from a plurality of single-mode networks when the multi-mode mobile terminal is utilized to download data, and therefore the download speed for the resource can be maximum.

Description

一种基于多模移动终端的资源下载方法和系统 技术领域  Resource downloading method and system based on multi-mode mobile terminal

本发明涉及移动通信领域, 特别是指一种基于多模移动终端的资源下 载方法和系统。 背景技术  The present invention relates to the field of mobile communications, and more particularly to a resource downloading method and system based on a multimode mobile terminal. Background technique

当今的时代是多种通信网络并存的时代, 包括: 个人手持式电话系统 Today's era is an era in which multiple communication networks coexist, including: Personal handheld telephone systems

( PHS, Personal Handy-phone System ), 全球移动通讯系统( GSM, Global System for Mobile Communications ),强型数据速率 GSM演进技术( EDGE, Enhanced Data Rate for GSM Evolution )、 码分多址( CDMA, Code Division Multiple Access ) 2000、 宽带码分多址( WCDMA, Wideband CDMA )、 时 分同步的码分多址技术 (TD-SCDMA, Time Division- Synchronous Code Division Multiple Access ) , 全球微波互联接入 ( WIMAX , Worldwide Interoperability for Microwave Access ) , 无线保真技术 ( WIFI , Wireless Fidelity )等制式的通信网络。 多模移动终端可以支持同时接入两种以上制 式的通信网络、 即可以支持同时接入多个单模网络, 这种情况下, 一个重 要问题是如何有效的利用多个单模网络的资源。 (PHS, Personal Handy-phone System), Global System for Mobile Communications (GSM), EDGE (Enhanced Data Rate for GSM Evolution), Code Division Multiple Access (CDMA, Code) Division Multiple Access) 2000, Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Worldwide Interoperability for Microwave Access (WIMAX, Worldwide) Interoperability for Microwave Access), wireless fidelity (WIFI, Wireless Fidelity) and other communication networks. A multi-mode mobile terminal can support simultaneous access to two or more communication networks, that is, can support simultaneous access to multiple single-mode networks. In this case, an important issue is how to effectively utilize resources of multiple single-mode networks.

移动终端业务大体上可分为两类: 电路交换(CS )数据业务与数据交 换(PS )数据业务。 CS数据业务主要包括语音通话; PS数据业务主要包 括各类数据收发、 如浏览器上网、 资源下载等。 目前, 关注比较多的是在 多模移动终端上使用 PS数据业务下载资源时,如何充分利用多个单模网络 资源的问题。  Mobile terminal services can be broadly classified into two categories: circuit switched (CS) data services and data exchange (PS) data services. CS data services mainly include voice calls; PS data services mainly include various types of data transmission and reception, such as browser Internet access and resource downloading. At present, the concern is how to make full use of multiple single-mode network resources when using PS data service to download resources on multi-mode mobile terminals.

一般通过移动终端下载资源时的速度都比较慢, 这是被当前移动通信 网络的带宽所限制、 如 CS数据业务的传送速率仅为 9.6kbps, 只适合少量 的、 速度较慢的数据传输业务; 高速电路交换数据 ( HSCSD, High Speed Circuit Switched Data )的传输速度能够达到 57.6kbps。 目前使用最广泛的通 用无线分组业务(GPRS, General Packet Radio Service ) 的传输速度可达 115kbps; 更高速的无线移动通信网络、 如将 GPRS的功能发挥到极限的增 强型数据速率 GSM 演进技术 (EGPRS , Enhanced Data Rate for GSM Evolution )和 3G网络, 其无线下载的速度可达到 384kbps至 2Mbps; 虽然 单一制式的通信网络所支持的下载速度达到了一定高度, 但是仍然存在面 对数十 M甚至更大的文件下载时需要花费很长时间的问题。 Generally, the speed of downloading resources through the mobile terminal is relatively slow, which is limited by the bandwidth of the current mobile communication network. For example, the transmission rate of the CS data service is only 9.6 kbps, which is only suitable for a small amount. The slower data transmission service; High Speed Circuit Switched Data (HSCSD, High Speed Circuit Switched Data) can achieve a transmission speed of 57.6 kbps. The most widely used General Packet Radio Service (GPRS) has a transmission speed of up to 115 kbps; a higher-speed wireless mobile communication network, such as the enhanced data rate GSM evolution technology (EGPRS) that takes GPRS functions to the limit. , Enhanced Data Rate for GSM Evolution ) and 3G networks, the speed of wireless downloads can reach 384kbps to 2Mbps; although the download speed supported by a single-standard communication network reaches a certain height, there are still dozens of M or even larger It takes a long time to download the file.

目前利用多模移动终端下载资源时, 用户只能选择接入一种制式的网 络、 即单模网络, 通常, 用户会选择带宽较大的、 网络质量较好的一个单 模网络接入, 这种方式虽然可以尽可能地使资源的下载达到一个较快的速 度, 但是, 这种下载方式也浪费了多模移动终端的优势、 即不能同时从多 个单模网络下载资源, 使其下载速度达到最快。 发明内容  At present, when a multi-mode mobile terminal is used to download resources, the user can only select a network that is connected to a standard system, that is, a single-mode network. Generally, the user selects a single-mode network with a larger bandwidth and better network quality. Although the method can make the download of resources reach a faster speed as much as possible, this download method also wastes the advantage of the multi-mode mobile terminal, that is, cannot download resources from multiple single-mode networks at the same time, and make the download speed. The fastest. Summary of the invention

有鉴于此, 本发明的主要目的在于提供一种基于多模移动终端的资源 下载方法和系统, 在利用多模移动终端下载数据时能够同时从多个单模网 络下载资源, 使下载速度达到最快。  In view of this, the main object of the present invention is to provide a resource downloading method and system based on a multi-mode mobile terminal, which can download resources from multiple single-mode networks at the same time when downloading data by using a multi-mode mobile terminal, so that the download speed is maximized. fast.

为了达到上述目的, 一方面, 提供了一种基于多模移动终端的资源下 载方法, 该方法包括:  In order to achieve the above objective, in one aspect, a resource downloading method based on a multimode mobile terminal is provided, the method comprising:

多模移动终端接入各单模网络, 并建立与所述各单模网络的数据业务 物理连接;  The multi-mode mobile terminal accesses each single-mode network, and establishes a physical connection with the data services of the single-mode networks;

所述多模移动终端在判定资源下载服务器支持对所需资源的断点续传 时 , 通过所述各单模网络以断点续传方式执行所需资源的下载。  When the multi-mode mobile terminal determines that the resource download server supports the resume transmission of the required resources, the multi-mode mobile terminal performs downloading of the required resources by using the single-mode network in a resume mode.

另一方面, 提供了一种基于多模移动终端的资源下载系统, 该系统包 括: 接入模块, 用于使多模移动终端接入各单模网络; In another aspect, a resource downloading system based on a multi-mode mobile terminal is provided, the system comprising: An access module, configured to enable a multimode mobile terminal to access each single mode network;

连接模块, 用于在多模移动终端接入各单模网络后, 建立与所述各单 模网络的数据业务物理连接;  a connection module, configured to establish a physical connection with the data service of each single-mode network after the multi-mode mobile terminal accesses each single-mode network;

判断模块, 用于在多模移动终端建立了与各单模网络的数据业务物理 连接后, 判定资源下载服务器支持对所需资源的断点续传;  a judging module, configured to determine, after the multi-mode mobile terminal establishes a physical connection with the data service of each single-mode network, the resource download server supports a breakpoint transmission of the required resources;

资源下载模块, 用于在资源下载服务器支持对所需资源的断点续传时, 通过所述各单模网络以断点续传的方式执行所需资源的下载。  The resource downloading module is configured to perform downloading of the required resources by using the single-mode network in a breakpoint retransmission manner when the resource downloading server supports the resuming of the required resources.

本发明的基于多模移动终端的资源下载方案, 在多模移动终端判定资 源下载服务器支持对所需资源的断点续传时 , 通过各单模网络协作传输, 以多线程、 断点续传的方式执行所需资源的下载; 如此, 可以充分利用多 模终端所支持的每个单模网络的数据下载能力, 来实现资源的下载; 同时, 多线程、 断点续传的下载方式, 可以有效节省下载时间和系统开销。  The resource downloading scheme based on the multi-mode mobile terminal of the present invention, when the multi-mode mobile terminal determines that the resource downloading server supports the resume transmission of the required resources, the cooperative transmission is performed through each single-mode network, and the multi-threading and the breakpoint are resumed. The way to perform the download of the required resources; thus, the data downloading capability of each single-mode network supported by the multi-mode terminal can be fully utilized to realize the downloading of the resources; meanwhile, the multi-threading and downloading of the breakpoints can be performed. Effectively save download time and system overhead.

另外, 如果某一个单模网络的下载环境不好时、 如信号质量不好造成 数据的下载连接无效时, 还可以将这部分资源通过其他下载环境好的单模 网络下载, 如此可以最大限度地提高数据的下载速度, 使其达到最快。 附图说明  In addition, if the download environment of a single-mode network is not good, such as the signal quality is not good, the download connection of the data is invalid, you can also download this part of the resources through a simple single-mode network with a good download environment, so that you can maximize the Increase the download speed of your data to the fastest. DRAWINGS

图 1为本发明基于多模移动终端的资源下载方法流程示意图; 图 2为本发明资源下载方法一实施例的流程示意图;  1 is a schematic flowchart of a resource downloading method based on a multi-mode mobile terminal according to the present invention; FIG. 2 is a schematic flowchart of a resource downloading method according to an embodiment of the present invention;

图 3为本发明多模移动终端确定单模最大下载线程数的流程示意图; 图 4为本发明基于多模移动终端的资源下载系统结构示意图。 具体实施方式  FIG. 3 is a schematic flowchart of determining a maximum number of single-mode downloading threads of a multi-mode mobile terminal according to the present invention; FIG. 4 is a schematic structural diagram of a resource downloading system based on a multi-mode mobile terminal according to the present invention. detailed description

下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。 本发明所称的多模移动终端是指适用于不同制式的通信网络的移动终 端, 将单一制式的通信网络称为该多模移动终端支持的单模网络, 则本发 明的多模移动终端能够支持的通信网络的制式可以是: PHS、 GSM 、 EDGE, CDMA2000、 WCDMA、 TD-SCDMA、 WIMAX和 WIFI等的任意组合。 The technical solutions of the present invention are further elaborated below in conjunction with the accompanying drawings and specific embodiments. The multimode mobile terminal referred to in the present invention refers to a mobile terminal suitable for a communication network of different standards, and the communication system of a single standard is referred to as a single mode network supported by the multimode mobile terminal, The communication network that the multimode mobile terminal can support can be any combination of PHS, GSM, EDGE, CDMA2000, WCDMA, TD-SCDMA, WIMAX and WIFI.

本发明基于多模移动终端的资源下载方法如图 1所示, 包括: 步驟 101 , 多模移动终端接入各单模网络, 并建立与各单模网络的数据 业务物理连接。  The method for downloading resources based on the multi-mode mobile terminal of the present invention is as shown in FIG. 1. The method includes the following steps: Step 101: A multi-mode mobile terminal accesses each single-mode network, and establishes a physical connection with a data service of each single-mode network.

步驟 102,多模移动终端在判定资源下载服务器支持对所需资源的断点 续传时 , 通过各单模网络以断点续传的方式执行所需资源的下载。  Step 102: When the multi-mode mobile terminal determines that the resource download server supports the breakpoint transmission of the required resources, the multi-mode mobile terminal performs downloading of the required resources by means of each single-mode network in a resumed manner.

具体的实现将通过图 2所示的实施例来说明, 包括:  The specific implementation will be illustrated by the embodiment shown in FIG. 2, including:

步驟 1 , 多模移动终端接入各单模网络, 并建立与各单模网络的数据业 务物理连接。  Step 1: The multi-mode mobile terminal accesses each single-mode network and establishes a physical connection with the data service of each single-mode network.

首先, 多模移动终端需要确定自身支持的网络制式有哪些, 并确定该 制式的通信网络理论上支持的标准下行数据传输速率是多少, 这些参数一 般情况下是预先设置好的, 对于多模移动终端来说是默认已知的。 本发明 以多模移动终端支持两种制式的通信网络(即双模移动终端) 为例。  First, the multimode mobile terminal needs to determine which network systems it supports, and determine what the standard downlink data transmission rate theoretically supported by the communication network of the standard is. These parameters are generally preset, for multimode mobile. The terminal is known by default. The present invention takes a multimode mobile terminal to support two types of communication networks (i.e., dual mode mobile terminals) as an example.

如双模移动终端支持的单模网络为 GSM网络和 TD-SCDMA网络时, GSM网络的标准下行数据传输速率为 9.6kbps, TD-SCDMA网络的标准下 行数据传输速率为 384kbps, 可知 TD-SCDMA 网络的数据传输速率大于 GSM网络。  For example, when the single-mode network supported by the dual-mode mobile terminal is a GSM network and a TD-SCDMA network, the standard downlink data transmission rate of the GSM network is 9.6 kbps, and the standard downlink data transmission rate of the TD-SCDMA network is 384 kbps, and the TD-SCDMA network can be known. The data transmission rate is greater than the GSM network.

双模移动终端同时接入两个单模网络(网络 A、 网络 B ), 并分别建立 与网络 A和网络 B的数据业务物理连接, 同时获取网络 A为其分配的 IP 地址 A和网络 B为其分配的 IP地址 B。 具体的, 该移动终端接入网络 A 和网络 B的方式根据网络 A和网络 B的制式而异, 例如移动终端接入制式 为 GSM或者 EDGE的网络时, 可以通过一种调制解调器命令语言 AT命令 拨号的方式, 拨号成功后可调用自身操作系统的点对点协议程式(PPPD, Point to Point Protocol daemon )程序, 利用点对点 ( Ρ2Ρ, point to point )协 议来接入网络, 接入成功后, 网络为移动终端分配 IP地址。 具体的, 网络 为移动终端分配 IP地址的实现为现有技术, 此处不再赘述。 The dual-mode mobile terminal accesses two single-mode networks (network A, network B) at the same time, and establishes a physical connection with the data services of network A and network B, respectively, and acquires the IP address A and network B assigned by network A for it. Its assigned IP address B. Specifically, the manner in which the mobile terminal accesses the network A and the network B varies according to the systems of the network A and the network B. For example, when the mobile terminal accesses the network with the GSM or EDGE system, the terminal can be dialed by a modem command language AT command. In the way, after dialing successfully, you can call the point-to-point protocol (PPPD) program of your own operating system, using point-to-point (Ρ2Ρ, point to point) After the access is successful, the network assigns an IP address to the mobile terminal. Specifically, the implementation of the network for assigning an IP address to the mobile terminal is a prior art, and details are not described herein again.

步驟 2~3 , 判断资源下载服务器是否支持对所需资源的断点续传,如果 否, 执行步驟 3 , 选择数据传输速率最大的单模网络, 执行资源的下载; 如 果是, 执行步驟 4。  Step 2~3, it is determined whether the resource download server supports the resume transmission of the required resources. If not, perform step 3, select the single-mode network with the largest data transmission rate, and execute the resource download; if yes, go to step 4.

移动终端可以通过超文本传输协议( HTTP, Hypertext Transfer Protocol ) 协议头的 Range参数向资源下载服务器发送部分资源的下载请求, 并通过 资源下载服务器的回复消息来判定是否支持对当前资源的断点续传。 需要 说明的是, 移动终端可以通过其支持的任意一个单模网络向资源下载服务 器发送该请求。  The mobile terminal can send a download request for a partial resource to the resource download server through the Range parameter of the HTTP (Hypertext Transfer Protocol) protocol header, and determine whether to support the breakpoint of the current resource through the reply message of the resource download server. pass. It should be noted that the mobile terminal can send the request to the resource download server through any single mode network it supports.

以从域名为 www.abc.com的资源下载服务器上下载名为 test.zip、 大小 为 5MB的资源为例,假设移动终端需要从该资源的指定断点位置开始下载、 如从 1MB处开始下载, 则移动终端可以通过 HTTP协议头的 Range参数向 资源下载服务器发送下载 1MB之后资源的请求, 该请求的具体内容如下: GET/test.zi HTTP/1.0  For example, download a resource named test.zip and a size of 5MB from the resource download server whose domain name is www.abc.com. Assume that the mobile terminal needs to start downloading from the specified breakpoint of the resource, such as downloading from 1MB. Then, the mobile terminal can send a request for downloading the resource after 1 MB to the resource download server by using the Range parameter of the HTTP protocol header, and the specific content of the request is as follows: GET/test.zi HTTP/1.0

RANGE:bytes=1024000- RANGE: bytes=1024000-

Accept:text/html,image/gif,image/jpeg,*;q=.2,*/*;q=.2 Accept:text/html,image/gif,image/jpeg,*;q=.2,*/*;q=.2

其中, GET/test.zip 指示了该资源的名称; "RANGE:bytes=1024000-,, 说明移动终端请求下载文件 1MB之后的资源。  Where GET/test.zip indicates the name of the resource; "RANGE:bytes=1024000-," indicates the resource after the mobile terminal requests to download the file 1MB.

通过资源下载服务器返回的信息判断资源下载服务器是否支持对当前 资源的断点续传, 若不支持断点续传, 则返回如下信息:  The information returned by the resource download server determines whether the resource download server supports the resume transmission of the current resource. If the resume transmission is not supported, the following information is returned:

200  200

Content-Length=5070000  Content-Length=5070000

Accept-Ranges=bytes  Accept-Ranges=bytes

Date=Thu, 2 Apr 2009 12:56: 11 GMT  Date=Thu, 2 Apr 2009 12:56: 11 GMT

ETag=W/"02ca57el73cl 1 :95b" Content-Type=application/octet-stream ETag=W/"02ca57el73cl 1 :95b" Content-Type=application/octet-stream

Server=Microsoft-IIS/5.0  Server=Microsoft-IIS/5.0

Last-Modified= Thu, 2 Apr 2009 12:56: 11 GMT  Last-Modified= Thu, 2 Apr 2009 12:56: 11 GMT

若支持断点续传, 则返回如下信息:  If the breakpoint resume is supported, the following information is returned:

206  206

Content-Length=5070000  Content-Length=5070000

Content-Range=bytes 1024000-5070000/5070000  Content-Range=bytes 1024000-5070000/5070000

Date= Thu, 2 Apr 2009 12:55:20 GMT  Date= Thu, 2 Apr 2009 12:55:20 GMT

ETag=W/"02ca57el73cl 1 :95b"  ETag=W/"02ca57el73cl 1 :95b"

Content-Type=application/octet-stream  Content-Type=application/octet-stream

Server=Microsoft-IIS/5.0  Server=Microsoft-IIS/5.0

Last-Modified= Thu, 2 Apr 2009 12:55:20 GMT  Last-Modified= Thu, 2 Apr 2009 12:55:20 GMT

将支持断点续传对应的信息与不支持断点续传对应的信息进行比较可 以发现, 支持断点续传对应的信息增加了一行:  Comparing the information corresponding to the support of the resume of the breakpoint with the information corresponding to the support of the resume of the breakpoint can be found that the information corresponding to the support of the resume of the breakpoint is added by one line:

Content-Range=bytes 1024000-5070000/5070000 , 由于该文件的大小为 Content-Range=bytes 1024000-5070000/5070000 , because the size of the file is

5MB, 因此该语句表示支持从 1MB到 5MB数据的下载; 另外, 返回的代 码也由 200变为 206, 这两点可以说明资源下载服务器支持断点续传功能。 5MB, so the statement indicates support for downloading from 1MB to 5MB of data; in addition, the returned code is also changed from 200 to 206, which indicates that the resource download server supports the breakpoint resuming function.

若资源下载服务器不支持对当前资源的断点续传, 则说明资源下载服 务器不支持对该资源以多线程同时下载各数据段的方式来下载, 此时执行 步驟 3 , 选择数据传输速率最大的单模网络(假设网络 A的数据传输速率 大于网络 B, 则选择网络 A ), 执行资源的下载: 移动终端基于网络 A分配 给自身的 IP地址 A, 创建与网络 A的 socket连接 (该连接为单线程连接, 用于资源的下载),然后移动终端通过网络 A向资源下载服务器发送下载该 文件完整资源的请求; 资源下载服务器通过网络 A与移动终端的 socket连 接向移动终端返回资源, 直到该资源下载完成, 该流程结束。  If the resource download server does not support the resuming of the current resource, the resource download server does not support downloading the data segment by multi-threading at the same time. In step 3, the data transmission rate is selected to be the largest. Single-mode network (assuming network A's data transmission rate is greater than network B, network A is selected), and the resource is downloaded: The mobile terminal allocates its own IP address A based on network A, and creates a socket connection with network A (the connection is a single-threaded connection, for downloading a resource, and then the mobile terminal sends a request for downloading the complete resource of the file to the resource download server through the network A; the resource download server returns a resource to the mobile terminal through the socket connection of the network A, until the The resource download is complete and the process ends.

移动终端向资源下载服务器发送的下载完整资源的请求 (请求下载的 资源名为 test.zip )如下: GET/test.zip HTTP/ 1.1 The request for downloading the complete resource sent by the mobile terminal to the resource download server (the resource name requested to be downloaded is test.zip) is as follows: GET/test.zip HTTP/ 1.1

Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,  Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,

Application/vnd.ms- excel,application/msword,application/vnd.ms-powerpoint,*/*  Application/vnd.ms- excel,application/msword,application/vnd.ms-powerpoint,*/*

Accept-Language:zh-cn  Accept-Language: zh-cn

Accept-Encoding:gzip,deflate  Accept-Encoding: gzip, deflate

Connection:Keep-Alive  Connection: Keep-Alive

若资源下载服务器支持对该资源的断点续传, 则说明对于该资源可以 采用多线程同时下载各数据段的方式(即断点续传的多线程方式) 来下载 该资源, 此时执行步驟 4。  If the resource download server supports the breakpoint transmission of the resource, it indicates that the resource can be downloaded by using multiple threads simultaneously downloading each data segment (that is, the multi-thread mode of the resume of the breakpoint) to download the resource. .

步驟 4, 确定各单模网络下的最大下载线程数 MAX, 并在此过程中创 建各单模网络下的 MAX条下载线程。  Step 4: Determine the maximum number of download threads MAX in each single-mode network, and create a MAX download thread in each single-mode network in the process.

通常, 为了能够给更多的用户提供资源下载服务, 资源下载服务器会 对同一个 IP地址(本发明中为一个多模移动终端对应的一个单模网络的 IP 地址、 如 IP地址 A或者 IP地址 B )请求建立的下载连接有一个数量限制 (每一条下载连接对应一条下载线程, 则此处确定了最多下载线程数), 并 且对每条下载连接的数据传输速率进行限制。 如资源下载服务器仅允许一 个移动终端基于一个 IP地址最多可创建 5条下载连接, 对应为 5条下载线 程、 即最多下载线程数为 5 , 每条下载连接的数据传输速率限制为 10kbps; 则在不考虑当前网络制式对数据传输速率限制的前提下, 移动终端最多可 以 5x10kbps的速率进行资源的下载。 另外, 考虑到移动终端的硬件资源配 置及资源下载的效率, 不能将下载线程开的过多, 这样会带来很大的系统 开销, 因此多模移动终端自身需要规定在单模网络下的最大下载线程数 MAXTHREADS , MAXTHREADS的确定为一个经验值。 在实际的应用中, 多模移动终端可以创建的在单模网络下的最大下载线程数 MAX 和 MAXTHREADS可能是不一致的, 因此, 多模移动终端首先需要确定 MAX 的值, 在确定 MAX的过程中创建 MAX条下载线程。 Generally, in order to provide a resource download service to more users, the resource download server will have the same IP address (the IP address of a single mode network corresponding to a multimode mobile terminal in the present invention, such as an IP address A or an IP address. B) The download connection requested to be established has a limit on the number (one download thread for each download connection, then the maximum number of download threads is determined here), and the data transfer rate of each download connection is limited. For example, the resource download server allows only one mobile terminal to create up to five download connections based on one IP address, corresponding to five download threads, that is, the maximum number of download threads is 5, and the data transfer rate of each download connection is limited to 10 kbps; Without considering the current network standard for data transmission rate limitation, the mobile terminal can download resources at a rate of up to 5x10 kbps. In addition, considering the hardware resource configuration and resource downloading efficiency of the mobile terminal, the downloading thread cannot be opened too much, which brings a large system overhead, so the multi-mode mobile terminal itself needs to specify the maximum under the single-mode network. The number of download threads MAXTHREADS, MAXTHREADS is determined as an empirical value. In practical applications, the maximum number of download threads MAX and MAXTHREADS that can be created by a multimode mobile terminal in a single-mode network may be inconsistent. Therefore, multimode mobile terminals first need to determine MAX. The value of the MAX strip download thread is created during the process of determining MAX.

具体的, 确定单模网络下的最大下载线程数 MAX, 及 MAX条下载线 程的创建可以采用图 3所示的流程:  Specifically, the maximum number of download threads under the single-mode network is determined, and the MAX download line can be created by using the process shown in FIG. 3:

步驟 301 , 移动终端初始化下载线程数 1=1 ;  Step 301, the mobile terminal initializes the number of download threads 1=1;

步驟 302, 基于单模网络分配的 IP地址创建一个 socket连接 (即下载 线程), 以连接到资源下载服务器;  Step 302: Create a socket connection (ie, download thread) based on the IP address allocated by the single mode network, to connect to the resource download server.

步驟 303 , 判断连接是否成功, 如果否, 执行步驟 304; 如果是, 执行 步驟 305。  Step 303: Determine whether the connection is successful. If no, go to step 304; if yes, go to step 305.

如果连接成功表示该 socket连接 (即下载线程 )创建成功。  If the connection is successful, the socket connection (ie the download thread) is created successfully.

步驟 304, 判定当前下载线程数 I即为 MAX, 该流程结束。  Step 304: Determine that the current number of download threads I is MAX, and the process ends.

步驟 305 , 判断当前下载线程数 I是否小于移动终端自身规定的在该单 模网络下的最大下载线程数 MAXTHREADS, 如果否, 执行步驟 304, 说 明当前下载线程数 I即为 MAX, 该流程结束; 如果是, 执行步驟 306; 步驟 306, 当前下载线程数 I小于最多下载线程数 MAXTHREADS时, 将当前下载线程数 I加 1 , 然后返回执行步驟 302, 直到确定当前下载线程 数 I为 MAX为止。  Step 305: Determine whether the current download thread number I is smaller than the maximum number of download threads MAXTHREADS in the single-mode network specified by the mobile terminal itself. If no, execute step 304, indicating that the current download thread number I is MAX, and the process ends; If yes, go to step 306; Step 306, when the current download thread number I is less than the maximum number of download threads MAXTHREADS, the current download thread number I is incremented by 1, and then return to step 302 until it is determined that the current download thread number I is MAX.

由此可见, 多模移动终端在确定 MAX条下载线程的同时, 也完成了 MAX条下载线程的创建。 一般情况下, 每个单模网络下的 MAX值是相同 的。 在实际应用中, 单模网络下的 MAX值也可能是 1、 即单线程。  It can be seen that the multi-mode mobile terminal also completes the creation of the MAX download thread while determining the MAX download thread. In general, the MAX values under each single-mode network are the same. In practical applications, the MAX value under a single-mode network may also be 1, that is, single-threaded.

步驟 5, 判断资源在多模移动终端中是否已部分下载, 如果否, 执行步 驟 6; 如果是, 执行步驟 7。  Step 5: Determine whether the resource has been partially downloaded in the multi-mode mobile terminal. If no, go to step 6. If yes, go to step 7.

根据移动终端对当前资源的存储情况可以得知是否已经下载该资源的 部分数据, 如果否, 执行步驟 6; 如果是, 执行步驟 7。  According to the storage condition of the current resource by the mobile terminal, it can be known whether part of the data of the resource has been downloaded. If not, go to step 6; if yes, go to step 7.

步驟 6, 请求完整的资源, 分配各下载线程分别请求的资源数据段, 执 行步驟 8。 移动终端需要下载完整的资源, 首先需要根据该资源的大小、 各单模 网络下的最大下载线程数 MAX、 以及各个单模网络下的标准下行数据传输 速率来分配各下载线程请求的数据段。 具体的, 可以采用如下的分配策略: 设请求的资源大小(该步驟中为完整资源)为^ , 该移动终端为双模移 动终端支持网络 A和网络 B, 网络 A下的标准下行数据传输速率为 , 网 络 B下的标准下行数据传输速率为 , i VA /VB = P。 In step 6, the complete resource is requested, and the resource data segment respectively requested by each downloading thread is allocated, and step 8 is performed. The mobile terminal needs to download the complete resource. First, the data segment requested by each download thread needs to be allocated according to the size of the resource, the maximum number of download threads MAX under each single-mode network, and the standard downlink data transmission rate under each single-mode network. Specifically, the following allocation policy may be adopted: setting the requested resource size (the complete resource in this step) to ^, the mobile terminal supporting the network A and the network B in the dual-mode mobile terminal, and the standard downlink data transmission rate under the network A For example, the standard downlink data transmission rate under network B is i V A /V B = P.

则通过网络 A可以请求的资源大小为: 网络 A下每 条下载线程可以请求的资源大小为: {Sx^/^ + l^/MAX ;  The size of the resource that can be requested through the network A is: The size of the resource that each download thread can request under the network A is: {Sx^/^ + l^/MAX;

则通过网络 B可以请求的资源大小为: 57(Ρ + 1) , 网络 Β下每条下载 线程可以请求的资源大小为: [57 ( Ρ + 1 )] / MAX。  The size of the resource that can be requested through network B is: 57 (Ρ + 1), and the size of the resource that each download thread can request under the network is: [57 ( Ρ + 1 )] / MAX.

例如, 网络 A的制式为 GSM, 标准下行数据传输速率 = 9.6^^ ; 网络 B的制式为 TD-SCDMA, 标准下行数据传输速率 = 384 ;w ; 总计 请求资源大小 S为 5MB; MAX为 5, 则: P = 9.6/384 = 0.025。  For example, the format of network A is GSM, the standard downlink data transmission rate = 9.6^^; the format of network B is TD-SCDMA, the standard downlink data transmission rate = 384; w; the total requested resource size S is 5MB; MAX is 5, Then: P = 9.6/384 = 0.025.

通过网络 A可以请求的资源大小为: 5*[0.025/(0.025+l)]MB = 0.12MB, 网络 A下每条下载线程可以请求的资源大小为: 0.12/5MB=0.024MB;  The size of the resource that can be requested through network A is: 5*[0.025/(0.025+l)]MB = 0.12MB, and the resource size that each download thread can request under network A is: 0.12/5MB=0.024MB;

通过网络 B可以请求的资源大小为: 5/(0.025+1)ΜΒ = 4.88ΜΒ, 网络 B 下每条下载线程可以请求的资源大小为: 4.88/5MB=0.976MB。  The resource size that can be requested through network B is: 5/(0.025+1)ΜΒ = 4.88ΜΒ, the resource size that each download thread can request under network B is: 4.88/5MB=0.976MB.

根据每条下载线程请求的资源大小可以计算出每条线程请求的数据段 (用起始点表示、 如某一条下载线程请求的数据段为 0MB~0.024MB ); 然 后移动终端创建对应每条下载线程的部分资源的下载请求, 并通过各下载 线程将请求发送给资源下载服务器。对部分资源的下载请求可以采用步驟 2 中描述的对部分资源的下载请求格式, 具体的资源的名称、 大小 (起始点) 等信息根据实际情况而不同。  According to the resource size requested by each download thread, the data segment requested by each thread can be calculated (indicated by the starting point, such as the data segment requested by a certain downloading thread is 0MB~0.024MB); then the mobile terminal creates a corresponding download thread. A partial resource download request, and the request is sent to the resource download server through each download thread. The download request for some resources may use the download request format for some resources described in step 2. The specific resource name, size (starting point) and other information are different according to actual conditions.

步驟 7,请求资源的未下载部分, 分配各下载线程分别请求的资源数据 段, 执行步驟 8。 Step 7, requesting the undownloaded part of the resource, and allocating the resource data separately requested by each downloading thread Paragraph, go to step 8.

该步驟的具体实现和步驟 6相同, 此处不再赘述。 不同的是, 步驟 6 请求的是完整的资源, 该步驟中当前资源已经下载了一部分, 因此该步驟 中 表示未下载资源的大小。  The specific implementation of this step is the same as that of step 6, and will not be described here. The difference is that step 6 requests a complete resource, in which the current resource has already been downloaded a part, so this step indicates the size of the resource that was not downloaded.

步驟 8, 通过各下载线程以文件块方式接收、 并存储资源下载服务器返 回的资源。  Step 8. Receive and store the resources returned by the resource download server in a file block manner through each download thread.

资源服务器在接收到各个下载线程发送的部分资源的下载请求时, 通 过移动通信网络向各个下载线程返回相应的资源; 各下载线程以文件块方 式接收并保存资源下载服务器返回的资源。  When receiving the download request of the partial resources sent by each downloading thread, the resource server returns corresponding resources to each downloading thread through the mobile communication network; each downloading thread receives and saves the resources returned by the resource downloading server in a file block manner.

步驟 9, 某个单模网络下的一个下载线程下载资源完成时, 判断该单模 网络下的所有下载线程是否完成资源下载, 如果是, 执行步驟 10; 如果否, 返回步驟 8。  Step 9. When a download thread of a single-mode network completes the downloading of the resource, it is determined whether all the downloading threads in the single-mode network complete the resource downloading. If yes, go to step 10; if no, go back to step 8.

当有一个单模网络的一个下载线程完成资源下载时, 判断该单模网络 下的所有 MAX条下载线程是否完成资源下载; 如果是, 执行步驟 10; 如 果否, 则继续执行步驟 8, 继续下载未完成下载的资源。  When a download thread of a single-mode network completes the resource download, it is determined whether all the MAX download threads under the single-mode network complete the resource download; if yes, go to step 10; if no, continue to step 8 and continue downloading. The resource that was not downloaded.

步驟 10~11 , 判断请求的全部资源的下载是否完成, 如果是, 资源下载 完成, 该流程结束; 如果否, 执行步驟 12。  Steps 10 to 11 determine whether the download of all the requested resources is completed. If yes, the resource download is completed, and the process ends; if no, go to step 12.

如果所有单模网络下的所有下载线程都完成了资源下载, 则该移动终 端请求的全部资源下载完毕, 该流程结束; 否则, 执行步驟 12。  If all download threads in all single-mode networks complete the resource download, all the resources requested by the mobile terminal are downloaded, and the process ends; otherwise, step 12 is performed.

步驟 12, 判断其他资源下载未完成的单模网络的下载线程是否有效, 如果是, 则执行步驟 8; 如果否, 执行步驟 13。  Step 12: Determine whether the download thread of the uncompleted single-mode network of other resources is valid, and if yes, perform step 8; if no, go to step 13.

此时需要判断资源下载未完成的单模网络的下载连接(即下载线程) 是否有效, 如果有效, 则可以继续资源的下载, 执行步驟 8; 如果无效, 说 明该单模网络下存在信号质量问题或者其他影响资源下载的问题, 此时可 以释放该单模网络的下载连接, 执行步驟 13。 步驟 13 , 通过下载完成的单模网络请求下载线程无效的单模网络中未 下载的资源。 In this case, it is necessary to determine whether the download connection (ie, the download thread) of the single-mode network that the resource download is not completed is valid. If it is valid, the resource download can be continued, and step 8 is performed; if invalid, the signal quality problem exists in the single-mode network. Or other problems affecting resource downloading. At this point, you can release the download connection of the single-mode network, and go to Step 13. Step 13: Download the undownloaded resource in the single-mode network with invalid thread by downloading the completed single-mode network.

步驟 12中单模网络的下载线程无效时,释放该单模网络的下载线程(对 应下载连接), 停止资源下载; 确认该单模网络已经下载的资源大小 (有可 能该单模网络下载了一部分资源后, 由于信号质量等原因使下载连接无 效), 并依据未下载的资源, 创建基于下载完成的单模网络的下载线程, 执 行资源的下载, 同步驟 7, 此处不再赘述, 然后返回执行步驟 8, 直到资源 下载完毕, 该流程结束。  When the download thread of the single-mode network is invalid in step 12, the download thread of the single-mode network is released (corresponding to the download connection), and the resource download is stopped; the size of the resource that has been downloaded by the single-mode network is confirmed (it is possible that the single-mode network downloads a part of the network) After the resource is invalid, the download connection is invalid due to the signal quality, etc., and the download thread of the single-mode network based on the download is created according to the undownloaded resource, and the download of the resource is performed, as in step 7, and will not be described again, and then returned. Go to step 8, until the resource download is complete, the process ends.

为了实现上述方法, 本发明还提供了一种资源下载系统, 该系统适用 于多模移动终端, 如图 4所示, 包括:  In order to implement the above method, the present invention further provides a resource downloading system, which is applicable to a multi-mode mobile terminal. As shown in FIG. 4, the method includes:

接入模块 10, 用于使多模移动终端接入各单模网络;  The access module 10 is configured to enable the multi-mode mobile terminal to access each single-mode network.

连接模块 20, 用于在多模移动终端接入各单模网络后, 建立与各单模 网络的数据业务物理连接;  The connection module 20 is configured to establish a physical connection with a data service of each single-mode network after the multi-mode mobile terminal accesses each single-mode network;

判断模块 30, 用于在多模移动终端建立了与各单模网络的数据业务物 理连接后, 判定资源下载服务器支持对所需资源的断点续传;  The determining module 30 is configured to determine, after the multi-mode mobile terminal establishes a physical service connection with each of the single-mode networks, that the resource download server supports a breakpoint transmission of the required resources;

资源下载模块 40, 用于在资源下载服务器支持对所需资源的断点续传 时 , 通过各单模网络以断点续传的方式执行所需资源的下载。  The resource downloading module 40 is configured to perform downloading of the required resources by means of each single-mode network in a resumed manner when the resource downloading server supports the resuming of the required resources.

资源下载模块 40在以断点续传的方式执行所需资源的下载时, 进一步 用于, 以多线程的方式执行所需资源的下载;  The resource downloading module 40 is further configured to perform downloading of the required resources in a multi-threaded manner when performing downloading of the required resources in a manner of resumed by a breakpoint;

判断模块 30进一步用于, 判定资源下载服务器不支持对所需资源的断 点续传; 相应的, 资源下载模块 40进一步用于, 从各单模网络中选择数据 传输速率最大的单模网络, 并通过所选的单模网络执行所需资源的下载。  The determining module 30 is further configured to: determine that the resource download server does not support the resume transmission of the required resources; and correspondingly, the resource downloading module 40 is further configured to select, from each single-mode network, a single-mode network with the largest data transmission rate. The download of the required resources is performed through the selected single mode network.

判断模块 30进一步用于, 当有单模网络的资源下载完成时, 判断其他 未完成下载的单模网络的下载线程是否有效;  The judging module 30 is further configured to: when the resource downloading of the single-mode network is completed, determine whether the download thread of the other unmode-downloaded single-mode network is valid;

相应的, 所示资源下载模块 40进一步用于, 依据判断模块 30的结果, 在判定无效时, 释放未完成下载的单模网络的下载线程, 并通过下载完成 的单模网络请求下载线程无效的单模网络中未下载的资源。 Correspondingly, the resource downloading module 40 is further configured to: according to the result of the determining module 30, When the determination is invalid, the download thread of the single-mode network that has not completed the download is released, and the undownloaded resource in the single-mode network with invalid thread is requested to be downloaded through the downloaded single-mode network.

以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim 1、一种基于多模移动终端的资源下载方法,其特征在于,该方法包括: 多模移动终端接入各单模网络, 并建立与所述各单模网络的数据业务 物理连接;  A method for downloading resources based on a multi-mode mobile terminal, the method comprising: the multi-mode mobile terminal accessing each single-mode network, and establishing a physical connection with the data services of the single-mode networks; 所述多模移动终端在判定资源下载服务器支持对所需资源的断点续传 时 , 通过所述各单模网络以断点续传方式执行所需资源的下载。  When the multi-mode mobile terminal determines that the resource download server supports the resume transmission of the required resources, the multi-mode mobile terminal performs downloading of the required resources by using the single-mode network in a resume mode. 2、 根据权利要求 1所述基于多模移动终端的资源下载方法, 其特征在 于, 多模移动终端建立与各单模网络的数据业务物理连接后, 该方法进一 步包括: 获取所述各单模网络为自身分配的 IP地址。  The method for downloading resources of a multi-mode mobile terminal according to claim 1, wherein after the multi-mode mobile terminal establishes a physical connection with the data service of each single-mode network, the method further includes: acquiring the single-mode The IP address assigned by the network to itself. 3、 根据权利要求 2所述基于多模移动终端的资源下载方法, 其特征在 于, 所述多模移动终端在判定资源下载服务器不支持对所需资源的断点续 传时, 该方法进一步包括: 所述多模移动终端从所述各单模网络中选择数 据传输速率最大的单模网络, 并通过所选的单模网络执行所需资源的下载。  The method for downloading resources of a multi-mode mobile terminal according to claim 2, wherein the method further comprises: when the multi-mode mobile terminal determines that the resource download server does not support the resume transmission of the required resources, the method further includes The multimode mobile terminal selects a single mode network with the highest data transmission rate from the single mode networks, and performs downloading of required resources through the selected single mode network. 4、 根据权利要求 2所述基于多模移动终端的资源下载方法, 其特征在 于, 该方法进一步包括: 所述多模移动终端通过所述各单模网络以多线程 的方式执行资源下载;  The method for downloading a resource based on a multi-mode mobile terminal according to claim 2, wherein the method further comprises: the multi-mode mobile terminal performing resource downloading in a multi-thread manner through the single-mode network; 相应的, 所述多模移动终端通过所述各单模网络以断点续传的多线程 方式执行资源下载, 具体为:  Correspondingly, the multi-mode mobile terminal performs resource downloading by using the single-mode network in a multi-threaded manner of resumed transmission, specifically: 所述多模移动终端确定在各单模网络下的最大下载线程数 MAX, 并依 据所获取的 IP地址创建基于各单模网络的 MAX条下载线程;  The multi-mode mobile terminal determines a maximum number of download threads MAX in each single-mode network, and creates a MAX download thread based on each single-mode network according to the acquired IP address; 判断所需资源在多模移动终端中是否已部分下载, 如果是, 则所述多 模移动终端通过各下载线程向资源下载服务器请求资源的未下载部分; 否 则, 所述多模移动终端通过各下载线程向资源下载服务器请求下载完整的 资源;  Determining whether the required resource has been partially downloaded in the multi-mode mobile terminal, and if so, the multi-mode mobile terminal requests the undownloaded portion of the resource from the resource download server through each downloading thread; otherwise, the multi-mode mobile terminal passes each The download thread requests the resource download server to download the complete resource; 所述多模移动终端通过各下载线程以文件块方式接收, 并存储资源下 载服务器返回的资源。 The multi-mode mobile terminal receives the file block through each download thread, and stores the resource The resource returned by the server. 5、 根据权利要求 4所述基于多模移动终端的资源下载方法, 其特征在 于, 所述多模移动终端确定在各单模网络下的最大下载线程数 MAX, 并在 依据所述 IP地址创建基于各单模网络的 MAX条下载线程, 具体为:  The method for downloading resources based on a multi-mode mobile terminal according to claim 4, wherein the multi-mode mobile terminal determines a maximum number of download threads MAX in each single-mode network, and is created according to the IP address. Based on the MAX strip download threads of each single-mode network, specifically: 多模移动终端初始化下载线程数 1=1;  Multi-mode mobile terminal initialization download thread number 1=1; 依据当前单模网络分配的所述 IP 地址创建一个到资源下载服务器的 socket连接; 在连接资源下载服务器失败时, 下载线程创建失败, 判定当前 下载线程数 I为所述 MAX; 在连接资源下载服务器成功时, 下载线程创建 成功,并判断当前下载线程数 I是否小于多模移动终端自身规定的在当前单 模网络下的最大下载线程数 MAXTHREADS;  Creating a socket connection to the resource download server according to the IP address allocated by the current single mode network; when the connection resource download server fails, the download thread creation fails, determining that the current download thread number I is the MAX; Upon success, the download thread is successfully created, and it is determined whether the current download thread number I is smaller than the maximum download thread number MAXTHREADS specified by the multimode mobile terminal itself in the current single mode network; 在判定小于时, 将当前下载线程数 I加 1 , 然后依据所述 IP地址再建 立一个 socket连接;在判定大于等于时,判定当前下载线程数 I为所述 MAX。  When the determination is less than, the current download thread number I is incremented by 1, and then a socket connection is established according to the IP address; when the determination is greater than or equal, it is determined that the current download thread number I is the MAX. 6、 根据权利要求 5所述基于多模移动终端的资源下载方法, 其特征在 于, 所述多模移动终端向资源下载服务器请求下载资源的未下载部分、 或 者请求下载完整的资源, 具体为:  The resource downloading method of the multi-mode mobile terminal according to claim 5, wherein the multi-mode mobile terminal requests the resource download server to download the undownloaded part of the resource, or requests to download the complete resource, specifically: 所述多模移动终端根据请求的资源大小、 各单模网络下的标准下行数 据传输速率和各单模网络下的最大下载线程数 MAX, 为各下载线程分配请 求的资源数据段;  The multi-mode mobile terminal allocates the requested resource data segment for each download thread according to the requested resource size, the standard downlink data transmission rate under each single-mode network, and the maximum number of download threads MAX in each single-mode network; 根据各下载线程请求的资源数据段, 所述多模移动终端通过各下载线 程向资源下载服务器发送部分资源下载请求;  The multi-mode mobile terminal sends a partial resource download request to the resource download server through each download line according to the resource data segment requested by each download thread; 相应地, 所述资源下载服务器依据所述部分资源下载请求, 通过各下 载线程向多模移动终端返回相应的部分资源。  Correspondingly, the resource downloading server returns a corresponding partial resource to the multi-mode mobile terminal through each downloading thread according to the partial resource download request. 7、根据权利要求 4所述基于多模移动终端资源下载方法,其特征在于, 该方法进一步包括: 当有单模网络的资源下载完成时, 判断其他未完成下 载的单模网络的下载线程是否有效; 在判定无效时, 释放未完成下载的单 模网络的下载线程, 并通过所述下载完成的单模网络请求所述下载线程无 效的单模网络中未下载的资源。 The method for downloading a multi-mode mobile terminal resource according to claim 4, wherein the method further comprises: determining, when the resource downloading of the single-mode network is completed, determining whether the download thread of the other un-downloaded single-mode network is Valid; release the uncompleted download when the judgment is invalid And a downloading thread of the modulo network, and requesting, by the single-mode network completed by the downloading, the undownloaded resource in the single-mode network in which the downloading thread is invalid. 8、一种基于多模移动终端的资源下载系统,其特征在于,该系统包括: 接入模块, 用于使多模移动终端接入各单模网络;  A resource downloading system based on a multi-mode mobile terminal, the system comprising: an access module, configured to enable a multi-mode mobile terminal to access each single-mode network; 连接模块, 用于在多模移动终端接入各单模网络后, 建立与所述各单 模网络的数据业务物理连接;  a connection module, configured to establish a physical connection with the data service of each single-mode network after the multi-mode mobile terminal accesses each single-mode network; 判断模块, 用于在多模移动终端建立了与各单模网络的数据业务物理 连接后, 判定资源下载服务器支持对所需资源的断点续传;  a judging module, configured to determine, after the multi-mode mobile terminal establishes a physical connection with the data service of each single-mode network, the resource download server supports a breakpoint transmission of the required resources; 资源下载模块, 用于在资源下载服务器支持对所需资源的断点续传时, 通过所述各单模网络以断点续传的方式执行所需资源的下载。  The resource downloading module is configured to perform downloading of the required resources by using the single-mode network in a breakpoint retransmission manner when the resource downloading server supports the resuming of the required resources. 9、 根据权利要求 8所述基于多模移动终端的资源下载系统, 其特征在 于,  9. The resource downloading system based on a multimode mobile terminal according to claim 8, wherein: 所述资源下载模块, 进一步用于在以断点续传的方式执行所需资源的 下载时, 以多线程的方式执行所需资源的下载;  The resource downloading module is further configured to perform downloading of the required resources in a multi-threaded manner when performing downloading of the required resources in a manner of resumed by a breakpoint; 所述判断模块进一步用于, 判定资源下载服务器不支持对所需资源的 断点续传;  The determining module is further configured to: determine that the resource download server does not support the resume transmission of the required resources; 相应的, 资源下载模块进一步用于, 从所述各单模网络中选择数据传 输速率最大的单模网络, 并通过所选的单模网络执行所需资源的下载。  Correspondingly, the resource downloading module is further configured to select a single mode network with the highest data transmission rate from the single mode networks, and perform downloading of the required resources through the selected single mode network. 10、 根据权利要求 9所述基于多模移动终端的资源下载系统, 其特征 在于,  10. The resource downloading system based on a multimode mobile terminal according to claim 9, wherein: 所述判断模块进一步用于, 当有单模网络的资源下载完成时, 判断其 他未完成下载的单模网络的下载线程是否有效;  The determining module is further configured to: when a resource download of the single-mode network is completed, determine whether the download thread of the single-mode network that has not completed the download is valid; 相应的, 所述资源下载模块进一步用于, 依据所述判断模块的结果, 在判定无效时, 释放未完成下载的单模网络的下载线程, 并通过所述下载 完成的单模网络请求所述下载线程无效的单模网络中未下载的资源。  Correspondingly, the resource downloading module is further configured to, according to the result of the determining module, release the downloading thread of the uncompleted downloading single-mode network when the determination is invalid, and request the single-mode network by using the downloading Download undownloaded resources in a single-mode network with invalid threads.
PCT/CN2010/073736 2009-08-11 2010-06-09 Method and system for downloading resource based on multi-mode mobile terminal Ceased WO2011017970A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910162891.X 2009-08-11
CN200910162891XA CN101635916B (en) 2009-08-11 2009-08-11 Method and system for loading resources based on multi-mode mobile terminal

Publications (1)

Publication Number Publication Date
WO2011017970A1 true WO2011017970A1 (en) 2011-02-17

Family

ID=41594931

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/073736 Ceased WO2011017970A1 (en) 2009-08-11 2010-06-09 Method and system for downloading resource based on multi-mode mobile terminal

Country Status (2)

Country Link
CN (1) CN101635916B (en)
WO (1) WO2011017970A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102812753A (en) * 2012-06-08 2012-12-05 华为技术有限公司 Transmission control method, network side device and terminal

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635916B (en) * 2009-08-11 2012-02-29 中兴通讯股份有限公司 Method and system for loading resources based on multi-mode mobile terminal
CN101715209A (en) * 2009-11-11 2010-05-26 中兴通讯股份有限公司 Method and system for multilink transmission data
CN101951642A (en) * 2010-09-16 2011-01-19 中兴通讯股份有限公司 Method and device for regulating download speed of mobile terminal
CN102215481B (en) * 2011-07-14 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and resource downloading method
CN102316109A (en) * 2011-09-14 2012-01-11 中兴通讯股份有限公司 Multimode terminal online video realization method, device and multimode terminal
CN103188287B (en) * 2011-12-28 2017-03-08 方正国际软件(北京)有限公司 The method and apparatus of the mobile terminal smart download based on uninterrupted
CN103297451A (en) * 2012-02-27 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Terminal and webpage download method
CN102665257A (en) * 2012-04-09 2012-09-12 北京大学 A wireless Internet access system and method with bandwidth superposition
CN103200606B (en) * 2013-03-18 2016-12-28 东莞宇龙通信科技有限公司 Terminal and data service handling method
CN103227812B (en) * 2013-03-19 2016-08-03 青岛海信宽带多媒体技术有限公司 Smart machine is supported method for down loading and the device of breakpoint transmission
CN104754491B (en) * 2013-12-26 2021-02-09 索尼公司 Mobile terminal and method for realizing cooperative transmission between mobile terminals
CN103929427A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Dynamic multi-thread downloading device and method
CN104216739B (en) * 2014-08-22 2018-10-26 广州猎豹网络科技有限公司 A kind of download process method and device, terminal
CN104363580B (en) * 2014-11-03 2018-07-24 中国联合网络通信集团有限公司 Data download method and communication system
CN105792301B (en) * 2014-12-16 2019-11-05 中兴通讯股份有限公司 A kind of terminal of handover network, method and system
CN105577775A (en) * 2015-12-17 2016-05-11 小米科技有限责任公司 Dual-channel downloading method and device
CN106921718A (en) * 2015-12-28 2017-07-04 镇江高科信息科技有限公司 Device and terminal that the method for file transmission, file are transmitted
CN105744505B (en) * 2016-01-29 2019-08-27 努比亚技术有限公司 Mobile terminal and its method for upgrading system
CN107347092A (en) * 2017-06-30 2017-11-14 环球智达科技(北京)有限公司 The method downloaded for multithreading
CN109561138B (en) * 2018-11-19 2021-04-13 Oppo广东移动通信有限公司 File downloading method and related product
CN115865900B (en) * 2022-11-30 2025-10-21 中科美络科技股份有限公司 Data breakpoint downloading method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203606A1 (en) * 2002-03-13 2004-10-14 Novatel Wireless, Inc. Complete message delivery to multi-mode communication device
US20060135200A1 (en) * 2004-12-16 2006-06-22 Min-Hong Yun Method for transmitting massive data effectively on multi-mode terminal
CN101389092A (en) * 2007-09-12 2009-03-18 中兴通讯股份有限公司 Downloading method using double threads of double mode double standby mobile phone
CN101635916A (en) * 2009-08-11 2010-01-27 中兴通讯股份有限公司 Method and system for loading resources based on multi-mode mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100592287C (en) * 2005-09-07 2010-02-24 展讯通信(上海)有限公司 A device for increasing the transmission bandwidth of mobile phone wireless Internet access and its implementation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203606A1 (en) * 2002-03-13 2004-10-14 Novatel Wireless, Inc. Complete message delivery to multi-mode communication device
US20060135200A1 (en) * 2004-12-16 2006-06-22 Min-Hong Yun Method for transmitting massive data effectively on multi-mode terminal
CN101389092A (en) * 2007-09-12 2009-03-18 中兴通讯股份有限公司 Downloading method using double threads of double mode double standby mobile phone
CN101635916A (en) * 2009-08-11 2010-01-27 中兴通讯股份有限公司 Method and system for loading resources based on multi-mode mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102812753A (en) * 2012-06-08 2012-12-05 华为技术有限公司 Transmission control method, network side device and terminal
CN102812753B (en) * 2012-06-08 2015-01-21 华为技术有限公司 Transmission control method, network side device and terminal
US9838914B2 (en) 2012-06-08 2017-12-05 Huawei Technologies Co., Ltd. Method for controlling transmission, network device, and terminal

Also Published As

Publication number Publication date
CN101635916B (en) 2012-02-29
CN101635916A (en) 2010-01-27

Similar Documents

Publication Publication Date Title
WO2011017970A1 (en) Method and system for downloading resource based on multi-mode mobile terminal
JP4912500B2 (en) Method, system and apparatus for processing circuit switched domain services in an evolved packet network
JP4054253B2 (en) Communication system, radio communication terminal and radio base station
CN111247836A (en) Session management method, terminal device and network device
WO2018170626A1 (en) Connection recovery method, access and mobility management function entity, and user equipment
EP3062563A1 (en) Network access selection method and terminal
CN104067523A (en) Data packet processing method and device
WO2011017890A1 (en) Multimode mobile terminal and method for downloading resources thereof
WO2011160587A1 (en) Method and system for connecting a dual-stack terminal to networks
CN110881193B (en) Measurement method, terminal and network equipment for voice call-in and call-out
JP2009038803A5 (en)
WO2014067070A1 (en) Data transmission method, switching method, data transmission apparatus, switching apparatus, user equipment, wireless access node, data transmission system and switching system
CN115550858B (en) Voice call fallback method, device and storage medium
WO2012151825A1 (en) Access point switching method and device on iphone operating system
WO2010139223A1 (en) Data download method and device for wireless terminal
WO2014047936A1 (en) Data transmission method, device, terminal and base station
CN1411162A (en) System information unloading method and mobile communication terminal
CA2744760C (en) Application-based wireless device initiated radio resource management
US20020089968A1 (en) Method of inquiring
CN111586716B (en) Network slice deployment method and device
CN1198432C (en) Data acquiring method and terminal
WO2014180302A1 (en) Application internet access processing method, apparatus, and terminal
TW201127173A (en) Wireless communications device and method for IP address negotiations
CN101312566A (en) Method for mobile phone to download large resource
KR102003739B1 (en) Method for application hosting by access node and appratus therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10807915

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10807915

Country of ref document: EP

Kind code of ref document: A1