CN105516913A - WIFI connection method and WIFI connection device - Google Patents

WIFI connection method and WIFI connection device Download PDF

Info

Publication number
CN105516913A
CN105516913A CN201410486159.9A CN201410486159A CN105516913A CN 105516913 A CN105516913 A CN 105516913A CN 201410486159 A CN201410486159 A CN 201410486159A CN 105516913 A CN105516913 A CN 105516913A
Authority
CN
China
Prior art keywords
hot spot
mobile terminal
wifi hot
positional information
described
Prior art date
Application number
CN201410486159.9A
Other languages
Chinese (zh)
Inventor
王战盟
张文娜
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN201410486159.9A priority Critical patent/CN105516913A/en
Publication of CN105516913A publication Critical patent/CN105516913A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THIR OWN ENERGY USE
    • Y02D70/00Techniques for reducing energy consumption in wireless communication networks
    • Y02D70/10Techniques for reducing energy consumption in wireless communication networks according to the Radio Access Technology [RAT]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THIR OWN ENERGY USE
    • Y02D70/00Techniques for reducing energy consumption in wireless communication networks
    • Y02D70/10Techniques for reducing energy consumption in wireless communication networks according to the Radio Access Technology [RAT]
    • Y02D70/14Techniques for reducing energy consumption in wireless communication networks according to the Radio Access Technology [RAT] in Institute of Electrical and Electronics Engineers [IEEE] networks

Abstract

The invention discloses a WIFI connection method and a WIFI connection device. The method comprises the steps of acquiring the current location information of a mobile terminal before WIFI hotspot scanning, and directly establishing a connection with a WIFI hotspot stored in the mobile terminal when determining that the current location information of the mobile terminal matches the location information corresponding to the WIFI hotspot stored in the mobile terminal. According to the invention, the problem that the mode of WIFI power consumption reduction is of poor effect in the related technologies is solved, the power consumption of WIFI is reduced, the power consumption of mobile terminals is reduced, and the battery life of mobile terminals is improved.

Description

WIFI method of attachment and device

Technical field

The present invention relates to the communications field, in particular to (Wireless-Fidelity, referred to as the WIFI) method of attachment of a kind of Wireless Fidelity and device.

Background technology

The flying power of mobile terminal more and more becomes one of performance that user is concerned about most, and the power consumption reducing mobile terminal increases flying power can the market competitiveness of direct lifting mobile terminal.Reduce power consumption and also become research staff's one large research topic.

Current people get more and more for the use of WIFI, and WIFI is as a critical function of mobile terminal, and frequency of utilization is also more and more higher.But WIFI is also one of consumed power very broad aspect, when WIFI at scan hot spot time can consume a lot of power consumption.People have also done effort from a lot of aspect to the power consumption reducing WIFI, but the meeting had in these methods affects the performance of WIFI, and some is that effect is not too obvious.

For the problem of the mode poor effect of the minimizing WIFI power consumption in correlation technique, at present effective solution is not yet proposed.

Summary of the invention

The invention provides a kind of WIFI method of attachment and device, at least to solve the problem of the mode poor effect of the minimizing WIFI power consumption in correlation technique.

According to one embodiment of present invention, provide a kind of WIFI method of attachment, comprising: before WIFI hot spot scanning, obtain the positional information that mobile terminal is current; When determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, the WIFI hot spot of having preserved directly to described mobile terminal connects.

In the present embodiment, determine that the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved specifically comprises: obtain the positional information table that the WIFI hot spot of having preserved is corresponding, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof; The positional information current according to described mobile terminal judges whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated.

In the present embodiment, position range corresponding to described WIFI hot spot is with the coordinate of described WIFI hot spot for round dot, and predeterminable range value R is the scope of radius.

In the present embodiment, after the WIFI hot spot of having preserved directly to described mobile terminal connects, also comprise: when the WIFI hot spot of having preserved to described mobile terminal connects failure, add up described failed number of times.

In the present embodiment, when described failed number of times does not reach threshold value, the WIFI hot spot continuing to have preserved to described mobile terminal connects; And/or, when described failed number of times reaches described threshold value, start WIFI hot spot scanning.

In the present embodiment, after the WIFI hot spot of having preserved directly to described mobile terminal connects, also comprise: under the WIFI hot spot of having preserved to described movement connects successful situation, the described failed number of times of statistics is reset.

According to another embodiment of the present invention, provide a kind of WIFI method of attachment, comprising: before WIFI hot spot scanning, obtain the positional information that mobile terminal is current; When determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, unlatching WIFI hot spot scans, and after scanning the WIFI hot spot that described mobile terminal preserved, stop WIFI hot spot scanning; The WIFI hot spot of having preserved to described mobile terminal connects.

In the present embodiment, determine that the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved specifically comprises: obtain the positional information table that the WIFI hot spot of having preserved is corresponding, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof; The positional information current according to described mobile terminal judges whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated.

