CN102076060B - ZigBee-based Wi-Fi access point discovering and selecting method - Google Patents

ZigBee-based Wi-Fi access point discovering and selecting method Download PDF

Info

Publication number
CN102076060B
CN102076060B CN2011100213432A CN201110021343A CN102076060B CN 102076060 B CN102076060 B CN 102076060B CN 2011100213432 A CN2011100213432 A CN 2011100213432A CN 201110021343 A CN201110021343 A CN 201110021343A CN 102076060 B CN102076060 B CN 102076060B
Authority
CN
China
Prior art keywords
information
record
wlan
timer
access point
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.)
Expired - Fee Related
Application number
CN2011100213432A
Other languages
Chinese (zh)
Other versions
CN102076060A (en
Inventor
牛建伟
吴菲菲
张锦锋
陈灿峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN2011100213432A priority Critical patent/CN102076060B/en
Publication of CN102076060A publication Critical patent/CN102076060A/en
Application granted granted Critical
Publication of CN102076060B publication Critical patent/CN102076060B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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 THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a ZigBee-based Wi-Fi access point discovering and selecting method. In the method, an area in which a plurality of access points (AP) and a plurality of sets of mobile portable equipment are deployed serves as an application scene, and ZigBee is adopted as a communication link. The method comprises the following steps of: initializing and establishing a Wi-Fi AP list first; then starting a ZigBee interface for receiving data and starting two timers; when the ZigBee interface receives the data, extracting AP information and updating the AP list; when the two timers are overtime, respectively performing the operations of updating the AP list and broadcast AP information; and when a connection request is received, performing connection request processing. By using the method, the AP information can be shared among mobile equipment through the ZigBee interface; the mobile equipment is connected to related AP directly by using the AP information without scanning the AP in advance; a current optical AP is selected for connecting according to the AP information; therefore, the AP scanning times are reduced greatly and the power consumption of the Wi-Fi interface is reduced effectively.

Description

Wi-Fi access point discovery and system of selection based on ZigBee
Technical field
The invention belongs to the communications field, be specifically related to a kind of Wi-Fi access point discovery and system of selection based on ZigBee.
Background technology
Wi-Fi (claiming again 802.11b), it is a kind of wireless communication technique, be operated in ISM (IndustrialScientific Medical) frequency range of 2.4GHz, adopt DSSS (Direct Sequence Spread Spectrum) spread spectrum, the speed of the highest 11Mbps can be provided, and coverage reaches 100m, and it is fast to have speed, the characteristics such as communication context is large, and cost is low.Wi-Fi is because of its high bandwidth, and advantage has cheaply become at present the main flow of wireless telecommunications, and most mobile device all has been equipped with the Wi-Fi interface.
Yet also there is the large defective of power consumption in Wi-Fi.Data shows, mobile device surpasses 50% power consumption and all comes from the Wi-Fi interface, thereby mobile device will be not enough to support long Wi-Fi communication, and this has greatly hindered the further promotion and application of Wi-Fi in mobile device.Therefore, the power consumption that how effectively to reduce the Wi-Fi interface becomes a problem demanding prompt solution.
According to the 802.11b agreement, the start-up course of Wi-Fi mainly comprises four-stage: scanning (Scan), related (Association), checking (Authentication), address configuration (DHCP), wherein the duration of sweep phase the longest, power consumption is maximum, if can reduce the electric quantity consumption of sweep phase, just can effectively reduce the power consumption of Wi-Fi interface.
At present, the researcher has proposed some schemes, with the power consumption of effective reduction Wi-Fi sweep phase, wherein a kind of main scheme is exactly other low-power consumption network interfaces (Bluetooth that utilizes mobile device to be equipped with, GPRS), such as Footprint, Blue-Fi etc.The related data that Footprint utilizes equipment to obtain from cellular network, as the ID of the cell tower that listens to, signal strength signal intensity etc., come the current position of supposition equipment, only have and when larger change occurs for the position of equipment, just start Wi-Fi and scan to obtain available access point (Access Point on every side, AP) information reduces power consumption by reducing unnecessary scanning times.The relevant information of bluetooth nodes and cellular signal around Blue-Fi utilizes, the ID of bluetooth nodes for example, cell tower ID etc. judge the current available Wi-Fi network that whether has, and only just start Wi-Fi scanning and be connected to relevant AP when having the Wi-Fi network.FootPrint and Blue-Fi utilize information that other links obtain predicting the state of current Wi-Fi network, reducing unnecessary Wi-Fi scanning and to be connected, thus the saving electric weight, but have the true problem of forecasting inaccuracy.
Above-mentioned several scheme, mostly use GPRS and bluetooth as secondary link, yet there is the low problem of accuracy in GPRS, can not perform well in the prediction of Wi-Fi network, bluetooth also exists communication distance short, the restrictions such as the node discovery time is long, therefore above-mentioned several schemes all can not solve the large problem of Wi-Fi interface power consumption very effectively, and implement all comparatively complicated.
Summary of the invention
The present invention is directed to the large problem of Wi-Fi interface power consumption, and the some shortcomings that exist in the existing scheme, a kind of Wi-Fi access point discovery and system of selection based on ZigBee proposed, utilize efficient information broadcast mechanism by ZigBee interface sharing A P information between the mobile device, and utilize AP information to be directly connected to relevant AP and need not prior scan A P.In addition, can make the equipment can be according to the AP information of obtaining, utilize effectively AP selection mechanism to choose current best AP and connect.
The present invention a kind of Wi-Fi access point discovery and system of selection based on ZigBee adopt ZigBee as communication link, may further comprise the steps:
Step 1: local Wi-Fi access point AP tabulation is set up in initialization, then starts ZigBee interface receive data, and starts two timer Timer-u and Timer-s; Described AP list records all local AP record APRec that preserve, the structure of described AP record is: APRec<APInfo, count, lifetime 〉, wherein, lifetime represents the life span of this AP record, and count is illustrated in the number of times that repeats to receive identical AP information in the transmission cycle, and APInfo refers to connect the necessary information of AP.
Step 2: judge whether the ZigBee interface receives data, if turn step 3; If not, turn step 4.
Step 3: from the packet that the ZigBee interface receives, extract AP information, be designated as RecAP, subsequently scanning of home AP tabulation, for each AP record, whether the service set wlan_ssid that checks its wireless network identical with RecAP, if identical, then the count of this AP record and the value of lifetime are reset to 0; If there be not the service set wlan_ssid of the wireless network AP record identical with the wlan_ssid of RecAP, a newly-built AP record then is RecAP with the APInfo assignment of newly-built AP record, and the value of count and lifetime is initially 0.
Step 4: judge whether timer Timer-u is overtime, if turn step 5; If not, turn step 6.
Step 5: travel through whole AP tabulation, check the lifetime value of each AP record, if surpass specific threshold, then delete this AP record.
Step 6: judge whether timer Timer-s is overtime, if turn step 7; If not, turn step 8.
Step 7: travel through whole AP tabulation, choose the AP information exchange and cross the ZigBee interface and broadcast away.
Step 8: judged whether connection request, if connection request is arranged, turned step 9; If without connection request, turn step 10.
Step 9: check in the local AP tabulation whether have the AP record, if having, then select current best AP to connect, if nothing is then opened the Wi-Fi interface, start Wi-Fi scanning and be connected to AP.
Step 10: judge whether the user sends the finish command, if, method ends; If not, turn step 2 and carry out.
The Wi-Fi access point discovery of a kind of novel energy-conserving of the present invention and advantage and the good effect of system of selection are:
(1) adopts low-power consumption ZigBee link to realize sharing of AP information as secondary link, use bluetooth or GPRS more can effectively reduce the power consumption of Wi-Fi interface than traditional scheme.
(2) take full advantage of mutual cooperation between the mobile device, so that information is more accurate, be easier to realize efficient information sharing.
(3) propose a kind of effectively based on the AP selection strategy of connect hours and signal strength signal intensity, more efficient with respect to the scheme of a traditional basis signal intensity, can effectively select current best AP to access, more can the Effective Raise user use the experience of wireless network.
Description of drawings
Fig. 1 is the application scenarios schematic diagram of Wi-Fi access point discovery of the present invention and system of selection;
Fig. 2 is the whole flow chart of steps of Wi-Fi access point discovery of the present invention and system of selection;
Fig. 3 is that Wi-Fi access point discovery method of the present invention is with the power consumption contrast schematic diagram of common Wi-Fi scan method;
Fig. 4 is that AP selects results of performance analysis schematic diagram based on the connect hours among the present invention;
Fig. 5 is that AP selects results of performance analysis schematic diagram based on signal strength signal intensity among the present invention;
Fig. 6 be among the present invention selectivity AP information broadcasting strategy with the data traffic volume comparison diagram of common inundation strategy.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing and example.
In recent years, the development that reaches wireless communication technique of popularizing along with mobile terminal device, increasing user uses the mobile device accesses network, wherein Wi-Fi (802.11) is the wireless network of main flow, nearly all mobile device all has been equipped with the Wi-Fi interface, and the user uses the Wi-Fi online mostly.Generally, the user wants to obtain Wi-Fi and connects, and then AP around the startup Wi-Fi scanning chooses specific AP connection in advance.To grow (3-5 second) and power consumption large yet Wi-Fi often scans the duration, and usually a lot of scanning all is useless, especially for around do not dispose Wi-Fi AP situation.ZigBee be a kind of closely, low complex degree, low-power consumption, low-response postpone, two-way wireless communication technology cheaply, mainly be applicable to the fields such as automatic control, sensing, monitoring and Long-distance Control, can embed in the various device, support simultaneously geographic positioning functionality.A kind of Wi-Fi access point discovery and system of selection based on ZigBee that the present invention proposes, utilize the ZigBee link sharing AP information of low-power consumption between the mobile device, equipment utilization AP information can be directly connected to relevant AP and need not prior scanning, greatly reduce the number of times of Wi-Fi scanning, thereby effectively reduced the power consumption of Wi-Fi interface.
Wi-Fi access point discovery and system of selection based on ZigBee that the present invention proposes, its application scenarios is the zone that is deployed with a plurality of AP and a plurality of mobile devices are arranged, as shown in Figure 1.Below in conjunction with Fig. 1, by the flow process of a collaborative AP discovery of simple example explanation.Fig. 1 has described a regional R who is deployed with three AP, and three dotted lines represent respectively the coverage of each AP among the figure.Zone R is divided into seven sub regions by these three curves: regional 1-zone 7.Suppose when initial, among the regional R without any mobile device, after a period of time: 1) device A at first enters zone 1 and asks network connection.Device A checks at first whether local data base has available AP information, if do not have, then device A starts the information that Wi-Fi scanning available AP on every side also will obtain AP1; Device A is connected to AP1 subsequently, preserves the information of AP1 to local, and broadcasts the information of AP1 by ZigBee isl cycle ground.2) subsequently, equipment B and equipment C enter respectively zone 2 and zone 6.The same with device A, when connection request was arranged, equipment B and equipment C checked at first whether local data base has available AP information.Under this scene, AP information reliability in the inventive method guarantees that mechanism will guarantee that equipment B and equipment C can not receive the information of AP1, therefore, equipment B and equipment C start Wi-Fi scanning and are connected respectively to AP2 and AP3, periodically broadcast subsequently the information of AP2 and AP3.3) after a few minutes, equipment D enters zone 1.If equipment D is within the communication context of device A, then equipment D will receive the information of AP1.Equipment D is kept at this locality with the information of AP1, and chooses the AP information broadcasting that satisfies condition according to selectivity AP information broadcasting strategy in the inventive method.When connection request was arranged, equipment D can be directly connected to AP1 and need not prior scanning.If equipment D does not receive the information of AP1, then equipment D startup Wi-Fi scanning search can be used AP, and obviously, along with the increase of number of devices in the zone 1, equipment B receives that the probability of AP1 information also increases thereupon.4) be in zone 3, zone 4, zone 5, the mobile device in zone 6 and the zone 7 will be received the information of a plurality of AP.When connection request is arranged, equipment will select best AP to connect according to AP system of selection in the inventive method.Can find out from above-mentioned example, in a zone that is deployed with a plurality of AP, only need several device start Wi-Fi scannings to obtain the information of AP on every side and share these AP information by the ZigBee interface, after message dissemination after a while, other equipment in the zone can utilize AP information to be directly connected to AP and to need not prior scanning, thereby can greatly reduce the number of times of Wi-Fi scanning, reduce the power consumption of Wi-Fi interface.
Wi-Fi access point discovery and system of selection based on ZigBee that the present invention proposes, its flow process specifically comprises the steps: as shown in Figure 2
Step 1: the local AP tabulation of initialization (APList) starts subsequently ZigBee interface receive data and starts two timer Timer-u and Timer-s.Described initialization is sets up APList, and APlist is the tabulation of the AP record (APRec) of all preservations, the following APRec{APInfo of the form of APRec, and count, lifetime}, wherein, lifetime represents the life span of this APRec; Count is illustrated in the number of times that repeats to receive identical AP information in the transmission cycle, and the described transmission cycle refers to the timeout interval of timer Timer-s; APInfo refers to connect the necessary information of AP, its form is: APInfo:{wlan_ssid, wlan_name, wlan_type, signal_strength, ipv4_type, wlan_security, wlan_hidden, connecting_time}, wherein, wlan_ssid represents the service set (Service Set Identification) of wireless network; Wlan_name represents the title of wireless network; Wlan_type represents the type of wireless network; Signal_strength represents wireless network signal strength; Wlan_security represents the fail safe setting of wireless network; Whether the wlan_hidden marked network is hidden; Connecting_time represents the interconnection network required time.The validity that timer Timer-u is used for being updated periodically the AP tabulation and checks the AP record, according to experiment analysis results, its cycle timeout interval is made as 1s, timer Timer-s is used for the local AP information of preserving of periodically broadcasting to realize sharing of AP information, according to experiment analysis results, its timeout interval is made as 3s.
Step 2: judge whether the ZigBee interface receives data, if turn step 3; If not, turn step 4.
Step 3: after the ZigBee interface is received data, from the packet that receives, extract AP information, be designated as RecAP, scanning of home APList, to each APRec, whether the wlan_ssid value of checking its APInfo identical with RecAP, if identical, then count value and the lifetime with this APRec resets to 0.If there be not the wlan_ssid value APRec identical with RecAP, then a newly-built APRec is RecAP with its APInfo assignment, and count value and lifetime are initially 0.
Step 4, judge whether timer Timer-u is overtime, if turn step 5; If not, turn step 6.
Step 5: when timer Timer-u is overtime, upgrade the AP tabulation, travel through whole renewal AP tabulation, check the lifetime value of each APRec, if surpass specific threshold, then delete this APRec, thereby guarantee reliability and the validity of AP information.According to experiment analysis results, described specific threshold is made as 6.
The reliability of AP information and validity are the cores of whole algorithm, and step 2 and step 3 are by dynamically upgrading the AP tabulation and detecting the AP effectiveness of information to guarantee validity and the reliability of AP information.The below guarantees that to the inventive method validity and the reliability of AP information are described further:
The reliability of AP information and validity refer to that equipment can utilize this AP information successfully to be connected to corresponding AP.Method of the present invention mainly guarantees reliability and the validity of AP information from two aspects: at first, any AP information of receiving for equipment, all can in the zone, find an equipment that is connected to this AP---this is to be determined by the shared mechanism of AP information, any AP information all is to be produced by the equipment that is connected at first this AP, then come in whole zone, to propagate by other device forwards, thereby guaranteed the reliability of AP information; On the other hand, reach the timely AP information that lost efficacy of deleting of the periodic AP of detection tabulation by lifetime life cycle that records AP information, thereby guarantee the validity of AP information.
Step 6, judge whether timer Timer-s is overtime, if turn step 7; If not, turn step 8.
Step 7: when timer Timer-s is overtime, travel through whole AP tabulation, the selectivity AP information broadcasting mechanism that proposes according to the present invention is chosen the AP information exchange that satisfies condition and is crossed the ZigBee interface and broadcast away shared with effective realization AP information.
Be effectively to realize that AP information sharing, the present invention propose selectivity AP information broadcasting mechanism, the expense of further reduction system reduces power consumption when guaranteeing AP diffusion of information concentration.Its concrete steps are as follows: Timer-s is overtime when timer, traversal AP tabulation, choose signal strength signal intensity signal_strength be not less than 1 and count value less than 3 AP information transmission.Selectivity AP information broadcasting mechanism is carried out certain filtration to local AP information, thereby reduces the traffic volume of message, reduces the consumption of system.The following describes this filtration of adopting selectivity AP information broadcasting mechanism of the present invention to the impact of AP diffusion of information: 1) filter by signal strength signal intensity, the AP information that a strength of transmitted signals is larger can not produce larger impact to the concentration of AP information.According to AP selection strategy of the present invention, equipment also can the lower AP of automatic fitration signal strength signal intensity when connecting AP, and from this angle, the AP information that signal is lower is useless to equipment, can be considered redundant information, thereby can be just with its filtration when sending.2) filter by the count value, the count value representation repeats to receive the number of times of certain bar AP information in transmission cycle, reflect to a certain extent the diffusion of this AP information in the zone.When the count value surpassed certain limit, the embodiment of the invention was made as 3, can think that this information has reached certain concentration, so that the node in the zone can both be received the information of this AP, thereby does not need to send this AP information again.In addition, it is 0 that the count value initially was reset in each transmission cycle, thereby the variation that node distributes in motion that can the dynamically adapting node and the zone has further guaranteed the validity of AP information.
Step 8, judge whether connection request, if connection request is arranged, turned step 9; If without connection request, turn step 10.
Step 9: when equipment has network connecting request, at first check in the local AP tabulation whether have the AP record, if having, the AP selection strategy that then proposes according to the present invention selects current best AP to connect; If nothing is then opened the Wi-Fi interface, start Wi-Fi scanning and be connected to AP.
The AP selection strategy that the present invention proposes is intended to connect to improve the experience that the user accesses internet by the current best AP of AP Information Selection that preserve this locality, specifically assesses the performance of AP by the P value:
P=SS/CT
Wherein SS represents the signal strength signal intensity of AP, its value is the value of expression wireless network signal strength signal_strength among the APInfo in the AP record, CT represents to connect the required time of AP, finger is from initiating connection request to being connected to the time of specifying AP, and its value is the value of expression expression interconnection network required time connecting_time among the APInfo in the AP record.When equipment has connection request, by traversal AP tabulation, calculate the P value of each AP record, select the maximum AP of P value to connect.
Step 10, judge whether to finish, if, method ends; If not, turn step 2 and continue to carry out.Specifically whether finish to be controlled as required by the user.
Compare common Wi-Fi mode with system of selection in the improvement of power consumption and aspect of performance below in conjunction with accompanying drawing with the Wi-Fi access point discovery based on ZigBee that example explanation the present invention proposes, described common Wi-Fi mode refers to that the Wi-Fi scan function that utilizes operating system to carry scans and connection AP.
As shown in Figure 3, for access point discovery of the present invention and selection mode with common Wi-Fi scan mode in the contrast aspect the power consumption.Experiment scene is: N810 of Nokia adopts common Wi-Fi pattern to connect AP, and the N810 of another Nokia adopts the inventive method to connect AP, the realtime power in the recording equipment two minutes.Wherein, adopt common Wi-Fi scan mode that two obvious energy peaks are arranged: the 22nd second to 28 seconds, expression Wi-Fi sweep phase; The 32nd second to 47 seconds, expression AP access phase.Different from common Wi-Fi pattern, adopt the inventive method to only have an energy peak, i.e. AP access phase, this is because equipment can be directly connected to AP and need not prior scanning under the ZigBee pattern.Fig. 3 shows that method of the present invention can greatly reduce the number of times of device scan Wi-Fi, thereby reduces the power consumption of equipment.
Fig. 4, Fig. 5 has demonstrated the results of performance analysis that AP selects in the inventive method, experiment scene is as follows: choose 1 N810 of Nokia, from the available AP that preserve this locality, choose current best AP and connection according to AP selection strategy of the present invention, record the actual signal intensity of this AP and connect hours and the signal strength signal intensity of connect hours and local AP record, record simultaneously signal strength signal intensity and the maximum of connect hours and the minimum value of local AP record.Abscissa all represents experiment number among Fig. 4 and Fig. 5, is different location duplicate test 12 times in the present embodiment.Fig. 4 is the contrast of connect hours, can find out, the connect hours of actual AP connect hours with the local best AP that preserves almost do not have difference, and the connect hours of best AP approaches short connection time substantially.Fig. 5 is the contrast of signal strength signal intensity, can find out, the actual AP signal strength signal intensity that obtains with local preserve the intensity of current best AP signal also without significant difference, and also approach very much local maximum AP signal strength signal intensity of preserving, this shows the validity of the AP information of selecting among the present invention.
Fig. 6 is the experiment analysis results of the performance comparison of selectivity AP information broadcasting strategy in the inventive method and common inundation strategy.Experiment scene is as follows: in a zone that is deployed with 8 AP, two N810 of Nokia adopt respectively selectivity AP broadcast strategy and the local AP information of preserving of inundation strategy broadcasting in the inventive method, the transmission cycle is made as 3s, records the power consumption in one minute and sends data volume.Fig. 6 is the transmission data volume contrast of two kinds of strategies, can find out, along with increasing of node on every side, the AP information of receiving increases, and it is in rising trend to send data volume, and the transmission data volume of two kinds of forwarding strategies big difference too not; Subsequently, node receive AP information reach capacity gradually, namely obtain the information of all 8 AP in the embodiment of the invention, at this moment, the inundation strategy is because it transmits the AP information that all are received, so after the information that reaches is saturated, sends data volume and do not change, remain maximum; And the selectivity AP broadcast strategy in the inventive method is owing to necessarily filter AP information, and the data volume of transmission descends gradually, tends towards stability equally at last.As seen from Figure 6, than inundation mechanism, the selectivity AP information broadcasting strategy in the inventive method can greatly reduce the transmission data volume, reduces link consumption.

