CN116582954A - Channel competition method, device, communication equipment and storage medium - Google Patents

Channel competition method, device, communication equipment and storage medium Download PDF

Info

Publication number
CN116582954A
CN116582954A CN202310685661.1A CN202310685661A CN116582954A CN 116582954 A CN116582954 A CN 116582954A CN 202310685661 A CN202310685661 A CN 202310685661A CN 116582954 A CN116582954 A CN 116582954A
Authority
CN
China
Prior art keywords
queue
sent
parameter
bandwidth parameter
time slot
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.)
Pending
Application number
CN202310685661.1A
Other languages
Chinese (zh)
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.)
Shanghai Wuqi Microelectronics Co Ltd
Original Assignee
Shanghai Wuqi Microelectronics 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 Shanghai Wuqi Microelectronics Co Ltd filed Critical Shanghai Wuqi Microelectronics Co Ltd
Priority to CN202310685661.1A priority Critical patent/CN116582954A/en
Publication of CN116582954A publication Critical patent/CN116582954A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/10Dynamic resource partitioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA

Landscapes

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

Abstract

The application provides a channel competition method, a device, communication equipment and a storage medium, wherein the method comprises the following steps: acquiring a current bandwidth parameter of a queue to be sent; the current bandwidth parameter of the queue to be sent is the data volume sent by the queue to be sent in a preset time period; when the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet the adjustment conditions, adjusting the time slot parameter of the queue to be sent; the time slot parameter is used for determining a priority parameter of the queue to be sent; and determining the priority parameter of the queue to be sent according to the adjusted time slot parameter, so that the queue to be sent performs channel competition according to the priority parameter. The channel competition method is used for solving the problem that bandwidth allocation of a plurality of sending queues is not flexible and accurate in the prior art.

Description