In the present embodiment, position range corresponding to described WIFI hot spot is with the coordinate of described WIFI hot spot for round dot, and predeterminable range value R is the scope of radius.

According to one more embodiment of the present invention, provide a kind of WIFI jockey, comprising: the first acquisition module, for before WIFI hot spot scanning, obtain the positional information that mobile terminal is current; First connection establishment module, for when determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, the WIFI hot spot of having preserved directly to described mobile terminal connects.

In the present embodiment, described first connection establishment module comprises: the first acquiring unit, and for obtaining positional information table corresponding to the WIFI hot spot of having preserved, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof; First matching unit, judge whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot for the positional information current according to described mobile terminal, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preservation is mated; Connection establishment unit, for being coupling in the result of described first matching unit, the WIFI hot spot of having preserved directly to described mobile terminal connects.

In the present embodiment, described device also comprises: statistical module, for connect in the WIFI hot spot of having preserved to described mobile terminal failure, add up described failed number of times; When described failed number of times does not reach threshold value, the WIFI hot spot continuing to have preserved to described mobile terminal connects; And/or, when described failed number of times reaches described threshold value, start WIFI hot spot scanning.

In the present embodiment, described device also comprises: dump block, in the successful situation that connects in the WIFI hot spot of having preserved to described movement, is reset by the described failed number of times of statistics.

According to one more embodiment of the present invention, additionally provide a kind of WIFI jockey, comprising: the second acquisition module, for before WIFI hot spot scanning, obtain the positional information that mobile terminal is current; Scan module, for when determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, unlatching WIFI hot spot scans, and after scanning the WIFI hot spot that described mobile terminal preserved, stops WIFI hot spot scanning; Second connection establishment module, connects for the WIFI hot spot of having preserved to described mobile terminal.

In the present embodiment, described scan module comprises: second acquisition unit, and for obtaining positional information table corresponding to the WIFI hot spot of having preserved, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof; Second matching unit, judge whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot for the positional information current according to described mobile terminal, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated; Scanning element, for being coupling in the result of described second matching unit, opens WIFI hot spot scanning, and after scanning the WIFI hot spot that described mobile terminal preserved, stops WIFI hot spot scanning.

By the present invention, adopt before WIFI hot spot scanning, obtain the positional information that mobile terminal is current; When determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, the mode that the WIFI hot spot of having preserved directly to described mobile terminal connects, solve the problem of the mode poor effect of the minimizing WIFI power consumption in correlation technique, reduce WIFI power consumption, and then reduce the electric quantity consumption of mobile terminal, improve the flying power of battery of mobile terminal.

Accompanying drawing explanation

Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:

Fig. 1 is the flow chart of a kind of WIFI method of attachment according to the embodiment of the present invention;

Fig. 2 is the structured flowchart of a kind of WIFI jockey according to the embodiment of the present invention;

Fig. 3 is the flow chart of the another kind of WIFI method of attachment according to the embodiment of the present invention;

Fig. 4 is the structured flowchart of the another kind of WIFI jockey according to the embodiment of the present invention;

Fig. 5 is a kind of according to the preferred embodiment of the invention workflow schematic diagram utilizing the positional information of mobile terminal to reduce WIFI power consumption method;

Fig. 6 is the structured flowchart of mobile terminal according to the preferred embodiment of the invention;

Fig. 7 is the realization flow figure of replacement scheme according to the preferred embodiment of the invention.

Embodiment

Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.

In the method for current minimizing WIFI power consumption, be generally divided into two classes: a class is hardware approach, another kind of is the method for software.

So-called hardware approach, controls to reach the object of saving power consumption to the power supply of WIFI exactly from the design and operation of hardware circuit.Have plenty of the corresponding device of increase in correlation technique open or close WIFI, data judgment means is exported as increased by one, for judging whether the data output end of WIFI baseband signal processor exports data, when exporting data, all power circuits of WIFI are connected, otherwise just power circuit is disconnected.Such method can increase hardware cost and increase the cabling of PCB, adds electromagnetic interference and falls; On the other hand, because open the process of WIFI, all need the time from the loading running to bottom layer driving of upper layer software (applications), needing when there being data just to go to open WIFI when transmission, certain delay and the possibility of obliterated data can be brought, reduce user and embody performance.

Adopt in hardware technology the power supply of also having plenty of by changing WIFI, the supply power voltage namely changing WIFI or the method for closing power supply reach the object reducing power consumption.Such as under the different conditions of work, dormancy and closedown, carry out different power supply supplies respectively according to WIFI module.Supply full power supply when WIFI works, only supply small part power supply in the dormant state, then close its all power supply supply when WIFI closes.The method can save power consumption when WIFI dormancy or closedown, but can not reduce the power consumption of WIFI operation.

So-called software approach, the course of work exactly from software aspect to WIFI is optimized and reduces power consumption.In terminal entries in the past, inventor finds in the various power consumptions of WIFI, the power consumption consumed when terminal scanning focus is very large, therefore the scene used for WIFI is expected, other method is utilized to save or shorten the process of WIFI scan hot spot, so just save or decrease the power consumption that scanning process consumes, thus reduce the power consumption of WIFI.

Current technical scheme all can first do a full scan operation before connection focus, scanned neighbouring focus, again to needing the focus connected to connect after having scanned.This is for the focus connected before, also will carry out scanning before proceeding again, WIFI will be made to consume too much power, cause the increase of overall power.Namely when mobile terminal be in one have before connect heat spot local time, current technical scheme all can first do a full scan action before this focus of connection, focuses all is around scanned, connects again after the focus connected before scanning.Like this, be one and first scan latter linked process.Since connected the place of heat spot before mobile terminal is in, first scan and be connected to this focus afterwards, so just can save the process of this scanning completely and be directly connected to this focus.Will decrease single pass process like this, and the scanning times of this situation is considerable.The power consumption that WIFI often does single pass is at least more than 100 milliampere, and in the location technology of current acquisition positional information, have plenty of the power consumption of location technology such as GPS location consumption less than 50 milliamperes, some location technologies such as cellular localization need not consume extra power consumption.The positional information that the present embodiment utilizes location technology to obtain mobile terminal decreases the scanning before connection, the number of times decreasing the scanning before this connection focus is more than the scanning times reduced in relevant programme a lot, from the power consumption of entirety, the scheme that the present embodiment provides can greatly reduce WIFI power consumption.

Based on above-mentioned thinking, in the present embodiment, provide a kind of WIFI method of attachment, Fig. 1 is the flow chart of a kind of WIFI method of attachment according to the embodiment of the present invention, and as shown in Figure 1, the method comprises the steps:

Step S102, before WIFI hot spot scanning, obtains the positional information that mobile terminal is current;

Step S104, when determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, the WIFI hot spot of having preserved directly to described mobile terminal connects.

The present embodiment passes through above-mentioned steps, before WIFI hot spot scanning, if find that the current positional information of the mobile terminal positional information corresponding with the focus that WIFI preserves matches, then skip scanning step but directly connect with the WIFI hot spot of mating, thus greatly reduce the scanning times of WIFI hot spot, solve the problem of the mode poor effect of the minimizing WIFI power consumption in correlation technique, reduce WIFI power consumption, and then reduce the electric quantity consumption of mobile terminal, improve the flying power of battery of mobile terminal.

In the present embodiment, determine that the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved specifically can be as follows: obtain the positional information table that the WIFI hot spot of having preserved is corresponding, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof; The positional information current according to described mobile terminal judges whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated.

Wherein, position range corresponding to described WIFI hot spot can be with the coordinate of described WIFI hot spot for round dot, and predeterminable range value R is the scope of radius.

In the present embodiment, consider that the WIFI hot spot of having preserved likely changes in practical situations both, such as focus is closed, therefore, after the WIFI hot spot of having preserved directly to described mobile terminal connects, when connecting failure, described failed number of times can also be added up.

Alternatively, when described failed number of times does not reach threshold value, the WIFI hot spot that can continue to have preserved to described mobile terminal connects; And/or, when described failed number of times reaches described threshold value, then start WIFI hot spot scanning.And if connect successfully to the WIFI hot spot that described mobile terminal has been preserved, then can the described failed number of times of statistics reset.

In the present embodiment, the current positional information of described mobile terminal can one of be at least obtained by following locate mode: global positioning system (GlobalPositioningSystem, referred to as GPS) location, cellular localization.

In the present embodiment, after logging in a WIFI hot spot manually or automatically, the title of this focus, hot information and hotspot location can be preserved.Wherein, described hot information can comprise service set (ServiceSetIdentifier, referred to as SSID) and the focus login password of focus.

Corresponding to above-mentioned a kind of WIFI method of attachment, additionally provide a kind of WIFI jockey in the present embodiment, this device is used for realizing above-described embodiment and preferred implementation, has carried out repeating no more of explanation.As used below, term " module " can realize the software of predetermined function and/or the combination of hardware.Although the device described by following examples preferably realizes with software, hardware, or the realization of the combination of software and hardware also may and conceived.

Fig. 2 is the structured flowchart of a kind of WIFI jockey according to the embodiment of the present invention, and as shown in Figure 2, this device comprises the first acquisition module 22 and the first connection establishment module 24, is described in detail below to modules:

First acquisition module 22, for before WIFI hot spot scanning, obtains the positional information that mobile terminal is current; First connection establishment module 24, be connected with the first acquisition module 22, for when determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, the WIFI hot spot of having preserved directly to described mobile terminal connects.

