CN102802236B - Method for scanning wireless network, and device for realizing thereof - Google Patents

Method for scanning wireless network, and device for realizing thereof Download PDF

Info

Publication number
CN102802236B
CN102802236B CN201210274364.XA CN201210274364A CN102802236B CN 102802236 B CN102802236 B CN 102802236B CN 201210274364 A CN201210274364 A CN 201210274364A CN 102802236 B CN102802236 B CN 102802236B
Authority
CN
China
Prior art keywords
scanning
sta
list item
message
time
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
Application number
CN201210274364.XA
Other languages
Chinese (zh)
Other versions
CN102802236A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210274364.XA priority Critical patent/CN102802236B/en
Publication of CN102802236A publication Critical patent/CN102802236A/en
Application granted granted Critical
Publication of CN102802236B publication Critical patent/CN102802236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for scanning wireless networks, and a device for realizing thereof. The method comprises: an AP (access point) establishing a scan table item of an STA (station) when receiving a scanning message sent by the STA for the first time, responding a scan responding message to the STA; the scan table item being used for recording STA identification information, a receipt time T of the scanning message responded at a last time, and a scanning time interval [delta]T of the STA; and when the AP subsequentially receiving a scanning message sent by the STA, determining a time when the scanning message is received at present, and determining whether the T and the [delta]T recorded in the scan table item satisfy preset inhibiting response conditions, if satisfy, not responding to the scanning message which is received at present, otherwise, sending the scan responding message to the STA, and meanwhile updating the T in the scan table item of the STA. A channel of the AP receiving the scanning message is a working channel of the AP, or any channel overlapped with the working channel of the AP. With the method and the device, unwanted vent resource waste can be prevented.

Description

