Background technology
Wireless Fidelity (Wireless Fidelity, WiFi) be one kind can by PC, handheld device (such as PDA,
Mobile phone) etc. the technology that wirelessly interconnects of terminal, it is therefore an objective to improve the Wi-Fi based on the standards of IEEE 802.11 and produce
Intercommunity between product.
The most basic network structure of WiFi is that an access point (Access Point, AP) takes several supports IEEE
The website (Station, STA) of 802.11 agreements, AP provides access service for STA.Using wireless signal as friendship between AP and STA
Mutual medium.AP periodically broadcasts beacon (Beacon) message to periphery, and message the inside includes the network name belonging to AP,
Many information such as the MAC Address of AP, the cycle of Beacon.STA can obtain the information of AP and its network by Beacon,
Can also by AP broadcast probe request message come obtain AP probe response reply, therefrom obtain AP and
The information of its network.STA broadcast probe request can specify special AP to receive (by specifying special BSSID),
Can be to all AP broadcast (by the BSSID for specifying wildcard).Special AP is specified to receive, this is probably that the STA initiates to network
First message of application;Broadcasted to all AP, it is meant that STA is only the currently available AP resource informations of inquiry.
STA is first had to by Beacon or probe request/probe if it is intended to communicated with AP
Response processes find network, then by after access procedure, becoming with the related states of AP.Then just can phase intercommunication
Believe.Access procedure refers to a series of process interacted with AP of initiation after STA has found network.The success of this interaction
After end, STA is with being just in related state between AP.
AP by specific frequency between STA with being wirelessly transferred, it means that with for the moment on wireless medium
A STA has been only capable of quarters to carry out data transmission with AP.So, when multiple STA synchronizations send access request to AP,
Will clash.
Therefore, in order to avoid conflict, it is necessary to must have a mechanism for conflict avoidance.802.11 standards use entitled
CSMA/CA (Carrier Sense Multiple Access with conflict avoidance) such a collision avoidance mechanism.It competes principle:1st, it is every
Before attempting to send message, all first whether monitoring wireless channel is idle for individual STA;2nd, if it is confirmed that idle, then it is determined that keep out of the way
A back off time is randomly generated in window ranges;3rd, because the back off time of each STA is random and separate,
Greatly it is probably very different;4th, channel is constantly intercepted, if channel idle, by after a back off time unit, successively decreasing and keeping out of the way
Time value;If channel busy, pause is successively decreased back off time, until after the acknowledgement channel free time next time, treatment of then successively decreasing;5、STA
Itself back off time is reduced to after 0, sends message;6th, corresponding confirmation can be received after such as sending message, is then said
The bright back off time for specifically only having the STA is decremented to 0, and resource has been arrived in competition, and is sent successfully;Otherwise, more than one is just illustrated
The back off time of STA is decremented to 0 simultaneously, causes conflict, can only compete again in this case.
Wherein, above-mentioned random-backoff time is produced in certain scope, and this scope is referred to as backoff window, current skill
Art standard has to the size of backoff window and clearly limits, the difference and Business Stream of the higher limit of minimum backoff window according to physical layer specification
Different and different, minimum 3 (speech datas), maximum 63 of qos requirement.The upper limit of maximum backoff window is all then 1023.
In this existing technical scheme, all STA are relations on an equal basis, and they are possible to synchronization and are at war with, and backoff window is most
That small (or that is several), will at first be reduced to 0, and it can attempt sending message, if the confirmation letter of return can be received
Breath, then send successfully, otherwise, exactly encounters conflict, it is necessary to compete again.
Because an AP only supports 2007 STA in Current standards, above-mentioned competitive strategy not yet has outstanding problem.But
In 802.11ah, an AP STA to be supported will expand to more than 6000.When simultaneously these substantial amounts of STA compete what is networked
Words, according to the strategy of above-mentioned backoff window, the situation for generating two or more identical minimum backoff windows can be a lot, in this case,
Their backoff window can simultaneously be reduced to 0, then attempt sending message simultaneously, will certainly so cause substantial amounts of conflict, so that
Influence overall STA access efficiencies.
The content of the invention
Embodiment of the present invention technical problem to be solved is, there is provided a kind of method, the access point of equipment access network
Log equipment and system.Can indicate to can access the log equipment of network by characteristic information, it is competing between reduction access website
Strive conflict.
In order to solve the above-mentioned technical problem, on the one hand, the embodiment of the invention provides a kind of method of equipment access network,
Methods described includes:
Access point generates broadcast frame, and the broadcast frame includes the characteristic information of log equipment;The characteristic information is used for
Indicate the feature of log equipment;
Described access point broadcasts the broadcast frame, so that specific log equipment initiates network insertion to described access point
Journey;The specific log equipment to receive the broadcast frame, and the feature indicated with the characteristic information log equipment.
On the other hand, the embodiment of the present invention additionally provides a kind of method of equipment access network, and methods described includes:
Log equipment receives the broadcast frame of access point broadcast, and the broadcast frame includes the characteristic information of log equipment;Institute
Characteristic information is stated for indicating the feature of log equipment;
The log equipment judges whether itself has the feature indicated by the characteristic information, if so, then being connect to described
Access point initiates network insertion process.
On the other hand, the embodiment of the present invention additionally provides a kind of access point, and described access point includes:
Generation module, for generating broadcast frame, the broadcast frame includes the characteristic information of log equipment;The feature letter
Cease the feature for indicating log equipment;
Broadcast module, for broadcasting the broadcast frame, so that specific log equipment initiates network insertion to described access point
Process;The specific log equipment is to receive the broadcast frame, and the networking of the feature indicated with the characteristic information sets
It is standby.
On the other hand, the embodiment of the present invention additionally provides a kind of log equipment, and the log equipment includes:
Acquisition module, the broadcast frame for receiving access point broadcast, the broadcast frame includes the feature letter of log equipment
Breath;The characteristic information is used to indicate the feature of log equipment;
Judge module, for judging whether the terminal device has the feature indicated by the characteristic information;
AM access module, for when the judged result of the judge module is to be, network insertion being initiated to described access point
Process.
On the other hand, the embodiment of the present invention additionally provides a kind of wireless fidelity network system, and the system includes:Access point,
For generating and broadcast broadcast frame;The broadcast frame includes the characteristic information of log equipment;The characteristic information is used to indicate
The feature of log equipment;
One or more log equipments, the broadcast frame for receiving described access point broadcast;Judge whether itself has institute
The feature indicated by characteristic information is stated, if so, then initiating network insertion process to described access point.
Implement the embodiment of the present invention, potential log equipment is distinguished by the characteristic information for setting log equipment,
The corresponding access network of equipment of the feature only with the instruction of this feature information is allowd, greatly reducing synchronization will
The quantity of the equipment for accessing access point is sought, so as to reduce competition conflict.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, and the technology that the present invention is disclosed is used for other fields, belongs to the scope of protection of the invention.
For example, by setting characteristic information, (identification information of characteristic information instruction log equipment has the embodiment of the present invention
Feature) etc. STA is distinguished so that the log equipment of feature for only being indicated with this feature information can connect accordingly
Enter network, so, send different characteristic informations by the different time periods, it is possible to realize that log equipment can be in difference
Be conducted batch-wise access in time period, reduce the STA quantity that synchronization competition networks, so as to reduce the possibility of conflict, improve into
Net efficiency.It is determined that during characteristic information, the multiple characteristic informations in specific embodiment of the invention can realize access device
All coverings, e.g., the MAC Address feature that can set each STA meets feature indicated by some characteristic information, to protect
All of STA is demonstrate,proved to have the opportunity to access.
As shown in figure 1, a kind of method of the equipment access network in for the embodiment of the present invention, the method can be used for wireless guarantor
In true network system or other similar Radio Network Systems, the method comprises the following steps.
101st, access point generation broadcast frame, the broadcast frame includes the characteristic information of log equipment;The characteristic information
Feature for indicating log equipment.Specifically, in one embodiment of the invention, the broadcast frame can be beacon frame.
It is determined that during characteristic information, access point can be grouped according to equipment unique mark to potential log equipment, and
Corresponding characteristic information is obtained according to the packet, the mark letter of the equipment of correspondence packet can be included in each characteristic information
Breath.
That is, described characteristic information specifically for indicate log equipment identification information feature, e.g., at one of the invention
In embodiment, the MAC Address for being designated log equipment of the log equipment.More specifically, the spy that the characteristic information is indicated
Levy for:The value of one or more certain bits of the MAC Address of log equipment is the value indicated by the characteristic information, or networking sets
The value of one or more certain bits of standby MAC Address, is the signified characteristic information by the end value obtained by certain operations
The value shown.Specifically which value of who or which position of MAC Address, can be voluntarily raw according to certain rule access point
Into, or system management server configured.
Such as, the identification information of the equipment is the media access control (Media Access Control, MAC) of equipment
Location.All possible MAC Address can be then grouped, specific grouping number and packet standard can according to actual conditions come
It is determined that.Such as it is divided into two groups by MAC Address, a certain position of the MAC Address of one of which is 1, and another group of MAC Address is same
Position is non-1.In a particular embodiment of the present invention, in order to ensure to all possible MAC Address include packet in, i.e., packet
When by all combinations of 48 bit mac addresses may all include packet in.
And each characteristic information then corresponds to the above-mentioned packet covered in all packets of potential log equipment respectively,
The log equipment with the feature indicated by each characteristic information also cover all potential log equipments.
102nd, described access point broadcasts the broadcast frame, so that specific log equipment initiates network insertion to described access point
Process;The specific log equipment is to receive the broadcast frame, and the networking of the feature indicated with the characteristic information sets
It is standby.Further, feature of the characteristic information specifically for the identification information of instruction log equipment;The specific log equipment
The broadcast frame is specially received, and identification information has the log equipment of the feature of the characteristic information instruction.
Wherein, characteristic information is effective within the broadcast frame corresponding turn-on time.That is, different characteristic informations can be
In the different time periods effectively, within its effective time period, the log equipment for only meeting this feature information can initiate net
Network access procedure.
Then in this step, during access point broadcast broadcast frame, the access point can within a certain period of time, by N number of feature letter
Breath is carried and broadcasted in M broadcast frame, wherein, in each the described N number of characteristic information of carrying in the M broadcast frame
One, N is the integer more than or equal to 1, and M is the integer more than or equal to N;Have N number of characteristic information signified respectively
The set of the log equipment of the feature shown constitutes the complete or collected works of all log equipments.
That is, access point broadcast feature information when, in order to ensure packet in all potential log equipment may all be accessed,
It is recyclable to broadcast the characteristic information for covering all potential log equipments.That is, access point is wide to the equipment circulation that it accesses scope
Broadcast N number of characteristic information.
So, when during broadcast (sites) in turn from one characteristic information of broadcast to another characteristic information of broadcast, access point can basis
Switching condition switches the characteristic information of broadcast in the circulating cycle.Such as, the loading condition of access point, be currently accessed equipment situation, cut
One or more changed in the cycle.
Accordingly, the embodiment of the present invention additionally provides a kind of method of equipment access network, and the method can be used for wireless guarantor
In true network system or other similar Radio Network Systems, as shown in Fig. 2 the method comprises the following steps:
201st, log equipment receives the broadcast frame of access point broadcast, and the broadcast frame includes the feature letter of log equipment
Breath;The characteristic information is used to indicate the feature of log equipment.Specifically, the broadcast frame can be beacon frame.
Wherein, the characteristic information is effective within the broadcast frame corresponding turn-on time.Further, the feature letter
The feature of the identification information specifically for indicating log equipment is ceased, e.g., the MAC for the being designated log equipment ground of the log equipment
Location.More specifically, the feature of the characteristic information instruction is:The value of one or more certain bits of the MAC Address of log equipment
Value indicated by the characteristic information.
Such as, the characteristic information is grouped for described access point according to the potential log equipment of identification information pair of equipment,
And the characteristic information of each packet of correspondence obtained according to the packet, wherein, each characteristic information is used to indicate correspondence packet
The feature that the identification information of equipment has.
202nd, log equipment judges whether itself has the feature indicated by the characteristic information.
In one embodiment of the invention, the characteristic information is indicated for the spy of the identification information of log equipment
Levy;Then this step is corresponded to:Log equipment judges whether the identification information of itself has the feature indicated by the characteristic information.
In one embodiment of the invention, the feature of the characteristic information instruction is:The one of the MAC Address of log equipment
The value of individual or multiple certain bits is the value indicated by the characteristic information;Then this step is corresponded to:The log equipment judges certainly
Whether the value of one or more of certain bits of the MAC Address of body is value indicated by the characteristic information.
In one embodiment of the invention, the feature of the characteristic information instruction is:The one of the MAC Address of log equipment
The value of individual or multiple certain bits, is the value indicated by the characteristic information by the end value obtained by certain operations;Then this step
Correspond to:The log equipment judges the value of one or more of certain bits of own MAC address, by the certain operations
Whether resulting end value is value indicated by the characteristic information.
Wherein, above-mentioned " one or more certain bits " can be access network and log equipment in advance agreement, or
Specified in characteristic information, or configured by other method." certain operations " can also be access point and log equipment
In advance agreement, or carry in characteristic information, or by other method configure.
203rd, when judged result is for sometimes, log equipment initiates network insertion process to described access point.Specific network
Access procedure can enter network process for contention access of the prior art, not repeat herein.
It is appreciated by the above description that the present embodiment is embodiment of the method corresponding with Fig. 1, its difference is to perform master
The difference of body, but both for same flow, do not repeated herein for wherein common term etc..
In order to above method embodiment is expanded on further, enter one so that AP passes through Beacon frame broadcast feature information as an example below
Details in the step explanation embodiment of the present invention.As shown in Figure 3.
301st, AP broadcast broadcast Beacon frames, a subsidiary characteristic information (or is limitation letter in the Beacon frames
Breath).This feature information is used to indicate the feature having of log equipment, only entering with the feature indicated by this feature information
Net equipment (being referred to as STATION, abbreviation STA in 802.11 series standards) allows contention access.In this example, by MAC Address
To distinguish different classes of STA.
In the prior art, MAC Address is 48 fixed bit address, is the equipment that can be networked for the whole world not duplicate allocation
Physical address.Therefore AP and require no knowledge about may access STA specific MAC Address, and only need to all of MAC Address
Classified.
Such as, directly according to the numerical characteristics of a few of MAC Address.Such as, using minimum three, then restrictive condition is respectively
" 000 ", " 001 " ... ..., " 111 " are divided into 8 classes, and described characteristic information is to indicate each class institute in this 8 class MAC Address
The feature having;Or, the result feature that certain summary computing is obtained is carried out according to MAC Address whole digit, this result
Digit is less, such as three, and so all of STA is actual is divided into eight groups.This method is desirable to by all digits
Information is all using upper, and the classification results for obtaining are more uniform.
Hereinafter it is described as a example by MAC Address is divided into 4 classes.
302nd, STA monitors Beacon frames, and judges whether oneself is currently allowed to access according to the characteristic information for receiving
Network and be allowed to broadcast probe request message.
Such as, when the feature that characteristic information is indicated is:Minimum two of MAC Address are 00, then the STA judges the MAC of itself
When minimum two of address are 00, the STA can be with contention access.Otherwise, continue to monitor Beacon, wait meets oneself condition
Beacon frames occur.
303rd, AP determines whether the access of next class STA according to the access situation of STA.Such as, AP is if it find that have
Negligible amounts that the STA of the feature indicated by current characteristic information is networking then allow next group so that channel ratio is more idle
Log equipment access network, that is, change the characteristic information carried in Beacon frames, for example, cause the spy indicated by this feature information
Levy for:Minimum two of MAC Address is 01, it is allowed to which minimum two of MAC Address is 01 log equipment access network.If AP has found
The quantity that is networking of STA of the feature indicated with characteristic information is more so that channel is busy, then next Beacon is still
Setting identical characteristic information.Or AP sets and gives each characteristic information certain hour, switched to after time is up next
Class is accessed, no matter whether the STA with the feature indicated by this feature information has accessed it is over.
Certainly, AP can be allowed with a collection of STA (i.e. with same when Beacon frames are broadcasted in continuous Beacon frames
The STA of the feature indicated by one characteristic information) access, think to permit until AP accesses situation by own load and STA
Perhaps when the STA of other batches has been accessed, the Beacon frames for allowing next group STA to access are switched to;To the last a collection of access
Started the cycle over from first again after end.
By the description of above-described embodiment it is appreciated that Beacon of the AP elder generation's broadcast packets containing characteristic information Restriction0
Message, the STA that Restriction0 is allowed starts contention access.AP is to when this is switched to allows STA of next group to terminate to have
The judgement of oneself.AP can be after the load that this crowd of STA causes reaches certain threshold value, or before threshold value is reached no longer
There is this crowd of STA to access (accessed and be over), or after a regular time section, being switched to allows next group
STA is accessed.After switching, Beacon the insides should include next characteristic information Restriction1.Other characteristic informations with
This analogizes, and starts anew to circulate again after reaching last batch of.Certain threshold is exceeded to the load that AP causes if all of STA
Value, AP can suspend the networking for allowing all STA.
So by way of in batches, it is possible to reduce synchronization requirement accesses the quantity of the STA of the AP, so as to reduce competing
Strive conflict.
As shown in figure 4, a kind of wireless fidelity network system in for the embodiment of the present invention, including each implementation described herein
Access point 10 and log equipment 20 described in example.Wherein, access point 10, for generating and broadcast broadcast frame;The broadcast
Frame includes the characteristic information of log equipment;The characteristic information is used to indicate the feature of log equipment;One or more network
Equipment 20, the broadcast frame for receiving described access point broadcast;Judge whether itself has the spy indicated by the characteristic information
Levy, if so, then initiating network insertion process to described access point.A log equipment 20 is only illustrated in Fig. 4, in specific implementation
Can have in example in multiple log equipment figures and not show.
As shown in figure 5, being a concrete composition schematic diagram of the access point in the embodiment of the present invention, access point 10 includes:
Generation module 100, for generating broadcast frame, the broadcast frame includes the characteristic information of log equipment;The characteristic information is used
In the feature for indicating log equipment;Broadcast module 102, for broadcasting the broadcast frame, so that specific log equipment connects to described
Access point initiates network insertion process;The specific log equipment refers to receive the broadcast frame with the characteristic information
The log equipment of the feature shown.
Specifically, the broadcast frame can be beacon frame.The characteristic information is believed specifically for the mark for indicating log equipment
The feature of breath;The specific log equipment is specially and receives the broadcast frame, and there is identification information the characteristic information to refer to
The log equipment of the feature shown.
Further, the medium access control MAC Address for being designated log equipment of the log equipment.The feature letter
Ceasing the feature for indicating is:The value of one or more certain bits of the MAC Address of log equipment is indicated by the characteristic information
Value, or log equipment MAC Address one or more certain bits value, by the end value obtained by certain operations be the spy
The indicated value of reference breath.
Wherein, the broadcast module 102 is additionally operable within a certain period of time, N number of characteristic information be carried in M broadcast frame
Broadcasted, wherein, each in the M broadcast frame carries one in described N number of characteristic information, N be more than or wait
In 1 integer, M is the integer more than or equal to N;There is the log equipment of the feature indicated by N number of characteristic information respectively
Set constitute the complete or collected works of all log equipments.
As shown in fig. 6, a kind of log equipment in for the embodiment of the present invention, the log equipment 20 includes:Acquisition module
200, the broadcast frame for receiving access point broadcast, the broadcast frame includes the characteristic information of log equipment;The feature letter
Cease the feature for indicating log equipment;Judge module 202, for judging whether the terminal device has the characteristic information
Indicated feature;AM access module 204, for when the judged result of the judge module is to be, being initiated to described access point
Network insertion process.
Wherein, the broadcast frame can be beacon frame.Identification information of the characteristic information specifically for instruction log equipment
Feature;The judge module is specifically for judging whether the identification information of the log equipment has the characteristic information signified
The feature shown.
Further, the mark of the log equipment can be the medium access control MAC Address of log equipment.
The feature that the characteristic information is indicated can be:The value of one or more certain bits of the MAC Address of log equipment is
Value indicated by the characteristic information;Then the judge module 202 is specifically for judging the institute of the MAC Address of the log equipment
Whether the value for stating one or more certain bits is value indicated by the characteristic information;Or
The feature that the characteristic information is indicated is:The value of one or more certain bits of the MAC Address of log equipment, passes through
End value obtained by certain operations is the value indicated by the characteristic information;The judge module 202 is described specifically for judging
The value of one or more of certain bits of the MAC Address of log equipment, be by the end value obtained by the certain operations
The no value indicated by the characteristic information.
The term that is related in said apparatus embodiment and details with it is consistent in preceding method embodiment, do not do herein superfluous
State.
By the description of above-described embodiment, the embodiment of the present invention is by setting the characteristic information of log equipment to potential
Log equipment distinguished so that the equipment of the feature for only being indicated with this feature information can access network accordingly,
The quantity that synchronization requirement accesses the equipment of access point is greatly reduced, so as to reduce competition conflict.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the invention, can not limit the power of the present invention with this certainly
Sharp scope, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.