Channel competition method, device, communication equipment and storage medium
Technical Field
The present application relates to the field of wireless communications, and in particular, to a channel contention method, a device, a communication apparatus, and a storage medium.
Background
With the continuous development of wireless local area networks, different service types have different requirements on bandwidth and time delay and different requirements on quality of service (Quality of Service, qoS) due to different service types in the network. An enhanced distributed channel access mechanism (Enhanced Distributed Channel Access, EDCA) is defined in the 802.11e protocol that facilitates the right and more bandwidth for prioritized transmission of high priority traffic data. Wireless communication devices typically support traffic of several traffic types, with traffic of different traffic types corresponding to different transmit queues. When the signal access process is actively initiated, the multiple transmit queues perform channel contention. The transmission queue with successful competition can acquire the channel use opportunity, so as to transmit the service data.
When multiple transmit queues compete for channels, each transmit queue is configured with a fixed priority parameter to enable multiple different services to have different priorities. However, when the network load is large, configuring the fixed priority parameter may cause the high-priority transmission queues to compete for most of the bandwidth, which has a problem that bandwidth allocation to the plurality of transmission queues is not flexible and accurate.
Disclosure of Invention
An embodiment of the application aims to provide a channel competition method, a device, communication equipment and a storage medium, which are used for solving the problem that bandwidth allocation of a plurality of transmission queues is not flexible and accurate in the prior art.
In a first aspect, the present application provides a channel contention method, including: acquiring a current bandwidth parameter of a queue to be sent; the current bandwidth parameter of the queue to be sent is the data volume sent by the queue to be sent in a preset time period; when the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet the adjustment conditions, adjusting the time slot parameter of the queue to be sent; the time slot parameter is used for determining a priority parameter of the queue to be sent; and determining the priority parameter of the queue to be sent according to the adjusted time slot parameter, so that the queue to be sent performs channel competition according to the priority parameter.
In the implementation process, a current bandwidth parameter of a queue to be sent is firstly obtained, wherein the current bandwidth parameter is the data volume sent by the queue to be sent in a preset time period. And then determining whether the queue to be sent meets the adjustment condition according to the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent. And when the queue to be transmitted meets the adjustment condition, adjusting the time slot parameter of the queue to be transmitted. After the adjusted time slot parameters are determined, the priority parameters of the queues to be sent are determined according to the adjusted time slot parameters, so that the priority parameters of the queues to be sent are adjusted. By the method, the priority parameters of the queue to be sent can be dynamically adjusted, and the queue to be sent can conduct channel competition according to the adjusted priority parameters, so that the capacity of the queue to be sent in the channel competition is changed, and the sending bandwidth of the queue to be sent is adjusted. In addition, because the time slot parameter can be generated by a clock signal in the network equipment, the precision can reach microsecond or nanosecond level, thereby realizing the high-precision adjustment of the priority parameter of the queue to be sent, and further realizing the high-precision adjustment of the bandwidth of the sending queue.
In an alternative embodiment, the time slot parameters of the queue to be sent include a first time slot parameter and a second time slot parameter, where the first time slot parameter is used to determine an arbitration inter-frame interval, and the second time slot parameter is used to determine a backoff parameter.
In the implementation process, the first time slot parameter and the second time slot parameter are set, when the time slot parameter is adjusted, only the first time slot parameter, only the second time slot parameter or both the first time slot parameter and the second time slot parameter can be selected to be adjusted according to actual conditions, so that the time slot parameter is flexibly adjusted, and further the transmission bandwidth of the queue to be transmitted is flexibly adjusted.
In an alternative embodiment, the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet an adjustment condition, including: the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is not in a preset threshold range; or the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is not in the preset threshold range.
In an alternative embodiment, the adjusting the timeslot parameter of the queue to be sent includes: when the current bandwidth parameter of the queue to be sent is larger than the target bandwidth parameter of the queue to be sent, the larger the current bandwidth parameter of the queue to be sent is, the larger the time slot parameter is after adjustment; when the current bandwidth parameter of the queue to be sent is smaller than the target bandwidth parameter of the queue to be sent, the smaller the current bandwidth parameter of the queue to be sent is, the smaller the time slot parameter is after adjustment.
In the implementation process, the adjustment of the priority parameter of the queue to be sent is realized by adjusting the time slot parameter, and the queue to be sent performs channel competition according to the adjusted priority parameter. When the current bandwidth parameter of the queue to be sent is smaller, the time slot parameter of the queue to be sent is reduced, and when the queue to be sent performs channel competition, the channel can be more quickly contended, so that data transmission is realized, and the current bandwidth parameter of the queue to be sent is improved; when the current bandwidth parameter of the queue to be sent is larger, the time slot parameter of the queue to be sent is improved, and when the queue to be sent performs channel competition, the channel use right cannot be obtained rapidly, so that the current bandwidth parameter of the queue to be sent is reduced.
In an alternative embodiment, the adjusting the timeslot parameter of the queue to be sent includes: determining an adjustment amplitude according to the numerical relation between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent; and adjusting the time slot parameters of the queue to be sent according to the adjustment amplitude.
In an optional implementation manner, the determining the adjustment amplitude according to the numerical relation between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent includes:
the adjustment amplitude is determined according to the following formula:
and y is the adjustment amplitude, x is the ratio of a first parameter to a target bandwidth parameter of the queue to be sent, and the first parameter is the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent.
In an alternative embodiment, the adjusting the timeslot parameter of the queue to be sent includes: determining an adjustment amplitude according to the numerical relation and a preset adjustment strategy; the adjustment strategy is used for representing the corresponding relation between the numerical relation and the adjustment amplitude.
In a second aspect, the present application provides a channel contention device comprising: the acquisition module is used for acquiring the current bandwidth parameter of the queue to be transmitted; the current bandwidth parameter of the queue to be sent is the data volume sent by the queue to be sent in a preset time period; the adjusting module is used for adjusting the time slot parameter of the queue to be sent when the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet the adjusting condition; the time slot parameter is used for determining a priority parameter of the queue to be sent; and the determining module is used for determining the priority parameter of the queue to be sent according to the adjusted time slot parameter so that the queue to be sent performs channel competition according to the priority parameter.
In an alternative embodiment, the time slot parameters of the queue to be sent include a first time slot parameter and a second time slot parameter, where the first time slot parameter is used to determine an arbitration inter-frame interval, and the second time slot parameter is used to determine a backoff parameter.
In an alternative embodiment, the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet an adjustment condition, including: the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is not in a preset threshold range; or the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is not in the preset threshold range.
In an optional embodiment, the adjusting module is specifically configured to, when the current bandwidth parameter of the queue to be sent is greater than the target bandwidth parameter of the queue to be sent, increase the current bandwidth parameter of the queue to be sent, and increase the adjusted time slot parameter; when the current bandwidth parameter of the queue to be sent is smaller than the target bandwidth parameter of the queue to be sent, the smaller the current bandwidth parameter of the queue to be sent is, the smaller the time slot parameter is after adjustment.
In an optional implementation manner, the adjustment module is specifically configured to determine an adjustment amplitude according to a numerical relation between a current bandwidth parameter of the queue to be sent and a target bandwidth parameter of the queue to be sent; and adjusting the time slot parameters of the queue to be sent according to the adjustment amplitude.
In an alternative embodiment, the adjustment module is specifically configured to determine the adjustment amplitude according to the following formula:
and y is the adjustment amplitude, x is the ratio of a first parameter to a target bandwidth parameter of the queue to be sent, and the first parameter is the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent.
In an optional embodiment, the adjustment module is specifically configured to determine an adjustment amplitude according to the numerical relationship and a preset adjustment policy; the adjustment strategy is used for representing the corresponding relation between the numerical relation and the adjustment amplitude.
In a third aspect, the present application provides a communication device comprising: a processor, a memory, and a bus; the processor and the memory complete communication with each other through the bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of the preceding embodiments.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon computer program instructions which, when read and executed by a computer, perform a method according to any of the preceding embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a channel contention method according to an embodiment of the present application;
fig. 2 is a block diagram of a channel contention device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
An embodiment of the application aims to provide a channel competition method, a device, communication equipment and a storage medium, which are used for solving the problem that bandwidth allocation of a plurality of transmission queues is not flexible and accurate in the prior art.
The technology can be realized by adopting corresponding software, hardware and a combination of the software and the hardware. Embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a flowchart of a channel contention method according to an embodiment of the present application, where the data transmission method may include the following:
step 101: and acquiring the current bandwidth parameter of the queue to be transmitted.
Step 102: and when the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet the adjustment conditions, adjusting the time slot parameter of the queue to be sent.
Step 103: and determining the priority parameter of the queue to be sent according to the adjusted time slot parameter so that the queue to be sent performs channel competition according to the priority parameter.
In the embodiment of the application, a current bandwidth parameter of a queue to be sent is firstly obtained, wherein the current bandwidth parameter is the data volume sent by the queue to be sent in a preset time period. And then determining whether the queue to be sent meets the adjustment condition according to the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent. And when the queue to be transmitted meets the adjustment condition, adjusting the time slot parameter of the queue to be transmitted. After the adjusted time slot parameters are determined, the priority parameters of the queues to be sent are determined according to the adjusted time slot parameters, so that the priority parameters of the queues to be sent are adjusted. By the method, the priority parameters of the queue to be sent can be dynamically adjusted, and the queue to be sent can conduct channel competition according to the adjusted priority parameters, so that the capacity of the queue to be sent in the channel competition is changed, and the sending bandwidth of the queue to be sent is adjusted.
In addition, because the time slot parameter can be generated by a clock signal in the network equipment, the precision can reach microsecond or nanosecond level, thereby realizing the high-precision adjustment of the priority parameter of the queue to be sent, and further realizing the high-precision adjustment of the bandwidth of the sending queue.
The above steps are described in detail below.
Step 101: and acquiring the current bandwidth parameter of the queue to be transmitted.
In the embodiment of the application, the current bandwidth parameter of the queue to be sent is the data volume sent by the queue to be sent in a preset time period. And in a preset time period, recording the data quantity transmitted by the queue to be transmitted as the current bandwidth parameter of the queue to be transmitted.
The preset time period can be flexibly set according to the actual network environment. For example, the preset time period may be 1 minute, 10 minutes, 1 hour, or the like. If the load of the current network environment is large, in order to timely adjust the channel competitiveness of the queue to be sent, the preset time period may be set to be shorter, for example, 1 minute, 5 minutes, etc.; if the load of the current network environment is small, the channel competition capability of the queue to be sent does not need to be frequently adjusted, the power consumption of the system is reduced, and the preset time period can be set longer, for example, 1 hour, 2 hours, 1 day and the like.
Step 102: and when the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet the adjustment conditions, adjusting the time slot parameter of the queue to be sent.
In the embodiment of the application, after the current bandwidth parameter of the queue to be sent is obtained, whether the queue to be sent meets the adjustment condition is judged according to the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent. The target bandwidth parameter of the queue to be sent is a bandwidth parameter preset according to the priority of the queue to be sent. The target bandwidth parameter of the queue to be transmitted characterizes the amount of data expected to be transmitted by the queue to be transmitted in a preset time period.
The queue to be transmitted is a queue in the network environment in which data is to be transmitted. Different service types exist in the network, and different service types have differences in requirements on bandwidth and time delay, so that the target bandwidth parameters of different transmission queues have differences.
For example, in the EDCA mechanism of the 802.11e protocol, 4 different Access Categories (ACs) are defined according to different traffic data flows, and the priority is respectively as follows: ac_vo (Voice), ac_vi (Video), ac_be (Best Effort), and ac_bk (Background). One for each access class. The system expects that the transmission queue with high priority occupies more bandwidth and preferentially transmits service data. Thus, the higher the priority, the higher the target bandwidth parameter corresponding to the transmit queue.
The following describes the adjustment conditions.
When the queue to be transmitted meets the adjustment condition, the fact that the data volume actually transmitted by the queue to be transmitted is larger than the data volume expected to be transmitted in a preset time period is shown; otherwise, when the queue to be sent does not meet the adjustment condition, the data quantity actually sent by the queue to be sent is smaller than the data quantity expected to be sent in a preset time period.
As an optional implementation manner, if the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is not in the preset threshold range, it is determined that the queue to be sent meets the adjustment condition.
In the embodiment of the application, a preset threshold range is set, if the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is not in the preset threshold range, the fact that the actual data volume sent by the queue to be sent and the expected data volume have larger difference value within a preset time period is represented, the adjustment condition is met, and the time slot parameter of the queue to be sent needs to be adjusted.
For example, the preset threshold may range from-10 kb to 10kb, with a preset time period of 1 second. If the data volume sent by the queue to be sent in 1 second is 100kb, the target bandwidth parameter corresponding to the queue to be sent is 120kb, the difference value between the target bandwidth parameter and the target bandwidth parameter is-20 kb, and the difference value is not in the preset threshold value range, the fact that the actual data volume sent by the queue to be sent and the expected data volume have larger difference in the preset time period is indicated, the adjustment condition is met, and the time slot parameter of the queue to be sent needs to be adjusted. If the data volume sent by the queue to be sent in 1 second is 125kb, the target bandwidth parameter corresponding to the queue to be sent is 120kb, and the difference value between the two is 5kb, in the preset threshold range, the fact that the actual data volume sent by the queue to be sent and the expected data volume have smaller difference in the preset time period is indicated, the adjustment condition is not met, and the time slot parameter of the queue to be sent is not required to be adjusted.
As another alternative embodiment, if the ratio of the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is not in the preset threshold range, it is determined that the queue to be sent meets the adjustment condition.
In the embodiment of the application, a preset threshold range is set, if the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is not in the preset threshold range, the fact that the actual data volume sent by the queue to be sent and the expected data volume have larger difference in a preset time period is represented, the adjustment condition is met, and the time slot parameter of the queue to be sent needs to be adjusted.
For example, the preset threshold may range from 0.5 to 1.5, with a preset time period of 1 second. If the data volume sent by the queue to be sent in 1 second is 200kb, the target bandwidth parameter corresponding to the queue to be sent is 100kb, the ratio of the two is 2kb, and the data volume is not in the preset threshold range, the fact that the actual data volume sent by the queue to be sent and the expected data volume have large difference in the preset time period is indicated, the adjustment condition is met, and the time slot parameter of the queue to be sent needs to be adjusted. If the data volume sent by the queue to be sent in 1 second is 80kb, the target bandwidth parameter corresponding to the queue to be sent is 100kb, the ratio of the two is 0.8, and in the preset threshold range, the fact that the actual data volume sent by the queue to be sent and the expected data volume have smaller phase difference in the preset time period is indicated, the adjustment condition is not met, and the time slot parameter of the queue to be sent is not required to be adjusted.
It should be noted that, the adjusting conditions in the embodiment of the present application are not limited in particular, and the conditions that can determine whether the data amount actually transmitted by the queue to be transmitted and the data amount expected to be transmitted differ greatly can be both used as the adjusting conditions.
To facilitate understanding of the scheme, the manner of channel contention and slot parameters are described below.
In order to meet the QoS requirements of the transmission queues with different priorities, each transmission queue corresponds to one priority parameter, and the transmission queues perform transmission channel competition according to the priority parameter corresponding to the transmission queues. The priority parameters may include: the interframe space (Arbitration Inter Frame Space, AIFS) and the BACKOFF parameter (BACKOFF) are arbitrated.
The AIFS of a transmit queue determines the arbitration contention slot period of the transmit queue. The arbitration inter-frame space AIFS can be expressed as: aifs=sifs+aifsn [ AC ]. Slat. Wherein SIFS is Short Inter-Frame Space (Short Inter-Frame Space), and SLOT is a SLOT parameter.
The backoff parameter of a transmit queue determines the backoff slot period of the transmit queue. The BACKOFF parameter BACKOFF may be expressed as: back off=cw_sel. Wherein SLOT is a SLOT parameter.
When a certain transmission queue has data transmission requirement, the transmission queue detects the channel, and when the channel is in an idle state in a period of time corresponding to the transmission queue AIFS [ AC ], a back-off flow is started. In the back-off process, if the channel is still in an idle state, the BACKOFF corresponding to the transmission queue is continuously reduced, and when the BACKOFF is reduced to 0, the transmission queue obtains the channel use right, and the system transmits the service data corresponding to the transmission queue on the channel.
In the embodiment of the application, the time SLOT parameter is SLOT in the arbitration inter-frame space AIFS and the BACKOFF parameter BACKFF.
As an alternative embodiment, the slot parameters are used to determine arbitration inter-frame spacing and backoff parameters.
In an embodiment of the present application, the arbitration inter-frame space AIFS may be expressed as: aifs=sifs+aifsn [ AC ]. SLOT, the BACKOFF parameter BACKOFF may be expressed as: back off=cw_sel. Wherein SLOT is a SLOT parameter.
As another alternative embodiment, the slot parameters of the queue to be transmitted include a first slot parameter and a second slot parameter. The first slot parameter is used to determine the arbitration inter-frame space and the second slot parameter is used to determine the backoff parameter.
In an embodiment of the present application, the arbitration inter-frame space AIFS may be expressed as: aifs=sifs+aifsn [ AC ]. SLOT1, SLOT1 being the first SLOT parameter. The BACKOFF parameter BACKOFF may be expressed as: back off=cw_sel×slot2, SLOT2 being the second SLOT parameter.
When the time slot parameter is adjusted, only the first time slot parameter, only the second time slot parameter or both the first time slot parameter and the second time slot parameter can be selected according to actual conditions.
And adjusting the priority parameter of the queue to be transmitted by adjusting the time slot parameter, and performing channel competition by the queue to be transmitted according to the adjusted priority parameter. When the current bandwidth parameter of the queue to be sent is smaller, the time slot parameter of the queue to be sent is reduced, and when the queue to be sent performs channel competition, the channel can be more quickly contended, so that data transmission is realized, and the current bandwidth parameter of the queue to be sent is improved; when the current bandwidth parameter of the queue to be sent is larger, the time slot parameter of the queue to be sent is improved, and when the queue to be sent performs channel competition, the channel use right cannot be obtained rapidly, so that the current bandwidth parameter of the queue to be sent is reduced.
The following describes a way to adjust the slot parameters of the queues to be transmitted.
In the embodiment of the application, when the queue to be sent meets the adjustment condition, the time slot parameters of the queue to be sent are adjusted according to the following principle:
when the current bandwidth parameter of the queue to be sent is larger than the target bandwidth parameter of the queue to be sent, the larger the current bandwidth parameter of the queue to be sent is, the larger the adjusted time slot parameter is;
when the current bandwidth parameter of the queue to be sent is smaller than the target bandwidth parameter of the queue to be sent, the smaller the current bandwidth parameter of the queue to be sent is, the smaller the adjusted time slot parameter is.
According to the channel contention mode, if the current bandwidth parameter of the queue to be sent is greater than the target bandwidth parameter of the queue to be sent, it is indicated that the queue to be sent occupies more channel resources. The time slot parameters of the queue to be sent are increased, so that the data volume sent by the queue to be sent can be effectively reduced.
If the current bandwidth parameter of the queue to be sent is smaller than the target bandwidth parameter of the queue to be sent, the queue to be sent is indicated to occupy less channel resources. The time slot parameters of the queue to be sent are reduced, so that the data volume sent by the queue to be sent can be effectively improved.
As an alternative embodiment, adjusting the timeslot parameters of the queue to be sent includes: determining an adjustment amplitude according to the numerical relation between the current bandwidth parameter of the queue to be transmitted and the target bandwidth parameter of the queue to be transmitted; and adjusting the time slot parameters of the queue to be transmitted according to the adjustment amplitude.
In the embodiment of the application, after the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent are obtained, the adjustment amplitude of the time slot parameter is determined by comparing the numerical relation of the current bandwidth parameter and the target bandwidth parameter of the queue to be sent, and then the time slot parameter of the queue to be sent is adjusted according to the adjustment amplitude.
Specifically, the adjustment amplitude is a, and the time SLOT parameter of the queue to be sent is SLOT. After the adjustment amplitude a is determined, the SLOT parameter of the queue to be sent is adjusted to a SLOT.
In some embodiments, determining the adjustment amplitude according to a numerical relationship between a current bandwidth parameter of the queue to be transmitted and a target bandwidth parameter of the queue to be transmitted includes:
the adjustment amplitude is determined according to the following formula:
wherein y is the adjustment amplitude, x is the ratio of the first parameter to the target bandwidth parameter of the queue to be sent, and the first parameter is the difference between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent.
For example, the current bandwidth parameter of the queue to be sent is 80kb, the target bandwidth parameter of the queue to be sent is 100kb, the difference between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is 20kb, the first parameter is 20kb/100 kb=0.2, and x=0.2. As can be seen from the above formula, the adjustment amplitude y is 0.83.
In other embodiments, determining the adjustment amplitude according to a numerical relationship between a current bandwidth parameter of the queue to be transmitted and a target bandwidth parameter of the queue to be transmitted includes: and determining the adjustment amplitude according to the numerical relation and a preset adjustment strategy.
In the embodiment of the application, an adjustment strategy is pre-configured, and the adjustment strategy is used for representing the corresponding relation between the numerical relation and the adjustment amplitude. After the numerical relation between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is determined, the adjustment amplitude is determined from the adjustment strategy according to the numerical relation.
For example, the numerical relationship between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent, and the adjustment strategy is: when the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is less than 20%, adjusting the amplitude to be 0.5; when the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is 21% -50%, the adjustment amplitude is 0.6; when the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is more than 51% -70%, adjusting the amplitude to be 0.7; when the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is 71% -80%, the adjustment amplitude is 0.8.
The numerical relation between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is not limited, and the numerical relation may include a difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent, a ratio of the first parameter to the target bandwidth parameter of the queue to be sent, a difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent, and the like.
Step 103: and determining the priority parameter of the queue to be sent according to the adjusted time slot parameter so that the queue to be sent performs channel competition according to the priority parameter.
In the embodiment of the application, after the time slot parameters of the queue to be sent are continuously adjusted, the priority parameters of the queue to be sent are determined according to the adjusted time slot parameters. For a specific manner of determining the priority parameter according to the slot parameter, reference may be made to the prior art, and this is not repeated here. And the queue to be transmitted performs channel competition according to the adjusted priority parameter, and transmits service data after the channel competition is successful.
Based on the same inventive concept, the embodiment of the application also provides a channel competition device. Referring to fig. 2, fig. 2 is a block diagram of a channel contention device according to an embodiment of the present application, and the channel contention device 200 may include:
an obtaining module 201, configured to obtain a current bandwidth parameter of a queue to be sent; the current bandwidth parameter of the queue to be sent is the data volume sent by the queue to be sent in a preset time period;
an adjustment module 202, configured to adjust a time slot parameter of the queue to be sent when the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet an adjustment condition; the time slot parameter is used for determining a priority parameter of the queue to be sent;
a determining module 203, configured to determine a priority parameter of the queue to be sent according to the adjusted timeslot parameter, so that the queue to be sent performs channel contention according to the priority parameter.
In an alternative embodiment, the time slot parameters of the queue to be sent include a first time slot parameter and a second time slot parameter, where the first time slot parameter is used to determine an arbitration inter-frame interval, and the second time slot parameter is used to determine a backoff parameter.
In an alternative embodiment, the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet an adjustment condition, including:
the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is not in a preset threshold range;
or the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is not in the preset threshold range.
In an optional embodiment, the adjusting module 202 is specifically configured to, when the current bandwidth parameter of the to-be-sent queue is greater than the target bandwidth parameter of the to-be-sent queue, increase the current bandwidth parameter of the to-be-sent queue, and increase the adjusted time slot parameter; when the current bandwidth parameter of the queue to be sent is smaller than the target bandwidth parameter of the queue to be sent, the smaller the current bandwidth parameter of the queue to be sent is, the smaller the time slot parameter is after adjustment.
In an alternative embodiment, the adjusting module 202 is specifically configured to determine the adjustment amplitude according to a numerical relationship between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent; and adjusting the time slot parameters of the queue to be sent according to the adjustment amplitude.
In an alternative embodiment, the adjustment module 202 is specifically configured to determine the adjustment amplitude according to the following formula:
and y is the adjustment amplitude, x is the ratio of a first parameter to a target bandwidth parameter of the queue to be sent, and the first parameter is the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent.
In an alternative embodiment, the adjustment module 202 is specifically configured to determine an adjustment amplitude according to the numerical relationship and a preset adjustment policy; the adjustment strategy is used for representing the corresponding relation between the numerical relation and the adjustment amplitude.
In addition, referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device 300 according to an embodiment of the application, where the electronic device 300 includes: at least one processor 301, at least one communication interface 302, at least one memory 303 and at least one bus 304. Where bus 304 is used to enable direct connection communication of these components, communication interface 302 is used to communicate signaling or data with other node devices, and memory 303 stores machine readable instructions executable by processor 301. When the electronic device 300 is operating, the processor 301 and the memory 303 communicate via the bus 304, and the machine readable instructions when invoked by the processor 301 perform the channel contention method as described above.
The processor 301 may be an integrated circuit chip with signal processing capabilities. The processor 301 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Which may implement or perform the various methods, steps, and logical blocks disclosed in embodiments of the application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory 303 may include, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), and the like.
It is to be understood that the configuration shown in fig. 3 is merely illustrative, and that electronic device 300 may also include more or fewer components than those shown in fig. 3, or have a different configuration than that shown in fig. 3. The components shown in fig. 3 may be implemented in hardware, software, or a combination thereof. In the embodiment of the present application, the electronic device 300 may be, but is not limited to, a physical device such as a desktop, a notebook, a smart phone, an intelligent wearable device, a vehicle-mounted device, or a virtual device such as a virtual machine. In addition, the electronic device 300 is not necessarily a single device, and may be a combination of a plurality of devices, for example, a server cluster, or the like.
Furthermore, the embodiment of the present application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a computer, performs the steps of the channel contention method in the above embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM) random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In this document, 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.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A channel contention method, comprising:
acquiring a current bandwidth parameter of a queue to be sent; the current bandwidth parameter of the queue to be sent is the data volume sent by the queue to be sent in a preset time period;
when the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet the adjustment conditions, adjusting the time slot parameter of the queue to be sent; the time slot parameter is used for determining a priority parameter of the queue to be sent;
and determining the priority parameter of the queue to be sent according to the adjusted time slot parameter, so that the queue to be sent performs channel competition according to the priority parameter.
2. The channel contention method according to claim 1, wherein the slot parameters of the queue to be transmitted include a first slot parameter for determining an arbitration inter-frame space and a second slot parameter for determining a backoff parameter.
3. The channel contention method according to claim 1, wherein the current bandwidth parameter of the to-be-transmitted queue and the target bandwidth parameter of the to-be-transmitted queue satisfy an adjustment condition, comprising:
the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent is not in a preset threshold range;
or the ratio of the current bandwidth parameter of the queue to be sent to the target bandwidth parameter of the queue to be sent is not in the preset threshold range.
4. The channel contention method according to claim 1, wherein said adjusting the slot parameter of the queue to be transmitted includes:
when the current bandwidth parameter of the queue to be sent is larger than the target bandwidth parameter of the queue to be sent, the larger the current bandwidth parameter of the queue to be sent is, the larger the time slot parameter is after adjustment;
when the current bandwidth parameter of the queue to be sent is smaller than the target bandwidth parameter of the queue to be sent, the smaller the current bandwidth parameter of the queue to be sent is, the smaller the time slot parameter is after adjustment.
5. The channel contention method according to claim 1, wherein said adjusting the slot parameter of the queue to be transmitted includes:
determining an adjustment amplitude according to the numerical relation between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent;
and adjusting the time slot parameters of the queue to be sent according to the adjustment amplitude.
6. The channel contention method according to claim 5, wherein the determining the adjustment amplitude according to the numerical relation between the current bandwidth parameter of the queue to be transmitted and the target bandwidth parameter of the queue to be transmitted includes:
the adjustment amplitude is determined according to the following formula:
and y is the adjustment amplitude, x is the ratio of a first parameter to a target bandwidth parameter of the queue to be sent, and the first parameter is the difference value between the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent.
7. The channel contention method according to claim 5, wherein said adjusting the slot parameter of the queue to be transmitted includes:
determining an adjustment amplitude according to the numerical relation and a preset adjustment strategy; the adjustment strategy is used for representing the corresponding relation between the numerical relation and the adjustment amplitude.
8. A channel contention device, comprising:
the acquisition module is used for acquiring the current bandwidth parameter of the queue to be transmitted; the current bandwidth parameter of the queue to be sent is the data volume sent by the queue to be sent in a preset time period;
the adjusting module is used for adjusting the time slot parameter of the queue to be sent when the current bandwidth parameter of the queue to be sent and the target bandwidth parameter of the queue to be sent meet the adjusting condition; the time slot parameter is used for determining a priority parameter of the queue to be sent;
and the determining module is used for determining the priority parameter of the queue to be sent according to the adjusted time slot parameter so that the queue to be sent performs channel competition according to the priority parameter.
9. A communication device, comprising: a processor, a memory, and a bus; the processor and the memory complete communication with each other through the bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-7.
10. A computer readable storage medium, having stored thereon computer program instructions, which when read and executed by a computer, perform the method according to any of claims 1-7.
CN202310685661.1A 2023-06-09 2023-06-09 Channel competition method, device, communication equipment and storage medium Pending CN116582954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310685661.1A CN116582954A (en) 2023-06-09 2023-06-09 Channel competition method, device, communication equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310685661.1A CN116582954A (en) 2023-06-09 2023-06-09 Channel competition method, device, communication equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116582954A true CN116582954A (en) 2023-08-11

Family

ID=87535885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310685661.1A Pending CN116582954A (en) 2023-06-09 2023-06-09 Channel competition method, device, communication equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116582954A (en)

Similar Documents

Publication Publication Date Title
US7843943B2 (en) Differentiation for bandwidth request contention
CN110248417B (en) Resource allocation method and system for communication service in power Internet of things
JP7032306B2 (en) Resource collision reduction method and UE
CN108141882B (en) Adjustment of data flows and contention window parameters with different priorities in contention-based systems
CN107535006A (en) A kind of channel access method and device
CA2552398A1 (en) Packet scheduling in a wireless local area network
CN109068332B (en) Data transmission method and device
CN111328148B (en) Data transmission method and device
CN112868265B (en) Network resource management method, management device, electronic equipment and storage medium
US10342031B2 (en) Data transmission method and device
EP3547632B1 (en) Method for terminal communication
CN111615214B (en) Data sending method and device
CN110674942A (en) Bandwidth management method and device, electronic equipment and readable storage medium
JP2019533323A (en) COMMUNICATION METHOD, TERMINAL DEVICE, AND NETWORK DEVICE
WO2021027957A1 (en) Method and apparatus for determining uplink transmission time domain resource
EP3402280A1 (en) Method and device for transmitting control signalling
WO2017118053A1 (en) Channel occupancy determination method and apparatus
Mounib et al. Priority-based CCA periods for efficient and reliable communications in wireless sensor networks
CN114786276B (en) Service terminal access method and device, electronic equipment and storage medium
US11039484B2 (en) Communications device, an access point and methods therein for accessing a resource unit
CN116582954A (en) Channel competition method, device, communication equipment and storage medium
WO2022151431A1 (en) Communication method and apparatus
CN110912744B (en) Bandwidth allocation method, bandwidth allocation system, wireless access device and storage medium
CN114499553A (en) Method for guaranteeing operation reliability of radio frequency unit and communication device
JP2023501406A (en) Resource selection method and terminal

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