Wireless network scanning method and implement device thereof
Technical field
The application relates to the network communications technology, particularly wireless network scanning method and implement device thereof.
Background technology
In WLAN (wireless local area network) (WLAN:Wireless Local Area Network), client (STA:Station) needs timing scan network, to determine the network condition of the WAP (wireless access point) (AP:Access Point) oneself accessed, or find better AP and access.
According to the regulation of 802.11-2007 agreement, after AP receives the scanning of any STA, if there is the network meeting this STA access conditions, should give and response.
So, in wlan network, the response that the scanning of each STA and each AP scan for each STA when determining to exist the network meeting each STA access conditions can occupy a large amount of interface-free resources, particularly in the 802.11g radio frequency network that non-overlapped channel is little, the situation of this waste interface-free resources is serious especially, affects the network service quality of WLAN (wireless local area network).
Summary of the invention
This application provides wireless network scanning method and implement device thereof, to avoid unnecessary interface-free resources waste.
The technical scheme that the application provides comprises:
A kind of wireless network scanning method, comprising:
Wireless access point AP, when receiving the scanning message that client STA sends for the first time, sets up the scanning list item of this STA, responds scanning response message to this STA; Described scanning list item is used for the trace interval Δ T of the identification information of record: STA, time of reception T, STA of the last scanning message responded;
During the scanning message that the subsequently received described STA of AP sends, whether the trace interval Δ T that judgement is currently received time of reception T and STA of the scanning message of the last time response of recording in the time and described scanning list item scanning message meets the suppression response condition preset, if met, then the scanning message be currently received is not responded, otherwise send scanning response message to described STA, upgrade the time of reception T of the scanning message of the last time response in the scanning list item of described STA simultaneously;
The channel that described AP receives described scanning message is the working channel of AP, or is the arbitrary channel overlapping with the working channel of described AP.
Preferably, in the present invention, described trace interval Δ T is the value that network side is preset, and described AP is when setting up described scanning list item, and the type according to STA obtains the trace interval Δ T value corresponding with this STA type.
Preferably, in the present invention, the method obtaining described trace interval Δ T is specially:
When setting up scanning list item corresponding to STA, described Δ T is default initial value;
When AP again receive scanning message after, if scanning list item in Δ T be initial value, then calculate the scanning message be currently received time and scanning list item in T between difference;
If described difference is less than or equal to STA scan single channel maximum scan time threshold T0, the initial value of the Δ T in scanning list item is then replaced by described difference, respond scanning response message, and the T upgraded in scanning list item is the time of the scanning message be currently received;
If described difference is greater than T0, then the T upgraded in scanning list item is the time being currently received scanning message.
Preferably, in the present invention, described suppression response condition is specially:
The difference being currently received the time of reception T of the scanning message that the last time in the time and described scanning list item scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
In the present invention, the method comprises further:
AP is when the transmission cycle time set arrives or when reaching maximum quantity L at the scanning list item of this locality, all scanning list items of this locality are transferred to the Radio Access Controller AC for managing described AP, with all scanning list items making AC record reception in local scan table;
AP restart or with AC there occurs reconnect time, to be transferred to the scanning list item of AC before receiving the L bar that AC sends by this AP.
In the present invention, all scanning list items that AC records reception in local scan table comprise: AC is for each the scanning list item received, check in local scan table the scanning list item whether existing and comprise MAC Address in this scanning list item, if, the current update times of this MAC Address is added 1, using result of calculation again as the current update times of this MAC Address, be this scanning list item determination priority according to following principle: MAC Address update times is larger, the scanning list item comprising this MAC Address has more high priority, and be recorded to position corresponding with the priority that this is determined in local check table, if not, determine that the priority of this scanning list item is minimum, and be recorded to position corresponding with this lowest priority in local check table,
Based on this, the scanning list item that described AC is transmitted by this AP before sending L bar comprises:
AC selects L bar priority the highest and scanning list item that is that transmitted by AP before from local scan table, and the scanning list item of selection is sent to AP.
Preferably, in the present invention, the scanning message that described STA initiates is specially Probe Request scan request frame, and described AP is specially Probe Response to the scanning response message that STA responds and scans response frame.
The invention also discloses a kind of implement device of wireless network scanning method, this application of installation is in wireless access point AP, and this device comprises:
Scan table processing unit, for setting up and safeguarding scan table, described scan table is used for memory scanning list item, and described scanning list item is used for the trace interval Δ T of the identification information of record: STA, time of reception T, STA of the last scanning message responded;
Transmit-Receive Unit, for receiving the scanning message of STA transmission and sending scanning response message to STA under the control of the control unit;
Control unit, for when receiving the scanning message that STA sends for the first time, instruction scan list processing unit sets up the scanning list item of this STA, and instruction Transmit-Receive Unit responds scanning response message to this STA, when the scanning message that subsequently received described STA sends, whether the trace interval Δ T that judgement is currently received time of reception T and STA of the scanning message of the last time response of recording in the time and described scanning list item scanning message meets the suppression response condition preset, if met, then instruction Transmit-Receive Unit does not respond the scanning message be currently received, ELSE instruction Transmit-Receive Unit sends scanning response message to described STA, instruction scan list processing unit upgrades the time of reception T of the scanning message of the last time response in the scanning list item of described STA simultaneously,
The channel that described AP receives described scanning message is the working channel of AP, or is the arbitrary channel overlapping with the working channel of described AP.
Preferably, in the present invention, described device also comprises:
Trace interval acquiring unit, for obtaining the trace interval Δ T in described scanning list item for STA;
Trace interval acquiring unit, when setting up described scanning list item, obtains according to the type of STA the trace interval Δ T value corresponding with this STA type that network side presets; Or
Described trace interval Δ T is default initial value when setting up scanning list item corresponding to STA, described trace interval acquiring unit is after described Transmit-Receive Unit receives the scanning message of STA initiation again, judge whether the Δ T scanned in list item is initial value, when for initial value, calculate the difference between the T in the time of scanning message and scanning list item be currently received, if described difference is less than or equal to STA scan single channel maximum scan time threshold T0, then instruction scan list processing unit replaces the initial value of the Δ T in scanning list item by described difference, and the time of reception T upgrading the scanning message of the last time response in the scanning list item of described STA is the time of the scanning message be currently received, Transmit-Receive Unit described in instruction simultaneously responds scanning response message to described STA, if described difference is greater than T0, then instruction scan list processing unit upgrades the T in scanning list item is the time being currently received scanning message.
In the present invention, described suppression response condition is specially:
The difference being currently received the time of reception T of the scanning message that the last time in the time and described scanning list item scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
In the present invention, described scan table processing unit is further when the transmission cycle time set arrives or when reaching maximum quantity L at the scanning list item of this locality, all scanning list items of this locality are transferred to the Radio Access Controller AC for managing described AP, with all scanning list items making AC record reception in local scan table; And self ap reboot or with AC there occurs reconnect time, to be transferred to the scanning list item of AC before receiving the L bar that AC sends by self AP.
As can be seen from the above technical solutions, in the present invention, AP is when receiving the scanning message that arbitrary STA initiates, both current existence had been made to meet the network of this STA access, if be currently received the time of the scanning message that described STA initiates, the suppression response condition preset is met between the time of reception T of the scanning message of the last time response of the scanning list item record of this STA and trace interval Δ T three, then AP also abandons the scanning message of reception, namely this scanning message is no longer responded, this is compared to prior art, obviously unnecessary interface-free resources waste can be avoided, improve the network service quality of WLAN.
Accompanying drawing explanation
The method flow diagram that Fig. 1 provides for the embodiment of the present invention 1;
The method flow diagram that Fig. 2 provides for the embodiment of the present invention 2;
The LWAPP message format schematic diagram that Fig. 3 provides for the embodiment of the present invention;
The structure drawing of device that Fig. 4 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
The invention provides wireless network scanning method, in the method, all respond when avoiding AP to receive the scanning message of STA at every turn, by reducing response times, saving interface-free resources, improving the service quality of wlan network.Below by two embodiments, method provided by the invention is described:
Embodiment 1
See the method flow diagram that Fig. 1, Fig. 1 provide for the embodiment of the present invention 1.Because 802.11a radio frequency is all non-overlapped channel, and there is overlapped channels in 802.11g or 802.11gn radio frequency, for definitely embodying effect of the present invention, this flow process can be applicable in the networking of 802.11g or 802.11gn radio frequency.Preferably, this networking can adopt the framework that Radio Access Controller (AC:Access Controller) is combined with thin (Fit) AP.
So, based on the networking structure combined for AC and Fit AP, then as shown in Figure 1, this flow process can comprise the following steps:
Step 101, AP, when receiving the scanning message that STA initiates for the first time, sets up the scanning list item corresponding with this STA, scans response message to this STA response; Described scanning list item comprises: the trace interval Δ T of time of reception T and STA of the identification information of STA, the scanning message of the last response;
In the present invention, for the ease of the scanning list item that unified management STA is corresponding, need to set up scan table in AP this locality, initiated the scanning list item of the STA of scanning by this scan table record to this AP.Wherein, if AP is the scanning message receiving STA initiation for the first time, then, AP, when determining the network existing and meet described STA access, sets up the scanning list item that this STA is corresponding in scan table.
In the present invention, the receive channel of described scanning message is the working channel of AP, or is the arbitrary channel overlapping with the working channel of AP.In the present invention, the working channel of AP manually can be arranged by user, wherein, when manually arranging working channel, need to ensure that this working channel can not be last channel in overlapped channels, such as, in the networking of 802.11g or 802.11gn radio frequency, AP can not be operated in 3 channels, 8 channels and 13 channels; Certainly, in the present invention, the working channel of AP also can by AP automatic search, without the need to manual setting, because AP gives tacit consent to last channel that can not be operated in overlapped channels, the working channel of AP automatic search can only be non-overlapped channel, such as in the networking of 802.11g or 802.11gn radio frequency 1,6,11 channels.When AP is in running order, the channel that AP can be supported by it receives the scanning message that STA initiates, and wherein, the channel that AP supports not refers in particular to the working channel of AP, and it can be the channel outside working channel.
In the present invention, the identification information of the STA that described STA scans in list item can be the MAC Address of STA or have the temporary mark of uniqueness;
In the present invention, the time of reception T of the scanning message of described the last time response refers to the time of reception of the scanning message corresponding to scanning response message that AP the last time sends;
In the present invention, the trace interval Δ T of described STA is used to indicate this STA initiates time cycle from scanning to AP, the value that this value can be a default Configuration Values or be estimated by the time of reception of front and back twice sweep message.
In this embodiment, described trace interval Δ T is the pre-configured fixed value of network side, such as, can arrange this value according to the minimum value in cycle sweep time of all STA.
Preferably, in another instantiation, a STA type and the mapping table in cycle sweep time can be set up at AP or AC, be the minimum value that each class STA sets cycle sweep time, from mapping table, obtain the trace interval Δ T of such STA when AP is STA foundation scanning list item according to the type of STA; Can classify to STA according to the information such as chip producer, model of STA in the preferred embodiment of the present invention.
In the present invention, during the scanning message specific implementation that STA initiates, can be scan request (ProbeRequest) frame, during the scanning response message specific implementation that AP responds to STA, can be scanning response (Probe Response) frame.
Step 102, AP follow-up receive at every turn described STA send scanning message time, the trace interval Δ T of time of reception T and STA according to the scanning message being currently received the last time response of recording in scanning time of message and described scanning list item judges whether meet default suppression response condition between three, if met, perform step 103, otherwise, perform step 104.
Preferably, in this step, described default suppression response condition is:
The time of the scanning message that the described STA be currently received sends is less than N*T0 with the difference of the time of reception T of the last scanning message responded;
Wherein, N is preset value.The number that there is overlapped channels due to 802.11g or 802.11gn radio frequency is 5, and based on this, definable N value of the present invention is 5.Certainly, N value is 5 is that a citing describes, and non-limiting the present invention, it also can get other values.
Step 103, does not respond the scanning message be currently received, and terminates Current Scan Message processing flow process.
In this step, be equivalent to abandon the scanning message be currently received, meanwhile, also need not upgrade the time of reception T of the scanning message of the last time response in scanning list item.
Step 104, responds the scanning message be currently received, and sends scanning response message, upgrade the time T of the last responding scanning message in scanning list item corresponding to described STA simultaneously to described STA, terminates Current Scan Message processing flow process.
So far, the description of embodiment 1 is completed.Below embodiment 2 is described:
Embodiment 2
The present embodiment and the difference of embodiment 1 are that the mode of the trace interval Δ T obtaining STA is different, specifically as shown in Figure 2:
See the method flow diagram that Fig. 2, Fig. 2 provide for the embodiment of the present invention 2.As shown in Figure 2, this flow process can comprise the following steps:
Step 201, AP, when receiving the scanning message that STA initiates for the first time, sets up the scanning list item corresponding with this STA, scans response message to this STA response; Described scanning list item comprises: the trace interval Δ T of the identification information of STA, time T and STA of the last responding scanning message;
In this embodiment, the initial value of described trace interval Δ T for presetting under initial situation, such as null value NULL, represents and does not also get this value.
Step 202, the time interval of the scanning message that the same STA that AP receives for twice according to front and back sends calculates the trace interval Δ T obtaining this STA;
In this embodiment, in the present invention, the time interval of the scanning message received for twice by front and back estimates cycle sweep time of STA.
In this step, concrete calculation procedure is as follows:
Step 2021, after AP receives scanning message again, judge whether the trace interval Δ T scanned in list item is initial value, if then perform step 2022, otherwise execution step 203;
Here, if current trace interval Δ T is not initial value in scanning list item, then the trace interval Δ T having calculated this STA is represented;
Step 2022, to calculate according to the time of reception T of the scanning message of the last time response of recording in time of the scanning message that is currently received, scanning list item both difference; Perform step 2023 afterwards.
Whether the difference of the time of reception T of the scanning message that the last time of recording in step 2023, the time judging the scanning message be currently received and scanning list item responds is less than or equal to Preset Time thresholding T0, if, then perform step 2024, otherwise perform step 2025;
In the present invention, the T0 that STA is corresponding is the maximum scan time that STA scans single channel, is specially the Max_Probe_Response_Time in 802.11 agreements, the Preset Time thresholding that different STA is corresponding different.
Step 2024, the difference of the time of reception T of scanning message that responded the time of the scanning message be currently received calculated and the last time of recording in scanning list item are updated in the scanning list item of this STA as the trace interval Δ T of described STA, respond scanning response message, and the time of reception T upgrading the scanning message of the last time response in scanning list item is the time of the scanning message be currently received.Then step 203 is performed;
Step 2025, do not respond the scanning message be currently received, the time of reception T simultaneously upgrading the scanning message of the last response in scanning list item is the time being currently received scanning message;
In this embodiment, the difference of the time of reception T of the scanning message that the last time of recording in time of the scanning message be currently received and scanning list item responds is greater than Preset Time thresholding T0, express possibility due to network reason cause front and back receive for twice scanning message time exceeded the maximum scan time of the single channel that agreement specifies, therefore be the value of mistake, should not retain this value, need with the time being currently received scanning message for starting point calculates again, namely the step again performing step 2021 to 2025 is needed, it should be noted that, this step does not send scanning response message to STA, but need to upgrade the T value in scan table.
Step 203, at AP after the trace interval Δ T obtaining STA, when receiving the scanning message of described STA transmission at every turn, the trace interval Δ T of time of reception T and STA according to the scanning message being currently received the last time response of recording in scanning time of message and described scanning list item judges whether meet default suppression response condition between three, if met, perform step 204, otherwise, perform step 205.
Preferably, in this step, described default suppression response condition is:
The time of the scanning message that the described STA be currently received sends is less than N*T0 with the difference of the time of reception T of the last scanning message responded;
Wherein, N is preset value.The number that there is overlapped channels due to 802.11g or 802.11gn radio frequency is 5, and based on this, definable N value of the present invention is 5.Certainly, N value is 5 is that a citing describes, and non-limiting the present invention, it also can get other values.
Step 204, does not respond the scanning message be currently received, and terminates Current Scan Message processing flow process.
In this step, be equivalent to abandon the scanning message be currently received, meanwhile, also need not upgrade the time of reception T of the scanning message of the last time response in scanning list item.
Step 205, responds the scanning message be currently received, and sends scanning response message to described STA, upgrades the time of reception T of the scanning message of the last time response in scanning list item corresponding to described STA simultaneously, terminates Current Scan Message processing flow process.
So far, the description of embodiment 2 is completed.
As can be seen from above embodiment 1 and embodiment 2, in the present invention, AP is only when receiving the scanning message that arbitrary STA initiates for the first time, if current existence meets the network that this STA accesses, then directly respond this scanning message, as for the scanning message that this STA of receipt of subsequent initiates, even if current existence meets the network that this STA accesses, also also non-immediate responds this scanning message, but just responding scanning message again when needing to be greater than default thresholding with the difference of the time of reception T of the last scanning message responded in the time being currently received scanning message, this is compared to prior art, obviously a large amount of scanning response messages can be reduced, thus avoid unnecessary interface-free resources waste, improve the network service quality of WLAN.
It should be noted that, in the present invention, if AP responds responding scanning message to STA, then STA also needs to return confirmation (ACK) for this responding scanning message to AP, if and AP does not receive the ACK that this STA returns after STA response responding scanning message within the scheduled time, AP does not need to continue to retransmit responding scanning message yet.
Preferably, in the present invention, for improving system redundancy ability, AP also needs when the transmission cycle time set arrives or when reaching maximum quantity L at the scanning list item of local scan table record, all scanning list items of local record are transferred to the AC for managing described AP, with all scanning list items making AC record reception in local scan table, and, AP restart or with AC there occurs reconnect time, to be transferred to the scanning list item of AC before receiving the L bar that AC sends by this AP.
Wherein, all scanning list items that AC records reception in local scan table comprise:
Step a, AC, for each the scanning list item received, check in local scan table the scanning list item whether existing and comprise MAC Address in this scanning list item, if so, perform step b, if not, perform step c;
Step b, the current update times of this MAC Address is added 1, using result of calculation again as the current update times of this MAC Address, scanning list item determination priority according to following principle is this reception: MAC Address update times is larger, the scanning list item comprising this MAC Address has more high priority, and is recorded to position corresponding with the priority that this is determined in local check table.
Step c, determines that the priority of this scanning list item is minimum, and is recorded to position corresponding with the lowest priority that this is determined in local check table.
Can be found out by step a to step c, in the present invention, the update times of MAC Address is larger, the scanning list item comprising this MAC Address just has higher priority, otherwise the update times of MAC Address is less, the scanning list item comprising this MAC Address just has lower priority.Based on this, the scanning list item that described AC is transmitted by this AP before sending L bar comprises: AC selects L bar priority the highest and scanning list item that is that transmitted by AP before from local scan table, and the scanning list item of selection is sent to AP.
Preferably, in the present invention, on AC, the scan table that different AP is corresponding different, and, each the scanning list item received is recorded to scan table by AC is placed on scan table front position principle according to the scanning list item with more high priority, and based on this, above-mentioned AC from local scan table, select L bar priority the highest and scanning list item that is that transmitted by AP before specifically can be: L bar scanning list item before AC selects from scan table corresponding to local AP.In addition, in the present invention, the scan table space that AP is corresponding on AC is certain, the scan table corresponding as a certain AP is full, then for each scanning list item that this AP of receipt of subsequent sends, above-mentioned step a can be performed to step c for the scanning list item received, only because the scan table that this AP current is corresponding is full, memory scanning list item cannot be continued again, therefore, the scanning list item of this reception is needed to replace the minimum scanning list item of scan table medium priority corresponding to this AP, the like, what can ensure to record in scan table is all the scanning list item that priority ratio is higher.
Further, in the present invention, if AC detects that AP is in non operating state within a period of time, so scan table corresponding for this AP is just deleted, with saving resource by AC.
In addition, it should be noted that, in the present invention, the scanning list item transmitted between AC and AP is carried in access point agreement (the LWAPP:Light Weight Access Point Protocol) message shown in Fig. 3.In figure 3, this LWAPP message comprises following field: message type field (Message Type), sequence-number field (Seq Num), message content length field (Msg Element Length), session identity fields (Session ID), message content field (MSG Element).Wherein, in the present invention, Message Type can adopt self-defined message type, and MSG Element carries the scanning list item of transmission.After AP or AC receives LWAPP message, response can be returned to the equipment sending this LWAPP message.Wherein, this response is also adopt the LWAPP message shown in Fig. 3, and only in LWAPP message now, Msg Element be sky.
Above method provided by the invention is described, below the implement device of wireless network scanning method provided by the invention is described.
See the structure drawing of device that Fig. 4, Fig. 4 provide for the embodiment of the present invention.In the present invention, this application of installation is in AP, and as shown in Figure 4, this device can comprise:
Scan table processing unit, for setting up and safeguarding scan table, described scan table is used for memory scanning list item, and described scanning list item is used for the trace interval Δ T of the identification information of record: STA, time of reception T, STA of the last scanning message responded;
Transmit-Receive Unit, for receiving the scanning message of STA transmission and sending scanning response message to STA under the control of the control unit;
Control unit, for when receiving the scanning message that STA sends for the first time, instruction scan list processing unit sets up the scanning list item of this STA, and instruction Transmit-Receive Unit responds scanning response message to this STA, when the scanning message that subsequently received described STA sends, whether the trace interval Δ T that judgement is currently received time of reception T and STA of the scanning message of the last time response of recording in the time and described scanning list item scanning message meets the suppression response condition preset, if met, then instruction Transmit-Receive Unit does not respond the scanning message be currently received, ELSE instruction Transmit-Receive Unit sends scanning response message to described STA, instruction scan list processing unit upgrades the time of reception T of the scanning message of the last time response in the scanning list item of described STA simultaneously,
The channel that described AP receives described scanning message is the working channel of AP, or is the arbitrary channel overlapping with the working channel of described AP.
Preferably, in the present invention, as shown in Figure 4, described device also comprises:
Trace interval acquiring unit, for obtaining the trace interval Δ T in described scanning list item for STA;
Trace interval acquiring unit, when setting up described scanning list item, obtains according to the type of STA the trace interval Δ T value corresponding with this STA type that network side presets; Or
Described trace interval Δ T is default initial value when setting up scanning list item corresponding to STA, described trace interval acquiring unit is after described Transmit-Receive Unit receives the scanning message of STA initiation again, judge whether the Δ T scanned in list item is initial value, when for initial value, calculate the difference between the T in the time of scanning message and scanning list item be currently received, if described difference is less than or equal to STA scan single channel maximum scan time threshold T0, then instruction scan list processing unit replaces the initial value of the Δ T in scanning list item by described difference, and the time of reception T upgrading the scanning message of the last time response in the scanning list item of described STA is the time of the scanning message be currently received, Transmit-Receive Unit described in instruction simultaneously responds scanning response message to described STA, if described difference is greater than T0, then instruction scan list processing unit upgrades the T in scanning list item is the time being currently received scanning message.
In addition, preferably, in the present invention, described suppression response condition is specially:
The difference being currently received the time of reception T of the scanning message that the last time in the time and described scanning list item scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
Preferably, in the present invention, for improving system redundancy ability, described scan table processing unit also can when the transmission cycle time set arrives or when reaching maximum quantity L at the scanning list item of this locality, all scanning list items of this locality are transferred to the AC for managing described AP, with all scanning list items making AC record reception in local scan table; And self ap reboot or with AC there occurs reconnect time, to be transferred to the scanning list item of AC before receiving the L bar that AC sends by self AP.
So far, the description of Fig. 4 shown device is completed.
As can be seen from the above technical solutions, in the present invention, AP is when receiving the scanning message that arbitrary STA initiates, both current existence had been made to meet the network of this STA access, if be currently received the time of the scanning message that described STA initiates, the suppression response condition preset is met between the time of reception T of the scanning message of the last time response of the scanning list item record of this STA and trace interval Δ T three, then AP also abandons the scanning message of reception, namely this scanning message is no longer responded, this is compared to prior art, obviously unnecessary interface-free resources waste can be avoided, improve the network service quality of WLAN.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (9)