Alternatively, described first connection establishment module 24 can comprise: the first acquiring unit, and for obtaining positional information table corresponding to the WIFI hot spot of having preserved, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof; First matching unit, be connected with the first acquiring unit, judge whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot for the positional information current according to described mobile terminal, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preservation is mated; Connection establishment unit, is connected with the first matching unit, and for being coupling in the result of described first matching unit, the WIFI hot spot of having preserved directly to described mobile terminal connects.

Alternatively, described device can also comprise: statistical module, is connected with the first connection establishment module 24, for connect in the WIFI hot spot of having preserved to described mobile terminal failure, add up described failed number of times; When described failed number of times does not reach threshold value, the WIFI hot spot continuing to have preserved to described mobile terminal connects; And/or, when described failed number of times reaches described threshold value, start WIFI hot spot scanning.

Alternatively, described device can also comprise: dump block, is connected with statistical module with the first connection establishment module 24, in the successful situation that connects in the WIFI hot spot of having preserved to described movement, is reset by the described failed number of times of statistics.

In the present embodiment, additionally provide another kind of WIFI method of attachment, Fig. 3 is the flow chart of the another kind of WIFI method of attachment according to the embodiment of the present invention, and as shown in Figure 3, the method comprises the steps:

Step S302, before WIFI hot spot scanning, obtains the positional information that mobile terminal is current;

Step S304, when determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, unlatching WIFI hot spot scans, and after scanning the WIFI hot spot that described mobile terminal preserved, stops WIFI hot spot scanning;

Step S306, the WIFI hot spot of having preserved to described mobile terminal connects.

The present embodiment passes through above-mentioned steps, the present embodiment passes through above-mentioned steps, before WIFI hot spot scanning, if find that the current positional information of the mobile terminal positional information corresponding with the WIFI hot spot of preservation matches, the WIFI hot spot of having preserved then only scanning coupling when starting WIFI scanning step can stop scanning and connect with it, thus greatly reduce the scanning duration of WIFI hot spot, solve the problem of the mode poor effect of the minimizing WIFI power consumption in correlation technique, reduce WIFI power consumption, and then reduce the electric quantity consumption of mobile terminal, improve the flying power of battery of mobile terminal.

In the present embodiment, determine that the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved specifically can be as follows: obtain the positional information table that the WIFI hot spot of having preserved is corresponding, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof; The positional information current according to described mobile terminal judges whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated.

Wherein, position range corresponding to described WIFI hot spot can be with the coordinate of described WIFI hot spot for round dot, and predeterminable range value R is the scope of radius.

Corresponding to above-mentioned another kind of WIFI method of attachment, additionally provide another kind of WIFI jockey in the present embodiment, Fig. 4 is the structured flowchart of the another kind of WIFI jockey according to the embodiment of the present invention, as shown in Figure 4, this device comprises the second acquisition module 42, scan module 44 and the second connection establishment module 46, is described in detail below to modules:

Second acquisition module 42, for before WIFI hot spot scanning, obtains the positional information that mobile terminal is current; Scan module 44, be connected with the second acquisition module 42, for when determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, unlatching WIFI hot spot scans, and after scanning the WIFI hot spot that described mobile terminal preserved, stop WIFI hot spot scanning; Second connection establishment module 46, is connected with scan module 44, connects for the WIFI hot spot of having preserved to described mobile terminal.

Alternatively, described scan module 44 can comprise: second acquisition unit, and for obtaining positional information table corresponding to the WIFI hot spot of having preserved, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof; Second matching unit, be connected with second acquisition unit, judge whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot for the positional information current according to described mobile terminal, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated; Scanning element, is connected with the second matching unit, for being coupling in the result of described second matching unit, opens WIFI hot spot scanning, and after scanning the WIFI hot spot that described mobile terminal preserved, stops WIFI hot spot scanning.

Be described below in conjunction with preferred embodiment, following preferred embodiment combines above-described embodiment and preferred implementation thereof.

Consider in the method for current reduction mobile terminal WIFI power consumption, hardware approach can increase hardware cost and increase the cabling of PCB, add electromagnetic interference to fall, also have simultaneously open WIFI bring certain delay and obliterated data may, reduce user and embody performance.In software approach, have plenty of impracticable, have plenty of and can make slowing of WIFI and cause Consumer's Experience to be deteriorated.Maximum by reducing in the method for power consumption to the change of WIFI scanning frequency for adopting at present, be all a little frequency decreasing WIFI and scan to a certain extent, effect is good not enough.

Therefore, this preferred embodiment provides a kind of positional information of mobile terminal that utilizes to be reduced the method for WIFI power consumption and uses the mobile terminal of the method, be utilize mobile terminal position location information in space directly to connect after the focus connected before matching in current place, eliminate and connecting the scanning process before this focus.The power consumption of WIFI is greatly reduced under the prerequisite not affecting Consumer's Experience.

Particularly, this preferred embodiment is on the basis of related art scheme, utilizing mobile terminal position location information in space to mate with the spatial positional information list of the focus preserved in advance in system, then directly going from being dynamically connected this focus after mobile terminal matches WIFI hot spot; The focus mated if do not have, just scans.In this preferred embodiment, that mentions positions to the position of mobile terminal and focus the method obtaining positional information and includes but are not limited to GPS location, cellular localization.When user manually connects focus, just get the spatial positional information of this WIFI hot spot, and be kept in the spatial positional information list of focus.When in the region that later mobile terminal is in this focus again, just by searching the list of focus spatial positional information, matching this focus according to the hotspot location information that last time preserves, and no longer carrying out scanning and being connected to this focus.Can guarantee that user is connected to effective focus and can decreases scanning process like this, the number of times guaranteed not affect user and use and effectively reduce WIFI scanning under the prerequisite experienced, thus reduce the power consumption of WIFI.

The scheme that this preferred embodiment provides is described in detail below in conjunction with accompanying drawing:

For solving above-mentioned deficiency, reduce WIFI power consumption, this preferred embodiment provides one preferably embodiment, namely utilizes the locus locating information of mobile terminal to match focus in current place, need not scan and be directly connected to this focus, thus the scanning eliminating WIFI reduces power consumption.Fig. 5 is a kind of according to the preferred embodiment of the invention workflow schematic diagram utilizing the positional information of mobile terminal to reduce WIFI power consumption method, as shown in Figure 5, for achieving the above object, a kind of method utilizing the positional information of mobile terminal to reduce WIFI power consumption that this preferred embodiment proposes, specifically comprises the following steps:

1) before WIFI scanning, the positional information S502 of mobile terminal is first obtained;

2) positional information of the mobile terminal got is carried out mating S504 with the hotspot location information list of preserving in system;

3) judgement S506 is carried out to matching result; If the match is successful, go to perform S508 and prepare to connect focus; If it fails to match, then go to perform S518 and start scanning;

4) if the match is successful for the result of S506, prepare to connect this focus, first go to perform S508 and judge whether the value connecting number counter is less than default threshold value N, supposes that the value of rule of thumb gained N is set to 3 effects best.Connection number counter herein, but be to prevent this focus from really existing and the available situation causing connection failure due to the exception of attended operation, so done the attended operation of maximum N time, if N time does not all have successful connection, then think that this focus is not opened or exception.This assures the reliability of connection.

5) if the result of step S508 judges that the value connecting number counter is less than N, the focus that S510 goes matching connection to arrive automatically is performed; And perform S512 and add 1 to connecting the value of number counter;

6) perform S514 and judge that whether connection is successful, if successful connection, then perform S516 and the value connecting number counter reset, flow process terminates;

7) if the result of S514 is connection failure, then turn and perform S508, repeat the step of S508 ~ S514, again carry out attended operation; Until judge in S508 that the value connecting number counter is not less than N, turn and go to perform S518 startup scanning.After having done N attended operation, if all also there is no successful connection, then illustrate that this focus is current and be not opened or extremely, now turn and perform S518 startup scanning, search for all focuses in this position range;

8) if the matching result of step S506 is no, namely do not match the focus in the current residing place of mobile terminal, then the focus connected before illustrating in this position not, so restart scanning S518;

9) the operation S520 being manually connected to focus is judged whether to the scanning result of S518;

10) if the result of step S520 is yes, illustrate that user is manually connected to a focus searched, then perform S522 and the positional information of the focus of this connection is saved in hotspot location information list.When in the scope that next mobile terminal is in this focus again, just repeat the step of S508 ~ S514, be directly connected to this focus, so just eliminate the process of scanning, save power consumption.

Hotspot location information list can be as shown in table 1 below.Hotspot name, hot information and hotspot location is saved in this table.

Table 1

Focus sequence number Hotspot name The information of focus The position of focus 1 Title Information Position coordinates 2 Title Information Position coordinates ... n Title Information Position coordinates

Wherein:

The information of focus, contains all information of terminal connection required for focus, as cipher mode, password etc.

The position of focus, because focus can cover certain scope, so, the position of said focus herein, not a concrete coordinate figure, and can be for round dot with the coordinate of this focus, certain distance value R is a scope of radius, and this R value can be arranged as the case may be.

When there being the operation manually connecting focus at every turn, just the title of this focus, hot information, hotspot location are preserved in the list, so that inquiry next time.

Fig. 6 is the structured flowchart of mobile terminal according to the preferred embodiment of the invention, as shown in Figure 6, can comprise position locating module, position information acquisition module, control module, WIFI module in this mobile terminal.

Wherein:

Position locating module, completes and positions mobile terminal position in space.In this preferred embodiment, GPS location, cellular localization are included but are not limited to the method that mobile terminal positions in locus;

Position information acquisition module, is used for obtaining the positional information of mobile terminal, and mates with the hotspot location information list in system, obtain the focus in this address realm;

Control module, according to the focus matched, sends instruction to WIFI module and carries out corresponding operating;

WIFI module, according to the instruction that control module sends, completes corresponding operation.

In addition, in the preferred embodiment, a kind of replacement scheme of above-mentioned better embodiment is additionally provided.In above-mentioned preferred version, eliminate the scanning process before connection, save the power consumption of WIFI greatly.But in some demand, require must scan before connection focus, so the scan operation before connecting focus just cannot be saved, then can adopt this replacement scheme.This replacement scheme is the focus arrived according to hotspot location information list match in the positional information of mobile terminal and system, and search needs the focus that connects targetedly, just terminates scanning process immediately, stop the scanning not needing focus after scanning.And because mobile terminal is in the hotspot range that needs to connect, within the scope of this, the signal of this focus is the most by force or stronger, generally can be searched out at first.Within the extremely short time, so just search out the focus needing to connect, shorten the time of the current scanning connected before focus greatly, decrease the power consumption of WIFI.Fig. 7 is the realization flow figure of replacement scheme according to the preferred embodiment of the invention, as shown in Figure 7, comprises the following steps:

1) before WIFI scanning, the positional information S702 of mobile terminal is first obtained;

2) positional information of the mobile terminal got is carried out mating S704 with the hotspot location information list of preserving before in system;

3) judgement S706 is carried out to matching result; If the match is successful, go to perform S708; If it fails to match, then go to perform S718 and start scanning;

4) if the match is successful for the result of S706, illustrating to there is effective focus in regional extent, first going to perform the result of S708 according to coupling, searching for the focus matched targetedly;

5) judgement S710 is carried out to the Search Results of step S708, if search the focus that in S704, the match is successful, then perform S712 and stop scanning process; If do not search the focus that in S704, the match is successful, then illustrate that this focus is not opened or extremely, then performs S716, continue to scan other the focus within the scope of this;

6) perform S714 and be automatically connected to the focus searched out in S712, flow process terminates; So just search needs the focus of connection targetedly, just terminates scanning process immediately after scanning, and stops the unwanted focus of scanning.And because mobile terminal is in the hotspot range that needs to connect, the signal of this focus is the most by force or stronger, generally can be searched out at first.Within the extremely short time, so just search out the focus needing to connect, shorten the time of current scanning greatly, decrease the power consumption of WIFI.

7) if the matching result of step S706 is no, namely mate unsuccessful, then the focus connected before illustrating in this position not, so restart scanning S718;

8) the operation S720 being manually connected to focus is judged whether to the result of scanning;

9) if the result of step S720 is yes, illustrate that user is manually connected to a focus searched, then perform S722 and the position of this focus is saved in hotspot location information list.When in the scope that next mobile terminal is in this focus again, just repeat the step of S708 ~ S714, be directly connected to this focus, so just eliminate the process of scanning, save power consumption.

This preferred embodiment can realize following technique effect:

This preferred embodiment utilizes mobile terminal position location information in space to mate with the spatial positional information list of the focus preserved in advance in system, just directly goes from being dynamically connected this focus after mobile terminal matches the WIFI hot spot of this position; If do not have the focus mated just to scan.No longer carry out scanning before connection focus and directly connect.Can guarantee that user is connected to effective focus and can decreases scanning process like this, speed and the signal strength signal intensity of WIFI can not be had influence on, the number of times guaranteed not affect user and use and eliminate WIFI scanning under the prerequisite experienced, thus reduce the power consumption of WIFI.The scheme of this preferred embodiment uses software approach to realize, simple and practical, can not increase any hardware cost.

In another embodiment, additionally provide a kind of software, this software is for performing the technical scheme described in above-described embodiment and preferred embodiment.

In another embodiment, additionally provide a kind of storage medium, store above-mentioned software in this storage medium, this storage medium includes but not limited to CD, floppy disk, hard disk, scratch pad memory etc.

Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.

