Nothing Special   »   [go: up one dir, main page]

CN102111850B - Method for selecting lead code and device thereof - Google Patents

Method for selecting lead code and device thereof Download PDF

Info

Publication number
CN102111850B
CN102111850B CN 201010597935 CN201010597935A CN102111850B CN 102111850 B CN102111850 B CN 102111850B CN 201010597935 CN201010597935 CN 201010597935 CN 201010597935 A CN201010597935 A CN 201010597935A CN 102111850 B CN102111850 B CN 102111850B
Authority
CN
China
Prior art keywords
value
sta
pattern
lead code
bss
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201010597935
Other languages
Chinese (zh)
Other versions
CN102111850A (en
Inventor
廖晓强
陈印峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CICT Mobile Communication Technology Co Ltd
Original Assignee
Beijing Northern Fiberhome Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Northern Fiberhome Technologies Co Ltd filed Critical Beijing Northern Fiberhome Technologies Co Ltd
Priority to CN 201010597935 priority Critical patent/CN102111850B/en
Publication of CN102111850A publication Critical patent/CN102111850A/en
Application granted granted Critical
Publication of CN102111850B publication Critical patent/CN102111850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

An embodiment of the invention provides a method for selecting a lead code and a device thereof, and is applied to a basic service set (BSS). The BSS comprises an access point (AP) and a plurality of stations (STAs). The method comprises the following steps that: the AP acquires a first numerical value and a second numerical value, wherein the first numerical value is the number of STAs connectedto the BSS by the lead code in a green field (GF) mode; the second numerical value is the number of STAs connected to the BSS by the lead code in a non-GF mode; a ratio of the first numerical value to the second numerical value is calculated to obtain a first ratio; if the first ratio is greater than or equal to a first preset threshold, the AP establishes a connection only with the STA employingthe lead code in the GF mode, such that all the STAs connected to the BSS transmit data by the lead code in the GF mode. By application of the invention, the transmission of information by the lead code in the GF mode only is guaranteed, when most of the STAs in one BSS are 802.11n devices supporting high throughput (HT).

Description

A kind of method and device of selecting lead code
Technical field
The present invention relates to the wireless access technology field, particularly a kind of method and device of selecting lead code.
Background technology
IEEE (IEEE) now develops into an international academic institution gradually, and its academic activities have been extended to all over the world.Emerging in large numbers of IEEE 802.11 equipment, make WLAN (wireless local area network) develop on an unprecedented scale, 802.11n the appearance of agreement, be the upgrading to 802.11 series, some key technologies that it has adopted the 4G mobile communication are OFDM (OFDM) technology, multiple-input, multiple-output (MIMO) technology, smart antenna and software radio etc. for example.By these technology, make the equipment of 802.11n in indexs such as message transmission rate, transmission reliability, transmission coverages considerable raising arranged.
Referring to Fig. 1, it is the structural representation of existing 802.11n system.In 802.11n, be within a certain particular coverage, and have certain related website (STA) composition Basic Service Set (BSS), usually, STA is associated by access point (AP), has an AP in each BSS, and different BSS interconnects by compartment system (DS).Form an extended service set (ESS) by the interconnective BSS of DS.
The association process of STA and AP normally, AP surveys STA by broadcast beacon frame, and STA is by the existence of passive searching beacon transmissions or utilization " probe request "/" probe response " active probe AP, after this process finishes, utilize " related request "/" associated response " foundation related between STA and the AP, STA receives and dispatches data by AP then.
When STA leaves the BSS at its place, perhaps AP wishes STA is removed from BSS, then can realize by " going association " frame.This removes disassociation frame is not a request, so the counterparty only responds to this frame of receiving.
In each beacon frame, probe request frame, probe response frame, association request frame and association response frame, can comprise " HT ability " field, in this " HT ability " field, comprise one " green field " son field, should " green field " son field be used for representing whether to support to receive HT green field PPDU frame format, this field is generally 1 bit, be set to 0 expression and do not support, arrange 1 and express support for.
In the beacon frame that is sent by AP, probe response frame and association response frame, all can comprise " HT information " field, should comprise one " having non-green field HT STA " field in " HT information " field, this field be used for expression all related HT STA whether all have the green field ability, this field is generally 1 bit, be set to 0 expression all related HT STA all have the green field ability; Be set to 1 and represent that related one or more HT STA do not have the green field ability.
802.11n the elementary cell of the physical layer transmission of system is PLCP protocol Data Unit (PPDU, PLCP Protocol Data Unit, wherein PLCP is physical layer convergence procedure (Physical LayerConvergence Procedure)) frame, each PPDU frame comprises lead code and data two parts.Lead code is the training sequence in the WLAN (wireless local area network), is used for synchronously, channel estimating and automatic gain control etc.The IEEE802.11n standard has been stipulated three kinds of mode of operations of system for the version before the back compatible, i.e. traditional mode, mixed mode (MF) and green field pattern (GF), and these three kinds of patterns are distinguished by lead code.
Particularly, AP is 1 with the bit set of " green field " son field in the HT capable field in the beacon frame that sends broadcasting, waits for that then STA replys.STA is behind the beacon that receives the AP transmission, can be according to oneself supporting the pattern of lead code to reply, if STA supports the lead code of GF pattern, then the bit of " green field " son field in the HT capable field is 1, and the PPDU frame of replying can send with the lead code of GF pattern; The B4 bit is 0 in the HT capable field that STA replys if having, and then the type of this STA has two kinds of situations, and 1. this STA does not support the HT equipment of GF pattern, and this STA PPDU frame of replying can send with the lead code of MF pattern so; 2. this STA is traditional equipment of not supporting HT, and the PPDU that this STA replys very can send with the lead code of traditional mode.
At present, for supporting that high-throughput (HT) is the 802.11n equipment of green field pattern, as transmitter the time, if detect, some is the 802.11n equipment of supporting HT for receiving equipment, another part is not support the equipment of HT such as 802.11a/b/g equipment etc., and launching opportunity works in the MF pattern so; The equipment of not supporting HT of receiving terminal can work in traditional mode, and the HT equipment of receiving terminal then works in the MF pattern because there are not other patterns to select.
In the prior art, the equipment of traditional 802.11a/b/g has been equipment on the verge of being replaced, occupy among most BSS at a 802.11n HT equipment, as long as the existence of a legacy equipment is arranged, transmitter just has to sacrifice the support GF pattern lead code with high-throughput advantage, and the low relatively HT MF lead code of serviceability.
Summary of the invention
The embodiment of the invention provides a kind of method and device of selecting lead code, so that occupy among most BSS at a 802.11nHT equipment, use has the support GF pattern lead code of high-throughput advantage, avoids the low relatively non-GF lead code of serviceability.
The embodiment of the invention provides a kind of method of selecting lead code, is applicable in the BSS, comprises an AP and some STA in the described BSS, and described method comprises:
AP obtains first numerical value and second value, and wherein said first numerical value is the number that is connected to the STA of described BSS with the lead code of GF pattern; Described second value is the number that is connected to the STA of described BSS with the lead code of non-GF pattern;
Calculate the ratio of described first numerical value and second value, obtain first ratio;
If described first ratio is more than or equal to presetting first threshold, then described AP only connects with the STA that adopts GF pattern lead code, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS.
Wherein, described method also comprises: described AP stops the lead code of MF pattern and traditional mode is detected.
Wherein, the described AP step of obtaining first numerical value and second value comprises:
AP makes the value of first counter add 1 after knowing the related described BSS of the lead code that has STA to use the GF pattern; After knowing that the STA that application GF pattern lead code is arranged removes related described BSS, make the value of described first counter subtract 1;
AP makes the value of second counter add 1 after knowing the related described BSS of the lead code that has STA to use non-GF pattern; After knowing that the STA that the non-GF pattern lead code of application is arranged removes related described BSS, make the value of described second counter subtract 1;
In the value of the value of described first counter and described second counter at the fixed time in the section during no change, with the value of described first counter as first numerical value, with the value of described second counter as second value.
Wherein, described AP only comprises with the step that the STA that adopts GF pattern lead code connects:
Described AP current all STA that connected in the described BSS send and remove disassociation frame, to interrupt being connected of all STA and described BSS in the described BSS;
Send broadcast beacon frame, the value that has non-green field HT STA field that the value of the green field son field in the described beacon frame in the HT capable field is put in 1, the HT information field puts 0;
Adopt the STA of GF pattern lead code to set up related connection with all, all adopt GF pattern lead code to send data so that be connected to the STA of described BSS.
Wherein, described method also comprises:
AP obtains third value, and wherein said third value is after calculating first ratio, is connected to the number of the STA of described BSS with the lead code of GF pattern;
Calculate the ratio of described first numerical value and third value, obtain second ratio;
If described first ratio is less than the second default threshold value, then described AP connects with the STA that adopts GF pattern and non-GF pattern lead code, adopts GF pattern lead code or non-GF pattern lead code to send data so that be connected to the STA of described BSS.
Wherein, the described step of obtaining third value comprises:
After calculating first ratio, preserve the currency of first counter as first numerical value;
AP makes the currency of described first counter add 1 after knowing the related described BSS of the lead code that has STA to use the GF pattern; After knowing that the STA that application GF pattern lead code is arranged removes related described BSS, make the currency of described first counter subtract 1;
In the value of described first counter at the fixed time in the section during no change, with the currency of described first counter as third value.
Wherein, described AP and the STA that adopts GF pattern and non-GF pattern lead code connect, and adopt the step of GF pattern or non-GF pattern transmission lead code to comprise so that be connected to the STA of described BSS:
Described AP recovers the detection to MF pattern and traditional mode lead code;
Connect with the STA that adopts GF pattern and non-GF pattern lead code, adopt GF pattern or non-GF pattern to send lead code so that be connected to the STA of described BSS.
The embodiment of the invention also provides a kind of device of selecting lead code, is applicable in the BSS, comprises an AP and some STA in the described BSS, and described device comprises:
The first numerical value acquiring unit is used for AP and obtains first numerical value, and wherein said first numerical value is the number that is connected to the STA of described BSS with the lead code of GF pattern;
The second value acquiring unit is used for obtaining second value, and wherein said second value is the number that is connected to the STA of described BSS with the lead code of non-GF pattern;
The first ratio calculation unit, the ratio for calculating described first numerical value and second value obtains first ratio;
The unit is set up in first connection, and when being used for described first ratio more than or equal to presetting first threshold, described AP only connects with the STA that adopts GF pattern lead code, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS.
Wherein, described device also comprises:
Stop inspection to the unit, be used for notifying described AP to stop the lead code of MF pattern and traditional mode is detected.
Wherein, described first connects and to set up the unit and comprise:
Remove the disassociation frame transmitting element, be used for described AP current all STA that connected in the described BSS and send and remove disassociation frame, to interrupt being connected of all STA and described BSS in the described BSS;
The broadcast frame transmitting element is used for sending broadcast beacon frame, and the value that has non-green field HT STA field that the value of the green field son field in the described beacon frame in the HT capable field is put in 1, the HT information field puts 0;
The connexon unit is used for adopting the STA of GF pattern lead code to set up related connection with all, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS.
Wherein, described device also comprises:
The third value acquiring unit is used for AP and obtains third value, and wherein said third value is after calculating first ratio, is connected to the number of the STA of described BSS with the lead code of GF pattern;
The second ratio calculation unit, the ratio for calculating described first numerical value and third value obtains second ratio;
The unit is set up in second connection, be used at described first ratio during less than default second threshold value, described AP and the STA that adopts GF pattern and non-GF pattern lead code connect, and adopt GF pattern lead code or non-GF pattern lead code to send data so that be connected to the STA of described BSS.
Use the method and apparatus that the embodiment of the invention provides, guaranteed in a BSS, the overwhelming majority is when supporting the 802.11n equipment of HT, only to adopt the lead code of GF pattern to finish transmission of Information.And, stop the lead code of MF pattern and traditional mode is detected by AP, can avoid the troublesome operation that between a plurality of 802.11n lead code kinds, detects automatically, switch, thereby improve the stability of a system, and further improve the efficiency of transmission of system.And, when in a BSS, when having more relatively equipment not support the 802.11n equipment of HT, can return to existing state.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention and technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment and the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of existing 802.11n system;
Fig. 2 is a kind of flow chart of selecting the lead code method according to the embodiment of the invention;
Fig. 3 is based on the flow chart that only arrives conventional state with the recovering state of GF pattern lead code transmitting-receiving data that allows embodiment illustrated in fig. 2;
Fig. 4 is the schematic diagram of the selection lead code of one instantiation according to the present invention;
Fig. 5 is the counter IP kernel that Xilinx company provides;
Fig. 6 is the divider IP kernel that Xilinx company provides;
Fig. 7 is a kind of apparatus structure schematic diagram of selecting lead code according to the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The thinking of the embodiment of the invention is, in a BSS, if the overwhelming majority is to support the 802.11n equipment of HT, then in this BSS, only adopt the lead code of HT GF pattern to finish transmission of Information, avoid the low relatively non-GF lead code of serviceability, thereby improved the efficiency of transmission of system.
Referring to Fig. 2, it is a kind of flow chart of selecting the lead code method according to the embodiment of the invention, and present embodiment is applicable in the BSS, comprises an AP and some STA in the described BSS, and this flow process specifically comprises:
Step 201, AP obtains first numerical value and second value, and wherein said first numerical value is the number that is connected to the STA of described BSS with the lead code of GF pattern; Described second value is the number that is connected to the STA of described BSS with the lead code of non-GF pattern;
Concrete, the step that AP obtains first numerical value and second value can comprise:
AP makes the value of first counter add 1 after knowing the related described BSS of the lead code that has STA to use the GF pattern; After knowing that the STA that application GF pattern lead code is arranged removes related described BSS, make the value of first counter subtract 1; That is to say, whenever the lead code that detects a PPDU frame sends with the GF pattern, and add among this BSS that the value-1 in first counter is then left in value+1 in first counter then;
AP makes the value of second counter add 1 after knowing the related described BSS of the lead code that has STA to use non-GF pattern; After knowing that the STA that the non-GF pattern lead code of application is arranged removes related described BSS, make the value of described second counter subtract 1; That is to say, whenever the lead code that detects a PPDU frame sends with non-GF pattern such as MF pattern or traditional mode, and add this BSS, the value-1 in second counter is then left in value+1 in second counter then;
In the value of the value of first counter and second counter at the fixed time in the section during no change, with the value of first counter as first numerical value, with the value of second counter as second value.
Step 202 is calculated the ratio of first numerical value and second value, obtains first ratio;
Step 203, more than or equal to presetting first threshold, then AP only connects with the STA that adopts GF pattern lead code as if first ratio, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS.
Here, first threshold normally rule of thumb is worth setting, it is mainly used in determining to support that the 802.11n equipment of HT accounts for the ratio of total number of devices, to guarantee in a BSS, the overwhelming majority is that the equipment as 90% is when supporting the 802.11n equipment of HT, only to adopt the lead code of GF pattern to finish transmission of Information when supporting the 802.11n equipment of HT.
Concrete, above-mentioned AP only can comprise with the step that the STA that adopts GF pattern lead code connects:
AP current all STA that connected in the described BSS send and remove disassociation frame, to interrupt being connected of all STA and described BSS in the described BSS;
Send broadcast beacon frame, the value that has non-green field HT STA field that the value of the green field son field in the described beacon frame in the HT capable field is put in 1, the HT information field puts 0;
Adopt the STA of GF pattern lead code to set up related connection with all, all adopt the GF pattern to send lead code so that be connected to the STA of described BSS.Like this, all STA that reenter this BSS can be with the lead code transmitting-receiving data of GF pattern.
So far, guaranteed in a BSS that the overwhelming majority is when supporting the 802.11n equipment of HT, only to adopt the lead code of GF pattern to finish transmission of Information.
Need to prove, if above-mentioned first ratio smaller or equal to presetting first threshold, then the explanation be not the overwhelming majority all be the support HT 802.11n equipment, therefore, can be left intact in this case, still maintain the statusquo.
Need to prove, can also comprise for embodiment illustrated in fig. 2: AP stops the lead code of MF pattern and traditional mode is detected.Like this, can be by the troublesome operation of avoiding between a plurality of 802.11n lead code kinds, detecting automatically, switching, thus improve the stability of a system, and further improved the efficiency of transmission of system.
Need to prove, on basis embodiment illustrated in fig. 2, can also allow and only receive and dispatch the recovering state of data to conventional state with GF pattern lead code, concrete, referring to Fig. 3, it is based on the flow chart that only arrives conventional state with the recovering state of GF pattern lead code transmitting-receiving data that allows embodiment illustrated in fig. 2, specifically can comprise:
Step 301, AP obtains third value, and wherein said third value is after calculating first ratio, is connected to the number of the STA of described BSS with the lead code of GF pattern;
Wherein, the above-mentioned step of obtaining third value can comprise:
After calculating first ratio, preserve the currency of first counter as first numerical value;
AP makes the currency of described first counter add 1 after knowing the related described BSS of the lead code that has STA to use the GF pattern; After knowing that the STA that application GF pattern lead code is arranged removes related described BSS, make the currency of described first counter subtract 1;
In the value of first counter at the fixed time in the section during no change, with the currency of first counter as third value.
Step 302 is calculated the ratio of first numerical value and third value, obtains second ratio;
Step 303, less than the second default threshold value, then described AP connects with the STA that adopts GF pattern and non-GF pattern lead code as if first ratio, adopts GF pattern lead code or non-GF pattern lead code transmission data so that be connected to the STA of BSS.
Wherein, above-mentioned second threshold value normally rule of thumb is worth setting, it is mainly used in determining that how much surplus the 802.11n equipment of the support HT among the current BSS of being connected is also, is not connected to BSS with rough estimate, but the ratio of the 802.11n equipment of not supporting HT in the BSS signal cover.
Wherein, above-mentioned AP and the STA that adopts GF pattern and non-GF pattern lead code connect, and adopt the step of GF pattern or non-GF pattern transmission lead code to comprise so that be connected to the STA of described BSS:
AP recovers the detection to MF pattern and traditional mode lead code;
Connect with the STA that adopts GF pattern and non-GF pattern lead code, adopt GF pattern or non-GF pattern to send lead code so that be connected to the STA of described BSS.Also namely, all operations all reverts on the existing mode of operation.
So far, when in a BSS, when having more relatively equipment (concrete quantity or ratio can be determined according to the actual requirements) not support the 802.11n equipment of HT, can return to existing state.
Below in conjunction with an instantiation, the present invention is elaborated again.
Referring to Fig. 4, it is the schematic diagram of the selection lead code of one instantiation according to the present invention.Set in advance a statistics module in the present embodiment, comprise first counter (Counter1) 401, first counter (Counter2) 402, switch 403, divider (Divider 404, timer (Time) 405 in this module;
Initial condition switch 403 places a end, like this, allow the value of Counter1 401 as dividend, allow the value of Counter2 402 as divisor, counter Counter1 401, Counter2 402 and Timer 405 are in standby condition, Divider 404 is in not enabled state.
Whenever the lead code that detects a PPDU frame sends with the GF pattern, and add among this BSS, then then Counter1 value-1 is left in the value among the Counter1+1; Whenever the lead code that detects a PPDU frame sends with non-GF pattern such as HT MF pattern or traditional mode, and add this BSS, then then Counter2 value-1 is left in the value among the Counter2+1.
After each STA adds or leaves, all can give 405 1 reset signals of Timer, Timer is picked up counting, in the section as when not having counter within the 360s again and not having numerical value and change, then Divider 404 begins computings at the fixed time.In the present embodiment, be after the each numerical value of Counter1 and Counter2 changes, give signal of Timer respectively, so that Timer picks up counting; In other possible embodiment, also can be Counter1 and Counter2 all be connected to one or, be connected to Timer by this or door, like this, no matter Counter1 still is that the numerical value of Counter2 changes, the capital is triggered Timer and is picked up counting, also have a kind of possible embodiment to be, when the upper layer application of AP knows that the value of Counter1 or Counter2 sends variation, directly trigger Timer by the upper layer application of AP and pick up counting, as seen, in this article, as long as can trigger Timer, the mode to concrete triggering Timer does not limit.
Calculate the ratio of Counter1 and Counter2, and this ratio is compared as first ratio and first threshold, getting first threshold in the present embodiment is 8;
If any operation is not taked in Counter1/Counter2<8;
If Counter1/Counter2 〉=8, then AP only connects with the STA that adopts GF pattern lead code, all adopt the GF pattern to send lead code so that be connected to the STA of BSS, concrete, the STA that AP has connected in all BSS sends and removes disassociation frame, and then broadcast beacon frame, in this broadcast beacon frame except being 1 with " green field " son field set in the HT capable field, the pressure of " having non-green field HT STA " in also will the HT information field is set to 0, be equivalent to interrupt to adopt the connection of the STA of GF pattern like this, guaranteed that all STA that can adopt the GF pattern send the lead code of GF pattern.
Afterwards, further, Divider can send (reset) signal that resets to MF detection module 408 and the traditional mode detection module 409 among the AP, so that above-mentioned MF detection module 408 and traditional mode detection module 409 are reset to initial condition, and send a signal to clock unit clk 406, make the clock end of clock unit clk 406 only to GF detection module clock signal, thereby close the clock signal of MF detection module 408 and traditional mode detection module 409.So far, MF detection module 408 and traditional mode detection module 409 are closed.All STA that reenter this BSS can namely make the STA that is connected to BSS adopt GF pattern lead code to send data with the lead code transmitting-receiving data of GF pattern like this.
After the STA that is connected to BSS adopted GF pattern lead code to send data, with the value zero clearing of Counter2402 and Divider 404, the Counter2 clock enabled to put low, thereby closes Counter2.
Then, the value of Counter1 is sent into Divider, switch places b end, like this, makes the current value of Counter1 as dividend.
Afterwards, if the lead code that detects a PPDU frame again sends with the GF pattern, and add among this BSS, then then Counter1 value-1 is left in the value among the Counter1+1, and at this moment the currency of Counter1 being designated as Counter1 ' is third value.After each STA adds or leaves, all can give 405 1 reset signals of Timer, Timer is picked up counting, in the section as when not having counter within the 360s again and not having numerical value and change, Divider 404 begins computings at the fixed time.
Calculate the ratio of Counter1 and Counter1 ', and this ratio is compared as second ratio and second threshold value, getting second threshold value in the present embodiment is 2;
If any operation is not taked in Counter1/Counter1 ' 〉=2;
If Counter1/Counter1 '<2, then AP connects with the STA that adopts MF pattern lead code, adopts GF pattern lead code or non-GF pattern lead code to send data so that be connected to the STA of BSS.Need to prove that AP adopts MF pattern lead code to get final product the STA of compatible various lead code forms.Concrete, AP carries out a reset operation, recovers the detection to MF pattern and traditional mode lead code; That is to say, AP allows MF detection module 408 and traditional mode detection module 409 open again and executable operations, like this, just can connect with the STA that adopts GF pattern and non-GF pattern lead code, adopt GF pattern or non-GF pattern to send lead code so that be connected to the STA of described BSS.Also namely, make GF detection module 407, MF detection module 408 and traditional mode detection module 409 all in running order, all operations all reverts on the existing mode of operation.
So far, guaranteed in a BSS that the overwhelming majority is when supporting the 802.11n equipment of HT, only to adopt the lead code of GF pattern to finish transmission of Information.And, stop the lead code of MF pattern and traditional mode is detected by AP, can avoid the troublesome operation that between a plurality of 802.11n lead code kinds, detects automatically, switch, thereby improve the stability of a system, and further improve the efficiency of transmission of system.And, when in a BSS, when having more relatively equipment not support the 802.11n equipment of HT, can return to existing state.
For embodiment illustrated in fig. 4, can there be multiple hardwares to realize, for example Xilinx CORE Generator provides IP (Intellectual Property) nuclear of Counter counter and Divider divider.Can take full advantage of on the residue sheet of FPGA resource like this and finish above function, even there is not unnecessary resources of chip also can finish above-mentioned functions by the chip product of low side for distributing.
Referring to Fig. 5, it is the counter IP kernel (Counter ip CORE) that Xilinx company provides, and the UP port can be controlled Counter and do plus and minus calculation among Fig. 5, when putting a high position is to do+1 computing, is-1 computing when putting low level.The SCLR port is synchronous zero clearing, and the CLK port connects clock input signal, and CE port input clock enables, LOAD signal controlling Counter output, and the L port is data input pin, the Q port is data output end.
Referring to Fig. 6, it is the divider IP kernel (Divider ip CORE) that Xilinx company provides, among Fig. 6, SCLR is synchronous zero clearing, and CE is that clock enables, and CLK is the clock input, rising edge triggers, DIVIDEND is divisor, and DIVISOR is dividend, and RFD is a ready signal, after the computing of divider is finished, it can put high bit representation can import new data execution computing, and QUOTIENT is the quotient part of result of division, and FRACTIONAL is the fractional part of result of division.
When carrying out the compare operation of scheme shown in Figure 4, the value that can directly read among the QUOTIENT compares.
Need to prove that in the embodiment of the invention, to realizing that hardware embodiment illustrated in fig. 4 does restriction, any hardware of above-mentioned functions of can realizing all not can be used for the present invention.
The embodiment of the invention also provides a kind of device of selecting lead code, is applicable in the BSS, comprises an AP and some STA in the described BSS, and referring to Fig. 7, described device comprises:
The first numerical value acquiring unit 701 is used for AP and obtains first numerical value, and wherein said first numerical value is the number that is connected to the STA of described BSS with the lead code of GF pattern;
Second value acquiring unit 702 is used for obtaining second value, and wherein said second value is the number that is connected to the STA of described BSS with the lead code of non-GF pattern;
The first ratio calculation unit 703, the ratio for calculating described first numerical value and second value obtains first ratio;
Unit 704 is set up in first connection, and when being used for described first ratio more than or equal to presetting first threshold, described AP only connects with the STA that adopts GF pattern lead code, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS.
Said apparatus can also comprise: stop inspection to the unit, be used for notifying described AP to stop the lead code of MF pattern and traditional mode is detected.
Above-mentioned first connection is set up unit 704 and can specifically be comprised:
Remove the disassociation frame transmitting element, be used for described AP current all STA that connected in the described BSS and send and remove disassociation frame, to interrupt being connected of all STA and described BSS in the described BSS;
The broadcast frame transmitting element is used for sending broadcast beacon frame, and the value that has non-green field HT STA field that the value of the green field son field in the described beacon frame in the HT capable field is put in 1, the HT information field puts 0;
The connexon unit is used for adopting the STA of GF pattern lead code to set up related connection with all, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS.
Said apparatus can also comprise:
The third value acquiring unit is used for AP and obtains third value, and wherein said third value is after calculating first ratio, is connected to the number of the STA of described BSS with the lead code of GF pattern;
The second ratio calculation unit, the ratio for calculating described first numerical value and third value obtains second ratio;
The unit is set up in second connection, be used at described first ratio during less than default second threshold value, described AP and the STA that adopts GF pattern and non-GF pattern lead code connect, and adopt GF pattern lead code or non-GF pattern lead code to send data so that be connected to the STA of described BSS.
As seen, use the device that the embodiment of the invention provides, guaranteed in a BSS, the overwhelming majority is when supporting the 802.11n equipment of HT, only to adopt the lead code of GF pattern to finish transmission of Information.And, stop the lead code of MF pattern and traditional mode is detected by AP, can avoid the troublesome operation that between a plurality of 802.11n lead code kinds, detects automatically, switch, thereby improve the stability of a system, and further improve the efficiency of transmission of system.And, when in a BSS, when having more relatively equipment not support the 802.11n equipment of HT, can return to existing state.
For device embodiment, because it is substantially similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Need to prove, in this article, relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or in proper order between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.Do not having under the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the said method execution mode is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, here alleged storage medium, as: ROM/RAM, magnetic disc, CD etc.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (10)

1. a method of selecting lead code is applicable in the BSS, comprises an AP and some STA in the described BSS, it is characterized in that described method comprises:
AP obtains first numerical value and second value, and wherein said first numerical value is the number that is connected to the STA of described BSS with the lead code of GF pattern; Described second value is the number that is connected to the STA of described BSS with the lead code of non-GF pattern;
Calculate the ratio of described first numerical value and second value, obtain first ratio;
If described first ratio is more than or equal to presetting first threshold, then described AP only connects with the STA that adopts GF pattern lead code, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS;
The step that described AP obtains first numerical value and second value comprises:
AP makes the value of first counter add 1 after knowing the related described BSS of the lead code that has STA to use the GF pattern; After knowing that the STA that application GF pattern lead code is arranged removes related described BSS, make the value of described first counter subtract 1;
AP makes the value of second counter add 1 after knowing the related described BSS of the lead code that has STA to use non-GF pattern; After knowing that the STA that the non-GF pattern lead code of application is arranged removes related described BSS, make the value of described second counter subtract 1;
In the value of the value of described first counter and described second counter at the fixed time in the section during no change, with the value of described first counter as first numerical value, with the value of described second counter as second value.
2. method according to claim 1 is characterized in that, described method also comprises: described AP stops the lead code of MF pattern and traditional mode is detected.
3. method according to claim 1 is characterized in that, described AP only comprises with the step that the STA that adopts GF pattern lead code connects:
Described AP current all STA that connected in the described BSS send and remove disassociation frame, to interrupt being connected of all STA and described BSS in the described BSS;
Send broadcast beacon frame, the value that has non-green field HT STA field that the value of the green field son field in the described beacon frame in the HT capable field is put in 1, the HT information field puts 0;
Adopt the STA of GF pattern lead code to set up related connection with all, all adopt GF pattern lead code to send data so that be connected to the STA of described BSS.
4. method according to claim 2 is characterized in that, described method also comprises:
AP obtains third value, and wherein said third value is after calculating first ratio, is connected to the number of the STA of described BSS with the lead code of GF pattern;
Calculate the ratio of described first numerical value and third value, obtain second ratio;
If described first ratio is less than the second default threshold value, then described AP connects with the STA that adopts GF pattern and non-GF pattern lead code, adopts GF pattern lead code or non-GF pattern lead code to send data so that be connected to the STA of described BSS.
5. method according to claim 4 is characterized in that, the described step of obtaining third value comprises:
After calculating first ratio, preserve the currency of first counter as first numerical value;
AP makes the currency of described first counter add 1 after knowing the related described BSS of the lead code that has STA to use the GF pattern; After knowing that the STA that application GF pattern lead code is arranged removes related described BSS, make the currency of described first counter subtract 1;
In the value of described first counter at the fixed time in the section during no change, with the currency of described first counter as third value.
6. method according to claim 4 is characterized in that, described AP and the STA that adopts GF pattern and non-GF pattern lead code connect, and adopts the step of GF pattern or non-GF pattern transmission lead code to comprise so that be connected to the STA of described BSS:
Described AP recovers the detection to MF pattern and traditional mode lead code;
Connect with the STA that adopts GF pattern and non-GF pattern lead code, adopt GF pattern or non-GF pattern to send lead code so that be connected to the STA of described BSS.
7. a device of selecting lead code is applicable in the BSS, comprises an AP and some STA in the described BSS, it is characterized in that described device comprises:
The first numerical value acquiring unit is used for making AP obtain first numerical value, and wherein said first numerical value is the number that is connected to the STA of described BSS with the lead code of GF pattern;
The second value acquiring unit is used for making AP obtain second value, and wherein said second value is the number that is connected to the STA of described BSS with the lead code of non-GF pattern;
The first ratio calculation unit, the ratio for calculating described first numerical value and second value obtains first ratio;
The unit is set up in first connection, and when being used for described first ratio more than or equal to presetting first threshold, described AP only connects with the STA that adopts GF pattern lead code, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS;
The step that described AP obtains first numerical value and second value comprises:
AP makes the value of first counter add 1 after knowing the related described BSS of the lead code that has STA to use the GF pattern; After knowing that the STA that application GF pattern lead code is arranged removes related described BSS, make the value of described first counter subtract 1;
AP makes the value of second counter add 1 after knowing the related described BSS of the lead code that has STA to use non-GF pattern; After knowing that the STA that the non-GF pattern lead code of application is arranged removes related described BSS, make the value of described second counter subtract 1;
In the value of the value of described first counter and described second counter at the fixed time in the section during no change, with the value of described first counter as first numerical value, with the value of described second counter as second value.
8. device according to claim 7 is characterized in that, described device also comprises:
Stop inspection to the unit, be used for notifying described AP to stop the lead code of MF pattern and traditional mode is detected.
9. device according to claim 7 is characterized in that, described first connection is set up the unit and comprised:
Remove the disassociation frame transmitting element, be used for described AP current all STA that connected in the described BSS and send and remove disassociation frame, to interrupt being connected of all STA and described BSS in the described BSS;
The broadcast frame transmitting element is used for sending broadcast beacon frame, and the value that has non-green field HT STA field that the value of the green field son field in the described beacon frame in the HT capable field is put in 1, the HT information field puts 0;
The connexon unit is used for adopting the STA of GF pattern lead code to set up related connection with all, all adopts GF pattern lead code to send data so that be connected to the STA of described BSS.
10. device according to claim 8 is characterized in that, described device also comprises:
The third value acquiring unit is used for AP and obtains third value, and wherein said third value is after calculating first ratio, is connected to the number of the STA of described BSS with the lead code of GF pattern;
The second ratio calculation unit, the ratio for calculating described first numerical value and third value obtains second ratio;
The unit is set up in second connection, be used at described first ratio during less than default second threshold value, described AP and the STA that adopts GF pattern and non-GF pattern lead code connect, and adopt GF pattern lead code or non-GF pattern lead code to send data so that be connected to the STA of described BSS.
CN 201010597935 2010-12-21 2010-12-21 Method for selecting lead code and device thereof Active CN102111850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010597935 CN102111850B (en) 2010-12-21 2010-12-21 Method for selecting lead code and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010597935 CN102111850B (en) 2010-12-21 2010-12-21 Method for selecting lead code and device thereof

Publications (2)

Publication Number Publication Date
CN102111850A CN102111850A (en) 2011-06-29
CN102111850B true CN102111850B (en) 2013-09-04

Family

ID=44175835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010597935 Active CN102111850B (en) 2010-12-21 2010-12-21 Method for selecting lead code and device thereof

Country Status (1)

Country Link
CN (1) CN102111850B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2830366A1 (en) 2013-07-23 2015-01-28 Thomson Licensing Method of management of a wireless interface of a device and corresponding wireless device
WO2015127616A1 (en) 2014-02-27 2015-09-03 华为技术有限公司 Wireless local area network data transmission method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322333A (en) * 2006-02-17 2008-12-10 索尼株式会社 Radio-communication device and radio-communication method
CN101569231A (en) * 2006-12-28 2009-10-28 富士通株式会社 Wireless communication system, base station, and random access channel transmission method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7558537B2 (en) * 2005-06-07 2009-07-07 Broadcom Corporation Modified preamble for programmable transmitter
US8081687B2 (en) * 2005-11-11 2011-12-20 Broadcom Corporation Received signal determination based upon frame classification

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322333A (en) * 2006-02-17 2008-12-10 索尼株式会社 Radio-communication device and radio-communication method
CN101569231A (en) * 2006-12-28 2009-10-28 富士通株式会社 Wireless communication system, base station, and random access channel transmission method

Also Published As

Publication number Publication date
CN102111850A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN108243430B (en) Beam management information configuration and processing method, terminal and base station
CN105637908B (en) The system and method for accessing figure and application for wireless network
CN103391576B (en) Reporting method and device for reference signal receiving power
CN104854900B (en) Measurement method, user equipment, the network equipment and the system of wireless network KPI
CN102882612A (en) Cell measuring method, cell resource sharing method and relevant equipment
CN111162827B (en) Beam management method, beam management device, network side equipment, terminal and storage medium
CN108810955B (en) A kind of configuration method, node and the terminal at measurement interval
CN103458446A (en) Method and device for removing measurement conflict
CN106385675A (en) Multi-card multi-standby single-pass mobile terminal paging indication receiving method and apparatus thereof
CN104301866A (en) Method and device for position guidance based on wireless signal quality and terminals
CN103368625B (en) The control method of communication terminal and signal transmitting and receiving thereof and device
KR102016866B1 (en) Signal Processing Method and Related Devices
CN105554819A (en) Data transmission method and device and mobile terminal
CN105704770A (en) Method and apparatus for intelligent access of wireless network
CN105848235A (en) Communication control method and device
CN109121187A (en) A kind of business transmitting method, equipment and computer readable storage medium
CN103856959A (en) Wireless local area network quality monitoring method, device and system
CN102111850B (en) Method for selecting lead code and device thereof
CN105657711B (en) A kind of method for connecting network and electronic equipment
CN111787542A (en) Service data transmission method, device, storage medium and terminal equipment
CN108271236A (en) A kind of method, apparatus and system for accessing cell
CN105578567A (en) Network scanning method and terminal
CN101902264B (en) Control method of smart antenna in 802.11 wireless communications
CN105490829A (en) Message transmission control methods and apparatuses, and network functions virtualization system
CN108347289B (en) Interference coordination method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200201

Address after: 430073 Hubei province Wuhan Dongxin East Lake high tech Development Zone, Road No. 5

Patentee after: Wuhan Hongxin Telecommunication Technologies Co.,Ltd.

Address before: 100085, building 1, tower 5, East Road, Haidian District, Beijing

Patentee before: Beifang Fenghuo Tech Co., Ltd., Beijing

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 430205 Hubei city of Wuhan province Jiangxia Hidden Dragon Island Tan lake two Road No. 1

Patentee after: CITIC Mobile Communication Technology Co., Ltd

Address before: 430073 Hubei province Wuhan Dongxin East Lake high tech Development Zone, Road No. 5

Patentee before: Wuhan Hongxin Telecommunication Technologies Co.,Ltd.

CP03 Change of name, title or address
CP01 Change in the name or title of a patent holder

Address after: 430205 No.1 tanhu 2nd Road, Canglong Island, Jiangxia District, Wuhan City, Hubei Province

Patentee after: CITIC Mobile Communication Technology Co.,Ltd.

Address before: 430205 No.1 tanhu 2nd Road, Canglong Island, Jiangxia District, Wuhan City, Hubei Province

Patentee before: CITIC Mobile Communication Technology Co., Ltd

CP01 Change in the name or title of a patent holder