CN102869127A - WLAN (wireless local area network) based antenna switching system and switching method - Google Patents

WLAN (wireless local area network) based antenna switching system and switching method Download PDF

Info

Publication number
CN102869127A
CN102869127A CN2012103276705A CN201210327670A CN102869127A CN 102869127 A CN102869127 A CN 102869127A CN 2012103276705 A CN2012103276705 A CN 2012103276705A CN 201210327670 A CN201210327670 A CN 201210327670A CN 102869127 A CN102869127 A CN 102869127A
Authority
CN
China
Prior art keywords
antenna
data packet
user
module
coaxial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103276705A
Other languages
Chinese (zh)
Other versions
CN102869127B (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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201210327670.5A priority Critical patent/CN102869127B/en
Publication of CN102869127A publication Critical patent/CN102869127A/en
Application granted granted Critical
Publication of CN102869127B publication Critical patent/CN102869127B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a WLAN (wireless local area network) based antenna switching system and a switching method, which mainly solve the problems of antenna switching and data collision in the process that an access point (AP) carries out communication with users of multiple areas. The system comprises a queue cache module, an MAC module, a PHY module, an antenna and a controller, wherein the MAC module and the queue cache module extract the user addresses of data clustering and send the user addresses to the controller, and the controller carries out operation by using the statistical data clustering number and the current running antenna type of the AP so as to obtain the switching time per day, controls the MAC module to send a CTS (clear to send) frame and a beacon frame and controls the PHY module to connect a coaxial antenna or a common antenna. The method disclosed by the invention is simple in implementation method, and through the agile distribution of the operating times of the coaxial antenna and the common antenna, the collision probability of data simultaneously sent to the AP by users of multiple areas is reduced, and the throughput of a wireless network is increased, thereby facilitating the intelligent management of users of multiple areas and improving the space reusability, so that the system and method disclosed by the invention can be applied to cross-area wireless communication.

Description

Antenna switching system and method based on WLAN
Technical Field
The invention relates to the technical field of wireless communication, in particular to an antenna switching system and method based on a WLAN (wireless local area network), which can be used for distinguishing and identifying users in different areas in the WLAN and controlling the switching of communication in the areas.
Background
The WLAN based on the IEEE802.11 standard uses a radio frequency band of 2.4GHz or 5.8GHz without authorization for wireless data transmission. WLANs can be divided into ad hoc networks and infrastructure networks depending on the topology of the network.
In the infrastructure network, the wireless access point AP serves as a control center of the network, and has the functions of integrating a wired local area network and a wireless local area network and coordinating wireless users STA. The coverage area of the traditional AP is similar to a sphere, and no matter at which point the user is in the sphere, the AP sends out the signal omnidirectionally, which easily causes the waste of signal power and also seriously affects the improvement of the WLAN system performance.
In order to meet the requirement of user bandwidth, some patents propose intelligent antenna technology, which concentrates the limited signal energy of the AP to the user direction, and provides data transmission service for the user by using multiple directional beams, thereby not only expanding the coverage area of the AP, but also improving the throughput of the network. However, the radio signal has a large propagation loss in the air, and obstacles and electromagnetic interference affect the radio signal, resulting in degradation of signal quality.
Based on the above problem of wireless propagation loss, some patents propose to combine the AP with a coaxial cable, for example, a method of using a cable tv coaxial cable to implement broadband wireless access, where one end of the coaxial cable is connected to the antenna interface of the AP and the other end is connected to a common antenna, as shown in fig. 1. By the method, cross-region transmission of wireless signals is realized, and external interference is reduced. However, since the coaxial cable simply pulls the signals of the AP apart, the users covered by different antennas cannot detect the existence of each other, which easily causes the collision of multiple user signals at the AP, increases data transmission delay, and seriously affects the performance of the wireless network.
Disclosure of Invention
Aiming at the defects or shortcomings in the prior art, the invention aims to provide an antenna switching system and method based on WLAN, which combines an intelligent AP with a cable television coaxial cable and a remote antenna, and switches the modified AP between a common antenna and the coaxial antenna according to a certain rule, so that the AP can provide wireless data service for users through the conventional common antenna, and can also communicate with users in a specific space by using the coaxial cable to enable wireless signals to pass through obstacles, thereby improving the power utilization rate and the space reuse rate.
The technical scheme of the invention is realized as follows:
description of terms
And (3) period: the time period from when the AP starts operating on the coaxial antenna to when the AP switches to the normal antenna to when the AP switches to the coaxial antenna again is set to 100 ms.
Coaxial antenna: refers to an antenna connected to the AP by a coaxial cable.
A common antenna: the antenna is directly connected with the AP without a coaxial cable in the middle.
The antenna switching system based on the WLAN comprises:
the queue buffer module is responsible for storing data packets sent by an upper layer, extracting user addresses of the data packets, sending the user addresses to the control module, receiving control signals of the control module, and sending or buffering or clearing the data packets;
the media access control MAC module receives a data packet sent by an upper layer and a data packet uploaded by the physical layer PHY module, extracts a user address of an uplink data packet, sends the user address to the controller, and determines whether to broadcast and clear a CTS frame and a beacon frame according to a control signal of the controller;
the physical layer PHY module is used for connecting the medium access control MAC module and the antenna and determining whether to switch the coaxial antenna and the common antenna according to a control signal of the controller;
an antenna including a coaxial antenna and a general antenna for receiving or transmitting a data packet;
and the controller is used for being respectively connected with the queue cache module, the Media Access Control (MAC) module and the physical layer (PHY) module, checking the user address of the data packet, establishing and updating user table entries and memory parameters, calculating the switching time between the coaxial antenna and the common antenna and setting a control signal.
Preferably, the controller includes:
the monitoring module is used for controlling and updating the parameters in the user table entry and the memory, recording the antenna switching time, detecting whether the switching time is up, and outputting the antenna type of the access point AP which works currently;
the operation module is used for operating the parameters in the user table entry and the memory to obtain the switching time of the coaxial antenna and the common antenna, sending the switching time to the monitoring module and outputting the updating parameters to the user table entry and the memory;
the user table entry is used for storing and updating parameters of a user, and the parameters comprise a user address, an antenna type, a data packet number and a silent period number;
and the memory is used for storing the data packet numbers of different antenna types in the user table entry.
Preferably, the switching time between the coaxial antenna and the common antenna is determined by the number of data packets of different antenna types in the memory, the memory outputs the number of data packets of different antenna types to the operation module, and the switching time T between the coaxial antenna and the common antenna is calculated as follows:
T = 100 × M M + N ms ,
wherein, M is the data grouping number of the coaxial antenna, and N is the data grouping number of the common antenna.
Thirdly, the antenna switching method based on WLAN of the invention comprises the following steps:
(1) setting initial value T of switching time between coaxial antenna and common antenna0Setting the number of data packets and the number of silent periods in the user table entry to be zero at 50 ms;
(2) detecting whether to reach the initial value T of the switching time of the coaxial antenna and the common antenna0If the initial value T of the switching time is not reached0Executing the step (3), otherwise, executing the step (8);
(3) detecting whether an uplink data packet or a downlink data packet arrives at the access point AP, if the downlink data packet arrives at the access point AP, executing the step (4), if the uplink data packet arrives at the access point AP, executing the step (6), and if the uplink data packet does not arrive at the access point AP, returning to the step (2);
(4) extracting the user address of the data packet, searching in the user table entry, if the user address exists in the user table entry, executing the step (5), otherwise, clearing the data packet, and returning to the step (2);
(5) checking whether the antenna type of the user of the data packet is consistent with the antenna type of the access point AP currently working, if so, adding 1 to the data packet number of the user in the user table entry and sending the data packet, otherwise, putting the data packet into a queue cache of the corresponding antenna type, and returning to the step (2);
(6) searching a user address of the data packet in a user table entry, if the user address exists in the user table entry, executing the step (7), otherwise, establishing the address, the antenna type, the data packet number and the silent period number of the user in the user table entry, and executing the step (7);
(7) updating the user table entry: adding 1 to the data packet number of the user, setting the antenna type as a coaxial antenna or a common antenna of the access point AP which currently works, and returning to the step (2);
(8) detecting the type of the antenna of the AP, if the AP works on the coaxial antenna, broadcasting a Clear To Send (CTS) frame, switching to the common antenna, and broadcasting a beacon frame, if the AP works on the common antenna, counting the data packet number of the coaxial antenna and the common antenna in the user table entry, storing the data packet number in a memory, and executing the step (9);
(9) comparing the data packet numbers of the coaxial antenna and the common antenna in the memory, wherein the data packet number is the average value of H periods, and calculating the switching time of the coaxial antenna and the common antenna
Figure BDA00002109131400041
M is the data grouping number of the coaxial antenna, and N is the data grouping number of the common antenna; sending the updated switching time T to the monitoring module to order T0= T, perform step (10);
(10) setting the number of silent periods: if the data packet number of one user is not 0, the silent period number is still 0, otherwise, the silent period number is added with 1, and the step (11) is executed;
(11) and (3) clearing all data packet numbers in the user table entry, broadcasting a Clear To Send (CTS) frame by the Access Point (AP), switching to a coaxial antenna, broadcasting a beacon frame, and returning to the step (2).
The user list item is stored with parameters of user address, antenna type, data grouping number and silent period number.
The invention adds the controllers of the coaxial antenna and the common antenna on the existing access point AP, so that the access point AP flexibly distributes the working time of the coaxial antenna and the common antenna according to the data grouping passing through the coaxial antenna or the common antenna, thereby meeting the service requirement of a user to the maximum extent; meanwhile, the collision probability of data transmission between the access point AP and users in multiple areas is effectively reduced, the throughput of the wireless network is increased, and intelligent management of users in multiple areas is realized to a certain extent.
Drawings
Fig. 1 illustrates a signal coverage area of an existing AP;
FIG. 2 is a block diagram of the system of the present invention;
FIG. 3 is a block diagram of the controller of the present invention;
fig. 4 is a flow chart of antenna switching according to the present invention.
Detailed Description
In order to make the objects and technical means of the present invention clearer and more comprehensible, the present invention will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 2, the system of the present invention comprises: a queue buffer module 10, a medium access control MAC module 20, a physical layer PHY module 30, an antenna 40, and a controller 50. The queue buffer module 10 is respectively connected with the MAC module 20 and the controller 50 in two directions, the controller 50 is connected with the MAC module 20 in two directions, the controller 50 is connected with the PHY module 30 in one direction, and the antenna 40 is connected with the PHY module 30 in two directions. Wherein,
the queue buffer module 10 includes a queue buffer of a coaxial antenna and a queue buffer of a common antenna, and is configured to store a data packet sent by an upper layer, extract a user address of the data packet, and submit the user address to the controller 50, and determine to send the data packet or store the data packet in the queue buffer of a corresponding antenna type according to control information a, control information B, and control information C output by the controller 50: if the control information A is 01, sending a data packet; if the control information A is 10, storing the data packet to a queue buffer of the coaxial antenna; if the control information A is 11, storing the data packet to a queue buffer of the common antenna; if the control information B is 01, releasing the queue cache of the coaxial antenna; if the control information B is 10, releasing the queue buffer of the common antenna; if the control information C is high, the data packet is cleared.
The MAC module 20 extracts the user address of the uplink data packet, sends the user address to the user table entry 502, and broadcasts a clear-to-send CTS frame and a beacon frame under the control of the control signal B: if the control signal B is 01 or 10, the MAC module 20 broadcasts a clear-to-send CTS frame and a beacon frame; otherwise, the clear to send CTS frame and the beacon frame are not broadcast.
The PHY module 30 determines whether to switch between the coaxial antenna and the common antenna according to the control information B of the controller 50: if the control signal B is 01 or 10, the PHY module 30 controls to switch to the coaxial antenna or the common antenna; otherwise, the coaxial antenna or the common antenna is not switched.
The antenna 40, which includes a coaxial antenna and a general antenna, is used for receiving or transmitting data packets.
The controller 50 is configured to detect data packets in the queue buffer module 10 and the MAC module 20, control storage and release of the data packets in the queue buffer module 10, and control switching between the coaxial antenna and the common antenna.
Referring to fig. 3, the controller 50 includes: a monitoring module 501, a user table entry 502, an operation module 503 and a memory 504. The monitoring module 501 is respectively connected with the user table entry 502 and the memory 504 in a unidirectional manner, and is connected with the operation module 503 in a bidirectional manner, and the operation module 503 is respectively connected with the user table entry 502 and the memory 504 in a bidirectional manner. Wherein,
the monitoring module 501 is connected to the operation module 503Sending the antenna type of the access point AP currently working, and detecting whether the switching time T of the coaxial antenna and the common antenna is reached0And setting a control signal B: if the switching time T is reached0Setting the control signal B to be 01, wherein the type of the currently working antenna is a common antenna; if the switching time T is reached0And the type of the antenna currently working is a coaxial antenna, and the control signal B is set to 10.
The user table entry 502 searches and outputs the parameter of the user table entry 502 according to the user address of the data packet, sets the control signal C, and updates the parameter of the user table entry 502 according to the calculation result of the operation module 503. The parameters of the user table entry 502 include a user address, an antenna type, a data packet number, and a silent period number, as shown in table 1.
TABLE 1 user entry parameters
The number of silent periods indicates whether the user sends or receives data packets in one period. If the number of the silent periods is 0, indicating that the user receives or sends a data packet; if the number of silent periods is not 0, it indicates that the user has not received or transmitted a data packet.
The operation module 503 counts the number of data packets of the coaxial antenna and the common antenna, sends the data packets to the memory 504, and calculates the antenna switching time T:
Figure BDA00002109131400062
m is the data grouping number of the coaxial antenna, N is the data grouping number of the common antenna, and the data grouping number is updated to the monitoring module 501; outputting the updated antenna type, data packet number and silent cycle number to the user table entry 502, comparing the antenna type of the data packet with the antenna type of the access point AP currently working, and setting a control signal a: if the antenna type of the data packet is the coaxial antenna, the access point AP works on the coaxial antenna currently, and a control signal is setA is 01; if the antenna type of the data packet is a coaxial antenna, the access point AP works in a common antenna at present, and a control signal A is set to be 10; if the antenna type of the data packet is a common antenna, the access point AP works in a coaxial antenna currently, and a control signal A is set to be 11; if the antenna type of the data packet is a common antenna, the access point AP currently operates in the coaxial antenna, and the control signal a is set to 00.
The memory 504 stores and updates the number of data packets of different antenna types in H periods, for example, in table 2, the number of data packets of different antennas in H +1 th period covers the number of data packets in period 1, and so on, the number of data packets of different antennas in H +2 th period covers the number of data packets in 2 nd period, and so on, so that the latest number of data packets in H periods is always stored in the memory 504.
TABLE 2 memory architecture
Number of groups Period 1 Period 2 Period 3 Period 4 .... Period H
Number of data packets for coaxial antenna
Number of data packets of a common antenna
The working principle of the whole antenna switching system is as follows: after the AP starts working, the queue cache module 10 or the MAC module 20 extracts the user address of the data packet, searches and outputs the corresponding data packet number and antenna type in the user table 502, sets a control signal C, and the operation module 503 compares the antenna type of the data packet with the antenna type of the AP currently working, sets a control signal a, and sends the updated data packet number and antenna type to the user table 502. When the monitoring module 501 detects the switching time T between the coaxial antenna and the common antenna0When the antenna arrives, a control signal B is set according to the antenna currently working in the access point AP, the PHY module 30 is switched to a coaxial antenna or a common antenna, the MAC module 20 broadcasts and clears a CTS frame and a beacon frame, the operation module 503 counts the data packet number of different antenna types in the user table entry 502, updates the data packet number into the memory 504, calculates the data packet number of different antenna types in H periods in the memory 504 at the same time, obtains the switching time T of the antenna, and updates the switching time T to the antennaMonitor Module 501, let T0And = T. The access point AP operates cyclically as described above.
Referring to fig. 4, the antenna switching method based on WLAN of the present invention includes the following implementation steps:
step 1, setting an initial value T of switching time of a coaxial antenna and a common antenna0
In this example, the parameters of the user table entry in the controller and the number of packets in the memory are respectively cleared, and the initial value T of the switching time of the monitoring module in the controller is set0Is 50 ms. The parameters of the user table entry comprise a user address, an antenna type, the number of data packets and the number of silent cycles.
Step 2, detecting whether the antenna switching time T is reached0If not, executing step 3, otherwise, executing step 8.
In the embodiment, the switching time T of the antenna is detected by a monitoring module in the controller0Whether or not it arrives.
Step 3, detecting whether a data packet arrives, and if a downlink data packet arrives, executing step 4; if an uplink data packet arrives, executing the step 6; and if no downlink or uplink data packet arrives, returning to the step 2.
In this example, the queue buffer module detects whether a downlink data packet arrives, and the MAC module detects whether a downlink data packet arrives.
And 4, extracting the user address of the data packet, searching the antenna type and the data packet number related to the data packet, if the antenna type and the data packet number cannot be searched, clearing the data packet, and executing the step 5.
In this example, the user address of the data packet is extracted by the queue cache module and sent to the user table entry, the user table entry sends the corresponding antenna type and data packet number to the operation module, and if the user table entry does not have the user address, the antenna type, the data packet number and the silent cycle number of the data packet, the control signal C is set to be high level, that is, the queue cache module is notified to clear the data packet.
Step 5, comparing the antenna type of the data packet with the antenna type of the access point AP currently working:
if the antenna types of the two antennas are the same, the data packet is sent, meanwhile, the number of the data packet is added with 1, and the step 2 is returned;
if the antenna types of the access point AP and the antenna type of the access point AP are different and the current working antenna of the access point AP is a common antenna, storing the data packet and returning to the step 2;
and if the antenna types of the access point AP and the antenna type of the access point AP are different and the current working antenna of the access point AP is a coaxial antenna, storing the data packet and returning to the step 2.
In this example, the user table entry in the controller sends the antenna type of the data packet to the operation module, and meanwhile, the monitoring module sends the antenna type of the access point AP currently working to the operation module, and the operation module compares the two types:
if the antenna types of the two antennas are the same, setting the control information A to be 01, namely informing the queue cache module to send the data packet, simultaneously adding 1 to the data packet number of the data packet, updating the data packet to the user table entry, and returning to the step 2;
if the antenna types of the two antennas are different and the current working antenna of the access point AP is a common antenna, setting the control information A to be 10, storing the data packet into a queue of the coaxial antenna for caching, and returning to the step 2;
and if the antenna types of the two antennas are different and the current working antenna of the access point AP is a coaxial antenna, setting the control information A to be 11, storing the data packet into a queue buffer of a common antenna, and returning to the step 2.
And 6, extracting the user address of the data packet, searching the antenna type and the data packet number related to the user address, if the user address and the currently working antenna type of the data packet cannot be searched, storing the user address of the data packet and the currently working antenna type, and executing the step 7.
In this example, the MAC module extracts the user address of the data packet and sends the user address to the user table entry, and the user table entry searches and sends the corresponding antenna type and the number of data packets to the operation module.
Step 7, comparing the antenna type of the data packet with the antenna type of the access point AP currently working:
if the antenna types of the two antennas are the same, adding 1 to the data packet number of the data packet, and returning to the step 2;
if the antenna types of the two antennas are different and the current working antenna of the access point AP is a common antenna, setting the antenna type of the data packet as the common antenna, and returning to the step 2;
and if the antenna types of the two antennas are different and the current working antenna of the access point AP is a coaxial antenna, setting the antenna type of the data packet as the coaxial antenna, and returning to the step 2.
In this example, the user table entry in the controller sends the antenna type of the data packet to the operation module, and meanwhile, the monitoring module sends the antenna type of the access point AP currently working to the operation module, and the operation module compares the antenna types of the access point AP and the operation module:
if the antenna types of the two antennas are the same, adding 1 to the data packet number of the data packet, updating the data packet number to a user table entry, and returning to the step 2;
if the antenna types of the two antennas are different and the current working antenna of the access point AP is a common antenna, setting the antenna type of the data packet as the common antenna, updating the antenna type into a user table entry, and returning to the step 2;
and if the antenna types of the two antennas are different and the current working antenna of the access point AP is a coaxial antenna, setting the antenna type of the data packet as the coaxial antenna, updating the antenna type into the user list item, and returning to the step 2.
And 8, detecting the type of the antenna currently operated by the access point AP, if the antenna is a common antenna, setting the control signal B to be 01, executing step 9, if the antenna is a coaxial antenna, setting the control signal B to be 10, and executing step 12.
In this example, the monitoring module in the controller detects the antenna type currently operating in the access point AP.
And 9, respectively counting and storing the data packet numbers of the coaxial antenna and the common antenna in a period, updating the number of the silent periods of the user, setting the number of the silent periods to be 0 if the number of the data packets received or sent by the user is not 0, and adding 1 to the number of the silent periods to execute the step 10 if the number of the silent periods is not 0.
In this example, the user addresses, the antenna types, the data packet numbers and the silent period numbers of all users in the user table entry are output, the operation module counts the data packet numbers of the coaxial antenna and the common antenna, updates the data packet numbers to the memory, simultaneously, returns the packet numbers in the user table entry to zero, updates the silent period numbers, sets the silent period numbers to be 0 if the data packet numbers received or sent by the users are not 0, and otherwise, adds 1 to the silent period numbers.
Step 10, counting the number of data packets of the coaxial antenna and the common antenna in H periods, and calculating new switching time T:
Figure BDA00002109131400091
m is the data grouping number of the coaxial antenna, and N is the data grouping number of the common antenna; let T0= T, perform step 11.
In this example, the memory in the controller records the data packet numbers of the coaxial antenna and the common antenna in H periods in a circulating manner, the operation module calculates the average value M of the data packet numbers of the coaxial antenna in H periods and the average value N of the data packet numbers of the coaxial antenna in H periods, and the formula is utilized
Figure BDA00002109131400092
Calculating the switching time T of the coaxial antenna and the common antenna, storing and updating the switching time T to the monitoring module, and enabling the switching time T to be T0=T。
And step 11, broadcasting a Clear To Send (CTS) frame, switching to the coaxial antenna, broadcasting a beacon frame, releasing the data packet of the coaxial antenna, and returning to the step 2.
In this example, the MAC module broadcasts a clear to send CTS frame and a beacon frame, and the PHY module connects to the coaxial antenna, disconnects the common antenna, and releases the data packet in the queue buffer of the coaxial antenna.
And step 12, updating the switching time of the antenna, broadcasting a Clear To Send (CTS) frame, switching to the common antenna, broadcasting a beacon frame, releasing the data packet of the common antenna, and returning to the step 2.
In this example, the switching time of the monitoring module is updated by the order of T0And =100-T, meanwhile, the MAC module broadcasts a clear to send CTS frame and a beacon frame, and the PHY module connects to the normal antenna, disconnects the coaxial antenna, and releases the data packets in the queue buffer of the coaxial antenna.
The above description is only one embodiment of the present invention, but the protection scope of the present invention is not limited thereto, and the method of the present invention is not limited to the system implementation of the present invention, and any modification and variation of the implementation method of the above functions by those skilled in the art are within the spirit and principle of the present invention.

Claims (5)

1. A WLAN based antenna switching system comprising:
the queue buffer module is responsible for storing data packets sent by an upper layer, extracting user addresses of the data packets, sending the user addresses to the control module, receiving control signals of the control module, and sending or buffering or clearing the data packets;
the media access control MAC module receives a data packet sent by an upper layer and a data packet uploaded by the physical layer PHY module, extracts a user address of an uplink data packet, sends the user address to the controller, and determines whether to broadcast and clear a CTS frame and a beacon frame according to a control signal of the controller;
the physical layer PHY module is used for connecting the medium access control MAC module and the antenna and determining whether to switch the coaxial antenna and the common antenna according to a control signal of the controller;
an antenna including a coaxial antenna and a general antenna for receiving or transmitting a data packet;
and the controller is used for being respectively connected with the queue cache module, the Media Access Control (MAC) module and the physical layer (PHY) module, checking the user address of the data packet, establishing and updating user table entries and memory parameters, calculating the switching time between the coaxial antenna and the common antenna and setting a control signal.
2. The antenna switching system according to claim 1, wherein the controller comprises:
the monitoring module is used for controlling and updating the parameters in the user table entry and the memory, recording the antenna switching time, detecting whether the switching time is up, and outputting the antenna type of the access point AP which works currently;
the operation module is used for operating the parameters in the user table entry and the memory to obtain the switching time of the coaxial antenna and the common antenna, sending the switching time to the monitoring module and outputting the updating parameters to the user table entry and the memory;
the user table entry is used for storing and updating parameters of a user, and the parameters comprise a user address, an antenna type, a data packet number and a silent period number;
and the memory is used for storing the data packet numbers of different antenna types in the user table entry.
3. The antenna switching system according to claim 2, wherein the switching time between the coaxial antenna and the common antenna is determined by the number of data packets of different antenna types in the memory, the memory outputs the number of data packets of different antenna types to the operation module, and the switching time T between the coaxial antenna and the common antenna is calculated as follows:
T = 100 × M M + N ms ,
wherein, M is the data grouping number of the coaxial antenna, and N is the data grouping number of the common antenna.
4. A WLAN-based antenna switching method comprises the following steps:
(1) setting initial value T of switching time between coaxial antenna and common antenna0Setting the number of data packets and the number of silent periods in the user table entry to be zero at 50 ms;
(2) detecting whether to reach the initial value T of the switching time of the coaxial antenna and the common antenna0If the initial value T of the switching time is not reached0Executing the step (3), otherwise, executing the step (8);
(3) detecting whether an uplink data packet or a downlink data packet arrives at the access point AP, if the downlink data packet arrives at the access point AP, executing the step (4), if the uplink data packet arrives at the access point AP, executing the step (6), and if the uplink data packet does not arrive at the access point AP, returning to the step (2);
(4) extracting the user address of the data packet, searching in the user table entry, if the user address exists in the user table entry, executing the step (5), otherwise, clearing the data packet, and returning to the step (2);
(5) checking whether the antenna type of the user of the data packet is consistent with the antenna type of the access point AP currently working, if so, adding 1 to the data packet number of the user in the user table entry and sending the data packet, otherwise, putting the data packet into a queue cache of the corresponding antenna type, and returning to the step (2);
(6) searching a user address of the data packet in a user table entry, if the user address exists in the user table entry, executing the step (7), otherwise, establishing the address, the antenna type, the data packet number and the silent period number of the user in the user table entry, and executing the step (7);
(7) updating the user table entry: adding 1 to the data packet number of the user, setting the antenna type as a coaxial antenna or a common antenna of the access point AP which currently works, and returning to the step (2);
(8) detecting the type of the antenna of the AP, if the AP works on the coaxial antenna, broadcasting a Clear To Send (CTS) frame, switching to the common antenna, and broadcasting a beacon frame, if the AP works on the common antenna, counting the data packet number of the coaxial antenna and the common antenna in the user table entry, storing the data packet number in a memory, and executing the step (9);
(9) comparing the data packet numbers of the coaxial antenna and the common antenna in the memory, wherein the data packet number is the average value of H periods, and calculating the switching time of the coaxial antenna and the common antenna
Figure FDA00002109131300021
M is the data grouping number of the coaxial antenna, and N is the data grouping number of the common antenna; sending the updated switching time T to the monitoring module to order T0= T, perform step (10);
(10) setting the number of silent periods: if the data packet number of one user is not 0, the silent period number is still 0, otherwise, the silent period number is added with 1, and the step (11) is executed;
(11) and (3) clearing all data packet numbers in the user table entry, broadcasting a Clear To Send (CTS) frame by the Access Point (AP), switching to a coaxial antenna, broadcasting a beacon frame, and returning to the step (2).
5. The antenna switching method according to claim 4, wherein the user table entry stores parameters of user address, antenna type, number of data packets and number of silent cycles.
CN201210327670.5A 2012-09-07 2012-09-07 WLAN (wireless local area network) based antenna switching system and switching method Expired - Fee Related CN102869127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210327670.5A CN102869127B (en) 2012-09-07 2012-09-07 WLAN (wireless local area network) based antenna switching system and switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210327670.5A CN102869127B (en) 2012-09-07 2012-09-07 WLAN (wireless local area network) based antenna switching system and switching method

Publications (2)

Publication Number Publication Date
CN102869127A true CN102869127A (en) 2013-01-09
CN102869127B CN102869127B (en) 2015-06-17

Family

ID=47447630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210327670.5A Expired - Fee Related CN102869127B (en) 2012-09-07 2012-09-07 WLAN (wireless local area network) based antenna switching system and switching method

Country Status (1)

Country Link
CN (1) CN102869127B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014187089A1 (en) * 2013-05-24 2014-11-27 华为技术有限公司 Data transmission system and method
GB2568921A (en) * 2017-11-30 2019-06-05 Fern Communications Ltd Portable wireless communication device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048944A (en) * 2004-09-10 2007-10-03 美商内数位科技公司 Implementing a smart antenna in a wireless local area network
CN101902264A (en) * 2010-06-30 2010-12-01 德又达网络通讯科技(上海)有限公司 Control method of smart antenna in 802.11 wireless communications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048944A (en) * 2004-09-10 2007-10-03 美商内数位科技公司 Implementing a smart antenna in a wireless local area network
CN101902264A (en) * 2010-06-30 2010-12-01 德又达网络通讯科技(上海)有限公司 Control method of smart antenna in 802.11 wireless communications

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014187089A1 (en) * 2013-05-24 2014-11-27 华为技术有限公司 Data transmission system and method
CN104184643A (en) * 2013-05-24 2014-12-03 华为技术有限公司 Data transmission system and method
US9693260B2 (en) 2013-05-24 2017-06-27 Huawei Technologies Co., Ltd. Data transmission system and method
CN104184643B (en) * 2013-05-24 2017-09-29 华为技术有限公司 A kind of data transmission system and method
GB2568921A (en) * 2017-11-30 2019-06-05 Fern Communications Ltd Portable wireless communication device

Also Published As

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

Similar Documents

Publication Publication Date Title
US11743171B2 (en) Multi-link group addressed traffic transmission method and apparatus
US10299198B2 (en) System and method for basic service set association
WO2015197653A1 (en) Systems and methods for selecting an optimum communication route in a wireless network
CN110677886B (en) Wireless communication access network switching scheduling method facing edge computing environment
Ahmed et al. MAC protocols for IEEE 802.11 ah-based Internet of Things: A survey
AU2021321909B2 (en) Individually addressed traffic indication method applicable to multiple links and related apparatus
US20100246461A1 (en) Power saving method for wireless access point
CN108123744B (en) Multi-sector switching WLAN base station radio frequency implementation method
KR20230091967A (en) Communication method and device
CN102869127B (en) WLAN (wireless local area network) based antenna switching system and switching method
CN101854706A (en) Wireless access point power saving control method
Hanyu et al. On improving flight energy efficiency in simultaneous transmission and reception of relay using UAVs
CN106028362B (en) Antenna cloud node communication implementation method and system for indoor high-density network
CN107241775B (en) Method and device for sending wireless local area network beacon
Xie et al. Improvement of multi-channel MAC protocol for dense VANET with directional antennas
Anushiya et al. Energy detection based spectrum sensing data mining for safety-message delivery in CR enabled VANET
Matsuzawa et al. Multi-hop transmission performance of integrated dynamic multi-hopping for wireless ad hoc networks
Xiao et al. A mobile relay selection strategy in cooperative spectrum sharing framework
Cao et al. Reliability and Latency of MmWave Communications Based on Blockage Avoidance in Internet of Vehicles
Jwa Tone Dual‐Channel MAC Protocol with Directional Antennas for Mobile Ad Hoc Networks
CA2750839C (en) Device and method for frequency scanning using two radios
CN205793378U (en) There is the Wireless network connection equipment of terminal statistical function
Choi et al. Neighbor node discovery algorithm for energy-efficient clustering in ubiquitious sensor networks
CN101997624A (en) Hybrid network system and switching method based on same
KR101447354B1 (en) Method and appratus for wifi offloading using wifi network in a cellular and wifi overlay network and device enabling the method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150617

Termination date: 20200907

CF01 Termination of patent right due to non-payment of annual fee