The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. a WIFI method of attachment, is characterized in that, comprising:
Before WIFI hot spot scanning, obtain the positional information that mobile terminal is current;
When determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, the WIFI hot spot of having preserved directly to described mobile terminal connects.
2. method according to claim 1, is characterized in that, determines that the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved specifically comprises:
Obtain the positional information table that the WIFI hot spot of having preserved is corresponding, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof;
The positional information current according to described mobile terminal judges whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated.
3. method according to claim 2, is characterized in that,
Position range corresponding to described WIFI hot spot is with the coordinate of described WIFI hot spot for round dot, and predeterminable range value R is the scope of radius.
4. according to the method in any one of claims 1 to 3, it is characterized in that, after the WIFI hot spot of having preserved directly to described mobile terminal connects, also comprise:
When the WIFI hot spot of having preserved to described mobile terminal connects failure, add up described failed number of times.
5. method according to claim 4, is characterized in that,
When described failed number of times does not reach threshold value, the WIFI hot spot continuing to have preserved to described mobile terminal connects; And/or,
When described failed number of times reaches described threshold value, start WIFI hot spot scanning.
6. method according to claim 4, is characterized in that, after the WIFI hot spot of having preserved directly to described mobile terminal connects, also comprises:
Under the WIFI hot spot of having preserved to described movement connects successful situation, the described failed number of times of statistics is reset.
7. a WIFI method of attachment, is characterized in that, comprising:
Before WIFI hot spot scanning, obtain the positional information that mobile terminal is current;
When determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, unlatching WIFI hot spot scans, and after scanning the WIFI hot spot that described mobile terminal preserved, stop WIFI hot spot scanning;
The WIFI hot spot of having preserved to described mobile terminal connects.
8. method according to claim 7, is characterized in that, determines that the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved specifically comprises:
Obtain the positional information table that the WIFI hot spot of having preserved is corresponding, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof;
The positional information current according to described mobile terminal judges whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated.
9. method according to claim 8, is characterized in that,
Position range corresponding to described WIFI hot spot is with the coordinate of described WIFI hot spot for round dot, and predeterminable range value R is the scope of radius.
10. a WIFI jockey, is characterized in that, comprising:
First acquisition module, for before WIFI hot spot scanning, obtains the positional information that mobile terminal is current;
First connection establishment module, for when determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, the WIFI hot spot of having preserved directly to described mobile terminal connects.
11. devices according to claim 10, is characterized in that, described first connection establishment module comprises:
First acquiring unit, for obtaining positional information table corresponding to the WIFI hot spot of having preserved, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof;
First matching unit, judge whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot for the positional information current according to described mobile terminal, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preservation is mated;
Connection establishment unit, for being coupling in the result of described first matching unit, the WIFI hot spot of having preserved directly to described mobile terminal connects.
12. devices according to claim 10 or 11, it is characterized in that, described device also comprises:
Statistical module, for connect in the WIFI hot spot of having preserved to described mobile terminal failure, add up described failed number of times; When described failed number of times does not reach threshold value, the WIFI hot spot continuing to have preserved to described mobile terminal connects; And/or, when described failed number of times reaches described threshold value, start WIFI hot spot scanning.
13. devices according to claim 12, is characterized in that, described device also comprises:
Dump block, in the successful situation that connects in the WIFI hot spot of having preserved to described movement, resets the described failed number of times of statistics.
14. 1 kinds of WIFI jockeys, is characterized in that, comprising:
Second acquisition module, for before WIFI hot spot scanning, obtains the positional information that mobile terminal is current;
Scan module, for when determining the current positional information of the described mobile terminal positional information coupling corresponding with the WIFI hot spot that mobile terminal has been preserved, unlatching WIFI hot spot scans, and after scanning the WIFI hot spot that described mobile terminal preserved, stops WIFI hot spot scanning;
Second connection establishment module, connects for the WIFI hot spot of having preserved to described mobile terminal.
15. devices according to claim 14, is characterized in that, described scan module comprises:
Second acquisition unit, for obtaining positional information table corresponding to the WIFI hot spot of having preserved, wherein, described positional information table comprises the position range of WIFI hot spot and correspondence thereof;
Second matching unit, judge whether the current position of described mobile terminal is positioned at position range corresponding to described WIFI hot spot for the positional information current according to described mobile terminal, if so, then think that the current positional information of the described mobile terminal positional information corresponding with the WIFI hot spot of preserving is mated;
Scanning element, for being coupling in the result of described second matching unit, opens WIFI hot spot scanning, and after scanning the WIFI hot spot that described mobile terminal preserved, stops WIFI hot spot scanning.
CN201410486159.9A 2014-09-22 2014-09-22 WIFI connection method and WIFI connection device CN105516913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410486159.9A CN105516913A (en) 2014-09-22 2014-09-22 WIFI connection method and WIFI connection device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410486159.9A CN105516913A (en) 2014-09-22 2014-09-22 WIFI connection method and WIFI connection device
PCT/CN2014/092074 WO2015131562A1 (en) 2014-09-22 2014-11-24 Wifi connecting method and device

Publications (1)

Publication Number Publication Date
CN105516913A true CN105516913A (en) 2016-04-20

Family

ID=54054444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410486159.9A CN105516913A (en) 2014-09-22 2014-09-22 WIFI connection method and WIFI connection device

Country Status (2)