Claims (7)

1. Wi-Fi access point discovery and system of selection based on a ZigBee is characterized in that, the method adopts ZigBee as communication link, comprises the steps:
Step 1: local Wi-Fi access point AP tabulation is set up in initialization, then starts ZigBee interface receive data, and starts two timer Timer-u and Timer-s; Described AP list records all local AP record APRec that preserve, the structure of described AP record is: APRec<APInfo, count, lifetime 〉, wherein, lifetime represents the life span of this AP record, and count is illustrated in the number of times that repeats to receive identical AP information in the transmission cycle, and APInfo refers to connect the necessary information of AP;
Step 2: judge whether the ZigBee interface receives data, if turn step 3; If not, turn step 4;
Step 3: from the packet that the ZigBee interface receives, extract AP information, be designated as RecAP, subsequently scanning of home AP tabulation, for each AP record, whether the service set wlan_ssid that checks its wireless network identical with RecAP, if identical, then the count value with this AP record adds 1, and the value of lifetime is reset to 0; If there be not the service set wlan_ssid of the wireless network AP record identical with the wlan_ssid of RecAP, a newly-built AP record then is RecAP with the APInfo assignment of newly-built AP record, and the value of count and lifetime is initially 0;
Step 4: judge whether timer Timer-u is overtime, if turn step 5; If not, turn step 6;
Step 5: travel through whole AP tabulation, check the lifetime value of each AP record, if surpass specific threshold, then delete this AP record;
Step 6: judge whether timer Timer-s is overtime, if turn step 7; If not, turn step 8;
Step 7: travel through whole AP tabulation, choose the AP information exchange and cross the ZigBee interface and broadcast away;
Step 8: judged whether connection request, if connection request is arranged, turned step 9; If without connection request, turn step 10;
Step 9: check in the local AP tabulation whether have the AP record, if having, then select current best AP to connect, if nothing is then opened the Wi-Fi interface, start Wi-Fi scanning and be connected to AP;
Step 10: judge whether the user sends the finish command, if, method ends; If not, turn step 2 and continue to carry out.
2. Wi-Fi access point discovery according to claim 1 and system of selection, it is characterized in that, the necessary information A PInfo of connection AP described in the step 1, its structure is: APInfo<wlan_ssid, wlan_name, wlan_type, signal_strength, wlan_security, wlan_hidden, connecting_time 〉, wherein, wlan_ssid represents the service set of wireless network; Wlan_name represents the title of wireless network; Wlan_type represents the type of wireless network; Signal_strength represents wireless network signal strength; Wlan_security represents the fail safe setting of wireless network; Wlan_hidden represents whether network is hidden; Connecting_time represents the interconnection network required time.
3. Wi-Fi access point discovery according to claim 1 and system of selection, it is characterized in that, the validity that timer Timer-u described in the step 1 is used for being updated periodically the AP tabulation and checks the AP record, described timer Timer-s is used for the local AP information of preserving of periodically broadcasting.
4. Wi-Fi access point discovery according to claim 3 and system of selection is characterized in that, the timeout interval of timer Timer-u is made as 1s, and the timeout interval of timer Timer-s is made as 3s.
5. Wi-Fi access point discovery according to claim 1 and system of selection is characterized in that, the described AP information of choosing of step 7, specifically choose signal strength signal intensity be not less than 1 and AP record in the count value less than 3 AP information.
6. Wi-Fi access point discovery according to claim 1 and system of selection is characterized in that, it is 0 that the count value described in the step 1 initially was reset in each transmission cycle.
7. Wi-Fi access point discovery according to claim 1 and system of selection is characterized in that, the current best AP of the selection described in the step 9, and concrete system of selection is: the P value of calculating an assessment AP performance for each local AP record:
P=SS/CT
Wherein, SS represents the signal strength signal intensity of AP, and CT represents to connect the required time of AP;
The maximum AP of P value is exactly current best AP.
CN2011100213432A 2011-01-19 2011-01-19 ZigBee-based Wi-Fi access point discovering and selecting method Expired - Fee Related CN102076060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100213432A CN102076060B (en) 2011-01-19 2011-01-19 ZigBee-based Wi-Fi access point discovering and selecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100213432A CN102076060B (en) 2011-01-19 2011-01-19 ZigBee-based Wi-Fi access point discovering and selecting method

