CN108933741B - Wireless communication method and device - Google Patents

Wireless communication method and device Download PDF

Info

Publication number
CN108933741B
CN108933741B CN201811113238.XA CN201811113238A CN108933741B CN 108933741 B CN108933741 B CN 108933741B CN 201811113238 A CN201811113238 A CN 201811113238A CN 108933741 B CN108933741 B CN 108933741B
Authority
CN
China
Prior art keywords
priority
queue
preset
threshold
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811113238.XA
Other languages
Chinese (zh)
Other versions
CN108933741A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201811113238.XA priority Critical patent/CN108933741B/en
Publication of CN108933741A publication Critical patent/CN108933741A/en
Application granted granted Critical
Publication of CN108933741B publication Critical patent/CN108933741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a wireless communication method and a device, wherein the wireless communication method is applied to wireless access equipment and comprises the following steps: determining the priority of each cached message; judging whether a message with the priority greater than a preset priority threshold exists in each cached message; if not, copying queue parameters of a preset priority queue with the priority greater than a preset priority threshold to a priority queue to which each message belongs; and performing wireless communication with the accessed STA based on the copied queue parameters of the priority queue to which each message belongs. By the scheme, the message transmission efficiency can be improved.

Description

Wireless communication method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a wireless communication method and apparatus.
Background
In a WLAN (Wireless Local Area Network), an STA (Station) associates with an AP (Access Point), so that mutual communication between multiple STAs can be achieved, and the STA can Access an external Network through the AP.
In practical WLAN applications, there are usually multiple STAs connected to the same AP at the same time, and the channel resources are limited, so that the STAs need to compete with each other for the channel. In order to ensure that a packet with a high requirement on transmission Quality can be transmitted preferentially, some wireless QoS (Quality of Service) protocols, such as WMM (Wi-Fi Multimedia) protocols, are proposed, and in these protocols, multiple types of packets are defined. An Access Controller (AC) sets priority queues to which various types of messages belong, each priority queue is provided with a queue parameter for determining the transmission priority of the corresponding message, and the priority queue parameters are sent to an Access Point (AP) and an Station (STA), so that the AP and the STA can distribute the messages to different priority queues for transmission, and the messages with higher priorities can be transmitted preferentially.
Because the transmission sequence of the messages is transmitted one by one based on the priority queues, even if no high-priority message exists, the step of searching the messages in the high-priority queue still needs to be executed when the AP or STA transmits the messages, so that the idle waiting time of the channel of the messages with lower priority is increased, and the message transmission efficiency is lower.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a wireless communication method and apparatus, so as to improve message transmission efficiency. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a wireless communication method, which is applied to a wireless access device, where the wireless access device includes an AC or an AP, and the method includes:
determining the priority of each cached message;
judging whether a message with the priority greater than a preset priority threshold exists in each cached message;
if not, copying queue parameters of a preset priority queue with the priority greater than the preset priority threshold to a priority queue to which each message belongs;
and carrying out wireless communication with the accessed wireless terminal STA based on the queue parameters copied from the priority queue to which each message belongs.
In a second aspect, an embodiment of the present invention provides a wireless communication apparatus, which is applied to a wireless access device, where the wireless access device includes an AC or an AP, and the apparatus includes:
the determining module is used for determining the priority of each cached message;
the judging module is used for judging whether a message with the priority greater than a preset priority threshold exists in each cached message;
the copying module is used for copying queue parameters of a preset priority queue with the priority greater than the preset priority threshold to a priority queue to which each message belongs if the judging result of the judging module is that the queue parameters do not exist;
and the communication module is used for carrying out wireless communication with the accessed STA based on the copied queue parameters of the priority queue to which each message belongs.
In a third aspect, an embodiment of the present invention provides a wireless access device, including a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the method steps of the first aspect of the embodiments of the present invention are implemented.
In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, storing machine-executable instructions, which when invoked and executed by a processor, performs the method steps described in the first aspect of the embodiment of the present invention.
According to the wireless communication method and device provided by the embodiment of the invention, when the cached messages are judged to have no message with the priority greater than the preset priority threshold, the wireless access equipment copies the queue parameters of the preset priority queue with the priority greater than the preset priority threshold to the priority queue to which the messages belong, and performs wireless communication with the accessed STA based on the copied queue parameters of the priority queue of the messages. When the cached messages do not have the message with the priority greater than the preset priority threshold, the queue parameter of the preset priority queue with the priority greater than the preset priority threshold is copied to the priority queue to which the messages belong, so that the low-priority messages in the actual network can be transmitted preferentially under the condition of no high-priority message, the idle waiting time of a channel is reduced, and the message transmission efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a wireless communication method according to an embodiment of the invention;
fig. 2 is a flowchart illustrating a wireless communication method according to another embodiment of the invention;
fig. 3 is a schematic structural diagram of a wireless communication device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wireless access device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to improve the efficiency of accessing the STA to the channel, embodiments of the present invention provide a wireless communication method, an apparatus, and a wireless access device. First, a wireless communication method according to an embodiment of the present invention will be described.
The executing main body of the wireless communication method provided by the embodiment of the invention can be a wireless access device, and the wireless access device can be an AC in an AC + FitAP networking, or can also be a FatAP (fat AP). The type of the wireless access device in this embodiment is not limited. The networking structure applied by the method in the embodiment can be an AC + FitAP networking structure, the AC controls and manages all FitAPs in the AC + FitAP networking structure, the AC can also provide authentication service for the STA by exchanging information with an authentication server, and the FitAPs and the AC cooperate to complete the functions of access, authentication and the like of the STA; the networking structure applied by the method in the embodiment can also be a FatAP networking structure, and the FatAP can complete the functions of access, authentication and the like of the STA. The wireless communication method provided by the embodiment of the present invention may be implemented by at least one of software, a hardware circuit, and a logic circuit provided in the execution body.
As shown in fig. 1, a wireless communication method provided in an embodiment of the present invention may include the following steps:
s101, determining the priority of each cached message.
The cached message comprises a message sent by the STA to the AP after the STA is accessed to the AP, and is cached in the wireless access equipment; the buffered messages also include messages sent by the wireless access device to the STA. The type information of the packet is carried in the packet, and the priority of the packet can be determined according to the type information of the packet. For example, the priority of voice type messages and video type messages is higher than that of normal type messages; certainly, the packet may also directly carry priority information, for example, a header of the packet carries a flag bit of QoS priority, and the flag bit directly gives the priority of the packet.
S102, judging whether the cached messages have the priority greater than a preset priority threshold value.
The preset priority threshold is a preset priority threshold for distinguishing a high-priority message from a low-priority message, and may be a specific numerical value or a type of the message. In an optional implementation manner, the priority of the normal type of packet may be set to a preset priority threshold, so that the voice, video, and other types of packets may be considered as high-priority packets, and the normal type of packets may be considered as low-priority packets. The wireless access device may buffer each message in its storage medium, and may also store each message in a message forwarding queue or a message receiving queue in the form of a queue.
S103, if the message with the priority greater than the preset priority threshold does not exist, copying the queue parameters of the preset priority queue with the priority greater than the preset priority threshold to the priority queue to which each message belongs.
In the current WLAN, most of the transmitted messages are normal type messages, in the WMM protocol, the normal type messages are usually allocated to BE (Best Effort) queues for transmission, the waiting time of the BE queues is very long, and the number of messages contended to BE sent through a channel is only 1, so that the channel must BE contended again after one message is contended to BE sent through the channel, and most of the messages are normal type messages, which results in extremely low message transmission efficiency.
If there is no message with priority greater than the preset priority threshold, it indicates that the buffered messages in the wireless access device may be all common type messages, or messages with priority lower than the common type messages, but there is no high priority message, in order to improve the transmission efficiency of the messages, it is considered that the low priority messages are preferentially transmitted, and the messages are transmitted after being distributed to the respective priority queues, the queue parameters in the priority queues determine the priority of the priority queues, and by copying the queue parameters of the preset priority queues greater than the preset priority threshold to the priority queues to which the messages belong, equivalently, the priority of the priority queues to which the messages belong is improved, and the low priority messages can be preferentially transmitted.
Taking the WMM protocol as an example, the WMM protocol is a wireless QoS protocol, and is a subset of the 802.11e protocol, and is used to ensure that a high-priority packet has a priority right to send, thereby ensuring that voice, video and other types of packets have better transmission quality in a wireless network. The priority queues comprise a VO (Voice) queue, a VI (Video) queue, a BE queue and a BK (Background) queue, the priority queues are the VO queue, the VI queue, the BE queue and the BK queue respectively according to the sequence of the priority from high to low, and messages in the high priority queue are transmitted preferentially. The queue parameter in each priority queue is an Enhanced Distributed Channel Access (EDCA) parameter, and the EDCA parameter is a set of Channel contention mechanism defined by a WMM protocol, which is beneficial for a high-priority message to enjoy a priority sending right and more bandwidths.
The EDCA parameters may include an AIFSN (Arbitration Inter Frame Spacing Number) parameter, an ECWmin (allocation form of ContentIon Window index form) parameter, an ECWmax (allocation form of ContentIon Window index form) parameter, and a TXOP Limit (Transmission Opportunity Limit) parameter. The smaller the AIFSN value is, the shorter the idle waiting time of the STA is, and the shorter the idle waiting time is, the greater the chance of acquiring the channel is; ECWmin and ECWmax determine an average back-off time value, and the larger the two values are, the longer the average back-off time of the STA is; the larger the TXOP Limit value is, the longer the time for which the STA can occupy the channel at one time is, and if the TXOP Limit value is 0, only one message can be sent after the STA occupies the channel every time. Typically, the EDCA parameter settings for each priority queue are shown in table 1.
TABLE 1 EDCA parameters for priority queues defined by the WMM protocol
Priority queue AIFSN ECWmin ECWmax TXOP Limit
BK 7 4 10 0
BE 3 4 10 0
VI 2 3 4 94
VO 2 2 3 47
If only common messages exist in the current WLAN, but no video, voice and other types of messages exist, namely the VI queue or the VO queue has no message transmission, the EDCA parameters of the VI queue or the VO queue are copied to the BE queue, so that the messages of the BE queue can BE transmitted preferentially.
In an optional implementation manner, when there is no packet of a high priority type such as video, voice, etc. in the buffered packet, the queue parameter of the VO queue may BE copied to the BE queue, so in the method provided in this embodiment, the EDCA parameter of each priority queue is updated as shown in table 2:
TABLE 2
Priority queue AIFSN ECWmin ECWmax TXOP Limit
BK 7 4 10 0
BE 2 2 3 47
VI 2 3 4 94
VO 2 2 3 47
Certainly, in order to ensure that the low-priority packet can BE transmitted preferentially without the high-priority packet, the queue parameter of the VI queue may BE copied to the BK queue while the queue parameter of the VO queue is copied to the BE queue.
Optionally, before S103, the wireless communication method provided in the embodiment of the present invention may further perform the following steps:
judging whether the number of the STAs with the received signal strength higher than a preset strength threshold value in the accessed STAs is larger than a first preset number threshold value or not, and whether messages with the priority higher than a preset priority threshold value do not exist in all cached messages in a preset period.
Alternatively, the first and second electrodes may be,
judging whether the number of STAs with received signal strength higher than a preset strength threshold value in accessed STAs is larger than a first preset number threshold value, whether messages with priority levels larger than a preset priority level threshold value do not exist in all cached messages in a preset period, and whether the number of STAs with flow values larger than a preset flow threshold value is larger than a second preset number threshold value;
the Received Signal Strength may be determined by RSSI (Received Signal Strength Indicator).
When queue parameters are copied, if the RSSI of an STA is low, packet loss is likely to occur, and if there are many STAs with low RSSI, increasing the priority of a low-priority packet will increase the error rate of packet transmission, so that in order to ensure the validity of packet transmission and the accuracy of determination, the following two conditions need to be satisfied at the same time:
(1) the RSSI of the accessed STAs is higher than a preset strength threshold value when the RSSI exceeds a certain number;
(2) there are no high priority messages within a preset period (e.g., 3 Beacon periods).
Accordingly, when the judgment result of step S103 is: the number of the STAs with the received signal strength higher than the preset strength threshold value in the accessed STAs is larger than a first preset number threshold value, no message with the priority higher than the preset priority threshold value exists in all buffered messages in a preset period, and queue parameters of a preset priority queue with the priority higher than the preset priority threshold value are copied to the priority queue to which the messages belong.
Because the message transmission efficiency cannot be significantly improved if the traffic is small in the multiple STAs accessing the AP, in order to significantly improve the message transmission efficiency, the following conditions may be satisfied on the basis of satisfying the above two conditions:
the flow values of more than a certain number of STAs reach a preset flow threshold value.
Accordingly, when the judgment result of step S103 is: the number of the STAs with the received signal strength higher than the preset strength threshold value in the accessed STAs is larger than a first preset number threshold value, no message with the priority higher than a preset priority threshold value exists in each cached message in a preset period, and the number of the STAs with the flow value higher than the preset flow threshold value is larger than a second preset number threshold value, the queue parameters of the preset priority queue with the priority higher than the preset priority threshold value are copied to the priority queue of each message.
Optionally, before S103, the wireless communication method provided in the embodiment of the present invention may further perform the following steps:
acquiring the number of accessed STAs and the flow value of each STA;
and adjusting the designated queue parameters in the preset priority queue with the priority greater than the preset priority threshold according to the number of the STAs and the flow value of each STA.
The number of STAs and the traffic value of the STA may determine the duration of the occupiable channel, for example, the greater the number of STAs and the greater the traffic value of the STA, the longer the duration of the occupiable channel should be; the smaller the number of STAs and the smaller the traffic value of the STA, the shorter the time period during which the channel can be occupied should be. Therefore, the designated queue parameters in the preset priority queue larger than the preset priority threshold value can be adjusted according to the number of the STAs and the flow value of each STA.
Specifically, if it is identified that the number of actually connected STAs is small or the traffic of the STAs is small, in the WMM protocol, the TXOP Limit parameter of the VO queue may BE reduced to 20, and then the EDCA parameter of the VO queue may BE copied to the BE queue.
And S104, performing wireless communication with the accessed STA based on the copied queue parameters of the priority queue to which each message belongs.
After the queue parameters of the priority queue are copied, the wireless access equipment can perform wireless communication with the STA based on the copied queue parameters, and preferentially transmit messages with lower priorities.
Optionally, S104 may specifically be:
sending the copied queue parameters of the priority queues to which the messages belong to the accessed STA so that the accessed STA sends the messages according to the copied queue parameters;
and sending a message to the accessed STA according to the radio frequency parameters of the preset priority queue.
The wireless communication between the wireless access device and the STA comprises the following steps: a downlink transmission process in which the wireless access device sends a message to the STA, and an uplink transmission process in which the STA sends a message to the wireless access device. For the AC + FitAP networking structure, the AC sends the message and the priority queue to the FitAP, and the FitAP sends a downlink message to the STA according to the priority queue; for FatAP, FatAP may send a downlink packet to the STA directly according to the priority queue.
After copying the queue parameters, the wireless access device may send the copied queue parameters to the STA, specifically, for the AC + FitAP networking structure, the AC informs the copied queue parameters to the FitAP, the FitAP carries the queue parameters in a Beacon frame, and the FitAP periodically broadcasts the Beacon frame; for FatAP, FatAP may directly carry the copied queue parameters in a Beacon frame that is periodically broadcast by FatAP.
After receiving the Beacon frame, the STA can acquire the copied queue parameters, thereby ensuring that the STA sends the uplink message according to the copied queue parameters. Meanwhile, the wireless access equipment can also copy the radio frequency parameters of the preset priority queue, so that the wireless access equipment can transmit the radio frequency signals according to the copied radio frequency parameters, wherein the radio frequency parameters at least comprise radio frequency strength, radio frequency period and the like.
Optionally, the wireless communication method provided in the embodiment of the present invention may further perform the following steps:
and if the cached messages have the priority greater than the preset priority threshold, restoring the queue parameters of the priority queue to which the messages belong to the default values.
The wireless access device may monitor the buffered packet all the time, and buffer the packet each time a packet is received or sent, and if the copied queue parameter takes effect, a packet with a priority greater than a preset priority threshold exists at a certain time, for example, if a packet exists in a VO queue or a VI queue, the copied and effective queue parameter of the BE queue or BK queue needs to BE restored to a default value. Meanwhile, the recovered queue parameters can be sent to the STA, and the radio frequency parameters are recovered as default parameters, so that normal transmission of the high-priority messages is not affected.
If each cached message in a preset period (such as 3 consecutive Beacon periods) does not have a high-priority message, the method provided in the embodiment of the present invention is executed again to ensure that the low-priority message can be transmitted preferentially.
By applying the embodiment, when judging that no message with the priority greater than the preset priority threshold exists in each cached message, the wireless access device copies the queue parameters of the preset priority queue with the priority greater than the preset priority threshold to the priority queue to which each message belongs, and performs wireless communication with the accessed STA based on the copied queue parameters of each message priority queue. When the cached messages do not have the message with the priority greater than the preset priority threshold, the queue parameter of the preset priority queue with the priority greater than the preset priority threshold is copied to the priority queue to which the messages belong, so that the low-priority messages in the actual network can be transmitted preferentially under the condition of no high-priority message, the idle waiting time of a channel is reduced, and the message transmission efficiency is improved.
Based on the embodiment shown in fig. 1, when the wireless access device is an AC in an AC + FitAP networking structure, an embodiment of the present invention further provides a wireless communication method, as shown in fig. 2, the wireless communication method may include the following steps:
s201, when starting wireless service, configuring an SSID uniformly for a plurality of fitaps in the same network, and binding the SSID to a BSSID corresponding to each of the fitaps according to the plurality of fitaps, or configuring the same SSID for a plurality of fitaps in the same network, and binding the SSID of each of the fitaps to the respective BSSID.
The SSID (Service Set Identification) provides an identifier of a Service for the WLAN, and is used to designate a certain wireless network, and the STA may select a WLAN to be accessed according to the SSID by wireless scanning. The AC uses a unique SSID for Identification by the STA, and when a wireless Service is started, the SSID may be bound to BSSIDs (Basic Service Set Identification) corresponding to the fitaps, one BSSID corresponding to a MAC address of one FitAP, according to a plurality of fitaps. Taking two fitaps as an example, the SSID corresponds to BSSID1 and BSSID2, and the respective fitaps corresponding to BSSID1 and BSSID2 work normally, each FitAP sends a Beacon frame separately, but the STA is actually the same service regardless of which FitAP it accesses.
Furthermore, it is also possible to configure the same SSID on each of the fitaps of the same network when starting the wireless service, for example, configure SSID1 and SSID2 on each of the fitaps of the same network, SSID1 and SSID2 are the same, and each SSID is bound with a unique BSSID, so that SSID1 and SSID2 are the same, but the bound BSSIDs are different.
Since multiple BSSIDs correspond to the same SSID, the basic configuration is the same, including encryption information, but the information of the WMM protocol is different. Thus, when the STA accesses, a part of the STAs can access the FitAP corresponding to the BSSID1, and another part of the STAs can access the FitAP corresponding to the BSSID2, which is equivalent to grouping the STAs. For example, there are 30 STAs in total, and when a STA scans, 20 of them may access the FitAP corresponding to BSSID1, and the remaining 10 access BSSIDs 2 correspond to FitAP.
When the STA scans a network, the STA searches for services with the same SSID, the BSSIDs are different, the STA can select to be connected to FitAP corresponding to which BSSID according to the scanning result of the STA, and the STA can be guided to FitAP corresponding to different BSSIDs through different strategies according to actual requirements. For example, according to the signal strength of the STA, the STA whose signal strength is higher than the preset threshold may be directed to FitAP corresponding to BSSID1, and the STA whose signal strength is lower than the preset threshold may be directed to FitAP corresponding to BSSID 2.
The above-mentioned guiding process may specifically be that, when the STA scans the network, the STA sends multiple Probe Request (Probe Request) messages, for example, 5 Probe Request messages, and if the wireless access device receives the 5 Probe Request messages and finds that the RSSI of the Probe Request messages is lower than a preset threshold, the FitAP corresponding to the BSSID1 receives the 5 Probe Request messages, selectively discards part of the active scanning messages, for example, only responds to 2 response messages, and when the FitAP corresponding to the BSSID2 receives the 5 Probe Request messages, responds to 5 response messages, so that the STA may access the FitAP corresponding to the BSSID 2.
S202, determining the priority of each cached message.
S203, judging whether the cached messages have the messages with the priority greater than the preset priority threshold.
And S204, if the message with the priority greater than the preset priority threshold does not exist, respectively copying the queue parameters of a plurality of preset priority queues with the priorities greater than the preset priority threshold to the priority queues corresponding to the FitAPs according to the BSSID of the FitAPs respectively accessed by the STAs.
Since different STAs access the fitaps corresponding to different BSSIDs, it is necessary to synchronously copy queue parameters to the priority queues of the fitaps corresponding to different BSSIDs, and in order to avoid channel contention, different queue parameters may be copied to the priority queues of the fitaps corresponding to different BSSIDs. Taking the WMM protocol as an example, the BE queue of FitAP corresponding to BSSID1 copies the EDCA parameters of the VO queue, and the BE queue of FitAP corresponding to BSSID2 may copy the EDCA parameters of the VI queue. Before the queue parameter replication, the parameters of the high-priority queue can be adjusted, and the parameters can be comprehensively considered according to the number of the STAs, the size of the traffic value and the like.
And S205, performing wireless communication with the accessed wireless terminal STA based on the copied queue parameters of the priority queue to which each message belongs.
S202, S203, and S205 are the same as S101, S102, and S104 of the embodiment shown in fig. 1, and are not described again here.
For FatAP, fataps in the same network have the same SSID, and when a wireless network is built, BSSIDs corresponding to the fataps can be set in the fataps to distinguish different fataps in the same network.
By applying the embodiment, when the cached messages do not have the message with the priority greater than the preset priority threshold, the queue parameter of the preset priority queue with the priority greater than the preset priority threshold is copied to the priority queue to which each message belongs, so that the low-priority message in the actual network can be preferentially transmitted under the condition of no high-priority message, the idle waiting time of the channel is reduced, the whole network is more robust, the user experience is improved, and the message transmission efficiency is improved.
And when the wireless service is started, the same SSID of the FitAP in the same network is bound to the corresponding BSSID, the grouping is performed on the STA equivalently by copying queue parameters and matching with multiple BSSIDs, messages of different STAs are transmitted through different queues, and the messages competing for the same channel are divided into different channels, so that the efficiency of accessing the channel by the STA is further improved.
Corresponding to the foregoing method embodiment, an embodiment of the present invention provides a wireless communication apparatus, as shown in fig. 3, applied to a wireless access device, where the wireless communication apparatus may include:
a determining module 310, configured to determine priorities of the cached messages;
the determining module 320 is configured to determine whether a message with a priority greater than a preset priority threshold exists in each cached message;
the copying module 330 is configured to copy, if the determination result of the determining module is that the packet does not exist, the queue parameter of the preset priority queue whose priority is greater than the preset priority threshold to the priority queue to which each packet belongs;
the communication module 340 is configured to perform wireless communication with the accessed STA based on the queue parameter copied from the priority queue to which each packet belongs.
Optionally, the determining module 320 may be further configured to:
judging whether the number of the STAs with the received signal strength higher than a preset strength threshold value in the accessed STAs is larger than a first preset number threshold value or not, and whether messages with the priority higher than the preset priority threshold value do not exist in all cached messages in a preset period or not;
alternatively, the first and second electrodes may be,
judging whether the number of STAs with received signal strength higher than a preset strength threshold value in accessed STAs is larger than a first preset number threshold value, whether messages with priority levels larger than the preset priority level threshold value do not exist in all cached messages in a preset period, and whether the number of STAs with flow values larger than the preset flow threshold value is larger than a second preset number threshold value;
the copy module 330 may specifically be configured to:
if the number of the STAs with the received signal strength higher than the preset strength threshold value in the accessed STAs is larger than the first preset number threshold value and no message with the priority higher than the preset priority threshold value exists in all the cached messages in the preset period, copying queue parameters of a preset priority queue with the priority higher than the preset priority threshold value to a priority queue to which each message belongs;
alternatively, the first and second electrodes may be,
if the number of the STAs with the received signal strengths higher than the preset strength threshold among the accessed STAs is larger than the first preset number threshold, there are no messages with priorities higher than the preset priority threshold in each message cached in the preset period, and the number of the STAs with the flow values higher than the preset flow threshold is larger than the second preset number threshold, copying the queue parameters of the preset priority queue with the priorities higher than the preset priority threshold to the priority queue to which each message belongs.
Optionally, the communication module 340 may be specifically configured to:
sending the queue parameters copied from the priority queues to which the messages belong to the accessed STA so that the connected STA sends the messages according to the copied queue parameters;
and sending a message to the accessed STA according to the radio frequency parameters of the preset priority queue.
Optionally, the apparatus may further include:
the acquisition module is used for acquiring the number of accessed STAs and the flow value of each STA;
and the adjusting module is used for adjusting the designated queue parameters in the preset priority queue with the priority greater than the preset priority threshold according to the number and the flow value of each STA.
Optionally, the apparatus may further include:
and the recovery module is used for recovering the queue parameters of the priority queue to which each message belongs to a default value if the cached messages with the priority greater than the preset priority threshold exist in each message.
Optionally, when the wireless access device is an AC, the apparatus may further include:
the system comprises a binding module, a Service Set Identifier (SSID) module and a service configuration module, wherein the binding module is used for uniformly configuring an SSID for a plurality of FitAPs in the same network when wireless service is started, and binding the SSID to BSSIDs corresponding to the FitAPs according to the FitAPs; or respectively configuring the same SSID for a plurality of FitAPs in the same network, and respectively binding the SSID of each FitAP to the corresponding BSSID;
the copy module 330 may specifically be configured to:
and respectively copying the queue parameters of a plurality of preset priority queues with the priority greater than the preset priority threshold to the priority queue corresponding to each FitAP according to the BSSID of the FitAP respectively accessed by each STA.
By applying the embodiment, when judging that no message with the priority greater than the preset priority threshold exists in each cached message, the wireless access device copies the queue parameters of the preset priority queue with the priority greater than the preset priority threshold to the priority queue to which each message belongs, and performs wireless communication with the accessed STA based on the copied queue parameters of each message priority queue. When the messages with the priority higher than the preset priority threshold value do not exist in the cached messages, the queue parameters of the preset priority queue with the priority higher than the preset priority threshold value are copied to the priority queue to which each message belongs, so that the low-priority messages in the actual network can be transmitted preferentially under the condition of no high-priority message, the idle waiting time of a channel is reduced, and the message transmission efficiency is improved.
An embodiment of the present invention further provides a wireless access device, as shown in fig. 4, which may include a processor 401 and a machine-readable storage medium 402, where the machine-readable storage medium 402 stores machine-executable instructions that can be executed by the processor 401, and the processor 401 is caused by the machine-executable instructions to: all the steps of the wireless communication method described above are implemented.
The machine-readable storage medium may include a RAM (Random Access Memory) and a NVM (Non-Volatile Memory), such as at least one disk Memory. Alternatively, the machine-readable storage medium may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In this embodiment, the processor 401 can realize that by reading the machine executable instructions stored in the machine-readable storage medium 402 and executing the machine executable instructions: when judging that no message with the priority greater than the preset priority threshold exists in the cached messages, copying queue parameters of a preset priority queue with the priority greater than the preset priority threshold to a priority queue to which each message belongs, and carrying out wireless communication with the accessed STA based on the copied queue parameters of each message priority queue. When the cached messages do not have the message with the priority greater than the preset priority threshold, the queue parameter of the preset priority queue with the priority greater than the preset priority threshold is copied to the priority queue to which the messages belong, so that the low-priority messages in the actual network can be transmitted preferentially under the condition of no high-priority message, the idle waiting time of a channel is reduced, and the message transmission efficiency is improved.
The embodiment of the invention also provides a machine-readable storage medium, which stores machine-executable instructions and realizes all the steps of the wireless communication method when the machine-readable storage medium is called and executed by a processor.
In this embodiment, the machine-readable storage medium stores machine-executable instructions for executing the wireless communication method provided in the embodiment of the present invention when executed, so that the following can be implemented: when judging that no message with the priority greater than the preset priority threshold exists in the cached messages, copying queue parameters of a preset priority queue with the priority greater than the preset priority threshold to a priority queue to which each message belongs, and carrying out wireless communication with the accessed STA based on the copied queue parameters of each message priority queue. When the cached messages do not have the message with the priority greater than the preset priority threshold, the queue parameter of the preset priority queue with the priority greater than the preset priority threshold is copied to the priority queue to which the messages belong, so that the low-priority messages in the actual network can be transmitted preferentially under the condition of no high-priority message, the idle waiting time of a channel is reduced, and the message transmission efficiency is improved.
For the embodiments of the wireless access device and the machine-readable storage medium, since the contents of the related methods are substantially similar to those of the foregoing embodiments of the methods, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the embodiments of the methods.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the wireless access device, and the machine-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to part of the description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A wireless communication method is applied to a wireless access device, wherein the wireless access device comprises an Access Controller (AC) or an Access Point (AP), and the method comprises the following steps:
determining the priority of each cached message;
judging whether a message with the priority greater than a preset priority threshold exists in each cached message;
if not, copying queue parameters of a preset priority queue with the priority greater than the preset priority threshold to a priority queue to which each message belongs;
performing wireless communication with the accessed wireless terminal STA based on the copied queue parameters of the priority queue to which each message belongs;
the copying the queue parameters of the preset priority queue with the priority greater than the preset priority threshold to the priority queue to which each message belongs includes: when the number of the STAs with the received signal strength higher than the preset strength threshold value in the accessed wireless terminal STA is larger than a first preset number threshold value and no message with the priority higher than the preset priority threshold value exists in all the cached messages in a preset period, copying the queue parameters of the preset priority queue with the priority higher than the preset priority threshold value to the priority queue to which each message belongs.
2. The method of claim 1, wherein before copying queue parameters of a predetermined priority queue having a priority greater than the predetermined priority threshold to a priority queue to which each packet belongs, the method further comprises:
judging whether the number of the STAs with the received signal strength higher than the preset strength threshold value in the accessed STAs is larger than a first preset number threshold value, whether messages with the priority higher than the preset priority threshold value do not exist in all the cached messages in the preset period, and whether the number of the STAs with the flow values larger than the preset flow threshold value is larger than a second preset number threshold value;
the copying the queue parameters of the preset priority queue with the priority greater than the preset priority threshold to the priority queue to which each message belongs comprises:
if the number of the STAs with the received signal strengths higher than the preset strength threshold among the accessed STAs is larger than the first preset number threshold, there are no messages with priorities higher than the preset priority threshold in each message cached in the preset period, and the number of the STAs with the flow values higher than the preset flow threshold is larger than the second preset number threshold, copying the queue parameters of the preset priority queue with the priorities higher than the preset priority threshold to the priority queue to which each message belongs.
3. The method according to claim 1, wherein the performing wireless communication with the accessed wireless terminal STA based on the queue parameter after copying the priority queue to which each packet belongs comprises:
sending the queue parameters copied from the priority queues to which the messages belong to an accessed STA (station), so that the accessed STA sends the messages according to the copied queue parameters;
and sending a message to the accessed STA according to the radio frequency parameters of the preset priority queue.
4. The method according to any of claims 1-3, wherein before copying queue parameters of a predetermined priority queue having a priority greater than the predetermined priority threshold to the priority queue to which each packet belongs, the method further comprises:
acquiring the number of accessed STAs and the flow value of each STA;
and adjusting the designated queue parameters in the preset priority queue with the priority greater than the preset priority threshold according to the number and the flow value of each STA.
5. The method of claim 1, further comprising:
and if the cached messages have the priority greater than the preset priority threshold, restoring the queue parameters of the priority queue to which the messages belong to the default values.
6. The method of claim 1, wherein when the wireless access device is an AC, the method further comprises:
when wireless service is started, aiming at a plurality of thin access points FitAPs in the same network, a service set identifier SSID is uniformly configured, and according to the plurality of FitAPs, the SSID is bound to a basic service set identifier BSSID corresponding to each FitAP; or respectively configuring the same SSID for a plurality of FitAPs in the same network, and respectively binding the SSID of each FitAP to the corresponding BSSID;
the copying the queue parameters of the preset priority queue with the priority greater than the preset priority threshold to the priority queue to which each message belongs comprises:
and respectively copying the queue parameters of a plurality of preset priority queues with the priority greater than the preset priority threshold to the priority queue corresponding to each FitAP according to the BSSID of the FitAP respectively accessed by each STA.
7. A wireless communication apparatus, applied to a wireless access device, the wireless access device including an AC or an AP, the apparatus comprising:
the determining module is used for determining the priority of each cached message;
the judging module is used for judging whether a message with the priority greater than a preset priority threshold exists in each cached message;
the copying module is used for copying queue parameters of a preset priority queue with the priority greater than the preset priority threshold to a priority queue to which each message belongs if the judging result of the judging module is that the queue parameters do not exist;
the communication module is used for carrying out wireless communication with the accessed STA based on the copied queue parameters of the priority queue to which each message belongs;
the copying module is specifically configured to copy, when the number of STAs, whose received signal strengths are higher than a preset strength threshold, in the accessed wireless terminal STA is greater than a first preset number threshold and there is no packet with a priority greater than the preset priority threshold in each buffered packet in a preset period, a queue parameter of a preset priority queue with a priority greater than the preset priority threshold to a priority queue to which each packet belongs.
8. The apparatus of claim 7, wherein the determining module is further configured to:
judging whether the number of the STAs with the received signal strength higher than the preset strength threshold value in the accessed STAs is larger than a first preset number threshold value, whether messages with the priority higher than the preset priority threshold value do not exist in all the cached messages in the preset period, and whether the number of the STAs with the flow values larger than the preset flow threshold value is larger than a second preset number threshold value;
the copy module is specifically configured to:
if the number of the STAs with the received signal strengths higher than the preset strength threshold among the accessed STAs is larger than the first preset number threshold, there are no messages with priorities higher than the preset priority threshold in each message cached in the preset period, and the number of the STAs with the flow values higher than the preset flow threshold is larger than the second preset number threshold, copying the queue parameters of the preset priority queue with the priorities higher than the preset priority threshold to the priority queue to which each message belongs.
9. The apparatus according to claim 7, wherein the communication module is specifically configured to:
sending the queue parameters copied from the priority queues to which the messages belong to the accessed STA so that the connected STA sends the messages according to the copied queue parameters;
and sending a message to the accessed STA according to the radio frequency parameters of the preset priority queue.
10. The apparatus according to any one of claims 7-9, further comprising:
the acquisition module is used for acquiring the number of accessed STAs and the flow value of each STA;
and the adjusting module is used for adjusting the designated queue parameters in the preset priority queue with the priority greater than the preset priority threshold according to the number and the flow value of each STA.
11. The apparatus of claim 7, further comprising:
and the recovery module is used for recovering the queue parameters of the priority queue to which each message belongs to a default value if the cached messages with the priority greater than the preset priority threshold exist in each message.
12. The apparatus of claim 7, wherein when the wireless access device is an AC, the apparatus further comprises:
the system comprises a binding module, a Service Set Identifier (SSID) module and a service configuration module, wherein the binding module is used for uniformly configuring an SSID for a plurality of FitAPs in the same network when wireless service is started, and binding the SSID to BSSIDs corresponding to the FitAPs according to the FitAPs; or respectively configuring the same SSID for a plurality of FitAPs in the same network, and respectively binding the SSID of each FitAP to the corresponding BSSID;
the copy module is specifically configured to:
and respectively copying the queue parameters of a plurality of preset priority queues with the priority greater than the preset priority threshold to the priority queue corresponding to each FitAP according to the BSSID of the FitAP respectively accessed by each STA.
CN201811113238.XA 2018-09-25 2018-09-25 Wireless communication method and device Active CN108933741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811113238.XA CN108933741B (en) 2018-09-25 2018-09-25 Wireless communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811113238.XA CN108933741B (en) 2018-09-25 2018-09-25 Wireless communication method and device

