CN107852673A - A kind of access point discovery method and device - Google Patents
A kind of access point discovery method and device Download PDFInfo
- Publication number
- CN107852673A CN107852673A CN201680026885.XA CN201680026885A CN107852673A CN 107852673 A CN107852673 A CN 107852673A CN 201680026885 A CN201680026885 A CN 201680026885A CN 107852673 A CN107852673 A CN 107852673A
- Authority
- CN
- China
- Prior art keywords
- channel
- website
- condition
- discovery
- wireless network
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000004044 response Effects 0.000 claims abstract description 157
- 230000005540 biological transmission Effects 0.000 claims abstract description 41
- 238000003780 insertion Methods 0.000 abstract description 10
- 230000037431 insertion Effects 0.000 abstract description 10
- 108091006146 Channels Proteins 0.000 description 412
- 239000000523 sample Substances 0.000 description 45
- 238000012545 processing Methods 0.000 description 19
- 101100161473 Arabidopsis thaliana ABCB25 gene Proteins 0.000 description 18
- 101100096893 Mus musculus Sult2a1 gene Proteins 0.000 description 18
- 101150081243 STA1 gene Proteins 0.000 description 18
- 238000013461 design Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- OVGWMUWIRHGGJP-WVDJAODQSA-N (z)-7-[(1s,3r,4r,5s)-3-[(e,3r)-3-hydroxyoct-1-enyl]-6-thiabicyclo[3.1.1]heptan-4-yl]hept-5-enoic acid Chemical compound OC(=O)CCC\C=C/C[C@@H]1[C@@H](/C=C/[C@H](O)CCCCC)C[C@@H]2S[C@H]1C2 OVGWMUWIRHGGJP-WVDJAODQSA-N 0.000 description 7
- 101000988961 Escherichia coli Heat-stable enterotoxin A2 Proteins 0.000 description 7
- 238000004590 computer program Methods 0.000 description 7
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 239000002699 waste material Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 235000021186 dishes Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of access point discovery method includes:Second website listens to the AP for the wireless network required for the first website of discovery of the first website transmission the first discovery request message on the first channel, when the first condition that the AP of the wireless network required for the AP of the wireless network required for the second website second conditions that need to meet and the first website need to meet matches, second website cancels the second discovery request message for sending the AP for the wireless network required for the second website of discovery on the first channel, and the AP of the condition of satisfaction discovery response message is intercepted on the first channel, second website is switched to the discovery response message for continuing to intercept the AP for meeting first condition on second channel on second channel after preparatory condition satisfaction;Second channel is next channel that the first website continues to scan on after the scanning of the first channel is completed.Reduce discovery request message and discovery response message that website is sent because carrying out network insertion point discovery, so as to reduce the interface-free resources of occupancy.
Description
This application involves wireless communication technology field more particularly to a kind of access point discovery method and devices.
Wireless Fidelity (English: Wireless Fidelity, abbreviation: Wi-Fi) technology is a kind of short-distance wireless communication technology.The basis of Wi-Fi technology is 802.11 agreements that Institute of Electrical and Electric Engineers (English: Institute of Electrical and Electronics Engineers, abbreviation IEEE) is formulated.Access point (English Access Point, referred to as: AP) and website (English: Station, abbreviation STA) are generally comprised in the WLAN that 802.11 agreements are formulated.It needs first to send the data to AP when STA has data to need to send, other network nodes is then transmitted to by AP, therefore STA needs first to be associated with AP foundation, AP network is added, this just needs STA first to find AP.
Different countries and regions, the channel that uses for AP distributed may be different, than if any area 11 different channels are distributed in the frequency range of 2.4Ghz, 13 channels are then distributed in some areas, this results in channel used in each AP not can determine that.Each STA is when having found AP, need to send detection (probe request) message on each channel one by one, it include the requested wireless network relevant information of the STA in the probe message, relevant information indicates the ability that AP required for STA need to have or the condition that needs meet, condition can specifically include bandwidth parameter range, delay parameter range, security parameter range, load parameter range, transmission rate range, signal strength range etc., the AP for receiving the probe message judges whether oneself meets the condition, the STA is responded if meeting, STA described in message response is not sent out if being unsatisfactory for.Therefore each AP for meeting the condition that STA is sent out is required to first send response (probe response) message to STA, it include the detailed description information of AP in the response message, such as service quality (the English: quality of service that AP is supported, referred to as: QoS) parameter, auth type that AP is supported etc. information.
In the prior art since all STA are before needing to establish connection with AP, need to send probe message on each channel, and all AP for meeting condition are required to STA feedback response message,
These message belong to management message, rather than data-message, occupy radio open resource, cause interface-free resources waste, reduce utilization efficiency of eating dishes without rice or wine.
Summary of the invention
The application provides a kind of access point discovery method and device, to solve the problems, such as interface-free resources waste existing in the prior art.
In a first aspect, the embodiment of the present application provides a kind of access point AP discovery method, this method comprises:
When second station point carries out the AP discovery of wireless network, the first discovery request message of the AP for finding wireless network required for first website of the first website transmission is listened on the first channel, and the first discovery request message carries the first condition that the AP of the requested wireless network of the first website need to meet;
When the second condition that the AP of first condition and wireless network required for first website that the AP of the wireless network required for first website need to meet need to meet matches, second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message;
Second website is switched to after preset condition satisfaction continues to listen to the discovery response message that the AP for meeting the first condition on second channel is sent on second channel;The second channel is next channel that first website continues to scan on after the scanning for completing first channel, wherein, the scan channel rule for being used to indicate the first station scans channel order can be carried in the first discovery request message, or scan channel rule can be pre-configured to second website, second website determines that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on the scan channel rule.
When the second condition that the AP of the wireless network as required for the AP that the second website listens to wireless network required for the first website first condition that need to meet and second website need to meet matches, cancel and sends discovery request message, continue to follow other channels of the first station scans, to reduce the discovery request message that website is sent because carrying out network insertion point discovery, and reduce caused by discovery request message
It was found that response message, to reduce the interface-free resources of occupancy.
In addition, when the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for the second website listens to the first website need to meet need to meet matches, the first website is followed to go to listen to the information for responding to the first website, the message that second website only needs that AP is listened to respond to the first website, it does not need to listen the message for responding other websites, reduces the electricity of the second website consumption.If the second website does not follow first website, it will lead to the second website to go to listen to the discovery request message for meeting self-demand of other websites transmission, this, which results in equipment to need to listen to many discovery message again, can just find the discovery request message for meeting self-demand.Cause the first website to go to listen multiple discovery request messages more power-consuming, finds low efficiency.Therefore, by following the first website, listening to the message of the first website transmission and responding the message of first website, to improve the efficiency of website discovery access point, and the electric quantity consumption of equipment is reduced.
In a kind of possible design, after listening to the first discovery request message of the AP for finding wireless network required for first website of the first website transmission on the first channel, second website is cancelled before the second discovery request message sent on first channel for finding the AP of wireless network required for second website, second website can also determine that the channel of the scan channel rule instruction of second website of pre-configuration is at least partly identical as the channel of the scan channel rule instruction of first website of the first discovery request message carrying.
By above-mentioned design, due to the channel for thering is the second website to be scanned in the first website channel to be scanned, therefore second website follows first website to listen to over multiple channels, the interface-free resources on multiple channels can be saved, and improve the efficiency that the second station scans channel obtains the AP needed.
Preferably, second website determines that the channel of the scan channel rule instruction for second website being pre-configured is all identical as the channel of the scan channel rule instruction of first website of the first discovery request message carrying, that is: the described second channel is second website one of channel to be scanned, and the channel of subsequent first station scans is also the first website channel to be scanned.The situation that there was only part compared to the channel of the scan channel rule instruction of channel and first website of the instruction of the scan channel rule of second website identical, second website eliminates the time for following first website to be listened on being not belonging to second website channel to be scanned, therefore further improves second station scans
Channel obtains the efficiency of the AP needed.
In a kind of possible design, when second website is switched to the discovery response message for continuing to listen to the AP transmission for meeting the first condition on the second channel on second channel after preset condition satisfaction, it can be accomplished in that
The first implementation:
Second website is switched to the AP for meeting the first condition for continuing to listen on the second channel on the second channel and sends the discovery response message after waiting maximum channel sweep time.
Wherein, maximum channel sweep time is the parameter being pre-configured, and each station scans website follows the maximum channel sweep time.Therefore after the second website waits maximum channel sweep time, determine that the first website has scanned completion for the channel and can be switched to the second channel, therefore the second website listens to end on first channel, follows the first website to be switched on the second channel and continues to listen to.
Second of implementation:
It is also carried in the first discovery request message and is used to indicate the sweep time of first website on the first channel, second website is switched to the discovery response message that the AP for meeting the first condition listened on the second channel on the second channel is sent after waiting the sweep time.
After second website waits the sweep time, determine that the first website has scanned completion for first channel and can be switched to the second channel, therefore the second website listens to end on first channel, follows the first website to be switched on the second channel and continues to listen to.
The third implementation:
When second website is determined at a distance from the first website less than or equal to predetermined threshold, it is switched to and continues to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent on the second channel.
Optionally, second website is when determining at a distance from the first website greater than predetermined threshold, second website sends the second discovery request message on first channel, and the second discovery request message carries the second condition that the AP of the requested wireless network of the second website need to meet.
By the above-mentioned means, the second website can then continue to listen to the first website when determining and the first website is closer, and follow the first website switching channel to continue to listen to, if the second website determines and first
Website distance farther out when, then the AP for meeting the first condition may be not suitable for oneself, thus the second website can not follow the first website switching channel continue to listen to, oneself send probe Request.To improve the success rate listened to.
In a kind of possible design, the scan channel rule is carried to be established in (English: Fast Initial Link Setup, abbreviation: FILS) required parameter information in the quick initial connection that the first discovery request message includes.
In a kind of possible design, when the second condition that the AP of first condition and wireless network required for first website that the AP of the wireless network required for first website need to meet need to meet matches, second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, it can be accomplished in that
When the second condition that the AP of first condition and wireless network required for first website that the AP of the wireless network required for first website need to meet need to meet matches, second website is determined at a distance from first website;
Second website at a distance from first website if it is determined that be less than or equal to predetermined threshold, then cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message.
Optionally, second website at a distance from first website if it is determined that when being greater than predetermined threshold, then second website sends the second discovery request message on first channel, and the second discovery request message carries the second condition that the AP of the requested wireless network of the second website need to meet.
By the above-mentioned means, the second website when determining and the first website is closer, is listened on first channel meets the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message.And the first website switching channel is followed to continue to listen to, if the second website is determined with the first website distance farther out, the AP for then meeting the first condition may also be not suitable for oneself, therefore it is not listened on first channel and meets the discovery response message that the AP of the first condition is sent, the first website switching channel is not followed to continue to listen to, oneself sends probe Request yet.
To improve the success rate listened to.
Second aspect, the embodiment of the present application also provides a kind of access point AP to find device, and described device is applied to the second website, including memory, transceiver and processor;
The memory, the program code executed for storing the processor;
The transceiver, for listening to and sending message;
The processor, the program code stored for executing the memory, is specifically used for:
When the second station point carries out the AP discovery of wireless network, listen to the first discovery request message of the AP for finding wireless network required for first website of the first website transmission on the first channel by the transceiver, the first discovery request message carries the first condition that the AP of wireless network required for first website need to meet;When the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message;And it is switched to after preset condition satisfaction on second channel and continues to listen to the discovery response message that the AP for meeting the first condition on second channel is sent by the transceiver;The second channel is next channel that first website continues to scan on after the scanning for completing first channel, wherein, the scan channel rule for being used to indicate the first station scans channel order is carried in the first discovery request message, second website determines that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on the scan channel rule carried in the first discovery request message.
In a kind of possible design, the processor, continue to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent by the transceiver specifically for after waiting maximum channel sweep time, being switched on the second channel;Alternatively,
The processor is switched on the second channel when determining at a distance from the first website less than or equal to predetermined threshold and continues to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent by the transceiver;Alternatively,
It is also carried in the first discovery request message and is used to indicate the sweep time of first website on the first channel, the processor is switched on the second channel after waiting sweep time and to listen to the discovery response message of the AP transmission for meeting the first condition on the second channel by the transceiver.
In a kind of possible design, the scan channel rule is carried in the FILS required parameter information that the first discovery request message includes.
In a kind of possible design, the processor, when matching specifically for the AP of wireless network required for the AP of the wireless network required for first website first condition that need to meet and second website second condition that need to meet, determine at a distance from first website;
If it is determined that being less than or equal to predetermined threshold at a distance from first website, then cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message.
The third aspect, the embodiment of the present application also provides a kind of access point discovery device, described device is applied to the second website, which includes:
Listen to module, when for carrying out the AP discovery of wireless network in second station point, the first discovery request message of the AP for finding wireless network required for first website of the first website transmission is listened on the first channel, and the first discovery request message carries the first condition that the AP of the requested wireless network of the first website need to meet;
Processing module, when the second condition that the AP of wireless network required for first condition and second website that AP for the wireless network required for first website need to meet need to meet matches, second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website;
It is described to listen to module, it is also used to listen to the discovery response message of the AP for meeting first condition transmission on first channel, the discovery response message is the response message for the first discovery request message;
It is described to listen to module, it is also used to be switched on second channel after preset condition meets and continues to listen to the
The discovery response message that the AP for meeting the first condition on two channels is sent;The second channel is next channel that first website continues to scan on after the scanning for completing first channel, wherein the scan channel rule for being used to indicate the first station scans channel order is carried in the first discovery request message;
The processing module is also used to determine that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on the scan channel rule carried in the first discovery request message.
Optionally, when being switched to the discovery response message for continuing to listen to the AP transmission for meeting the first condition on the second channel on second channel after preset condition satisfaction, it is described to listen to module, the discovery response message is sent specifically for after waiting maximum channel sweep time, being switched to the AP for meeting the first condition for continuing to listen on the second channel on the second channel;Alternatively,
When the processing module determines and is less than or equal to predetermined threshold at a distance from the first website, the module of listening to is specifically used for being switched to the discovery response message for continuing to listen to the AP transmission for meeting the first condition on the second channel on the second channel;Alternatively,
It is also carried in the first discovery request message and is used to indicate the sweep time of first website on the first channel, it is described to listen to module, the discovery response message sent specifically for after waiting the sweep time, being switched to the AP for meeting the first condition listened on the second channel on the second channel.
In a kind of possible design, the scan channel rule is carried in the FILS required parameter information that the first discovery request message includes.
In a kind of possible design, when the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, the processing module is specifically used for determining at a distance from first website;
If it is determined that being less than or equal to predetermined threshold at a distance from first website, then cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website;
It is described to listen to module, the AP of the first condition is met specifically for listening on first channel
The discovery response message of transmission, the discovery response message are the response message for the first discovery request message.
In the application when carrying out wireless network access point discovery, second website gets on to listen to the discovery request message of the AP for finding wireless network of other websites transmission in the first channel to be scanned, when second website listens to the first discovery request message for the AP for finding wireless network required for first website that first website is sent on first channel, wherein, the first discovery request message carries the first condition that the AP of the requested wireless network of the first website need to meet.When the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches (i.e. when the AP of the demand condition of the first website of satisfaction also meets the demand condition of the second website), second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website, the second discovery request message carries the second condition that the AP of the requested wireless network of the second website need to meet, and listen to the first discovery response message that the AP for meeting the first condition on first channel is sent, to which second website does not need to send the second discovery request message on first channel, and then it does not need to meet the second condition yet AP sends the second discovery response message for the second discovery request message on first channel, therefore reduce the discovery request message that website is sent on first channel because carrying out network insertion point discovery, and reduce and find to find response message brought by request message on first channel, to reduce occupied interface-free resources on first channel;Then it is switched to after preset condition satisfaction and continues to listen to the first discovery response message that the AP for meeting the first condition on the second channel is sent on second channel;The second channel is next channel that first website continues to scan on after the scanning for completing first channel.Wherein, the scan channel rule for being used to indicate the first station scans channel order is carried in the first discovery request message, second website determines that next channel that first website continues to scan on after the scanning for completing first channel is the second channel based on the scan channel rule carried in the first discovery request message.If the second channel is also second website one of channel to be scanned, then second website can also be cancelled sends the second discovery request message on the second channel, and then the AP for also not needing to meet the second condition sends the second hair for the second discovery request message on the second channel
Existing response message, therefore reduce the discovery request message that website is sent on the second channel because carrying out network insertion point discovery, and reduce and find to find response message brought by request message on the second channel, to reduce occupied interface-free resources on the second channel.In this way, second website, which passes through, continues to follow other channels (the first discovery response message that the channel sense for following first website to go other to be scanned responds to first website) to be scanned of first station scans, to further reduce the discovery request message that second website is sent on other channels to be scanned because carrying out network insertion point discovery, and reduces and find response message caused by discovery request message, to reduce the interface-free resources that second website occupies on all channels to be scanned because carrying out network insertion point discovery.
In addition, if the channel sense that second website does not follow first website to go other to be scanned responds to the first discovery response message of first website, it may result in the discovery request message of other website self-demands described in the satisfaction that other websites of channel sense that the second website goes other to be scanned are sent, this, which results in second website to need to listen to many message again, could therefrom find the discovery request message for meeting self-demand, and then can just be not required to send the second discovery request message in other channels to be scanned.First website goes to listen multiple message power-consuming in other channels to be scanned, reduces the efficiency of discovery AP.Therefore, second website responds to the first discovery response message of first website by the channel sense for following the first website to go other to be scanned, so that second website need to only listen to the first discovery response message for responding to first website in other channels to be scanned, to further reduce the occupied interface-free resources on other channels to be scanned, the efficiency of the second station point discovery access point is improved, and reduces electric quantity consumption.
Fig. 1 is a kind of access point discovery method flow diagram provided by the present application;
Fig. 2 is another access point discovery method flow diagram provided by the present application;
Fig. 3 is a kind of access point discovery method schematic diagram provided by the present application;
Fig. 4 is a kind of access point discovery schematic device provided by the present application;
Fig. 5 is another access point discovery schematic device provided by the present application.
In order to keep the purposes, technical schemes and advantages of the application clearer, the application is described in further detail below in conjunction with attached drawing, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, all other embodiment obtained by those of ordinary skill in the art without making creative efforts, shall fall in the protection scope of this application.
The application provides a kind of access point discovery method and device, to solve the problems, such as interface-free resources waste existing in the prior art.Wherein, method and apparatus are that based on the same inventive concept, since the principle that method and device solves the problems, such as is similar, the implementation of apparatus and method can be with cross-reference, and overlaps will not be repeated.
In addition, the ordinal numbers such as " first ", " second " in the embodiment of the present application are only used for distinguishing multiple objects, the quantity to multiple objects and sequence are not limited specifically.
The scheme proposed with reference to the accompanying drawing to the application is specifically described.
Referring to Fig. 1, the access point discovery method flow diagram proposed for the application.
S101, when second station point carries out the AP discovery of wireless network, the first discovery request message of the AP for finding wireless network required for first website of the first website transmission is listened on the first channel, and the first discovery request message carries the first condition that the AP of the requested wireless network of the first website need to meet.
Wherein, discovery request message referred to herein can be Probe Request.
The first condition that the AP of wireless network required for first website carries in probe request message need to meet.The first condition may include AP type needed for the first STA.AP type can be any AP, or, certain special AP, if it is any AP is found, AP type is designated as any AP, or, the asterisk wildcard basic service set identification (wildcard basic service set identifier, referred to as: wildcard SSID) of AP.First condition may include at least one of following: bandwidth parameter, rate parameter, SSID parameter, mesh (network) parameter, the quick initial connection in P2P (Peer to peer, point-to-point) parameter, ability parameter, delay parameter, security parameter, load parameter, signal strength and 802.11ai are built
One in vertical (English: Fast Initial Link Setup, abbreviation: FILS) required parameter information (Request parameters element).FILS Request parameters element information may include: FILS standard (FILS Criteria), maximum delay limits (Max Delay Limit), minimum data transmission rate (Minimum Data Rate), state modulator bitmap (Parameter Control Bitmap) receives channel power instruction (English: received channel power indicator, referred to as: RCPI) limit (limit), organization unique identifier (English: organizationally unique identifier, referred to as: OUI) response criteria (Response Criteria), maximum channel time (Max Channel Time) hash domain information (Hashed Domain Information).
FILS Request parameters element information, is referred to table 1, wherein the meaning that each parameter is stated is referred to table 2.
Table 1
Table 2
Multiple AP on the first channel can receive the first discovery request message of the first website transmission, and each AP in multiple AP can determine whether itself is the AP for meeting the first condition.By taking the first AP as an example, it itself is the AP for meeting the first condition that the first AP, which is determined, then sends the first discovery response message to the first website.The network information of the first AP can be wherein carried in the first discovery response message.It may include the service parameter (English: Quality of service, abbreviation: QoS) that the first AP is supported and the auth type etc. that the first AP is supported in the network information of first AP.
S102, when the second condition that the AP of first condition and wireless network required for first website that the AP of the wireless network required for first website need to meet need to meet matches, second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and the discovery response message for meeting the AP of the first condition is listened on first channel.
The second condition that the AP of the first condition that the AP of wireless network required for first website need to meet and wireless network required for second website need to meet matches, i.e., the first condition that the need of the AP of wireless network required for described first website meet also meet be wireless network required for saying the second website the second condition that need to meet of AP.Specifically, the AP that can be wireless network required for the first website needs the first condition that meets to be equal to the second condition that the AP of wireless network required for the website need to meet, or can be the first condition that the need of the AP of wireless network required for the first website meet and contain the second condition that the AP of wireless network required for the website need to meet.
Such as: the first condition that the AP of the wireless network of the first site requests need to meet is specified services set identifier (English: Service Set Identifier, AP referred to as: SSID), the second condition that the AP of the wireless network of second site requests need to meet also is the AP for specifying the SSID, therefore first condition is identical as second condition, therefore the first condition is matched with the second condition.
As the AP that the first condition that the AP of the wireless network of the first site requests need to meet is specified SSID, the second condition that the AP of the wireless network of second site requests need to meet is the AP of specified asterisk wildcard (wildcard), to which first condition includes second condition, therefore the first condition is matched with the second condition.Conversely, the first condition that the AP of the wireless network of the second site requests need to meet is the AP of specified SSID when the first condition that the AP of the wireless network of the first site requests need to meet is wild card AP.First condition does not include second condition, therefore in this case, and the first condition and the second condition mismatch.
Such as, the first condition that the AP for the wireless network that first website needs need to meet is that Netowrk tape width values are greater than the first bandwidth threshold, the second condition that the AP for the wireless network that second website needs need to meet is that Netowrk tape width values are greater than the second bandwidth threshold, when the first bandwidth threshold is more than or equal to the second bandwidth threshold, the first condition meets the second condition.
For another example: the first condition that the AP for the wireless network that the first website needs need to meet is that the second condition that need of the delay requirement less than the AP for the wireless network that the first delay threshold, the second website need meet is delay requirement less than the second delay threshold.When the first delay threshold is less than or equal to the second delay threshold, the first condition meets the second condition.
For another example: the first condition that the AP for the wireless network that the first website needs need to meet is greater than for signal strength
First intensity threshold, the second condition that the need of the AP for the wireless network that the second website needs meet are that signal strength is greater than the second intensity threshold.When the first intensity threshold is more than or equal to the second intensity threshold, the first condition meets the second condition.
Such as: the first condition that the AP for the wireless network that the first website needs need to meet is that the second condition that need of the load value less than the AP for the wireless network that the first load threshold, the second website need meet is load value less than the second load threshold.When the first load threshold is less than or equal to the second load threshold, the first condition meets the second condition.
Such as: the first condition that the AP for the wireless network that the first website needs need to meet is that message transmission rate is greater than first rate threshold value, and the second condition that the need of the AP for the wireless network that the second website needs meet is that transmission rate is greater than the second rate-valve value.When first rate threshold value is more than or equal to the second rate-valve value, the first condition meets the second condition.
Condition involved in the embodiment of the present application may include condition corresponding to multiple parameters, for example, first condition includes: that Netowrk tape width values are greater than the first bandwidth threshold, delay requirement is greater than the first intensity threshold and message transmission rate less than the first delay threshold, signal strength and is greater than first rate threshold value.Second condition includes: that Netowrk tape width values are greater than the second bandwidth threshold, delay requirement is greater than the second intensity threshold and message transmission rate less than the second delay threshold, signal strength and is greater than the second rate-valve value.When the corresponding condition of the multiple parameters for including in the corresponding condition of multiple parameters and second condition that first condition includes matches, just determine that first condition matches with second condition.
Optionally, discovery response message referred to herein can be probe response.It can also be broadcast message.
S103, second website is switched to after preset condition satisfaction continues to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent on second channel.The second channel is next channel that first website continues to scan on after the scanning for completing first channel.
In the embodiment of the present application, channel configuration information is provided in each website in advance, channel configuration information includes scan channel rule, which is used to indicate station scans channel order.Channel configuration information can be unified for all site configurations by system, be also possible to by artificial pre-set, the application is not specifically limited herein.System be different site configurations scan channel rule can it is different can also be with
It is identical.
When the scan channel rule that system is different site configuration is different, website can carry the scan channel rule of itself when sending discovery request message in discovery request message.To carry the scan channel rule for being used to indicate the first station scans channel order in the first discovery request message described above, therefore, second website is to determine that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on the scan channel rule carried in the first discovery request message.Optionally, the scan channel rule can carry in the FILS required parameter information that the first discovery request message includes.The effect for specifically increasing scan channel rule attribute, the attribute in the parameter element of Tables 1 and 2 is to be used to indicate station scans channel order.Since the second equipment has the scan channel rule of oneself, second equipment is after the first channel receives the scan channel rule of first equipment, whether there are also other intersections for the scan channel rule of the second equipment matching between the two (the first channel is one in the intersection of the two channel scan list), if, the channel that then the first equipment follows the second equipment that next second equipment is gone to continue to scan on is listened to up, if it is not, then first equipment just does not go to follow to listen to.
When the scan channel rule that system is different site configuration is identical, the scan channel rule of itself can not be carried in discovery request message, second website determines that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on channel configuration information.It include the scan channel rule in channel configuration information.
The first discovery request message is sent when the first website is switched on second channel, then the second website is switched to the discovery response message that the AP for meeting the first condition is listened on second channel, when the first website, which continues to be switched to, sends the first discovery request message on third channel, then the second website is switched to the discovery response message that the AP for meeting first condition transmission is listened on third channel, until first website stopping continues to scan on channel.
Wherein, scan channel rule can be the channel order information of scanning, such as channel order information (n, m, p), then it represents that first scans channel n, then scans channel m, finally scans channel p.
Signal scanning rule can also be that channel order indicates information.It is then stored with the corresponding channel order information of information sequence instruction information in each site.Such as: digital x indicates first to scan channel n, then
Channel m is scanned, channel p is finally scanned;Digital y indicates first to scan channel m, then scans channel n, finally scans channel p.
In a kind of possible design, after listening to the first discovery request message of the AP for finding wireless network required for first website of the first website transmission on the first channel, second website is cancelled before the second discovery request message sent on first channel for finding the AP of wireless network required for second website, second website can also determine that the channel of the scan channel rule instruction of second website of pre-configuration is identical as the channel strip of scan channel rule instruction of first website that the first discovery request message carries.
Second channel is possible to not be the second website one of channel to be scanned in the embodiment of the present application, but includes the second website channel to be scanned in the subsequent first website channel to be scanned.Since website is when scanning channel, switching channel every time has a waiting time in present channel, such as: maximum channel sweep time or minimum channel sweep time are waited, it is not necessarily identical to switch the channel waiting time experienced every time.Second website needs to judge to go to be switched to next channel after the waiting time of present channel during following the first website.Therefore the second website in order to complete the first channel on listen to after the first website can be followed when the second website other to be scanned channel is listened to, it needs that the first website is followed to be listened on a second channel, to know the waiting time on a second channel, listened to so as in time follow the first website to be switched to the second website other to be scanned channel.If the second website does not follow the first website to listen to up in the second channel for being not belonging to the second website channel to be scanned, can not just judge in the time that second channel waits, therefore the second website needs to follow the first website that second channel is gone to listen to up.In addition, even if the channel listened to is not the channel itself to be scanned, it is possible that the AP for meeting self-demand is listened to, so as to improve the success rate listened to.
Such as: the scan channel rule of the second website is successively to scan channel 1,2,3, the scan channel rule of first website is successively to scan channel 1,3, in this case, second website in order to complete the 1st channel on listen to after the first website can be followed to be scanned in the second website the 3rd channel listened to, it needs that the first website is followed to go the 2nd channel sense message, such second website can be informed in the time that the 2nd channel needs to wait, and carry out knowing when the first website removes the 3rd channel of scanning.
Preferably, second website determines the scan channel rule instruction for second website being pre-configured
Channel and the channel of the scan channel rule instruction of first website that carries of the first discovery request message it is all identical (the two scan channel sequence can be identical or different), the i.e. described second channel is second website one of channel to be scanned, the channel of subsequent first station scans is also the first website channel to be scanned, therefore improves the success rate of scanning channel.
In one possible implementation, second website is switched to the discovery response message for meeting the requested radio network information of the first website that the transmission of the AP on the second channel is listened on second channel, can be accomplished in that
The first implementation:
Second website is switched to after waiting maximum channel sweep time and listens to the discovery response message for meeting the AP of the first condition on the second channel.
Wherein, maximum channel sweep time is the parameter being pre-configured, and each station scans website follows the maximum channel sweep time.Therefore after the second website waits maximum channel sweep time, determine that the first website has scanned completion for the channel and can be switched to the second channel, therefore the second website listens to end on first channel the first website is followed to be switched on the second channel and continues to listen to.
After second website is switched to second channel, after waiting minimum channel sweep time, when not listening to the discovery response message of the AP of the first condition, it is switched on third channel and continues to listen to.Minimum channel sweep time is also the time for the discovery response message that the first website waits the AP for meeting the first condition to send.
Second of implementation:
It is carried in the first discovery request message and is used to indicate the sweep time of first website on the first channel;Then second website is switched to the discovery response message that the AP for meeting first condition transmission is listened on the second channel after waiting the sweep time.
After second website waits the sweep time, determine that the first website has scanned completion for first channel and can be switched to the second channel, therefore the second website listens to end on first channel, follows the first website to be switched on the second channel and continues to listen to.
The third implementation:
When second website is determined at a distance from the first website less than or equal to predetermined threshold, it is switched to institute
State the discovery response message that the AP for meeting first condition transmission is listened on second channel.
Wherein, when second website determines at a distance from the first website less than or equal to predetermined threshold, before the discovery response message for listening to the AP transmission for meeting the first condition on being switched to the second channel, needs to wait the maximum scan time or wait the waiting time carried in request message to be found.
Optionally, second website is when determining at a distance from the first website greater than predetermined threshold, second website sends the second discovery request message on first channel, and the second discovery request message carries the second condition that the AP of the requested wireless network of the second website need to meet.
Specifically, whether the determination of the second website is greater than predetermined threshold at a distance from the first website, can be accomplished in that
Received signal strength indicator (the English: Received Signal Strength Indication of second station for acquiring, when referred to as: RSSI) being greater than or equal to predetermined signal strength threshold value, then the second website is less than or equal to predetermined threshold at a distance from the first website.When the RSSI of second station for acquiring is less than predetermined signal strength threshold value, then the second website is greater than predetermined threshold at a distance from the first website.Predetermined signal strength threshold value can be -60dBm.That is, the second website is closer with the first website when RSSI is more than or equal to -60dBm, when RSSI is less than -60dBm, the second website at a distance from the first website farther out.
Through the above way, second website is when determining and the first website is closer, it can then continue to listen to the first website, and the first website switching channel is followed to continue to listen to, if the second website is determined with the first website distance farther out, then meet the first condition AP may also the second website of distance farther out, therefore the second website can not follow the first website switching channel continue to listen to, oneself send probe Request.The AP for being not suitable for itself is listened to so as to avoid the second website, to improve the success rate listened to.
In one possible implementation, when the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, it can be accomplished in that
When the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, second website is determined
At a distance from first website;
Second website at a distance from first website if it is determined that be less than or equal to predetermined threshold, then cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message.
Optionally, second website at a distance from first website if it is determined that when being greater than predetermined threshold, then second website sends the second discovery request message on first channel, and the second discovery request message carries the second condition that the AP of the requested wireless network of the second website need to meet.
By the above-mentioned means, the second website when determining and the first website is closer, is listened on first channel meets the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message.And the first website switching channel is followed to continue to listen to, if the second website is determined with the first website distance farther out, the AP for then meeting the condition may also be not suitable for oneself, therefore it is not listened on first channel and meets the discovery response message that the AP of the first condition is sent, the first website switching channel is not followed to continue to listen to, oneself sends probe Request yet.To improve the success rate listened to.
Referring to fig. 2, another access point discovery method flow diagram proposed for the application, this method are suitable for access point side.
S201, the first AP listen to the first discovery request message that the first website is sent on the first channel, and the first discovery request message carries the condition that the AP of the requested wireless network of the first website need to meet, and the first AP is the AP for meeting the condition.
The discovery request message being related in the application can be Probe request.
AP on the first channel can listen to the probe request of website transmission.Assuming that AP listens to the first probe request that the first website is sent on the first channel, the first probe request carries the condition that the AP of the requested wireless network of the first website need to meet.AP can determine whether itself meets the condition.If the first AP determination meets the condition, S202 is executed.
S202, the first AP listen to the 2nd AP transmission needle for meeting the condition on the first channel
To the first discovery response message of the first discovery request message, the first AP cancels the second discovery response message sent to first website for the first discovery request message.
Wherein, the 2nd AP is the AP for meeting the condition.
Optionally, the first discovery response message can also include the network information of the 2nd AP.
Pass through the above method, first AP listens to the first discovery response message for the first discovery request message that the 2nd AP is sent to first website on the first channel, first AP cancels the second discovery response message sent to first website for the first discovery request message, after above-mentioned processing, it does not need all AP for listening to Probe request message and meeting site requests condition and all sends discovery response message, the AP for meeting site requests condition is only needed to send discovery response message, interface-free resources are occupied to reduce multiple discovery response messages.
Optionally, the first AP, which cancels sending to first website, finds response message for the second of the first discovery request message, can also be accomplished in that
First AP is determining that the first AP cancels the second discovery response message sent to first website for the first discovery request message when being less than or equal to predetermined threshold at a distance from the 2nd AP.
Pass through the above method, first AP listen on the first channel the 2nd AP be sent to first website first discovery response message when, when whether judgement is greater than predetermined threshold at a distance from the 2nd AP, if judgement is not more than predetermined threshold at a distance from the 2nd AP, then the first AP determination is closer with the 2nd AP, then the second discovery response message of the network information comprising the first AP is no longer sent to second website.After above-mentioned processing, it does not need all AP for listening to Probe request message and meeting condition and all sends discovery response message, the AP for meeting site requests condition is only needed to send discovery response message, interface-free resources are occupied to reduce multiple discovery response messages, and improve success rate.
Optionally, the first AP is being determined when being greater than predetermined threshold at a distance from the 2nd AP, the second discovery response message that transmission finds request message for described first.
Optionally, the discovery response message in the application can be probe response (Probe response) message, or broadcast message.For example, AP receives the Probe request message that multiple websites are sent,
And meeting the requirement of the radio network information of multiple site requests, then AP no longer sends Probe request message one by one, broadcast message can be directly transmitted, to save interface-free resources.
The embodiment of the present application is described specifically below with reference to concrete application scene, as shown in Figure 3.
The Probe request1 that S301:STA1 is sent in channel 1 (channel1)
S302, STA2 listen to the Probe request1 that STA1 is sent in channel 1 (channel1).The probe request1 carries first condition, the scan channel rule that the AP of the wireless network of STA1 request need to meet.Such as shown in Tables 1 and 2.
The second condition that S303, STA2 determine that the AP of wireless network required for the first condition and STA1 that the AP of wireless network required for STA1 need to meet need to meet matches.
S304, STA2 determine the need for sending Probe request2 according to the RSSI got.
When determining that the RSSI got is greater than predetermined signal strength threshold value, without sending Probe request2.If it is determined that then needing to send Probe request2 when the RSSI got is less than or equal to predetermined signal strength threshold value, S304 is executed.Probe request2 carries the second condition that the AP of the wireless network of STA2 request need to meet.
S305, STA2 send Probe request2.
S306, when meeting the AP1 of the first condition of STA1 and receiving Probe request1, if AP1 sends Probe response1 when not listening to the AP that other meet first condition on channel1 and being sent to the Probe response of the STA1, to the STA1.
To which STA1 and STA2 receives Probe response1.
S307, when meeting the AP2 of the condition of STA1 and receiving Probe request1, AP2 listens to the Probe response1 that AP1 is sent to the STA1 on channel1, is determined the need for sending Probe response2 to STA1 according to Probe response1 and the RSSI got.If so, executing S308.
S308:AP2 sends Probe response2 to STA1.S309 is executed if not.
S309: without sending Probe response2 to STA1.
Specifically, if it is determined that the RSSI that Probe response1 carries the identification information of STA1, and gets is greater than predetermined signal strength threshold value, then without sending Probe response2 to STA1.Otherwise Probe response2 is sent to STA1.
S310, STA1, which are switched on channel2, to be continued to send Probe request1.
S311, STA2 are switched to the Probe response for continuing to listen to the AP for meeting first condition transmission on channel2 according to scan channel rule.
Referring to fig. 4, the access point discovery schematic device proposed for the application, described device are applied to the second website, which includes:
Listen to module 401, when for carrying out the AP discovery of wireless network in second station point, the first discovery request message of the AP for finding wireless network required for first website of the first website transmission is listened on the first channel, and the first discovery request message carries the first condition that the AP of the required wireless network of the first website need to meet.
Processing module 402, when the second condition that the AP of wireless network required for first condition and second website that AP for the wireless network required for first website need to meet need to meet matches, second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website.Wherein, the scan channel rule for being used to indicate the first station scans channel order is also carried in the first discovery request message.
It is described to listen to module 401, it is also used to listen to the discovery response message of the AP for meeting first condition transmission on first channel, the discovery response message is the response message for the first discovery request message.
The processing module 402 is also used to determine that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on the scan channel rule carried in the first discovery request message.
It is described to listen to module 401, it is also used to be switched to after preset condition meets and continues to listen to the discovery response message that the AP for meeting the first condition on second channel is sent on second channel.
Optionally, when being switched to the discovery response message for continuing to listen to the AP transmission for meeting the first condition on the second channel on second channel after preset condition satisfaction, it is described to listen to module 401, the discovery response message is sent specifically for after waiting maximum channel sweep time, being switched to the AP for meeting the first condition for continuing to listen on the second channel on the second channel;Alternatively,
When the processing module 402 determines and is less than or equal to predetermined threshold at a distance from the first website, institute
It states and listens to module 401 specifically for being switched to the discovery response message for continuing to listen to the AP for meeting the first condition on the second channel on the second channel and sending;Alternatively,
It is also carried in the first discovery request message and is used to indicate the sweep time of first website on the first channel, it is described to listen to module 401, the discovery response message sent specifically for after waiting the sweep time, being switched to the AP for meeting the first condition listened on the second channel on the second channel.
In a kind of possible design, the scan channel rule is carried in the FILS required parameter information that the first discovery request message includes.
In a kind of possible design, when the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, the processing module 402 is specifically used for determining at a distance from first website;
If it is determined that being less than or equal to predetermined threshold at a distance from first website, then cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website;
Described to listen to module 401, specifically for listening to the discovery response message for meeting the AP of the first condition and sending on first channel, the discovery response message is the response message for the first discovery request message.
It is schematical to the division of unit in the embodiment of the present application, only a kind of logical function partition, there may be another division manner in actual implementation, in addition, each functional unit in each embodiment of the application can integrate in a processor, it is also possible to physically exist alone, can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can take the form of hardware realization, can also be realized in the form of software function module.
Wherein, when integrated unit both can take the form of hardware realization, as shown in figure 5, may include transceiver 501, processor 502 and memory 503.
The memory 503, the program code executed for storing the processor 502.
The transceiver 501, for listening to and sending message.The hardware for listening to module 401 and the corresponding entity of processing module 402 can be processor 502.Processor 502 can be a central processing unit
(English: central processing unit, abbreviation CPU), or be digital processing element etc..Message is listened to and sent to processor 502 by transceiver 501, and the corresponding relationship of itself building etc. information is stored.
The specific connection medium between above-mentioned transceiver 501, processor 502 and memory 503 is not limited in the embodiment of the present application.The embodiment of the present application is being connected in Fig. 5 with passing through bus 504 between memory 503, processor 502 and transceiver 501, and bus is indicated in Fig. 5 with thick line, and the connection type between other components is only to be schematically illustrated, does not regard it as and be limited.The bus can be divided into address bus, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 5, it is not intended that an only bus or a type of bus convenient for indicating.
Memory 503 can be volatile memory (English: volatile memory), such as random access memory (English: random-access memory, abbreviation: RAM);Memory 503 is also possible to nonvolatile memory (English: non-volatile memory), such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state hard disk (English: solid-state drive, abbreviation: SSD), or memory 503 can be used for carry or store have instruction or data structure form desired program code and can be by any other medium of computer access, but not limited to this.Memory 503 can be the combination of above-mentioned memory.
The processor 502, the program code stored for executing the memory 503, is specifically used for:
When the second station point carries out the AP discovery of wireless network, listen to the first discovery request message of the AP for finding wireless network required for first website of the first website transmission on the first channel by the transceiver 502, the first discovery request message carries the first condition that the AP of the requested wireless network of the first website need to meet;When the second condition that the AP of first condition and wireless network required for first website that the AP of the wireless network required for first website need to meet need to meet matches, cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message;And it is switched on second channel after preset condition satisfaction and continues to detect by the transceiver
The discovery response message for listening the AP for meeting the first condition on second channel to send;The second channel is next channel that first website continues to scan on after the scanning for completing first channel, wherein, the scan channel rule for being used to indicate the first station scans channel order is carried in the first discovery request message, the processor 502 determines that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on the scan channel rule carried in the first discovery request message.
Optionally, the processor 502 is specifically used for after waiting maximum channel sweep time, is switched on the second channel and continues to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent by the transceiver;Alternatively,
The processor 502 is switched on the second channel when determining at a distance from the first website less than or equal to predetermined threshold and continues to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent by the transceiver;Alternatively,
It is also carried in the first discovery request message and is used to indicate the sweep time of first website on the first channel, the processor 502 is switched on the second channel after waiting sweep time and to listen to the discovery response message of the AP transmission for meeting the first condition on the second channel by the transceiver 501.
Optionally, the scan channel rule is carried establishes in FILS required parameter information in the quick initial connection that the first discovery request message includes.
Optionally, the processor 502, when matching specifically for the AP of wireless network required for the AP of the wireless network required for first website first condition that need to meet and second website second condition that need to meet, determine at a distance from first website;
If it is determined that being less than or equal to predetermined threshold at a distance from first website, then cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message.
In the application when carrying out wireless network access point discovery, the second website gets on to listen to the discovery request message of the AP for finding wireless network of other websites transmission in the first channel to be scanned, when described the
Two websites listen to the first discovery request message for the AP for finding wireless network required for first website that first website is sent on first channel, wherein, the first discovery request message carries the first condition that the AP of the requested wireless network of the first website need to meet.When the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches (i.e. when the AP of the demand condition of the first website of satisfaction also meets the demand condition of the second website), second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website, the second discovery request message carries the second condition that the AP of the requested wireless network of the second website need to meet, and listen to the first discovery response message that the AP for meeting the first condition on first channel is sent, to which second website does not need to send the second discovery request message on first channel, and then it does not need to meet the second condition yet AP sends the second discovery response message for the second discovery request message on first channel, therefore reduce the discovery request message that website is sent on first channel because carrying out network insertion point discovery, and reduce and find to find response message brought by request message on first channel, to reduce occupied interface-free resources on first channel;Then it is switched to after preset condition satisfaction and continues to listen to the first discovery response message that the AP for meeting the first condition on the second channel is sent on second channel;The second channel is next channel that first website continues to scan on after the scanning for completing first channel.Wherein, the scan channel rule for being used to indicate the first station scans channel order is carried in the first discovery request message, second website determines that next channel that first website continues to scan on after the scanning for completing first channel is the second channel based on the scan channel rule carried in the first discovery request message.Second website is also cancelled sends the second discovery request message on the second channel, and then the AP for also not needing to meet the second condition sends the second discovery response message for the second discovery request message on the second channel, therefore reduce the discovery request message that website is sent on the second channel because carrying out network insertion point discovery, and reduce and find to find response message brought by request message on the second channel, to reduce occupied interface-free resources on the second channel.In this way, second website passes through and continues to follow first station scans other channels to be scanned (channel sense for following first website to go other to be scanned responds to first discovery of first website
Response message), to further reduce the discovery request message that second website is sent on other channels to be scanned because carrying out network insertion point discovery, and reduce and find response message caused by discovery request message, to reduce the interface-free resources that second website occupies on all channels to be scanned because carrying out network insertion point discovery.
In addition, if the channel sense that second website does not follow first website to go other to be scanned responds to the first discovery response message of first website, it may result in the discovery request message of other website self-demands described in the satisfaction that other websites of channel sense that the second website goes other to be scanned are sent, this, which results in second website to need to listen to many message again, could therefrom find the request message for meeting self-demand, and then can just be not required to send the second discovery request message in other channels to be scanned.First website goes to listen multiple message power-consuming in other channels to be scanned, reduces the efficiency of discovery AP.Therefore, second website responds to the first discovery response message of first website by the channel sense for following the first website to go other to be scanned, so that second website need to only listen to the first discovery response message for responding to first website in other channels to be scanned, to further reduce the occupied interface-free resources on other channels to be scanned, the efficiency of the second station point discovery access point is improved, and reduces electric quantity consumption.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program product.Therefore, the form of complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application.Moreover, the form for the computer program product implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) that one or more wherein includes computer usable program code can be used in the application.
The application is that reference is described according to the flowchart and/or the block diagram of the present processes, equipment (system) and computer program product.It should be understood that the combination of process and/or box in each flow and/or block and flowchart and/or the block diagram that can be realized by computer program instructions in flowchart and/or the block diagram.These computer program instructions be can provide to the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate a machine, so that generating by the instruction that computer or the processor of other programmable data processing devices execute for realizing the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
It sets.
These computer program instructions, which may also be stored in, to be able to guide in computer or other programmable data processing devices computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates the manufacture including command device, which realizes the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that series of operation steps are executed on a computer or other programmable device to generate computer implemented processing, thus the step of instruction executed on a computer or other programmable device is provided for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram.
Although the preferred embodiment of the application has been described, once a person skilled in the art knows basic creative concepts, then additional changes and modifications can be made to these embodiments.So it includes preferred embodiment and all change and modification for falling into the application range that the following claims are intended to be interpreted as.
Obviously, those skilled in the art can carry out various modification and variations without departing from spirit and scope to the application.If then the application is also intended to include these modifications and variations in this way, these modifications and variations of the application belong within the scope of the claim of this application and its equivalent technologies.
Claims (10)
- A kind of access point AP discovery method characterized by comprisingWhen second station point carries out the AP discovery of wireless network, the first discovery request message of the AP for finding wireless network required for first website of the first website transmission is listened on the first channel, and the first discovery request message carries the first condition that the AP of wireless network required for first website need to meet;When the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message;Second website is switched to after preset condition satisfaction continues to listen to the discovery response message that the AP for meeting the first condition on second channel is sent on second channel;The second channel is next channel that first website continues to scan on after the scanning for completing first channel, wherein, the scan channel rule for being used to indicate the first station scans channel order is carried in the first discovery request message, second website determines that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on the scan channel rule carried in the first discovery request message.
- The method as described in claim 1, which is characterized in that second website is switched to after preset condition satisfaction continues to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent on second channel, comprising:Second website is switched to the AP for meeting the first condition for continuing to listen on the second channel on the second channel and sends the discovery response message after waiting maximum channel sweep time;Alternatively,When second website is determined at a distance from the first website less than or equal to predetermined threshold, it is switched to and continues to listen to the hair that the AP for meeting the first condition on the second channel is sent on the second channel Existing response message;Alternatively,It is also carried in the first discovery request message and is used to indicate the sweep time of first website on the first channel, second website is switched to the discovery response message that the AP for meeting the first condition listened on the second channel on the second channel is sent after waiting the sweep time.
- It is method according to claim 1 or 2, which is characterized in that the scan channel rule is carried to be established in FILS required parameter information in the quick initial connection that the first discovery request message includes.
- Method as described in any one of claims 1 to 3, it is characterized in that, when the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, second website cancels the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and it is listened on first channel and meets the discovery response message that the AP of the first condition is sent, comprising:When the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, second website is determined at a distance from first website;Second website at a distance from first website if it is determined that be less than or equal to predetermined threshold, then cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message.
- Such as the described in any item methods of Claims 1-4, which is characterized in that the second channel is second website one of channel to be scanned.
- A kind of access point AP discovery device, which is characterized in that described device is applied to the second website, including memory, transceiver and processor;The memory, the program code executed for storing the processor;The transceiver, for listening to and sending message;The processor, the program code stored for executing the memory, is specifically used for:When the second station point carries out the AP discovery of wireless network, listen to the AP's for finding wireless network required for first website of the first website transmission on the first channel by the transceiver First discovery request message, the first discovery request message carry the first condition that the AP of wireless network required for first website need to meet;When the second condition that the AP of first condition and wireless network required for second website that the AP of the wireless network required for first website need to meet need to meet matches, cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message;And it is switched to after preset condition satisfaction on second channel and continues to listen to the discovery response message that the AP for meeting the first condition on second channel is sent by the transceiver;The second channel is next channel that first website continues to scan on after the scanning for completing first channel, wherein, the scan channel rule for being used to indicate the first station scans channel order is carried in the first discovery request message, second website determines that next channel that first website continues to scan on after the scanning for completing first channel is second channel based on the scan channel rule carried in the first discovery request message.
- Device as claimed in claim 6, it is characterized in that, the processor is specifically used for after waiting maximum channel sweep time, is switched on the second channel and continues to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent by the transceiver;Alternatively,The processor is switched on the second channel when determining at a distance from the first website less than or equal to predetermined threshold and continues to listen to the discovery response message that the AP for meeting the first condition on the second channel is sent by the transceiver;Alternatively,It is also carried in the first discovery request message and is used to indicate the sweep time of first website on the first channel, the processor is switched on the second channel after waiting sweep time and to listen to the discovery response message of the AP transmission for meeting the first condition on the second channel by the transceiver.
- Device as claimed in claims 6 or 7, which is characterized in that the scan channel rule is carried to be established in FILS required parameter information in the quick initial connection that the first discovery request message includes.
- Device as described in claim 6 to 8 is any, which is characterized in that the processor, the first condition and described second that need to meet specifically for the AP of the wireless network required for first website When the second condition that the AP of wireless network required for website need to meet matches, determine at a distance from first website;If it is determined that being less than or equal to predetermined threshold at a distance from first website, then cancel the second discovery request message sent on first channel for finding the AP of wireless network required for second website, and listened on first channel and meet the discovery response message that the AP of the first condition is sent, the discovery response message is the response message for the first discovery request message.
- Such as the described in any item devices of claim 6 to 9, which is characterized in that the second channel is second website one of channel to be scanned.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/084203 WO2017206086A1 (en) | 2016-05-31 | 2016-05-31 | Access point discovery method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107852673A true CN107852673A (en) | 2018-03-27 |
CN107852673B CN107852673B (en) | 2020-12-22 |
Family
ID=60479484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201680026885.XA Active CN107852673B (en) | 2016-05-31 | 2016-05-31 | Access point discovery method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107852673B (en) |
WO (1) | WO2017206086A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103379587A (en) * | 2012-04-25 | 2013-10-30 | 华为终端有限公司 | Method and device for discovering wireless network |
CN103561449A (en) * | 2013-11-08 | 2014-02-05 | 福建星网锐捷网络有限公司 | Wireless access method and wireless access point |
US8937893B1 (en) * | 2010-09-13 | 2015-01-20 | Marvell International Ltd. | Method and apparatus for delaying wireless message transmission for saving power |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096344B (en) * | 2011-11-01 | 2015-09-23 | 华为技术有限公司 | A kind of method and apparatus detecting access point |
CN102437897B (en) * | 2011-11-11 | 2016-06-29 | 杭州华三通信技术有限公司 | The sending method of a kind of Beacon and equipment |
-
2016
- 2016-05-31 CN CN201680026885.XA patent/CN107852673B/en active Active
- 2016-05-31 WO PCT/CN2016/084203 patent/WO2017206086A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8937893B1 (en) * | 2010-09-13 | 2015-01-20 | Marvell International Ltd. | Method and apparatus for delaying wireless message transmission for saving power |
CN103379587A (en) * | 2012-04-25 | 2013-10-30 | 华为终端有限公司 | Method and device for discovering wireless network |
CN103561449A (en) * | 2013-11-08 | 2014-02-05 | 福建星网锐捷网络有限公司 | Wireless access method and wireless access point |
Also Published As
Publication number | Publication date |
---|---|
CN107852673B (en) | 2020-12-22 |
WO2017206086A1 (en) | 2017-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11678153B2 (en) | Information transmission and reception method and apparatus | |
KR102624306B1 (en) | Resource selection method and terminal device | |
US20200053544A1 (en) | Beacon Management for Network Assisted Device-to-Device Communication | |
TWI461075B (en) | Methods of optimizing scanning parameters for a plurality of channels in a wireless band | |
JP6158198B2 (en) | System and method for fast initial network link setup | |
US9654443B2 (en) | Local device identity allocation for network assisted device-to-device D2D communication | |
US11071092B2 (en) | Response message transmission method and apparatus | |
JP5976823B2 (en) | System and method for fast initial network link setup | |
JP6129862B2 (en) | System and method for fast initial network link setup | |
JP6430252B2 (en) | System and method for fast initial network link setup | |
JP2014534741A (en) | System and method for fast initial network link setup | |
KR102381362B1 (en) | Tuning to Available Channels in Narrowband Wireless Networks | |
EP3363255B1 (en) | Access point supporting at least two virtual networks and method performed thereby for communicating with wireless device | |
JP2021516880A (en) | Cell reselection method and device, computer storage medium | |
CN106385695B (en) | Method and device for sending detection response frame | |
CN104168629A (en) | Proximity-based service relay node discovering method, terminal and proximity-based service communication system | |
WO2016074515A1 (en) | Network node selection and activation method and apparatus | |
TW201815194A (en) | Communication method, terminal device and network device | |
CN110461023B (en) | Cell residence method and device for voice service, storage medium and main base station | |
WO2015143763A1 (en) | Load information transfer method, system, network elements and computer storage medium | |
US20200029228A1 (en) | Channel Selection Method and Apparatus | |
CN114731645A (en) | Method of communicating over a wide band portion | |
TWI645728B (en) | User equipment and method of controlling discovery signal communication of user equipment | |
CN107852673A (en) | A kind of access point discovery method and device | |
CN114258058A (en) | Measuring method, measuring device, terminal and network equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |