[go: up one dir, main page]

CN101848528B - Method and device for progressive channel scanning - Google Patents

Method and device for progressive channel scanning Download PDF

Info

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
unit
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
CN200910132621A
Other languages
Chinese (zh)
Other versions
CN101848528A (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.)
MediaTek Inc
Original Assignee
RALINK TECHNOLOGY CORP
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 RALINK TECHNOLOGY CORP filed Critical RALINK TECHNOLOGY CORP
Priority to CN200910132621A priority Critical patent/CN101848528B/en
Publication of CN101848528A publication Critical patent/CN101848528A/en
Application granted granted Critical
Publication of CN101848528B publication Critical patent/CN101848528B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method and a device for progressive channel scanning. The method firstly checks whether the previous scanning program finishes all channel scanning work to determine the initial scanning channel, and records the channel as the last scanning channel when finishing one channel scanning in the scanning process. In addition, the method uses the effective service setting identifier and scans the channel in an active scanning mode to improve the opportunity of obtaining the hidden access point information.

Description

The method and apparatus of progressive channel scanning
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.一种渐进式信道扫描的方法,其特征在于其包含:1. A method for progressive channel scanning, characterized in that it comprises: 检查是否完成信道扫描程序并取得扫描指示;其中,在扫描过程中每完成一信道扫描即将所述信道记录为最后扫描信道;且当没有完成信道扫描程序时,所述扫描指示用于指示接续最后扫描信道继续扫描;Check whether the channel scanning procedure is completed and obtain a scanning instruction; wherein, during the scanning process, each time a channel scanning is completed, the channel will be recorded as the last scanning channel; and when the channel scanning procedure is not completed, the scanning instruction is used to indicate to continue the last Scan channel to continue scanning; 根据所述扫描指示设定待扫描信道;setting a channel to be scanned according to the scanning instruction; 如果所述待扫描信道的信息存在于扫描纪录中,那么从所述扫描纪录中删除所述待扫描信道的信息;以及If the information of the channel to be scanned exists in the scan record, then delete the information of the channel to be scanned from the scan record; and 扫描所述待扫描信道。Scan the channel to be scanned. 2.根据权利要求1所述的方法,其特征在于所述扫描所述待扫描信道包含使用有效的服务设定识别符以主动式扫描方式扫描所述待扫描信道。2. The method of claim 1, wherein the scanning the channel to be scanned comprises scanning the channel to be scanned in an active scanning manner using a valid service configuration identifier. 3.根据权利要求1所述的方法,其特征在于其另外包含将所述待扫描信道记录为最后扫描信道。3. The method of claim 1, further comprising recording the channel to be scanned as the last scanned channel. 4.根据权利要求1所述的方法,其特征在于其中所述设定待扫描信道步骤包含:4. The method according to claim 1, wherein said setting the channel to be scanned step comprises: 如果已完成扫描N个待扫描信道,那么从第一信道开始扫描,其中N为整数;以及If the scanning of N channels to be scanned has been completed, start scanning from the first channel, where N is an integer; and 如果仅完成扫描所述N个待扫描信道中的K个待扫描信道,那么从下一个信道开始扫描,其中K为整数。If only K channels to be scanned among the N channels to be scanned are scanned, start scanning from the next channel, where K is an integer. 5.根据权利要求4所述的方法,其特征在于其中所述N个待扫描信道为站台可操作的信道。5. The method according to claim 4, wherein the N channels to be scanned are channels on which the station can operate. 6.根据权利要求4所述的方法,其特征在于其中所述下一个信道如果在2.4GHz下扫瞄时为第K+1个信道,所述下一个信道如果在5GHz下扫瞄时则为第K+4个信道,或是下一个有支持的信道。6. The method according to claim 4, wherein the next channel is the K+1th channel if it is scanned at 2.4GHz, and the next channel is the K+1th channel if it is scanned at 5GHz. The K+4th channel, or the next supported channel. 7.根据权利要求1所述的方法,其特征在于其中扫描所述待扫描信道的方式为主动式扫描。7. The method according to claim 1, wherein the method of scanning the channel to be scanned is active scanning. 8.根据权利要求1所述的方法,其特征在于其中扫描所述待扫描信道的方式为被动式扫描。8. The method according to claim 1, wherein the method of scanning the channel to be scanned is passive scanning. 9.一种渐进式信道扫描的装置,其特征在于其包含:9. A device for progressive channel scanning, characterized in that it comprises: 设定单元,其用以设定待扫描信道;a setting unit, which is used to set the channel to be scanned; 扫描单元,其用以扫描所述待扫描信道;a scanning unit, configured to scan the channel to be scanned; 记录单元,其用以在扫描单元扫描过程中每完成一信道扫描就将完成扫描的所述信道记录为最后扫描信道,并将所述扫描单元中的至少一个扫描结果登载于扫描纪录中;以及A recording unit, which is used to record the scanned channel as the last scanned channel every time a channel scan is completed during the scanning unit scanning process, and to record at least one scanning result in the scanning unit in the scanning record; and 检查单元,其用以检查所述记录单元中的所述至少一个扫描结果,并决定下一个待扫描信道,其中,该下一个待扫描信道是接续该最后扫描信道。The checking unit is configured to check the at least one scanning result in the recording unit and determine the next channel to be scanned, wherein the next channel to be scanned is the continuation of the last scanned channel. 10.根据权利要求9所述的装置,其特征在于其另外包含删除单元,所述删除单元用以删除所述扫描纪录中的所述至少一个扫描结果。10 . The device according to claim 9 , further comprising a deletion unit configured to delete the at least one scan result in the scan record. 11 . 11.根据权利要求10所述的装置,其特征在于其中所述删除单元删除所述记录单元中前一次扫描所述待扫描信道的扫描结果。11. The device according to claim 10, wherein the deleting unit deletes the scanning result of the previous scan of the channel to be scanned in the recording unit. 12.根据权利要求9所述的装置,其特征在于其中所述扫描单元使用有效的服务设定识别符以主动式扫描方式扫描所述待扫描信道。12. The device according to claim 9, wherein the scanning unit uses a valid service configuration identifier to scan the channel to be scanned in an active scanning manner. 13.根据权利要求9所述的装置,其特征在于其中所述扫描单元经设定而以主动式扫描模式操作。13. The device of claim 9, wherein the scanning unit is configured to operate in an active scanning mode. 14.根据权利要求9所述的装置,其特征在于其中所述扫描单元经设定而以被动式扫描模式操作。14. The device of claim 9, wherein the scanning unit is configured to operate in a passive scanning mode. 15.根据权利要求9所述的装置,其特征在于其是以软件实现的、以硬件实现的、在内嵌单一处理器或多处理器的平台上实现的。15. The device according to claim 9, characterized in that it is implemented in software, in hardware, or on a platform embedded with a single processor or multiple processors.
CN200910132621A 2009-03-27 2009-03-27 Method and device for progressive channel scanning Expired - Fee Related CN101848528B (en)

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 Expired - Fee Related 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)

* Cited by examiner, † Cited by third party
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广东移动通信有限公司 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 and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
US8630220B2 (en) Access point scan method, access point scan apparatus, and storage medium storing access point scan program
CN103222302B (en) For providing measurement report to reduce the method and apparatus of drive test requirement
US7412237B2 (en) Information processing apparatus and information processing method
TWI317607B (en) Method and apparatus to provide a continuous useable wireless network connection
TWI384825B (en) Method for selecting an access point and apparatus for using the same
JP5305453B2 (en) Wireless LAN high-speed roaming system, high-speed roaming method, and high-speed roaming program
CN118678413A (en) Method and apparatus for handling cell selection and reselection in MR-DC systems
CN102655663A (en) Method and system for switching a radio access technology between wireless communicaiton systems with a multi-mode wireless transmit/receive unit
RU2599382C1 (en) Method and apparatus for producing neighboring cell information
RU2010107659A (en) RE-SELECTION OF CELLS IN WIRELESS COMMUNICATION SYSTEM
JP2010193088A (en) Method, apparatus and program of selecting radio base station
US7822412B2 (en) System and method for accessing a wireless network
JP2015523797A (en) Method and apparatus for implementing high-speed network connections
WO2008154883A1 (en) A method for handing over to a private cell and the equipment thereof
CN101848528B (en) Method and device for progressive channel scanning
KR20110109708A (en) Automatic connection device and method in wireless communication system
CN113840303A (en) Measurement indication method, terminal and network side device
CN106211279A (en) Wireless network method of network entry and wireless device
JP2011250158A (en) Wireless base station search method and wireless base station search apparatus
US20040093398A1 (en) Method and apparatus for performing dual active scan
CN105704787A (en) Method of processing received digitized signals and mobile radio communication terminal device
TWI393466B (en) Method and device for progressive channel scanning
CN103096344B (en) A kind of method and apparatus detecting access point
WO2016131331A1 (en) Network accessing method and apparatus
CN101815345A (en) Method and apparatus for channel scanning in a wireless local area network

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

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 CORP.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121010

CF01 Termination of patent right due to non-payment of annual fee