Publications (2)

Publication Number Publication Date
CN108933741A CN108933741A (en) 2018-12-04
CN108933741B true CN108933741B (en) 2022-04-22

Family

ID=64443904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811113238.XA Active CN108933741B (en) 2018-09-25 2018-09-25 Wireless communication method and device

Country Status (1)

Country Link
CN (1) CN108933741B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113206800B (en) * 2021-03-15 2022-05-27 新华三信息安全技术有限公司 Message caching method and device and network equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120113B1 (en) * 2001-07-16 2006-10-10 Juniper Networks, Inc. Systems and methods for limiting low priority traffic from blocking high priority traffic
CN101286980B (en) * 2008-05-14 2012-03-28 华中科技大学 Distributed media access control protocol for increasing capacity of wireless local area network
CN101640896B (en) * 2009-09-02 2012-03-28 杭州华三通信技术有限公司 Method and device for controlling service quality in wireless local area network
CN103124432A (en) * 2013-01-23 2013-05-29 中兴通讯股份有限公司 Wireless message transmitting device and method

Also Published As

Publication number Publication date
CN108933741A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
US10582566B2 (en) Method and apparatus for triggering uplink data in wireless LAN
US11071168B2 (en) Multi-station access method, apparatus, and system
KR101735029B1 (en) Systems and methods for fast initial network link setup
KR101667786B1 (en) Systems and methods for fast initial network link setup
KR101680230B1 (en) Systems and methods for fast initial network link setup
KR101680267B1 (en) Systems and methods for fast initial network link setup
US20120182963A1 (en) Reserving transmission resources
CN108028735B (en) Multiplexed messaging in wireless networks
KR20140089399A (en) Systems and methods for fast initial network link setup
KR20140089395A (en) Systems and methods for fast initial network link setup
US11849487B2 (en) Wireless communication system and wireless communication method
US20170208618A1 (en) Direct link scheduling method, access point and terminal device
KR20140089401A (en) Systems and methods for fast initial network link setup
WO2016044981A1 (en) Method and apparatus for transmitting uplink service data
US20160174240A1 (en) Multi-Channel-Based Data Sending Method and Apparatus
US20230209591A1 (en) Systems and methods for prioritizing bi-directional traffic flows
US20130235796A1 (en) System and Method for Uplink Transmission in a Wireless Network
CN105474736B (en) Method and device for transmitting data
CN106332153B (en) Bandwidth control method and device in WLAN
US11477817B2 (en) Systems and methods for prioritized channel access for 802.11ax clients in BSS with mixed clients
CN108933741B (en) Wireless communication method and device
KR20100063973A (en) Wireless network systems with priority class based medium access control
JP6305947B2 (en) Wireless communication system, wireless communication apparatus, and wireless communication method
EP3226435A1 (en) System and method for uplink transmission in a wireless network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant