CN101848528B - Method and device for progressive channel scanning - Google Patents
Method and device for progressive channel scanning Download PDFInfo
- Publication number
- CN101848528B CN101848528B CN200910132621A CN200910132621A CN101848528B CN 101848528 B CN101848528 B CN 101848528B CN 200910132621 A CN200910132621 A CN 200910132621A CN 200910132621 A CN200910132621 A CN 200910132621A CN 101848528 B CN101848528 B CN 101848528B
- Authority
- CN
- China
- Prior art keywords
- channel
- scanning
- scanned
- scan
- record
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method and a device for progressive channel scanning. The method comprises the steps: at first, checking whether scanning for all the channels is completed by previous scanning program in order to determine an initial scanning channel, and recording the channel as a final scanning channel each time channel scanning is completed in the process of scanning. Furthermore, in the method, an effective service setting identifier is used, and channel scanning is implemented in a manner of active scanning so as to raise the opportunity of attaining hidden access point information.
Description
Technical field
The present invention relates to a kind of communication system, relate to a kind of method and apparatus of progressive channel scanning in particular.
Background technology
Along with wireless lan (wlan) is universal day by day, various application also develops rapidly thereupon, and many team also devote the research that promotes any wireless network services quality in succession.In WLAN, and mobile wireless transmission unit (wireless transmit/receive unit, WTRU) or platform (station) maybe simultaneously (access point be in signal transmission ranges AP) at a plurality of access points.Yet, along with the communication connecting object and the employed channel of said wireless transmission/receive unit of time possibly need be reselected because of the variation of signal strength signal intensity.Mobile wireless transmission unit is obtained to be connected with access point must have a handover (handoff) before so that continue communication; Said handover contains scanning (scanning), checking (authentication) and combines (reassociation) three phases again, and wherein the time delay with sweep phase is the longest.Like platform is twin-channel platform; It has 38 and supports channel of operation (channel 1 is to channel 14, channel 36, channel 40, channel 44, channel 48, channel 52, channel 56, channel 60, channel 64, channel 100, channel 104, channel 108, channel 112, channel 116, channel 120, channel 124, channel 128, channel 132, channel 136, channel 140, channel 149, channel 153, channel 157, channel 161, channel 165); Channel of every scanning spends 140 milliseconds approximately, therefore needs 5320 milliseconds approximately and accomplishes all scan channels.Yet, if the employed operating system of platform is Microsoft's Window XP (Microsoft Windows XP), after beginning to carry out scan channel about 3 second system be the active break scanning work.Therefore, just can't accomplish all scan channel work for twin-channel platform.If its employed channel of the access point that said platform will connect is not accomplished scanning, just so said platform can't be connected with it.
Fig. 1 describes the sketch map of the scanning process of platform.Operating system is to the wireless device driver issue scan request of platform.The wireless device driver is removed previous all scanning results earlier, so that begin scanning from channel 1.As stated, operating system after beginning to carry out scan channel about 3 second system be the active break scanning work, concurrent cloth is enumerated request.Therefore, this scanning imaging system only can be accomplished the scanning work of channel 1 to channel 64.On the other hand, the wireless device driver all can be removed the previous all scanning results and the scanning that starts anew earlier before starting scanning imaging system.Therefore, scanning imaging system only can be accomplished the local channel scanning work each time.In other words, just said platform can't be obtained with the access point that operates in other channel (like channel 153) is connected.
Summary of the invention
The method and apparatus of progressive channel scanning of the present invention judges whether a preceding scanning imaging system accomplishes all scan channel work earlier.If scanning and delete the previous scanning result of channel described in the sweep record before one channel in scanning so starts anew.To be about to said channel record be last scanning channel to every completion one scan channel in the scanning process.If the preceding local channel scanning work of once only accomplishing is so from the scanning that begins to continue of last scanning channel.In addition, the present invention also uses effective service setting identifier with active scan mode scanning channel.
Enforcement example of the present invention discloses a kind of method of progressive channel scanning, and said method comprises following steps: whether inspection is accomplished the scan channel program and is obtained the scanning indication; According to said scanning indicative of settings channel to be scanned; If the information of said channel to be scanned is present in the scanning record, the information of from said scanning record, deleting said channel to be scanned so; And scan said channel to be scanned.
Enforcement example of the present invention discloses a kind of device of progressive channel scanning, and it comprises setup unit, scanning element, record cell and inspection unit.Said setup unit is in order to set channel to be scanned.Said scanning element is in order to scan said channel to be scanned.Said record cell is in order to publishing at least one scanning result in the said scanning element in scanning record, and is last scanning channel with said channel record to be scanned.Said inspection unit is in order to checking said at least one scanning result in the said record cell, and determines next channel to be scanned.
Description of drawings
Fig. 1 describes the sketch map of scanning process;
Fig. 2 describes the flow chart of the progressive channel scanning method of enforcement example of the present invention;
Fig. 3 describes the flow chart of the detailed step of step S206; And
Fig. 4 describes of the present invention another and implements the block diagram of the progressive channel scanning device of example.
Embodiment
Fig. 2 shows the flow chart of the progressive channel scanning method of enforcement example of the present invention.In step S201, the operating system of platform issue scan request is to start the scan channel flow process.In step S202, carry out the scan channel program, and with outcome record in the scan channel record.(Institute of Electrical and Electronics Engineers, IEEE) in 802.11 standards of institute's standard, at sweep phase, platform must scan all channels in IEEE.At present, said scan mode can be divided into active scanner uni passive type scanning.In active scanning, the platform selective channel also transmits probe request frame (probe request frame), waits for that then the given time is to receive the probe request frame of response.If after said given time, do not receive the probe request frame of said response, adjust to a new channel so and repeat this program.In passive type scanning, the given time of platform selective channel and monitoring (listening).If after the said given time, do not receive any beacon frame (beacon frame) broadcasting, adjust to a new channel so and repeat this program.In step S203, judge whether to accomplish all exercisable channels of the said platform of scanning.For example, if said platform is twin-channel platform, but it has 38 channel of operation, and step S203 promptly checks the scanning of whether accomplishing said 38 channels.If accomplished all scan channels, indication begins scanning from initial channel in step S204 so, like channel 1.Said initial scanning channel can be along with the platform of different operating frequency and the different setting of user and difference to some extent.The platform of the platform of 2.4GHz and 5GHz for example, its initial scanning channel is respectively channel 1 and channel 36.If in step S202, only accomplish the sweep test channel, as only accomplishing channel 1 scanning work to channel 108, the once last in the past channel of accomplishing scanning of the indication scanning that continues in step S205 so promptly begins to scan from channel 112.Scanning channel 112 in step S206.
The detailed step of Fig. 3 step display S206.In step S301, set a channel to be scanned, like above-mentioned channel 112.In step S302, judge the scanning record that whether contains channel 112 in the said scan channel record.If, the said scanning record of deletion in step S303 so.Said scanning record comprises the information of the access point that uses channel 112.If not, so in step S304 with active scan mode or passive type scan mode scanning channel 112.Yet, if access point for hiding access point (hidden AP), need use effective service setting identifier (service set identifier) can obtain the information of said hiding access point with active scan mode scanning so.Therefore, in step S305, said platform uses effective service setting identifier to carry out active scanning.
In step S207, channel 112 is recorded as the channel of last scanning.In step S208, judge whether this flow process is interrupted.The those skilled in the art can understand, and this interruption possibly issued (issue) by operating system, or puts the said gradual scanning flow process of interruption at any time by the user.If have the situation of interruption to take place, finish said gradual scanning flow process so.If, in step S209, do not judge whether to be last channel to be scanned so.If, do not get back to scanning channel next to be scanned among the step S206 so.If in step S210, finish said progressive channel scanning flow process so.From the above mentioned, the those skilled in the art can understand, and progressive channel scanning method of the present invention can solve because delete the problem that can't accomplish all scan channels that all scanning records are caused before the scanning constant time of operating system and the scanning.In addition, platform uses effective service setting identifier to carry out active scanning has also increased the chance that obtains the information of hiding access point.
In order to make the those skilled in the art come embodiment of the present invention through this instruction of implementing example, below the above-mentioned progressive channel scanning method of collocation proposes the enforcement example of a progressive channel scanning device in addition.
Fig. 4 describes of the present invention another and implements the block diagram of the progressive channel scanning device of example.Progressive channel scanning device 400 comprises setup unit 401, scanning element 402, record cell 403, inspection unit 404 and delete cells 405.Setup unit 401 is in order to set channel to be scanned.Scanning element 402 is in order to scanning said channel to be scanned, and sets with active scan mode operation still with the passive type scan mode operation.If access point need use effective service setting identifier so for hiding access point, and scan the information that just can obtain said hiding access point with active scan mode.Therefore, scanning element 402 also uses effective service setting identifier to scan said channel to be scanned with active scan mode.The said channel record that record cell 403 just will be accomplished scanning in order to every completion one scan channel in the scanning element scanning process is last scanning channel, and at least one scanning result in the said scanning element is published in the scanning record.Inspection unit 404 is in order to the scanning result of checking said record cell and determine next channel to be scanned.If wherein said next channel is a K+1 channel when under 2.4GHz, scanning, if when said next channel scans under 5GHz then be K+4 channel, or the next channel that support is arranged.Delete cells 405 is in order to the scanning result of the said channel to be scanned of single pass before deleting in the said scanning record.For example, setup unit 401 is set at channel to be scanned with channel 112, if store the scanning result of a preceding scanning channel 112 in the record cell 403, before this scanning channel 112, deletes the scanning result of a preceding scanning channel 112 so earlier.The present invention implements wherein a kind of mode that the wireless channel scanning device 400 of example can software realizes, realizes, on the platform of embedded single-processor or multiprocessor, realizes with hardware and realizes.
In sum, whether single pass accomplished all scan channel work before progressive channel scanning method and apparatus of the present invention was judged earlier.If start anew to scan and before scanning one channel, delete the preceding scanning result of channel described in the sweep record so.To be about to said channel record be last scanning channel to every completion one scan channel in the scanning process.If the preceding local channel scanning work of once only accomplishing is so from the scanning that begins to continue of last scanning channel.In addition, for lifting obtains the chance of hiding access-in point information, also use effective service setting identifier with active scan mode scanning channel.
Technology contents of the present invention and technical characterstic disclose as above, yet the those skilled in the art still maybe be based on teaching of the present invention and disclosure and done all replacement and modifications that does not deviate from spirit of the present invention.Therefore, protection scope of the present invention should be not limited to implement the content that example discloses, and should comprise various do not deviate from replacement of the present invention and modifications, and is contained by above claims.
Claims (15)
1. the method for a progressive channel scanning is characterized in that it comprises:
Whether inspection is accomplished the scan channel program and is obtained the scanning indication; Wherein, in scanning process every completion one scan channel to be about to said channel record be last scanning channel; And when not accomplishing the scan channel program, said scanning indication is used for indicating the last scanning channel continuation scanning that continues;
According to said scanning indicative of settings channel to be scanned;
If the information of said channel to be scanned is present in the scanning record, the information of from said scanning record, deleting said channel to be scanned so; And
Scan said channel to be scanned.
2. method according to claim 1 is characterized in that the said channel to be scanned of said scanning comprises the use effective service setting identifier and scans said channel to be scanned with active scan mode.
3. method according to claim 1 is characterized in that it comprises said channel record to be scanned in addition is last scanning channel.
4. method according to claim 1 is characterized in that wherein said setting channel step to be scanned comprises:
If accomplished a scan N channel to be scanned, since the scanning of first channel, wherein N is an integer so; And
If only accomplish K channel to be scanned in said N channel to be scanned of scanning, begin scanning from next channel so, wherein K is an integer.
5. method according to claim 4 is characterized in that wherein said N channel to be scanned is the exercisable channel of platform.
6. method according to claim 4; If it is characterized in that wherein said next channel is K+1 channel when under 2.4GHz, scanning; If when said next channel scans under 5GHz then be K+4 channel, or the next channel that support is arranged.
7. method according to claim 1, the mode that it is characterized in that wherein scanning said channel to be scanned is active scanning.
8. method according to claim 1, the mode that it is characterized in that wherein scanning said channel to be scanned are passive type scanning.
9. the device of a progressive channel scanning is characterized in that it comprises:
Setup unit, it is in order to set channel to be scanned;
Scanning element, it is in order to scan said channel to be scanned;
Record cell, its said channel record that just will accomplish scanning in order to every completion one scan channel in the scanning element scanning process is last scanning channel, and at least one scanning result in the said scanning element is published in the scanning record; And
Inspection unit, it is in order to checking said at least one scanning result in the said record cell, and determines next channel to be scanned, wherein, this next one channel to be scanned is this last scanning channel that continues.
10. device according to claim 9 is characterized in that it comprises delete cells in addition, and said delete cells is in order to delete said at least one scanning result in the said scanning record.
11. device according to claim 10, it is characterized in that wherein said delete cells delete in the said record cell before the scanning result of the said channel to be scanned of single pass.
12. device according to claim 9 is characterized in that wherein said scanning element use effective service setting identifier scans said channel to be scanned with active scan mode.
13. device according to claim 9 is characterized in that wherein said scanning element is through setting and with active scan mode operation.
14. device according to claim 9 is characterized in that wherein said scanning element is through setting and with the passive type scan mode operation.
15. device according to claim 9, it is characterized in that its with software realize, with hard-wired, on the platform of embedded single-processor or multiprocessor, realize.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910132621A CN101848528B (en) | 2009-03-27 | 2009-03-27 | Method and device for progressive channel scanning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910132621A CN101848528B (en) | 2009-03-27 | 2009-03-27 | Method and device for progressive channel scanning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101848528A CN101848528A (en) | 2010-09-29 |
CN101848528B true CN101848528B (en) | 2012-10-10 |
Family
ID=42772946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910132621A Active CN101848528B (en) | 2009-03-27 | 2009-03-27 | Method and device for progressive channel scanning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101848528B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9210652B2 (en) * | 2012-07-06 | 2015-12-08 | Futurewei Technologies, Inc. | System and method for active scanning in multi-channel Wi-Fi system |
CN106888496B (en) | 2017-02-20 | 2019-10-18 | Oppo广东移动通信有限公司 | A kind of Wireless Fidelity Wi-Fi connection method and mobile terminal |
CN110225573A (en) * | 2019-06-03 | 2019-09-10 | Oppo广东移动通信有限公司 | WiFi channel scanning method and device, electronic equipment, computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1925683A (en) * | 2006-09-27 | 2007-03-07 | 杭州华为三康技术有限公司 | Switch-in point of centralized wireless LAN and method for detecting neighbor switch-in point thereof |
CN1965534A (en) * | 2004-04-30 | 2007-05-16 | 英特尔公司 | Channel scanning in wireless networks |
CN101141335A (en) * | 2006-09-07 | 2008-03-12 | 日电(中国)有限公司 | Subscriber terminal based fast skip zone switching method and equipment |
-
2009
- 2009-03-27 CN CN200910132621A patent/CN101848528B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1965534A (en) * | 2004-04-30 | 2007-05-16 | 英特尔公司 | Channel scanning in wireless networks |
CN101141335A (en) * | 2006-09-07 | 2008-03-12 | 日电(中国)有限公司 | Subscriber terminal based fast skip zone switching method and equipment |
CN1925683A (en) * | 2006-09-27 | 2007-03-07 | 杭州华为三康技术有限公司 | Switch-in point of centralized wireless LAN and method for detecting neighbor switch-in point thereof |
Also Published As
Publication number | Publication date |
---|---|
CN101848528A (en) | 2010-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11082899B2 (en) | Cell reselection method and apparatus | |
CN1934880B (en) | Method and system for switching a radio access technology between wireless communication systems with a multi-mode wireless transmit/receive unit | |
CN104137497B (en) | The method and apparatus that the search collection of TV white space channel is generated based on positional information | |
CN103391633B (en) | Method for network access and device | |
US8626073B2 (en) | Use of measurement pilot for radio measurement in a wireless network | |
JP5305453B2 (en) | Wireless LAN high-speed roaming system, high-speed roaming method, and high-speed roaming program | |
JP2007104432A (en) | Mobile communication apparatus | |
CN105991255A (en) | Carrier aggregation configuration method and device | |
JP2010193088A (en) | Method, apparatus and program of selecting radio base station | |
CN114423057B (en) | Channel switching method, device, AP equipment and storage medium | |
WO2008154883A1 (en) | A method for handing over to a private cell and the equipment thereof | |
CN101848528B (en) | Method and device for progressive channel scanning | |
CN114205860A (en) | Frequency point measuring method and related equipment | |
CN104038984A (en) | Wireless local area network access method and auxiliary device for wireless local area network access | |
CN114339899A (en) | Network switching method, device and equipment | |
CN113840303A (en) | Measurement indication method, terminal and network side equipment | |
CN101873672B (en) | Method, device and system for wireless channel scanning | |
EP4224908A1 (en) | Cell selection/reselection method and apparatus, terminal, and readable storage medium | |
CN101815345A (en) | Method and device for signal channel scanning in wireless local area network | |
EP2611235B1 (en) | Method and device for discovering 2g neighbour cells at the edge of an area covered by a 3g cell | |
TWI393466B (en) | Method and apparatus for progressively scanning channels | |
CN112512098B (en) | Cell access method, device and terminal | |
CN111970750A (en) | Multi-frequency WiFi identification method and device | |
CN105636082A (en) | Method for acquiring channel information and mobile terminal | |
CN109600801A (en) | Switching method and device |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180613 Address after: China Taiwan Hsinchu Science Park Hsinchu city Dusing a road No. Patentee after: MediaTek.Inc Address before: Hsinchu County, Taiwan, China Patentee before: Ralink Technology Inc. |