CN102802236A - 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
CN102802236A
CN102802236A CN201210274364XA CN201210274364A CN102802236A CN 102802236 A CN102802236 A CN 102802236A CN 201210274364X A CN201210274364X A CN 201210274364XA CN 201210274364 A CN201210274364 A CN 201210274364A CN 102802236 A CN102802236 A CN 102802236A
Authority
CN
China
Prior art keywords
scanning
sta
message
list item
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.)
Granted
Application number
CN201210274364XA
Other languages
Chinese (zh)
Other versions
CN102802236B (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

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

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 scan method and implement device thereof
Technical field
The application relates to the network communications technology, particularly wireless network scan method and implement device thereof.
Background technology
In WLAN (WLAN:Wireless Local Area Network); Client (STA:Station) needs the timing scan network; To confirm the network condition of the WAP (AP:Access Point) that oneself inserts, perhaps seek better AP and insert.
According to the regulation of 802.11-2007 agreement, AP receives after the scanning of any STA, if there is the network that meets this STA access conditions, should give and response.
So; In wlan network; The scanning of each STA and each AP can occupy a large amount of interface-free resources to the response of each STA scanning when confirming to have the network that meets each STA access conditions; Particularly in non-overlapped channel 802.11g radio frequency network seldom, the situation of this waste interface-free resources is serious especially, influences the network service quality of WLAN.
Summary of the invention
The application provides wireless network scan 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 scan method comprises:
Wireless access point AP is set up the scanning list item of this STA when receiving the scanning message of client STA transmission for the first time, respond the scanning response message to this STA; Said scanning list item is used for record: the time of reception T of the scanning message of the identification information of STA, the last response, the trace interval Δ T of STA;
AP is follow-up when receiving the scanning message that said STA sends; Judge whether the time of reception T of the current scanning message that receives the last time response of writing down in time and the said scanning list item of scanning message and the trace interval Δ T of STA satisfy the inhibition response condition of presetting; If satisfy; Then the current scanning message that receives is not responded; Otherwise send the scanning response message to said STA, upgrade the time of reception T of the scanning message of the last time response in the scanning list item of said STA simultaneously;
The channel that said AP receives said scanning message is the working channel of AP, perhaps is the arbitrary channel overlapping with the working channel of said AP.
Preferably, among the present invention, said trace interval Δ T is the preset value of network side, and said AP obtains the trace interval Δ T value corresponding with this STA type according to the type of STA when setting up said scanning list item.
Preferably, among the present invention, the method for obtaining said trace interval Δ T is specially:
When setting up the scanning list item of STA correspondence, said Δ T is preset initial value;
After AP receives the scanning message once more, if the Δ T of scanning in the list item is initial value, the time of then calculating the current scanning message that receives with scan T in the list item between difference;
If said difference is less than or equal to STA scanning single channel maximum scan time threshold T0; Then scan the initial value of the Δ T in the list item with said difference replacement; Respond the scanning response message, and the T that upgrades in the scanning list item is the time of the current scanning message that receives;
If the T that said difference greater than T0, is then upgraded in the scanning list item is the current time that receives the scanning message.
Preferably, among the present invention, described inhibition response condition is specially:
The difference of the time of reception T of the scanning message that current time and the last time in the said scanning list item that receives the scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
Among the present invention, this method further comprises:
When the scanning list item of AP when the transmission cycle time of setting arrives or in this locality reaches maximum quantity L; All scanning list items of this locality are transferred to the Radio Access Controller AC that is used to manage said AP, so that all scanning list items of AC recorder in local scan table;
AP receives before the L bar that AC sends the scanning list item that is transferred to AC by this AP when restarting or having taken place to be connected again with AC.
Among the present invention; AC writes down all scanning list items that receive and comprises in local scan table: AC checks whether there is the scanning list item that comprises MAC Address in this scanning list item in the local scan table to each the scanning list item that receives, if; The current update times of this MAC Address is added 1; Again as the current update times of this MAC Address, confirm priority according to following principle for this scanning list item: the MAC Address update times is big more with result of calculation, and the scanning list item that comprises this MAC Address has high priority more; And be recorded in the local check table and the corresponding position of priority that should confirm; If not, confirm that the priority of this scanning list item is minimum, and be recorded to position corresponding in the local check table with this lowest priority;
Based on this, said AC sends the scanning list item that is transmitted by this AP before the L bar and comprises:
AC selects the highest and scanning list item that transmitted by AP before of L bar priority from local scan table, and the scanning list item that will select is sent to AP.
Preferably, among the present invention, the scanning message that said STA initiates is specially Probe Request scan request frame, and the scanning response message that said AP responds to STA is specially Probe Response scanning response frame.
The invention also discloses a kind of implement device of wireless network scan method, this device is applied in the wireless access point AP, and this device comprises:
The scan table processing unit is used for setting up and safeguarding scan table, and said scan table is used for the memory scanning list item, and said scanning list item is used for record: the time of reception T of the scanning message of the identification information of STA, the last response, the trace interval Δ T of STA;
Transmit-Receive Unit is used to receive the scanning message of STA transmission and under the control of control unit, sends the scanning response message to STA;
Control unit is used for when receiving the scanning message of STA transmission for the first time, and the scanning list item of this STA is set up in instruction scan list processing unit, and the indication Transmit-Receive Unit is responded the scanning response message to this STA; Follow-up when receiving the scanning message that said STA sends; Judge whether the time of reception T of the current scanning message that receives the last time response of writing down in time and the said scanning list item of scanning message and the trace interval Δ T of STA satisfy the inhibition response condition of presetting; If satisfy; Then instruct Transmit-Receive Unit the current scanning message that receives not to be responded; The ELSE instruction Transmit-Receive Unit sends the scanning response message to said STA, and 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 said STA simultaneously;
The channel that said AP receives said scanning message is the working channel of AP, perhaps is the arbitrary channel overlapping with the working channel of said AP.
Preferably, among the present invention, said device also comprises:
The trace interval acquiring unit is used to STA and obtains the trace interval Δ T in the said scanning list item;
The trace interval acquiring unit obtains the preset trace interval Δ T value corresponding with this STA type of network side according to the type of STA when setting up said scanning list item; Or
Said trace interval Δ T is preset initial value when setting up the scanning list item of STA correspondence; After said trace interval acquiring unit receives the scanning message of STA initiation once more at said Transmit-Receive Unit; Judge whether the Δ T in the scanning list item is initial value; When being initial value; Calculate the current scanning message that receives time and the T of scanning in the list item between difference; If said difference is less than or equal to STA scanning single channel maximum scan time threshold T0; Then instruction scan list processing unit is with the initial value of the Δ T in the said difference replacement scanning list item, and the time of reception T that upgrades the scanning message of the last time response in the scanning list item of said STA is the time of the current scanning message that receives, and instructs said Transmit-Receive Unit to respond the scanning response message to said STA simultaneously; If said difference is greater than T0, then the T in the instruction scan list processing unit renewal scanning list item is the current time that receives the scanning message.
Among the present invention, described inhibition response condition is specially:
The difference of the time of reception T of the scanning message that current time and the last time in the said scanning list item that receives the scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
Among the present invention; Said scan table processing unit is further when the transmission cycle time of setting arrives or the scanning list item in this locality when reaching maximum quantity L; All scanning list items of this locality are transferred to the Radio Access Controller AC that is used to manage said AP, so that all scanning list items of AC recorder in local scan table; And when having taken place to be connected again, receive before the L bar that AC sends the scanning list item that transfers to AC by self AP at self ap reboot or with AC.
Can find out by above technical scheme; Among the present invention, AP had both made current existence meet the network that this STA inserts when receiving the scanning message of arbitrary STA initiation; If satisfy the inhibition response condition of presetting between the time of reception T of the scanning message of the last time response of the scanning list item record of the current time that receives the scanning message that said STA initiates, this STA and the trace interval Δ T three; Then AP also abandons the scanning message of reception, and promptly no longer response should scan message, and this is than prior art; Obviously can avoid unnecessary interface-free resources waste, improve the network service quality of WLAN.
Description of drawings
The method flow diagram that Fig. 1 provides for the embodiment of the invention 1;
The method flow diagram that Fig. 2 provides for the embodiment of the invention 2;
The LWAPP message format sketch map that Fig. 3 provides for the embodiment of the invention;
The structure drawing of device that Fig. 4 provides for the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, describe the present invention below in conjunction with accompanying drawing and specific embodiment.
The invention provides the wireless network scan method, in the method, all respond when avoiding AP to receive the scanning message of STA at every turn,, save interface-free resources, improve the service quality of wlan network through reducing response times.Through two embodiment method provided by the invention is described below:
Embodiment 1
Referring to Fig. 1, the method flow diagram that Fig. 1 provides for the embodiment of the invention 1.Because the 802.11a radio frequency all is non-overlapped channel, and has overlapping channel in 802.11g or the 802.11gn radio frequency, for more clearly 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 be adopted the framework that Radio Access Controller (AC:Access Controller) combines with thin (Fit) AP.
So, based on the networking structure that combines with Fit AP to AC, then as shown in Figure 1, this flow process can may further comprise the steps:
Step 101, AP sets up the scanning list item corresponding with this STA when receiving the scanning message of STA initiation for the first time, respond the scanning response message to this STA; Said scanning list item comprises: the time of reception T of the scanning message of the identification information of STA, the last response and the trace interval Δ T of STA;
Among the present invention,, need set up scan table, initiate the scanning list item of the STA of scanning by this scan table record to this AP in AP this locality for the ease of the corresponding scanning list item of unified management STA.Wherein, if AP receives the scanning message that STA initiates for the first time, then, AP exists when meeting the network that said STA inserts determining, and in scan table, sets up the corresponding scanning list item of this STA.
Among the present invention, the receive channel of said scanning message is the working channel of AP, perhaps is the arbitrary channel overlapping with the working channel of AP.Among the present invention; The working channel of AP can manually be provided with by the user, wherein, and when manually working channel being set; Need to guarantee that this working channel can not be last channel in the overlapping channel; 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; Among the present invention; The working channel of AP also can be searched for by AP automatically, need not manual setting, because the AP acquiescence can not be operated in last channel in the overlapping channel; The AP working channel of search automatically can only be non-overlapped channel, such as 1,6,11 channels in the networking of 802.11g or 802.11gn radio frequency.When AP was in running order, AP can receive the scanning message that STA initiates through the channel of its support, and wherein, the channel that AP supports not is the working channel that refers in particular to AP, and it can be the channel outside the working channel.
Among the present invention, the identification information of the STA in the said STA scanning list item can be the MAC Address of STA or temporary mark with uniqueness;
Among the present invention, the time of reception T of the scanning message of said the last response refers to the time of reception of the last pairing scanning message of scanning response message that sends of AP;
Among the present invention, the trace interval Δ T of said STA is used to indicate this STA to the time cycle that AP initiates scanning, and this value can be a preset Configuration Values or the value of passing through the time of reception estimation of twice scanning in front and back message.
In this embodiment, said trace interval Δ T is a pre-configured fixed value of network side, for example, and can should value according to the minimum value setting in cycle sweep time of all STA.
Preferably; In another instantiation; Can set up a STA type and the mapping table in cycle sweep time at AP or AC; Being each type STA and setting the minimum value in cycle sweep time, is STA obtains such STA when setting up the scanning list item from mapping table according to the type of STA trace interval Δ T at AP; Can classify to STA according to information such as the chip producer of STA, models in the preferred embodiment of the present invention.
Among the present invention, the scanning message that STA initiates can be scan request (ProbeRequest) frame when specifically realizing, the scanning response message that AP responds to STA can be scanning response (Probe Response) frame when specifically realizing.
Step 102; In that AP is follow-up when receiving the scanning message that said STA sends at every turn; Judge whether satisfy preset inhibition response condition between the three according to the time of reception T of the current scanning message that receives the last time response of writing down in time and the said scanning list item of scanning message and the trace interval Δ T of STA, if satisfied, execution in step 103; Otherwise, execution in step 104.
Preferably, in this step, said preset inhibition response condition is:
The difference of the time of reception T of the time of the scanning message that the current said STA that receives sends and the scanning message of the last response is less than N*T0;
Wherein, N is a preset value.Because it is 5 that there are the number of overlapping channel in 802.11g or 802.11gn radio frequency, based on this, definable N value of the present invention is 5.Certainly, the N value is 5 just descriptions for example, and non-limiting the present invention, and it also can get other values.
Step 103 does not respond the current scanning message that receives, and finishes current scanning message handling process.
In this step, be equivalent to abandon the current scanning message that receives, simultaneously, also need not upgrade the time of reception T of the scanning message of the last time response in the scanning list item.
Step 104 responds the current scanning message that receives, and sends the scanning response message to said STA, upgrades the time T of the last responding scanning message in the corresponding scanning list item of said STA simultaneously, finishes current scanning message handling process.
So far, accomplish the description of embodiment 1.Describe in the face of embodiment 2 down:
Embodiment 2
The mode of trace interval Δ T that present embodiment and the difference of embodiment 1 are to obtain STA is different, specifically as shown in Figure 2:
Referring to Fig. 2, the method flow diagram that Fig. 2 provides for the embodiment of the invention 2.As shown in Figure 2, this flow process can may further comprise the steps:
Step 201, AP sets up the scanning list item corresponding with this STA when receiving the scanning message of STA initiation for the first time, respond the scanning response message to this STA; Said scanning list item comprises: the trace interval Δ T of the time T of the identification information of STA, the last responding scanning message and STA;
Among this embodiment, said trace interval Δ T is preset initial value under initial situation, and for example null value NULL representes also not get access to 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 is calculated the trace interval Δ T that obtains this STA;
Among this embodiment, among the present invention, the time interval of the scanning message that receives for twice through front and back is estimated cycle sweep time of STA.
In this step, concrete calculation procedure is following:
Step 2021, after AP receives the scanning message once more, judge whether the trace interval Δ T in the scanning list item is initial value, if execution in step 2022 then, otherwise execution in step 203;
Here, if current trace interval Δ T is not an initial value in the scanning list item, then expression has calculated the trace interval Δ T of this STA;
Step 2022, calculate the poor of the two according to the time of reception T of the scanning message of the last time response of writing down in time of the current scanning message that receives, the scanning list item; Execution in step 2023 afterwards.
Whether the difference of the time of reception T of the scanning message of the last time response of writing down in step 2023, the time of judging the current scanning message that receives and the scanning list item is less than or equal to Preset Time thresholding T0; If; Then execution in step 2024, otherwise execution in step 2025;
Among the present invention, the T0 that STA is corresponding is the maximum scan time of STA scanning single channel, is specially the Max_Probe_Response_Time in 802.11 agreements, the corresponding different preset time threshold of different STA.
The difference of the time of reception T of the scanning message of the last time response of writing down in the time of step 2024, the current scanning message that receives that will calculate and the scanning list item is updated in the scanning list item of this STA as the trace interval Δ T of said STA; Respond the scanning response message, and the time of reception T of the scanning message of the last time response in the renewal scanning list item is the time of the current scanning message that receives.Execution in step 203 then;
Step 2025, the current scanning message that receives is not responded, the time of reception T that upgrades the scanning message of the last response in the scanning list item simultaneously is the current time that receives the scanning message;
Among this embodiment; The difference of the time of reception T of the scanning message of the last time response that the time of the current scanning message that receives and scanning are write down in the list item is greater than Preset Time thresholding T0, and the time that receives the scanning message before and after causing for twice owing to the network reason of expressing possibility has surpassed the maximum scan time of the single channel of agreement regulation, therefore is wrong value; Should not keep this value; Need be that starting point is calculated once more with the current time that receives the scanning message, promptly need the step of execution in step 2021 to 2025 once more, it should be noted that; This step is not sent the scanning response message to STA, but needs to upgrade the T value in the scan table.
Step 203; After obtaining the trace interval Δ T of STA, when receiving the scanning message that said STA sends, judge whether satisfy the inhibition response condition of presetting between the three at AP according to the time of reception T of the scanning message of the last time response of writing down in current time that receives the scanning message and the said scanning list item and the trace interval Δ T of STA at every turn; If satisfy; Execution in step 204, otherwise, execution in step 205.
Preferably, in this step, said preset inhibition response condition is:
The difference of the time of reception T of the time of the scanning message that the current said STA that receives sends and the scanning message of the last response is less than N*T0;
Wherein, N is a preset value.Because it is 5 that there are the number of overlapping channel in 802.11g or 802.11gn radio frequency, based on this, definable N value of the present invention is 5.Certainly, the N value is 5 just descriptions for example, and non-limiting the present invention, and it also can get other values.
Step 204 does not respond the current scanning message that receives, and finishes current scanning message handling process.
In this step, be equivalent to abandon the current scanning message that receives, simultaneously, also need not upgrade the time of reception T of the scanning message of the last time response in the scanning list item.
Step 205 responds the current scanning message that receives, and sends the scanning response message to said STA, upgrades the time of reception T of the scanning message of the last time response in the corresponding scanning list item of said STA simultaneously, finishes current scanning message handling process.
So far, accomplish the description of embodiment 2.
Can find out with embodiment 2 that from above embodiment 1 among the present invention, AP is only when receiving the scanning message of arbitrary STA initiation for the first time; If current existence meets the network that this STA inserts; Then directly response should the scanning message, and the scanning message of initiating as for this STA of follow-up reception is even current existence meets the network that this STA inserts; It is not this scanning message of direct response yet; But need be at the difference of the current time that receives the scanning message and the time of reception T of the scanning message of the last response responding scanning message once more just during greater than preset thresholding, this obviously can reduce a large amount of scanning response messages than prior art; Thereby avoid unnecessary interface-free resources waste, improve the network service quality of WLAN.
Need to prove; Among the present invention; If AP responds the responding scanning message to STA; Then STA also need return affirmations (ACK) to AP to this responding scanning message, and if AP receives the ACK that this STA returns within not having at the fixed time behind the STA response responding scanning message, AP need not continue to retransmit the responding scanning message yet.
Preferably, among the present invention, for improving the system redundancy ability; AP also need be when the transmission cycle time of setting arrives or when the scanning list item of local scan table record reaches maximum quantity L; All scanning list items of local record are transferred to the AC that is used to manage said AP, so that all scanning list items of AC recorder in local scan table, and; AP receives before the L bar that AC sends the scanning list item that is transferred to AC by this AP when restarting or having taken place to be connected again with AC.
Wherein, AC all scanning list items of recorder in local scan table comprise:
Step a, AC checks whether there is the scanning list item that comprises MAC Address in this scanning list item in the local scan table to each the scanning list item that receives, if, execution in step b, if not, execution in step c;
Step b; The current update times of this MAC Address is added 1; With result of calculation again as the current update times of this MAC Address; Confirm priority according to following principle for the scanning list item of this reception: the MAC Address update times is big more, and the scanning list item that comprises this MAC Address has high priority more, and be recorded in the local check table with should definite corresponding position of priority.
Step c confirms that the priority of this scanning list item is minimum, and is recorded in the local check table and the corresponding position of lowest priority that should confirm.
Can find out that among the present invention, the update times of MAC Address is big more through step a to step c; The scanning list item that comprises this MAC Address just has high more priority; Otherwise the update times of MAC Address is more little, and the scanning list item that comprises this MAC Address just has low more priority.Based on this, said AC sends the scanning list item that is transmitted by this AP before the L bar and comprises: AC selects the highest and scanning list item that transmitted by AP before of L bar priority from local scan table, and the scanning list item that will select is sent to AP.
Preferably; Among the present invention, on AC, the scan table that different AP is corresponding different; And; AC is recorded to scan table according to having each scanning list item that principle that the scanning list item of high priority more is placed on the scan table front position will receive, and based on this, above-mentioned AC selects the highest and scanning list item that transmitted by AP before of L bar priority specifically to can be from local scan table: AC selects preceding L bar to scan list item from the corresponding scan table of local AP.In addition, among 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, and each the scanning list item that then sends to this AP of follow-up reception can be carried out above-mentioned step a to step c to the scanning list item that receives; Only because the scan table of current this AP correspondence is full; Can't continue the memory scanning list item again, therefore, the scanning list item that needs to receive replaces the corresponding minimum scanning list item of scan table medium priority of this AP; And the like, what can guarantee to write down in the scan table all is the higher scanning list item of priority ratio.
Also have, among the present invention, within a period of time, all be in non operating state if AC detects AP, the scan table deletion that AC is just corresponding with this AP so is to save resource.
In addition, need to prove that among the present invention, the scanning list item that transmits between AC and the AP is carried in access point agreement shown in Figure 3 (the LWAPP:Light Weight Access Point Protocol) message.In Fig. 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 the self-defined message type, and MSG Element carries the scanning list item of transmission.After AP or AC receive LWAPP message, can return response to the equipment that sends this LWAPP message.Wherein, this response also is to adopt LWAPP message shown in Figure 3, and only Msg Element is empty in the LWAPP message of this moment.
More than method provided by the invention is described, describe down in the face of the implement device of wireless network scan method provided by the invention.
Referring to Fig. 4, the structure drawing of device that Fig. 4 provides for the embodiment of the invention.Among the present invention, this device is applied among the AP, and is as shown in Figure 4, and this device can comprise:
The scan table processing unit is used for setting up and safeguarding scan table, and said scan table is used for the memory scanning list item, and said scanning list item is used for record: the time of reception T of the scanning message of the identification information of STA, the last response, the trace interval Δ T of STA;
Transmit-Receive Unit is used to receive the scanning message of STA transmission and under the control of control unit, sends the scanning response message to STA;
Control unit is used for when receiving the scanning message of STA transmission for the first time, and the scanning list item of this STA is set up in instruction scan list processing unit, and the indication Transmit-Receive Unit is responded the scanning response message to this STA; Follow-up when receiving the scanning message that said STA sends; Judge whether the time of reception T of the current scanning message that receives the last time response of writing down in time and the said scanning list item of scanning message and the trace interval Δ T of STA satisfy the inhibition response condition of presetting; If satisfy; Then instruct Transmit-Receive Unit the current scanning message that receives not to be responded; The ELSE instruction Transmit-Receive Unit sends the scanning response message to said STA, and 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 said STA simultaneously;
The channel that said AP receives said scanning message is the working channel of AP, perhaps is the arbitrary channel overlapping with the working channel of said AP.
Preferably, as shown in Figure 4 among the present invention, said device also comprises:
The trace interval acquiring unit is used to STA and obtains the trace interval Δ T in the said scanning list item;
The trace interval acquiring unit obtains the preset trace interval Δ T value corresponding with this STA type of network side according to the type of STA when setting up said scanning list item; Or
Said trace interval Δ T is preset initial value when setting up the scanning list item of STA correspondence; After said trace interval acquiring unit receives the scanning message of STA initiation once more at said Transmit-Receive Unit; Judge whether the Δ T in the scanning list item is initial value; When being initial value; Calculate the current scanning message that receives time and the T of scanning in the list item between difference; If said difference is less than or equal to STA scanning single channel maximum scan time threshold T0; Then instruction scan list processing unit is with the initial value of the Δ T in the said difference replacement scanning list item, and the time of reception T that upgrades the scanning message of the last time response in the scanning list item of said STA is the time of the current scanning message that receives, and instructs said Transmit-Receive Unit to respond the scanning response message to said STA simultaneously; If said difference is greater than T0, then the T in the instruction scan list processing unit renewal scanning list item is the current time that receives the scanning message.
In addition, preferably, among the present invention, described inhibition response condition is specially:
The difference of the time of reception T of the scanning message that current time and the last time in the said scanning list item that receives the scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
Preferably; Among the present invention; For improving the system redundancy ability; Said scan table processing unit also can be when the transmission cycle time of setting arrives or the scanning list item in this locality when reaching maximum quantity L, all scanning list items of this locality is transferred to the AC that is used to manage said AP, so that all scanning list items of AC recorder in local scan table; And when having taken place to be connected again, receive before the L bar that AC sends the scanning list item that transfers to AC by self AP at self ap reboot or with AC.
So far, accomplish the description of device shown in Figure 4.
Can find out by above technical scheme; Among the present invention, AP had both made current existence meet the network that this STA inserts when receiving the scanning message of arbitrary STA initiation; If satisfy the inhibition response condition of presetting between the time of reception T of the scanning message of the last time response of the scanning list item record of the current time that receives the scanning message that said STA initiates, this STA and the trace interval Δ T three; Then AP also abandons the scanning message of reception, and promptly no longer response should scan message, and this is than prior art; Obviously can avoid unnecessary interface-free resources waste, improve the network service quality of WLAN.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (11)

1. a wireless network scan method is characterized in that, this method comprises:
Wireless access point AP is set up the scanning list item of this STA when receiving the scanning message of client STA transmission for the first time, respond the scanning response message to this STA; Said scanning list item is used for record: the time of reception T of the scanning message of the identification information of STA, the last response, the trace interval Δ T of STA;
AP is follow-up when receiving the scanning message that said STA sends; Judge whether the time of reception T of the current scanning message that receives the last time response of writing down in time and the said scanning list item of scanning message and the trace interval Δ T of STA satisfy the inhibition response condition of presetting; If satisfy; Then the current scanning message that receives is not responded; Otherwise send the scanning response message to said STA, upgrade the time of reception T of the scanning message of the last time response in the scanning list item of said STA simultaneously;
The channel that said AP receives said scanning message is the working channel of AP, perhaps is the arbitrary channel overlapping with the working channel of said AP.
2. method according to claim 1 is characterized in that,
Said trace interval Δ T is the preset value of network side, and said AP obtains the trace interval Δ T value corresponding with this STA type according to the type of STA when setting up said scanning list item.
3. method according to claim 1 is characterized in that, the method for obtaining said trace interval Δ T is specially:
When setting up the scanning list item of STA correspondence, said Δ T is preset initial value;
After AP receives the scanning message once more, if the Δ T of scanning in the list item is initial value, the time of then calculating the current scanning message that receives with scan T in the list item between difference;
If said difference is less than or equal to STA scanning single channel maximum scan time threshold T0; Then scan the initial value of the Δ T in the list item with said difference replacement; Respond the scanning response message, and the T that upgrades in the scanning list item is the time of the current scanning message that receives;
If the T that said difference greater than T0, is then upgraded in the scanning list item is the current time that receives the scanning message.
4. according to the arbitrary described method of claim 1 to 3, it is characterized in that described inhibition response condition is specially:
The difference of the time of reception T of the scanning message that current time and the last time in the said scanning list item that receives the 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, this method further comprises:
When the scanning list item of AP when the transmission cycle time of setting arrives or in this locality reaches maximum quantity L; All scanning list items of this locality are transferred to the Radio Access Controller AC that is used to manage said AP, so that all scanning list items of AC recorder in local scan table;
AP receives before the L bar that AC sends the scanning list item that is transferred to AC by this AP when restarting or having taken place to be connected again with AC.
6. based on the described method of claim 5, it is characterized in that AC writes down all scanning list items that receive and comprises in local scan table: AC is to each the scanning list item that receives; Check and whether have the scanning list item that comprises MAC Address in this scanning list item in the local scan table; If, the current update times of this MAC Address is added 1, with result of calculation again as the current update times of this MAC Address; Confirm priority according to following principle for this scanning list item: the MAC Address update times is big more; The scanning list item that comprises this MAC Address has high priority more, and is recorded in the local check table and the corresponding position of priority that should confirm, if deny; The priority of confirming this scanning list item is minimum, and is recorded to position corresponding with this lowest priority in the local check table;
Said AC sends the scanning list item that is transmitted by this AP before the L bar and comprises:
AC selects the highest and scanning list item that transmitted by AP before of L bar priority from local scan table, and the scanning list item that will select is sent to AP.
7. method according to claim 1 is characterized in that, the scanning message that said STA initiates is specially Probe Request scan request frame, and the scanning response message that said AP responds to STA is specially Probe Response scanning response frame.
8. the implement device of a wireless network scan method, this device is applied to it is characterized in that in the wireless access point AP that this device comprises:
The scan table processing unit is used for setting up and safeguarding scan table, and said scan table is used for the memory scanning list item, and said scanning list item is used for record: the time of reception T of the scanning message of the identification information of STA, the last response, the trace interval Δ T of STA;
Transmit-Receive Unit is used to receive the scanning message of STA transmission and under the control of control unit, sends the scanning response message to STA;
Control unit is used for when receiving the scanning message of STA transmission for the first time, and the scanning list item of this STA is set up in instruction scan list processing unit, and the indication Transmit-Receive Unit is responded the scanning response message to this STA; Follow-up when receiving the scanning message that said STA sends; Judge whether the time of reception T of the current scanning message that receives the last time response of writing down in time and the said scanning list item of scanning message and the trace interval Δ T of STA satisfy the inhibition response condition of presetting; If satisfy; Then instruct Transmit-Receive Unit the current scanning message that receives not to be responded; The ELSE instruction Transmit-Receive Unit sends the scanning response message to said STA, and 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 said STA simultaneously;
The channel that said AP receives said scanning message is the working channel of AP, perhaps is the arbitrary channel overlapping with the working channel of said AP.
9. device according to claim 8 is characterized in that, said device also comprises:
The trace interval acquiring unit is used to STA and obtains the trace interval Δ T in the said scanning list item;
Said trace interval acquiring unit obtains the preset trace interval Δ T value corresponding with this STA type of network side according to the type of STA when setting up said scanning list item; Or
Said trace interval Δ T is preset initial value when setting up the scanning list item of STA correspondence; After said trace interval acquiring unit receives the scanning message of STA initiation once more at said Transmit-Receive Unit; Judge whether the Δ T in the scanning list item is initial value; When being initial value; Calculate the current scanning message that receives time and the T of scanning in the list item between difference; If said difference is less than or equal to STA scanning single channel maximum scan time threshold T0; Then instruction scan list processing unit is with the initial value of the Δ T in the said difference replacement scanning list item, and the time of reception T that upgrades the scanning message of the last time response in the scanning list item of said STA is the time of the current scanning message that receives, and instructs said Transmit-Receive Unit to respond the scanning response message to said STA simultaneously; If said difference is greater than T0, then the T in the instruction scan list processing unit renewal scanning list item is the current time that receives the scanning message.
10. according to Claim 8 or 9 described devices, it is characterized in that described inhibition response condition is specially:
The difference of the time of reception T of the scanning message that current time and the last time in the said scanning list item that receives the scanning message responds is less than N* Δ T, and wherein, N is pre-configured value.
11. device according to claim 8; It is characterized in that; Said scan table processing unit is further when the transmission cycle time of setting arrives or the scanning list item in this locality when reaching maximum quantity L; All scanning list items of this locality are transferred to the Radio Access Controller AC that is used to manage said AP, so that all scanning list items of AC recorder in local scan table; And when having taken place to be connected again, receive before the L bar that AC sends the scanning list item that transfers to AC by self AP at self ap reboot or with AC.
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 true CN102802236A (en) 2012-11-28
CN102802236B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714258A (en) * 2016-12-20 2017-05-24 浙江大华技术股份有限公司 Channel switching method and apparatus
WO2020043098A1 (en) * 2018-08-29 2020-03-05 新华三技术有限公司 Device entry establishment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060159041A1 (en) * 2003-07-15 2006-07-20 Koninklijkle Philiips Electronics N.V. 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060159041A1 (en) * 2003-07-15 2006-07-20 Koninklijkle Philiips Electronics N.V. Method to achieve fast active scan in 802.11 wlan
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106714258A (en) * 2016-12-20 2017-05-24 浙江大华技术股份有限公司 Channel switching method and apparatus
WO2020043098A1 (en) * 2018-08-29 2020-03-05 新华三技术有限公司 Device entry establishment

Also Published As

Publication number Publication date
CN102802236B (en) 2015-06-17

Similar Documents

Publication Publication Date Title
US20220377617A1 (en) Processing method of direct communication, processing device of direct communication, relay terminal and remote terminal
US8615564B2 (en) Method and system for channel scanning in a mesh network
US9277575B2 (en) Method, device and network system of establishing a tunnel
US20210143896A1 (en) Method and apparatus of communication between terminal and base station, and network access method and apparatus of a terminal
US20190021134A1 (en) User plane optimization for narrowband internet of things
US8811394B2 (en) Message forwarding method, access point, and system
WO2018058636A1 (en) Method and device for transmitting response message
CN108200592B (en) Wireless roaming method and roaming AP
EP3142442B1 (en) Method, device and system for controlling air interface resources
KR102059410B1 (en) IP based sleep mode control method using synchonization information
KR100751101B1 (en) IP management system and method for a mobile phone
US10863555B2 (en) Access method, apparatus, device, and system
CN109756619B (en) Configuration method of terminal context, network equipment and terminal
WO2024046169A1 (en) Positioning method, device, and storage medium
JP2009267851A (en) Communication device and control method thereof and computer program
CN102802236A (en) Method for scanning wireless network, and device for realizing thereof
CN111615188B (en) Data transmission method, device and computer storage medium
US11044784B2 (en) Method and device for performing communication
CN103200569B (en) A kind of data packet sending method and device
CN111083801B (en) Method for establishing X2 link, EMS, base station and storage medium
CN108012290B (en) Method and equipment for processing big data in wireless local area network
KR102300272B1 (en) IP address setting method and device
KR101293303B1 (en) System and method for simultaneously transmitting data in heterogeneous network
CN109068338A (en) A kind of system and method for detection and three address wireless distribution system compatibility of processing
WO2010034241A1 (en) Communication method, apparatus and system for relay station

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