1. a wireless network scanning method, is characterized in that, the method comprises:
Wireless access point AP, when receiving the scanning message that client STA sends for the first time, sets up the scanning list item of this STA, responds scanning response message to this STA; Described scanning list item is used for the trace interval Δ T of the identification information of record: STA, time of reception T, STA of the last scanning message responded;
During the scanning message that the subsequently received described STA of AP sends, whether the trace interval Δ T that judgement is currently received time of reception T and STA of the scanning message of the last time response of recording in the time and described scanning list item scanning message meets the suppression response condition preset, if met, then the scanning message be currently received is not responded, otherwise send scanning response message to described STA, upgrade the time of reception T of the scanning message of the last time response in the scanning list item of described STA simultaneously;
The channel that described AP receives described scanning message is the working channel of AP, or is the arbitrary channel overlapping with the working channel of described AP;
AP is when the transmission cycle time set arrives or when reaching maximum quantity L at the scanning list item of this locality, all scanning list items of this locality are transferred to the Radio Access Controller AC for managing described AP, in local scan table, all scanning list items of reception are recorded according to following steps: for each the scanning list item received to impel AC, check in local scan table the scanning list item whether existing and comprise MAC Address in this scanning list item, if, the current update times of this MAC Address is added 1, using result of calculation again as the current update times of this MAC Address, be this scanning list item determination priority according to following principle: MAC Address update times is larger, the scanning list item comprising this MAC Address has more high priority, and be recorded to position corresponding with the priority that this is determined in local check table, if not, determine that the priority of this scanning list item is minimum, and be recorded to position corresponding with this lowest priority in local check table,
AP restart or with AC there occurs reconnect time, to be transferred to the scanning list item of AC before receiving the L bar that AC sends by this AP.
2. method according to claim 1, is characterized in that,
Described trace interval Δ T is the value that network side is preset, and described AP is when setting up described scanning list item, and the type according to STA obtains the trace interval Δ T value corresponding with this STA type.
3. method according to claim 1, is characterized in that, the method obtaining described trace interval Δ T is specially:
When setting up scanning list item corresponding to STA, described Δ T is default initial value;
When AP again receive scanning message after, if scanning list item in Δ T be initial value, then calculate the scanning message be currently received time and scanning list item in T between difference;
If described difference is less than or equal to STA scan single channel maximum scan time threshold T0, the initial value of the Δ T in scanning list item is then replaced by described difference, respond scanning response message, and the T upgraded in scanning list item is the time of the scanning message be currently received;
If described difference is greater than T0, then the T upgraded in scanning list item is the time being currently received scanning message.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that, described suppression response condition is specially:
The difference being currently received the time of reception T of the scanning message that the last time in the time and described scanning list item scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
5. method according to claim 1, is characterized in that, the scanning list item that described AC is transmitted by this AP before sending L bar comprises:
AC selects L bar priority the highest and scanning list item that is that transmitted by AP before from local scan table, and the scanning list item of selection is sent to AP.
6. method according to claim 1, is characterized in that, the scanning message that described STA initiates is specially Probe Request scan request frame, and described AP is specially Probe Response to the scanning response message that STA responds and scans response frame.
7. an implement device for wireless network scanning method, this application of installation, in wireless access point AP, is characterized in that, this device comprises:
Scan table processing unit, for setting up and safeguarding scan table, described scan table is used for memory scanning list item, and described scanning list item is used for the trace interval Δ T of the identification information of record: STA, time of reception T, STA of the last scanning message responded, and, for when the transmission cycle time set arrives or when reaching maximum quantity L at the scanning list item of this locality, all scanning list items of this locality are transferred to the Radio Access Controller AC for managing described AP, in local scan table, all scanning list items of reception are recorded according to following steps: for each the scanning list item received to impel AC, check in local scan table the scanning list item whether existing and comprise MAC Address in this scanning list item, if, the current update times of this MAC Address is added 1, using result of calculation again as the current update times of this MAC Address, be this scanning list item determination priority according to following principle: MAC Address update times is larger, the scanning list item comprising this MAC Address has more high priority, and be recorded to position corresponding with the priority that this is determined in local check table, if not, determine that the priority of this scanning list item is minimum, and be recorded to position corresponding with this lowest priority in local check table,
And, scan table processing unit self ap reboot or with AC there occurs reconnect time, to be transferred to the scanning list item of AC before receiving the L bar that AC sends by self AP;
Transmit-Receive Unit, for receiving the scanning message of STA transmission and sending scanning response message to STA under the control of the control unit;
Control unit, for when receiving the scanning message that STA sends for the first time, instruction scan list processing unit sets up the scanning list item of this STA, and instruction Transmit-Receive Unit responds scanning response message to this STA, when the scanning message that subsequently received described STA sends, whether the trace interval Δ T that judgement is currently received time of reception T and STA of the scanning message of the last time response of recording in the time and described scanning list item scanning message meets the suppression response condition preset, if met, then instruction Transmit-Receive Unit does not respond the scanning message be currently received, ELSE instruction Transmit-Receive Unit sends scanning response message to described STA, instruction scan list processing unit upgrades the time of reception T of the scanning message of the last time response in the scanning list item of described STA simultaneously,
The channel that described AP receives described scanning message is the working channel of AP, or is the arbitrary channel overlapping with the working channel of described AP.
8. device according to claim 7, is characterized in that, described device also comprises:
Trace interval acquiring unit, for obtaining the trace interval Δ T in described scanning list item for STA;
Described trace interval acquiring unit, when setting up described scanning list item, obtains according to the type of STA the trace interval Δ T value corresponding with this STA type that network side presets; Or
Described trace interval Δ T is default initial value when setting up scanning list item corresponding to STA, described trace interval acquiring unit is after described Transmit-Receive Unit receives the scanning message of STA initiation again, judge whether the Δ T scanned in list item is initial value, when for initial value, calculate the difference between the T in the time of scanning message and scanning list item be currently received, if described difference is less than or equal to STA scan single channel maximum scan time threshold T0, then instruction scan list processing unit replaces the initial value of the Δ T in scanning list item by described difference, and the time of reception T upgrading the scanning message of the last time response in the scanning list item of described STA is the time of the scanning message be currently received, Transmit-Receive Unit described in instruction simultaneously responds scanning response message to described STA, if described difference is greater than T0, then instruction scan list processing unit upgrades the T in scanning list item is the time being currently received scanning message.
9. the device according to claim 7 or 8, is characterized in that, described suppression response condition is specially:
The difference being currently received the time of reception T of the scanning message that the last time in the time and described scanning list item scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
CN201210274364.XA 2012-08-03 2012-08-03 Method for scanning wireless network, and device for realizing thereof Active CN102802236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210274364.XA CN102802236B (en) 2012-08-03 2012-08-03 Method for scanning wireless network, and device for realizing thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210274364.XA CN102802236B (en) 2012-08-03 2012-08-03 Method for scanning wireless network, and device for realizing thereof

