CN105592511A - Network connecting device and method - Google Patents

Network connecting device and method Download PDF

Info

Publication number
CN105592511A
CN105592511A CN201610059373.5A CN201610059373A CN105592511A CN 105592511 A CN105592511 A CN 105592511A CN 201610059373 A CN201610059373 A CN 201610059373A CN 105592511 A CN105592511 A CN 105592511A
Authority
CN
China
Prior art keywords
network
application
data
move
described application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610059373.5A
Other languages
Chinese (zh)
Inventor
徐琴
余航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610059373.5A priority Critical patent/CN105592511A/en
Publication of CN105592511A publication Critical patent/CN105592511A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • H04W36/0094Definition of hand-off measurement parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface

Landscapes

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

Abstract

The invention discloses a network connecting device. The network connecting device comprises a determination module used for determining whether a started application is operational if the preset application is detected to be started at present when a terminal is connected with an internal wireless local area network; a connecting module used for connecting the started application to a networking channel corresponding to an external network, if the application started at present is unable to operate, so as to operate the application. The invention further discloses a network connecting method. According to the invention, the intelligence of network connection is improved.

Description

Network connection device and method
Technical field
The present invention relates to communication technical field, relate in particular to a kind of network connection device and method.
Background technology
Conventionally, when people use internal wireless LAN online time, due to internal wireless LANServer is provided with the authority of disable access to some application, cause a lot of application all cannot use, if useEach application is thought normally to use in family, just can only disconnect and being connected of internal wireless LAN, then go outside connectionPortion's network, as mobile network or external wireless LAN are surfed the Net, if think will use internal wireless office againWhen net in territory, manual switchover to return, obviously, this internetwork connection mode, is connecting internal wireless localIn the situation of net, if the application that operation internal wireless LAN is forbidden need to switch to external network and enterRow online, intelligent lower.
Summary of the invention
Main purpose of the present invention is to propose a kind of network connection device and method, is intended to solve connectingIn the situation of internal wireless LAN, if the application that operation internal wireless LAN is forbidden needs to switchSurf the Net to external network, intelligent lower technical problem.
For achieving the above object, a kind of network connection device provided by the invention, described network connection deviceComprise:
Determination module, in the time that terminal connects internal wireless LAN, if detect, current unlatching is defaultApplication, determines whether the described application of opening can move;
Link block, if cannot move for the described application of current unlatching, by the described application of openingBe connected in the online passage that external network is corresponding, to move described application.
Alternatively, described link block comprises:
Acquiring unit, if cannot move for the described application of current unlatching, obtains external network;
Linkage unit, in the time that the external network obtaining is mobile network, connects the described application of openingBe connected in online passage corresponding to described mobile network, to move described application;
Described linkage unit, in the time that the external network obtaining is external wireless LAN, by what openDescribed application is connected in the online passage that described external wireless LAN is corresponding, to move described application.
Alternatively, described network connection device also comprises:
Disconnect module, for connect described mobile network's process in described application, if move described in detectingWhen moving flow surplus value corresponding to network is less than predetermined threshold value, disconnect described application and described mobile networkCommunication connection;
Output module, 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.
Alternatively, network switching device also comprises:
Thread distribution module, leads to for the data of described thread being distributed to mobile network and WIFI networkRoad;
Data download module, sets up at least two transmission for controlling each thread by corresponding data channelLink, downloads described data by each transmission link piecemeal.
Alternatively, described thread set up module for:
Determine according to the CPU check figure of the size of data to be loaded and terminal and best thread tenabilitySet up the quantity of thread.
In addition, for achieving the above object, the present invention also proposes a kind of method for connecting network, and described network connectsThe method of connecing comprises the following steps:
In the time that terminal connects internal wireless LAN, if the default application of current unlatching detected, determine and openDescribed application whether can move;
If the described application of current unlatching cannot move, the described application of opening is connected to external networkIn corresponding online passage, to move described application.
Alternatively, if the described application of described current unlatching cannot move, the described application of opening is connectedBe connected in the online passage that external network is corresponding, comprise with the step of moving described application:
If the described application of current unlatching cannot move, obtain external network;
In the time that the external network obtaining is mobile network, the described application of opening is connected to described mobile networkIn online passage corresponding to network, to move described application;
In the time that the external network obtaining is external wireless LAN, described in the described application of opening is connected toIn online passage corresponding to external wireless LAN, to move described application.
Alternatively, when the described external network obtaining is mobile network, the described application of opening is connectedTo online passage corresponding to described mobile network, after moving the step of described application, described networkMethod of attachment also comprises:
Connect in described mobile network's process in described application, if the stream that described mobile network is corresponding detectedWhen amount surplus value is less than predetermined threshold value, disconnect described application and described mobile network's communication connection;
Output information, flow surplus value corresponding to described mobile network to point out, and/or prompting userConnect external wireless LAN to move described application.
Alternatively, described method also comprises:
Set up at least two threads that load data according to data load instructions;
Described thread is distributed to the data channel of mobile network and WIFI network;
Control each thread and set up at least two transmission links by corresponding data channel, by each chainRoad piecemeal is downloaded described data.
Alternatively, the described threads according at least two loading data of data load instructions foundation comprise:
Obtain the size of data to be loaded according to data load instructions;
Determine loading according to the CPU check figure of the size of described data and terminal and best thread tenabilityThe number of threads of described data, and set up the thread of respective numbers.
Network connection device and method that the present invention proposes, described network connection device comprises: determination moduleAnd 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 moveState application, instead of in the time connecting internal wireless LAN, if will open some applications, can only breakOpen and being connected of internal wireless LAN, and reconnect external network, the present invention connects inner in terminalWhen LAN, if unlatching applications detected, applications is switched to corresponding upper of external networkIn Netcom road, to move described applications, realize in connecting internal wireless LAN, canNormally to move applications, thereby improve the intelligent of network connection.
Brief description of the drawings
Fig. 1 is the hardware configuration schematic diagram of realizing an optional mobile terminal of each embodiment of the present invention;
Fig. 2 is the radio communication device schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the high-level schematic functional block diagram of network connection device the first embodiment of the present invention;
Fig. 4 is the refinement high-level schematic functional block diagram of link block in Fig. 3;
Fig. 5 is that external network of the present invention is the better enforcement scene of mobile network schematic diagram;
Fig. 6 is that external network of the present invention is the better enforcement scene of external wireless LAN schematic diagram;
Fig. 7 is the high-level schematic functional block diagram of network connection device the second embodiment of the present invention;
Fig. 8 is the schematic flow sheet of method for connecting network the first embodiment of the present invention;
If the described application of the current unlatching of Fig. 9 the present invention cannot move, the described application of opening is connected toIn online passage corresponding to external network, to move the schematic flow sheet of described application preferred embodiment;
Figure 10 is the schematic flow sheet of method for connecting network the second embodiment of the present invention;
Figure 11 is the flow chart that the present invention is based on twin-channel data load method the 4th embodiment;
Figure 12 is the flow chart that the present invention is based on twin-channel data load method the 5th embodiment;
Figure 13 is the sequential chart based on twin-channel data load method in the embodiment of the present invention;
Figure 14 is the module diagram that the present invention is based on twin-channel data loading device the 4th embodiment;
Figure 15 is the module diagram that the present invention is based on twin-channel data loading device the 5th embodiment.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are done further with reference to accompanying drawingExplanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, and be not used in limitDetermine the present invention.
The mobile terminal of realizing each embodiment of the present invention is described referring now to accompanying drawing. In follow-up descriptionIn, use the suffix such as " module ", " parts " or " unit " that is used for representing element only in order to haveBe beneficial to explanation of the present invention, itself do not have specific meaning. Therefore, " module " can with " parts "Mixedly to use.
Mobile terminal can be implemented with various forms. For example, the terminal of describing in the present invention can compriseSuch as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA, (individual digital helpsReason), PAD (panel computer), PMP (portable media player), guider etc. eventually mobileEnd and such as the fixed terminal of digital TV, desktop computer etc. Suppose that terminal is eventually mobile below,End. 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.
Fig. 1 is the hardware configuration signal that realizes an optional mobile terminal of each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) 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. 1 shows the mobile terminal with various assemblies, but shouldUnderstand, and do not require all assemblies that illustrate of enforcement. Can alternatively implement more or less groupPart. Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes two WLAN chips 111 and 112, and it allows eventually mobileRadio communication between end 100 and radio communication device or network.
A/V input block 120 is for audio reception or vision signal.
User input unit 130 can generate key input data to control movement according to the order of user's inputThe various operations of terminal. User input unit 130 allows user to input various types of information, and canComprise that keyboard, the young sheet of pot, touch pad (for example, detect owing to being touched the resistance, pressure, the electricity that causeThe touch-sensitive assembly of variation holding etc.), roller, rocking bar etc. Especially, when touch pad is with the form of layerWhile being superimposed upon on display unit 151, can form touch-screen.
Sensing cell 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 open orClosed condition), the position of mobile terminal 100, user be for the contact (, touching input) of mobile terminal 100Have or not, the acceleration of the orientation of mobile terminal 100, mobile terminal 100 or speed is moved and direction etc.,And generate order or the signal of the operation for controlling mobile terminal 100. For example,, when mobile terminal 100While being embodied as sliding-type mobile phone, sensing cell 140 can be opened or close by this sliding-type phone of sensingClose. In addition, sensing cell 140 can detect power subsystem 190 whether electric power or interface unit 170 are providedWhether couple with external device (ED).
Interface unit 170 is connected with mobile terminal 100 connecing of can passing through as at least one external device (ED)Mouthful. For example, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or batteryCharger) port, wired or wireless FPDP, memory card port, there is identification module for connectingPort, audio frequency I/O (I/O) port, video i/o port, ear port of device etc. Identification mouldPiece can be that storage is used the various information of mobile terminal 100 and can comprise user for authentication of usersIdentification module (UIM), client identification module (SIM), general client identification module (USIM) etc. In addition,The device (being called " recognition device " below) with identification module can be taked the form of smart card, therefore,Recognition device can be connected with mobile terminal 100 via port or other jockey. Interface unit 170 canFor for example receiving, from the input (, data message, electric power etc.) of external device (ED) and receivingInput be transferred to one or more elements in mobile terminal 100 or can for mobile terminal and outsideBetween part device, transmit data.
In addition, in the time that mobile terminal 100 is connected with external base, interface unit 170 can be logical as allowingCrossing it is provided to electric power the path of mobile terminal 100 or can inputs from base as allowing from baseVarious command signals be transferred to the path of mobile terminal by it. From the various command signals of base inputOr whether electric power can be arranged on the signal on base exactly with acting on identification mobile terminal. Output is singleUnit 150 be constructed to vision, audio frequency and/or tactile manner provide output signal (for example, audio signal,Vision signal, alarm signal, vibration signal etc.). Output unit 150 can comprise display unit 151.
Display unit 151 may be displayed on the information of processing in mobile terminal 100. For example, work as mobile terminal100 in the time of telephone relation pattern, and display unit 151 can show and call or other (for example, literary composition of communicating by letterThis information receiving and transmitting, multimedia file are downloaded etc.) relevant user interface (UI) or graphic user interface(GUI). When mobile terminal 100 is during in video calling pattern or image capture mode, display unit 151Can the image of display capture and/or the image of reception, illustrate video or image and correlation function UI orGUI etc.
Meanwhile, in the time that display unit 151 and touch pad superpose to form touch-screen with the form of layer each other, aobviousShow that unit 151 can be used as input unit and output device. Display unit 151 can comprise liquid crystal display(LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible aobviousShow at least one in device, three-dimensional (3D) display etc. Some in these displays can be constructed toTransparence is to allow user to watch from outside, and this can be called transparent display, typical transparent displayIt can be for example TOLED (transparent organic light emitting diode) display etc. According to the specific enforcement of wantingMode, mobile terminal 100 can comprise two or more display units (or other display unit), for example,Mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown). Touch-screen canFor detection of touching input pressure and touch input position and touch input area.
Memory 160 can be stored processing and the software program of control operation etc. carried out by controller 180Deng, or can temporarily store the data that oneself maybe will export through output (for example, telephone directory, message,Still image, video etc.). And memory 160 can be stored about in the time that touch is applied to touch-screenThe vibration of variety of way and the data of audio signal of output.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprise flash memory,Hard disk, multimedia card, card type memory (for example, SD or DX memory etc.), random access storage device(RAM), static random-access memory (SRAM), read-only storage (ROM), electrically erasableRead-only storage (EEPROM), programmable read only memory (PROM), magnetic storage, disk, lightDish etc. And, mobile terminal 100 can with the memory function that is connected execute store 160 by networkNetwork storage device cooperation.
Controller 180 is controlled the overall operation of mobile terminal conventionally. For example, controller 180 is carried out and voiceThe control that call, data communication, video calling etc. are relevant and processing. In addition, controller 180 can wrapDraw together the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can be configured inIn controller 180, or can be configured to separate with controller 180. Controller 180 can execution pattern be knownOther places reason, to be identified as character or figure by the handwriting input of carrying out on touch-screen or picture drafting inputPicture.
Power subsystem 190 receives external power or internal power and behaviour is provided under the control of controller 180Make the required suitable electric power of each element and assembly.
Various embodiment described herein can be for example to use computer software, hardware or its any groupThe computer-readable medium closing is implemented. For hardware implementation, embodiment described herein can pass throughUse application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device(DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controlDevice, microcontroller, microprocessor, be designed to carry out in the electronic unit of function described herein extremelyFew one is implemented, and in some cases, such embodiment can be implemented in controller 180. RightIn implement software, can carry out at least one function or behaviour with permission such as the embodiment of process or functionThe independent software module of doing is implemented. Software code can be by writing with any suitable programming languageSoftware application (or program) is implemented, and software code can be stored in memory 160 and by controllingDevice 180 is carried out.
So far, oneself through according to its functional description mobile terminal. Below, for the sake of brevity, will describeSuch as various types of mobile terminals of folded form, board-type, oscillating-type, slide type mobile terminal etc.In slide type mobile terminal as example. Therefore, the present invention can be applied to the eventually mobile of any typeEnd, and be not limited to slide type mobile terminal.
Mobile terminal 100 can be constructed to utilize via frame or grouping and send data as shown in Figure 1Operate with radio communication device and satellite-based communicator such as wired.
The communicator that wherein can operate according to mobile terminal of the present invention is described referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer. For example,, by communication dressThe air interface of putting use comprises for example frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA(CDMA) and universal mobile communications device (UMTS) (Long Term Evolution (LTE) especially), the whole world mobile logicalT unit (GSM) etc. As non-limiting example, description below relates to cdma communication device, butIt is the device that such instruction is equally applicable to other type.
With reference to figure 2, cdma wireless communication device can comprise multiple mobile terminals 100, multiple base station(BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280. MSC280 is constructed toForm interface with Public Switched Telephony Network (PSTN) 290. MSC280 be also constructed to can via returnThe BSC275 that journey circuit is couple to base station 270 forms interface. Back haul link can be according to some interfaces that oneself knowsIn any construct, described interface comprises for example E1/T1, ATM, IP, PPP, frame relay, HDSL,ADSL or xDSL. Will be appreciated that device can comprise multiple BSC2750 as shown in Figure 2.
Each BS270 can serve one or more subregions (or region), by multidirectional antenna or sensing certain partyTo each subregion of antenna cover radially away from BS270. Or, each subregion can by for pointTwo or more antenna covers that collection receives. Each BS270 can be constructed to support multiple frequencies to distribute,And each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of frequency distribution. BS270 also can be called as base stationThe sub-device of transceiver (BTS) or other equivalent terms. Under these circumstances, term " base station " can be usedIn broadly representing single BSC275 and at least one BS270. Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to moving of operating in device by broadcsting transmitter (BT) 295Moving terminal 100. Broadcast reception module as shown in Figure 1 111 is arranged on mobile terminal 100 and sentences receptionThe broadcast singal being sent by BT295. In Fig. 2, show several global pick devices (GPS) satellite 300.Satellite 300 helps at least one in the multiple mobile terminals 100 in location.
In Fig. 2, describe multiple satellites 300, but be understandable that, can utilize any numberSatellite obtain useful locating information. GPS module 115 is constructed to and satellite conventionally as shown in Figure 1300 coordinate to obtain the locating information of wanting. Substitute GPS tracking technique or outside GPS tracking technique,Can use other technology of position that can tracking mobile terminal. In addition, at least one gps satellite 300Can optionally or extraly process satellite dmb transmission.
As a typical operation of radio communication device, BS270 receives from various mobile terminals 100Reverse link signal. Mobile terminal 100 participates in communicating by letter of call, information receiving and transmitting and other type conventionally. SpecialDetermine each reverse link signal that base station 270 receives is processed in particular B S270. The data that obtainBe forwarded to relevant BSC275. BSC provides call resource to distribute and comprise the soft handover between BS270The mobile management function of the coordination of process. BSC275 is also routed to MSC280 by the data that receive, itsBe provided for forming with PSTN290 the extra route service of interface. Similarly, PSTN290 withMSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270Forward link signals is sent to mobile terminal 100.
Based on the structure of above-mentioned mobile terminal hardware configuration, communicator, propose network of the present invention and connect dressPut each embodiment.
With reference to Fig. 3, Fig. 3 is the high-level schematic functional block diagram of network connection device the first embodiment of the present invention.
It is emphasized that to one skilled in the art, shown in Fig. 3, functional block diagram is onlyThe exemplary plot of a preferred embodiment, those skilled in the art is around the network connection device shown in Fig. 3Functional module, can carry out easily new functional module supplement; The title of each functional module is self-definedTitle, only, for auxiliary each program function piece of understanding this network connection device, is not used in and limits thisBright technical scheme, the core of technical solution of the present invention is that the functional module of define name will reach separatelyThe function becoming.
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 detect, current unlatching is pre-If application, determines whether the described application of opening can move;
In the present embodiment, in the time that terminal connects internal wireless LAN, due to internal wireless LANServer is provided with the authority of disable access to some application, therefore, can cause terminal to open serverWhen the application of disable access, also cannot normally move, therefore, in the present embodiment, current opening detectedWhile opening default application, described determination module 10 first determines whether the described application of opening can move. If openDescribed application can move, explanation open described application can access described internal wireless LANServer, now, directly surf the Net by described internal wireless LAN; If now openDescribed application cannot move, and the described default application that explanation is opened is internal wireless office described in disable accessThe server of territory net, now, carry out following examples.
Be understandable that, default application described in the present embodiment can be for the application of information pushing class, as clearLook at device application etc., described default application can also be the application of information interaction class, as micro-letter application or QQ shouldWith etc. Certainly in the time that the application of the server disable access of internal wireless LAN is more, can be clothes,Business device is in advance to allowing the application type setting of access services device, as the application type mark to allowing accessCarry out record, in the time having application open and access described server, described determination module 10 is determined described answeringWith type identification, in the time that definite type identification is consistent with the type identification prestoring, allow described applicationAccess described server; And in the time that the application of the server disable access of internal wireless LAN is less, canTo be the server application type setting to disable access server in advance, as the application class to disable accessType mark is carried out record, and in the time having application open and access described server, described determination module 10 is determinedThe type identification of described application, in the time that definite type identification is consistent with the type identification prestoring, forbids instituteState server described in application access.
In the present embodiment, described terminal includes but not limited to the terminals such as mobile phone, PAD, PC computer, instituteState WLAN and include but not limited to wifi (WIrelessFidelity, Wireless Fidelity), NFC (NearFieldCommunication, the short distance wireless communication technology) etc. WLAN, in the present embodiment, excellentSelecting described WLAN is wifi.
Link block 20, if cannot move for the described application of current unlatching, by described the answering of openingWith being connected 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 willThe described application of opening is connected 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, directObtain the existing mobile network data of described terminal, then described link block 20 is by the described application of openingBe connected in online passage corresponding to described mobile network, normally to move described application.
2) mode two, particularly, with reference to Fig. 4, described link block 20 comprises:
Acquiring unit 21, if cannot move for the described application for current unlatching, obtains extranetsNetwork;
Linkage unit 22, in the time that the external network obtaining is mobile network, by the described application of openingBe connected 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, will openDescribed application be connected 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 be firstObtain external network, in the present embodiment, described external network can be the network that terminal searching arrives, and enters oneStep ground, is the flexibility that improves terminal interconnection network, can be also terminal searching to network in, network speedBe 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, soThe described application of opening is connected to the online passage that described external network is corresponding by rear described linkage unit 22In, to move described application.
In the present embodiment, described external network comprises mobile network or external wireless LAN, particularly,Comprise: if the described application of current unlatching cannot move, first described acquiring unit 21 is first obtained mobile networkNetwork, then the described application of opening is connected to online corresponding to described mobile network by described linkage unit 22In passage, to move described application; If the described application of current unlatching cannot move, first first outside searchPortion's WLAN, if in the time searching external wireless LAN, described acquiring unit 21 is obtained and is searchedDescribed WLAN, and described linkage unit 22 by open described application be connected to described outsideIn online passage corresponding to WLAN, 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 Fig. 5, in the time that terminal connects internal wireless LAN, as connected enterprises wireless localWhen net, current enterprise's mailbox can move, if the default application of current unlatching detected, as micro-letter shouldWith, and described micro-letter of opening is in the time that the net environment of described internal wireless LAN cannot move, and obtainsGet external network, if when the described external network obtaining is mobile network, now, described micro-by what openLetter application is connected in online passage corresponding to described mobile network, to move described micro-letter application, realizesLiao Shi enterprise mailbox is walked internal wireless LAN automatically, and mobile network is walked in micro-letter application automatically.
2, with reference to Fig. 6, in the time that terminal connects internal wireless LAN, as connected enterprises wireless localWhen net, current enterprise's mailbox can move, if the default application of current unlatching detected, as micro-letter shouldWith, and described micro-letter of opening net environment of being applied in described internal wireless LAN be cannot move time,Obtain external network, if when the described external network obtaining is external wireless LAN, now, will openThe application of described micro-letter be connected in the online passage that described external wireless LAN is corresponding, described in movingMicro-letter application,, be the equal of two different WLANs of the current connection of terminal, enterprise's mailbox can be straightThe server of internal wireless LAN is asked in receiving, and cannot access micro-letter application of internal wireless LAN,Access the server of external wireless LAN.
The network connection device that the present embodiment proposes, described network connection device comprises: determination module and companyConnection module, in the time that terminal connects internal wireless LAN, if the default application of current unlatching detected, determinesModule 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, described in movingApplication, instead of in the time connecting internal wireless LAN, if will open some applications, can only disconnectWith being connected of internal wireless LAN, and reconnect external network, the present invention connects inner office in terminalWhen net in territory, if unlatching applications detected, applications is switched to the online that external network is correspondingIn passage, to move described applications, realize in connecting internal wireless LAN, canNormal operation applications, thus the intelligent of network connection improved.
Further, the flexibility connecting in order to improve network, with reference to Fig. 7, proposes based on the first embodimentThe second embodiment of network connection device of the present invention, in the present embodiment, described network connection device also wrapsDraw together:
Disconnect module 30, for connect described mobile network's process in described application, if described in detectingWhen flow surplus value corresponding to mobile network is less than predetermined threshold value, disconnect described application and described mobile networkCommunication connection;
Output module 40, for exporting information, flow residue corresponding to described mobile network to point outValue, 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, in instituteState application and be connected in online passage corresponding to described mobile network, to move in the process of described application,Flow surplus value corresponding to mobile network described in Real-Time Monitoring, and surplus at flow corresponding to described mobile networkWhen residual value is less than predetermined threshold value, for example, while being less than 100M, described disconnection module 30 disconnects described applicationCommunication connection with described mobile network, that is to say, does not now re-use mobile network and moves unlatchingDescribed application, further, described output module 40 is exported information, to point out described mobile networkCorresponding flow surplus value, and/or prompting user connects external wireless LAN to move described application.
Further, the flexibility connecting for improving network, in described application connection mobile network's processIn, the flow surplus value of the moving network of first timing shift detection, and in flow residue corresponding to described mobile networkWhen value is less than preset value, during as 110M, just switch to real-time detection mobile network's flow surplus value, andIn the time that flow surplus value corresponding to described mobile network is less than predetermined threshold value, as while being less than 100M, described disconnectedDie sinking piece 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 networkFlow surplus value, and in the time that described mobile network's flow surplus value is less than predetermined threshold value, described in disconnectionApplication is connected with described mobile network's, and exports information, to point out described mobile network correspondingFlow surplus value, and/or point out user to connect external wireless LAN to move described application, thus improveNetwork connect intelligent and flexibility.
In another embodiment, described network switching device also comprises: thread distribution module, and for by instituteState thread and distribute to the data channel of mobile network and WIFI network; Data download module, each for controllingThread is set up at least two transmission links by corresponding data channel, downloads by each transmission link piecemealDescribed data.
In another embodiment, described thread set up module for: according to the size of data to be loaded withAnd the CPU check figure of terminal and the definite quantity of setting up thread of best thread tenability.
The present invention further provides a kind of method for connecting network.
With reference to Fig. 8, Fig. 8 is the schematic flow sheet of method for connecting network the first embodiment of the present invention.
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,Determine whether the described application of opening can move;
In the present embodiment, in the time that terminal connects internal wireless LAN, due to internal wireless LANServer is provided with the authority of disable access to some application, therefore, can cause terminal to open serverWhen the application of disable access, also cannot normally move, therefore, in the present embodiment, current opening detectedWhile opening default application, first determine whether the described application of opening can move. If the described application of opening is passableOperation, the described application that explanation is opened can be accessed the server of described internal wireless LAN, thisTime, directly surf the Net by described internal wireless LAN; If the described application of now opening cannot be transportedOK, the described default application that explanation is opened is the server of internal wireless LAN described in disable access,Now, carry out the step of following examples.
Be understandable that, default application described in the present embodiment can be for the application of information pushing class, as clearLook at device application etc., described default application can also be the application of information interaction class, as micro-letter application or QQ shouldWith etc. Certainly in the time that the application of the server disable access of internal wireless LAN is more, can be clothes,Business device is in advance to allowing the application type setting of access services device, as the application type mark to allowing accessCarry out record, having application when opening and accessing described server, described server is determined described applicationType identification, in the time that definite type identification is consistent with the type identification prestoring, allows described application accessDescribed server; And in the time that the application of the server disable access of internal wireless LAN is less, Ke YishiServer is the application type setting to disable access server in advance, as the application type mark to disable accessKnow and carry out record, in the time having application open and access described server, described server is determined described applicationType identification, in the time that definite type identification is consistent with the type identification prestoring, forbid that described application visitsAsk described server.
In the present embodiment, described terminal includes but not limited to the terminals such as mobile phone, PAD, PC computer, instituteState WLAN and include but not limited to wifi (WIrelessFidelity, Wireless Fidelity), NFC (NearFieldCommunication, the short distance wireless communication technology) etc. WLAN, in the present embodiment, excellentSelecting described WLAN is wifi.
Step S20, if the described application of current unlatching cannot move, is connected to the described application of openingIn online passage corresponding to external network, to move described application.
In the present embodiment, if the described application of current unlatching cannot move, by the described application of openingBe connected in the online passage that external network is corresponding, to move described default application, be 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, directObtain the existing mobile network data of described terminal, then the described application of opening is connected to described movementIn online passage corresponding to network, normally to move described application.
2) mode two, particularly, with reference to Fig. 9, 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 institute by the described application of openingState in online passage corresponding to mobile network, to move described application;
Step S23, in the time that the external network obtaining is external wireless LAN, connects the described application of openingBe connected 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, and for improving endThe flexibility of end interconnection network can be also terminal searching to network in, network speed is greater than default network speedNetwork, and the network that described network speed is greater than to default network speed is as external network, then by described in unlatchingApplication 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,Comprise: if the described application of current unlatching cannot move, first terminal is first obtained mobile network, then willThe 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 searchingWhen rope arrives external wireless LAN, obtain the described WLAN searching, and by described the answering of openingWith being 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 Fig. 5, in the time that terminal connects internal wireless LAN, as connected enterprises wireless localWhen net, current enterprise's mailbox can move, if the default application of current unlatching detected, as micro-letter shouldWith, and described micro-letter of opening is in the time that the net environment of described internal wireless LAN cannot move, and obtainsGet external network, if when the described external network obtaining is mobile network, now, described micro-by what openLetter application is connected in online passage corresponding to described mobile network, to move described micro-letter application, realizesLiao Shi enterprise mailbox is walked internal wireless LAN automatically, and mobile network is walked in micro-letter application automatically.
2, with reference to Fig. 6, in the time that terminal connects internal wireless LAN, as connected enterprises wireless localWhen net, current enterprise's mailbox can move, if the default application of current unlatching detected, as micro-letter shouldWith, and described micro-letter of opening net environment of being applied in described internal wireless LAN be cannot move time,Obtain external network, if when the described external network obtaining is external wireless LAN, now, will openThe application of described micro-letter be connected in the online passage that described external wireless LAN is corresponding, described in movingMicro-letter application,, be the equal of two different WLANs of the current connection of terminal, enterprise's mailbox can be straightThe server of internal wireless LAN is asked in receiving, and cannot access micro-letter application of internal wireless LAN,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 detectTo the default application of current unlatching, first determine whether the described application of opening can move, if the institute of current unlatchingStating application 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 will open some applications,Can only disconnect and being connected of internal wireless LAN, and reconnect external network, the present invention connects in terminalWhile connecing internal lan, if unlatching applications detected, applications is switched to external network pairIn the online passage of answering, to move described applications, realize and connected the same of internal wireless LANTime, can normally move applications, thereby improve the intelligent of network connection.
Further, the flexibility connecting in order to improve network, with reference to Figure 10, carries based on the first embodimentGo out the second embodiment of method for connecting network of the present invention, in the present embodiment, the described connection of obtainingWhen network 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 described mobile network detectedWhen corresponding flow surplus value is less than predetermined threshold value, disconnect described application and described mobile network's communication linkConnect;
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, in instituteState application and be connected in online passage corresponding to described mobile network, to move in the process of described application,Flow surplus value corresponding to mobile network described in Real-Time Monitoring, and surplus at flow corresponding to described mobile networkWhen residual value is less than predetermined threshold value, for example, while being less than 100M, disconnect described application and described mobile networkCommunication connection, that is to say, does not now re-use mobile network and move the described application of unlatching, furtherGround, described terminal output information, flow surplus value corresponding to described mobile network to point out, and/orPrompting user connects external wireless LAN to move described application.
Further, the flexibility connecting for improving network, in described application connection mobile network's processIn, the flow surplus value of the moving network of first timing shift detection, and in flow residue corresponding to described mobile networkWhen value is less than preset value, during as 110M, just switch to real-time detection mobile network's flow surplus value, andIn the time that flow surplus value corresponding to described mobile network is less than predetermined threshold value, as while being less than 100M, disconnect instituteState application and described mobile network's communication connection.
In the present embodiment, connect in mobile network's process in described application, by detecting mobile networkFlow surplus value, and in the time that described mobile network's flow surplus value is less than predetermined threshold value, described in disconnectionApplication is connected with described mobile network's, and exports information, to point out described mobile network correspondingFlow surplus value, and/or point out user to connect external wireless LAN to move described application, thus improveNetwork connect intelligent and flexibility.
In another embodiment, described method also comprises: set up at least two according to data load instructions and addCarry the thread of data; Described thread is distributed to the data channel of mobile network and WIFI network; Control eachThread is set up at least two transmission links by corresponding data channel, downloads by each transmission link piecemealDescribed data.
In an embodiment again, describedly set up at least two threads that load data according to data load instructionsComprise: the size of obtaining data to be loaded according to data load instructions; According to the size of described data withAnd the CPU check figure of terminal and the definite number of threads that loads described data of best thread tenability, and buildThe thread of vertical respective numbers.
Mobile terminal 100 can be constructed to utilize via frame or grouping and send data as shown in Figure 9Operate with wireless communication system and satellite-based communication system such as wired.
The communication system that wherein can operate according to mobile terminal of the present invention is described referring now to Figure 10.
Such communication system can be used different air interfaces and/or physical layer. For example,, by communication systemThe air interface that system uses comprises for example frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA(CDMA) and UMTS (UMTS) (Long Term Evolution (LTE) especially), the whole world mobile logicalCommunication system (GSM) etc. As non-limiting example, description below relates to cdma communication system, butIt is the system that such instruction is equally applicable to other type.
With reference to Figure 10, cdma wireless communication system can comprise multiple mobile terminals 100, multiple base station(BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280. MSC280 is constructed toForm interface with Public Switched Telephony Network (PSTN) 290. MSC280 be also constructed to can via returnThe BSC275 that journey circuit is couple to base station 270 forms interface. Back haul link can be according to some interfaces that oneself knowsIn any construct, described interface comprises for example E1/T1, ATM, IP, PPP, frame relay, HDSL,ADSL or xDSL. Will be appreciated that system can comprise multiple BSC2750 as shown in Figure 10.
Each BS270 can serve one or more subregions (or region), by multidirectional antenna or sensing certain partyTo each subregion of antenna cover radially away from BS270. Or, each subregion can by for pointTwo or more antenna covers that collection receives. Each BS270 can be constructed to support multiple frequencies to distribute,And each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of frequency distribution. BS270 also can be called as base stationTransceiver subsystem (BTS) or other equivalent terms. Under these circumstances, term " base station " can be usedIn broadly representing single BSC275 and at least one BS270. Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular stations.
As shown in Figure 10, broadcast singal is sent to moving of operating in system by broadcsting transmitter (BT) 295Moving terminal 100. Broadcast reception module as shown in Figure 9 111 is arranged on mobile terminal 100 and sentences receptionThe broadcast singal being sent by BT295. In Figure 10, show several global positioning systems (GPS) satellite 300.Satellite 300 helps at least one in the multiple mobile terminals 100 in location.
In Figure 10, describe multiple satellites 300, but understood, can utilize defending of any numberStar obtains useful locating information. GPS module 115 is constructed to and satellite 300 conventionally as shown in Figure 9Coordinate the locating information of wanting to obtain. Substitute GPS tracking technique or outside GPS tracking technique, canTo use other technology of position that can tracking mobile terminal. In addition, at least one gps satellite 300 canOptionally or extraly to process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives from various mobile terminals 100Reverse link signal. Mobile terminal 100 participates in communicating by letter of call, information receiving and transmitting and other type conventionally. SpecialDetermine each reverse link signal that base station 270 receives is processed in particular B S270. The data that obtainBe forwarded to relevant BSC275. BSC provides call resource to distribute and comprise the soft handover between BS270The mobile management function of the coordination of process. BSC275 is also routed to MSC280 by the data that receive, itsBe provided for forming with PSTN290 the extra route service of interface. Similarly, PSTN290 withMSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270Forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, propose the present invention is based on twin-channel numberAccording to each embodiment of loading method.
As shown in figure 11, propose the present invention is based on twin-channel data load method the 4th embodiment, described inMethod comprises the following steps:
S11, set up at least two according to data load instructions and load the threads of data.
Concrete, when user click certain link, when opening certain page or downloading certain file, terminalReceive data load instructions, obtain immediately the size of data to be loaded, and according to number to be loadedAccording to size and CPU (central processing unit) check figure of terminal and best thread tenability determine and loadThe number of threads of these data, and set up the thread of respective numbers, so that data to be loaded are divided into multiple numbersAccording to piece, each thread is responsible for loading a data block.
In certain embodiments, number of threads also can be according to the CPU check figure of terminal and best thread supportAbility is pre-set, and terminal is all set up the thread of predetermined number at every turn.
Wherein, CPU check figure, refers to that CPU processes the quantity of core, has monokaryon, double-core, multinuclear etc. ManyCore CPU is equivalent to integrated multiple complete computing engines (being core) on a CPU, and they share slowDeposit, internal memory, register etc.
Wherein, each program of just moving in system is a process, and process may be also whole journeyThe Dynamic Execution of order or subprogram, each process comprises one to multiple threads. Thread is one groupThe set of instruction, or the particular segment of program, it can independent execution in program. Thread is equivalent toThe process of lightweight, it is responsible for carrying out multitask in single program, is conventionally responsible for multiple by operating systemThe scheduling of thread and execution. Multithreading be work in order to make multiple thread parallels to complete the multi-task,To improve the efficiency of system, thread is to be implemented when having needed the multi-task at one time.
S12, each thread is distributed to the data channel of mobile network and WIFI network.
Concrete, the first network quality of the data channel of detection of dynamic mobile network and WIFI network, soCarry out afterwards the distribution of thread according to network quality, that is: for the better data channel of network quality is distributed moreThread, the poor data channel of network quality is distributed less thread, when the network matter of each data channelMeasure when suitable and be distributed equally. The detection of network quality can adopt existing detection method, at thisRepeat no more.
Wherein, mobile network can be 2G network, 3G network or 4G network, for example: LTE network, GSMNetwork, GPRS network, cdma network, EDGE network, wlan network, CDMA-2000 netNetwork, TD-SCDMA network, WCDMA network etc.
For example, terminal has been set up 3 threads and has been loaded data, and the data channel ratio of WIFI network movesThe network quality of the data channel of moving network is good, is that the data channel of WIFI network is distributed 2 threads, forMobile network's data channel is distributed 1 thread.
In certain embodiments, also can give two data channel by each thread mean allocation or Random assignment.
S13, control each thread and set up at least two transmission links by corresponding data channel.
Concrete, the each thread of terminal control connects with server respectively by data channel separately,And set up transmission link.
For example, suppose that mobile network's data channel has been distributed 1 thread, the data of WIFI network are logicalRoad has distributed 3 threads, and the thread of distributing to mobile network's data channel just passes through this mobile network'sThe server at data channel and data to be loaded place connects, and sends request for building link and sets up oneIndividual transmission link; 3 threads distributing to the data channel of WIFI network just pass through respectively this WIFI network numberThe server according to passage and data to be loaded place connect, send request for building link and also set up threeIndividual transmission link.
S14, by each transmission link piecemeal downloading data.
Concrete, server receives the request for building link that each thread sends by data channel separatelyAfter, set up corresponding transmission link, and send data block corresponding each thread to terminal along transmission link,So that terminal is passed through each transmission link piecemeal downloading data, terminal is collected the data that each thread of reception returnsAnd merge.
Further, in data transmission procedure, detect unusual condition, when a wherein data channel being detectedWhile there is transmission abnormality (losing as there is data, services), detect the number of downloading by this data channelAccording in the remaining data not yet downloaded, and set up new thread in another data channel, start breakpoint transmissionDownload this remaining data.
As shown in figure 12, propose the present invention is based on twin-channel data load method the 5th embodiment, described inMethod comprises the following steps:
S21, set up and load the first thread and second thread of data according to data load instructions.
In the present embodiment, mobile network is LTE network, and its corresponding data channel is LTE passage, WIFIThe data channel that network is corresponding is WIFI passage.
As shown in figure 13, user enables after the binary channels download function of terminal, and terminal is opened LTE network simultaneouslyWith WIFI network function, and set up respectively first network and connect and is connected with second network, formation LTE passage withWIFI passage. In the time that user clicks download file, terminal receives data load instructions, obtains lower published articleThe size of part, specifies the required number of threads of download file, sets up first thread and second of respective numbersThread, each thread is responsible for loading a data block.
S22, the first thread is distributed to LTE passage, the second thread is distributed to WIFI passage.
Concrete, as shown in figure 13, terminal is carried out binary channels link quality measurements according to link Measurement Algorithm,Carry out the distribution of binary channels thread by measurement report, that is: detect respectively the network of LTE passage and WIFI passageQuality, for the good data channel of network quality is distributed more thread.
For example, suppose that WIFI passage is better than the network quality of LTE passage, the first thread has 1, and secondThread has 3,1 the first thread is distributed to LTE passage, and 3 the second threads are distributed to WIFI passage.
S23, control the first thread, by LTE Path Setup the first transmission link, are controlled the second thread and are passed throughWIFI Path Setup the second transmission link.
Concrete, as shown in figure 13, terminal utilizes LTE passage thread (to distribute to first of LTE passageThread) by LTE Path Setup the first transmission link, send link download request to server, under requestThe first packet of published article part; Utilize WIFI passage thread (distributing to the second thread of WIFI passage)By WIFI Path Setup the second transmission link, send link download request to server, the lower published article of requestThe second packet of part.
S24, by the first transmission link and the second transmission link piecemeal downloading data.
Concrete, as shown in figure 13, terminal is opened thread and carries out transfer of data according to thread request: logicalThe first transmission link of crossing LTE passage transmits the first packet P1, by the second chain of WIFI passageThe second packet P2 is transmitted on road. Finally, after binary channels has been downloaded, unpack and merge and obtain whole downloadThe packet M of file.
Further, in data transmission procedure, terminal is carried out channel-monitoring to LTE/WIFI binary channels,Abnormal to process in real time. Suppose to listen to LTE loss of service, detect in the second packet P2 and not yet downloadRemaining data P3, in WIFI passage, set up new thread, start breakpoint transmission and download remaining data P3.
The present invention is based on twin-channel data load method, by setting up multiple threads, and each thread is dividedThe data channel of dispensing mobile network and WIFI network, controls each thread and sets up by corresponding data channelMultiple transmission links are downloaded same data by the transmission link piecemeal of two data channel simultaneously, sameTime use two networks online of mobile network and WIFI network, greatly promoted data loading speed, promoteUser online experience. And, distribute the decision-making power of thread in end side but not server side, reduceThe load of server, meet flattening design principle.
The present invention further provides one based on twin-channel data loading device, be applied to aforementioned eventually mobileEnd. Now, based on above-mentioned mobile terminal hardware configuration and communication system, propose the present invention is based on twin-channelThe each embodiment of data loading device.
As shown in figure 14, propose the present invention is based on twin-channel data loading device the 4th embodiment, described inDevice comprises that thread sets up module, thread distribution module and data download module, wherein:
Thread is set up module: for set up at least two threads that load data according to data load instructions.
Alternatively, thread set up module according to the CPU check figure of the size of data to be loaded and terminal andBest thread tenability is determined the number of threads of the required foundation of downloading data, and sets up the line of respective numbersJourney.
Alternatively, thread is set up module and sets up according to the number of threads that sets in advance the thread of predetermined number.
Thread distribution module: for each thread being distributed to the data channel of mobile network and WIFI network.
Alternatively, thread distribution module detection of dynamic mobile network's data channel and the data of WIFI networkThe network quality of passage, for the better data channel of network quality is distributed more thread.
Alternatively, each thread mean allocation or Random assignment are given two data channel by thread distribution module.
Wherein, mobile network can be 2G network, 3G network or 4G network, for example: LTE network, GSMNetwork, GPRS network, cdma network, EDGE network, wlan network, CDMA-2000 netNetwork, TD-SCDMA network, WCDMA network etc.
Data download module: set up at least two transmission by corresponding data channel for controlling each threadLink, by each transmission link piecemeal downloading data.
Concrete, data download module utilizes each thread to set up a transmission by corresponding data channelLink, utilizes each transmission link to collect and receives the data that each thread returns, and finally each data is mergedRestructuring, obtains complete data.
Referring to Figure 15, propose the present invention is based on twin-channel data loading device the 5th embodiment, this enforcementExample is to have increased by an abnormality processing module with the difference of the 4th embodiment, and described abnormality processing module is used for:
In data transmission procedure, detect unusual condition, when detecting that wherein a data channel occurs that transmission is differentWhile often (loss as there is data, services), detect in the data of downloading by this data channel and not yet downloadRemaining data, in another data channel, set up new thread and download this remaining data.
For example, in data transmission procedure, abnormality processing module detects that the data channel of WIFI network goes outWhether all existing transmission abnormality, detect by the data download of the data channel transmission of WIFI network,If all do not download, detect the remaining data of not yet downloading, in mobile network's data channel, buildVertical new thread, starts breakpoint transmission and downloads this remaining data.
The present invention is based on twin-channel data loading device, by setting up multiple threads, and each thread is dividedThe data channel of dispensing mobile network and WIFI network, controls each thread and sets up by corresponding data channelMultiple transmission links use the transmission link piecemeal of two data channel to download same data simultaneously, sameTime use two networks online of mobile network and WIFI network, greatly promoted data loading speed, promoteUser online experience.
Above-described embodiment provides based on twin-channel data loading device and based on twin-channel data loading sideMethod embodiment belongs to same design, and its specific implementation process refers to embodiment of the method, and in embodiment of the methodTechnical characterictic equal corresponding being suitable in device embodiment, repeat no more here.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variantBe intended to contain comprising of nonexcludability, thus make to comprise a series of key elements process, method, article orPerson's system not only comprises those key elements, but also comprises other key element of clearly not listing, or alsoBe included as the intrinsic key element of this process, method, article or system. There is no the feelings of more restrictionsUnder condition, by statement " comprising ... " limit key element, and be not precluded within comprise this key element process,In method, article or system, also there is 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 above-mentionedThe mode that embodiment method can add essential general hardware platform by software realizes, and can certainly lead toCross hardware, but in a lot of situation, the former is better embodiment. Based on such understanding, of the present inventionThe part that technical scheme contributes to prior art in essence in other words can be with the form body of software productReveal to come, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, lightDish) in, (can be mobile phone, computer, serves in order to make a station terminal equipment to comprise some instructionsDevice, 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, everyUtilize equivalent structure or the conversion of equivalent flow process that description of the present invention and accompanying drawing content do, or directly orConnect and be used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a network connection device, is characterized in that, described network connection device comprises following:
Determination module, in the time that terminal connects internal wireless LAN, if detect, current unlatching is defaultApplication, determines whether the described application of opening can move;
Link block, if cannot move for the described application of current unlatching, by the described application of openingBe connected in the online passage that external network is corresponding, to move described application;
Thread is set up module, for set up at least two threads that load data according to data load instructions.
2. network connection device as claimed in claim 1, is characterized in that, described link block comprises:
Acquiring unit, if cannot move for the described application of current unlatching, obtains external network;
Linkage unit, in the time that the external network obtaining is mobile network, connects the described application of openingBe connected in online passage corresponding to described mobile network, to move described application;
Described linkage unit, in the time that the external network obtaining is external wireless LAN, by what openDescribed application is connected in the online passage that described external wireless LAN is corresponding, to move described application.
3. network connection device as claimed in claim 2, is characterized in that, described network connection deviceAlso comprise:
Disconnect module, for connect described mobile network's process in described application, if move described in detectingWhen moving flow surplus value corresponding to network is less than predetermined threshold value, disconnect described application and described mobile networkCommunication connection;
Output module, 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.
4. network switching device as claimed in claim 1, is characterized in that, described network switching deviceAlso comprise:
Thread distribution module, leads to for the data of described thread being distributed to mobile network and WIFI networkRoad;
Data download module, sets up at least two transmission for controlling each thread by corresponding data channelLink, downloads described data by each transmission link piecemeal.
5. network connection device according to claim 4, is characterized in that, described thread is set up mouldPiece is used for:
True according to the CPU check figure of the size of data to be loaded and terminal and best thread tenabilitySurely set up the quantity of thread.
6. a method for connecting network, is characterized in that, described method for connecting network comprises the following steps:
In the time that terminal connects internal wireless LAN, if the default application of current unlatching detected, determine and openDescribed application whether can move;
If the described application of current unlatching cannot move, the described application of opening is connected to external networkIn corresponding online passage, to move described application.
7. method for connecting network as claimed in claim 6, is characterized in that, if described current unlatchingDescribed application cannot move, the described application of opening is connected in the online passage that external network is corresponding,Comprise with the step of moving described application:
If the described application of current unlatching cannot move, obtain external network;
In the time that the external network obtaining is mobile network, the described application of opening is connected to described mobile networkIn online passage corresponding to network, to move described application;
In the time that the external network obtaining is external wireless LAN, described in the described application of opening is connected toIn online passage corresponding to external wireless LAN, to move described application.
8. method for connecting network as claimed in claim 7, is characterized in that, the described outside obtainingWhen network is mobile network, the described application of opening is connected to online passage corresponding to described mobile networkIn, after moving the step of described application, described method for connecting network also comprises:
Connect in described mobile network's process in described application, if the stream that described mobile network is corresponding detectedWhen amount surplus value is less than predetermined threshold value, disconnect described application and described mobile network's communication connection;
Output information, flow surplus value corresponding to described mobile network to point out, and/or prompting userConnect external wireless LAN to move described application.
9. method for connecting network as claimed in claim 6, is characterized in that, described method also comprises:
Set up at least two threads that load data according to data load instructions;
Described thread is distributed to the data channel of mobile network and WIFI network;
Control each thread and set up at least two transmission links by corresponding data channel, by each chainRoad piecemeal is downloaded described data.
10. method for connecting network according to claim 9, is characterized in that, described according to dataLoad instructions is set up at least two threads that load data and is comprised:
Obtain the size of data to be loaded according to data load instructions;
Determine and add according to the CPU check figure of the size of described data and terminal and best thread tenabilityCarry the number of threads of described data, and set up the thread of respective numbers.
CN201610059373.5A 2016-01-28 2016-01-28 Network connecting device and method Pending CN105592511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610059373.5A CN105592511A (en) 2016-01-28 2016-01-28 Network connecting device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610059373.5A CN105592511A (en) 2016-01-28 2016-01-28 Network connecting device and method

Publications (1)

Publication Number Publication Date
CN105592511A true CN105592511A (en) 2016-05-18

Family

ID=55931621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610059373.5A Pending CN105592511A (en) 2016-01-28 2016-01-28 Network connecting device and method

Country Status (1)

Country Link
CN (1) CN105592511A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682161A (en) * 2016-01-28 2016-06-15 努比亚技术有限公司 Network connecting device and method
CN106899649A (en) * 2016-06-30 2017-06-27 阿里巴巴集团控股有限公司 A kind of task requests processing method, device and user equipment
CN107343106A (en) * 2017-08-04 2017-11-10 闻泰通讯股份有限公司 Mobile terminal WiFi uses control method
CN108337706A (en) * 2018-02-05 2018-07-27 广东欧珀移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium
CN109362111A (en) * 2018-12-24 2019-02-19 上海连尚网络科技有限公司 Information cuing method
CN110225462A (en) * 2019-07-19 2019-09-10 深圳市盛维智联科技有限公司 A kind of method, system and device preventing network congestion
CN114554431A (en) * 2022-02-16 2022-05-27 济南宏腾信息科技有限公司 Big data-based short video traffic use early warning system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378795A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Automatic switching method and corresponding electronic device
CN104639522A (en) * 2013-11-15 2015-05-20 华为终端有限公司 Network access control method and device
CN104703163A (en) * 2013-12-06 2015-06-10 中国电信股份有限公司 Real-time monitoring method for remaining Internet surfing flow of terminal and flow monitoring server
CN105100090A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Communication method, server and system based on internal and external network separation
CN105094960A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Data loading device and method based on two channels

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378795A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Automatic switching method and corresponding electronic device
CN104639522A (en) * 2013-11-15 2015-05-20 华为终端有限公司 Network access control method and device
CN104703163A (en) * 2013-12-06 2015-06-10 中国电信股份有限公司 Real-time monitoring method for remaining Internet surfing flow of terminal and flow monitoring server
CN105100090A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Communication method, server and system based on internal and external network separation
CN105094960A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Data loading device and method based on two channels

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682161A (en) * 2016-01-28 2016-06-15 努比亚技术有限公司 Network connecting device and method
CN105682161B (en) * 2016-01-28 2020-01-10 广东电网有限责任公司中山供电局 Network connection device and method
CN106899649A (en) * 2016-06-30 2017-06-27 阿里巴巴集团控股有限公司 A kind of task requests processing method, device and user equipment
CN106899649B (en) * 2016-06-30 2020-09-08 阿里巴巴集团控股有限公司 Task request processing method and device and user equipment
CN107343106A (en) * 2017-08-04 2017-11-10 闻泰通讯股份有限公司 Mobile terminal WiFi uses control method
CN107343106B (en) * 2017-08-04 2020-12-01 闻泰通讯股份有限公司 WiFi (Wireless Fidelity) use control method of mobile terminal
CN108337706A (en) * 2018-02-05 2018-07-27 广东欧珀移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium
CN108337706B (en) * 2018-02-05 2021-02-26 Oppo广东移动通信有限公司 Wireless network switching method, mobile terminal and storage medium
CN109362111A (en) * 2018-12-24 2019-02-19 上海连尚网络科技有限公司 Information cuing method
CN110225462A (en) * 2019-07-19 2019-09-10 深圳市盛维智联科技有限公司 A kind of method, system and device preventing network congestion
CN114554431A (en) * 2022-02-16 2022-05-27 济南宏腾信息科技有限公司 Big data-based short video traffic use early warning system and method
CN114554431B (en) * 2022-02-16 2024-02-06 武汉纵拓信息技术有限公司 Short video flow use early warning system and method based on big data

Similar Documents

Publication Publication Date Title
CN105592511A (en) Network connecting device and method
CN105873145B (en) A kind of method and device for realizing network formats switching
CN105611594A (en) Network switching device and method
CN105511928B (en) System upgrade device and method
CN105677231A (en) Associated application split-screen display device and method as well as terminal
CN105867789A (en) Method and method for preventing misoperation
CN104967573B (en) A kind of monitoring method and terminal of data traffic
CN105657175B (en) Network acceleration device and method
CN105721002B (en) A kind of terminal filtering method, system, device and terminal can be filtered
CN107436816A (en) Control method, system and the terminal that a kind of message is sent to
CN105722248A (en) Network speed superposing device and method
CN108234556A (en) A kind of backlog information based reminding method, terminal and server
CN106095464B (en) A kind of method and device of the seamless operation of application program
CN105898888A (en) Network speed stacking device and method
CN105843478A (en) Icon display control method and apparatus for shortcut switch
CN105681434B (en) Mobile terminal application method of data synchronization and device
CN107018069A (en) Network connection device and method
CN105491221B (en) A kind of functional module divides and the processing method and terminal of centralized displaying
CN105681547A (en) Middleware instance management device and method
CN106034336B (en) A kind of information processing method and mobile terminal
CN105743170B (en) A kind of control method and terminal to charge parallel
CN104991770B (en) The display methods and device of application icon
CN105611059A (en) Method and device for displaying availability of application programs and mobile terminal
CN105682083B (en) A kind of communication means of mobile terminal and duplex MODEM system
CN105611581A (en) Network connecting device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160518

RJ01 Rejection of invention patent application after publication