CN104981030A - Network connection control method and device - Google Patents

Network connection control method and device Download PDF

Info

Publication number
CN104981030A
CN104981030A CN201510408833.6A CN201510408833A CN104981030A CN 104981030 A CN104981030 A CN 104981030A CN 201510408833 A CN201510408833 A CN 201510408833A CN 104981030 A CN104981030 A CN 104981030A
Authority
CN
China
Prior art keywords
data network
mobile
mobile data
network
mobile terminal
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.)
Granted
Application number
CN201510408833.6A
Other languages
Chinese (zh)
Other versions
CN104981030B (en
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 CN201510408833.6A priority Critical patent/CN104981030B/en
Publication of CN104981030A publication Critical patent/CN104981030A/en
Application granted granted Critical
Publication of CN104981030B publication Critical patent/CN104981030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Landscapes

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

Abstract

The embodiment of the invention provides a network connection control method, which can be applied to a mobile terminal for building mobile data network connection. Whether a wireless data network exists is detected; wireless data network connection is built; and an instruction of not closing the mobile data network is not sent in a preset time threshold range so as to enable the mobile data network and the wireless data network to coexist. The invention also provides a network connection control device. According to the network connection control method provided by the invention, the mobile data network can be ensured to be smooth in the normal wireless data network establishment condition, the wireless data network and the mobile data network can coexist, effects of coexistence of two data networks can be achieved, and the data transmission efficiency is improved.

Description

Network connection control method and device
Technical field
The present invention relates to the communications field, particularly relate to network connection control method and device.
Background technology
Mobile data services and wireless data service are the major ways that current intelligent terminal user carries out surfing the Net, and terminal in the market all supports mobile data services and wireless data service mostly.When user out of doors time, the main mobile data services that adopt realize user demand such as online grade.When user is in indoor, then the wireless data service that adopts realizes the user demands such as online more.Existing intelligent terminal is after being connected with Mobile data Path Setup, and after now user selects to set up with wireless data channel, so terminal can disconnect the connection with Mobile data passage automatically, cannot realize altitude information and transmit.
Summary of the invention
Main purpose of the present invention is to propose a kind of network connection control method and device, can connect with mobile data network and radio data network to make intelligent terminal simultaneously.
For achieving the above object, embodiments provide a kind of network connection control method, be applied to mobile terminal, set up mobile data network and connect; Whether detecting exists radio data network; Set up radio data network to connect; Do not send in the time threshold range preset and close the instruction of mobile data network, to make mobile data network and radio data network and to deposit.
Preferably, the instruction of closing mobile data network is not sent in the time threshold range preset, comprise further to make mobile data network and radio data network and to deposit step: a time threshold values is set, time threshold values represent from mobile terminal be connected to radio data network how long after, close mobile data network; Whether detecting connects with radio data network; When detect connect with radio data network time, then timing is carried out to the connect hours of radio data network; When the connect hours of radio data network is greater than time threshold values, then disconnect mobile data network.
Preferably, when the connect hours of radio data network is less than time threshold values, whether the data link of detecting mobile data network is all discharged; When the data link of mobile data network is all discharged, then disconnect mobile data network.
Preferably, connect wireless if detect, then start timing wireless connect time step and comprise further,
When detect connect upper wireless time, ccf layer start timer, timer is for recording wireless connect time.
Preferably, mobile data network is LTE data network, disconnects mobile data network step and comprises further: the modulator-demodulator to mobile terminal sends request, to close mobile data network.
Preferably, the modulator-demodulator to mobile terminal sends request, and betides ccf layer.
Preferably, mobile data network is 2G or 3G data network, disconnects mobile data network step and comprises further: the modulator-demodulator to mobile terminal sends request, to close mobile data network, wherein, modulator-demodulator sends the first message request according to the request received to base station; Modulator-demodulator disconnects mobile data network according to the feedback message of base station.
Present invention also offers a kind of network connection control device, network connection control device is connected to mobile data network, the first link block, connects for setting up mobile data network; Whether detecting module, exist radio data network for detecting; Second link block, connects for setting up radio data network; Control module, closes the instruction of mobile data network for not sending in the time threshold range preset, to make mobile data network and radio data network and to deposit.
Preferably, device also comprises: logging modle, and for setting-up time threshold values, time threshold values represents how long connect radio data network closes mobile data network afterwards; Timing module, when connecting upper radio data network for detecting when detecting module, carries out timing to the connect hours of radio data network; Control module, for when the radio data network connect hours is greater than time threshold values, disconnects mobile data network.
Preferably, control module also for, if when the radio data network connect hours is less than time threshold values, detecting mobile data network data link whether be all released; If the data link of mobile data network is all released, then disconnect mobile data network.
The embodiment of the present invention utilizes to arrange and represents the time threshold values how long mobile terminal connection radio data network closes mobile data network afterwards, start to carry out timing to the connect hours of radio data network after radio data network in connection simultaneously, when the connect hours of radio data network is less than time threshold values, the connection status of mobile terminal and mobile data network and radio data network is kept in during time threshold values, and then carry out transmission from original single channel and become dual-channel transmission, improve efficiency of transmission.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of network connection control method first embodiment of the present invention;
Fig. 4 is the flow chart of S340 step in network connection control method first embodiment of the present invention
Fig. 5 is the schematic flow sheet of the S340 in network connection control method second embodiment of the present invention;
Fig. 6 is the schematic flow sheet of network connection control method of the present invention 3rd embodiment;
Fig. 7 is the schematic flow sheet in a concrete scene;
Fig. 8 is the high-level schematic functional block diagram of network connection control device first embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as 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 the fixed terminal of such as digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except 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 of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input unit 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 assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and radio communication device or network.Such as, wireless communication unit can comprise at least one in broadcast reception unit 111, mobile comm unit 112, wireless interconnected net unit 113, short-range communication unit 114 and positional information unit 115.
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.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcaster Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO @) the digital broadcast apparatus receiving digital broadcast of data broadcast device, received terrestrial digital broadcasting integrated service (ISDB-T) etc.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcaster of broadcast singal and above-mentioned digital broadcast apparatus.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (global pick device).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.
A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 122, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memory 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 121 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile comm unit 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration of mobile terminal 100 or speed is moved and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, audio output unit 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input unit and output device.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin-film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When audio output unit 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in memory 160 and exporting as sound.And audio output unit 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Audio output unit 152 can comprise pick-up, buzzer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incoming communication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or audio output unit 152.
Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multimedia unit 181 for reproducing (or playback) multi-medium data, and multimedia unit 181 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode of such as process or function can be implemented with allowing the independent software unit performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memory 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and radio communication device of data via frame or grouping and satellite-based communicator operates.
Describe wherein according to the communicator that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer.Such as, the air interface used by communicator comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA), code division multiple access (CDMA) and universal mobile communications device (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc.As non-limiting example, description below relates to cdma communication device, but such instruction is equally applicable to the device of other type.
With reference to figure 2, cdma wireless communication device can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that device as shown in Figure 2 can comprise multiple BSC2750.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as the sub-device of base station transceiver (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for 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 station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 operated in device by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several global pick device (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but be understandable that, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of radio communication device, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on the structure of above-mentioned mobile terminal hardware configuration, communicator, each embodiment of the inventive method is proposed.
As shown in Figure 3, first embodiment of the invention provides a kind of network connection control method, the method is applied in mobile terminal, the UI Preferences of this mobile terminal has mobile data network connecting valve, radio data network switch, user is by triggering mobile data network connecting valve or radio data network switch can make mobile terminal and mobile data network or radio data network connect.Wherein, mobile data network representative be the data network of card, it comprises the mobile data network of existing all standards, such as: 2G, 3G and LTE etc.; The network of the current focus class of radio data network covering scope, comprises WIFI and wlan etc.The method comprising the steps of:
S310. set up mobile data network to connect.
Particularly, the user of mobile device need to carry out file download with mobile terminal or carry out viewing Internet video etc. need the business of transfer of data time, user triggers mobile data network switch by the touch-screen of mobile terminal, connects to make mobile terminal and mobile data network.In the present embodiment, mobile data network is LTE data network.In other embodiments, mobile data network can be the data networks such as 2G, 3G.
S320. detect and whether there is radio data network.
When user is in indoor, when if desired carrying out file download or viewing Internet video, user triggers radio data network switch by the touch-screen of mobile terminal, and the radio data network of mobile terminal to surrounding is searched for.In the present embodiment, wireless data networking is wifi.Concrete implementation method can have been come by existing radio data network searching method, does not limit at this.When detect there is radio data network time, enter step S330.
S330. set up radio data network to connect.
When mobile scanning terminal is to when existing radio data network, user chooses corresponding radio data network by mobile terminal touch screen, and mobile terminal and radio data network are connected.
S340. do not send in the time threshold range preset and close the instruction of mobile data network, to make mobile data network and radio data network and to deposit.
After mobile terminal connects with radio data network and mobile data network simultaneously, mobile terminal can not system in a time threshold range, modulator-demodulator to mobile terminal sends closes Mobile data instruction, so just can ensure when radio data network is normally set up, mobile data network keeps unimpeded, realize radio data network and mobile data network and deposit, reaching Double Data network and the effect of depositing, improving data transmission efficiency.
As shown in Figure 4, this step specifically comprises:
S341. setup times threshold values.
Time threshold values represents that mobile terminal connects radio data network and how long closes Mobile data passage afterwards.After mobile terminal receives and arranges instruction, mobile terminal arranges according to this setting that instruction completes corresponding time threshold values.Wherein, the network of the current focus class of radio data network covering scope, comprises WIFI and wlan etc.
In the present embodiment, instruction is set and comes from the technical staff before dispatching from the factory, particularly, after mobile terminal is connected to computer, technical staff to send mobile terminal with setprop and arranges instruction under adb shell pattern, to the configuration of mobile terminal time threshold values, time threshold values can be 5 minutes, 10 minutes or other larger numerical value.In other embodiments, arranging instruction can from the user of this mobile terminal particularly, interface can be set at the UI Preferences of mobile terminal corresponding time threshold values, user can be sent by the input equipment of mobile terminal and corresponding arrange instruction, this input unit can be touch display screen or button, the mode of input can be by time corresponding to the way selection of option, also can be the mode of manually input numerical value, input the concrete time.
S342. detect and whether connect with radio data network.
When mobile terminal detects and connects with radio data network, enter step S343.
S343. timing is carried out to the connect hours of radio data network.
Particularly, can start a timer at the framework ccf layer of android, this timer is activated after radio data network detecting in connection, and starts to record the time being connected to radio data network.Certainly, also can complete in other way record is carried out to the connect hours of radio data network.
S344. judge whether the connect hours of radio data network is greater than time threshold values.
By monitoring in real time the connect hours of radio data network, and carrying out real-time comparison with time threshold values, when the connect hours of radio data network is greater than time threshold values, entering step S345; When the connect hours of radio data network is less than time threshold values, return step S343, because now mobile terminal and mobile data network and radio data network connect all, therefore, when the connect hours of radio data network is less than time threshold values, in fact mobile data network and radio data network are in and deposit state, reach Double Data network and the effect of depositing.
S345. mobile data network is disconnected.
When the radio data network connect hours is greater than time threshold values, can notify that user is the need of time expand threshold values, continue to make mobile data network to keep connection status, also can work as the radio data network connect hours when being greater than time threshold values, directly disconnect mobile data network by mobile terminal system.
Network connection control method by described in the first embodiment: by setup times threshold values, and record comparison is carried out to the radio data network connect hours, mobile data network is disconnected when detecting and connecting radio data network to extend mobile terminal system, achieve and reach dual data channels and the effect of depositing, improve efficiency of transmission.
On the basis of the first embodiment, as shown in Figure 5, give the second embodiment, as shown in Figure 5, wherein S341`, S342`, S343`, S344` and S345` are identical with S341, S342, S343, S344 and S345 in the first embodiment respectively, difference is, when the connect hours of radio data network is less than time threshold values, enters step S346.
Whether the data link S346. detecting mobile data network is completely released.
When the data link of mobile data network is not yet completely released, then enter step S343`; When the data link of mobile data network is completely released, then enter step S345`.
For example, due to when the radio data network connect hours is less than time threshold values, radio data network and mobile data network are also deposited, if in time threshold range, user carries out file download, so, in each data network, there is multithreading download, each thread is that a TCP connects, it is the equal of a strip data channel, each thread of download is responsible for the data block of oneself, after the download block be responsible for completes, this connection can be fallen clearly automatically, when mobile terminal identifies after TCP all in mobile data network connects and be all released, enter S345`, disconnect Mobile data passage.In other embodiments, if after all TCP detected in radio data network connect and are all released, so then disconnection of wireless data network.
Network connection control method by the second embodiment provides: in time threshold range, by identifying the working condition of corresponding data network, corresponding data network is opened from dynamic circuit breaker, mobile terminal power consumption can be saved, serve the effect of power saving, meanwhile, also can the Internet resources of release busy in time.
Based on first and second embodiment, when mobile data network is 2G or 3G, the step disconnecting mobile data network comprises: the modulator-demodulator to mobile terminal sends request, to close Mobile data passage, wherein, modulator-demodulator sends the first message request according to the request received to base station; Modulator-demodulator disconnects Mobile data passage according to the feedback message of base station.
Particularly, as shown in Figure 6, the mutual information of concrete disconnection mobile data network is illustrated in the air in square frame, framework ccf layer can send the message of deactivedata call to the Modem modulator-demodulator of mobile terminal, then the message request of data service deexcitation (deactive PDPcontext request) can be sent to corresponding base station by Modem, carry out data service deexcitation negotiation, after deactive PDP context request message is responded in base station, mobile terminal disconnects mobile data network.
When mobile data network is 4G/LTE, the step disconnecting mobile data network comprises: the modulator-demodulator to mobile terminal sends request, and to close mobile data network, wherein, this request betides framework ccf layer.
Particularly, 4G is due to the relation of default bearing, the message of the deactive data call that mobile terminal sends to modem modulator-demodulator according to framework ccf layer, directly closes mobile data services and passes through service request message signals base.
As shown in Figure 7, in order to clear elaboration the present embodiment, be illustrated with a concrete scene, wherein:
S710. set up LTE data network to connect.
Particularly, the user of mobile device need to carry out file download with mobile terminal or carry out viewing Internet video etc. need the business of transfer of data time, user triggers LTE data network switch by the touch-screen of mobile terminal, connects to make mobile terminal and LTE data network.
S720. detect and whether there is wifi data network.
When user is in indoor, when if desired carrying out file download or viewing Internet video, user triggers wifi data network switch by the touch-screen of mobile terminal, and the wifi data network of mobile terminal to surrounding is searched for.
S730. set up wifi data network to connect.
When mobile scanning terminal is to when existing wifi data network, user chooses corresponding wifi data network by mobile terminal touch screen, and mobile terminal and wifi data network are connected.
S740. in the time threshold range preset, the instruction of closing LTE data network is not sent, to make LTE data network and wifi data network and to deposit.
After mobile terminal connects with wifi data network and LTE data network simultaneously, mobile terminal can not system in a time threshold range, modulator-demodulator to mobile terminal sends closes LTE data command, so just can ensure when wifi data network is normally set up, LTE data network keeps unimpeded, realize wifi data network and LTE data network and deposit, reaching Double Data network and the effect of depositing, improving data transmission efficiency.
Other steps and beneficial effect with reference to the relevant portion of first and second embodiment, can not describe in detail herein.
As shown in Figure 8, first embodiment of the invention provides a kind of network connection control device, comprising: the first link block 101, detecting module 102, second link block 103, control module 104, logging modle 105 and timing module 106.
First link block 101, connects for setting up mobile data network.
Particularly, the user of mobile device need to carry out file download with mobile terminal or carry out viewing Internet video etc. need the business of transfer of data time, user triggers mobile data network switch by the touch-screen of mobile terminal, connects to make mobile terminal and mobile data network.In the present embodiment, mobile data network is LTE data network.In other embodiments, mobile data network can be the data networks such as 2G, 3G.
Whether detecting module 102, exist radio data network for detecting.
When user is in indoor, when if desired carrying out file download or viewing Internet video, user triggers radio data network switch by the touch-screen of mobile terminal, and the radio data network of mobile terminal to surrounding is searched for.In the present embodiment, wireless data networking is wifi.Concrete implementation method can have been come by existing radio data network searching method, does not limit at this.
Second link block 103, when having radio data network for detecting when detecting module 102, setting up radio data network and connecting.
When mobile scanning terminal is to when existing radio data network, user chooses corresponding radio data network by mobile terminal touch screen, and mobile terminal and radio data network are connected.
Control module 104, closes the instruction of mobile data network for not sending in the time threshold range preset, to make mobile data network and radio data network and to deposit.
After mobile terminal connects with radio data network and mobile data network simultaneously, mobile terminal can not system in a time threshold range, modulator-demodulator to mobile terminal sends closes Mobile data instruction, so just can ensure when radio data network is normally set up, mobile data network keeps unimpeded, realize radio data network and mobile data network and deposit, reaching Double Data network and the effect of depositing, improving data transmission efficiency.
Logging modle 105, for setup times threshold values.
Time threshold values represents that mobile terminal connects radio data network and how long closes Mobile data passage afterwards.After mobile terminal receives and arranges instruction, mobile terminal arranges according to this setting that instruction completes corresponding time threshold values.Wherein, the network of the current focus class of radio data network covering scope, comprises WIFI and wlan etc.
In the present embodiment, instruction is set and comes from the technical staff before dispatching from the factory, particularly, after mobile terminal is connected to computer, technical staff to send mobile terminal with setprop and arranges instruction under adb shell pattern, to the configuration of mobile terminal time threshold values, time threshold values can be 5 minutes, 10 minutes or other larger numerical value.In other embodiments, arranging instruction can from the user of this mobile terminal particularly, interface can be set at the UI Preferences of mobile terminal corresponding time threshold values, user can be sent by the input equipment of mobile terminal and corresponding arrange instruction, this input unit can be touch display screen or button, the mode of input can be by time corresponding to the way selection of option, also can be the mode of manually input numerical value, input the concrete time.
Timing module 106, after connecting, carries out timing to the connect hours of radio data network for the second link block 103 with radio data network.
Particularly, timing module 106 is a timer, and the framework ccf layer of android can start a timer, and this timer is activated after radio data network detecting in connection, and starts to record the time being connected to radio data network.Certainly, also can complete in other way record is carried out to the connect hours of radio data network.
Control module 104, if when being also greater than described time threshold values for the wireless data channel connect hours, disconnects Mobile data passage.Control module 104 by monitoring in real time the connect hours of radio data network, and carries out real-time comparison with time threshold values, and when the connect hours of radio data network is greater than time threshold values, control module 104 disconnects mobile data network; When the connect hours of radio data network is less than time threshold values, control module 104 controls timing module 106 and continues to carry out record to the radio data network connect hours.
Further, control module 104 is also for when the radio data network connect hours is greater than time threshold values, can notify that user is the need of time expand threshold values, continue to make mobile data network to keep connection status, also can work as the radio data network connect hours when being greater than time threshold values, directly disconnect mobile data network by control module 104.
Second embodiment of the invention provides a kind of network connection control device, comprising: logging modle 101, detecting module 102, timing module 103, control module 104, logging modle 105 and timing module 106.Wherein, difference is, control module 104 is also for when the connect hours of radio data network is less than time threshold values, and whether the data link of detecting mobile data network is released completely.When the data link of mobile data network is not yet completely released, control module 104 controls timing module 105 and continues to carry out record to the connect hours of radio data network.When the data link of mobile data network is completely released, control module 104 disconnects mobile data network.
For example, due to when the radio data network connect hours is less than time threshold values, radio data network and mobile data network are also deposited, if in time threshold range, user carries out file download, so, in each data network, there is multithreading download, each thread is that a TCP connects, it is the equal of a strip data channel, each thread of download is responsible for the data block of oneself, after the download block be responsible for completes, this connection can be fallen clearly automatically, when mobile terminal identifies after TCP all in mobile data network connects and be all released, disconnect Mobile data passage.In other embodiments, if after all TCP detected in radio data network connect and are all released, so then disconnection of wireless data network.
The network connection device that the network connection device provided based on the first embodiment and the second embodiment provide, when mobile data network be 2G or 3G data network time, further, control module 104 sends request for the modulator-demodulator to mobile terminal, to close Mobile data passage, wherein, modulator-demodulator sends the first message request according to the request received to base station; Modulator-demodulator disconnects Mobile data passage according to the feedback message of base station.Particularly, control module 104 is in the message of framework ccf layer to the Modem modulator-demodulator transmission deactive data call of mobile terminal, then the message request of data service deexcitation (deactive PDP context request) can be sent to corresponding base station by Modem, carry out data service deexcitation negotiation, after deactive PDP context request message is responded in base station, control module 104 disconnects mobile data network.
When mobile network is LTE data network, further, control module 104 sends request for the modulator-demodulator to mobile terminal, and to close mobile data network, wherein, this request betides framework ccf layer.Particularly, 4G is due to the relation of default bearing, the message of the deactive data call that mobile terminal sends to modem modulator-demodulator according to framework ccf layer, directly closes mobile data services and passes through service request message signals base.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and 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 the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a network connection control method, is applied to mobile terminal, it is characterized in that,
Set up mobile data network to connect;
Whether detecting exists radio data network;
When detecting radio data network, then set up radio data network and connect;
Do not send in the time threshold range preset and close the instruction of mobile data network, to make mobile data network and radio data network and to deposit.
2. network connection control method as claimed in claim 1, is characterized in that, does not send the instruction of closing mobile data network in the described time threshold range presetting, and comprises further to make mobile data network and radio data network and to deposit step:
One time threshold values is set, described time threshold values represent from described mobile terminal be connected to radio data network how long after, close mobile data network;
Whether detecting connects with radio data network;
When detect connect with radio data network time, then timing is carried out to the connect hours of radio data network;
When the connect hours of radio data network is greater than described time threshold values, then disconnect described mobile data network.
3. network connection control method as claimed in claim 2, is characterized in that, when the connect hours of radio data network is less than described time threshold values,
Whether the data link detecting described mobile data network is all discharged;
When the data link of described mobile data network is all discharged, then disconnect described mobile data network.
4. the network connection control method as described in claim 1-3, is characterized in that, detects to have connected wireless if described, then start timing wireless connect time step and comprise further,
When detect connect upper wireless time, ccf layer start timer, described timer is for recording wireless connect time.
5. the network connection control method as described in claim 1-3, is characterized in that, described mobile data network is LTE data network, and described disconnection mobile data network step comprises further:
Modulator-demodulator to described mobile terminal sends request, to close mobile data network.
6. network connection control method as claimed in claim 5, it is characterized in that, the described modulator-demodulator to mobile terminal sends request, and betides ccf layer.
7. the network connection control method as described in claim 1-3, is characterized in that, described mobile data network is 2G or 3G data network, and described disconnection mobile data network step comprises further:
Modulator-demodulator to described mobile terminal sends request, and to close described mobile data network, wherein, described modulator-demodulator sends the first message request according to the request received to base station;
Described modulator-demodulator disconnects described mobile data network according to the feedback message of base station.
8. a network connection control device, described network connection control device is connected to mobile data network, it is characterized in that,
First link block, connects for setting up mobile data network;
Whether detecting module, exist radio data network for detecting;
Second link block, connects for setting up radio data network;
Control module, closes the instruction of mobile data network for not sending in the time threshold range preset, to make mobile data network and radio data network and to deposit.
9. network connection control device as claimed in claim 8, it is characterized in that, described device also comprises:
Logging modle, for setting-up time threshold values, described time threshold values represents how long connect radio data network closes described mobile data network afterwards;
Timing module, when connecting upper radio data network for detecting when described detecting module, carries out timing to the connect hours of radio data network;
Described control module, for when the radio data network connect hours is greater than described time threshold values, disconnects described mobile data network.
10. network connection control device as claimed in claim 9, is characterized in that, described control module also for, if when the radio data network connect hours is less than described time threshold values, whether the data link detecting described mobile data network is all released;
If the data link of mobile data network is all released, then disconnect described mobile data network.
CN201510408833.6A 2015-07-10 2015-07-10 network connection control method and device Active CN104981030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510408833.6A CN104981030B (en) 2015-07-10 2015-07-10 network connection control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510408833.6A CN104981030B (en) 2015-07-10 2015-07-10 network connection control method and device

Publications (2)

Publication Number Publication Date
CN104981030A true CN104981030A (en) 2015-10-14
CN104981030B CN104981030B (en) 2016-11-09

Family

ID=54276978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510408833.6A Active CN104981030B (en) 2015-07-10 2015-07-10 network connection control method and device

Country Status (1)

Country Link
CN (1) CN104981030B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430701A (en) * 2015-10-28 2016-03-23 努比亚技术有限公司 Wireless network intelligent control method and device
CN106162568A (en) * 2016-06-06 2016-11-23 深圳市贝美互动科技有限公司 Internet of things equipment and networked deployment method, intelligent terminal and Internet of things system
CN106941705A (en) * 2016-01-04 2017-07-11 中国移动通信集团公司 A kind of network setting method and device
CN107566146A (en) * 2016-06-30 2018-01-09 北京北信源软件股份有限公司 A kind of method for carrying out network interface card automatic switchover
CN108834221A (en) * 2018-06-01 2018-11-16 南昌黑鲨科技有限公司 Network connection control method, computer readable storage medium and mobile terminal
CN109151784A (en) * 2018-08-14 2019-01-04 Oppo广东移动通信有限公司 Method for connecting network, device and electronic equipment
WO2019134215A1 (en) * 2018-01-03 2019-07-11 Oppo广东移动通信有限公司 Method and apparatus for intersystem handover
CN110049071A (en) * 2018-01-15 2019-07-23 中兴通讯股份有限公司 Network data exchange control method, device and terminal
CN111263307A (en) * 2020-02-14 2020-06-09 Oppo广东移动通信有限公司 Network hosting method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491653A (en) * 2013-05-13 2014-01-01 上海盛本通讯科技有限公司 WiFi and 3G coexisting method based on Android intelligent terminal
CN103973800A (en) * 2014-05-19 2014-08-06 普天信息技术有限公司 Android-based double-network-card concurrence implementation method
US20140269562A1 (en) * 2013-03-15 2014-09-18 Apple Inc. Conditional Deference for Dual Wireless Band Coexistence
US20150024786A1 (en) * 2013-07-19 2015-01-22 Motorola Mobility Llc Method and Apparatus for Disconnecting a Wireless Communication Link Between a Communication Device and a Mobile Device
CN104770006A (en) * 2012-11-07 2015-07-08 高通股份有限公司 Method and apparatus to reduce signaling spikes when moving between WLAN and WWAN coverage areas

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104770006A (en) * 2012-11-07 2015-07-08 高通股份有限公司 Method and apparatus to reduce signaling spikes when moving between WLAN and WWAN coverage areas
US20140269562A1 (en) * 2013-03-15 2014-09-18 Apple Inc. Conditional Deference for Dual Wireless Band Coexistence
CN103491653A (en) * 2013-05-13 2014-01-01 上海盛本通讯科技有限公司 WiFi and 3G coexisting method based on Android intelligent terminal
US20150024786A1 (en) * 2013-07-19 2015-01-22 Motorola Mobility Llc Method and Apparatus for Disconnecting a Wireless Communication Link Between a Communication Device and a Mobile Device
CN103973800A (en) * 2014-05-19 2014-08-06 普天信息技术有限公司 Android-based double-network-card concurrence implementation method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430701A (en) * 2015-10-28 2016-03-23 努比亚技术有限公司 Wireless network intelligent control method and device
CN106941705A (en) * 2016-01-04 2017-07-11 中国移动通信集团公司 A kind of network setting method and device
CN106162568A (en) * 2016-06-06 2016-11-23 深圳市贝美互动科技有限公司 Internet of things equipment and networked deployment method, intelligent terminal and Internet of things system
CN107566146A (en) * 2016-06-30 2018-01-09 北京北信源软件股份有限公司 A kind of method for carrying out network interface card automatic switchover
WO2019134215A1 (en) * 2018-01-03 2019-07-11 Oppo广东移动通信有限公司 Method and apparatus for intersystem handover
CN110049071A (en) * 2018-01-15 2019-07-23 中兴通讯股份有限公司 Network data exchange control method, device and terminal
CN108834221A (en) * 2018-06-01 2018-11-16 南昌黑鲨科技有限公司 Network connection control method, computer readable storage medium and mobile terminal
CN109151784A (en) * 2018-08-14 2019-01-04 Oppo广东移动通信有限公司 Method for connecting network, device and electronic equipment
CN109151784B (en) * 2018-08-14 2021-08-17 Oppo广东移动通信有限公司 Network connection method and device and electronic equipment
CN111263307A (en) * 2020-02-14 2020-06-09 Oppo广东移动通信有限公司 Network hosting method and device and storage medium

Also Published As

Publication number Publication date
CN104981030B (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN104981030A (en) Network connection control method and device
CN105188101A (en) Network switching device and method
CN104967810A (en) Call mode conversion method and terminal device
CN105101317A (en) Network switching device and method
CN105163355A (en) Method and device for switching networks of mobile terminal
CN105188098A (en) Mobile terminal network switching apparatus and network switching method
CN105101173A (en) Multi-data-channel-based data loading apparatus and method
CN105120509A (en) Network access method and device
CN104660820A (en) Implementation method of management mode of mobile terminal and mobile terminal
CN104768198A (en) Mobile terminal and intelligent switching method and device for terminal network of mobile terminal
CN104811532A (en) Terminal screen display parameter adjustment method and device
CN105242554B (en) terminal control method and device
CN105208637A (en) Mobile terminal and network connection method thereof
CN105142168A (en) Method and device for switching mobile terminal among multiple SIM cards
CN104967744A (en) Method and device for adjusting terminal parameters
CN104968033A (en) Terminal network processing method and apparatus
CN104968027A (en) Wi-Fi control method and apparatus
CN104967573A (en) Data traffic monitoring method and terminal
CN105101175A (en) SIM (Subscriber Identity Module) card switching method and SIM card switching device of mobile terminal
CN104821990A (en) Intelligent terminal power-off alarm clock realization method and intelligent terminal
CN104902098A (en) Method and system for switching sidebar of mobile terminal
CN104902115A (en) Communication method and communication terminal
CN104935044A (en) Charging method and charging device
CN104993180A (en) Terminal charging method and device
CN105100412A (en) Method and device for eliminating terminal data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant