CN104797008A - Data transmission method through one-way transparent relay access point - Google Patents
Data transmission method through one-way transparent relay access point Download PDFInfo
- Publication number
- CN104797008A CN104797008A CN201510226231.9A CN201510226231A CN104797008A CN 104797008 A CN104797008 A CN 104797008A CN 201510226231 A CN201510226231 A CN 201510226231A CN 104797008 A CN104797008 A CN 104797008A
- Authority
- CN
- China
- Prior art keywords
- access point
- transparent relay
- way transparent
- relay access
- address
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004891 communication Methods 0.000 claims abstract description 6
- 238000011144 upstream manufacturing Methods 0.000 claims description 41
- 230000007704 transition Effects 0.000 claims description 21
- 238000012546 transfer Methods 0.000 claims description 17
- 230000002776 aggregation Effects 0.000 claims description 10
- 238000004220 aggregation Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 7
- 241001269238 Data Species 0.000 claims description 6
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000006116 polymerization reaction Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 230000003068 static effect Effects 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/02—Access restriction performed under specific conditions
- H04W48/06—Access restriction performed under specific conditions based on traffic conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
- H04W28/082—Load balancing or load distribution among bearers or channels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention relates to a data transmission method through an one-way transparent relay access point and aims to solve the problems that according to an existing relay access point, users' throughput capacity is low, terminal throughput capacities are unbalanced and the relay access point is not compatible with existing management strategy of WLAN. The one-way transparent relay access point comprises a first wireless network card communicating with a wireless accessing point and a second wireless network card communicating with a secondary terminal. The method includes setting the first wireless network card as a mixed mode, and realizing the transparency of the wireless access point by a special address converting strategy. Since the first wireless network card and the second wireless network card are capable of operating in multiple non-overlapping communication channels simultaneously, the number of the terminals of each communication channel is decreased greatly, and the throughput capacity of each user is increased. Owing to the transparency of the one-way transparent relay access point corresponding to the wireless access point, the compatibility with the existing WLAN management strategy is guaranteed.
Description
Technical field
The invention belongs to WLAN (wireless local area network) field, be specifically related to a kind of method utilizing one-way transparent relay access point to carry out transfer of data.
Background technology
Although WLAN is widely used in, each is local, every field, and in much large-scale public arena, the deployment of WAP (wireless access point) and AP is still more sparse.Because public WAP (wireless access point) is mostly by certain unit or organize unified plan, in order to cover maximum area with minimum cost, the density that WAP (wireless access point) is disposed can be lower.When the user in a WLAN is less, the throughput of user is acceptable, but there will be a lot of user in actual life and concentrate the phenomenon appearing at certain place, and now WLAN just there will be overload phenomenon, has a strong impact on throughput.Unfortunately, due to the mobility of user, the when and where that overload WLAN occurs is difficult to determine.
At present, in a lot of public arena, still available free channel can use.One of reason is that the density ratio that WAP (wireless access point) is disposed is lower.Two of reason is, although at traditional 2.4GHz wave band, only have three non-overlapped channels to use, the 5GHz wave band risen, the quantity of non-overlapped channel is more than 20 simultaneously.Now, IEEE 802.11ac mostly supported by the wireless device of new issue, and it just operates on 5GHz wave band, and is in the popularization stage.So, in a lot of public arena, especially on 5GHz wave band, also have many idle channels to use.Under normal circumstances, on one channel, its MAC bandwidth capacity is very limited in WLAN work, when a lot of terminal crowded in a WLAN time, the getable bandwidth of each terminal will significantly reduce.Although frame aggregation and block affirmation mechanism equivalently can increase throughput, their application in reality are little.Clearly, will provide better bandwidth capacity for these terminals, the method for a simple, intuitive is exactly use as far as possible many channels.For realizing this target in reality, often need to dispose more WAP (wireless access point), but to dispose not only cost high for static state, and can not solve because the problem of concentrated caused accidental overload WLAN is put in a large number of users not timing erratically.Solve accidental overload WLAN problem, need to support dynamic deployment way.
Mobile wireless access point can be adopted to carry out Dynamical Deployment, but because the back haul link of mobile wireless access point is generally mobile communications network, its limited bandwidth capacity, and be charge, so be not suitable for providing in public free access at a high speed.
In addition, existing part wireless access point device also supports repeater mode, but adopts the mode of relay wireless access point Dynamical Deployment to have following shortcoming:
1. this relay wireless access point once forwards each frame, and efficiency is too low.If the words of simply carrying out frame aggregation can cause the unfairness of uplink traffic between terminal.
2. for common WAP (wireless access point), this relay wireless access point is only equivalent to an ordinary terminal, its getable downlink bandwidth be also only equivalent to the downlink bandwidth that an ordinary terminal obtains, and this downlink bandwidth is shared by the link terminal belonging to this relay wireless access point again, so the downlink throughput capacity of arbitrary link terminal is all less than ordinary terminal, which results in the unfair problem of downlink traffic between ordinary terminal and link terminal.
3. in now a lot of WLAN, there are certain control measures, these control measures or based on user role, or based on address (IP address or MAC Address), to avoid the abuse of user, to go beyond one's commission, also can be used for traffic monitoring, charging etc.Because existing relay wireless access point does not have the feature of transparent access, change the access relation between link terminal and common WAP (wireless access point), therefore will affect existing WLAN management strategy.
In sum, for solving the problem of accidental overload WLAN preferably, the difficulty overcome is needed to have: to improve the throughput of each user, ensure the fairness of throughput between terminal, do not affect the existing management strategy of WLAN.
Summary of the invention
Technical problem to be solved by this invention is: improve the throughput of each user, ensure the fairness of throughput between terminal, do not affect the existing management strategy of WLAN.
For solving the problems of the technologies described above, the present invention proposes a kind of method utilizing one-way transparent relay access point to carry out transfer of data.
The present invention utilizes one-way transparent relay access point to carry out the method for transfer of data, and described one-way transparent relay access point comprises the first wireless network card of communicating with WAP (wireless access point) and the second wireless network card with secondary terminal communication, and described method comprises:
Arranging described first wireless network card is promiscuous mode;
When carrying out downlink data transmission, described one-way transparent relay access point utilizes described first wireless network card to receive all downlink datas of described WAP (wireless access point) transmission, be that the downlink data of secondary terminal address carries out address transition under this one-way transparent relay access point to receiver address, sent the address that address transition is the second wireless network card, by the second wireless network card, the downlink data after address transition is forwarded to secondary terminal;
When carrying out transmitting uplink data, described one-way transparent relay access point utilizes described second wireless network card to receive to send address for secondary terminal address and receiver address is the upstream data of the second wireless network card address, then the receiver address of described upstream data is converted to the address of WAP (wireless access point), by the first wireless network card, the upstream data after address transition is forwarded to WAP (wireless access point).
Further, when described one-way transparent relay access point receives the access request of new secondary terminal, judge whether that the secondary terminal allowing this new accesses this one-way transparent relay access point by refusal access conditions:
If this one-way transparent relay access point meets described refusal access conditions, then refuse the access request of this new secondary terminal;
Otherwise, allow this new secondary terminal to access this one-way transparent relay access point, and be this new secondary terminal distribution IP address by described WAP (wireless access point).
Further, described refusal access conditions is:
Wherein, m is the sliding average enlivening the quantity of secondary terminal associated with this one-way transparent relay access point in this timing statistics window; N is the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window, and this terminal comprises one-level terminal and secondary terminal; H is the number of one-way transparent relay access point; β is terminal proportionality coefficient.
Further, in this timing statistics window, in this WLAN (wireless local area network), the sliding average n of the quantity of all active terminals is calculated by following formula:
n=n"(1-α)+n'α
" be the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in last time timing statistics window, n' is the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window, and α is moving average coefficient for wherein, n.
Further, the sliding average m enlivening the quantity of secondary terminal associated with this one-way transparent relay access point in this timing statistics window is calculated by following formula:
m=m"(1-α)+m'α
Wherein, m " is the sliding average enlivening the quantity of secondary terminal that last time associates with this one-way transparent relay access point in timing statistics window; M' is the quantity enlivening secondary terminal associated with this one-way transparent relay access point in this timing statistics window, and α is moving average coefficient.
Further, this timing statistics window is obtained by following formula:
T
wnd=max{T
min,n"T
unit}
Wherein, T
wndfor this timing statistics window, n " be the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in last time timing statistics window, T
unitfor unit time window, T
minfor timing statistics window minimum.
Further, be buffered in the message queue of one-way transparent relay access point by the upstream data that the second wireless network card receives;
When the upstream data of described one-way transparent relay access point forwarding cache, frame aggregation is utilized respectively to receive all frames once from all secondary terminals once forwarding repeating; If desired the subframe upper limit that the frame number be polymerized can comprise more than 1 aggregate frame, then form multiple aggregate frame, utilizes short interFrameGap to separate between adjacent polymeric frame.
Further, when in described message queue, the upstream data amount of buffer memory reaches upstream data amount predetermined value, described one-way transparent relay access point suppresses the message of upstream rate to secondary terminal broadcast by the second unlimited network interface card.
Further, undertaken alternately, using the receiver address of predetermined reserved address as mutual frame in reciprocal process by the first wireless network card between one-way transparent relay access point.
The beneficial effect that the method that the present invention utilizes one-way transparent relay access point to carry out transfer of data produces is as follows:
First, owing to one-way transparent relay access point being provided with the first wireless network card and the second wireless network card, its back haul link, by being wirelessly connected in WAP (wireless access point), achieves Dynamical Deployment.And first wireless network card and the second wireless network card can be operated on non-overlapped multiple channels simultaneously, the terminal quantity on each channel significantly reduces, and improves the throughput of each user.
Secondly, although the transmission address of downlink data is the address of WAP (wireless access point), receiver address is the address of secondary terminal, but because the first wireless network card is promiscuous mode, therefore the first wireless network card can receive all downlink datas that WAP (wireless access point) sends, one-way transparent relay access point is that the downlink data of secondary terminal address carries out address transition under this one-way transparent relay access point to receiver address, sent the address that address transition is the second wireless network card, then by the second wireless network card, downlink data is sent to secondary terminal.Can find out, although be provided with one-way transparent relay access point, but the receiver address of downlink data is still secondary terminal address, and be not the address of the first wireless network card, directly associate the same with WAP (wireless access point) as all secondary terminals, so relative to WAP (wireless access point), this one-way transparent relay access point is transparent.When transmit ascending data, the receiver address of the upstream data that secondary terminal sends is the address of the second wireless network card, after one-way transparent relay access point receives upstream data by the second wireless network card, the receiver address of upstream data is changed, be converted to the address of WAP (wireless access point), then upstream data be sent to WAP (wireless access point) by the first wireless network card.Can find out, one-way transparent relay access point, relative to secondary terminal, is equivalent to a common WAP (wireless access point).As from the foregoing, one-way transparent relay access point has one-way transparent, wherein so-called " unidirectional " down direction of referring to.
Because relay wireless access point existing in background technology does not have the transparency relative to WAP (wireless access point), so existing relay wireless access point is equivalent to an one-level terminal, due to general not only one of the secondary terminal under this existing relay wireless access point, so secondary terminal under this existing relay wireless access point and the allocated bandwidth between one-level terminal unfair, cause the unjustness of throughput between terminal.And one-way transparent relay access point of the present invention is for the transparency of WAP (wireless access point), make allocated bandwidth between all terminals (comprising one-level terminal and secondary terminal) of associating with this WAP (wireless access point) possess fairness, ensure that the fairness of throughput between terminal.
Finally, because one-way transparent relay access point has one-way transparent, do not change the access relation between secondary terminal and WAP (wireless access point), therefore one-way transparent relay access point does not affect the management strategy of existing WLAN, the deployment of one-way transparent relay access point does not need to do any transformation to WAP (wireless access point) and secondary terminal, can realize flexible deployment.
Accompanying drawing explanation
Can understanding the features and advantages of the present invention clearly by reference to accompanying drawing, accompanying drawing is schematic and should not be construed as and carry out any restriction to the present invention, in the accompanying drawings:
Fig. 1 shows the fundamental diagram of one-way transparent relay access point;
Fig. 2 shows the building-block of logic of one-way transparent relay access point.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the present invention is described in detail.
The invention provides a kind of method utilizing one-way transparent relay access point to carry out transfer of data, as shown in Figure 1, described one-way transparent relay access point comprises the first wireless network card of communicating with WAP (wireless access point) and the second wireless network card with secondary terminal communication, and described method comprises:
Arranging described first wireless network card is promiscuous mode;
When carrying out downlink data transmission, one-way transparent relay access point utilizes the first wireless network card to receive all downlink datas of WAP (wireless access point) transmission, be that under this one-way transparent relay access point, the downlink data of secondary terminal address carries out address transition by receiver address, sent the address that address transition is the second wireless network card, by the second wireless network card, the downlink data after address transition is sent to secondary terminal;
When carrying out transmitting uplink data, one-way transparent relay access point utilizes the second wireless network card to receive to send address for secondary terminal address and receiver address is the upstream data of the second wireless network card address, then the receiver address of this upstream data is converted to the address of WAP (wireless access point), this upstream data is sent to WAP (wireless access point) by the first wireless network card.
One-way transparent relay access point English is expressed as One-way Transparent RelayAccess Point, is called for short OTRAP.The English of WAP (wireless access point) is Access Point, is called for short AP.In the present invention, definition and the terminal of WAP (wireless access point) direct communication are one-level terminal, and being defined by the terminal that one-way transparent relay access point communicates with WAP (wireless access point) is secondary terminal.So-called " promiscuous mode " refers to that a machine can receive all data flow on place channel or link, no matter and whether its destination address is it.So when the first wireless network card being set to promiscuous mode in the present invention, the first wireless network card can receive all downlink datas that WAP (wireless access point) sends.
One-way transparent relay access point of the present invention is provided with the first wireless network card and the second wireless network card, but does not limit the number of the first wireless network card and the second wireless network card.Because its back haul link is by being wirelessly connected in WAP (wireless access point), Dynamical Deployment can be realized.In addition, the first wireless network card and the second wireless network card can be operated on non-overlapped channel simultaneously, and the terminal quantity on each channel significantly reduces, and improves the throughput of each user.
Although the transmission address of downlink data is the address of WAP (wireless access point), receiver address is the address of secondary terminal, but because the first wireless network card is promiscuous mode, therefore the first wireless network card can receive all downlink datas that WAP (wireless access point) sends, then be that the downlink data of secondary terminal address carries out address transition under this one-way transparent relay access point to receiver address, sent the address that address transition is the second wireless network card, then by the second wireless network card, downlink data is sent to secondary terminal.Can find out, although be provided with one-way transparent relay access point, and one-way transparent relay access point plays the effect of relaying, but the receiver address of downlink data is still secondary terminal address, and be not the address of the first wireless network card, so relative to WAP (wireless access point), directly associate with oneself as all secondary terminals, this one-way transparent relay access point is transparent.
When carrying out transmitting uplink data, the receiver address of the upstream data that secondary terminal sends is the address of the second wireless network card, after one-way transparent relay access point receives upstream data by the second wireless network card, its receiver address is changed, be converted to the address of WAP (wireless access point), then upstream data be sent to WAP (wireless access point) by the first wireless network card.Can find out, one-way transparent relay access point serves the effect of relaying, and one-way transparent relay access point, relative to secondary terminal, is equivalent to a common WAP (wireless access point).As from the foregoing, one-way transparent relay access point has one-way transparent, wherein so-called " unidirectional " down direction of referring to.
Because one-way transparent relay access point is for the transparency of WAP (wireless access point), makes allocated bandwidth between all terminals of associating with this WAP (wireless access point) possess fairness, ensure that the fairness of throughput between terminal.Relative to the relay wireless access point in background technology, because relay wireless access point does not have the transparency relative to WAP (wireless access point), so relay wireless access point is equivalent to an one-level terminal, due to general not only one of the secondary terminal under this relay wireless access point, so secondary terminal under this relay wireless access point and the allocated bandwidth between one-level terminal unfair, cause the unjustness of throughput between terminal.
Simultaneously, because one-way transparent relay access point has one-way transparent, do not change the access relation between secondary terminal and WAP (wireless access point), therefore the use of one-way transparent relay access point does not affect existing WLAN management strategy, the deployment of one-way transparent relay access point does not need to do any transformation to WAP (wireless access point) and secondary terminal, can realize flexible deployment.
One-way transparent relay access point of the present invention is a kind of relay access point that can realize one-way transparent, and the software function module realizing its one-way transparent comprises:
Mode setting unit, for being arranged on promiscuous mode by the pattern of the first wireless network card;
Address conversioning unit, for when carrying out downlink data transmission, being that the downlink data of secondary terminal address carries out address transition under this one-way transparent relay access point to receiver address, being sent the address that address transition is the second wireless network card; When carrying out transmitting uplink data, the receiver address of described upstream data is converted to the address of WAP (wireless access point).
Such as, as shown in Figure 2, the logical construction of one-way transparent relay access point comprises:
Message queue, carries out buffer memory for the upstream data received downlink data and second wireless network card of the first wireless network card reception;
Terminal queue, for storing the information of all secondary terminals being associated with this one-way transparent relay access point;
Administration module, for O&M operation, as produced beacon frame, process probe requests thereby, perform access control, to be responsible between one-way transparent relay access point mutual etc.;
Depolymerize module, if the data received for the first wireless network card or the second wireless network card are aggregate frame, first depolymerizes, then by the Frame storage that depolymerizes in message queue;
Polymerization and forwarding module, for the receiver address according to each frame, be sent to the first wireless network card or the second wireless network card after being polymerized by the frame of buffer memory, and according to the length of certain frame aggregation policy control aggregate frame and quantity.
From the logical construction of one-way transparent relay access point, one-way transparent relay access point adopts message queue to store upstream data and downlink data.Although the first wireless network card being operated in promiscuous mode can accept all frames on the channel of WAP (wireless access point) place, in order to saving resource, by arranging corresponding filtering rule, only to needing the frame forwarded to carry out buffer memory.
The described frame of buffer memory that needs comprises: all Frames, the management frames (to the management frames associated and certification is relevant) of part, the battery saving mode poll frame in control frame and PS-POLL.
Do not need the frame of buffer memory to comprise: the management frames of part (as request transmission frame, confirm transmission frame, acknowledgement frame, uncontended periods terminates, uncontended periods confirms, block confirmation etc.), control frame except battery saving mode poll frame (such as beacon frame with detect relevant frame).
One-way transparent relay access point, by after frame buffer, before forwarding, needs to carry out address transition.In order to the process of more intuitive understanding address transition, table 1 is utilized to be described in detail:
Table 1
From the upstream data that secondary terminal sends, first received by unidirectional transparent relay access point by the second wireless network card, be stored in message queue, be then sent to WAP (wireless access point) by the first wireless network card.As shown in table 1, the transmission address being sent to the upstream data of one-way transparent relay access point by secondary terminal is secondary terminal address, and receiver address is the second wireless network card address.The transmission address being mail to the upstream data of WAP (wireless access point) by one-way transparent relay access point is still the address of secondary terminal, and receiver address is the address of WAP (wireless access point).Therefore, before upstream data is sent to the first wireless network card by the second wireless network card, receiver address is changed, has become the address of WAP (wireless access point) by the address transition of the second original wireless network card.
From the downlink data that WAP (wireless access point) sends, first received by unidirectional transparent relay access point by the first wireless network card, be stored in message queue, be then sent to secondary terminal by the second wireless network card.As shown in table 1, the transmission address being sent to the downlink data of one-way transparent relay access point by WAP (wireless access point) is the address of WAP (wireless access point), and receiver address is the address of secondary terminal.The receiver address being mail to the downlink data of secondary terminal by one-way transparent relay access point is still the address of secondary terminal, sends the address that address is the second wireless network card.Therefore, before downlink data is sent to the second wireless network card by the first wireless network card, transmission address is changed, has been become the address of the second wireless network card by the address transition of original WAP (wireless access point).
Because one-way transparent relay access point has the secondary terminal of multiple association, it is the frame which secondary terminal is sent that the transmission address in the address information of each secondary terminal that one-way transparent relay access point stores according to terminal queue and frame is distinguished.Each secondary terminal maintenance frame number, initial value is 0, and in order to distinguish the frame repeatedly received from certain secondary terminal, all frames received from certain secondary terminal in once receiving use identical sequence number, and then the sequence number of frame adds 1.When sequence number reaches predetermined maximum, zero.
Further, when described one-way transparent relay access point receives the access request of new secondary terminal, judge whether that the secondary terminal allowing this new accesses this one-way transparent relay access point by refusal access conditions:
If this one-way transparent relay access point meets described refusal access conditions, then refuse the access of this new secondary terminal;
Otherwise the secondary terminal allowing this new accesses this one-way transparent relay access point, and be this new secondary terminal distribution IP address by WAP (wireless access point).Namely the access request of new secondary terminal is sent to WAP (wireless access point) by described one-way transparent relay access point, and the DHCP in WAP (wireless access point) and DHCP are the IP address that this new secondary terminal distribution is new.
Such as described refusal access conditions is:
Wherein, m is the sliding average enlivening the quantity of secondary terminal associated with this one-way transparent relay access point in this timing statistics window; N is the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window, and this terminal comprises one-level terminal and secondary terminal; H is the number of one-way transparent relay access point; β is terminal proportionality coefficient.
Calculate in this timing statistics window the sliding average m enlivening the quantity of secondary terminal, the sliding average n of the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window that associates with this one-way transparent relay access point, first will obtain the interior quantity enlivening secondary terminal, the quantity of all active terminals in this timing statistics window this WLAN (wireless local area network) interior associated with this one-way transparent relay access point of this timing statistics window.
In practical operation, in the quantity enlivening secondary terminal/this timing statistics window associated with this one-way transparent relay access point in this timing statistics window this WLAN (wireless local area network) interior, several quantitative statistics of all active terminals circulate and carry out, circulate respective numbers statistical value each time that obtain in a timing statistics window, and the detailed process of cyclic process is each time as follows:
1. arrange one and enliven secondary terminal queue and active terminals queue;
2. arrange timer, the time span of this timer is the length of this timing statistics window;
If 3. one-way transparent relay access point receives a frame from the second wireless network card, judge whether the secondary terminal sending this frame is enlivened in secondary terminal queue at this, if not, then this secondary terminal is added and enlivens in secondary terminal queue.If one-way transparent relay access point receives a frame from the first wireless network card, judge to send the one-level terminal of this frame or secondary terminal whether in this active terminals queue, if not, then this one-level terminal or secondary terminal are joined in active terminals queue;
4. check that whether timer is overtime, if not, repeats above-mentioned steps 3; If, then add up the terminal quantity enlivened in secondary terminal queue and active terminals queue, the quantity enlivening secondary terminal in secondary terminal queue is the quantity enlivening secondary terminal associated with this one-way transparent relay access point in this timing statistics window, and in active terminals queue, the quantity of terminal is the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window.
5. upgrade timing statistics window according to the statistics in the 4th step, and empty and enliven secondary terminal queue, active terminals queue, returning circulation in the 2nd step and performing.
From above-mentioned circle statistics process, as long as one-way transparent relay access point receives a frame, then the one-level terminal or the secondary terminal that send this frame are in active state.
According to the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window that above-mentioned statistics obtains, carry out the calculating of the sliding average n of the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window, specific formula for calculation is:
n=n"(1-α)+n'α
" be the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in last time timing statistics window, n' is the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window, and α is moving average coefficient for wherein, n.In practice, in first timing statistics window, in this WLAN (wireless local area network), the sliding average of the quantity of all active terminals is the quantitative value of all active terminals in this WLAN (wireless local area network) in this first timing statistics window.
According to the quantity enlivening secondary terminal associated with this one-way transparent relay access point in this timing statistics window that above-mentioned statistics obtains, carry out the calculating enlivening the sliding average of the quantity of secondary terminal associated with this one-way transparent relay access point in this timing statistics window, computing formula is:
m=m"(1-α)+m'α
Wherein, m " is the sliding average enlivening the quantity of secondary terminal that last time associates with this one-way transparent relay access point in timing statistics window; M' is the quantity enlivening secondary terminal associated with this one-way transparent relay access point in this timing statistics window, and α is moving average coefficient.In practice, the sliding average enlivening the quantity of secondary terminal associated with this one-way transparent relay access point in first timing statistics window is the quantity enlivening secondary terminal associated with this one-way transparent relay access point in this first timing statistics window.
Such as, this timing statistics window obtains by following formula:
T
wnd=max{T
min,n"T
unit}
Wherein, T
wndfor this timing statistics window, n " be the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in last time timing statistics window, T
unitfor unit time window, T
minfor timing statistics window minimum.Further, described one-way transparent relay access point utilizes upstream data and downlink data described in message queue buffer memory, according to the receiver address of described upstream data or downlink data, forwards.During forwarding, upstream data or downlink data are carried out frame aggregation, form aggregate frame.Utilize aggregate frame to promote the fairness between the throughput of network and maintenance terminal, the strategy of described frame aggregation is as follows:
(1) for downlink transfer, if accumulation appears in downlink data on one-way transparent relay access point, then one-way transparent relay access point just becomes the bottleneck of downlink transfer.So when the downlink data amount accumulated reaches downlink data amount predetermined value, the number when frame aggregation by increasing subframe in each aggregate frame improves forwarding rate;
(2) for uplink, when one-way transparent relay access point obtains a transmission opportunity, utilize frame aggregation, all subframe polymerizations once will be respectively received from all secondary terminals, if desired the subframe upper limit that the frame number be polymerized can comprise more than 1 aggregate frame, then form multiple aggregate frame, between adjacent polymeric frame, utilize short interFrameGap to separate.
In addition, the present invention adopts transmission control technology to carry out the transmission rate sending multiple aggregate frame continuously and suppress secondary terminal:
(1) even if the number by increasing subframe in each aggregate frame, the number of sub frames that each aggregate frame can comprise also is limited, so the mode sending multiple aggregate frame continuously can be adopted to transmit.The present invention adopts short interFrameGap to separate the adjacent polymeric frame needing continuously transmission, and and unconventional distributed inter-frame space.The english abbreviation of short interFrameGap is SIFS, and the english abbreviation of distributed inter-frame space is DIFS.
(2) when the transmission rate of secondary terminal has exceeded the transmission rate of one-level terminal, up frame will accumulate on one-way transparent relay access point, in order to keep fairness and prevent the packet loss because of cache overflow, just need the transmission rate suppressing secondary terminal.When in described message queue, the upstream data amount of buffer memory reaches upstream data amount predetermined value, described one-way transparent relay access point suppresses the message of upstream rate to secondary terminal broadcast by the second unlimited network interface card, this message can be oneself confirmation transmission frame and CTS-to-self for receiver address, thus inhibits the transmission rate of frame.
Such as, described upstream data amount predetermined value is μM, and wherein M is that in message queue, one-way transparent relay access point is the spatial cache size that upstream data amount is distributed, and μ is speed rejection coefficient.
Further, need the mutual of the information of carrying out between one-way transparent relay access point, mutual frame is transmitted on shared channel by the first wireless network card, and in order to distinguish with other frame, mutual frame uses predetermined reserved address as receiver address.Like this, WAP (wireless access point), one-level terminal and secondary terminal all can not receive mutual frame, as long as the first wireless network card one-way transparent relay access point being operated in promiscuous mode could receive these mutual frames.
In sum, the present invention has the following advantages:
(1) because one-way transparent relay access point comprises the first wireless network card and the second wireless network card, can parallel transmission, improve the throughput of each user;
(2) because one-way transparent relay access point has the transparency relative to WAP (wireless access point), therefore make allocated bandwidth between all terminals of associating with WAP (wireless access point) possess fairness, ensure that the fairness of throughput between terminal;
(3) because one-way transparent relay access point has one-way transparent, do not change the access relation between secondary terminal and WAP (wireless access point), therefore the use of one-way transparent relay access point does not affect the management strategy of existing WLAN;
(4) utilize refusal access conditions to control whether to allow new secondary terminal to associate with one-way transparent relay access point, effectively can control the quantity of the secondary terminal associated with one-way transparent relay access point, prevent load imbalance;
(5) the present invention utilizes frame aggregation strategy to promote the fairness between the throughput of network and maintenance terminal;
(6) the present invention adopts transmission control technology to carry out the transmission rate sending multiple aggregate frame continuously and suppress secondary terminal, improves forward efficiency and prevents the packet loss because of cache overflow.
(7) when the present invention carries out mutual between one-way transparent relay access point, adopt predetermined reserved address as receiver address, effectively distinguish with other frames.
Although describe embodiments of the present invention by reference to the accompanying drawings, but those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, such amendment and modification all fall into by within claims limited range.
Claims (9)
1. utilize one-way transparent relay access point to carry out a method for transfer of data, it is characterized in that, described one-way transparent relay access point comprises the first wireless network card of communicating with WAP (wireless access point) and the second wireless network card with secondary terminal communication, and described method comprises:
Arranging described first wireless network card is promiscuous mode;
When carrying out downlink data transmission, described one-way transparent relay access point utilizes described first wireless network card to receive all downlink datas of described WAP (wireless access point) transmission, be that the downlink data of secondary terminal address carries out address transition under this one-way transparent relay access point to receiver address, sent the address that address transition is the second wireless network card, by the second wireless network card, the downlink data after address transition is forwarded to secondary terminal;
When carrying out transmitting uplink data, described one-way transparent relay access point utilizes described second wireless network card to receive to send address for secondary terminal address and receiver address is the upstream data of the second wireless network card address, then the receiver address of described upstream data is converted to the address of WAP (wireless access point), by the first wireless network card, the upstream data after address transition is forwarded to WAP (wireless access point).
2. the method utilizing one-way transparent relay access point to carry out transfer of data according to claim 1, it is characterized in that, when described one-way transparent relay access point receives the access request of new secondary terminal, judge whether that the secondary terminal allowing this new accesses this one-way transparent relay access point by refusal access conditions:
If this one-way transparent relay access point meets described refusal access conditions, then refuse the access request of this new secondary terminal;
Otherwise, allow this new secondary terminal to access this one-way transparent relay access point, and be this new secondary terminal distribution IP address by described WAP (wireless access point).
3. the method utilizing one-way transparent relay access point to carry out transfer of data according to claim 2, is characterized in that, described refusal access conditions is:
Wherein, m is the sliding average enlivening the quantity of secondary terminal associated with this one-way transparent relay access point in this timing statistics window; N is the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window, and this terminal comprises one-level terminal and secondary terminal; H is the number of one-way transparent relay access point; β is terminal proportionality coefficient.
4. the method utilizing one-way transparent relay access point to carry out transfer of data according to claim 3, is characterized in that, in this timing statistics window, in this WLAN (wireless local area network), the sliding average n of the quantity of all active terminals is calculated by following formula:
n=n"(1-α)+n'α
" be the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in last time timing statistics window, n' is the quantity of all active terminals in this WLAN (wireless local area network) in this timing statistics window, and α is moving average coefficient for wherein, n.
5. the method utilizing one-way transparent relay access point to carry out transfer of data according to claim 3, it is characterized in that, the sliding average m enlivening the quantity of secondary terminal associated with this one-way transparent relay access point in this timing statistics window is calculated by following formula:
m=m"(1-α)+m'α
Wherein, m " is the sliding average enlivening the quantity of secondary terminal that last time associates with this one-way transparent relay access point in timing statistics window; M' is the quantity enlivening secondary terminal associated with this one-way transparent relay access point in this timing statistics window, and α is moving average coefficient.
6. carry out the method for transfer of data according to the arbitrary described one-way transparent relay access point that utilizes of claim 3-5, it is characterized in that, this timing statistics window is obtained by following formula:
T
wnd=max{T
min,n"T
unit}
Wherein, T
wndfor this timing statistics window, n " be the sliding average of the quantity of all active terminals in this WLAN (wireless local area network) in last time timing statistics window, T
unitfor unit time window, T
minfor timing statistics window minimum.
7. the method utilizing one-way transparent relay access point to carry out transfer of data according to claim 1, is characterized in that: be buffered in the message queue of one-way transparent relay access point by the upstream data that the second wireless network card receives;
When the upstream data of described one-way transparent relay access point forwarding cache, frame aggregation is utilized respectively to receive all frames once from all secondary terminals once forwarding repeating; If desired the subframe upper limit that the frame number be polymerized can comprise more than 1 aggregate frame, then form multiple aggregate frame, utilizes short interFrameGap to separate between adjacent polymeric frame.
8. the method utilizing one-way transparent relay access point to carry out transfer of data according to claim 7, it is characterized in that: when in described message queue, the upstream data amount of buffer memory reaches upstream data amount predetermined value, described one-way transparent relay access point suppresses the message of upstream rate to secondary terminal broadcast by the second unlimited network interface card.
9. the method utilizing one-way transparent relay access point to carry out transfer of data according to claim 1, it is characterized in that: undertaken alternately, using the receiver address of predetermined reserved address as mutual frame in reciprocal process by the first wireless network card between one-way transparent relay access point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510226231.9A CN104797008B (en) | 2015-05-06 | 2015-05-06 | The method carried out data transmission using one-way transparent relay access point |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510226231.9A CN104797008B (en) | 2015-05-06 | 2015-05-06 | The method carried out data transmission using one-way transparent relay access point |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104797008A true CN104797008A (en) | 2015-07-22 |
CN104797008B CN104797008B (en) | 2018-05-11 |
Family
ID=53561407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510226231.9A Expired - Fee Related CN104797008B (en) | 2015-05-06 | 2015-05-06 | The method carried out data transmission using one-way transparent relay access point |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104797008B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109479212A (en) * | 2016-07-15 | 2019-03-15 | 阿尔卡特朗讯 | Manage the medium access of the access point in wireless network and associated equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101815017A (en) * | 2010-03-08 | 2010-08-25 | 国电南瑞科技股份有限公司 | Online bidirectional monitoring and analysis method of power system full channel based on promiscuous mode |
CN103685588A (en) * | 2012-09-10 | 2014-03-26 | 中兴通讯股份有限公司 | Bridge packet forwarding method and device for wireless network equipment in client mode |
WO2014051373A1 (en) * | 2012-09-29 | 2014-04-03 | Lg Electronics Inc. | Method and apparatus for performing relay operation in wireless lan system |
CN104053213A (en) * | 2013-03-11 | 2014-09-17 | 中兴通讯股份有限公司 | Integrated Relay In Wireless Communication Networks |
-
2015
- 2015-05-06 CN CN201510226231.9A patent/CN104797008B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101815017A (en) * | 2010-03-08 | 2010-08-25 | 国电南瑞科技股份有限公司 | Online bidirectional monitoring and analysis method of power system full channel based on promiscuous mode |
CN103685588A (en) * | 2012-09-10 | 2014-03-26 | 中兴通讯股份有限公司 | Bridge packet forwarding method and device for wireless network equipment in client mode |
WO2014051373A1 (en) * | 2012-09-29 | 2014-04-03 | Lg Electronics Inc. | Method and apparatus for performing relay operation in wireless lan system |
CN104053213A (en) * | 2013-03-11 | 2014-09-17 | 中兴通讯股份有限公司 | Integrated Relay In Wireless Communication Networks |
Non-Patent Citations (1)
Title |
---|
SHIBO XU, FENGYUAN REN等: "Selecting a Preferable Access Point with More Available Bandwidth", 《IEEE ICC 2013 - WIRELESS NETWORKING SYMPOSIUM》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109479212A (en) * | 2016-07-15 | 2019-03-15 | 阿尔卡特朗讯 | Manage the medium access of the access point in wireless network and associated equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104797008B (en) | 2018-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9078209B2 (en) | Power management method for station in wireless LAN system and station that supports same | |
US8958299B2 (en) | Power management in tunneled direct link setup | |
JP6212030B2 (en) | Method and apparatus used for frame confirmation | |
CN113676298B (en) | Multilink communication method and related device | |
CN103067985B (en) | The binding of ultrahigh speed wireless lan channel and distribution method based on channel quality | |
US20160183162A1 (en) | Method and device for transmitting and receiving data in wireless lan system | |
CN110381576A (en) | Power distribution method and device | |
CN103814596B (en) | Transmit the methods, devices and systems of data | |
EP2955882B1 (en) | Methods and system for transmitting data in wireless local area network | |
CN102349325A (en) | Load sharing method, device and system thereof | |
CN107750473A (en) | Transmission opportunity for multi-user operation competes | |
CN103731884A (en) | BBU, RRU, data transmission method and wireless access system | |
EP4109980A1 (en) | Power saving method and apparatus applied to multilink communication | |
CN104412691A (en) | Method of accessing channel in wireless local area network system | |
CN109510695A (en) | Wireless communication device and wireless communications method | |
CN104853382A (en) | Information interaction method, system and base station | |
JP2023024536A (en) | Data transmission method and associated apparatus | |
CN109831809A (en) | A kind of method and apparatus of scheduling | |
CN105814946A (en) | Method and apparatus for transmitting uplink service data | |
CN102739349A (en) | Method and device for frame confirmation | |
WO2021047478A1 (en) | Communication method and apparatus | |
US11184890B2 (en) | Low-latency Wi-Fi MAC-layer protocol | |
CN103298036A (en) | Mobile station and energy saving method thereof | |
CN107432005A (en) | A kind of data transmission method, access point and website | |
CN101854736A (en) | Method for converting wireless sensor network protocols |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180511 |