Country Link
CN (1) CN105516913A (en)
WO (1) WO2015131562A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130896A (en) * 2016-06-23 2016-11-16 广州鲁邦通物联网科技有限公司 The selection changing method of the router under a kind of many wifi hotspot environment and system
CN106792984A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of WIFI hot spot scanning connection control method and terminal

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016180114A1 (en) * 2015-10-14 2016-11-17 中兴通讯股份有限公司 Method and apparatus for making hotspot of terminal sleep
CN105517189B (en) * 2015-11-27 2020-02-07 小米科技有限责任公司 Method and device for realizing WIFI connection
CN107592401A (en) * 2016-07-06 2018-01-16 中兴通讯股份有限公司 A kind of information processing method and device
CN107979865A (en) * 2017-12-22 2018-05-01 广东小天才科技有限公司 Connect method, apparatus, mobile terminal and the storage medium of Wi-Fi hotspot

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026513A (en) * 2006-02-17 2007-08-29 联想(北京)有限公司 Wireless network configuration method and terminal, and wireless network predicting method and device
CN102790946A (en) * 2012-05-17 2012-11-21 江苏中科梦兰电子科技有限公司 Geographical position query method
CN103024929A (en) * 2012-12-20 2013-04-03 惠州Tcl移动通信有限公司 Mobile terminal and method for connecting wireless network based on mobile terminal
CN103475996A (en) * 2013-08-19 2013-12-25 小米科技有限责任公司 Network connecting method, network sharing method and devices
CN103533635A (en) * 2012-07-03 2014-01-22 希姆通信息技术(上海)有限公司 Mobile terminal positioning method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026513A (en) * 2006-02-17 2007-08-29 联想(北京)有限公司 Wireless network configuration method and terminal, and wireless network predicting method and device
CN102790946A (en) * 2012-05-17 2012-11-21 江苏中科梦兰电子科技有限公司 Geographical position query method
CN103533635A (en) * 2012-07-03 2014-01-22 希姆通信息技术(上海)有限公司 Mobile terminal positioning method and mobile terminal
CN103024929A (en) * 2012-12-20 2013-04-03 惠州Tcl移动通信有限公司 Mobile terminal and method for connecting wireless network based on mobile terminal
CN103475996A (en) * 2013-08-19 2013-12-25 小米科技有限责任公司 Network connecting method, network sharing method and devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130896A (en) * 2016-06-23 2016-11-16 广州鲁邦通物联网科技有限公司 The selection changing method of the router under a kind of many wifi hotspot environment and system
CN106130896B (en) * 2016-06-23 2019-05-03 广州鲁邦通物联网科技有限公司 The selection switching method and system of a kind of router under more wifi hotspot environment
CN106792984A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of WIFI hot spot scanning connection control method and terminal
CN106792984B (en) * 2016-11-29 2019-11-26 努比亚技术有限公司 A kind of WIFI hot spot scanning connection control method and terminal

Also Published As

Publication number Publication date
WO2015131562A1 (en) 2015-09-11

Similar Documents

Publication Publication Date Title
JP6254112B2 (en) Method and apparatus for optimizing a paging mechanism using device context information
CN103916979B (en) Information processing unit and its control method
TWI504294B (en) Inter-rat coverage determination for energy saving management
US8750931B2 (en) Apparatus and method for automatic SIM card selection according to network environment in dual mode
US9699732B2 (en) Apparatus and method for controlling communication module
CN104378729B (en) Mobile communications network service implementation method and mobile terminal system
CN103327644B (en) A kind of method and apparatus of wireless connections
WO2018063603A1 (en) Internet-of-things gateway coordination
US10009750B2 (en) Method for performing inter PLMN discovery by a user equipment (UE) in device-to-device (D2D) communication
US8954111B2 (en) Method and wireless device for reducing power consumption by transferring servicing of a SIM channel to a first radio system and at least partially shutting down a second radio system of the wireless device
EP2434816B1 (en) Mobile communication device having plurality of subscriber identification module (SIM) cards and method for selecting public land mobile network (PLMN) in the device
CN102017720B (en) Method and apparatus for channel scanning that improves acquisition probability and power consumption
US9426722B2 (en) Information processing method, information processing device communication system
JP5522864B2 (en) Battery life saving method and system in mobile station
US8386826B2 (en) System and method for managing power of a portable device
US7702352B2 (en) Network node power management methods and apparatus
DE112014000933B4 (en) Determination of parameters of an access point
CN104869615B (en) Network access method and mobile communication terminal
CN104254070B (en) WiFi cut-in method, intelligent terminal and routing device
Tirronen et al. Machine‐to‐machine communication with long‐term evolution with reduced device energy consumption
US9442555B2 (en) Method of control of an access point of a home gateway of a home network
US7289807B2 (en) System and method for using licensed radio technology to determine the operation parameters of an unlicensed radio technology in a mobile terminal
KR20120040226A (en) Coexistence interface for multiple radio modules using a reduced number of connections
KR20150026982A (en) A method and system for optimizing power consumption in mulit-SIM mobile device
JP5009386B2 (en) System and method using subnet relation in wireless communication apparatus

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20160420

WW01 Invention patent application withdrawn after publication