CN107820299A - A kind of method for connecting network, network connection device and mobile terminal - Google Patents
A kind of method for connecting network, network connection device and mobile terminal Download PDFInfo
- Publication number
- CN107820299A CN107820299A CN201711206054.3A CN201711206054A CN107820299A CN 107820299 A CN107820299 A CN 107820299A CN 201711206054 A CN201711206054 A CN 201711206054A CN 107820299 A CN107820299 A CN 107820299A
- Authority
- CN
- China
- Prior art keywords
- wlan
- mobile terminal
- mentioned
- network
- signal strength
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application discloses a kind of method for connecting network, network connection device, mobile terminal and computer-readable recording medium, wherein, the method for connecting network includes:Obtain the real-time signal strength for the WLAN that mobile terminal currently disables;The initial signal intensity of the WLAN and the signal strength difference of the real-time signal strength of the WLAN are calculated, wherein, the signal intensity when initial signal intensity of WLAN is disabled for the WLAN by the mobile terminal;If the signal strength difference is more than default signal strength difference threshold value, the disabling to the WLAN is released.The application can realize to be adjusted to the dynamic of the disabling time of WLAN, helps the upper available WLAN of mobile terminal connection in time.
Description
Technical field
The application belongs to network communication technology field, more particularly to a kind of method for connecting network, network connection device, movement
Terminal and computer-readable recording medium.
Background technology
With the fast development of mechanics of communication, wireless network, particularly WLAN (Wireless Local Area
Net, WLAN) various aspects are obtained for extensive use in life.Because WLAN need not connect up, and transmission speed
Comparatively fast, it is thus possible to make up the deficiency of limited LAN well.And current almost all of mobile terminal is all supported to pass through nothing
The focus (Hotspot) of line fidelity (Wireless Fidelity, Wi-Fi) access WLAN is to realize function of surfing the Net.
Existing mobile terminal is during WLAN is accessed, a certain nothing of connection if continuous several times fail
Line LAN, then this WLAN can be disabled.In a period of WLAN is disabled by mobile terminal, even move
Network environment residing for dynamic terminal has occurred that change, and mobile terminal can not also connect the disabled WLAN,
This will cause mobile terminal possibly can not connect available WLAN in time.
The content of the invention
In view of this, the embodiment of the present application provides a kind of method for connecting network, network connection device, mobile terminal and meter
Calculation machine readable storage medium storing program for executing, it can be achieved to adjust the dynamic of the disabling time of WLAN.
The first aspect of the application provides a kind of method for connecting network, and above-mentioned method for connecting network includes:
Obtain the real-time signal strength for the WLAN that mobile terminal currently disables;
Calculate the signal of the initial signal intensity of above-mentioned WLAN and the real-time signal strength of above-mentioned WLAN
Strength difference, wherein, the initial signal intensity of WLAN is by movement described above when terminal disables for above-mentioned WLAN
Signal intensity;
If above-mentioned signal strength difference is more than default signal strength difference threshold value, above-mentioned mobile terminal releasing pair is triggered
The disabling of above-mentioned WLAN.
The second aspect of the application provides a kind of network connection device, and above-mentioned network connection device includes:
Acquiring unit, the real-time signal strength of the WLAN currently disabled for obtaining mobile terminal;
Computing unit, for calculating the initial signal intensity of above-mentioned WLAN and the real-time letter of above-mentioned WLAN
The signal strength difference of number intensity, wherein, the initial signal intensity of WLAN is by movement described above for above-mentioned WLAN
Signal intensity when terminal disables;
Lifting unit, if for when above-mentioned signal strength difference is more than default signal strength difference threshold value, in triggering
State disabling of the mobile terminal releasing to above-mentioned WLAN.
The third aspect of the application provides a kind of mobile terminal, above-mentioned mobile terminal include memory, processor and
It is stored in the computer program that can be run in above-mentioned memory and on above-mentioned processor, above-mentioned computing device above computer
The step of as above method of first aspect is realized during program.
The fourth aspect of the application provides a kind of computer-readable recording medium, and above computer readable storage medium storing program for executing is deposited
Contain computer program, when above computer program is executed by processor realize as above the method for first aspect the step of.
The 5th aspect of the application provides a kind of computer program product, and above computer program product includes computer
Program, when above computer program is executed by one or more processors realize as above the method for first aspect the step of.
Therefore pass through the real-time letter of application scheme, the first WLAN that acquisition mobile terminal currently disables
Number intensity, and calculate the signal of the initial signal intensity of above-mentioned WLAN and the real-time signal strength of above-mentioned WLAN
Strength difference, when above-mentioned signal strength difference is more than default signal strength difference threshold value, triggers above-mentioned mobile terminal and release
To the disabling of above-mentioned WLAN.In application scheme, when the signal intensity of disabled WLAN becomes strong more
When, mobile terminal can release the disabling to the WLAN so that and the WLAN disabled time no longer keeps fixed,
But Mobile state adjustment can be entered according to network environment, help the upper available WLAN of mobile terminal connection in time.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical scheme in the embodiment of the present application
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description are only some of the application
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of implementation process schematic diagram for method for connecting network that the embodiment of the present application provides;
Fig. 2 is the implementation process schematic diagram for another method for connecting network that the embodiment of the present application provides;
Fig. 3 is a kind of structural representation for network connection device that the embodiment of the present application provides;
Fig. 4 is the structural representation for the mobile terminal that the embodiment of the present application provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, thoroughly to understand the embodiment of the present application.However, it will be clear to one skilled in the art that there is no these specific
The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
In order to illustrate the above-mentioned technical scheme of the application, illustrated below by specific embodiment.
Embodiment one
A kind of method for connecting network provided below the embodiment of the present application is described, referring to Fig. 1, the application is implemented
Method for connecting network in example includes:
In a step 101, the real-time signal strength for the WLAN that mobile terminal currently disables is obtained;
In the embodiment of the present application, when there is currently the WLAN disabled by mobile terminal, can obtain current
The real-time signal strength (Received Signal Strength Indication, RSSI) of moment above-mentioned WLAN.Can
Selection of land, for mobile terminal, when multiple disabled WLANs be present at current time, it can be directed to above-mentioned multiple banned
WLAN obtains corresponding real-time signal strength respectively, and according to the clothes of above-mentioned multiple disabled WLANs
Business set identifier (Service Set Identifier, SSID) makes a distinction the multiple real-time signal strengths got.Certainly,
The multiple real-time signal strengths got can also be carried out by other marks of above-mentioned multiple disabled WLANs
Distinguish, be not construed as limiting herein.
In a step 102, the real-time signal strength of above-mentioned WLAN and the initial letter of above-mentioned WLAN are calculated
The signal strength difference of number intensity;
In the embodiment of the present application, the initial signal intensity of above-mentioned WLAN is above-mentioned WLAN by above-mentioned shifting
Signal intensity during dynamic terminal disabling.Specifically, can be above-mentioned mobile whole when above-mentioned mobile terminal disables WLAN
The local at end, such as record is by movement described above the initial signal intensity of the WLAN of terminal disabling in memory pool.Work as needs
Calculate the initial signal intensity of above-mentioned WLAN and the signal strength difference of the real-time signal strength of above-mentioned WLAN
When, the initial signal intensity of above-mentioned WLAN can be directly obtained from the local of above-mentioned mobile terminal, such as in memory pool.Tool
Body, above-mentioned signal strength difference, refer to the real-time signal strength of above-mentioned WLAN subtracting above-mentioned WLAN
The difference that is obtained of initial signal intensity.
In step 103, if above-mentioned signal strength difference is more than default signal strength difference threshold value, above-mentioned shifting is triggered
Dynamic terminal releases the disabling to above-mentioned WLAN.
In the embodiment of the present application, can be with when above-mentioned signal strength difference is more than default signal strength difference threshold value
Above-mentioned mobile terminal releasing is triggered to the disabling of above-mentioned WLAN, that is to say enabled above-mentioned WLAN so that above-mentioned
WLAN is in the state that can be connected automatically.For example, WLAN Wi-Fi1 is disabled by mobile terminal, it is above-mentioned
Initial signal intensity when WLAN Wi-Fi1 is disabled is -80 decibels (dB);Then, in above-mentioned WLAN Wi-
In Fi1 disabled periods, acquisition for mobile terminal to above-mentioned WLAN Wi-Fi1 real-time signal strength are -70dB, can be counted
It is 10dB that calculation, which obtains the signal strength differences of above-mentioned WLAN Wi-Fi1 now,;It is assumed that signal strength difference threshold value is 4dB,
It is more than signal strength difference threshold value 4dB, i.e. net residing for current mobile terminal due to calculating the signal strength difference 10dB obtained
Network environment is changed, and above-mentioned WLAN Wi-Fi1 signal intensity, which has, largely to be lifted, and can trigger movement
Terminal releases the disabling to above-mentioned WLAN Wi-Fi1 so that above-mentioned mobile terminal can be attempted to connect above-mentioned wireless local
Net Wi-Fi1.
Alternatively, above-mentioned steps 101 include:
When above-mentioned mobile terminal is scanned to the wireless network environment being presently in, it is current to obtain above-mentioned mobile terminal
The real-time signal strength of the WLAN of disabling.
In the embodiment of the present application, whenever the Wi-Fi environment that above-mentioned mobile terminal is presently in it is scanned
When, the real-time signal strength for the WLAN that above-mentioned mobile terminal currently disables can be obtained, that is, obtains the nothing currently disabled
The frequency for the wireless network environment that the frequency of the real-time signal strength of line LAN is presently in above-mentioned mobile scanning terminal is protected
Hold consistent.It is of course also possible to the live signal for the WLAN that above-mentioned mobile terminal currently disables is obtained otherwise
Intensity, for example, it may be what is be currently accessed in mobile terminal is mobile data network, such as general packet radio service technology
(GPRS, General Packet Radio Service)) network, 3 G mobile communication network (i.e. 3G network) or forth generation
During mobile communications network (i.e. 4G networks), the live signal for the WLAN that above-mentioned mobile terminal currently disables periodically is obtained
Intensity;Or or mobile terminal carried out unblock operation when, obtain the wireless office that above-mentioned mobile terminal currently disables
The real-time signal strength of domain net, is not construed as limiting herein.
Therefore in the embodiment of the present application, when the signal intensity for detecting disabled WLAN have it is larger
During the lifting of degree, mobile terminal can is released to the disabling of the WLAN so that WLAN it is disabled when
Between no longer keep fixing, but Mobile state adjustment can be entered according to network environment, help the mobile terminal upper available nothing of connection in time
Line LAN, reduce the situation generation that one WLAN of disabling for a long time occurs.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present application forms any limit with its function and internal logic
It is fixed.
Embodiment two
On the basis of above-described embodiment one, another method for connecting network that the embodiment of the present application provides is carried out below
Description, referring to Fig. 2, the method for connecting network in the embodiment of the present application includes:
In step 201, the real-time signal strength for the WLAN that mobile terminal currently disables is obtained;
In step 202, the initial signal intensity of above-mentioned WLAN and the real-time letter of above-mentioned WLAN are calculated
The signal strength difference of number intensity, wherein, the initial signal intensity of WLAN is by movement described above for above-mentioned WLAN
Signal intensity when terminal disables;
In step 203, if above-mentioned signal strength difference is more than default signal strength difference threshold value, above-mentioned shifting is triggered
Dynamic terminal releases the disabling to above-mentioned WLAN.
In the embodiment of the present application, above-mentioned steps 201,202 and 203 it is similar to above-mentioned steps 101,102 and 103 respectively or
It is identical, the associated description of above-mentioned steps 101,102 and 103 is specifically can refer to, here is omitted.
In step 204, in the case where above-mentioned mobile terminal does not currently access WLAN, detect above-mentioned mobile whole
Hold in the wireless network environment being presently in and whether there is other attachable WLANs, if so, step 205 is then performed,
If it is not, then perform step 207;
In the embodiment of the present application, if after triggering above-mentioned mobile terminal and relieving to the disabling of above-mentioned WLAN,
It was found that above-mentioned mobile terminal does not currently access WLAN also, then can continue to detect the wireless network residing for above-mentioned mobile terminal
It whether there is other attachable WLANs in network environment.Wherein, even if above-mentioned mobile terminal has currently accessed movement
Network and do not access WLAN, because the rate using mobile network are generally higher, thus now will also continue in detection
State and whether there is other attachable WLANs in the wireless network environment that mobile terminal is presently in.
In step 205, obtain the network state of above-mentioned other attachable WLANs and be released from the upper of disabling
State the network state of WLAN;
In the embodiment of the present application, detect other attachable nothings in the network environment residing for above-mentioned mobile terminal be present
During line LAN, for example, there is multiple disabled WLANs to be disabled because signal intensity has taken a turn for the better by releasing successively;
Or occur new attachable WLAN in the wireless network environment residing for mobile terminal, then at this point it is possible to respectively
The network state of the current attachable each WLAN of mobile terminal is obtained, above-mentioned mobile terminal is current attachable each
WLAN includes being released from the WLAN of disabling and other attachable WLANs in this step 203.On
State network state and include but is not limited to more than one following index:Signal intensity, packet loss, network speed.
In step 206, above-mentioned other attachable WLANs and be released from disabling above-mentioned WLAN
In, the optimal WLAN of network state is defined as objective network;
In the embodiment of the present application, in above-mentioned other attachable WLANs and the above-mentioned nothing disabled can be released from
In line LAN, the optimal WLAN of network state is defined as objective network.Alternatively, if above-mentioned network state includes
This index of signal intensity, then the most strong network of above-mentioned signal intensity can be defined as objective network;If above-mentioned network state
Including this index of packet loss, then the minimum network of above-mentioned packet loss can be defined as objective network;If above-mentioned network state
Including this index of network speed, then the most fast network of above-mentioned network speed can be defined as objective network.Alternatively, if on
When stating network state includes the two or more indexs in signal intensity, packet loss, network speed, then it can be based respectively on different
Index carries out ranking for each attachable WLAN, and is respectively each attachable wireless local according to each ranking
Net is correspondingly scored, and finally calculates the weight score value of each WLAN.For example, signal intensity, packet loss and
The weight of network speed is respectively 0.3,0.3 and 0.4, if there is currently Wi-Fi1, Wi-Fi2, Wi-Fi3, and Wi-Fi4 this four
Attachable WLAN, then respectively with signal intensity by strong extremely weak order, the order with packet loss from low to high, with net
The order of network speed from fast to slow is ranked up to the attachable WLAN of aforementioned four, in each index ranking results, row
The WLAN of name first is 5 points, and the WLAN being number two is 4 points, the like;It is assumed that Wi-Fi1 score point
Not Wei 5 (signal intensities), 3 (packet loss) and 4 (network speeds), then the weight score value that can calculate Wi-Fi1 is 5*0.3+
3*0.3+4*0.4=3.The weight score value of other each WLANs is calculated in the same way, will wherein be weighted
Score value highest WLAN is defined as objective network.
In step 207, trigger above-mentioned mobile terminal and access above-mentioned objective network;
In the embodiment of the present application, when in above-mentioned other attachable WLANs and being released from the above-mentioned wireless of disabling
After determining objective network in LAN, above-mentioned mobile terminal can be accessed to the above-mentioned objective network determined.
In a step 208, the above-mentioned WLAN that above-mentioned mobile terminal access is released from disabling is triggered.
In the embodiment of the present application, other connect when detecting to be not present in the network environment residing for above-mentioned mobile terminal
WLAN when, then can directly by above-mentioned mobile terminal access be released from disabling above-mentioned WLAN in.
Alternatively, above-mentioned steps 201 include:
When above-mentioned mobile terminal is scanned to the wireless network environment being presently in, it is current to obtain above-mentioned mobile terminal
The real-time signal strength of the WLAN of disabling.
In the embodiment of the present application, whenever the Wi-Fi environment that above-mentioned mobile terminal is presently in it is scanned
When, the real-time signal strength for the WLAN that above-mentioned mobile terminal currently disables can be obtained, that is, obtains the nothing currently disabled
The frequency for the wireless network environment that the frequency of the real-time signal strength of line LAN is presently in above-mentioned mobile scanning terminal is protected
Hold consistent.It is of course also possible to the live signal for the WLAN that above-mentioned mobile terminal currently disables is obtained otherwise
Intensity, for example, it may be what is be currently accessed in mobile terminal is mobile data network, such as general packet radio service technology
(GPRS, General Packet Radio Service)) network, 3 G mobile communication network (i.e. 3G network) or forth generation
During mobile communications network (i.e. 4G networks), the live signal for the WLAN that above-mentioned mobile terminal currently disables periodically is obtained
Intensity;Or or mobile terminal carried out unblock operation when, obtain the wireless office that above-mentioned mobile terminal currently disables
The real-time signal strength of domain net, is not construed as limiting herein.
Therefore in the embodiment of the present application, when the signal intensity for detecting disabled WLAN have it is larger
During the lifting of degree, mobile terminal can is released to the disabling of the WLAN so that WLAN it is disabled when
Between no longer keep fixing, but Mobile state adjustment can be entered according to network environment, help the mobile terminal upper available nothing of connection in time
Line LAN, reduce the situation generation that one WLAN of disabling for a long time occurs.Also, releasing to the WLAN
After disabling, if current mobile terminal only exists this attachable WLAN, mobile terminal is directly accessed into the nothing
Line LAN;If there are multiple attachable WLANs in current mobile terminal, by connection of mobile terminal into network state most
Good WLAN, realize the intelligent reconnection of mobile terminal.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present application forms any limit with its function and internal logic
It is fixed.
Embodiment three
The embodiment of the present application also provides a kind of network connection device, as shown in figure 3, the network connection in the embodiment of the present application
Device 300 includes:
Acquiring unit 301, the real-time signal strength of the WLAN currently disabled for obtaining mobile terminal;
Computing unit 302, for calculating the initial signal intensity of above-mentioned WLAN and the reality of above-mentioned WLAN
When signal intensity signal strength difference, wherein, the initial signal intensity of WLAN is above-mentioned for above-mentioned WLAN
Signal intensity when mobile terminal disables;
Lifting unit 303, if for when above-mentioned signal strength difference is more than default signal strength difference threshold value, triggering
Above-mentioned mobile terminal releases the disabling to above-mentioned WLAN.
Alternatively, above-mentioned network connection device 300 also includes:
Recording unit, for when above-mentioned mobile terminal disable WLAN when, in the memory pool of above-mentioned mobile terminal
Record is by movement described above the initial signal intensity of the WLAN of terminal disabling.
Alternatively, above-mentioned network connection device 300 also includes:
Detection unit, work as when above-mentioned mobile terminal does not currently access WLAN, detecting above-mentioned mobile terminal
It whether there is other attachable WLANs in preceding residing wireless network environment;
First connection unit, for other connect to be not present in the wireless network environment that is presently in when above-mentioned mobile terminal
During the WLAN connect, the above-mentioned WLAN that above-mentioned mobile terminal access is released from disabling is triggered.
Alternatively, above-mentioned network connection device 300 also includes:
Second acquisition unit, for other connect be present in the wireless network environment that is presently in when above-mentioned mobile terminal
WLAN when, obtain the network state of above-mentioned other attachable WLANs and be released from the above-mentioned wireless of disabling
The network state of LAN;
Determining unit, for above-mentioned other attachable WLANs and be released from disabling above-mentioned WLAN
In, the optimal WLAN of network state is defined as objective network;
Second connection unit, above-mentioned objective network is accessed for triggering above-mentioned mobile terminal.
Alternatively, above-mentioned acquiring unit 301, specifically for when above-mentioned mobile terminal is to the wireless network environment that is presently in
When being scanned, the real-time signal strength for the WLAN that above-mentioned mobile terminal currently disables is obtained.
Therefore in the embodiment of the present application, when network connection device detects the letter of disabled WLAN
Number intensity has when largely being lifted, and mobile terminal can releases the disabling to the WLAN so that wireless local
Netting the disabled time no longer keeps fixed, but can enter Mobile state adjustment according to network environment, helps mobile terminal to connect in time
Available WLAN is connected, reduces the situation generation that one WLAN of disabling for a long time occurs.Also, releasing to this
, directly will be mobile if current mobile terminal only exists this attachable WLAN after the disabling of WLAN
Terminal accesses the WLAN;If current mobile terminal has multiple attachable WLANs, mobile terminal is connect
Enter the optimal WLAN of network state, realize the intelligent reconnection of mobile terminal.
Example IV
The embodiment of the present application provides a kind of mobile terminal, referring to Fig. 4, the mobile terminal 400 in the embodiment of the present application wraps
Include:Memory 401, one or more processors 402 (one is only shown in Fig. 4) and is stored on memory 401 and can locate
The computer program run on reason device.Wherein:Memory 401 is used to store software program and unit, and processor 402 passes through fortune
Row is stored in the software program and unit of memory 401, so as to perform various function application and data processing, with acquisition
State resource corresponding to predeterminable event.Specifically, processor 402 is stored in the above computer program of memory 401 by operation
Shi Shixian following steps:
Obtain the real-time signal strength for the WLAN that mobile terminal currently disables;
Calculate the signal of the initial signal intensity of above-mentioned WLAN and the real-time signal strength of above-mentioned WLAN
Strength difference, wherein, the initial signal intensity of WLAN is by movement described above when terminal disables for above-mentioned WLAN
Signal intensity;
If above-mentioned signal strength difference is more than default signal strength difference threshold value, above-mentioned mobile terminal releasing pair is triggered
The disabling of above-mentioned WLAN.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, the real-time signal strength of the WLAN that above-mentioned acquisition mobile terminal currently disables it
Before, processor 402 also realizes following steps when being stored in the above computer program of memory 401 by operation:
When above-mentioned mobile terminal disables WLAN, record and be by movement described above in the memory pool of above-mentioned mobile terminal
The initial signal intensity of the WLAN of terminal disabling.
It is above-mentioned in the third the possible embodiment provided based on the first above-mentioned possible embodiment
After above-mentioned mobile terminal releasing is triggered to the disabling of above-mentioned WLAN, processor 402 is stored in memory by operation
Following steps are also realized during 401 above computer program:
If above-mentioned mobile terminal does not access WLAN currently, the wireless network that above-mentioned mobile terminal is presently in is detected
It whether there is other attachable WLANs in network environment;
If other attachable WLANs are not present in the wireless network environment that above-mentioned mobile terminal is presently in,
Trigger the above-mentioned WLAN that above-mentioned mobile terminal access is released from disabling.
It is above-mentioned in the 4th kind of possible embodiment provided based on the third above-mentioned possible embodiment
Detect after whether there is other attachable WLANs in the wireless network environment that above-mentioned mobile terminal is presently in, place
Reason device 402 also realizes following steps when being stored in the above computer program of memory 401 by operation:
If other attachable WLANs in the wireless network environment that above-mentioned mobile terminal is presently in be present, obtain
Take the network state of above-mentioned other attachable WLANs and be released from the network state of the above-mentioned WLAN of disabling;
In above-mentioned other attachable WLANs and it is released from the above-mentioned WLAN of disabling, by network state
Optimal WLAN is defined as objective network;
Trigger above-mentioned mobile terminal and access above-mentioned objective network.
Based on the first above-mentioned possible embodiment, or above-mentioned second of possible embodiment is as base
Plinth, either based on the third above-mentioned possible embodiment or based on above-mentioned 4th kind of possible embodiment
And in the 5th kind of possible embodiment provided, the live signal for the WLAN that above-mentioned acquisition mobile terminal currently disables
Intensity, including:
When above-mentioned mobile terminal is scanned to the wireless network environment being presently in, it is current to obtain above-mentioned mobile terminal
The real-time signal strength of the WLAN of disabling.
Further, as shown in figure 4, above-mentioned mobile terminal 4 may also include:One or more input equipments 403 are (in Fig. 4 only
Show one) and one or more output equipments 404 (one is only shown in Fig. 4).Memory 401, processor 402, input are set
Connected for 403 and output equipment 404 by bus 405.
It should be appreciated that above-mentioned mobile terminal 4 can be smart mobile phone, desktop PC, notebook, palm PC and put down
The computing devices such as plate computer.Alleged processor 402 can be CPU (Central Processing Unit,
CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor,
DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate
Array (Field-Programmable Gate Array, FPGA) either other PLDs, discrete gate or crystal
Pipe logical device, discrete hardware components etc..General processor can be microprocessor or the processor can also be it is any often
Processor of rule etc..
Input equipment 403 can include keyboard, Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and
The directional information of fingerprint), microphone etc., output equipment 404 can include display, loudspeaker etc..
Memory 401 can include read-only storage and random access memory, and provide instruction sum to processor 402
According to.Part or all of memory 401 can also include nonvolatile RAM.For example, memory 401 may be used also
With the information of storage device type.
Therefore in the embodiment of the present application, when mobile terminal detects that the signal of disabled WLAN is strong
Degree has when largely being lifted, and can release the disabling to the WLAN so that the WLAN disabled time
No longer keep fixing, but Mobile state adjustment can be entered according to network environment, help mobile terminal connection in time upper available wireless
LAN, reduce the situation generation that one WLAN of disabling for a long time occurs.Also, releasing the taboo to the WLAN
With rear, if there is currently only this attachable WLAN, mobile terminal will be directly accessed the WLAN;If
Multiple attachable WLANs are there is currently, then the mobile terminal WLAN optimal by network state is accessed, realized
The intelligent reconnection of mobile terminal.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of said apparatus are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, system embodiment described above is only schematical, for example, the division of above-mentioned module or unit,
Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with
With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-described embodiment side
All or part of flow in method, by computer program the hardware of correlation can also be instructed to complete, above-mentioned computer
Program can be stored in a computer-readable recording medium, and the computer program can be achieved above-mentioned each when being executed by processor
The step of individual embodiment of the method.Wherein, above computer program includes computer program code, and above computer program code can
Think source code form, object identification code form, executable file or some intermediate forms etc..Above computer computer-readable recording medium can be with
Including:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, the light of above computer program code can be carried
Disk, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above computer
The content that computer-readable recording medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as
In some jurisdictions, according to legislation and patent practice, computer-readable medium does not include being electric carrier signal and telecommunications letter
Number.
Above above-described embodiment is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to foregoing reality
Example is applied the application is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application, all should
Within the protection domain of the application.
Claims (10)
1. a kind of method for connecting network, it is characterised in that the method for connecting network includes:
Obtain the real-time signal strength for the WLAN that mobile terminal currently disables;
Calculate the initial signal intensity of the WLAN and the signal intensity of the real-time signal strength of the WLAN
Difference, wherein, the signal when initial signal intensity of WLAN is disabled for the WLAN by the mobile terminal
Intensity;
If the signal strength difference is more than default signal strength difference threshold value, triggers the mobile terminal and release to described
The disabling of WLAN.
2. method for connecting network as claimed in claim 1, it is characterised in that the acquisition mobile terminal currently disables wireless
Before the real-time signal strength of LAN, in addition to:
When the mobile terminal disables WLAN, record is by the mobile terminal in the memory pool of the mobile terminal
The initial signal intensity of the WLAN of disabling.
3. method for connecting network as claimed in claim 1, it is characterised in that the triggering mobile terminal is released to described
After the disabling of WLAN, in addition to:
If the mobile terminal does not access WLAN currently, the wireless network ring that the mobile terminal is presently in is detected
It whether there is other attachable WLANs in border;
If other attachable WLANs are not present in the wireless network environment that the mobile terminal is presently in, trigger
The mobile terminal access is released from the WLAN of disabling.
4. method for connecting network as claimed in claim 3, it is characterised in that what the detection mobile terminal was presently in
After whether there is other attachable WLANs in wireless network environment, in addition to:
If other attachable WLANs in the wireless network environment that the mobile terminal is presently in be present, institute is obtained
State the network state of other attachable WLANs and be released from the network state of the WLAN of disabling;
In other attachable WLANs and it is released from the WLAN of disabling, network state is optimal
WLAN be defined as objective network;
Trigger the mobile terminal and access the objective network.
5. the method for connecting network as described in any one of Claims 1-4, it is characterised in that the acquisition mobile terminal is current
The real-time signal strength of the WLAN of disabling, including:
When the mobile terminal is scanned to the wireless network environment being presently in, obtains the mobile terminal and currently disable
WLAN real-time signal strength.
6. a kind of network connection device, it is characterised in that the network connection device includes:
Acquiring unit, the real-time signal strength of the WLAN currently disabled for obtaining mobile terminal;
Computing unit, the initial signal intensity and the live signal of the WLAN for calculating the WLAN are strong
The signal strength difference of degree, wherein, the initial signal intensity of WLAN is the WLAN by the mobile terminal
Signal intensity during disabling;
Lifting unit, if for when the signal strength difference is more than default signal strength difference threshold value, triggering the shifting
Dynamic terminal releases the disabling to the WLAN.
7. network connection device as claimed in claim 6, it is characterised in that the network connection device also includes:
Recording unit, for when the mobile terminal disables WLAN, being recorded in the memory pool of the mobile terminal
The initial signal intensity of the WLAN disabled by the mobile terminal.
8. network connection device as claimed in claim 6, it is characterised in that the network connection device also includes:
Detection unit, for when the mobile terminal does not currently access WLAN, detecting the current institute of the mobile terminal
It whether there is other attachable WLANs in the wireless network environment at place;
Connection unit, it is other attachable wireless for being not present in the wireless network environment that is presently in when the mobile terminal
During LAN, the WLAN that the mobile terminal access is released from disabling is triggered.
9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor
The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program
The step of any one methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists
In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711206054.3A CN107820299A (en) | 2017-11-27 | 2017-11-27 | A kind of method for connecting network, network connection device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711206054.3A CN107820299A (en) | 2017-11-27 | 2017-11-27 | A kind of method for connecting network, network connection device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107820299A true CN107820299A (en) | 2018-03-20 |
Family
ID=61610314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711206054.3A Pending CN107820299A (en) | 2017-11-27 | 2017-11-27 | A kind of method for connecting network, network connection device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107820299A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110475244A (en) * | 2018-05-10 | 2019-11-19 | 腾讯科技(上海)有限公司 | Terminal management method, system, device, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143552A (en) * | 2010-11-24 | 2011-08-03 | 华为技术有限公司 | Access processing method, base station and terminal |
CN103997768A (en) * | 2014-05-16 | 2014-08-20 | 深圳市欧珀通信软件有限公司 | Method and device for preventing access to invalid Wi-Fi hot spots |
CN106792526A (en) * | 2016-12-14 | 2017-05-31 | 北京小米移动软件有限公司 | The disable time of the band of position determines method and terminal |
CN106851780A (en) * | 2016-12-07 | 2017-06-13 | 广东欧珀移动通信有限公司 | The method and terminal of a kind of network connection |
CN107332740A (en) * | 2017-08-25 | 2017-11-07 | 广东欧珀移动通信有限公司 | A kind of network detecting method, network detection means and intelligent terminal |
-
2017
- 2017-11-27 CN CN201711206054.3A patent/CN107820299A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143552A (en) * | 2010-11-24 | 2011-08-03 | 华为技术有限公司 | Access processing method, base station and terminal |
CN103997768A (en) * | 2014-05-16 | 2014-08-20 | 深圳市欧珀通信软件有限公司 | Method and device for preventing access to invalid Wi-Fi hot spots |
CN106851780A (en) * | 2016-12-07 | 2017-06-13 | 广东欧珀移动通信有限公司 | The method and terminal of a kind of network connection |
CN106792526A (en) * | 2016-12-14 | 2017-05-31 | 北京小米移动软件有限公司 | The disable time of the band of position determines method and terminal |
CN107332740A (en) * | 2017-08-25 | 2017-11-07 | 广东欧珀移动通信有限公司 | A kind of network detecting method, network detection means and intelligent terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110475244A (en) * | 2018-05-10 | 2019-11-19 | 腾讯科技(上海)有限公司 | Terminal management method, system, device, terminal and storage medium |
CN110475244B (en) * | 2018-05-10 | 2023-03-10 | 腾讯科技(上海)有限公司 | Terminal management method, system, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8718644B2 (en) | Automatically modifying wireless network connection policies based on user activity levels | |
JP6292642B2 (en) | Control method and apparatus | |
CN107295594A (en) | Method for switching network, device and mobile terminal | |
CN112929926B (en) | Sending method and receiving method of adjacent cell CSI report and related equipment | |
CN108347277A (en) | Method of controlling antenna, device, storage medium and electronic equipment | |
CN106714250A (en) | Cell registration method and apparatus | |
CN106507445A (en) | A kind of Wireless Fidelity Wi Fi scan methods and mobile terminal | |
CN107484190A (en) | Method for connecting network, mobile terminal and computer-readable recording medium | |
CN106776036A (en) | A kind of resource allocation methods and device | |
CN107241771A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107404740B (en) | Method for switching network, device and the terminal device of safety | |
CN107484195A (en) | A kind of method, terminal and computer-readable medium for selecting antenna | |
CN107197489A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
US20130045693A1 (en) | Method and apparatus for triggering measurement reporting based upon neighbor cell interference | |
CN106851755A (en) | A kind of cell registration method and device | |
CN107222898A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107484212A (en) | Router side WiFi switching methods and router | |
CN105827271A (en) | Mobile communication method and mobile communication device | |
CN107404741A (en) | A kind of cell selecting method, terminal and computer-readable recording medium | |
CN108076489A (en) | A kind of method and device of cell selection | |
CN106792910B (en) | Load balancing method and device | |
CN107241758A (en) | Network control method, network control unit and intelligent terminal | |
CN107318140A (en) | Method for switching network, mobile terminal and computer-readable recording medium | |
CN107332740A (en) | A kind of network detecting method, network detection means and intelligent terminal | |
CN107295592A (en) | Method for switching network, mobile terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180320 |
|
RJ01 | Rejection of invention patent application after publication |