Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal of realizing each embodiment of the present invention is described referring now to accompanying drawing. In follow-up description, use the suffix such as " module ", " parts " or " unit " that is used for representing element only in order to be conducive to explanation of the present invention, itself do not have specific meaning. Therefore, " module " can mixedly be used with " parts ".
Mobile terminal can be implemented with various forms. For example, the terminal of describing in the present invention can comprise such as the mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and such as the fixed terminal of digital TV, desktop computer etc. Suppose that terminal is mobile terminal below. But, it will be appreciated by those skilled in the art that the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
The network topology structure schematic diagram of the multi-channel data download system that is the embodiment of the present invention referring to Fig. 1, it comprises: terminal 100, at least Liang Ge communication site being connected by communication network with terminal 100, with the server 400 of communication site's communication connection.
Should be understood that communication site can be: LTE website, GSM website, GPRS website, CDMA website, EDGE website, WLAN website, CDMA-2000 website, TD-SCDMA website, WCDMA website or WIFI website. Corresponding, communication network can be: LTE communication network, gsm communication network, GPRS communication network, cdma communication network, EDGE communication network, WLAN communication network, CDMA-2000 communication network, TD-SCDMA communication network, WCDMA communication network or WIFI communication network.
Server 400 can comprise suitable hardware, logical device, circuit and/or coding, for the data of storing and providing terminal to download, comprises app application, game etc. In addition, in an embodiment of the present invention, server 400 comprises decision-making module 401, for carrying out the fractionation of packet according to network quality measurement report and carrying out the distribution of data downloading flow.
Communication site can comprise suitable hardware, logical device, circuit and/or coding, for data transmission channel is provided. This data transmission channel is the physical data interface channel between terminal 100 and server 400.
Referring to Fig. 2, the terminal 100 of the embodiment of the present invention can comprise communication unit 110, audio/video (A/V) input block 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc. Fig. 2 shows the terminal with various assemblies, it should be understood that, and does not require all assemblies that illustrate of enforcement. Can alternatively implement more or less assembly.
Communication unit 110 generally includes one or more assemblies, and it allows communicating by letter between terminal 100 and communication system or communication network. For example, communication unit 110 can comprise broadcast reception module 111, mobile communication module 112, wireless Internet module 113, junction service module 114 and positional information module 115. In an embodiment of the present invention, communication unit 110 at least comprises at least one mobile communication module 112 and at least one wireless Internet module 113.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information. Broadcast channel can comprise satellite channel and/or terrestrial channel.
Mobile communication module 112 sends to radio signal for example, in base station (, access point, Node B etc.), exterior terminal and server at least one and/or receives radio signals from it. Such radio signal can comprise voice call signal, video calling signal or the various types of data according to text and/or Multimedia Message transmission and/or reception.
Wireless Internet module 113 is supported the Wi-Fi (Wireless Internet Access) of mobile terminal. This module can be inner or be externally couple to terminal. The related Wi-Fi (Wireless Internet Access) technology of this module can comprise WLAN (WLAN, WirelessLocalAreaNetworks) (Wi-Fi), WiMAX (Wibro), worldwide interoperability for microwave access (Wimax), high-speed downlink packet access (HSDPA, HighSpeedDownlinkPacketAccess) etc.
Junction service module 114 is the modules for supporting junction service. Some examples of short-range communication technology comprise bluetooth, RF identification (RFID, RadioFrequencyIdentification), (IrDA of Infrared Data Association, InfraredDataAssociation), ultra broadband (UWB, UltraWideband), purple honeybee etc.
Positional information module 115 is the modules for checking or obtain the positional information of mobile terminal. The typical case of positional information module is global positioning system (GPS, GlobalPositioningSystem).
In an embodiment of the present invention, communication unit 110 at least comprises at least one mobile communication module 112 and at least one wireless Internet module 113. Thus, the terminal 100 of the embodiment of the present invention can be at least two different communication networks.
In an embodiment of the present invention, in the time that terminal 100 has data downloading task, terminal 100 is carried out channel quality measurement to current residing multiple communication networks. In an embodiment of the present invention, concrete, in the time that terminal has data downloading task, detect available communication network; If only have an available communication network, complete separately data downloading task by this communication network. If there are two or more available communication network, the current residing multiple communication networks of terminal are carried out respectively to channel quality measurement.
Channel quality measurement at least comprises one of them: measure the signal strength signal intensity of communication network, the signal to noise ratio of measuring communication network, the link of measuring communication network estimate time delay, measure communication network the network bandwidth, obtain the bandwidth tenability of terminal.
Preferably, terminal can, by sending the mode of preamble packet, be estimated to measure to link delay. That is: terminal sends the self-defined test packet of a ping bag or similar ping bag by communication network, and record returns to the time of ACK, obtains thus link and estimates time delay. Here ping bag and self-defined test packet do not comprise user data, only for link quality measurements. In addition, signal strength signal intensity, signal to noise ratio and the network bandwidth can obtain from broadcast (broadcast that base station site etc. issue).
The bandwidth tenability of terminal 100 determines (for example, the carrier aggregation mode that terminal 100 is taked etc.) by itself software, hardware environment, and its information can be stored in terminal 100.
In an embodiment of the present invention, terminal 100 generates channel quality measurements according to shifting to an earlier date the protocol rule of appointing with server 400, and channel quality measurements integrated with to data download request generate the first packet, and by this first Packet Generation to server 400.
In data download request, include identification information, need the index (for example, needing the index ID of the application APP1 downloading) of downloading data resource for marking terminal 100. Index can be the index major key in database table.
Preferably, the first packet can adopt the message structure of TCP/IP or UDP. While sending the first packet, can be according to channel quality measurements, the top-quality communication network of the selective channel data access of reaching the standard grade. For example, for example, if the first communication network (, WIFI network) signal strength signal intensity the strongest, chain-circuit time delay is minimum, signal to noise ratio is the highest, preferentially selects this first communication network to carry out upstream data access, and the first packet is sent to server 400 through the first communication network.
In an embodiment of the present invention, except real-time measure channel quality, also can obtain in the following manner channel quality measurements:
(1) for the first time in real time after measure channel quality, i.e. the channel quality measurements of the residing communication network of storage terminal, when terminal is during again in same communication network environment, can directly get channel quality measurements.
(2) by statistical analysis, obtain the estimated value of each communication network signal strength signal intensity, signal to noise ratio, link estimation time delay and the network bandwidth, and estimated value is stored in terminal, thus, get final product the information of picked up signal intensity, signal to noise ratio, link estimation time delay and the network bandwidth by inquiry canned data.
Server 400, according to channel quality measurements, is each communication network distribute data downloading task. Concrete, server 400 receives the first packet, good protocol rule is separated package operation according to a preconcerted arrangement, to obtain channel quality measurements and data download request, thus, server 400 can get the information such as the size of channel quality measurements, the required downloading data resource of terminal, this data resource.
Preferably, in an embodiment of the present invention, server 400 is each communication network distribute data downloading task according to following preset algorithm:
Step 10: be signal strength signal intensity, signal to noise ratio, link estimation time delay, the network bandwidth, bandwidth tenability distribution weights in advance;
Step 11: the channel quality that calculates each communication network according to the channel quality measurements receiving and its corresponding weights;
Step 12: the channel quality of each communication network is normalized, to determine the data downloading task of each communication network.
Below in conjunction with an example, server 400 distribute data downloading task are elaborated:
In this example, suppose that terminal 100 is in two available communication networks (the first communication network and second communication network).
Server 400 is in advance for signal strength signal intensity, signal to noise ratio, link estimate that time delay distributes respectively following weights: 0.4,0.1,0.2. In practice, the bandwidth tenability of the network bandwidth and terminal, need be as the criterion with smaller, and therefore, it is that it distributes weights that the network bandwidth and bandwidth tenability are done as a whole: 0.3. If the network bandwidth is less than bandwidth tenability, be as the criterion with the network bandwidth, its weights are 0.3, and the weights of bandwidth tenability are 0; If bandwidth tenability is less than the network bandwidth, be as the criterion with bandwidth tenability, its weights are 0.3, and the weights of the network bandwidth are 0; If the two equate, appoint and get the network bandwidth or bandwidth tenability for its distribution weights 0.3, and another one weights are 0.
According to above-mentioned weight setting, if the channel quality measurements of the first communication network receiving is respectively: signal strength signal intensity is 4, signal to noise ratio is 12db, link is estimated time delay 0.1ms, network bandwidth 20MHz, bandwidth tenability 20MHz, and the channel quality of the first communication network is:
P1=0.4×4+0.1×12+0.2×0.1+0.3×20+0×20=8.82
The channel quality measurements of the second communication network receiving is respectively: signal strength signal intensity is 4, signal to noise ratio is 10db, link is estimated time delay 0.5ms, network bandwidth 5MHz, bandwidth tenability 20MHz, and the channel quality of second communication network is:
P2=0.4×4+0.1×10+0.2×0.5+0.3×5+0×20=4.2
Then, respectively P1 and P2 are normalized in the following manner:
The data downloading task that obtains the first communication network is 68%, and the data downloading task of second communication network is 32%.
Should understand, can be also each communication network distribute data downloading task according to other algorithm, for example, (for example adopt the mode of mean allocation, in the time that the channel quality of residing two communication networks of user approaches, for the data downloading task of its distribution is each 50%), or the mode of directly distributing according to link estimation time delay (for example, if the channel quality of a certain communication network is very poor, for example, when link estimates that time delay is greater than 1ms, total data downloading task is distributed to alternative communication network). In addition, also can be arranged the distribution of data downloading task by user, for example, user is in order to save the flow of the first communication network, the data downloading task of the first communication network fixedly can be made as to 20%, the data downloading task of second communication network is fixedly made as to 80%.
Thus, determined after the data downloading task of each communication network, server is according to the data downloading task of each communication network, and the Data Division that terminal need to be downloaded is multiple packets. Preferably, server, according to the rule shifting to an earlier date and terminal is appointed, carries out the fractionation of packet, after splitting, adds packet header for each packet, forms multiple new packets, and the plurality of packet is loaded into buffer queue. In one embodiment, the data cached bag in buffer queue, until after confirming that terminal has all been downloaded, server is just by its deletion.
For example, according to above-mentioned 68% and 32% data downloading task, can be that the second packet and the 3rd packet are downloaded by the first communication network and second communication network respectively by Data Division, the data volume that wherein data volume of the second packet accounts for 68%, the three packet of total amount of data accounts for 32% of total amount of data.
Server 400 is according to the data downloading task of each communication network, and the Data Division that terminal need to be downloaded is multiple packets and is written into after buffer queue. Terminal 100 by each communication network, is downloaded corresponding packet respectively from buffer queue.
After packet is all downloaded, terminal 100 will recombinate to obtain the data that terminal need to be downloaded by the packet of each downloaded. Preferably, terminal 100 completes data download after, according to unpacking with the good rule of server commitment, obtain packet, and packet is recombinated according to the server identification of agreement (for example, stack), to obtain complete data, thus, realize the download of multi-channel data.
In this embodiment, according to the channel quality measurements of terminal, analyze the channel quality of each communication network, consider link-quality, link delay, link and support that maximum bandwidth, terminal capability (are mainly bandwidth tenabilities, carrier aggregation scheme etc.), with the more excellent communication network of comprehensive consideration, thereby adjust the data downloading task (data load) of each communication network, make more excellent node bear more packet downloading task. After packet is split, transmit by multichannel, in end, the packet receiving is recombinated again. Realize thus the multichannel of data and download, make full use of slack resources, making can reach peak rate in downloading process is multichannel sum, by large packet is split and is diminished, improve overall transfer rate, improved the handling capacity of terminal, promoted user's experience.
The problems such as the data failed download extremely causing for fear of communication network, in the multi-channel data download system of the embodiment of the present invention, add exception handling, in data downloading process, terminal 100 detects that communication network (for example connects when abnormal, terminal 100 departs from WIFI communication network or LTE communication network), start exception handling and carry out data download. Concrete, the exception handling of this embodiment can be realized by following several modes:
Mode one: terminal 100 is in data downloading process, detect and whether have abnormal communication network, if have, detect exceptional communication network (for example, WIFI communication network) abnormal duration occurs, if this duration exceedes default duration T1, by other normal communication network (for example, LTE communication network) send state bag to server 400, there is communication network to occur extremely with announcement server 400, and the interruption position of downloading by exceptional communication network.
Server 400 receives state bag and from buffer memory, extracts packet to be downloaded (data that are not also downloaded), make terminal 100 switch to other normal communication network, and continue downloading data bag to complete the download (breakpoint transmission) of data resource from interrupting position.
Mode two: server 400 receives state bag, downloading data amount and the abnormal threshold value of downloading are compared, if be less than abnormal download threshold value, notification terminal 100 is deleted the packet of having downloaded by exceptional communication network, and switch to normal communication network, and re-start data download; If be greater than abnormal download threshold value, carry out data download according to mode one.
Mode three: terminal 100 is deleted the packet of having downloaded by exceptional communication network, and switch to normal communication network re-start data download.
Concrete, if normal communication network has more than 2 or 2, can (for example switch according to above-mentioned channel quality measurements, switch to the best communication network of channel quality measurements), also can (for example switch according to the completed data download of proper communication network size, switch to the communication network that data download completes at most), or consider channel quality measurements and completed data download size is switched.
In this embodiment, communication network comprises that terminal departs from its coverage, communications network service interruption etc. extremely.
After data have all been downloaded, terminal 100 recombinates to obtain by multiple packets of downloading by different communication network the data that terminal need to be downloaded.
By adding exception handling, can avoid the data download problem causing because network environment is suddenlyd change, can avoid under communication network abnormal conditions, the situation of data failed download, further guarantee high speed and the complete download of data, improve the handling capacity of terminal, optimizing user is experienced.
The second embodiment
The flow chart of the multi-channel data method for down loading that is first embodiment of the invention referring to Fig. 3 and Fig. 4. As shown in Figure 3, in the multi-channel data method for down loading of first embodiment of the invention, in one end of terminal, in step S01, terminal carries out channel quality measurement to current residing multiple communication networks respectively. Obtain after channel quality measurements, terminal is integrated with data download request by channel quality measurements and is generated the first packet, and sends to server. In step S02, terminal is the data downloading task that each communication network distributes according to server based on channel quality measurements, carries out data download respectively by described multiple communication networks. Concrete, terminal is respectively by packet corresponding to each downloaded, wherein, described packet is the data downloading task of server based on each communication network, the Data Division that terminal need to be downloaded is multiple and packet that each communication network is corresponding. In step S03, terminal recombinates to obtain by multiple packets of downloading by different communication network the data that terminal need to be downloaded.
Referring to Fig. 4, in one end of server, in step S101, receive the channel quality measurements of self terminal. In step S102, be each communication network distribute data downloading task based on channel quality measurements. Concrete, server has determined that, after the data downloading task of each communication network, server is according to the data downloading task of each communication network, the Data Division that terminal need to be downloaded is multiple packets, and is written into buffer queue for terminal downloads. When
Should be understood that second embodiment of the invention multi-channel data method for down loading to realize principle and details and above-mentioned the first embodiment be identical, do not repeat them here.
In addition, for fear of the communication network abnormal problem in data downloading process, in the multi-channel data method for down loading of the embodiment of the present invention, add exception handling, in data downloading process, terminal 100 detects that communication network (for example connects when abnormal, terminal 100 departs from WIFI communication network or LTE communication network), start exception handling and carry out data download. Referring to Fig. 5, concrete, add after exception handling, the multi-channel data method for down loading of the embodiment of the present invention comprises:
S11, terminal are carried out channel quality measurement to current residing multiple communication networks respectively, and channel quality measurements is sent to server.
S12, server receive the channel quality measurements of self terminal, are each communication network distribute data downloading task based on channel quality channel quality measurements.
S13, terminal are the data downloading task that each communication network distributes according to server based on channel quality measurements, carry out data download respectively by described multiple communication networks.
Whether S14, terminal detect data download and complete, and perform step S20 if complete, and perform step S15 if do not complete.
S15, terminal detect whether there is abnormal communication network, if having, in step S16, detect exceptional communication network abnormal duration occurs, and in step S17, judge that this duration (for example exceedes default duration T1,1 second), otherwise, execution step S14 continued. If exceed default duration, in step S18, send state bag to server by other normal communication network, have communication network to occur extremely with announcement server, and the interruption position of downloading by exceptional communication network, and perform step S19, otherwise continue execution step S14.
In step S19, server receives state bag, from buffer queue, extracts packet to be downloaded, carries out breakpoint transmission, or notification terminal deletes the data of having downloaded by abnormal network and again download, and performs step S14. Concrete can download by any continuation of carrying out data in following three kinds of modes:
Mode one: carry out breakpoint transmission by normal communication network, that is: server receives state bag, extracts packet to be downloaded from buffer queue, and switch to a normal communication network, continue downloading data bag from interrupting position.
Mode two: server 400 receives state bag, by downloading data amount and the abnormal threshold value of downloading compare, if be less than abnormal download threshold value, notification terminal 100 is deleted the packet of having downloaded by exceptional communication network, and switch to normal communication network re-start data download; If be greater than abnormal download threshold value, carry out data download according to mode one.
Mode three: terminal 100 is deleted the packet of having downloaded by exceptional communication network, and switch to normal communication network re-start data download.
Concrete, if normal communication network has more than 2 or 2, can (for example switch according to above-mentioned channel quality measurements, switch to the best communication network of channel quality measurements), also can (for example switch according to the completed data download of proper communication network size, switch to the communication network that data download completes at most), or consider channel quality measurements and completed data download size is switched.
In this embodiment, communication network comprises that terminal departs from its coverage, communications network service interruption etc. extremely.
In step S20, terminal recombinates to obtain by multiple packets of downloading by different communication network the data that terminal need to be downloaded.
Before data have been downloaded, if abnormal communication network recovers again normally, can record download location now, then switch to this communication network and carry out breakpoint transmission, also can ignore this network, complete download by other network. Should be understood that the mode that also can adopt other, the embodiment of the present invention is not restricted this.
The multi-channel data method for down loading of the embodiment of the present invention, according to the channel quality measurements of terminal, analyze the channel quality of each communication network, consider link-quality, link delay, link and support that maximum bandwidth, terminal capability (are mainly bandwidth tenabilities, carrier aggregation scheme etc.), with the more excellent communication network of comprehensive consideration, thereby adjust the data downloading task (data load) of each communication network, make more excellent node bear more packet downloading task. After packet is split, transmit by multichannel, in end, the packet receiving is recombinated again. Realize thus the multichannel of data and download, make full use of slack resources, making can reach peak rate in downloading process is multichannel sum, by large packet is split and is diminished, improve overall transfer rate, improved the handling capacity of terminal, promoted user's experience. And by adding exception handling, can avoid the data download problem causing because network environment is suddenlyd change, can avoid under communication network abnormal conditions, the situation of data failed download, further guarantee high speed and the complete download of data, improve the handling capacity of terminal, optimizing user is experienced.
The 3rd embodiment
The network topological diagram of the multi-channel data download system of the 3rd embodiment that is the embodiment of the present invention referring to Fig. 6. In this embodiment, terminal 100 can with communication network comprise LTE communication network and WIFI communication network, terminal 100 by LTE communication network and WIFI communication network realize multi-channel data download. Concrete, the multi-channel data download system of this embodiment comprises: server 400, LTE communication network 301, WIFI communication network 302, LTE website 201, WIFI website 202 and terminal 100. Terminal 100 communicates to connect with LTE website 201 and WIFI website 202 respectively; LTE website 201 and WIFI website 202 communicate to connect with server 400 respectively.
LTE website 201 can comprise suitable hardware, logical device, circuit and/or coding, for first data transmission passage is provided. This first data transmission Path Setup the Article 1 physical data interface channel between terminal 100 and server 400. Concrete, LTE website 201 terminalorienteds 100, the service-oriented device 400 of LTE communication network 301.
WIFI website 202 can comprise suitable hardware, logical device, circuit and/or coding, for the second data transmission channel is provided. This second data channel is the Article 2 physical data interface channel between terminal 100 and server 400. This physical data channel comprises: radio channel and wired passage (between WIFI website and server). Concrete, WIFI website 202 terminalorienteds 100, the service-oriented device 400 of WIFI communication network 302.
Terminal 100 is for carrying out channel quality measurement to current residing LTE communication network 301 and WIFI communication network 302.
In an embodiment of the present invention, terminal is according in advance generating channel measurement result with the good protocol rule of server commitment, and channel quality measurements is integrated with to data download request generates the first packet, and by this first Packet Generation to server.
In data download request, include identification information, need the index (for example, the index ID of APP1) of downloading data for marking terminal. Index can be the index major key in database table.
Preferably, the first packet can adopt the message structure of TCP/IP or UDP. While sending the first packet, can be according to channel quality measurements, the top-quality communication network of selective channel (for example, the WIFI communication network 302) data access of reaching the standard grade.
Server 400, according to channel quality measurements, is LTE communication network 301 and WIFI communication network 302 distribute data downloading task.
Concrete, server receives the first packet, and good protocol rule is separated package operation according to a preconcerted arrangement, to obtain channel measurement result and data download request, thus, server can get the size of channel measurement result, the required downloading data resource of terminal, this data resource etc.
Preferably, server 400 can lead to above-mentioned weights method, mean allocation, estimate Delay distribution, the mode distribute data downloading task such as distribution are set according to user according to link.
Thus, determined after the data downloading task of each communication network, server 400 is according to the data downloading task of each communication network, and it is the second packet and the 3rd packet that terminal 100 is needed to the Data Division of downloading. Preferably, server 400, according to the rule shifting to an earlier date and terminal is appointed, carries out the fractionation of packet, after splitting, adds packet header for each packet, forms the second packet and the 3rd packet, and is loaded into buffer queue. In one embodiment, until after confirming that terminal 100 has all been downloaded, server 40 is just deleted the data cached bag in buffer queue.
For example, according to above-mentioned 68% and 32% data downloading task, can be the second packet and the 3rd packet by Data Division, the data volume that wherein data volume of the second packet accounts for 68%, the three packet of total amount of data accounts for 32% of total amount of data.
According to data downloading task, terminal 100 by LTE communication network 301 and WIFI communication network 302, is downloaded the second packet and the 3rd packet respectively from buffer queue.
After packet is all downloaded, terminal 100 recombinates to obtain by the packet of downloading by LTE communication network 301 and WIFI communication network 302 data that terminal need to be downloaded. Preferably, terminal completes data download after, according to unpacking with the good rule of server commitment, obtain packet, and packet is recombinated according to the server identification of agreement (for example, stack), to obtain complete data, thus, realize the download of multi-channel data.
In data downloading process, WIFI communication network or LTE communication network cause data failed download extremely, the embodiment of the present invention has added exception handling, in data downloading process, terminal 100 detects that communication network (for example connects when abnormal, terminal 100 departs from WIFI communication network or LTE communication network), start exception handling and carry out data download. Concrete, the exception handling of this embodiment can be realized by following several modes:
Mode one: terminal 100 is in data downloading process, detect and whether have abnormal communication network, if have, detect exceptional communication network (for example, WIFI communication network) abnormal duration occurs, if this duration exceedes default duration T1, by other normal communication network (for example, LTE communication network) send state bag to server 400, there is communication network to occur extremely with announcement server 400, and the interruption position of downloading by exceptional communication network.
Server 400 receives state bag and from buffer memory, extracts packet to be downloaded (data that are not also downloaded), make terminal 100 switch to other normal communication network, and continue downloading data bag to complete the download (breakpoint transmission) of data resource from interrupting position.
Mode two: server 400 receives state bag, downloading data amount and the abnormal threshold value of downloading are compared, if be less than abnormal download threshold value, notification terminal 100 is deleted the packet of having downloaded by exceptional communication network, and switch to normal communication network, and re-start data download; If be greater than abnormal download threshold value, carry out data download according to mode one.
Mode three: terminal 100 is deleted the packet of having downloaded by exceptional communication network, and switch to normal communication network re-start data download.
The multi-channel data download system of this embodiment, realize the multichannel of data downloads by LTE communication network and WIFI communication network, realize the data aggregate of LTE+WIFI, make full use of slack resources, making can reach peak rate in downloading process is multichannel sum, by large packet is split and diminished, has improved overall transfer rate, improve the handling capacity of terminal, promoted user's experience. And by adding exception handling, can avoid the data download problem causing because network environment is suddenlyd change, can avoid under communication network abnormal conditions, the situation of data failed download, further guarantee high speed and the complete download of data, improve the handling capacity of terminal, optimizing user is experienced.
The 4th embodiment
The flow chart of the multi-channel data method for down loading that is fourth embodiment of the invention referring to Fig. 7 and Fig. 8. Referring to Fig. 7, in this embodiment, in one end of terminal, in step S21, terminal carries out channel quality measurement to current residing LTE communication network and WIFI communication network respectively. Obtain after channel quality measurements, terminal is integrated with data download request by channel quality measurements and is generated the first packet, and sends to server. In step S22, terminal is the data downloading task that LTE communication network and WIFI communication network distribute according to server based on channel quality measurements, carries out data download respectively by LTE communication network and WIFI communication network. Concrete, terminal is respectively by packet corresponding to each downloaded, wherein, described packet is the data downloading task of server based on each communication network, the multiple and LTE communication network that the Data Division that terminal need to be downloaded is and the corresponding packet of WIFI communication network. In step S23, terminal will recombinate to obtain the data that terminal need to be downloaded by multiple packets of LTE communication network and WIFI downloaded.
Referring to Fig. 8, in one end of server, in step S201, receive the channel quality measurements of self terminal. In step S202, be LTE communication network and WIFI communication network distribute data downloading task based on channel quality measurements. Determine after the data downloading task of each communication network, server is according to the data downloading task of each communication network, the Data Division that terminal need to be downloaded is two packets (the second packet and the 3rd packets), and is written into buffer queue for terminal downloads.
In this embodiment, realize the data aggregate of LTE+WIFI, realizing the multichannel of data downloads, make full use of slack resources, making can reach peak rate in downloading process is multichannel sum, by large packet is split and diminished, has improved overall transfer rate, improve the handling capacity of terminal, promoted user's experience.
The first sequential chart of the multi-channel data method for down loading that is fourth embodiment of the invention referring to Fig. 9. Terminal 100 is set up first network with LTE website 201 and is connected, and terminal 100 is set up second network with WIFI website 202 and is connected, and thus, terminal 100 is in LTE communication network and WIFI communication network. In the time that terminal 100 has the data that need to download, carry out channel quality measurement, and channel quality measurements is integrated with to download request generate the first packet. Terminal 100 by WIFI communication network or LTE communication network by the first Packet Generation to server 400 (shown in Fig. 6 for sending by LTE network). Server 400 is received after the first packet, returns to acknowledgement frame ACK to terminal 100. Server 400 is resolved the first packet, obtains channel quality measurements, and according to channel quality measurements, is LTE communication network and WIFI communication network distribute data downloading task. Server 400 is according to data downloading task, and it is the second packet and the 3rd packet that terminal 100 is needed to the data allocations of downloading, and the second packet and the 3rd packet are written into buffer queue. Terminal 100 is respectively by LTE communication network and WIFI downloaded the second packet and the 3rd packet. Terminal 100 has been downloaded after the second packet and the 3rd packet by binary channels, unpacks restructuring to obtain complete packet, and thus, terminal 100 completes data and downloads, and returns to acknowledgement frame ACK to server by WIFI communication network or LTE communication network.
In data downloading process, WIFI communication network or LTE communication network cause data failed download extremely, add exception handling, in data downloading process, terminal 100 detects that communication network (for example connects when abnormal, terminal 100 departs from WIFI communication network or LTE communication network), start exception handling and carry out data download.
Referring to Figure 10, add after exception handling, in step S31, terminal carries out channel quality measurement to current residing LTE communication network and WIFI communication network respectively, and channel quality measurements is sent to server. Obtain after channel quality measurements, terminal is integrated with data download request by channel quality measurements and is generated the first packet, and sends to server. In step S32, server receives the channel quality measurements of self terminal, based on channel quality measurements, is LTE communication network and WIFI communication network distribute data downloading task. Determined after the data downloading task of each communication network, server is according to the data downloading task of each communication network, and the Data Division that terminal need to be downloaded is two packets (the second packet and the 3rd packets), and is written into buffer queue. In step S33, terminal is the data downloading task that LTE communication network and WIFI communication network distribute according to server based on channel quality measurements, carries out data download respectively by LTE communication network and WIFI communication network.
In step S34, terminal detect data download whether complete, perform step S40 if complete, perform step S35 if do not complete.
In step S35, terminal detect whether have abnormal communication network, if having, in step S36, detect exceptional communication network abnormal duration occur, and in step S37, judge that this duration (for example exceedes default duration T1,1 second), otherwise, execution step S34 continued. If exceed default duration, in step S38, send state bag to server by other normal communication network, have communication network to occur extremely with announcement server, and the interruption position of downloading by exceptional communication network, and perform step S39, otherwise continue execution step S34.
In step S39, server receives state bag, from buffer queue, extracts packet to be downloaded, carries out breakpoint transmission, or notification terminal deletes the data of having downloaded by abnormal network and again download, and performs step S34. Concrete can download by any continuation of carrying out data in following three kinds of modes:
Mode one: carry out breakpoint transmission by normal communication network, that is: server receives state bag, extracts packet to be downloaded from buffer queue, and switch to a normal communication network, continue downloading data bag from interrupting position.
Mode two: server 400 receives state bag, by downloading data amount and the abnormal threshold value of downloading compare, if be less than abnormal download threshold value, notification terminal 100 is deleted the packet of having downloaded by exceptional communication network, and switch to normal communication network re-start data download; If be greater than abnormal download threshold value, carry out data download according to mode one.
Mode three: terminal 100 is deleted the packet of having downloaded by exceptional communication network, and switch to normal communication network re-start data download.
In step S40, terminal recombinates to obtain by multiple packets of downloading by different communication network the data that terminal need to be downloaded.
The second sequential chart of the multi-channel data method for down loading that is fourth embodiment of the invention referring to Figure 11. Terminal 100 is set up first network with LTE website 201 and is connected, and terminal 100 is set up second network with WIFI website 202 and is connected, and thus, terminal 100 is in LTE communication network and WIFI communication network. In the time that terminal 100 has the data that need to download, carry out channel quality measurement, and channel quality measurements is integrated with to download request generate the first packet. Terminal 100 by WIFI communication network or LTE communication network by the first Packet Generation to server 400 (shown in Fig. 6 for sending by LTE network). Server 400 is received after the first packet, returns to acknowledgement frame ACK to terminal 100. Server 400 is resolved the first packet, obtains channel quality measurements, and according to channel quality measurements, is LTE communication network and WIFI communication network distribute data downloading task. Server 400 is according to data downloading task, and it is the second packet and the 3rd packet that terminal 100 is needed to the data allocations of downloading, and the second packet and the 3rd packet are written into buffer queue. Terminal 100 is respectively by LTE communication network and WIFI downloaded the second packet and the 3rd packet. Terminal 100 has been downloaded the second packet and the 3rd packet by binary channels. In downloading process, if detect, abnormal its abnormal duration of communication network exceedes preset value, generates state bag, by proper communication network (being LTE communication network shown in Fig. 9) and send to server 400. In state bag, include interruption position. Server 400 is received after state bag, extracts packet to be downloaded from buffer queue, switches to proper communication network and makes terminal 100 continue downloading data bag (also can pacify the continuation download of carrying out packet according to aforesaid way two and three) from interrupting position. Thus, terminal 100 has been downloaded after the second packet and the 3rd packet by binary channels, unpacks restructuring and can obtain complete packet. Terminal 100 completes data and downloads, and proper communication network (being LTE communication network shown in Fig. 9) returns to acknowledgement frame ACK to server.
Before data have been downloaded, if abnormal communication network recovers again normally, can record download location now, then switch to this communication network and carry out breakpoint transmission, also can ignore this network, complete download by other network. Should be understood that the mode that also can adopt other, the embodiment of the present invention is not restricted this.
The multi-channel data download system of this embodiment, realize the multichannel of data downloads by LTE communication network and WIFI communication network, realize the data aggregate of LTE+WIFI, make full use of slack resources, making can reach peak rate in downloading process is multichannel sum, by large packet is split and diminished, has improved overall transfer rate, improve the handling capacity of terminal, promoted user's experience. And by adding exception handling, can avoid the data download problem causing because network environment is suddenlyd change, can avoid under communication network abnormal conditions, the situation of data failed download, further guarantee high speed and the complete download of data, improve the handling capacity of terminal, optimizing user is experienced.
By multi-channel data method for down loading and the system of the embodiment of the present invention, according to the channel quality measurements of terminal, analyze the channel quality of each communication network, consider link-quality, link delay, link is supported maximum bandwidth, terminal capability (is mainly bandwidth tenability, carrier aggregation scheme etc.), with the more excellent communication network of comprehensive consideration, thereby adjust the data downloading task (data load) of each communication network, make more excellent node bear more packet downloading task, realizing thus the multichannel of data downloads, make full use of slack resources, making can reach peak rate in downloading process is multichannel sum, by large packet is split and is diminished, improve overall transfer rate, improve the handling capacity of terminal, promote user's experience. and by adding exception handling, can avoid the data download problem causing because network environment is suddenlyd change, can avoid under communication network abnormal conditions, the situation of data failed download, further guarantee high speed and the complete download of data, improve the handling capacity of terminal, optimizing user is experienced. on the other hand, the data aggregate of having realized LTE+WIFI, makes full use of slack resources, can make the downstream rate peak value of terminal break through the rate limit of the following LTE of existing network or wifi, and downstream rate reached the stack of both speed peak values, improve greatly the throughput of existing terminal, can promote at double user unloading speed, promote user and experience.
Based on the structure of above-mentioned mobile terminal hardware configuration, communicator, each embodiment of network connection device of the present invention is proposed.
With reference to Figure 12, Figure 12 is the high-level schematic functional block diagram of network connection device of the present invention the 5th embodiment.
It is emphasized that, to one skilled in the art, functional block diagram shown in Figure 12 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the network connection device shown in Figure 12, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for auxiliary each program function piece of understanding this network connection device, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of define name will be reached separately.
The present embodiment proposes a kind of network connection device, and described network connection device comprises:
Determination module 10, in the time that terminal connects internal wireless LAN, if the default application of current unlatching detected, determines whether the described application of opening can move;
In the present embodiment, in the time that terminal connects internal wireless LAN, because the server of internal wireless LAN is provided with the authority of disable access to some application, therefore,, can cause terminal to open the application of server disable access time, also cannot normally move, therefore, in the present embodiment, in the time the default application of current unlatching being detected, described determination module 10 first determines whether the described application of opening can move. If the described application of opening can move, the described application that explanation is opened can be accessed the server of described internal wireless LAN, now, directly surfs the Net by described internal wireless LAN; If the described application of now opening cannot move, the described default application that explanation is opened is the server of internal wireless LAN described in disable access, now, carries out following examples.
Be understandable that, default application described in the present embodiment can be the application of information pushing class, and as browser application etc., described default application can also be the application of information interaction class, as micro-letter is applied or QQ applies etc. Certainly, in the time that the application of the server disable access of internal wireless LAN is more, can be that server is in advance to allowing the application type setting of access services device, as the application type mark to allowing access is carried out record, in the time having application open and access described server, described determination module 10 is determined the type identification of described application, in the time that definite type identification is consistent with the type identification prestoring, allows server described in described application access; And in the time that the application of the server disable access of internal wireless LAN is less, it can be the server application type setting to disable access server in advance, as the application type mark to disable access is carried out record, in the time having application open and access described server, described determination module 10 is determined the type identification of described application, in the time that definite type identification is consistent with the type identification prestoring, forbid server described in described application access.
In the present embodiment, described terminal includes but not limited to the terminals such as mobile phone, PAD, PC computer, described WLAN includes but not limited to wifi (WIrelessFidelity, Wireless Fidelity), NFC (NearFieldCommunication, the short distance wireless communication technology) etc. WLAN, in the present embodiment, preferred described WLAN is wifi.
Link block 20, if cannot move for the described application of current unlatching, is connected to the described application of opening in the online passage that external network is corresponding, to move described application.
In the present embodiment, if the described application of current unlatching cannot move, described link block 20 is connected to the described application of opening in the online passage that external network is corresponding, to move described default application, be understandable that, the embodiment of described link block 20 comprises:
1) mode one, in the present embodiment, if the described application of current unlatching cannot move, directly obtain the existing mobile network data of described terminal, then described link block 20 is connected to the described application of opening in online passage corresponding to described mobile network, normally to move described application.
2) mode two, particularly, with reference to Figure 13, described link block 20 comprises:
Acquiring unit 21, if cannot move for the described application for current unlatching, obtains external network;
Linkage unit 22, in the time that the external network obtaining is mobile network, is connected to the described application of opening in online passage corresponding to described mobile network, to move described application;
Described linkage unit 22, in the time that the external network obtaining is external wireless LAN, is connected to the described application of opening in the online passage that described external wireless LAN is corresponding, to move described application.
In the present embodiment, if the described application of current unlatching cannot move, described acquiring unit 21 can first be obtained external network, in the present embodiment, described external network can be the network that terminal searching arrives, further, for improving the flexibility of terminal interconnection network, also can be terminal searching to network in, network speed is greater than the network of default network speed, and described network speed is greater than to the network of presetting network speed as external network, then described linkage unit 22 is connected to the described application of opening in the online passage that described external network is corresponding, to move described application.
In the present embodiment, described external network comprises mobile network or external wireless LAN, particularly, the described application of current unlatching comprises: if cannot move, first described acquiring unit 21 is first obtained mobile network, then described linkage unit 22 is connected to the described application of opening in online passage corresponding to described mobile network, to move described application; If the described application of current unlatching cannot move, first first search for external wireless LAN, if in the time searching external wireless LAN, described acquiring unit 21 is obtained the described WLAN searching, and described linkage unit 22 is connected to the described application of opening in the online passage that described external wireless LAN is corresponding, to move described default application.
In order better to understand the present embodiment, two kinds of application scenarios are as follows for example:
1, with reference to Figure 14, in the time that terminal connects internal wireless LAN, as while connecting enterprises WLAN, current enterprise's mailbox can move, if the default application of current unlatching detected, as micro-letter application, and described micro-letter of opening is in the time that the net environment of described internal wireless LAN cannot move, obtain external network, if when the described external network obtaining is mobile network, now, described micro-letter application of opening is connected in online passage corresponding to described mobile network, to move described micro-letter application, realize Liao Shi enterprise mailbox and automatically walk internal wireless LAN, mobile network is walked in micro-letter application automatically.
2, with reference to Figure 15, in the time that terminal connects internal wireless LAN, as while connecting enterprises WLAN, current enterprise's mailbox can move, if the default application of current unlatching detected, as micro-letter application, and when the net environment that described micro-letter of opening is applied in described internal wireless LAN cannot move, obtain external network, if when the described external network obtaining is external wireless LAN, now, described micro-letter application of opening is connected in the online passage that described external wireless LAN is corresponding, to move described micro-letter application, , be the equal of two different WLANs of the current connection of terminal, enterprise's mailbox can directly be accessed the server of internal wireless LAN, and the micro-letter that cannot access internal wireless LAN is applied, access the server of external wireless LAN.
The network connection device that the present embodiment proposes, described network connection device comprises: determination module and link block, in the time that terminal connects internal wireless LAN, if the default application of current unlatching detected, determination module determines whether the described application of opening can move, if the described application of current unlatching cannot move, link block is connected to the described application of opening in the online passage that external network is corresponding, to move described application, instead of in the time connecting internal wireless LAN, if open some applications, can only disconnect and being connected of internal wireless LAN, and reconnect external network, the present invention is in the time that terminal connects internal lan, if unlatching applications detected, applications is switched in the online passage that external network is corresponding, to move described applications, realize in connecting internal wireless LAN, can normally move applications, thereby improve the intelligent of network connection.
Further, the flexibility connecting in order to improve network, with reference to Figure 16, proposes the 6th embodiment of network connection device of the present invention based on the 5th embodiment, and in the present embodiment, described network connection device also comprises:
Disconnect module 30, for connect described mobile network's process in described application, if detect when flow surplus value corresponding to described mobile network is less than predetermined threshold value, disconnect described application and described mobile network's communication connection;
Output module 40, for exporting information, flow surplus value corresponding to described mobile network to point out, and/or prompting user connects external wireless LAN to move described application.
In the present embodiment, in the time that the described external network obtaining is mobile network, that is to say, be connected in online passage corresponding to described mobile network in described application, to move in the process of described application, flow surplus value corresponding to mobile network described in Real-Time Monitoring, and in the time that flow surplus value corresponding to described mobile network is less than predetermined threshold value, for example, while being less than 100M, described disconnection module 30 disconnects described application and described mobile network's communication connection, that is to say, now do not re-use the described application that mobile network moves unlatching, further, described output module 40 is exported information, flow surplus value corresponding to described mobile network to point out, and/or prompting user connects external wireless LAN to move described application.
Further, the flexibility connecting for improving network, connect in mobile network's process in described application, the flow surplus value of the moving network of first timing shift detection, and in the time that flow surplus value corresponding to described mobile network is less than preset value, during as 110M, just switch to real-time detection mobile network's flow surplus value, and in the time that flow surplus value corresponding to described mobile network is less than predetermined threshold value, as while being less than 100M, described disconnection module 30 disconnects described application and described mobile network's communication connection.
In the present embodiment, connect in mobile network's process in described application, by detecting mobile network's flow surplus value, and in the time that described mobile network's flow surplus value is less than predetermined threshold value, disconnect being connected of described application and described mobile network, and export information, flow surplus value corresponding to described mobile network to point out, and/or point out user to connect external wireless LAN to move described application, thereby improve the intelligent and flexibility that network connects.
In one embodiment of the invention, described network connection device also comprises:
Quality detection module, for respectively the current residing LTE communication network of terminal and WIFI communication network being carried out to channel quality measurement, and sends to server by channel quality measurements; ;
Data download module, for being the data downloading task that LTE communication network and WIFI communication network distribute according to server based on channel quality measurements, carries out data download by LTE communication network and WIFI communication network respectively.
In another embodiment of the present invention, described data download module is carried out data download by LTE communication network and WIFI communication network respectively, comprising:
Terminal is respectively by packet corresponding to each downloaded, wherein, described packet is the data downloading task of server based on each communication network, two packets corresponding with LTE communication network and WIFI communication network that the Data Division that terminal need to be downloaded is;
Terminal will recombinate to obtain the data that terminal need to be downloaded by the packet of LTE communication network and WIFI downloaded.
The present invention further provides a kind of method for connecting network.
With reference to Figure 17, Figure 17 is the schematic flow sheet of method for connecting network of the present invention the 5th embodiment.
The present embodiment proposes a kind of method for connecting network, and described method for connecting network comprises:
Step S10, in the time that terminal connects internal wireless LAN, if the default application of current unlatching detected, determines whether the described application of opening can move;
In the present embodiment, in the time that terminal connects internal wireless LAN, because the server of internal wireless LAN is provided with the authority of disable access to some application, therefore,, can cause terminal to open the application of server disable access time, also cannot normally move, therefore, in the present embodiment, in the time the default application of current unlatching being detected, first determine whether the described application of opening can move. If the described application of opening can move, the described application that explanation is opened can be accessed the server of described internal wireless LAN, now, directly surfs the Net by described internal wireless LAN; If the described application of now opening cannot move, the described default application that explanation is opened is the server of internal wireless LAN described in disable access, now, carries out the step of following examples.
Be understandable that, default application described in the present embodiment can be the application of information pushing class, and as browser application etc., described default application can also be the application of information interaction class, as micro-letter is applied or QQ applies etc. Certainly, in the time that the application of the server disable access of internal wireless LAN is more, can be that server is in advance to allowing the application type setting of access services device, as the application type mark to allowing access is carried out record, in the time having application open and access described server, described server is determined the type identification of described application, in the time that definite type identification is consistent with the type identification prestoring, allows server described in described application access; And in the time that the application of the server disable access of internal wireless LAN is less, it can be the server application type setting to disable access server in advance, as the application type mark to disable access is carried out record, in the time having application open and access described server, described server is determined the type identification of described application, in the time that definite type identification is consistent with the type identification prestoring, forbid server described in described application access.
In the present embodiment, described terminal includes but not limited to the terminals such as mobile phone, PAD, PC computer, described WLAN includes but not limited to wifi (WIrelessFidelity, Wireless Fidelity), NFC (NearFieldCommunication, the short distance wireless communication technology) etc. WLAN, in the present embodiment, preferred described WLAN is wifi.
Step S20, if the described application of current unlatching cannot move, is connected to the described application of opening in the online passage that external network is corresponding, to move described application.
In the present embodiment, if the described application of current unlatching cannot move, the described application of opening is connected in the online passage that external network is corresponding, to move described default application, is understandable that, the embodiment of described step S20 comprises:
1) mode one, in the present embodiment, if the described application of current unlatching cannot move, directly obtain the existing mobile network data of described terminal, then the described application of opening is connected in online passage corresponding to described mobile network, normally to move described application.
2) mode two, particularly, with reference to Figure 18, described step S20 comprises:
Step S21, if the described application of current unlatching cannot move, obtains external network;
Step S22, in the time that the external network obtaining is mobile network, is connected to the described application of opening in online passage corresponding to described mobile network, to move described application;
Step S23, in the time that the external network obtaining is external wireless LAN, is connected to the described application of opening in the online passage that described external wireless LAN is corresponding, to move described application.
In the present embodiment, if the described application of current unlatching cannot move, can first obtain external network, in the present embodiment, described external network can be the network that terminal searching arrives, further, for improving the flexibility of terminal interconnection network, also can be terminal searching to network in, network speed is greater than the network of default network speed, and the network that described network speed is greater than to default network speed is as external network, then the described application of opening is connected in the online passage that described external network is corresponding, to move described application.
In the present embodiment, described external network comprises mobile network or external wireless LAN, particularly, the described application of current unlatching comprises: if cannot move, first terminal is first obtained mobile network, then the described application of opening is connected in online passage corresponding to described mobile network, to move described application; If the described application of current unlatching cannot move, first terminal is first searched for external wireless LAN, if in the time searching external wireless LAN, obtain the described WLAN searching, and the described application of opening is connected in the online passage that described external wireless LAN is corresponding, to move described default application.
In order better to understand the present embodiment, two kinds of application scenarios are as follows for example:
1, with reference to Figure 14, in the time that terminal connects internal wireless LAN, as while connecting enterprises WLAN, current enterprise's mailbox can move, if the default application of current unlatching detected, as micro-letter application, and described micro-letter of opening is in the time that the net environment of described internal wireless LAN cannot move, obtain external network, if when the described external network obtaining is mobile network, now, described micro-letter application of opening is connected in online passage corresponding to described mobile network, to move described micro-letter application, realize Liao Shi enterprise mailbox and automatically walk internal wireless LAN, mobile network is walked in micro-letter application automatically.
2, with reference to Figure 15, in the time that terminal connects internal wireless LAN, as while connecting enterprises WLAN, current enterprise's mailbox can move, if the default application of current unlatching detected, as micro-letter application, and when the net environment that described micro-letter of opening is applied in described internal wireless LAN cannot move, obtain external network, if when the described external network obtaining is external wireless LAN, now, described micro-letter application of opening is connected in the online passage that described external wireless LAN is corresponding, to move described micro-letter application, , be the equal of two different WLANs of the current connection of terminal, enterprise's mailbox can directly be accessed the server of internal wireless LAN, and the micro-letter that cannot access internal wireless LAN is applied, access the server of external wireless LAN.
The method for connecting network that the present embodiment proposes, in the time that terminal connects internal wireless LAN, if the default application of current unlatching detected, first determine whether the described application of opening can move, if the described application of current unlatching cannot move, the described application of opening is connected in the online passage that external network is corresponding, to move described application, instead of in the time connecting internal wireless LAN, if open some applications, can only disconnect and being connected of internal wireless LAN, and reconnect external network, the present invention is in the time that terminal connects internal lan, if unlatching applications detected, applications is switched in the online passage that external network is corresponding, to move described applications, realize in connecting internal wireless LAN, can normally move applications, thereby improve the intelligent of network connection.
Further, the flexibility connecting in order to improve network, with reference to Figure 19, the 6th embodiment of method for connecting network of the present invention is proposed based on the 5th embodiment, in the present embodiment, in the time that the described network-connectable obtaining is mobile network, after described step S21, described method for connecting network also comprises:
Step S30, connects in described mobile network's process in described application, if detect when flow surplus value corresponding to described mobile network is less than predetermined threshold value, disconnects described application and described mobile network's communication connection;
Step S40, output information, flow surplus value corresponding to described mobile network to point out, and/or prompting user connects external wireless LAN to move described application.
In the present embodiment, in the time that the described external network obtaining is mobile network, that is to say, be connected in online passage corresponding to described mobile network in described application, to move in the process of described application, flow surplus value corresponding to mobile network described in Real-Time Monitoring, and in the time that flow surplus value corresponding to described mobile network is less than predetermined threshold value, for example, while being less than 100M, disconnect described application and described mobile network's communication connection, that is to say, now do not re-use the described application that mobile network moves unlatching, further, described terminal output information, flow surplus value corresponding to described mobile network to point out, and/or prompting user connects external wireless LAN to move described application.
Further, the flexibility connecting for improving network, connect in mobile network's process in described application, the flow surplus value of the moving network of first timing shift detection, and in the time that flow surplus value corresponding to described mobile network is less than preset value, during as 110M, just switch to real-time detection mobile network's flow surplus value, and in the time that flow surplus value corresponding to described mobile network is less than predetermined threshold value, as while being less than 100M, disconnect described application and described mobile network's communication connection.
In the present embodiment, connect in mobile network's process in described application, by detecting mobile network's flow surplus value, and in the time that described mobile network's flow surplus value is less than predetermined threshold value, disconnect being connected of described application and described mobile network, and export information, flow surplus value corresponding to described mobile network to point out, and/or point out user to connect external wireless LAN to move described application, thereby improve the intelligent and flexibility that network connects.
In one embodiment of the invention, described method also comprises:
Respectively the current residing LTE communication network of terminal and WIFI communication network are carried out to channel quality measurement, and channel quality measurements is sent to server; ;
Be the data downloading task that LTE communication network and WIFI communication network distribute according to server based on channel quality measurements, carry out data download by LTE communication network and WIFI communication network respectively.
In another embodiment of the present invention, described method also comprises:
Respectively the current residing LTE communication network of terminal and WIFI communication network are carried out to channel quality measurement, and channel quality measurements is sent to server; ;
Be the data downloading task that LTE communication network and WIFI communication network distribute according to server based on channel quality measurements, carry out data download by LTE communication network and WIFI communication network respectively.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the system that make to comprise a series of key elements not only comprise those key elements, but also comprise other key element of clearly not listing, or be also included as the intrinsic key element of this process, method, article or system. The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the system that comprises this key element and also have other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better embodiment. Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions (can be mobile phones in order to make a station terminal equipment, computer, server, air-conditioner, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes description of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.