Publications (2)

Publication Number Publication Date
CN102802236A CN102802236A (en) 2012-11-28
CN102802236B true CN102802236B (en) 2015-06-17

Family

ID=47201175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210274364.XA Active CN102802236B (en) 2012-08-03 2012-08-03 Method for scanning wireless network, and device for realizing thereof

Country Status (1)

Country Link
CN (1) CN102802236B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714258B (en) * 2016-12-20 2020-05-26 浙江大华技术股份有限公司 Channel switching method and device
CN109067764B (en) * 2018-08-29 2020-09-04 新华三技术有限公司 Method and device for establishing equipment table entry

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1823501A (en) * 2003-07-15 2006-08-23 皇家飞利浦电子股份有限公司 Method to achieve fast active scan in 802.11 WLAN
CN1909552A (en) * 2006-08-15 2007-02-07 华为技术有限公司 Information calling method and system
CN101388841A (en) * 2008-10-30 2009-03-18 杭州华三通信技术有限公司 Probing response frame sending method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1823501A (en) * 2003-07-15 2006-08-23 皇家飞利浦电子股份有限公司 Method to achieve fast active scan in 802.11 WLAN
CN1909552A (en) * 2006-08-15 2007-02-07 华为技术有限公司 Information calling method and system
CN101388841A (en) * 2008-10-30 2009-03-18 杭州华三通信技术有限公司 Probing response frame sending method and apparatus

Also Published As

Publication number Publication date
CN102802236A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN110831112B (en) Network connection method, intelligent household equipment, intelligent gateway and electronic equipment
CN101610593B (en) Access point, access controller and method for access point to select access controller
US9369538B2 (en) Roaming queries prior to association/authentication
US8917642B2 (en) Station, station control method, and station control program
US8412199B2 (en) Method and apparatus decreasing handover latency in heterogeneous networks
US20210143896A1 (en) Method and apparatus of communication between terminal and base station, and network access method and apparatus of a terminal
EP2445248A1 (en) Method and device for reporting or acquiring neighbor information
KR20120025114A (en) Apparatus and method for determining validity of wifi connection in wireless communication system
EP1901571A1 (en) A method for finding network service provider and the apparatus
CN108200592B (en) Wireless roaming method and roaming AP
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
CN109168171B (en) Configuration information acquisition method, device, equipment and system
WO2014183088A1 (en) Ip address renewing for a wireless communications device roaming from a source ap to a target ap
CN111510922B (en) Wireless network access control method, device and system
CN112469055A (en) Equipment network distribution method, related equipment and storage medium
CN111083702A (en) ZigBee equipment management method and device for smart home
US8126998B2 (en) Information processing apparatus and method of controlling thereof
CN102802236B (en) Method for scanning wireless network, and device for realizing thereof
CN114339789B (en) AP distribution network processing method and device
CN112566104B (en) Roaming coordination method based on Mesh network, wireless access point and storage medium
CN112448845B (en) Internet of things network distribution method based on IGRS standard, intelligent terminal and storage medium
CN112543477B (en) Method, device, terminal and storage medium for sending measurement report
EP3618359B1 (en) Method and device for signaling transmission
CN112433480A (en) Intelligent household system and control method and device thereof
CN110753921A (en) Query request processing method and device, computer equipment and storage medium

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address