Publications (2)

Publication Number Publication Date
CN102076060A CN102076060A (en) 2011-05-25
CN102076060B true CN102076060B (en) 2013-01-30

Family

ID=44034363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100213432A Expired - Fee Related CN102076060B (en) 2011-01-19 2011-01-19 ZigBee-based Wi-Fi access point discovering and selecting method

Country Status (1)

Country Link
CN (1) CN102076060B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509237B (en) * 2017-09-04 2021-05-14 维沃移动通信有限公司 Wireless network connection method, mobile terminal and readable storage medium

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9008062B2 (en) * 2012-01-09 2015-04-14 Futurewei Technologies, Inc. Systems and methods for AP discovery with FILS beacon
US9198120B2 (en) * 2012-04-27 2015-11-24 Marvell World Trade Ltd. Method and apparatus for scanning multiple channels in a wireless network
CN102711082A (en) * 2012-06-28 2012-10-03 宇龙计算机通信科技(深圳)有限公司 Method and system for sharing trustful wireless access point information in mobile communication
CN103581876A (en) * 2012-08-02 2014-02-12 中兴通讯股份有限公司 Method and device for sending wireless access point information, and mobile terminals
CN103024867A (en) * 2012-11-22 2013-04-03 北京英进质方科技有限公司 Wireless fidelity (WiFi) hotspot finding method and network switching method
CN103052154B (en) * 2012-12-03 2015-01-14 北京航空航天大学 Device and method for performing low-power consumption indoor locating by utilizing Zigbee wireless interfaces
CN103905500B (en) 2012-12-27 2018-01-09 腾讯数码(天津)有限公司 A kind of method and apparatus for accessing application server
CN103916977B (en) * 2013-01-08 2018-12-04 大陆汽车投资(上海)有限公司 The method of controlling terminal connection short-distance radio network
CN103747441B (en) * 2013-12-10 2019-08-06 北京智谷睿拓技术服务有限公司 Wireless network access method and access device
KR101808217B1 (en) 2013-12-20 2017-12-12 후아웨이 디바이스 (둥관) 컴퍼니 리미티드 Wireless access method and relevant device and system
US9949063B2 (en) * 2015-06-01 2018-04-17 Apple Inc. Bluetooth low energy triggering NAN for further discovery and connection
CN106454819A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 WIFI access point accessing method and apparatus
CN106162827A (en) * 2016-08-16 2016-11-23 Tcl移动通信科技(宁波)有限公司 A kind of Network Access Point storage processing method based on mobile terminal and system
CN107959932B (en) * 2017-10-13 2021-06-11 上海尚往网络科技有限公司 Method and device for processing wireless access point information and computer readable storage medium
CN111742535B (en) * 2018-01-12 2023-11-24 交互数字专利控股公司 Method and process for providing IEEE 802.11 based wireless network information services for ETSI MEC
CN118264987A (en) * 2019-06-03 2024-06-28 英迪股份有限公司 Method, apparatus and computer program for broadcast discovery service in wireless communication system and recording medium thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101347005A (en) * 2005-12-21 2009-01-14 思科技术公司 System and method for integrated WIFI/WIMAX neighbor AP discovery and AP advertisement
CN101605386A (en) * 2009-06-10 2009-12-16 南京邮电大学 The interconnected method of wireless multimedia sensor network and wireless local area network Internet
CN101604217A (en) * 2009-04-29 2009-12-16 南开大学 A kind of touch type restaurant self-service dish ordering terminal based on ZigBee network
US20100172274A1 (en) * 2009-01-07 2010-07-08 Microsoft Corporation Energy saving using cellular footprint for mobile device Wi-Fi access point discovery

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101347005A (en) * 2005-12-21 2009-01-14 思科技术公司 System and method for integrated WIFI/WIMAX neighbor AP discovery and AP advertisement
US20100172274A1 (en) * 2009-01-07 2010-07-08 Microsoft Corporation Energy saving using cellular footprint for mobile device Wi-Fi access point discovery
CN101604217A (en) * 2009-04-29 2009-12-16 南开大学 A kind of touch type restaurant self-service dish ordering terminal based on ZigBee network
CN101605386A (en) * 2009-06-10 2009-12-16 南京邮电大学 The interconnected method of wireless multimedia sensor network and wireless local area network Internet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509237B (en) * 2017-09-04 2021-05-14 维沃移动通信有限公司 Wireless network connection method, mobile terminal and readable storage medium

Also Published As

Publication number Publication date
CN102076060A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
CN102076060B (en) ZigBee-based Wi-Fi access point discovering and selecting method
TWI388230B (en) Assisted initial network acquisition and system determination
US11533674B2 (en) Information processing apparatus
CN103337142B (en) The wireless networking method of electric energy meter management system
CN104796985B (en) Wireless telecom equipment, wireless communication system, wireless communications method
CN102404817B (en) Networking method and system for wireless sensor network based on multiple sink nodes
CN104718779B (en) System and method for carrying out efficient communication system scanning
CN102833822B (en) Reliable method for managing wireless sensor network
CN103546940A (en) Method and device for searching cells in sensing system
CN103491569A (en) Method, apparatus, and computer program product for wireless short-range communication disconnection
JP5462410B2 (en) Method and apparatus for accessing a wireless sensor network
US20130163495A1 (en) Scheduling method for machine-to-machine communication
CN102355712A (en) Method for accelerating searching speed of public land mobile network and device
CN105165070A (en) System, program and method for radio terminal to find access point
US8111675B2 (en) Channel search method and system for vertical handoff in wireless network environment
CN103428899A (en) Micropower wireless network ad-hoc networking method based on multi-channel frequency hopping
CN105554787A (en) Data transmission method, intelligent acquisition equipment, intelligent terminal and cloud server
CN103209089A (en) Method for obtaining heart beat period, terminal and server
US9237496B2 (en) Method and apparatus for transmitting channel switching information
CN111328081B (en) Wireless ad hoc network method
CN102378286B (en) Frequency spectrum switching method and system for centralized networks, user terminal and base station
CN105684518A (en) Method and apparatus for terminal to reside in cell and mobile terminal
CN109922536A (en) A kind of fault detector collision-proof method and fault detector based on networking communication
CN113490258B (en) Method and device for terminal to reside in 5G shared network, terminal and storage medium
Zhang et al. Performance evaluation of IEEE 802.15. 4 beacon-enabled association process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130130

Termination date: 20150119

EXPY Termination of patent right or utility model