技术领域technical field
本发明涉及通信技术领域,尤其涉及一种多链路智能分流方法及移动终端。The invention relates to the field of communication technology, in particular to a multi-link intelligent distribution method and a mobile terminal.
背景技术Background technique
随着移动终端市场的发展,越来越多的用户将移动终端作为访问网络的工具。目前,作为移动终端访问互联网的入口网络主要是长期演进(LongTermEvolution,LTE)网络和WiFi网络。With the development of the mobile terminal market, more and more users use the mobile terminal as a tool for accessing the network. At present, the entrance networks used as the access to the Internet by mobile terminals are mainly Long Term Evolution (Long Term Evolution, LTE) networks and WiFi networks.
尽管目前的移动终端大多只能将LTE网络和WiFi网络中的一种作为接入网络,但为了同时利用LTE网络和WiFi网络的特点,最大限度的提升用户的网络访问体验,发展能够同时使用LTE网络和WiFi网络的智能终端已经成为一种极有可能的趋势。对于这种新型的智能终端,如何实现数据流量的优化分流成为最需要解决的问题。Although most of the current mobile terminals can only use one of the LTE network and the WiFi network as the access network, in order to take advantage of the characteristics of the LTE network and the WiFi network at the same time, and maximize the user's network access experience, the development can use LTE at the same time. Smart terminals for Internet and WiFi networks have become a very likely trend. For this new type of intelligent terminal, how to realize the optimized distribution of data traffic has become the most urgent problem to be solved.
发明内容Contents of the invention
本发明的主要目的在于提出一种多链路智能分流方法及移动终端,旨在解决无法实现数据流量的优化分流的问题。The main purpose of the present invention is to provide a multi-link intelligent distribution method and a mobile terminal, aiming at solving the problem that the optimal distribution of data traffic cannot be realized.
为实现上述目的,本发明提供的一种移动终端,其特征在于,所述移动终端同时接入长期演进LTE网络和WiFi网络,所述移动终端包括:In order to achieve the above object, a mobile terminal provided by the present invention is characterized in that the mobile terminal simultaneously accesses the Long Term Evolution LTE network and the WiFi network, and the mobile terminal includes:
请求发送模块,用于在第一TCP流建立完成后,向服务器发送查询请求,所述查询请求用于获取所述第一TCP流待传输的第一数据的大小;The request sending module is used to send a query request to the server after the first TCP flow is established, and the query request is used to obtain the size of the first data to be transmitted by the first TCP flow;
划分模块,用于在接收到所述服务器反馈的所述第一数据的大小后,根据监测到的所述LTE网络的第一传输速率和所述WiFi网络的第二传输速率对所述第一数据的大小进行划分,分别得到通过所述LTE网络传输的第二数据的大小及通过所述WiFi网络传输的第三数据的大小;A dividing module, configured to, after receiving the size of the first data fed back by the server, divide the first data according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network. The size of the data is divided to obtain the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network respectively;
流发送模块,用于通过所述LTE网络向所述服务器发送包含所述第二数据的大小的第二数据请求报文,及通过所述WiFi网络向所述服务器发送包含所述第三数据的大小的第三数据请求报文,以通过分流的方式获取所述第一数据。A stream sending module, configured to send a second data request message containing the size of the second data to the server through the LTE network, and send a request message containing the third data to the server through the WiFi network The size of the third data request packet is used to obtain the first data in a distributed manner.
可选地,所述划分模块具体包括:Optionally, the dividing module specifically includes:
第一确定模块,用于根据所述LTE网络的第一传输速率、所述WiFi网络的第二传输速率及预置的时延确定第一数据的大小的分配比例;A first determination module, configured to determine the distribution ratio of the size of the first data according to the first transmission rate of the LTE network, the second transmission rate of the WiFi network, and the preset time delay;
第二确定模块,用于按照所述分配比例划分所述第一数据的大小,确定通过所述LTE网络传输的第二数据的大小及通过所述WiFi网络传输的第三数据的大小。The second determination module is configured to divide the size of the first data according to the distribution ratio, and determine the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network.
可选地,所述第一确定模块具体用于:Optionally, the first determining module is specifically configured to:
按照如下公式确定所述分配比例:The allocation ratio is determined according to the following formula:
或者,按照如下公式确定所述分配比例:Alternatively, the allocation ratio is determined according to the following formula:
在上述公式中:R表示通过WiFi网络传输的第三数据占所述第一数据的百分比,C表示所述第一数据的大小,VW表示WiFi网络的第二传输速率,VL表示LTE网络的第一传输速率,t表示所述预置的时延,其中,所述分配比例包括R及1-R,且1-R表示通过LTE网络传输的第二数据占所述第一数据的百分比。In the above formula: R represents the percentage of the third data transmitted through the WiFi network to the first data, C represents the size of the first data, VW represents the second transmission rate of the WiFi network, and VL represents the LTE network The first transmission rate, t represents the preset delay, wherein the allocation ratio includes R and 1-R, and 1-R represents the percentage of the second data transmitted through the LTE network to the first data .
可选地,所述流发送模块,包括:Optionally, the stream sending module includes:
第一发送模块,用于若所述第一TCP流是基于LTE网络建立的,则基于所述第一TCP流生成包含所述第二数据的大小的第二数据请求报文,通过所述LTE网络向所述服务器发送所述第二数据请求报文,及基于所述WiFi网络建立第二TCP流,基于所述第二TCP流生成包含所述第三数据的大小的第三数据请求报文,通过所述WiFi网络向所述服务器发送所述第三数据请求报文;The first sending module is configured to generate a second data request message containing the size of the second data based on the first TCP flow if the first TCP flow is established based on the LTE network, and pass the LTE The network sends the second data request message to the server, and establishes a second TCP flow based on the WiFi network, and generates a third data request message containing the size of the third data based on the second TCP flow , sending the third data request message to the server through the WiFi network;
第二发送模块,用于若所述第一TCP流是基于WiFi网络建立的,则基于所述LTE网络建立第三TCP流,基于所述第三TCP流生成包含所述第二数据的大小的所述第二数据请求报文,通过所述LTE网络向所述服务器发送所述第二数据请求报文,及基于所述第一TCP流生成包含所述第三数据的大小的第三数据请求报文,通过所述WiFi网络向所述服务器发送所述第三数据请求报文。The second sending module is configured to establish a third TCP flow based on the LTE network if the first TCP flow is established based on the WiFi network, and generate a size of the second data based on the third TCP flow The second data request message, sending the second data request message to the server through the LTE network, and generating a third data request containing the size of the third data based on the first TCP stream message, sending the third data request message to the server through the WiFi network.
可选地,所述移动终端还包括:Optionally, the mobile terminal also includes:
监测模块,用于监测所述LTE网络在预置时间段内的第一数据流量及监测所述WiFi网络在所述预置时间段内的第二数据流量;A monitoring module, configured to monitor the first data flow of the LTE network within a preset time period and monitor the second data flow of the WiFi network within the preset time period;
速率确定模块,用于利用所述第一数据流量及所述预置时间段确定所述第一传输速率,及利用所述第二数据流量及所述预置时间段确定所述第二传输速率。A rate determination module, configured to determine the first transmission rate by using the first data flow and the preset time period, and determine the second transmission rate by using the second data flow and the preset time period .
为实现上述目的,本发明还提供一种多链路智能分流方法,其特征在于,移动终端同时接入长期演进LTE网络和WiFi网络,所述方法包括:In order to achieve the above object, the present invention also provides a multi-link intelligent offloading method, which is characterized in that the mobile terminal simultaneously accesses the Long Term Evolution LTE network and the WiFi network, and the method includes:
在第一TCP流建立完成后,所述移动终端向服务器发送查询请求,所述查询请求用于获取所述第一TCP流待传输的第一数据的大小;After the first TCP flow is established, the mobile terminal sends a query request to the server, and the query request is used to obtain the size of the first data to be transmitted by the first TCP flow;
在接收到所述服务器反馈的所述第一数据的大小后,根据监测到的所述LTE网络的第一传输速率和所述WiFi网络的第二传输速率对所述第一数据的大小进行划分,分别得到通过所述LTE网络传输的第二数据的大小及通过所述WiFi网络传输的第三数据的大小;After receiving the size of the first data fed back by the server, divide the size of the first data according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network , respectively obtaining the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network;
通过所述LTE网络向所述服务器发送包含所述第二数据的大小的第二数据请求报文,及通过所述WiFi网络向所述服务器发送包含所述第三数据的大小的第三数据请求报文,以通过分流的方式获取所述第一数据。sending a second data request message including the size of the second data to the server through the LTE network, and sending a third data request message including the size of the third data to the server through the WiFi network The message is used to obtain the first data in a splitting manner.
可选地,所述根据监测到的所述LTE网络的第一传输速率和所述WiFi网络的第二传输速率对所述第一数据的大小进行划分,分别得到通过所述LTE网络上传输的第二数据的大小及通过所述WIFI网络传输的第三数据的大小,包括:Optionally, the size of the first data is divided according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network to obtain the data transmitted over the LTE network respectively. The size of the second data and the size of the third data transmitted through the WIFI network include:
根据所述LTE网络的第一传输速率、所述WiFi网络的第二传输速率及预置的时延确定第一数据的大小的分配比例;determining the distribution ratio of the size of the first data according to the first transmission rate of the LTE network, the second transmission rate of the WiFi network, and the preset time delay;
按照所述分配比例划分所述第一数据的大小,确定通过所述LTE网络传输的第二数据的大小及通过所述WiFi网络传输的第三数据的大小。Divide the size of the first data according to the allocation ratio, and determine the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network.
可选地,所述根据所述LTE网络的第一传输速率、所述WiFi网络的第二传输速率及预置的时延确定第一数据的大小的分配比例,包括:Optionally, determining the distribution ratio of the size of the first data according to the first transmission rate of the LTE network, the second transmission rate of the WiFi network, and the preset time delay includes:
按照如下公式确定所述分配比例:The allocation ratio is determined according to the following formula:
或者,按照如下公式确定所述分配比例:Alternatively, the allocation ratio is determined according to the following formula:
在上述公式中:R表示通过WiFi网络传输的第三数据占所述第一数据的百分比,C表示所述第一数据的大小,VW表示WiFi网络的第二传输速率,VL表示LTE网络的第一传输速率,t表示所述预置的时延,其中,所述分配比例包括R及1-R,且1-R表示通过LTE网络传输的第二数据占所述第一数据的百分比。In the above formula: R represents the percentage of the third data transmitted through the WiFi network to the first data, C represents the size of the first data, VW represents the second transmission rate of the WiFi network, and VL represents the LTE network The first transmission rate, t represents the preset delay, wherein the allocation ratio includes R and 1-R, and 1-R represents the percentage of the second data transmitted through the LTE network to the first data .
可选地,所述通过所述LTE网络向所述服务器发送包含所述第二数据的大小的第二数据请求报文,及通过所述WiFi网络向所述服务器发送包含所述第三数据的大小的第三数据请求报文,包括:Optionally, sending a second data request message containing the size of the second data to the server through the LTE network, and sending a request message containing the third data to the server through the WiFi network The size of the third data request message, including:
若所述第一TCP流是基于LTE网络建立的,则基于所述第一TCP流生成包含所述第二数据的大小的第二数据请求报文,通过所述LTE网络向所述服务器发送所述第二数据请求报文,及基于所述WiFi网络建立第二TCP流,基于所述第二TCP流生成包含所述第三数据的大小的第三数据请求报文,通过所述WiFi网络向所述服务器发送所述第三数据请求报文;If the first TCP flow is established based on the LTE network, generate a second data request message containing the size of the second data based on the first TCP flow, and send the second data request message to the server through the LTE network The second data request message, and establish a second TCP flow based on the WiFi network, generate a third data request message containing the size of the third data based on the second TCP flow, and send a message to the WiFi network through the WiFi network The server sends the third data request message;
若所述第一TCP流是基于WiFi网络建立的,则基于所述LTE网络建立第三TCP流,基于所述第三TCP流生成包含所述第二数据的大小的所述第二数据请求报文,通过所述LTE网络向所述服务器发送所述第二数据请求报文,及基于所述第一TCP流生成包含所述第三数据的大小的第三数据请求报文,通过所述WiFi网络向所述服务器发送所述第三数据请求报文。If the first TCP flow is established based on the WiFi network, a third TCP flow is established based on the LTE network, and the second data request report containing the size of the second data is generated based on the third TCP flow. send the second data request message to the server through the LTE network, and generate a third data request message containing the size of the third data based on the first TCP flow, and send the second data request message through the WiFi The network sends the third data request packet to the server.
可选地,所述方法还包括:Optionally, the method also includes:
监测所述LTE网络在预置时间段内的第一数据流量及监测所述WiFi网络在所述预置时间段内的第二数据流量;monitoring the first data flow of the LTE network within a preset time period and monitoring the second data flow of the WiFi network within the preset time period;
利用所述第一数据流量及所述预置时间段确定所述第一传输速率,及利用所述第二数据流量及所述预置时间段确定所述第二传输速率。The first transmission rate is determined by using the first data flow rate and the preset time period, and the second transmission rate is determined by using the second data flow rate and the preset time period.
本发明提出的移动终端能够同时接入LTE网络和WiFi网络,且该移动终端包括请求发送模块,用于在第一TCP流建立完成后,向服务器发送查询请求,查询请求用于获取第一TCP流待传输的第一数据的大小;划分模块,用于在接收到服务器反馈的第一数据的大小后,根据监测到的LTE网络的第一传输速率和WiFi网络的第二传输速率对第一数据的大小进行划分,分别得到通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小;流发送模块,用于通过LTE网络向服务器发送包含第二数据的大小的第二TCP流,及通过WiFi网络向服务器发送包含第三数据的大小的第三TCP流,以通过分流的方式获取第一数据。在移动终端同时接入LTE网络和WiFi网络的情况下,基于监测到的LTE网络的第一传输速率和WiFi网络的第二传输速率进行分流处理,使得能够最大限定的利用LTE网络和WiFi网络的特性,充分利用网络带宽。The mobile terminal proposed by the present invention can simultaneously access the LTE network and the WiFi network, and the mobile terminal includes a request sending module, which is used to send a query request to the server after the first TCP flow is established, and the query request is used to obtain the first TCP stream. The size of the first data to be transmitted by the stream; the dividing module is configured to perform the first data transfer according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network after receiving the size of the first data fed back by the server. The size of the data is divided to obtain the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network respectively; the stream sending module is used to send the first data containing the size of the second data to the server through the LTE network Two TCP streams, and sending a third TCP stream containing the size of the third data to the server through the WiFi network, so as to obtain the first data by splitting. In the case that the mobile terminal accesses the LTE network and the WiFi network at the same time, the offload processing is performed based on the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network, so that the maximum utilization of the LTE network and the WiFi network can be achieved. Features, make full use of network bandwidth.
附图说明Description of drawings
图1为实现本发明各个实施例一个可选的移动终端的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
图2为如图1所示的移动终端的无线通信系统示意图;FIG. 2 is a schematic diagram of a wireless communication system of a mobile terminal as shown in FIG. 1;
图3为本发明第一实施例中移动终端的功能模块的示意图;FIG. 3 is a schematic diagram of functional modules of the mobile terminal in the first embodiment of the present invention;
图4为本发明实施例中多链路智能分流原理的示意图;FIG. 4 is a schematic diagram of the principle of multi-link intelligent shunting in an embodiment of the present invention;
图5为本发明图3所示第一实施例中划分模块302的细化功能模块的示意图;FIG. 5 is a schematic diagram of the detailed functional modules of the dividing module 302 in the first embodiment shown in FIG. 3 of the present invention;
图6为本发明图3所示第一实施例中流发送模块303的细化功能模块的示意图;FIG. 6 is a schematic diagram of the detailed functional modules of the stream sending module 303 in the first embodiment shown in FIG. 3 of the present invention;
图7为本发明第二实施例中移动终端的功能模块的示意图;FIG. 7 is a schematic diagram of functional modules of the mobile terminal in the second embodiment of the present invention;
图8为本发明第三实施例中多链路智能分流方法的流程示意图;FIG. 8 is a schematic flowchart of a multi-link intelligent distribution method in a third embodiment of the present invention;
图9为本发明第三实施例中步骤802的细化步骤的流程示意图;FIG. 9 is a schematic flowchart of the refinement steps of step 802 in the third embodiment of the present invention;
图10为本发明第四实施例中多链路智能分流方法的流程示意图。FIG. 10 is a schematic flowchart of a multi-link intelligent offloading method in a fourth embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, "module" and "component" may be used mixedly.
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。Mobile terminals may be implemented in various forms. For example, terminals described in the present invention may include devices such as mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), navigation devices, etc. mobile terminals and fixed terminals such as digital TVs, desktop computers, etc. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will understand that the configuration according to the embodiments of the present invention can also be applied to stationary type terminals, in addition to elements specifically used for mobile purposes.
图1为实现本发明各个实施例一个可选的的移动终端的硬件结构示意。FIG. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。The mobile terminal 100 may include a wireless communication unit 110, an A/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. etc. FIG. 1 shows a mobile terminal having various components, but it is understood that implementing all shown components is not a requirement. Greater or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元110可以包括广播接收模块111、移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。The wireless communication unit 110 generally includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit 110 may include at least one of a broadcast receiving module 111 , a mobile communication module 112 , a wireless Internet module 113 , a short-range communication module 114 and a location information module 115 .
广播接收模块111经由广播信道从外部广播管理服务器接收广播信号和/或广播相关信息。广播信道可以包括卫星信道和/或地面信道。广播管理服务器可以是生成并发送广播信号和/或广播相关信息的服务器或者接收之前生成的广播信号和/或广播相关信息并且将其发送给终端的服务器。广播信号可以包括TV广播信号、无线电广播信号、数据广播信号等等。而且,广播信号可以进一步包括与TV或无线电广播信号组合的广播信号。广播相关信息也可以经由移动通信网络提供,并且在该情况下,广播相关信息可以由移动通信模块112来接收。广播信号可以以各种形式存在,例如,其可以以数字多媒体广播(DMB)的电子节目指南(EPG)、数字视频广播手持(DVB-H)的电子服务指南(ESG)等等的形式而存在。广播接收模块111可以通过使用各种类型的广播系统接收信号广播。特别地,广播接收模块111可以通过使用诸如多媒体广播-地面(DMB-T)、数字多媒体广播-卫星(DMB-S)、数字视频广播-手持(DVB-H),前向链路媒体(MediaFLO)的数据广播系统、地面数字广播综合服务(ISDB-T)等等的数字广播系统接收数字广播。广播接收模块111可以被构造为适合提供广播信号的各种广播系统以及上述数字广播系统。经由广播接收模块111接收的广播信号和/或广播相关信息可以存储在存储器160(或者其它类型的存储介质)中。The broadcast receiving module 111 receives broadcast signals and/or broadcast related information from an external broadcast management server via a broadcast channel. Broadcast channels may include satellite channels and/or terrestrial channels. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast related information or a server that receives a previously generated broadcast signal and/or broadcast related information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast related information may also be provided via a mobile communication network, and in this case, the broadcast related information may be received by the mobile communication module 112 . The broadcast signal may exist in various forms, for example, it may exist in the form of Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), Electronic Service Guide (ESG) of Digital Video Broadcast Handheld (DVB-H), etc. . The broadcast receiving module 111 may receive signal broadcasts by using various types of broadcast systems. In particular, the broadcast receiving module 111 can use media such as Multimedia Broadcasting-Terrestrial (DMB-T), Digital Multimedia Broadcasting-Satellite (DMB-S), Digital Video Broadcasting-Handheld (DVB-H), Forward Link Media (MediaFLO ), digital broadcasting systems such as Integrated Service for Digital Broadcasting Terrestrial (ISDB-T) and the like receive digital broadcasting. The broadcast receiving module 111 may be configured to be suitable for various broadcast systems providing broadcast signals as well as the above-mentioned digital broadcast systems. Broadcast signals and/or broadcast related information received via the broadcast receiving module 111 may be stored in the memory 160 (or other types of storage media).
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。The mobile communication module 112 transmits and/or receives radio signals to at least one of a base station (eg, access point, Node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。The wireless Internet module 113 supports wireless Internet access of the mobile terminal. The module can be coupled to the terminal internally or externally. The wireless Internet access technologies involved in this module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Global Microwave Interconnection Access), HSDPA (High Speed Downlink Packet Access), etc. .
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include Bluetooth™ , Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wideband (UWB), Zigbee™ , and others.
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是GPS(全球定位系统)。根据当前的技术,GPS模块计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块能够通过实时地连续计算当前位置信息来计算速率信息。The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is GPS (Global Positioning System). According to current technology, the GPS module calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current position information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects errors of the calculated position and time information by using another one satellite. In addition, the GPS module is able to calculate velocity information by continuously calculating current position information in real time.
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风122,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机1210。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 120 is used to receive audio or video signals. The A/V input unit 120 may include a camera 121 that processes image data of still pictures or videos obtained by an image capture device in a video capture mode or image capture mode, and a microphone 122 . The processed image frames may be displayed on the display unit 151 . The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 1210 may be provided according to the configuration of the mobile terminal. The microphone 122 may receive sound (audio data) via the microphone in a phone call mode, recording mode, voice recognition mode, and the like operating modes, and can process such sound as audio data. The processed audio (voice) data may be converted into a format transmittable to a mobile communication base station via the mobile communication module 112 for output in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。The user input unit 130 may generate key input data according to commands input by the user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, domes, touch pad (e.g., a touch-sensitive component that detects changes in resistance, pressure, capacitance, etc. due to being touched), a scroll wheel , rocker, etc. In particular, when a touch pad is superimposed on the display unit 151 in a layer form, a touch screen may be formed.
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。The sensing unit 140 detects the current state of the mobile terminal 100, (for example, the open or closed state of the mobile terminal 100), the position of the mobile terminal 100, the presence or absence of the user's contact with the mobile terminal 100 (that is, a touch input), the mobile terminal 100, the acceleration or deceleration movement and direction of the mobile terminal 100, etc., and generate commands or signals for controlling the operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide type mobile phone, the sensing unit 140 may sense whether the slide type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为"识别装置")可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。The interface unit 170 serves as an interface through which at least one external device can be connected with the mobile terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM) and the like. In addition, a device having an identification module (hereinafter referred to as "identification device") may take the form of a smart card, and thus, the identification device may be connected to the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (eg, data information, power, etc.) transfer data between.
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152等等。In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may be used as a path allowing various command signals input from the cradle to be transmitted to the mobile terminal 100 therethrough. The path to the terminal. Various command signals or power input from the base may be used as a signal for identifying whether the mobile terminal is accurately mounted on the base. The output unit 150 is configured to provide output signals (eg, audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。The display unit 151 can display information processed in the mobile terminal 100 . For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a user interface (UI) or a graphical user interface (GUI) related to calls or other communications (eg, text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capture mode, the display unit 151 may display captured images and/or received images, a UI or GUI showing videos or images and related functions, and the like.
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。Meanwhile, when the display unit 151 and the touch pad are superimposed on each other in a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays can be configured to be transparent to allow a user to view from the outside, which can be called a transparent display, and a typical transparent display can be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display means), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). . The touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc. audio signal and output as sound. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。The memory 160 may store software programs and the like for processing and controlling operations executed by the controller 180, or may temporarily store data that has been output or will be output (eg, phonebook, messages, still images, videos, etc.). Also, the memory 160 may store data on various patterns of vibration and audio signals output when a touch is applied to the touch screen.
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。Memory 160 may include at least one type of storage medium including flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), random access memory (RAM), static random access memory ( SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. Also, the mobile terminal 100 may cooperate with a web storage device performing a storage function of the memory 160 through a network connection.
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块181,多媒体模块181可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。The controller 180 generally controls the overall operations of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180 . The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。The power supply unit 190 receives external power or internal power and supplies appropriate power required to operate various elements and components under the control of the controller 180 .
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。Various implementations described herein can be implemented on a computer readable medium using, for example, computer software, hardware, or any combination thereof. For hardware implementation, the embodiments described herein can be implemented by using Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays ( FPGA), processors, controllers, microcontrollers, microprocessors, electronic units designed to perform the functions described herein, in some cases, such implementations may be implemented in the controller 180 implemented in. For software implementation, an embodiment such as a procedure or a function may be implemented with a separate software module that allows at least one function or operation to be performed. The software codes may be implemented by a software application (or program) written in any suitable programming language, which may be stored in memory 160 and executed by controller 180 .
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。So far, the mobile terminal has been described in terms of its functions. Hereinafter, for the sake of brevity, a slide type mobile terminal among various types of mobile terminals such as folder type, bar type, swing type, slide type, etc. will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal and is not limited to a slide type mobile terminal.
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。The mobile terminal 100 as shown in FIG. 1 may be configured to operate using communication systems such as wired and wireless, which transmit data via frames or packets, and satellite-based communication systems.
现在将参考图2描述其中根据本发明的移动终端能够操作的通信系统。A communication system in which a mobile terminal according to the present invention can operate will now be described with reference to FIG. 2 .
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。Such communication systems may use different air interfaces and/or physical layers. For example, air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE) ), Global System for Mobile Communications (GSM), etc. As a non-limiting example, the following description refers to a CDMA communication system, but such teachings are equally applicable to other types of systems.
参考图2,CDMA无线通信系统可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干己知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC2750。Referring to FIG. 2 , a CDMA wireless communication system may include a plurality of mobile terminals 100 , a plurality of base stations (BS) 270 , a base station controller (BSC) 275 , and a mobile switching center (MSC) 280 . MSC 280 is configured to interface with Public Switched Telephone Network (PSTN) 290 . MSC 280 is also configured to interface with BSC 275, which may be coupled to base station 270 via a backhaul line. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL or xDSL. It will be appreciated that a system as shown in FIG. 2 may include multiple BSCs 2750 .
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。Each BS 270 may serve one or more sectors (or areas), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction radially away from the BS 270 . Alternatively, each sector may be covered by two or more antennas for diversity reception. Each BS 270 may be configured to support multiple frequency allocations, with each frequency allocation having a specific frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。The intersection of partition and frequency allocation may be referred to as a CDMA channel. BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such cases, the term "base station" may be used to refer generally to a single BSC 275 and at least one BS 270. A base station may also be referred to as a "cell site." Alternatively, sectors of a particular BS 270 may be referred to as multiple cell sites.
如图2中所示,广播发射器(BT)295将广播信号发送给在系统内操作的移动终端100。如图1中所示的广播接收模块111被设置在移动终端100处以接收由BT295发送的广播信号。在图2中,示出了几个全球定位系统(GPS)卫星300。卫星300帮助定位多个移动终端100中的至少一个。As shown in FIG. 2, a broadcast transmitter (BT) 295 transmits broadcast signals to mobile terminals 100 operating within the system. The broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive broadcast signals transmitted by the BT295. In Fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 helps locate at least one of the plurality of mobile terminals 100 .
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的位置信息模块115通常被构造为与卫星300配合以获得想要的定位信息,该位置信息模块115的典型示例是GPS。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。In FIG. 2, a plurality of satellites 300 are depicted, but it is understood that any number of satellites may be utilized to obtain useful positioning information. The location information module 115 as shown in FIG. 1 is generally configured to cooperate with a satellite 300 to obtain desired positioning information, and a typical example of the location information module 115 is GPS. Instead of or in addition to GPS tracking techniques, other techniques that can track the location of the mobile terminal may be used. Additionally, at least one GPS satellite 300 may optionally or additionally handle satellite DMB transmissions.
作为无线通信系统的一个典型操作,BS270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS270内进行处理。获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。As a typical operation of a wireless communication system, the BS 270 receives reverse link signals from various mobile terminals 100 . Mobile terminal 100 typically engages in calls, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within a particular BS 270 . The obtained data is forwarded to the relevant BSC275. The BSC provides call resource allocation and mobility management functions including coordination of soft handover procedures between BS270. BSC 275 also routes received data to MSC 280 , which provides additional routing services for interfacing with PSTN 290 . Similarly, PSTN 290 interfaces with MSC 280 , MSC interfaces with BSC 275 , and BSC 275 controls BS 270 to send forward link signals to mobile terminal 100 accordingly.
基于上述移动终端硬件结构以及通信系统,提出本发明方法各个实施例。Based on the above mobile terminal hardware structure and communication system, various embodiments of the method of the present invention are proposed.
由于现有技术中,无法解决数据流量的优化分流的问题。Because in the prior art, the problem of optimal distribution of data traffic cannot be solved.
为此,本发明实施例中提出一种移动终端,通过将一个TCP流分成通过LTE网络获取的数据和通过WiFi网络获取的数据,能够有效的实现优化分流,且充分利用LTE网络和WiFi网络的特性。For this reason, a mobile terminal is proposed in the embodiment of the present invention. By dividing a TCP flow into data obtained through the LTE network and data obtained through the WiFi network, optimized flow distribution can be effectively realized, and the advantages of the LTE network and the WiFi network can be fully utilized. characteristic.
请参阅图3,为本发明第一实施例中移动终端的功能模块的示意图,该移动终端包括:请求发送模块301、划分模块302及流发送模块303。Please refer to FIG. 3 , which is a schematic diagram of functional modules of the mobile terminal in the first embodiment of the present invention. The mobile terminal includes: a request sending module 301 , a dividing module 302 and a stream sending module 303 .
请求发送模块301,用于在第一TCP流建立完成后,向服务器发送查询请求,查询请求用于获取第一TCP流待传输的第一数据的大小;The request sending module 301 is used to send a query request to the server after the first TCP flow is established, and the query request is used to obtain the size of the first data to be transmitted by the first TCP flow;
在本发明实施例中,移动终端能够同时接入LTE网络和WiFi网络,具体的,可以是通过在移动终端中设置LTE网络网卡和WiFi网络网卡的方式,使得移动终端能够同时接入LTE网络和WiFi网络。In the embodiment of the present invention, the mobile terminal can access the LTE network and the WiFi network at the same time, specifically, by setting the LTE network card and the WiFi network card in the mobile terminal, so that the mobile terminal can simultaneously access the LTE network and the WiFi network. WiFi network.
需要说明的是,本发明实施例中的技术方案是在移动终端已经接入LTE网络和WiFi网络的情况下执行的。It should be noted that the technical solutions in the embodiments of the present invention are executed when the mobile terminal has already accessed the LTE network and the WiFi network.
其中,在移动终端的应用层传输数据前,需要建立TCP流,且在第一TCP流建立完成后,移动终端内的请求发送模块301将向服务器发送查询请求,该查询请求用于获取该第一TCP流待传输的第一数据的大小,即该第一数据即为需要从服务器获取的数据。其中,建立TCP流是基于资源地址建立的,因此,该第一数据的大小即为该资源地址对应的数据的大小。且查询请求中至少包含该资源地址。Wherein, before the application layer of the mobile terminal transmits data, a TCP flow needs to be established, and after the first TCP flow is established, the request sending module 301 in the mobile terminal will send a query request to the server, and the query request is used to obtain the first TCP flow. The size of the first data to be transmitted in a TCP stream, that is, the first data is the data that needs to be obtained from the server. Wherein, establishing the TCP stream is established based on the resource address, therefore, the size of the first data is the size of the data corresponding to the resource address. And the query request at least includes the resource address.
其中,请求发送模块301可以是在确定第一TCP流建立完成之后,直接向服务器发送查询请求,或者,请求发送模块301可以通过监测的方式确定是否需要发送查询请求,例如:若需要通过第一TCP流获取http数据,移动终端的应用层将向服务器发送请求报文(如“get”报文),并在该请求报文中包含待获取的资源地址,该请求报文用于获取上述的http数据,请求发送模块301在监测到该请求报文之后,将截获该请求报文,使得该请求报文不能真正的发送给服务器,且该请求发送模块301将从该请求报文中获取上述的资源地址,并向服务器发送包含该资源地址的查询请求,以确定该资源地址对应的数据的大小,该数据的大小即为本发明中的第一数据的大小。Wherein, the request sending module 301 may directly send the query request to the server after determining that the first TCP flow is established, or the request sending module 301 may determine whether to send the query request through monitoring, for example: if it is necessary to send the query request through the first The TCP flow obtains http data, and the application layer of the mobile terminal will send a request message (such as a "get" message) to the server, and include the address of the resource to be obtained in the request message, and the request message is used to obtain the above-mentioned http data, after the request sending module 301 monitors the request message, it will intercept the request message so that the request message cannot be sent to the server, and the request sending module 301 will obtain the above-mentioned request message from the request message. resource address, and send a query request containing the resource address to the server to determine the size of the data corresponding to the resource address, and the size of the data is the size of the first data in the present invention.
在本发明实施例中,若第一TCP流是基于LTE网络建立的,则可以通过LTE网络发送上述的查询请求,若第一TCP流是基于WiFi网络建立的,则可以通过WiFi网络发送上述的查询请求。In the embodiment of the present invention, if the first TCP flow is established based on the LTE network, the above-mentioned query request can be sent through the LTE network; if the first TCP flow is established based on the WiFi network, the above-mentioned query request can be sent through the WiFi network. query request.
划分模块302,用于在接收到服务器反馈的第一数据的大小后,根据监测到的LTE网络的第一传输速率和WiFi网络的第二传输速率对第一数据的大小进行划分,分别得到通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小;The division module 302 is used to divide the size of the first data according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network after receiving the size of the first data fed back by the server, and obtain the obtained data respectively by The size of the second data transmitted by the LTE network and the size of the third data transmitted by the WiFi network;
在本发明实施例中,服务器在接收到查询请求之后,将获取该查询请求中包含的资源地址,并确定该资源地址对应的第一数据的大小,并将该第一数据的大小反馈给移动终端。In the embodiment of the present invention, after receiving the query request, the server will obtain the resource address included in the query request, determine the size of the first data corresponding to the resource address, and feed back the size of the first data to the mobile terminal.
其中,移动终端在接收到第一数据的大小之后,将根据监测到的LTE网络的第一传输速率和WiFi网络的第二传输速率对第一数据的大小进行划分,分别得到通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小。Wherein, after receiving the size of the first data, the mobile terminal will divide the size of the first data according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network, and respectively obtain the data transmitted through the LTE network. The size of the second data and the size of the third data transmitted through the WiFi network.
其中,移动终端可以实时监测LTE网络的第一传输速率和WiFi网络的第二传输速率,也可以在划分模块302需要使用的时候进行监测。Wherein, the mobile terminal can monitor the first transmission rate of the LTE network and the second transmission rate of the WiFi network in real time, and can also monitor when the dividing module 302 needs to be used.
流发送模块303,用于通过LTE网络向服务器发送包含第二数据的大小的第二数据请求报文,及通过WiFi网络向服务器发送包含第三数据的大小的第三数据请求报文,以通过分流的方式获取第一数据。The stream sending module 303 is configured to send a second data request message containing the size of the second data to the server through the LTE network, and send a third data request message containing the size of the third data to the server through the WiFi network, so as to pass The first data is obtained in a split manner.
在本发明实施例中,划分模块302在得到需要通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小之后,流发送模块303将通过LTE网络向服务器发送包含第二数据的大小的第二数据请求报文,及通过WiFi网络向服务器发送包含第三数据的大小的第三数据请求报文,以通过分流的方式获取第一数据。例如:若资源地址对应的第一数据的大小为100M,且确定的第二数据的大小为30M,第三数据的大小为70M,则将通过LTE网络从服务器获取资源地址的前30M的数据,及通过WiFi网络从服务器获取该资源地址后70M的数据。In the embodiment of the present invention, after the division module 302 obtains the size of the second data to be transmitted through the LTE network and the size of the third data to be transmitted through the WiFi network, the stream sending module 303 will send the data containing the second data to the server through the LTE network. The second data request message with the size of the data, and the third data request message with the size of the third data sent to the server through the WiFi network, so as to obtain the first data in a split manner. For example: if the size of the first data corresponding to the resource address is 100M, and the size of the determined second data is 30M, and the size of the third data is 70M, then the first 30M data of the resource address will be obtained from the server through the LTE network, And the 70M data after obtaining the resource address from the server through the WiFi network.
在本发明实施例中,移动终端同时接入LTE网络和WiFi网络之后,在第一TCP流建立完成后,请求发送模块301向服务器发送查询请求,以获取该第一TCP流待传输的第一数据的大小,且在接收到服务器反馈的该第一数据的大小之后,划分模块302根据监测到的LTE网络的第一传输速率及WiFi网络的第二传输速率对该第一数据的大小进行划分,分别确定通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小,并由流发送模块303通过LTE网络向服务器发送包含第二数据的大小的第二数据请求报文,及通过WiFi网络向服务器发送包含第三数据的大小的第三数据请求报文,以通过分流的方式获取第一数据。其中,通过将待获取的第一数据的大小基于第一传输速率和第二传输速率在LTE网络和WiFi网络之间进行分流,使得能够充分利用LTE网络和WiFi网络的特性,实现优化的分流方式。In the embodiment of the present invention, after the mobile terminal accesses the LTE network and the WiFi network at the same time, after the first TCP flow is established, the request sending module 301 sends a query request to the server to obtain the first TCP flow to be transmitted. The size of the data, and after receiving the size of the first data fed back by the server, the division module 302 divides the size of the first data according to the first transmission rate of the monitored LTE network and the second transmission rate of the WiFi network , respectively determine the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network, and send the second data request message containing the size of the second data to the server by the stream sending module 303 through the LTE network , and sending a third data request message including the size of the third data to the server through the WiFi network, so as to obtain the first data in a split manner. Wherein, by splitting the size of the first data to be acquired between the LTE network and the WiFi network based on the first transmission rate and the second transmission rate, it is possible to make full use of the characteristics of the LTE network and the WiFi network, and realize an optimized splitting method .
需要说明的是,LTE网络和WiFi网络的特性分别是:LTE网络的速度较快,但是价格相对昂贵,WiFi网络完全免费,但是速度较慢。本发明实施例中基于TCP流的业务量(即第一数据的大小)将TCP流进行拆分,使得对于同一个TCP流,能够同时使用到LTE网络和WiFi网络,兼顾了速度及价格的考虑,实现了数据的优化分流。It should be noted that the characteristics of the LTE network and the WiFi network are respectively: the speed of the LTE network is faster, but the price is relatively expensive, and the WiFi network is completely free, but the speed is relatively slow. In the embodiment of the present invention, the TCP flow is split based on the traffic volume of the TCP flow (that is, the size of the first data), so that the same TCP flow can be used simultaneously on the LTE network and the WiFi network, taking into account the considerations of speed and price , which realizes the optimized distribution of data.
需要说明的是,移动终端通过LTE网络向服务器发送第二数据请求报文,及通过WiFi网络向服务器发送第三数据请求报文之后,服务器将基于该第二数据请求报文中包含的第二数据的大小获取第二数据,并通过LTE网络将该第二数据反馈给移动终端;及基于该第三数据请求报文中包含的第三数据的大小获取第三数据,且通过WiFi网络将该第三数据反馈给移动终端,移动终端在接收到第二数据及第三数据之后,将按照预置的顺序将第二数据及第三数据进行合并,以得到第一数据。It should be noted that, after the mobile terminal sends the second data request message to the server through the LTE network, and sends the third data request message to the server through the WiFi network, the server will based on the second data request message contained in the second data request message Obtaining the second data according to the size of the data, and feeding back the second data to the mobile terminal through the LTE network; and obtaining the third data based on the size of the third data contained in the third data request message, and passing the second data through the WiFi network The third data is fed back to the mobile terminal, and after receiving the second data and the third data, the mobile terminal combines the second data and the third data in a preset order to obtain the first data.
为了更好的理解本发明图3所示第一实施例中的技术方案,请参阅图4,为本发明实施例中多链路智能分流原理的示意图。In order to better understand the technical solution in the first embodiment shown in FIG. 3 of the present invention, please refer to FIG. 4 , which is a schematic diagram of the principle of multi-link intelligent traffic distribution in the embodiment of the present invention.
其中,多链路至少包含一条LTE网络的链路和一条WiFi网络的链路,本发明实施例中是以一条LTE网络的链路和一条WiFi网络的链路为例的。在图4中,基站和WiFi热点通过核心网络经由路由器,连接到服务器。其中,1表示建立的第一TCP流的第一数据,“拆分”是指将第一数据的大小拆分为第二数据的大小和第三数据的大小,从用户侧(移动终端侧)指向服务器侧的1-1表示通过WiFi网络向服务器发送第二数据请求报文,从服务器侧指向用户侧的1-1表示服务器基于第二数据请求报文反馈的第二数据,从用户侧指向服务器侧的1-2表示通过LTE网络向服务器发送第三数据请求报文,从服务器侧指向用户侧的1-2表示服务器基于第三数据请求报文反馈的第三数据。且用户侧在接收到服务器反馈的1-1和1-2之后,将通过合并的方式得到第一数据,即2。Wherein, the multi-link includes at least one link of the LTE network and one link of the WiFi network. In the embodiment of the present invention, one link of the LTE network and one link of the WiFi network are taken as an example. In Figure 4, the base station and the WiFi hotspot are connected to the server through the core network via a router. Wherein, 1 represents the first data of the first TCP flow of setting up, and " splitting " refers to splitting the size of the first data into the size of the second data and the size of the third data, from the user side (mobile terminal side) 1-1 pointing to the server side indicates that the second data request message is sent to the server through the WiFi network, and 1-1 pointing from the server side to the user side indicates the second data fed back by the server based on the second data request message, pointing to 1-2 on the server side indicates that the third data request message is sent to the server through the LTE network, and 1-2 from the server side to the user side indicates the third data fed back by the server based on the third data request message. And after receiving 1-1 and 1-2 fed back by the server, the user side will obtain the first data, ie, 2, in a combined manner.
请参阅图5,为本发明图3所示第一实施例中划分模块302的细化功能模块的示意图,该划分模块302包括:第一确定模块501及第二确定模块502。Please refer to FIG. 5 , which is a schematic diagram of the detailed functional modules of the division module 302 in the first embodiment shown in FIG. 3 of the present invention. The division module 302 includes: a first determination module 501 and a second determination module 502 .
第一确定模块501,用于根据LTE网络的第一传输速率、WiFi网络的第二传输速率及预置的时延确定第一数据的大小的分配比例;The first determination module 501 is configured to determine the distribution ratio of the size of the first data according to the first transmission rate of the LTE network, the second transmission rate of the WiFi network, and the preset time delay;
第二确定模块502,用于按照分配比例划分第一数据的大小,确定通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小。The second determination module 502 is configured to divide the size of the first data according to the distribution ratio, and determine the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network.
在本发明实施例中,移动终端将监测LTE网络的第一传输速率及WiFi网络的第二传输速率,且在接收到服务器反馈的第一数据的大小之后,获取当前的第一传输速率及第二传输速率,并由第一确定模块501根据第一传输速率、第二传输速率及预置的时延确定第一数据的大小的分配比例。In the embodiment of the present invention, the mobile terminal will monitor the first transmission rate of the LTE network and the second transmission rate of the WiFi network, and obtain the current first transmission rate and the second transmission rate after receiving the size of the first data fed back by the server. Two transmission rates, and the allocation ratio of the size of the first data is determined by the first determination module 501 according to the first transmission rate, the second transmission rate and the preset time delay.
具体的,第一确定模块502可以按照如下公式(1)或者公式(2)确定分配比例:Specifically, the first determination module 502 may determine the distribution ratio according to the following formula (1) or formula (2):
在上述公式(1)和公式(2)中:R表示通过WiFi网络传输的第三数据占第一数据的百分比,C表示第一数据的大小,VW表示WiFi网络的第二传输速率,VL表示LTE网络的第一传输速率,t表示预置的时延,其中,分配比例包括R及1-R,且1-R表示通过LTE网络传输的第二数据占第一数据的百分比。In the above formula (1) and formula (2): R represents the percentage of the third data transmitted through the WiFi network to the first data, C represents the size of the first data, VW represents the second transmission rate of the WiFi network, VL represents the first transmission rate of the LTE network, t represents the preset delay, wherein the allocation ratio includes R and 1-R, and 1-R represents the percentage of the second data transmitted through the LTE network to the first data.
在本发明实施例中,由于LTE网络的传输速度较快,因此,从公式(1)中可以看出:在大多数情况下,移动终端将先接收到通过LTE网络传输的第二数据,且在经过t秒的时延之后,接收到通过WiFi网络传输的第三数据,并将第二数据及第三数据合并成第一数据,其中,对于不同的应用层业务,t可以是不同的,例如对于语音等实时性较高的业务,t的取值较小,对于文件下载等一类的业务,t的取值较大。需要说明的是,移动终端可以基于当前的业务的类型获取该业务的类型对应的预置的时延t。In the embodiment of the present invention, since the transmission speed of the LTE network is relatively fast, it can be seen from the formula (1): in most cases, the mobile terminal will first receive the second data transmitted through the LTE network, and After a time delay of t seconds, the third data transmitted through the WiFi network is received, and the second data and the third data are combined into the first data, wherein, for different application layer services, t can be different, For example, for services with high real-time characteristics such as voice, the value of t is small, and for services such as file downloading, the value of t is relatively large. It should be noted that the mobile terminal may obtain the preset time delay t corresponding to the type of the service based on the type of the current service.
从公式(2)中可以看出:在WiFi网络的速度越快(即VW越大),预置的时延t越大时,划分给WiFi网络传输的第三数据占第一数据的比例越大。It can be seen from the formula (2): when the speed of the WiFi network is faster (i.e., VW is larger), and the preset time delay t is larger, the ratio of the third data assigned to the WiFi network transmission to the first data is bigger.
在本发明实施例中,第二确定模块502将按照得到的分配比例划分第一数据的大小,确定通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小。In the embodiment of the present invention, the second determining module 502 divides the size of the first data according to the obtained distribution ratio, and determines the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network.
在本发明实施例中,通过基于LTE网络的第一传输速率及WiFi网络的第二传输速率划分待传输的第一数据的大小,使得能够充分利用LTE网络和WiFi网络的特性,实现数据的优化分流。In the embodiment of the present invention, by dividing the size of the first data to be transmitted based on the first transmission rate of the LTE network and the second transmission rate of the WiFi network, the characteristics of the LTE network and the WiFi network can be fully utilized to realize data optimization shunt.
请参阅图6,为本发明图3所示第一实施例中流发送模块303的细化功能模块的示意图,该流发送模块303包括:第一发送模块601及第二发送模块602。Please refer to FIG. 6 , which is a schematic diagram of detailed functional modules of the stream sending module 303 in the first embodiment shown in FIG. 3 of the present invention. The stream sending module 303 includes: a first sending module 601 and a second sending module 602 .
第一发送模块601,用于若第一TCP流是基于LTE网络建立的,则生成包含第二数据的大小的第二数据请求报文,通过LTE网络向服务器发送第二TCP流,及基于WiFi网络建立第三TCP流,通过WiFi网络向服务器发送携带第三数据的大小的第三TCP流;The first sending module 601 is used to generate a second data request message containing the size of the second data if the first TCP flow is established based on the LTE network, and send the second TCP flow to the server through the LTE network, and based on WiFi The network establishes a third TCP flow, and sends the third TCP flow carrying the size of the third data to the server through the WiFi network;
第二发送模块602,用于若第一TCP流是基于WiFi网络建立的,则基于LTE网络建立第二TCP流,通过LTE网络向服务器发送携带第二数据的大小的第二TCP流,及将携带第三数据的大小的第一TCP流作为第三TCP流,通过WiFi网络向服务器发送第三TCP流。The second sending module 602 is configured to establish a second TCP flow based on the LTE network if the first TCP flow is established based on the WiFi network, and send the second TCP flow carrying the size of the second data to the server through the LTE network, and send The first TCP flow carrying the size of the third data is used as the third TCP flow, and the third TCP flow is sent to the server through the WiFi network.
在本发明实施例中,在划分得到第二数据的大小和第三数据的大小之后,还需要建立一个新的TCP流,使得能够分别通过LTE网络和WiFi网络传输数据,其中,第二数据请求报文中包含第二数据的大小及资源地址,且第二数据的大小是指第二数据在资源地址对应的数据中的范围,第三数据请求报文中包含第三数据的大小及资源地址,该第三数据的大小是指第二数据在资源地址对应的数据中的范围。例如:第二数据的大小为资源地址对应的数据的0~(1-R)C长度的数据,第三数据的大小为资源地址对应的数据(1-R)C~C长度的数据,因此,通过上述的方式,能够有效的实现数据报文请求的发送。In the embodiment of the present invention, after obtaining the size of the second data and the size of the third data, a new TCP flow needs to be established so that the data can be transmitted through the LTE network and the WiFi network respectively, wherein the second data request The message includes the size of the second data and the resource address, and the size of the second data refers to the range of the second data in the data corresponding to the resource address, and the third data request message includes the size of the third data and the resource address , the size of the third data refers to the range of the second data in the data corresponding to the resource address. For example: the size of the second data is the data of the length 0~(1-R)C of the data corresponding to the resource address, and the size of the third data is the data of the length of (1-R)C~C of the data corresponding to the resource address, so , through the above manner, the sending of the data message request can be effectively realized.
请参阅图7,为本发明第二实施例中移动终端的功能模块的示意图,该移动终端包括请求发送模块301、划分模块302及流发送模块303,且与图3所示第一实施例中描述的内容相似,此处不做赘述。Please refer to FIG. 7, which is a schematic diagram of the functional modules of the mobile terminal in the second embodiment of the present invention. The mobile terminal includes a request sending module 301, a division module 302, and a stream sending module 303, and is similar to that described in the first embodiment shown in FIG. are similar and will not be repeated here.
其中,划分模块302包括第一确定模块501及第二确定模块502,且与图5所示实施例中描述的内容相似。Wherein, the dividing module 302 includes a first determining module 501 and a second determining module 502, and the content is similar to that described in the embodiment shown in FIG. 5 .
其中,流发送模块303包括第一发送模块601及第二发送模块602,且与图6所示实施例中描述的内容相似,此处不做赘述。Wherein, the stream sending module 303 includes a first sending module 601 and a second sending module 602, and the content is similar to that described in the embodiment shown in FIG. 6 , and will not be repeated here.
在本发明实施例中,移动终端还包括:监测模块701及速率确定模块702。In the embodiment of the present invention, the mobile terminal further includes: a monitoring module 701 and a speed determination module 702 .
监测模块701,用于监测LTE网络在预置时间段内的第一数据流量及监测WiFi网络在预置时间段内的第二数据流量;A monitoring module 701, configured to monitor the first data flow of the LTE network within a preset time period and monitor the second data flow of the WiFi network within a preset time period;
速率确定模块702,用于利用第一数据流量及预置时间段确定第一传输速率,及利用第二数据流量及预置时间段确定第二传输速率。The rate determination module 702 is configured to determine a first transmission rate by using the first data flow rate and a preset time period, and determine a second transmission rate by using the second data flow rate and a preset time period.
在本发明实施例中,监测模块701可以实时监测LTE网络和WiFi网络,也可以在移动终端接收到服务器反馈的第一数据的大小后,对LTE网络和WiFi网络进行监测。In the embodiment of the present invention, the monitoring module 701 can monitor the LTE network and the WiFi network in real time, or monitor the LTE network and the WiFi network after the mobile terminal receives the size of the first data fed back by the server.
其中,监测模块701监测LTE网络在预置时间段内的第一数据流量及监测WiFi网络在预置时间段内的第二数据流量,其中,该预置时间段可以是单位时间。且将由速率确定模块702利用第一数据流量及预置时间段确定第一传输速率,及利用第二数据流量及预置时间段确定第二传输速率。Wherein, the monitoring module 701 monitors the first data flow of the LTE network within a preset time period and monitors the second data flow of the WiFi network within a preset time period, wherein the preset time period may be a unit time. And the rate determining module 702 will use the first data flow rate and the preset time period to determine the first transmission rate, and use the second data flow rate and the preset time period to determine the second transmission rate.
在本发明实施例中,考虑到LTE网络的传输能力较为稳定,WiFi网络的速率变化较大,为了获取WiFi网络较准确的第二传输速率,移动终端可以在没有数据传输时,定时通过WiFi网络下载少量数据,以探测WiFi网络的传输能力,且由于WiFi完全免费,并且功耗较低,探测带来的开销较小。In the embodiment of the present invention, considering that the transmission capability of the LTE network is relatively stable and the rate of the WiFi network varies greatly, in order to obtain a more accurate second transmission rate of the WiFi network, the mobile terminal can regularly pass through the WiFi network when there is no data transmission. Download a small amount of data to detect the transmission capacity of the WiFi network, and because WiFi is completely free and has low power consumption, the overhead caused by the detection is small.
在本发明实施例中,通过对LTE网络和WiFi网络的数据流量进行监测,使得能够监测到LTE网络和WiFi网络的传输速率,便于利用LTE网络和WiFi网络的传输速率确定第一数据的大小的分配,以实现分流优化。In the embodiment of the present invention, by monitoring the data traffic of the LTE network and the WiFi network, the transmission rate of the LTE network and the WiFi network can be monitored, and it is convenient to use the transmission rate of the LTE network and the WiFi network to determine the size of the first data. Allocation to achieve shunt optimization.
图8为本发明第三实施例中多链路智能分流方法的流程示意图,在该方法中移动终端同时接入长期演进LTE网络和WiFi网络,且该方法包括:FIG. 8 is a schematic flow diagram of a multi-link intelligent offloading method in a third embodiment of the present invention. In this method, a mobile terminal simultaneously accesses a Long Term Evolution LTE network and a WiFi network, and the method includes:
步骤801、在第一TCP流建立完成后,所述移动终端向服务器发送查询请求,所述查询请求用于获取所述第一TCP流待传输的第一数据的大小;Step 801, after the establishment of the first TCP flow is completed, the mobile terminal sends a query request to the server, and the query request is used to obtain the size of the first data to be transmitted by the first TCP flow;
在本发明实施例中,移动终端能够同时接入LTE网络和WiFi网络,具体的,可以是通过在移动终端中设置LTE网络网卡和WiFi网络网卡的方式,使得移动终端能够同时接入LTE网络和WiFi网络。In the embodiment of the present invention, the mobile terminal can access the LTE network and the WiFi network at the same time, specifically, by setting the LTE network card and the WiFi network card in the mobile terminal, so that the mobile terminal can simultaneously access the LTE network and the WiFi network. WiFi network.
需要说明的是,本发明实施例中的技术方案是在移动终端已经接入LTE网络和WiFi网络的情况下执行的。It should be noted that the technical solutions in the embodiments of the present invention are executed when the mobile terminal has already accessed the LTE network and the WiFi network.
其中,在移动终端的应用层传输数据前,需要建立TCP流,且在第一TCP流建立完成后,移动终端将向服务器发送查询请求,该查询请求用于获取该第一TCP流待传输的第一数据的大小,即该第一数据即为需要从服务器获取的数据。其中,建立TCP流是基于资源地址建立的,因此,该第一数据的大小即为该资源地址对应的数据的大小。且查询请求中至少包含该资源地址。Wherein, before the application layer of the mobile terminal transmits data, a TCP stream needs to be established, and after the first TCP stream is established, the mobile terminal will send a query request to the server, and the query request is used to obtain the first TCP stream to be transmitted. The size of the first data, that is, the first data is the data that needs to be obtained from the server. Wherein, establishing the TCP stream is established based on the resource address, therefore, the size of the first data is the size of the data corresponding to the resource address. And the query request includes at least the resource address.
其中,移动终端可以是在确定第一TCP流建立完成之后,直接向服务器发送查询请求,或者,可以通过监测的方式确定是否需要发送查询请求,例如:若需要通过第一TCP流获取http数据,移动终端的应用层将向服务器发送请求报文(如“get”报文),并在该请求报文中包含待获取的资源地址,该请求报文用于获取上述的http数据,移动终端在监测到该请求报文之后,将截获该请求报文,使得该请求报文不能真正的发送给服务器,且将从该请求报文中获取上述的资源地址,并向服务器发送包含该资源地址的查询请求,以确定该资源地址对应的数据的大小,该数据的大小即为本发明中的第一数据的大小。Wherein, the mobile terminal may directly send a query request to the server after determining that the first TCP flow is established, or may determine whether to send a query request through monitoring, for example: if it is necessary to obtain http data through the first TCP flow, The application layer of the mobile terminal will send a request message (such as a "get" message) to the server, and include the resource address to be obtained in the request message, and the request message is used to obtain the above http data. After monitoring the request message, it will intercept the request message so that the request message cannot be actually sent to the server, and will obtain the above-mentioned resource address from the request message, and send the resource address containing the resource address to the server The query request is to determine the size of the data corresponding to the resource address, and the size of the data is the size of the first data in the present invention.
在本发明实施例中,若第一TCP流是基于LTE网络建立的,则可以通过LTE网络发送上述的查询请求,若第一TCP流是基于WiFi网络建立的,则可以通过WiFi网络发送上述的查询请求。In the embodiment of the present invention, if the first TCP flow is established based on the LTE network, the above-mentioned query request can be sent through the LTE network; if the first TCP flow is established based on the WiFi network, the above-mentioned query request can be sent through the WiFi network. query request.
步骤802、在接收到所述服务器反馈的所述第一数据的大小后,根据监测到的所述LTE网络的第一传输速率和所述WiFi网络的第二传输速率对所述第一数据的大小进行划分,分别得到通过所述LTE网络传输的第二数据的大小及通过所述WiFi网络传输的第三数据的大小;Step 802. After receiving the size of the first data fed back by the server, the first data is adjusted according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network. The size is divided to obtain the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network respectively;
在本发明实施例中,服务器在接收到查询请求之后,将获取该查询请求中包含的资源地址,并确定该资源地址对应的第一数据的大小,并将该第一数据的大小反馈给移动终端。In the embodiment of the present invention, after receiving the query request, the server will obtain the resource address included in the query request, determine the size of the first data corresponding to the resource address, and feed back the size of the first data to the mobile terminal.
其中,移动终端在接收到第一数据的大小之后,将根据监测到的LTE网络的第一传输速率和WiFi网络的第二传输速率对第一数据的大小进行划分,分别得到通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小。Wherein, after receiving the size of the first data, the mobile terminal will divide the size of the first data according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network, and respectively obtain the data transmitted through the LTE network. The size of the second data and the size of the third data transmitted through the WiFi network.
其中,移动终端可以实时监测LTE网络的第一传输速率和WiFi网络的第二传输速率,也可以在需要使用的时候进行监测。Wherein, the mobile terminal can monitor the first transmission rate of the LTE network and the second transmission rate of the WiFi network in real time, and can also monitor when needed.
步骤803、通过所述LTE网络向所述服务器发送包含所述第二数据的大小的第二数据请求报文,及通过所述WiFi网络向所述服务器发送包含所述第三数据的大小的第三数据请求报文,以通过分流的方式获取所述第一数据。Step 803: Send a second data request message containing the size of the second data to the server through the LTE network, and send a second data request message containing the size of the third data to the server through the WiFi network Three data request packets, to obtain the first data in a splitting manner.
在本发明实施例中,在得到需要通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小之后,移动终端将通过LTE网络向服务器发送包含第二数据的大小的第二数据请求报文,及通过WiFi网络向服务器发送包含第三数据的大小的第三数据请求报文,以通过分流的方式获取第一数据。例如:若资源地址对应的第一数据的大小为100M,且确定的第二数据的大小为30M,第三数据的大小为70M,则将通过LTE网络从服务器获取资源地址的前30M的数据,及通过WiFi网络从服务器获取该资源地址后70M的数据。In the embodiment of the present invention, after obtaining the size of the second data to be transmitted through the LTE network and the size of the third data to be transmitted through the WiFi network, the mobile terminal will send the second data containing the size of the second data to the server through the LTE network. 2. A data request message, and sending a third data request message including the size of the third data to the server through the WiFi network, so as to obtain the first data in a split manner. For example: if the size of the first data corresponding to the resource address is 100M, and the size of the determined second data is 30M, and the size of the third data is 70M, then the first 30M data of the resource address will be obtained from the server through the LTE network, And the 70M data after obtaining the resource address from the server through the WiFi network.
在本发明实施例中,移动终端同时接入LTE网络和WiFi网络之后,在第一TCP流建立完成后,向服务器发送查询请求,以获取该第一TCP流待传输的第一数据的大小,且在接收到服务器反馈的该第一数据的大小之后,根据监测到的LTE网络的第一传输速率及WiFi网络的第二传输速率对该第一数据的大小进行划分,分别确定通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小,并通过LTE网络向服务器发送包含第二数据的大小的第二数据请求报文,及通过WiFi网络向服务器发送包含第三数据的大小的第三数据请求报文,以通过分流的方式获取第一数据。其中,通过将待获取的第一数据的大小基于第一传输速率和第二传输速率在LTE网络和WiFi网络之间进行分流,使得能够充分利用LTE网络和WiFi网络的特性,实现优化的分流方式。In the embodiment of the present invention, after the mobile terminal accesses the LTE network and the WiFi network at the same time, after the first TCP flow is established, it sends a query request to the server to obtain the size of the first data to be transmitted by the first TCP flow, And after receiving the size of the first data fed back by the server, the size of the first data is divided according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network, and respectively determined to be transmitted through the LTE network. The size of the second data and the size of the third data transmitted through the WiFi network, and send a second data request message containing the size of the second data to the server through the LTE network, and send a request message containing the third data to the server through the WiFi network The size of the third data request message is used to obtain the first data in a distributed manner. Wherein, by splitting the size of the first data to be acquired between the LTE network and the WiFi network based on the first transmission rate and the second transmission rate, it is possible to make full use of the characteristics of the LTE network and the WiFi network, and realize an optimized splitting method .
需要说明的是,LTE网络和WiFi网络的特性分别是:LTE网络的速度较快,但是价格相对昂贵,WiFi网络完全免费,但是速度较慢。本发明实施例中基于TCP流的业务量(即第一数据的大小)将TCP流进行拆分,使得对于同一个TCP流,能够同时使用到LTE网络和WiFi网络,兼顾了速度及价格的考虑,实现了数据的优化分流。It should be noted that the characteristics of the LTE network and the WiFi network are respectively: the speed of the LTE network is faster, but the price is relatively expensive, and the WiFi network is completely free, but the speed is relatively slow. In the embodiment of the present invention, the TCP flow is split based on the traffic volume of the TCP flow (that is, the size of the first data), so that the same TCP flow can be used simultaneously on the LTE network and the WiFi network, taking into account the considerations of speed and price , which realizes the optimized distribution of data.
需要说明的是,移动终端通过LTE网络向服务器发送第二数据请求报文,及通过WiFi网络向服务器发送第三数据请求报文之后,服务器将基于该第二数据请求报文中包含的第二数据的大小获取第二数据,并通过LTE网络将该第二数据反馈给移动终端;及基于该第三数据请求报文中包含的第三数据的大小获取第三数据,且通过WiFi网络将该第三数据反馈给移动终端,移动终端在接收到第二数据及第三数据之后,将按照预置的顺序将第二数据及第三数据进行合并,以得到第一数据。It should be noted that, after the mobile terminal sends the second data request message to the server through the LTE network, and sends the third data request message to the server through the WiFi network, the server will based on the second data request message contained in the second data request message Obtaining the second data according to the size of the data, and feeding back the second data to the mobile terminal through the LTE network; and obtaining the third data based on the size of the third data contained in the third data request message, and passing the second data through the WiFi network The third data is fed back to the mobile terminal, and after receiving the second data and the third data, the mobile terminal combines the second data and the third data in a preset order to obtain the first data.
为了更好的理解本发明图8所示第三实施例中的技术方案,请参阅图4,为本发明实施例中多链路智能分流原理的示意图。In order to better understand the technical solution in the third embodiment shown in FIG. 8 of the present invention, please refer to FIG. 4 , which is a schematic diagram of the principle of multi-link intelligent traffic distribution in the embodiment of the present invention.
其中,多链路至少包含一条LTE网络的链路和一条WiFi网络的链路,本发明实施例中是以一条LTE网络的链路和一条WiFi网络的链路为例的。在图4中,基站和WiFi热点通过核心网络经由路由器,连接到服务器。其中,1表示建立的第一TCP流的第一数据,“拆分”是指将第一数据的大小拆分为第二数据的大小和第三数据的大小,从用户侧(移动终端侧)指向服务器侧的1-1表示通过WiFi网络向服务器发送第二数据请求报文,从服务器侧指向用户侧的1-1表示服务器基于第二数据请求报文反馈的第二数据,从用户侧指向服务器侧的1-2表示通过LTE网络向服务器发送第三数据请求报文,从服务器侧指向用户侧的1-2表示服务器基于第三数据请求报文反馈的第三数据。且用户侧在接收到服务器反馈的1-1和1-2之后,将通过合并的方式得到第一数据,即2。Wherein, the multi-link includes at least one link of the LTE network and one link of the WiFi network. In the embodiment of the present invention, one link of the LTE network and one link of the WiFi network are taken as an example. In Figure 4, the base station and the WiFi hotspot are connected to the server through the core network via a router. Wherein, 1 represents the first data of the first TCP flow of setting up, and " splitting " refers to splitting the size of the first data into the size of the second data and the size of the third data, from the user side (mobile terminal side) 1-1 pointing to the server side indicates that the second data request message is sent to the server through the WiFi network, and 1-1 pointing from the server side to the user side indicates the second data fed back by the server based on the second data request message, pointing to 1-2 on the server side indicates that the third data request message is sent to the server through the LTE network, and 1-2 from the server side to the user side indicates the third data fed back by the server based on the third data request message. And after receiving 1-1 and 1-2 fed back by the server, the user side will obtain the first data, ie, 2, in a combined manner.
请参阅图9,为本发明图8所示第三实施例中步骤802的细化步骤的流程示意图,该细化步骤包括:Please refer to FIG. 9, which is a schematic flow chart of the refinement steps of step 802 in the third embodiment shown in FIG. 8 of the present invention, and the refinement steps include:
步骤901、根据所述LTE网络的第一传输速率、所述WiFi网络的第二传输速率及预置的时延确定第一数据的大小的分配比例;Step 901. Determine the distribution ratio of the size of the first data according to the first transmission rate of the LTE network, the second transmission rate of the WiFi network and the preset time delay;
步骤902、按照所述分配比例划分所述第一数据的大小,确定通过所述LTE网络传输的第二数据的大小及通过所述WiFi网络传输的第三数据的大小。Step 902: Divide the size of the first data according to the distribution ratio, and determine the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network.
在本发明实施例中,移动终端将监测LTE网络的第一传输速率及WiFi网络的第二传输速率,且在接收到服务器反馈的第一数据的大小之后,获取当前的第一传输速率及第二传输速率,并根据第一传输速率、第二传输速率及预置的时延确定第一数据的大小的分配比例。In the embodiment of the present invention, the mobile terminal will monitor the first transmission rate of the LTE network and the second transmission rate of the WiFi network, and obtain the current first transmission rate and the second transmission rate after receiving the size of the first data fed back by the server. Two transmission rates, and determine the distribution ratio of the size of the first data according to the first transmission rate, the second transmission rate and the preset time delay.
具体的,移动终端可以按照如下公式(1)或者公式(2)确定分配比例:Specifically, the mobile terminal may determine the allocation ratio according to the following formula (1) or formula (2):
在上述公式(1)和公式(2)中:R表示通过WiFi网络传输的第三数据占第一数据的百分比,C表示第一数据的大小,VW表示WiFi网络的第二传输速率,VL表示LTE网络的第一传输速率,t表示预置的时延,其中,分配比例包括R及1-R,且1-R表示通过LTE网络传输的第二数据占第一数据的百分比。In the above formula (1) and formula (2): R represents the percentage of the third data transmitted through the WiFi network to the first data, C represents the size of the first data, VW represents the second transmission rate of the WiFi network, VL represents the first transmission rate of the LTE network, t represents the preset delay, wherein the allocation ratio includes R and 1-R, and 1-R represents the percentage of the second data transmitted through the LTE network to the first data.
在本发明实施例中,由于LTE网络的传输速度较快,因此,从公式(1)中可以看出:在大多数情况下,移动终端将先接收到通过LTE网络传输的第二数据,且在经过t秒的时延之后,接收到通过WiFi网络传输的第三数据,并将第二数据及第三数据合并成第一数据,其中,对于不同的应用层业务,t可以是不同的,例如对于语音等实时性较高的业务,t的取值较小,对于文件下载等一类的业务,t的取值较大。需要说明的是,移动终端可以基于当前的业务的类型获取该业务的类型对应的预置的时延t。In the embodiment of the present invention, since the transmission speed of the LTE network is relatively fast, it can be seen from the formula (1): in most cases, the mobile terminal will first receive the second data transmitted through the LTE network, and After a time delay of t seconds, the third data transmitted through the WiFi network is received, and the second data and the third data are combined into the first data, wherein, for different application layer services, t can be different, For example, for services with high real-time characteristics such as voice, the value of t is small, and for services such as file downloading, the value of t is relatively large. It should be noted that the mobile terminal may obtain the preset time delay t corresponding to the type of the service based on the type of the current service.
从公式(2)中可以看出:在WiFi网络的速度越快(即VW越大),预置的时延t越大时,划分给WiFi网络传输的第三数据占第一数据的比例越大。It can be seen from the formula (2): when the speed of the WiFi network is faster (i.e., VW is larger), and the preset time delay t is larger, the ratio of the third data assigned to the WiFi network transmission to the first data is bigger.
在本发明实施例中,移动终端将按照得到的分配比例划分第一数据的大小,确定通过LTE网络传输的第二数据的大小及通过WiFi网络传输的第三数据的大小。In the embodiment of the present invention, the mobile terminal will divide the size of the first data according to the obtained distribution ratio, and determine the size of the second data transmitted through the LTE network and the size of the third data transmitted through the WiFi network.
在本发明实施例中,通过基于LTE网络的第一传输速率及WiFi网络的第二传输速率划分待传输的第一数据的大小,使得能够充分利用LTE网络和WiFi网络的特性,实现数据的优化分流。In the embodiment of the present invention, by dividing the size of the first data to be transmitted based on the first transmission rate of the LTE network and the second transmission rate of the WiFi network, the characteristics of the LTE network and the WiFi network can be fully utilized to realize data optimization shunt.
可选地,在本发明实施例中,图8所示第三实施例中的步骤803所述通过所述LTE网络向所述服务器发送包含所述第二数据的大小的第二数据请求报文,及通过所述WiFi网络向所述服务器发送包含所述第三数据的大小的第三数据请求报文具体包括以下步骤:Optionally, in this embodiment of the present invention, in step 803 in the third embodiment shown in FIG. 8 , sending a second data request message containing the size of the second data to the server through the LTE network , and sending a third data request message containing the size of the third data to the server through the WiFi network specifically includes the following steps:
若所述第一TCP流是基于LTE网络建立的,则基于所述第一TCP流生成包含所述第二数据的大小的第二数据请求报文,通过所述LTE网络向所述服务器发送所述第二数据请求报文,及基于所述WiFi网络建立第二TCP流,基于所述第二TCP流生成包含所述第三数据的大小的第三数据请求报文,通过所述WiFi网络向所述服务器发送所述第三数据请求报文;If the first TCP flow is established based on the LTE network, generate a second data request message containing the size of the second data based on the first TCP flow, and send the second data request message to the server through the LTE network The second data request message, and establish a second TCP flow based on the WiFi network, generate a third data request message containing the size of the third data based on the second TCP flow, and send a message to the WiFi network through the WiFi network The server sends the third data request message;
若所述第一TCP流是基于WiFi网络建立的,则基于所述LTE网络建立第三TCP流,基于所述第三TCP流生成包含所述第二数据的大小的所述第二数据请求报文,通过所述LTE网络向所述服务器发送所述第二数据请求报文,及基于所述第一TCP流生成包含所述第三数据的大小的第三数据请求报文,通过所述WiFi网络向所述服务器发送所述第三数据请求报文。If the first TCP flow is established based on the WiFi network, a third TCP flow is established based on the LTE network, and the second data request report containing the size of the second data is generated based on the third TCP flow. send the second data request message to the server through the LTE network, and generate a third data request message containing the size of the third data based on the first TCP flow, and send the second data request message through the WiFi The network sends the third data request packet to the server.
在本发明实施例中,在划分得到第二数据的大小和第三数据的大小之后,还需要建立一个新的TCP流,使得能够分别通过LTE网络和WiFi网络传输数据,其中,第二数据请求报文中包含第二数据的大小及资源地址,且第二数据的大小是指第二数据在资源地址对应的数据中的范围,第三数据请求报文中包含第三数据的大小及资源地址,该第三数据的大小是指第二数据在资源地址对应的数据中的范围。例如:第二数据的大小为资源地址对应的数据的0~(1-R)C长度的数据,第三数据的大小为资源地址对应的数据(1-R)C~C长度的数据,因此,通过上述的方式,能够有效的实现数据报文请求的发送。In the embodiment of the present invention, after obtaining the size of the second data and the size of the third data, a new TCP flow needs to be established so that the data can be transmitted through the LTE network and the WiFi network respectively, wherein the second data request The message includes the size of the second data and the resource address, and the size of the second data refers to the range of the second data in the data corresponding to the resource address, and the third data request message includes the size of the third data and the resource address , the size of the third data refers to the range of the second data in the data corresponding to the resource address. For example: the size of the second data is the data of the length 0~(1-R)C of the data corresponding to the resource address, and the size of the third data is the data of the length of (1-R)C~C of the data corresponding to the resource address, so , through the above manner, the sending of the data message request can be effectively realized.
请参阅图10,为本发明第四实施例中多链路智能分流方法的流程示意图,该方法包括:Please refer to FIG. 10, which is a schematic flowchart of a multi-link intelligent offloading method in the fourth embodiment of the present invention. The method includes:
步骤1001、在第一TCP流建立完成后,所述移动终端向服务器发送查询请求,所述查询请求用于获取所述第一TCP流待传输的第一数据的大小;Step 1001, after the establishment of the first TCP flow is completed, the mobile terminal sends a query request to the server, and the query request is used to obtain the size of the first data to be transmitted by the first TCP flow;
步骤1002、在接收到所述服务器反馈的所述第一数据的大小后,监测所述LTE网络在预置时间段内的第一数据流量及监测所述WiFi网络在所述预置时间段内的第二数据流量;Step 1002, after receiving the size of the first data fed back by the server, monitor the first data flow of the LTE network within the preset time period and monitor the WiFi network within the preset time period the second data flow;
步骤1003、利用所述第一数据流量及所述预置时间段确定所述第一传输速率,及利用所述第二数据流量及所述预置时间段确定所述第二传输速率;Step 1003, using the first data flow and the preset time period to determine the first transmission rate, and using the second data flow and the preset time period to determine the second transmission rate;
步骤1004、根据监测到的所述LTE网络的第一传输速率和所述WiFi网络的第二传输速率对所述第一数据的大小进行划分,分别得到通过所述LTE网络传输的第二数据的大小及通过所述WiFi网络传输的第三数据的大小;Step 1004, divide the size of the first data according to the monitored first transmission rate of the LTE network and the second transmission rate of the WiFi network, and obtain the size of the second data transmitted through the LTE network respectively size and size of the third data transmitted over said WiFi network;
步骤1005、通过所述LTE网络向所述服务器发送包含所述第二数据的大小的第二数据请求报文,及通过所述WiFi网络向所述服务器发送包含所述第三数据的大小的第三数据请求报文,以通过分流的方式获取所述第一数据。Step 1005: Send a second data request message containing the size of the second data to the server through the LTE network, and send a second data request message containing the size of the third data to the server through the WiFi network Three data request packets, to obtain the first data in a splitting manner.
在本发明实施例中,步骤1001、步骤1004及步骤1005分别与图8所示第三实施例中的步骤801、步骤802及步骤803描述的内容相似,此次不做赘述。In the embodiment of the present invention, step 1001, step 1004 and step 1005 are similar to the content described in step 801, step 802 and step 803 in the third embodiment shown in FIG. 8 respectively, and will not be repeated this time.
在本发明实施例中,移动终端可以实时监测LTE网络和WiFi网络,也可以在移动终端接收到服务器反馈的第一数据的大小后,对LTE网络和WiFi网络进行监测。In the embodiment of the present invention, the mobile terminal can monitor the LTE network and the WiFi network in real time, or monitor the LTE network and the WiFi network after the mobile terminal receives the size of the first data fed back by the server.
其中,移动终端监测LTE网络在预置时间段内的第一数据流量及监测WiFi网络在预置时间段内的第二数据流量,其中,该预置时间段可以是单位时间。且利用第一数据流量及预置时间段确定第一传输速率,及利用第二数据流量及预置时间段确定第二传输速率。Wherein, the mobile terminal monitors the first data flow of the LTE network within a preset time period and monitors the second data flow of the WiFi network within a preset time period, wherein the preset time period may be a unit time. And the first transmission rate is determined by using the first data flow rate and the preset time period, and the second transmission rate is determined by using the second data flow rate and the preset time period.
在本发明实施例中,考虑到LTE网络的传输能力较为稳定,WiFi网络的速率变化较大,为了获取WiFi网络较准确的第二传输速率,移动终端可以在没有数据传输时,定时通过WiFi网络下载少量数据,以探测WiFi网络的传输能力,且由于WiFi完全免费,并且功耗较低,探测带来的开销较小。In the embodiment of the present invention, considering that the transmission capability of the LTE network is relatively stable and the rate of the WiFi network varies greatly, in order to obtain a more accurate second transmission rate of the WiFi network, the mobile terminal can regularly pass through the WiFi network when there is no data transmission. Download a small amount of data to detect the transmission capacity of the WiFi network, and because WiFi is completely free and has low power consumption, the overhead caused by the detection is small.
在本发明实施例中,通过对LTE网络和WiFi网络的数据流量进行监测,使得能够监测到LTE网络和WiFi网络的传输速率,便于利用LTE网络和WiFi网络的传输速率确定第一数据的大小的分配,以实现分流优化。In the embodiment of the present invention, by monitoring the data traffic of the LTE network and the WiFi network, the transmission rate of the LTE network and the WiFi network can be monitored, and it is convenient to use the transmission rate of the LTE network and the WiFi network to determine the size of the first data. Allocation to achieve shunt optimization.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610104134.7ACN105682150A (en) | 2016-02-25 | 2016-02-25 | Multilink intelligent shunting method and mobile terminal |
| PCT/CN2016/112407WO2017143853A1 (en) | 2016-02-25 | 2016-12-27 | Intelligent offloading method for multiple links and mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610104134.7ACN105682150A (en) | 2016-02-25 | 2016-02-25 | Multilink intelligent shunting method and mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN105682150Atrue CN105682150A (en) | 2016-06-15 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610104134.7APendingCN105682150A (en) | 2016-02-25 | 2016-02-25 | Multilink intelligent shunting method and mobile terminal |
| Country | Link |
|---|---|
| CN (1) | CN105682150A (en) |
| WO (1) | WO2017143853A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106358211A (en)* | 2016-11-07 | 2017-01-25 | 北京邮电大学 | Communication architecture and communication method of heterogeneous network |
| WO2017143853A1 (en)* | 2016-02-25 | 2017-08-31 | 努比亚技术有限公司 | Intelligent offloading method for multiple links and mobile terminal |
| CN108259944A (en)* | 2018-02-11 | 2018-07-06 | 福州大学 | A kind of multi-channel video parallel transmission shunt method and its system based on link cost |
| CN109743456A (en)* | 2018-12-29 | 2019-05-10 | Oppo广东移动通信有限公司 | data transmission method and related device |
| CN110381080A (en)* | 2019-07-31 | 2019-10-25 | 视联动力信息技术股份有限公司 | A kind of multi-medium data packet transmission method and device |
| CN111278051A (en)* | 2020-01-08 | 2020-06-12 | Oppo广东移动通信有限公司 | File transmission method, device, storage medium and electronic device |
| US11445268B2 (en) | 2018-03-21 | 2022-09-13 | Huawei Technologies Co., Ltd. | Method for retransmitting packet on wireless fidelity link and apparatus |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109120524B (en)* | 2018-08-23 | 2020-12-08 | Oppo广东移动通信有限公司 | Link aggregation method and related equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102355694A (en)* | 2011-09-29 | 2012-02-15 | 华为技术有限公司 | Data distribution method and device in wireless heterogeneous network and wireless network controller |
| US8432871B1 (en)* | 2010-03-26 | 2013-04-30 | Juniper Networks, Inc. | Offloading mobile traffic from a mobile core network |
| CN103380581A (en)* | 2011-06-03 | 2013-10-30 | Sk电信有限公司 | Transceiving device and method for operating transceiving device |
| CN104980970A (en)* | 2014-04-04 | 2015-10-14 | 中兴通讯股份有限公司 | Method of realizing intersystem shunt and device of realizing intersystem shunt |
| CN105228210A (en)* | 2015-08-25 | 2016-01-06 | 努比亚技术有限公司 | Multichannel method for routing and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| AU2005215043A1 (en)* | 2004-02-19 | 2005-09-01 | Georgia Tech Research Corporation | Systems and methods for parallel communication |
| WO2012155782A1 (en)* | 2011-09-23 | 2012-11-22 | 中兴通讯股份有限公司 | Data transmission method and system |
| CN102595509B (en)* | 2012-04-09 | 2014-06-18 | 西安电子科技大学 | Cocurrent data distribution method based on transmission control protocol (TCP) in heterogeneous networks |
| CN103634299B (en)* | 2013-11-14 | 2016-09-14 | 北京邮电大学 | Based on multi-link real time streaming terminal and method |
| CN104869666B (en)* | 2015-04-10 | 2019-05-21 | 电信科学技术研究院 | Data Radio Bearer configuration method, data transmission method and equipment |
| CN104796949A (en)* | 2015-04-21 | 2015-07-22 | 北京邮电大学 | Parallel transmission method and system of heterogeneous network services |
| CN105682150A (en)* | 2016-02-25 | 2016-06-15 | 努比亚技术有限公司 | Multilink intelligent shunting method and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8432871B1 (en)* | 2010-03-26 | 2013-04-30 | Juniper Networks, Inc. | Offloading mobile traffic from a mobile core network |
| CN103380581A (en)* | 2011-06-03 | 2013-10-30 | Sk电信有限公司 | Transceiving device and method for operating transceiving device |
| CN102355694A (en)* | 2011-09-29 | 2012-02-15 | 华为技术有限公司 | Data distribution method and device in wireless heterogeneous network and wireless network controller |
| CN104980970A (en)* | 2014-04-04 | 2015-10-14 | 中兴通讯股份有限公司 | Method of realizing intersystem shunt and device of realizing intersystem shunt |
| CN105228210A (en)* | 2015-08-25 | 2016-01-06 | 努比亚技术有限公司 | Multichannel method for routing and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017143853A1 (en)* | 2016-02-25 | 2017-08-31 | 努比亚技术有限公司 | Intelligent offloading method for multiple links and mobile terminal |
| CN106358211A (en)* | 2016-11-07 | 2017-01-25 | 北京邮电大学 | Communication architecture and communication method of heterogeneous network |
| WO2018082141A1 (en)* | 2016-11-07 | 2018-05-11 | 北京邮电大学 | Communication architecture of and communication method for heterogeneous network |
| CN108259944A (en)* | 2018-02-11 | 2018-07-06 | 福州大学 | A kind of multi-channel video parallel transmission shunt method and its system based on link cost |
| CN108259944B (en)* | 2018-02-11 | 2020-12-01 | 福州大学 | A method and system for video multi-channel parallel transmission and distribution based on link cost |
| US11445268B2 (en) | 2018-03-21 | 2022-09-13 | Huawei Technologies Co., Ltd. | Method for retransmitting packet on wireless fidelity link and apparatus |
| CN109743456A (en)* | 2018-12-29 | 2019-05-10 | Oppo广东移动通信有限公司 | data transmission method and related device |
| CN110381080A (en)* | 2019-07-31 | 2019-10-25 | 视联动力信息技术股份有限公司 | A kind of multi-medium data packet transmission method and device |
| CN110381080B (en)* | 2019-07-31 | 2022-01-04 | 视联动力信息技术股份有限公司 | Multimedia data packet sending method and device |
| CN111278051A (en)* | 2020-01-08 | 2020-06-12 | Oppo广东移动通信有限公司 | File transmission method, device, storage medium and electronic device |
| CN111278051B (en)* | 2020-01-08 | 2024-01-12 | Oppo广东移动通信有限公司 | File transmission methods, devices, storage media and electronic equipment |
| Publication number | Publication date |
|---|---|
| WO2017143853A1 (en) | 2017-08-31 |
| Publication | Publication Date | Title |
|---|---|---|
| CN105682150A (en) | Multilink intelligent shunting method and mobile terminal | |
| CN106302589B (en) | File transmission method and terminal | |
| CN105763732B (en) | A mobile terminal and method for controlling volume | |
| CN106937320B (en) | Automatic operator parameter configuration method and terminal | |
| CN110928708B (en) | Icon display method, apparatus, electronic device, and computer-readable storage medium | |
| WO2017071310A1 (en) | Video call system, device, and method | |
| CN105208011A (en) | Verification system and method | |
| CN105187534A (en) | Information backup equipment and method, and information backup system | |
| CN105933452A (en) | A method and device for pushing and displaying information | |
| CN104951229B (en) | Screen capture method and device | |
| CN106488420A (en) | Call processing method, apparatus and system | |
| CN105138255A (en) | Terminal and image information acquisition method | |
| CN106412316A (en) | Media resource playing control device and method | |
| CN106792878B (en) | Method and device for monitoring data flow | |
| CN106547565B (en) | Browser exception reporting method and system | |
| CN105302441B (en) | A kind of screen size adjusting method and terminal device | |
| CN107241497B (en) | Mobile terminal and loudness output adjusting method | |
| CN105959301B (en) | A kind of optimization method of multimedia call and optimization system thereof | |
| CN105357188B (en) | A kind of method that realizing WIFI connections, server and mobile terminal | |
| CN106375842A (en) | Image sharing device and method | |
| WO2017008698A1 (en) | Multi-channel routing method and device | |
| CN106569670A (en) | Application processing apparatus and method | |
| CN107992505B (en) | Webpage information processing method and terminal | |
| CN106453854B (en) | Application sharing device and method | |
| CN106658630B (en) | Communication terminal, base station, system and method |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20160615 |