CN104918298B - A kind of network connection control method, device and mobile terminal - Google Patents
A kind of network connection control method, device and mobile terminal Download PDFInfo
- Publication number
- CN104918298B CN104918298B CN201410086665.9A CN201410086665A CN104918298B CN 104918298 B CN104918298 B CN 104918298B CN 201410086665 A CN201410086665 A CN 201410086665A CN 104918298 B CN104918298 B CN 104918298B
- Authority
- CN
- China
- Prior art keywords
- hot spot
- mobile terminal
- network hot
- target radio
- threshold
- 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.)
- Active
Links
Abstract
The present invention provides a kind of network connection control method, device and mobile terminal, is related to data service technical field.This method is applied to a mobile terminal, including the following steps: obtain each of mobile terminal and apply the general packet radio service technology GPRS data flow summation generated in a preset time period;When the data traffic summation is more than or equal to first threshold, the communication module for controlling mobile terminal opens wireless network hot spot switch, carries out the connection of target radio network hot spot.Method of the invention, it solves at present when connecting wireless network mainly by judging whether there is built-in hotspot, and cannot the demand according to user to Web vector graphic go control network connectivity problem, the GPRS data flow for realizing automatic detection terminal carries out the connection that hotspot scanning helps user's control wireless according to the online demand of user.
Description
Technical field
The present invention relates to data service technical field, particularly relate to a kind of network connection control method, device and it is mobile eventually
End.
Background technique
When people are by mobile phone terminal application connection network at present, it is commonly connected mobile network's (such as GPRS 2G network
And 3G network) or hotspot network, and popularizing with smart phone, the application of wireless network are all the more extensive.
But there is currently the method that connects automatically of hotspot network wifi hotspot detection be that mobile phone is supervised by control
Terminal wifi switch setting, adapter tube mobile phone terminal wifi switch actively record used wifi hotspot (all hot informations
Based on cloud database, built-in wifi hotspot data), switched helping user to open wifi automatically there are the region of hot spot data
Wifi hotspot is detected, to actively help user to connect wifi network to realize, and in no generation hotspot network data
When flow or there is no wifi switch is actively closed when wifi hotspot information.The method mainly passes through when connecting wireless network
Judge whether there is built-in hotspot, cannot the demand according to user to Web vector graphic go the connection of control network.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of network connection control method, device and mobile terminals, realize
The data traffic of the mobile network of automatic monitoring terminal carries out hotspot scanning according to the online demand of user and helps user's control
Make wireless connection.
To solve the above problems, the embodiment of the present invention provides a kind of network connection control method, it is mobile whole to be applied to one
End, including the following steps:
It obtains each of mobile terminal and applies the general packet radio service technology GPRS generated in a preset time period
Data traffic summation;
When the data traffic summation is more than or equal to first threshold, the communication module for controlling mobile terminal opens nothing
Line network hotspot switch, carries out the connection of target radio network hot spot.
Wherein, it obtains each of mobile terminal and applies the step of generating data traffic summation in preset time period packet
It includes:
Each apply for obtaining the mobile terminal connects in the preset time period by the data of the mobile terminal
The data traffic summation of mouth.
Wherein, when the data traffic summation is more than or equal to first threshold, the communication module of mobile terminal is controlled
Opening the step of wireless network hot spot switchs, carries out the connection of target radio network hot spot includes:
Scanning to after the target radio network hot spot signal, by the intensity of the target radio network hot spot signal with
Second threshold compares, and when the intensity of the target radio network hot spot signal is greater than or equal to second threshold, connects the mesh
Mark wireless network hot spot.
Wherein, the communication module for controlling mobile terminal opens wireless network hot spot switch, carries out target radio network hot spot
Connection before further include:
Judge whether there is the control instruction cancelled and be connected to the network to control in past third threshold time period if not having
The communication module of mobile terminal processed opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Wherein, the communication module for controlling mobile terminal opens wireless network hot spot switch, carries out target radio network hot spot
Connection before further include:
Server end is obtained for the wireless network hot spot disposition list under each base station;
The information of the current own base station of the mobile terminal is obtained, and compares the wireless network hot spot disposition list, is judged
The base station whether there is wireless network hot spot record, if it exists mistake, then the communication module for controlling mobile terminal is opened wirelessly
Network hotspot switch, carries out the connection of target radio network hot spot.
Wherein, after scanning to the target radio network hot spot signal, by the target radio network hot spot signal
Intensity is compared with second threshold, when the intensity of the target radio network hot spot signal is greater than or equal to second threshold, connection
The step of target radio network hot spot includes:
After scanning to the target radio network hot spot signal, first state is set by display state;Successfully connecting
After being connected to the target radio network hot spot, display state is changed to the second state.
Wherein, the network connection control method further includes the following steps:
Record the renewal time of the first threshold last time;
By the renewal time of record compared with the renewal time of the first threshold of server end, if server end updates
The time of threshold value be it is new, then local threshold value is updated according to this threshold value;If the time of local update threshold value be it is new, not more
Newly.
Wherein, the network connection control method further includes the following steps:
Record the renewal time of the second threshold last time;
By the renewal time of record compared with the renewal time of the second threshold of server end, if server end updates
The time of threshold value be it is new, then local threshold value is updated according to this threshold value;If the time of local update threshold value be it is new, not more
Newly.
To solve the above problems, the embodiments of the present invention also provide a kind of network connection control devices, comprising:
Module is obtained, applies the general grouped wireless generated in a preset time period for obtaining each of mobile terminal
Service technology GPRS data flow summation;
Control module, for controlling mobile terminal when the data traffic summation is more than or equal to first threshold
Communication module opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Wherein, the acquisition module includes:
Flow acquiring unit is applied in the preset time period for obtaining each of the mobile terminal by described
The data traffic summation of the data-interface of mobile terminal.
Wherein, the control module includes:
First processing units are used for after scanning to the target radio network hot spot signal, by the Target Wireless net
The intensity of network hot spot signal is compared with second threshold, when the intensity of the target radio network hot spot signal is greater than or equal to second
When threshold value, the target radio network hot spot is connected.
Wherein, the control module further include:
The second processing unit, for judging whether there is the control cancelled and be connected to the network in past third threshold time period
Instruction, if not having, the communication module for controlling mobile terminal opens wireless network hot spot switch, carries out target radio network hot spot
Connection.
Wherein, the control module further include:
First acquisition unit, for obtaining server end for the wireless network hot spot disposition list under each base station;
Third processing unit for obtaining the information of the current own base station of the mobile terminal, and compares the wireless network
Network hot spot disposition list judges that the base station whether there is wireless network hot spot record, and mistake, then control mobile terminal if it exists
Communication module opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Wherein, the first processing units further include:
Subelement is arranged in display state, for will show state after scanning to the target radio network hot spot signal
It is set as first state;After being successfully connected to the target radio network hot spot, display state is changed to the second state.
Wherein, the network connection control device further include:
First logging modle, for recording the renewal time of the first threshold last time;
First update module, the renewal time ratio of the first threshold of the renewal time and server end for that will record
Compared with, if server end update threshold value time be it is new, local threshold value is updated according to this threshold value;If local update threshold value when
Between be it is new, then do not update.
Wherein, the network connection control device further include:
Second logging modle, for recording the renewal time of the second threshold last time;
Second update module, the renewal time ratio of the second threshold of the renewal time and server end for that will record
Compared with, if server end update threshold value time be it is new, local threshold value is updated according to this threshold value;If local update threshold value when
Between be it is new, then do not update.
The embodiments of the present invention also provide a kind of mobile terminals, including communication module and wireless network hot spot switch;Also
Including above-mentioned network connection control device;Wherein,
The network connection control device is opened the wireless network hot spot switch by communication module control and is carried out
The connection of target radio network hot spot scanning.
The advantageous effects of the above technical solutions of the present invention are as follows:
The network connection control method of the embodiment of the present invention obtains each of mobile terminal and applies in a preset time period
The general packet radio service technology GPRS data flow summation of generation, when data traffic summation is more than or equal to first threshold
When, the communication module for controlling mobile terminal opens wireless network hot spot switch, carries out the connection of target radio network hot spot.This
Sample can be converted into the connection of wireless network hot spot when user needs to consume more flows, can preferably meet user couple
The demand of Web vector graphic reduces unnecessary loss.
Detailed description of the invention
Fig. 1 shows the step flow charts of the network connection control method of the embodiment of the present invention;
Fig. 2 indicates the practical application flow chart of the network connection control method of the embodiment of the present invention;
Fig. 3 indicates the structural schematic diagram of the network connection control device of the embodiment of the present invention;
Fig. 4 indicates the structural schematic diagram of the mobile terminal of the embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool
Body embodiment is described in detail.
The method that the present invention connects automatically for the detection of existing hotspot network, which mainly passes through, to be judged whether there is
Built-in hotspot, cannot the demand according to user to Web vector graphic go control network connection the problem of a kind of network is provided
Control method is connected, the data traffic of the mobile network by detecting terminal carries out hotspot according to the online demand of user
The connection that scanning helps user's control wireless.
As shown in Figure 1, a kind of network connection control method of the embodiment of the present invention, applied to a mobile terminal, including under
Column step:
Step 11, it obtains each of mobile terminal and applies the general packet radio service skill generated in a preset time period
Art GPRS data flow summation;
Step 12, when the data traffic summation is more than or equal to first threshold, the communication mould of mobile terminal is controlled
Block opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Through the above steps, the network connection control method of the embodiment of the present invention, the GPRS of meeting real-time monitoring mobile terminal
Data traffic, and obtain each of mobile terminal and apply the general packet radio service technology generated in a preset time period
GPRS data flow summation will control the communication of mobile terminal when data traffic summation is more than or equal to first threshold
Module opens wireless network hot spot switch, carries out the connection of target radio network hot spot.In this way, needing to consume in user more
When flow, it can be converted into the connection of wireless network hot spot, can preferably meet the needs of user is to Web vector graphic, reduction need not
The loss wanted.
In the network connection control method of another embodiment of the present invention, on the basis of the above embodiments, step 11 tool
Body are as follows:
Step 111, each of the mobile terminal is obtained to apply in the preset time period by the mobile terminal
Data-interface data traffic summation.
Certainly, the specific implementation of step 11 can also access data acquisition when one is default by the monitoring of proxy server
Between the data traffic of mobile terminal that accesses in section or the data information by obtaining each data packet, it is true according to data information
Fixed corresponding affiliated application simultaneously records the data traffic that statistics application consumes within a preset period of time.In addition to above-mentioned data traffic
Detection statistics method can also be completed by other methods, be will not enumerate herein, it is preferred that the side of step 111
Method operation is simpler, and obtained data are more acurrate.
It should be understood that wireless network hot spot connection when, the intensity of wireless network hot spot is too low, though connection on
It also will appear unstable networks afterwards, intermittent situation occurs, and the needs for being unable to satisfy user can also waste mobile terminal
Electricity, therefore, in the network connection control method of another embodiment of the present invention, step 12 includes:
Step 121, after scanning to the target radio network hot spot signal, by the target radio network hot spot signal
Intensity compared with second threshold, when the intensity of the target radio network hot spot signal be greater than or equal to second threshold when, even
Connect the target radio network hot spot.
In this way, also reducing the waste of mobile terminal electricity on the basis of ensure that network connection rear stability.
However, the connection without wireless network hot spot can be set in some applications, therefore, it is right before wireless network connection
It is also inevitable using the judgement of setting.In the network connection control method of the embodiment of the present invention, in wireless network
Before hot spot connection, it is also necessary to the judgement to current application setting: triggering mesh after application connects network using mobile network
The connection of wireless network hot spot is marked, i.e., when data traffic summation is more than or equal to first threshold, can first carry out detection judgement and answer
It is controlled when with whether provided with mobile network without network connection, if being not provided with, so that it may control the communication mould of mobile terminal
Block opens wireless network hot spot switch, carries out the connection of target radio network hot spot;If being arranged, process terminates.
So except in the case of above-mentioned, sometimes due to the limitation of situation, user does not want to go to connection wireless network hot spot,
Therefore control mobile terminal communication module open wireless network hot spot switch, carry out target radio network hot spot connection it
Before, in order to avoid excessively generating scanning behavior, cause mobile terminal electricity to expend, the network connection control of another embodiment of the present invention
Method processed, on the basis of the above embodiments, step 12 further include:
Step 122, judge whether there is the control instruction cancelled and be connected to the network in past third threshold time period, if not having
Have, then the communication module for controlling mobile terminal opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Third threshold value is a judgment value, it is assumed that third threshold value is 30 minutes, then then needing judgement to go over according to step 122
30 minutes in, network connection control to connect wireless network hot spot when whether once cancelled network connection control, if cancel
It crosses, illustrates that user is not intended at this time using wireless network hot spot, then need not just carry out subsequent operation again;If never cancelling,
Just the communication module of controllable mobile terminal opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Connected after it confirmed to need to carry out wireless network hot spot connection it is necessary to look for target radio network hot spot
It connects.In the network connection control method of another embodiment of the present invention, step 12 further include:
Step 123, server end is obtained for the wireless network hot spot disposition list under each base station;
Step 124, the information of the current own base station of the mobile terminal is obtained, and compares the wireless network hot spot deployment
Table judges that the base station whether there is wireless network hot spot record, and mistake, the then communication module for controlling mobile terminal are beaten if it exists
Wireless network hot spot switch is opened, the connection of target radio network hot spot is carried out.
By step 123, step 124, it can judge that current mobile terminal own base station whether there is wireless network heat
Point record, if it does not exist, is just not required to be scanned connection again, avoids the scanning of blindness, the waste of resource, more power saving;If it exists,
The communication module for then controlling mobile terminal opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Certainly, in the state that wireless network hot spot switch is closed, the network connection control method of the embodiment of the present invention can be with
The communication module for controlling mobile terminal opens wireless network hot spot switch, carries out the connection of target radio network hot spot, if but
Active wireless network hot spot switch is at opening state, then directly carries out the connection of target radio network hot spot.
It should be appreciated that can often scan multiple wireless network heat simultaneously when carrying out wireless network hot spot scanning
Point causes unnecessary consumption, and therefore, in the network connection control method of the embodiment of the present invention, wireless network hot spot is opened
It closes after opening, scans specified target radio network hot spot first, if it does not exist, then terminate to be connected to the network;If it exists, then it carries out
Connection.The waste of resource is avoided with this.
After finding target radio network hot spot, so that it may carry out target radio network hot spot connection.Of the invention real
It applies in the network connection control method of example, it is also necessary to the connection type for judging current goal wireless network hot spot, if connecting automatically
The mode connect then directly carries out the connection of target radio network hot spot;If latter linked mode is first reminded, then issues connection and remind
Information carries out the connection of target radio network hot spot after receiving user and confirming the information connected.
Certainly, in the network connection control method of the embodiment of the present invention, if connection wireless network hot spot be need into
Row account number cipher logs in, then needs first to carry out certification login.Moreover, it is unsuccessful authenticating, it not can be carried out login, connect network
When will appear prompt prompt user.Prompting mode can be message box, and suggestion voice or prompt mark etc. do not exist herein
It enumerates.
In the network connection control method of another embodiment of the present invention, step 121 includes:
Step 1211, after scanning to the target radio network hot spot signal, first state is set by display state;
After being successfully connected to the target radio network hot spot, display state is changed to the second state.
Through the above steps, user can understand current network connection state according to different display states, improve and use
Family usage experience.Assuming that first state is white icon, the second state is orange icon, when icon conjugates orange, user
Recognize and has currently connected wireless network.Certain display state can go to distinguish by Icon Color, can also pass through
Different prompt tones or different icons etc., are not enumerating herein.
In the network connection control method of the embodiment of the present invention, first threshold, second threshold is not fixed and invariable,
Server end can formulate the threshold value being more suitable for according to the user data of feedback, and therefore, the network connection of the embodiment of the present invention controls
Method, further includes:
Step 13, the renewal time of the first threshold last time is recorded;
Step 14, by the renewal time of record compared with the renewal time of the first threshold of server end, if service
Device end update threshold value time be it is new, then local threshold value is updated according to this threshold value;If the time of local update threshold value be it is new,
It does not update then.
Step 15, the renewal time of the second threshold last time is recorded;
Step 16, by the renewal time of record compared with the renewal time of the second threshold of server end, if service
Device end update threshold value time be it is new, then local threshold value is updated according to this threshold value;If the time of local update threshold value be it is new,
It does not update then.
Through the above steps, threshold value only needs to be updated configuration by server end, without updating application version again, updates
Step is more simple and fast.Certainly, third threshold value is also that can complete to update through the above way.
Below with reference to Fig. 2, illustrate the concrete application of the network connection control method of the embodiment of the present invention:
(1) monitoring application connection mobile network's GPRS data flow, when data flow magnitude reaches and (be greater than or equal to) first
Threshold value performs the next step;
(2) judge whether the application is arranged to control without network connection, be controlled if being arranged without network connection,
Process terminates;If not set, perform the next step;
(3) judge that this is applied and whether cancelled wireless network connection control within past 30 minutes, if cancelling control, flow
Journey terminates;If not cancelling, perform the next step;
(4) judge that current base station whether there is wireless network record, if it does not exist, then process terminates;If it exists, then it holds
Row is in next step;
(5) wireless network hot spot switch scanning is opened, if wireless network hot spot switch has been opened, is directly executed next
Step;
(6) target radio network hot spot is judged whether there is, if it does not exist, then process terminates;If it exists, then it executes next
Step;
(7) judge whether target radio network intensity of hot spots reaches and (be greater than or equal to) second threshold (at this time due to existing
Target radio network hot spot, mobile phone terminal will appear white icon), if not up to, process terminates;If reaching, under executing
One step;
(8) judge whether to connect wireless network automatically, if it is not, then executing (9);If so, executing (10);
(9) remind whether user needs to connect there are wireless network hot spot, if not needing to connect, process terminates;If with
Family confirmation connection, then perform the next step;
(10) wireless network is connected;
(11) certification logs in, if certification is unsuccessful, executes (12);(13) are executed if authenticating successfully;
(12) user authentication failure is reminded;
(13) white icon becomes orange icon, reminds the currently attached upper wireless network of user.
In conclusion the network connection control method of the embodiment of the present invention, can be realized caused by automatic monitoring application
The connection of GPRS data flow control network, meets the needs of users, and less manual intervention, less electricity, more intelligence
The network connection of energyization controls.
As shown in figure 3, the embodiments of the present invention also provide a kind of network connection control devices, comprising:
Obtain module 1, for obtain mobile terminal it is each apply the general packet generated in a preset time period without
Line service technology GPRS data flow summation;
Control module 2, for controlling mobile terminal when the data traffic summation is more than or equal to first threshold
Communication module opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Wherein, the acquisition module includes:
Flow acquiring unit is applied in the preset time period for obtaining each of the mobile terminal by described
The data traffic summation of the data-interface of mobile terminal.
Wherein, the control module includes:
First processing units are used for after scanning to the target radio network hot spot signal, by the Target Wireless net
The intensity of network hot spot signal is compared with second threshold, when the intensity of the target radio network hot spot signal is greater than or equal to second
When threshold value, the target radio network hot spot is connected.
Wherein, the control module further include:
The second processing unit, for judging whether there is the control cancelled and be connected to the network in past third threshold time period
Instruction, if not having, the communication module for controlling mobile terminal opens wireless network hot spot switch, carries out target radio network hot spot
Connection.
Wherein, the control module further include:
First acquisition unit, for obtaining server end for the wireless network hot spot disposition list under each base station;
Third processing unit for obtaining the information of the current own base station of the mobile terminal, and compares the wireless network
Network hot spot disposition list judges that the base station whether there is wireless network hot spot record, and mistake, then control mobile terminal if it exists
Communication module opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
Wherein, the first processing units further include:
Subelement is arranged in display state, for will show state after scanning to the target radio network hot spot signal
It is set as first state;After being successfully connected to the target radio network hot spot, display state is changed to the second state.
Wherein, the network connection control device further include:
First logging modle, for recording the renewal time of the first threshold last time;
First update module, the renewal time ratio of the first threshold of the renewal time and server end for that will record
Compared with, if server end update threshold value time be it is new, local threshold value is updated according to this threshold value;If local update threshold value when
Between be it is new, then do not update.
Wherein, the network connection control device further include:
Second logging modle, for recording the renewal time of the second threshold last time;
Second update module, the renewal time ratio of the second threshold of the renewal time and server end for that will record
Compared with, if server end update threshold value time be it is new, local threshold value is updated according to this threshold value;If local update threshold value when
Between be it is new, then do not update.
It should be noted that the device is the device for applying above-mentioned network connection control method, above-mentioned network connection control
The implementation of method processed is also applied for the device, can also reach identical technical effect.
As shown in figure 4, the embodiments of the present invention also provide a kind of mobile terminal, including communication module 10 and wireless network
Hot spot switch 20;It further include above-mentioned network connection control device 30;Wherein,
The network connection control device 30 is opened the wireless network hot spot by the communication module 10 control and is switched
20 carry out the connection of target radio network hot spot scanning.
The mobile terminal of the embodiment of the present invention can pass through communication module control by above-mentioned network connection control device
System opens wireless network hot spot switch and carries out the connection of target radio network hot spot scanning.The mobile terminal, which can be realized, passes through monitoring
It using the connection of generated GPRS data flow control network, meets the needs of users, and less manual intervention, less
Electricity, more intelligent network connection control.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (9)
1. a kind of network connection control method is applied to a mobile terminal, characterized in that it comprises the following steps:
It obtains each of mobile terminal and applies the general packet radio service technology GPRS data generated in a preset time period
Flow summation;
When the data traffic summation is more than or equal to first threshold, the communication module for controlling mobile terminal opens wireless network
Network hot spot switch, carries out the connection of target radio network hot spot;Wherein,
It is described when the data traffic summation be more than or equal to first threshold when, control mobile terminal communication module open nothing
The step of line network hotspot switch, the connection of progress target radio network hot spot, comprising:
Server end is obtained for the wireless network hot spot disposition list under each base station;
The information of the current own base station of the mobile terminal is obtained, and compares the wireless network hot spot disposition list, described in judgement
Base station whether there is wireless network hot spot record, if it exists mistake, then the communication module for controlling mobile terminal opens wireless network
Hot spot switch, after scanning to the target radio network hot spot signal, by the intensity of the target radio network hot spot signal
Compared with second threshold, when the intensity of the target radio network hot spot signal is greater than or equal to second threshold, described in connection
Target radio network hot spot.
2. network connection control method according to claim 1, which is characterized in that obtain each of mobile terminal and apply
The step of generation data traffic summation, includes: in one preset time period
The each of the mobile terminal is obtained to apply in the preset time period by the data-interface of the mobile terminal
Data traffic summation.
3. network connection control method according to claim 1, which is characterized in that the communication module for controlling mobile terminal is beaten
Wireless network hot spot switch is opened, before the connection for carrying out target radio network hot spot further include:
Judge whether there is the control instruction cancelled and be connected to the network to control shifting if not having in past third threshold time period
The communication module of dynamic terminal opens wireless network hot spot switch, carries out the connection of target radio network hot spot.
4. network connection control method according to claim 1, which is characterized in that arrive the target radio network in scanning
After hot spot signal, by the intensity of the target radio network hot spot signal compared with second threshold, when the target radio network
When the intensity of hot spot signal is greater than or equal to second threshold, the step of connecting the target radio network hot spot, includes:
After scanning to the target radio network hot spot signal, first state is set by display state;It is being successfully connected to
After the target radio network hot spot, display state is changed to the second state.
5. network connection control method according to claim 1, which is characterized in that the network connection control method also wraps
Include the following steps:
Record the renewal time of the first threshold last time;
By the renewal time of record compared with the renewal time of the first threshold of server end, if server end updates threshold value
Time be it is new, then local threshold value is updated according to this threshold value;If the time of local update threshold value be it is new, do not update.
6. network connection control method according to claim 1, which is characterized in that the network connection control method also wraps
Include the following steps:
Record the renewal time of the second threshold last time;
By the renewal time of record compared with the renewal time of the second threshold of server end, if server end updates threshold value
Time be it is new, then local threshold value is updated according to this threshold value;If the time of local update threshold value be it is new, do not update.
7. a kind of network connection control device characterized by comprising
Module is obtained, applies the general packet radio service generated in a preset time period for obtaining each of mobile terminal
Technology GPRS data flow summation;
Control module, for controlling the communication of mobile terminal when the data traffic summation is more than or equal to first threshold
Module opens wireless network hot spot switch, carries out the connection of target radio network hot spot;Wherein,
The control module is also used to obtain server end for the wireless network hot spot disposition list under each base station;Described in acquisition
The information of the current own base station of mobile terminal, and the wireless network hot spot disposition list is compared, judge that the base station whether there is
Wireless network hot spot record is crossed, if it exists mistake, then the communication module for controlling mobile terminal opens wireless network hot spot switch, is sweeping
After retouching the target radio network hot spot signal, by the intensity of the target radio network hot spot signal and second threshold ratio
Compared with, when the intensity of the target radio network hot spot signal be greater than or equal to second threshold when, connect the target radio network
Hot spot.
8. network connection control device according to claim 7, which is characterized in that the acquisition module includes:
Flow acquiring unit is applied in the preset time period for obtaining each of the mobile terminal by the movement
The data traffic summation of the data-interface of terminal.
9. a kind of mobile terminal, including communication module and wireless network hot spot switch;It is characterized in that, further including claim 7
Or 8 described in any item network connection control devices;Wherein,
The network connection control device opens the wireless network hot spot switch by communication module control and carries out target
The connection of wireless network hot spot scanning.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410086665.9A CN104918298B (en) | 2014-03-10 | 2014-03-10 | A kind of network connection control method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410086665.9A CN104918298B (en) | 2014-03-10 | 2014-03-10 | A kind of network connection control method, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104918298A CN104918298A (en) | 2015-09-16 |
CN104918298B true CN104918298B (en) | 2019-02-26 |
Family
ID=54086900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410086665.9A Active CN104918298B (en) | 2014-03-10 | 2014-03-10 | A kind of network connection control method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104918298B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105430690A (en) * | 2016-01-22 | 2016-03-23 | 青岛海信移动通信技术股份有限公司 | Traffic displaying method and system and mobile terminal |
CN105722169A (en) * | 2016-02-19 | 2016-06-29 | 吴伟东 | Method and system for intelligent networking of mobile phone |
CN105933928A (en) * | 2016-04-20 | 2016-09-07 | 努比亚技术有限公司 | Mobile terminal and wireless hotspot communication control method thereof |
WO2019071514A1 (en) * | 2017-10-12 | 2019-04-18 | 深圳传音通讯有限公司 | Method and system for monitoring data traffic of intelligent terminal |
CN109152094B (en) * | 2018-11-07 | 2021-10-22 | 上海尚往网络科技有限公司 | Wireless network connection method for terminal |
CN109152095B (en) * | 2018-11-07 | 2021-10-22 | 上海尚往网络科技有限公司 | Wireless network connection method for terminal |
CN109246741B (en) * | 2018-11-07 | 2021-08-27 | 上海尚往网络科技有限公司 | Wireless network connection method for terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2461631A2 (en) * | 2010-12-01 | 2012-06-06 | Deutsche Telekom AG | System support for accessing and switching among multiple wireless interfaces on mobile devices |
CN102612084A (en) * | 2012-02-24 | 2012-07-25 | 中兴通讯股份有限公司 | Method and device for controlling data traffic |
CN102740366A (en) * | 2012-07-06 | 2012-10-17 | 华为技术有限公司 | Method, device and system for realizing wireless network access |
CN103067954A (en) * | 2012-12-26 | 2013-04-24 | 东莞宇龙通信科技有限公司 | Method and communication terminal of automatic switch mobile hotspot |
-
2014
- 2014-03-10 CN CN201410086665.9A patent/CN104918298B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2461631A2 (en) * | 2010-12-01 | 2012-06-06 | Deutsche Telekom AG | System support for accessing and switching among multiple wireless interfaces on mobile devices |
CN102612084A (en) * | 2012-02-24 | 2012-07-25 | 中兴通讯股份有限公司 | Method and device for controlling data traffic |
CN102740366A (en) * | 2012-07-06 | 2012-10-17 | 华为技术有限公司 | Method, device and system for realizing wireless network access |
CN103067954A (en) * | 2012-12-26 | 2013-04-24 | 东莞宇龙通信科技有限公司 | Method and communication terminal of automatic switch mobile hotspot |
Also Published As
Publication number | Publication date |
---|---|
CN104918298A (en) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104918298B (en) | A kind of network connection control method, device and mobile terminal | |
CN103200618B (en) | Wireless local area network WLAN hotspot function control processing method and device | |
CN104254070B (en) | WiFi cut-in method, intelligent terminal and routing device | |
CN103024929B (en) | A kind of method and mobile terminal connecting wireless network based on mobile terminal | |
CN106060299B (en) | Image formation system, mobile terminal and collaboration method | |
CN104539504B (en) | A kind of event triggering method and device | |
CN104735814A (en) | Access method, system and related device for automatically getting access to WiFi network | |
CN103529793A (en) | Control system and control method for Internet of things based on STA (Station) mode and AP (Access Point) mode of WIFI (Wireless Fidelity) | |
CN103179647A (en) | Method and mobile terminal for intelligently controlling wifi (wireless fidelity) module | |
CN105830503A (en) | Connection method for smart home device and apparatus thereof | |
CN105979502B (en) | Switching method, switching device and the terminal of eSIM | |
CN103533670A (en) | Method and device for connecting wireless network equipment, and wireless network system | |
CN104506598B (en) | A kind of electric power terminal management method of mixed networking | |
CN106878933A (en) | A kind of bluetooth equipment network-building method and system | |
CN108696843A (en) | Bluetooth group control method, device and system between a kind of physical equipment | |
CN110519741A (en) | A kind of Bluetooth connecting method and system | |
CN108173725A (en) | Apparatus control method, device, terminal and computer readable storage medium | |
CN105682009A (en) | Mobile terminal and method for managing wireless signals | |
CN105848235A (en) | Communication control method and device | |
CN110891292A (en) | Method and device for automatically switching network for terminal | |
CN105657711B (en) | A kind of method for connecting network and electronic equipment | |
CN104754495A (en) | Smart household device connecting method and smart terminal | |
CN103220283A (en) | Method, equipment and system for network sharing | |
CN111325880A (en) | Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium | |
CN104317205B (en) | terminal control method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |