Channel access method and apparatus, and storage medium

By introducing the maximum collision count and back-off mechanism into the AI ​​channel access method, the problems of low capacity, long delay and poor fairness of the channel access method in the Wi-Fi system are solved, achieving more efficient channel utilization and communication success. Rate.

WO2024193593A1PCT designated stage expired Publication Date: 2024-09-26HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/082761
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-21
Filing Date
2024-03-20
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In the existing Wi-Fi system, the channel access method based on the carrier sense multiple access mechanism has problems such as low capacity, long delay, poor fairness, and lack of anti-interference ability, and the intelligent distributed coordination function based on AI is in real life. When there is a large difference between environmental data and training data, it may lead to greedy channel access behavior, occupying the channel, leading to conflicts and reduced throughput.

Method used

A channel access method is proposed. By introducing a counting mechanism for the maximum number of collisions Nmax in the AI ​​channel access method, when the number of consecutive collisions reaches Nmax, a backoff is performed, and a report is sent after confirming that the backoff time is greater than or equal to the specified time. text to avoid greedy behavior in channel access and reduce conflicts and delays.

Benefits of technology

It effectively prevents the greedy occupation of AI channel access methods, reduces the throughput and communication delay of shared channels, improves the fairness and success rate of channel access, and avoids the degradation of channel quality caused by continuous conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024082761_26092024_PF_FP
    Figure CN2024082761_26092024_PF_FP
Patent Text Reader

Abstract

A channel access method and apparatus, and a storage medium. The method comprises: a first communication apparatus obtains a first message to be sent, and then executes an intelligent distributed coordination function (IDCF) access process on a shared channel; if the IDCF access process experiences collision, the first communication apparatus counts the number of consecutive collisions; when the count value reaches the maximum number of collisions Nmax, the first communication apparatus performs backoff, Nmax being a positive integer greater than 1; and when it is confirmed that the backoff duration is greater than or equal to a first backoff duration, the first communication apparatus sends the first message to a second communication apparatus by means of the shared channel. In this way, backoff is executed when the shared channel is continuously occupied, thereby preventing an AI-based channel access mode from greedily occupying the channel.
Need to check novelty before this filing date? Find Prior Art

Description

Channel access method, device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 21, 2023, with application number 202310310720.7 and application name “A Channel Access Method, Device and Storage Medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of positioning technology, and in particular to a channel access method, device, and storage medium. Background Art

[0004] In wireless networks such as short-distance transmission network systems and wireless fidelity (Wi-Fi) systems, multiple nodes use the same shared channel for communication. If two or more nodes send messages on the shared channel at the same time, a communication conflict will occur, resulting in message transmission failure, which will reduce the throughput of the shared channel and increase the communication delay of nodes in the network, affecting the user experience. The existing Wi-Fi system uses a carrier sense multiple access with collision avoidance (CSMA / CA) access mechanism to share the channel to avoid conflicts. In order to ensure the fairness of multiple nodes competing for the channel at the same time, a random backoff mechanism is also introduced. Each node selects a random backoff number according to its corresponding contention window (CW). When the channel is idle in the detection time slot, the corresponding backoff number decreases. Only after the random backoff ends can the channel be accessed. This method of avoiding conflicts by random numbers has the disadvantages of low capacity, large latency, poor fairness, and no anti-interference ability.

[0005] To this end, artificial intelligence (AI) is currently being considered for implementing the intelligent distributed coordination function (IDCF) access process to complete channel access. Channel access decisions are entirely determined by a neural network. However, neural network parameters are trained using a large amount of environmental data. If the real-world data differs significantly from the training data, the channel access results output by the neural network may perform poorly. Because channel access performed by AI is a "black box" approach, the output behavior cannot be guaranteed. This can lead to "greedy" channel access behavior, where packets are continuously sent despite collisions, but the channel is still occupied.

[0006] Summary of the Invention

[0007] Embodiments of the present application provide a channel access method, device, and storage medium to prevent AI-based channel access methods from greedily occupying channels.

[0008] In a first aspect, an embodiment of the present application provides a channel access method, which can be performed by a first communication device, which can be a communication device or a communication device that can support the communication device to implement the functions required by the method, such as a chip system, wherein the communication device can be an AP or an STA. The method includes: the first communication device obtains a first message to be sent; then, the first communication device performs an intelligent distributed coordination function IDCF access process for a shared channel; if a collision occurs during the IDCF access process, the first communication device counts the number of consecutive collisions; when the count value reaches the maximum number of collisions N max When the first communication device performs backoff, N max is a positive integer greater than 1; when the first communication device confirms that the backoff period is greater than or equal to the first backoff period, it sends a first message to the second communication device through the shared channel.

[0009] Since the first communication device performs a collision during the IDCF access process to the shared channel, it means that while the first communication device occupies the shared channel and attempts to send the first message, other nodes use the shared channel to send messages and a communication conflict occurs. If continuous collisions occur, it means that the current communication condition of the shared channel is poor, so the first communication device continues to occupy the shared channel and cannot successfully send the first message, and it will also affect the communication quality of the shared channel. In this application, when the number of continuous collisions reaches the maximum number of collisions N max When the AI-based channel access method is reached, the first communication device performs a backoff. During the backoff period, the first communication device no longer performs the channel access process, that is, it no longer continues to occupy the shared channel. Then, when the backoff time is greater than or equal to the first backoff duration, the first communication device sends a first message through the shared channel, thereby preventing the first communication device from greedily occupying the channel based on the AI-based channel access method, and avoiding the first communication device from continuing to collide within the backoff duration, thereby reducing the impact on the shared channel throughput and communication delay.

[0010] In one possible design, the first backoff duration may be a fixed value, for example, the first backoff duration is the current value CW of the contention window. k Alternatively, the first backoff duration may also adopt a random value, for example, the first backoff duration is the initial value CW of the contention window min The current value of the contention window CW k Among them, the current value of the contention window CW k is the initial value of the contention window CW minand the maximum number of collisions N max Determine that k is a positive integer. This design provides two implementation methods of the first backoff duration, which can improve the flexibility of the solution of this application.

[0011] In one possible design, the current value of the contention window CW k This can be achieved using either method 1 or method 2: Method 1: The current value of the contention window CW k To perform the first CW on the shared channel min Backoff duration after the DCF access process fails; Mode 2, current value of contention window CW k Failure of the first DCF access process to the shared channel to the Nth max The sum of the backoff durations corresponding to the failure of the DCF access process, where the backoff duration corresponding to the j-th DCF access process failure is the initial value CW of the contention window. min and N max Determine, j is 1 to N max It should be understood that when the first backoff duration is a fixed value, the first backoff duration can be the current value CW of the contention window implemented in mode 1 or mode 2. k When the aforementioned first backoff duration adopts a random value, the first backoff duration may be the initial value CW of the contention window. min The current value of the contention window CW k (For example, the current value CW of the contention window implemented by method 1 or method 2 may be k ) is a random value between . This design provides two current values ​​of the contention window CW k If the first method is adopted, when the number of consecutive collisions reaches the maximum number of collisions N max When the backoff period is executed, the backoff time required to wait is shorter, which is equivalent to the Nth time when the DCF access process is executed in the prior art. max Waiting time after failure; if method 2 is used, when the number of consecutive collisions reaches the maximum number of collisions N max When the backoff period is executed, the backoff time required to wait is longer, which is equivalent to the waiting time after the first failure to the Nth failure in the prior art DCF access process. max That is to say, the adoption of method 2 can make the average waiting time for sending messages in the channel access method of the present application consistent with the total waiting time of the DCF access method in the prior art, which not only can achieve that the first communication device no longer continues to occupy the shared channel during the waiting time, but also can ensure the fairness of CSMA / CA channel access.

[0012] In one possible design, the first communication device confirming that the backoff duration is equal to the first backoff duration may include: after the shared channel enters a contention state, the first communication device starts a backoff timer, where the initial value of the backoff timer is the first backoff duration; after the backoff timer is started, the value of the backoff timer is reduced by a backoff self-decrement value each time a unit backoff time passes, until the backoff timer value reaches 0, and the first communication device confirms that the backoff duration is equal to the first backoff duration. In this way, the backoff duration can be accurately measured by starting the backoff timer.

[0013] In one possible design, the first communication device confirming that the backoff duration is equal to the first backoff duration may include: after the shared channel enters a contention state, the first communication device starts a backoff timer and performs carrier sensing on the shared channel; the backoff timer has an initial value equal to the first backoff duration; when the shared channel is sensed to be busy, the remaining time in the backoff timer is maintained unchanged; when the shared channel is sensed to be idle, the backoff timer value is reduced by a backoff self-decrement value each time a unit backoff time has elapsed until the backoff timer value reaches 0, thereby confirming that the backoff duration is equal to the first backoff duration. In this design, by starting the backoff timer to measure the backoff duration and combining it with the result of sensing the shared channel status, the backoff duration can be maintained unchanged when the shared channel is busy and reduced when the shared channel is idle. This can extend the waiting time from the start of the backoff to the transmission of a message, avoid the first backoff duration from being reached too quickly, and thereby reduce the probability of the first communication device preempting the shared channel and causing a transmission collision, thereby improving the success rate of message transmission.

[0014] In one possible design, when the backoff duration is greater than or equal to the first backoff duration, the first communication device sends a first message to the second communication device via a shared channel, including: when the backoff duration is greater than or equal to the first backoff duration, the first communication device performs carrier sensing on the shared channel; when the result of the carrier sensing indicates that the shared channel is idle, the first communication device sends the first message to the second communication device via the shared channel. In this way, after the backoff is completed, the decision on whether to send the first message via the shared channel is made based on the sensing result of the shared channel status, thereby reducing the probability of a collision when the first communication device sends the first message and improving the success rate of message sending.

[0015] In one possible design, when the result of carrier sensing indicates that the shared channel is idle, the first communication device sends a first message to the second communication device via the shared channel, including: when the result of carrier sensing indicates that the state of the shared channel is idle, the first communication device performs a channel access decision through a neural network; if the decision result output by the neural network is a first value, the first communication device determines to send the first message to the second communication device via the shared channel. In this way, after the backoff is completed, the decision result of the shared channel state and the decision result output by the neural network are combined to determine whether to send the first message via the shared channel, thereby reducing the probability of collision when the first communication device sends the first message and improving the success rate of sending the message.

[0016] In one possible design, the first communication device is an access point and the second communication device is a station; or, the first communication device is a station and the second communication device is an access point.

[0017] In one possible design, the first communication device is a station and the second communication device is an access point. Before performing an intelligent distributed coordination function IDCF access process for a shared channel, the method further includes: the first communication device receives a parameter update message from the second communication device, the parameter update message including a maximum collision number N max Or the maximum value of the contention window CW max Then, the first communication device determines the first backoff duration according to the parameter update message. In this way, the parameters of the channel access process in this application can be flexibly configured, so that the first communication device can determine the first backoff duration according to the configured parameters.

[0018] In one possible design, when the parameter update message includes the maximum number of collisions N max When the value of is 0, it is used to instruct the IDCF to perform a backoff when a collision occurs during the access process. In this way, the first communication device can perform a backoff when a collision occurs, thereby avoiding continuous collisions in a timely manner.

[0019] In a second aspect, the present application provides a communication device, which may be the aforementioned first communication device. The communication device may be used to perform the method of the aforementioned first aspect or any possible implementation of the first aspect. Specifically, the communication device may include a unit or module for performing the method of the first aspect or any possible design of the first aspect, for example, including a processing unit and a communication unit coupled to each other.

[0020] In a third aspect, an embodiment of the present application provides a communication device, which may be the first communication device in the first aspect or any possible design of the first aspect in the above-mentioned embodiment, or a chip provided in the first communication device in the first aspect or any possible design of the first aspect. The communication device includes a communication interface and a processor, and optionally, also includes a memory. The memory is used to store computer programs, instructions, or data, and the processor is coupled to the memory and the communication interface. When the processor reads the computer program, instructions, or data, the communication device executes the method executed by the first communication device in the first aspect or any possible design of the first aspect.

[0021] It should be understood that the communication interface can be implemented by an antenna, feeder, codec, etc. in the communication device. Alternatively, if the communication device is a chip provided in the first communication device, the communication interface can be an input / output interface of the chip, such as an input / output pin. The communication device may also include a transceiver for communicating with other devices. For example, when the communication device is an access point, the other device is a station; or, when the communication device is a station, the other device is an access point.

[0022] In a fourth aspect, an embodiment of the present application provides a chip system, which includes a processor that can be coupled to a memory and is used to call and execute computer program instructions stored in the memory to implement the method performed by the first communication device in the above-mentioned first aspect or any possible design of the first aspect. In one possible implementation, the chip system may also include a memory for storing program instructions and / or data. The chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0023] In a fifth aspect, an embodiment of the present application provides a communication system, which includes the first communication device described in the first aspect and the second communication device described in the first aspect.

[0024] In a sixth aspect, the present application provides a computer-readable storage medium storing a computer program, wherein the computer program includes program instructions, which, when executed by a computer, enable the computer to execute the method described in the first aspect or any possible design of the first aspect.

[0025] In a seventh aspect, a computer program product is provided, comprising a computer program code, which, when executed, enables the method described in the first aspect or any possible design of the first aspect to be executed.

[0026] For the technical effects that can be achieved in any of the second to seventh aspects mentioned above, please refer to the description of the technical effects that can be achieved in any possible design in the first aspect mentioned above, and repetitions will not be discussed here. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] FIG1 shows a schematic diagram of the architecture of a WLAN system applicable to an embodiment of the present application;

[0028] FIG2 shows a schematic diagram of the state transition corresponding to the DCF access mode;

[0029] FIG3 shows a schematic diagram of the state transition corresponding to the IDCF access mode;

[0030] FIG4 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0031] FIG5 is a flow chart of a channel access method provided in an embodiment of the present application;

[0032] FIG6 is a schematic diagram of state transition provided in an embodiment of the present application;

[0033] FIG7 is a schematic diagram of state transition provided by an embodiment of the present application;

[0034] FIG8 is a schematic diagram of sending messages in a HIDCF access mode and a DCF access mode provided in an embodiment of the present application;

[0035] FIG9 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0036] FIG10 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0038] The channel access method provided in the embodiments of the present application can be applied to scenarios where a first node and at least one second node perform data transmission. For example, scenarios such as single-user uplink / downlink transmission, multi-user uplink / downlink transmission, and device-to-device (D2D) transmission. The first node or any second node can be a communication device in a wireless communication system, that is, the channel access method provided in the present application can be implemented by a communication device in a wireless communication system. For example, the communication device can be an access point (AP) or a station (STA).

[0039] Exemplarily, the wireless communication system may be a wireless local area network (WLAN) system, such as Wi-Fi. For example, it may be applicable to the Institute of Electrical and Electronics Engineers (IEEE) 802.11 series protocol network, such as 802.11a / b / g protocol, 802.11n protocol, 802.11ac protocol, 802.11ax protocol, 802.11be protocol or next generation protocols, etc., which are not listed here one by one. It should be understood that the method is not limited to networks deployed in the IEEE 802.11 series protocol, and may also be extended to other networks that adopt various standards or protocols, such as high performance wireless LAN (HIPERLAN) (a wireless standard similar to the IEEE 802.11 standard) and wide area network (WAN), wireless local area network (WLAN), personal area network (PAN) or other currently known or future networks.

[0040] Figure 1 illustrates a schematic diagram of the architecture of a WLAN system applicable to embodiments of the present application. As shown in Figure 1 , the WLAN system includes an AP and at least one STA, wherein the AP and each STA can communicate via a wireless connection. Figure 1 illustrates only one AP and three STAs: STA1, STA2, and STA3. It should be understood that Figure 1 does not limit the number of APs or STAs.

[0041] An AP, also known as a wireless access point, bridge, or hotspot, provides access to a server or communication network. A STA can be a wireless sensor, wireless communication terminal, or mobile terminal, such as a mobile phone supporting wireless fidelity (Wi-Fi) or a computer with wireless communication capabilities. STAs can exchange voice, video, and other communication data with access servers or communication networks through an AP.

[0042] In the WLAN system shown in Figure 1, STA1, STA2, and STA3 communicate using the same shared channel. If two or more of these STAs simultaneously transmit messages, a communication conflict can occur. To avoid conflicts, the CSMA / CA mechanism can be used to share the channel. The following example uses the case where STA1 needs to send a message to describe two shared channel access methods using the CSMA / CA mechanism.

[0043] The first is a distributed coordination function (DCF) access method.

[0044] FIG2 exemplarily shows a schematic diagram of state transition corresponding to the DCF access mode.

[0045] As shown in Figure 2, when STA1 needs to send a new message to the AP, such as message A, STA1 first detects whether the shared channel is idle (IDLE). If it detects that the shared channel is idle, STA1 enters the distributed interframe space (DIFS) state, that is, after STA1 detects that the shared channel is idle, it still needs to wait for the DIFS period before starting to send message A. During this waiting period, if STA1 continuously detects that the shared channel is idle, that is, the shared channel is continuously idle for the DIFS period, the shared channel enters the contention state; once STA1 detects that the shared channel is busy during this period, it continues to continuously listen to the shared channel in the DIFS state until it detects that the shared channel is continuously idle for the DIFS period, and the shared channel enters the contention state again. In the embodiment of the present application, the contention state can also be called the contention state.

[0046] After the shared channel enters the contention state, STA1 starts the backoff timer (BOF timer, BOF) and continues to perform channel listening. Each time the shared channel state is detected to be idle, the BOF value is reduced by 1 until BOF is reduced to 0. STA1 transfers to the sending state and sends message A. If STA1 finds that the shared channel state is busy during the listening process after the shared channel enters the contention state, the shared channel enters the waiting (hold) state from the contention state. Channel listening continues in the Hold state. Unlike the shared channel in the contention state, the BOF value does not decrease after the shared channel enters the Hold state, that is, the BOF value remains unchanged. Once the channel is detected to be idle, STA1 returns to the DIFS state, otherwise it stays in the Hold state. The backoff timer (BOF) involved in the embodiments of the present application can also be represented by BACKOFF, such as the BACKOFF shown in Figures 2, 6 and 7.

[0047] After STA1 sends message A, STA1 enters the receiving state (RX), which may result in two outcomes:

[0048] One possible result is that the AP correctly receives message A, and the AP replies with an ACK message to STA1. Correspondingly, STA1 receives the ACK message, indicating that the shared channel access is successful and message A has been successfully sent. At this point, a round (for example, the k-1th round) of channel access process is completed. After STA1 receives the ACK message, as shown in Figure 2, the current value of the contention window (CW) is CW k =CW min , that is, the current value of the contention window CW k Return to minimum CW min , including CW min According to the standard, BOF=random(0,CW k ), that is, the value of BOF can be [0, CW min ] Then, continue to wait for the next new message to be sent, such as message B. When message B needs to be sent, perform another round of access process to the shared channel. For specific implementation, please refer to the relevant description of the channel access process mentioned above, which will not be repeated here.

[0049] Another possible result is that the AP does not correctly receive message A, and the AP replies with a negative acknowledgement (NACK) message to STA1. Correspondingly, STA1 receives the NACK message, indicating that the shared channel access has failed and a collision has occurred. At this point, one round (for example, the k-1th round) of the channel access process is completed. After STA1 receives the NACK message, it enters the DIFS state and performs another round (for example, the i-th round) of the shared channel access process. The i-th round of the shared channel access process is specifically implemented in accordance with the aforementioned description of the channel access process and will not be repeated here. In some other embodiments, if STA1 times out and has not received an ACK, it also returns to the DIFS state.

[0050] After STA1 receives the NACK message, or does not receive the ACK after the timeout, as shown in Figure 2, CW k =min(2*CW k-1 ,CW max ), that is, the current value of the contention window CW in the kth round of access to the shared channel k 2*CW k-1 and CWmax, where CW min , according to the standard, at this time BOF=random(0,CW k ), that is, the value of BOF is [0,min(2* CW k-1 ,CW max)], where CW k-1 is the value of the contention window CW when the k-1th collision occurs. In this way, the value of the contention window will double with each collision, and the contention state time will be extended, thereby reducing the probability of conflict.

[0051] Since the BOF value is a random value based on the contention window, this channel access method is a type of random access, which can reduce the probability of collision through randomization. For the sake of convenience, this access method is called DCF access.

[0052] When STA1 receives the NACK message, it can be determined that a collision occurs during the DCF access process performed by STA1.

[0053] Taking sending message A as an example, the initial value of CW when STA1 performs DCF access process is CW min Each time a message A fails to be sent, it means a collision has occurred, which will double the value of CW until CW becomes CW max Any successful message transmission will reset CW to CW min .

[0054] The aforementioned DCF access method, which uses random backoff to avoid communication conflicts, suffers from low capacity, high latency, poor fairness, and a lack of anti-interference capabilities. With the rise of AI, AI-based channel access can be considered, enhancing learning and prediction capabilities through AI to address the shortcomings of DCF access. This AI-based channel access method is called IDCF access. The following details the second access method (IDCF).

[0055] The second method is IDCF access.

[0056] The main difference between the IDCF access method and the DCF access method is that the channel access decision of the IDCF access method is completely determined by the neural network.

[0057] FIG3 exemplarily shows a schematic diagram of state transition corresponding to the IDCF access mode.

[0058] As shown in Figure 3, when STA1 needs to send a new message to the AP, such as message A, it first checks whether the shared channel is idle (IDLE). If so, STA1 enters the DIFS state. This means that after entering the DIFS state, STA1 must wait for a DIFS period before sending message A. If STA1 continuously detects that the shared channel is idle during the DIFS period, i.e., if the shared channel remains idle for the DIFS period, a neural network is used to make a channel access decision. As shown in Figure 3, NN represents the neural network, and θ represents the neural network parameters. The neural network input is environmental information, which can be all the information available from the media access control (MAC) and physical layers, such as channel sensing results and packet loss. After the current environmental information is fed into NN(θ), the output can be either 0 or 1, with 0 indicating access failure and 1 indicating access success.

[0059] If the output of the neural network NN(θ) is 1, STA1 transitions to the transmit state (TX) and sends message A. If the output of NN(θ) is 0, STA1 returns to the DIFS state and continues to listen to the channel. If the shared channel is idle for a continuous DIFS period, the neural network continues to make channel access decisions based on the current environmental information.

[0060] After STA1 sends message A, it enters the receiving state (RX). The subsequent process can refer to the relevant description after STA1 sends message A in the aforementioned DCF process, which will not be repeated here.

[0061] In the IDCF access method, the neural network parameter θ is obtained by training the initial model of the neural network using a large amount of historical environmental information. If the environmental information of the real environment differs significantly from the training data (historical environmental information), the decision results output by the neural network may be inferior to the performance of the DCF access method. The AI ​​method is a "black box" and there is no way to guarantee the output behavior. Specifically, when competing for the channel through the IDCF access process, if the IDCF access process fails, the IDCF access process may be repeated until successful access to the shared channel. If the shared channel condition is poor, successful access to the shared channel may not be possible, which may lead to "greedy" channel access behavior, that is, continuous packet transmission conflicts, but still occupying the channel.

[0062] In view of this, the present application provides a channel access method, which can be called a hybrid intelligent distributed coordination function (Hybrid IDCF, HIDCF) access method. This HIDCF access method may include: when the number of consecutive collisions during the IDCF access process is less than the maximum collision number N maxWhen the number of consecutive collisions during the IDCF access process reaches the maximum collision number N, channel access is performed according to the above IDCF access method; max When the backoff period is greater than or equal to the first backoff period, the first communication device performs a backoff, and when it is confirmed that the backoff period is greater than or equal to the first backoff period, the communication device sends a message through the shared channel, thereby preventing the AI-based channel access method from greedily occupying the channel.

[0063] The communication devices (such as AP and STA) in the embodiments of the present application all have certain AI capabilities, that is, they can use neural networks to make inference decisions and can also train neural networks.

[0064] FIG4 exemplarily shows a schematic structural diagram of a communication device.

[0065] The communication device 400 shown in Figure 4 is, for example, any of the AP, STA1, STA2, and STA3 shown in Figure 1. The internal functional modules of the communication device 400 may include a central processing unit, a media access control (MAC), a transceiver, an antenna, and a neural processor unit (NPU). The NPU may include a training module and an inference module, and the trained neural network parameters will be fed back to the inference module. The NPU can be connected to various other modules, such as the central processing unit, MAC, transceiver, and antenna. The NPU can perform decision-making tasks for each module, such as the NPU interacting with the transceiver to decide whether to turn the transceiver on or off to achieve energy saving; for example, the NPU interacts with the antenna to control the direction of the antenna; for example, the NPU interacts with the MAC to control channel access, channel selection, and spatial multiplexing decisions.

[0066] The channel access method provided in the embodiment of the present application can be executed by the communication device 400 or by a component inside the communication device 400; if the channel access method is executed by a component inside the communication device 400, optionally, the MAC can also include an IDCF functional module (not shown in Figure 4) to execute the channel access method provided in the embodiment of the present application.

[0067] It should be understood that the above-described WLAN system can provide high-speed and low-latency transmission. As WLAN application scenarios continue to evolve, WLAN systems will be applied to more scenarios or industries, such as the Internet of Things (IoT), the Internet of Vehicles (IoV), the banking industry, corporate offices, stadiums and exhibition halls, concert halls, hotel rooms, dormitories, hospital wards, classrooms, supermarkets, squares, streets, production workshops, and warehouses. Devices supporting WLAN communication or perception (such as access points or stations) can include sensor nodes in smart cities (such as smart water meters, smart electricity meters, and smart air quality monitoring nodes), smart devices in smart homes (such as smart cameras, projectors, displays, televisions, speakers, refrigerators, washing machines, etc.), nodes in the Internet of Things (IoT), entertainment terminals (such as wearable devices such as AR and VR), smart devices in smart offices (such as printers, projectors, speakers, and IoV), IoV devices, infrastructure in daily life scenarios (such as vending machines, self-service navigation kiosks in supermarkets, self-service checkout machines, and self-service ordering kiosks), and equipment in large sports and music venues. For example, access points and stations can be devices used in the Internet of Vehicles, IoT nodes and sensors in the Internet of Things (IoT), smart cameras and remote controls in smart homes, smart water and electricity meters, and sensors in smart cities. The specific forms of STAs and APs are not limited in the embodiments of this application and are provided for illustrative purposes only.

[0068] The channel access method provided in an embodiment of the present invention is not limited to application in WLAN systems, but can also be applied to various communication systems, such as cellular systems, Internet of Things (IoT) systems, narrowband Internet of Things (NB-IoT) systems, and other short-range communication systems. Cellular systems include but are not limited to: long-term evolution (LTE) systems, long-term evolution unlicensed systems (LTE-Unlicensed, LTE-U), fifth-generation (5G) communication systems, and new communication systems (such as 6G) emerging in future communication developments. Other short-range communication systems include but are not limited to: Bluetooth and ultra-wide band (UWB).

[0069] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field will know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0070] In addition, the terms "system" and "network" in the embodiments of the present application can be used interchangeably. "At least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0071] Also, unless otherwise specified, ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects and are not used to limit the order, timing, priority or importance of multiple objects.

[0072] The technical solutions provided in the embodiments of the present application are introduced below with reference to the accompanying drawings.

[0073] FIG5 exemplarily shows a flow chart of a channel access method provided in an embodiment of the present application. The channel access method can be applied to a first communication device, for example, the first communication device is an access point (e.g., AP), or for another example, the first communication device is a station (e.g., STA). As shown in FIG5 , the channel access method may include the following steps:

[0074] Step 501: A first communication device obtains a first message to be sent.

[0075] The first message may be generated by the first communication device itself, or may be generated by other communication devices and sent to the first communication device, which is not limited here.

[0076] Step 502: The first communication device performs an IDCF access procedure on a shared channel.

[0077] The IDCF access process in step 502 may refer to the IDCF access process shown in FIG3 , and will not be described again here.

[0078] Step 503: If a collision occurs during the IDCF access process, the first communication device counts the number of consecutive collisions.

[0079] In step 503, a collision during the IDCF access process can be understood as a failure to send the first message during the IDCF access process. For example, if STA1, the first communication device, does not receive an ACK message within a preset time period after sending the first message, this indicates a collision during the IDCF access process and a failure to send the first message. For another example, if STA1 receives a NACK message after sending the first message, this indicates a collision during the IDCF access process and a failure to send the first message.

[0080] In the embodiment of the present application, the first communication device can determine whether to perform a backoff according to the number of consecutive collisions. Specifically, the first communication device can count the number of consecutive collisions to obtain a count value, and determine whether the count value reaches the maximum number of collisions N. max Determine whether to perform a backoff; when the number of consecutive collisions reaches N max Then execute step 504; when the number of consecutive collisions does not reach N max , the first communication device continues to send the first message. If an ACK message is received within the preset time after sending the first message, it means that the first message is sent successfully and the IDCF access process to the shared channel is no longer performed. If an ACK message is not received within the preset time after sending the first message or a NACK message is received after sending the first message, it means that a collision occurs and the count value is increased by 1. Then the count value is compared with the maximum number of collisions N. max Size judgment between.

[0081] The maximum number of collisions N involved in the embodiment of this application max , which can be pre-set in the first communication device or sent by other communication devices. For example, the first communication device receives a parameter update message from the second communication device, and the parameter update message includes the maximum collision number N max , which is not limited in this application. Optionally, the parameter update message may also include the maximum value of the contention window CW max For example, the first communication device may determine the first backoff duration in step 505 according to the parameter update message.

[0082] Step 504: When the count value reaches the maximum collision number N max When the first communication device performs backoff, N max is a positive integer greater than 1.

[0083] In step 504, the time between the start time of the backoff execution by the first communication device and the time when the backoff is completed is called the backoff duration. The specific manner in which the first communication device executes the backoff may be a fixed value backoff manner or a random backoff manner, which is not limited in this application.

[0084] When the first communication device starts to perform backoff, the shared channel enters a contention state. The first communication device can then monitor the backoff duration through a backoff counter so as to send the first message after the backoff is completed.

[0085] Step 505: When the first communication device confirms that the backoff duration is greater than or equal to the first backoff duration, the first communication device sends a first message to the second communication device through the shared channel.

[0086] In the embodiment of the present application, when the number of consecutive collisions reaches the maximum number of collisions N max When the AI-based channel access method is reached, the first communication device performs a backoff. During the backoff period, the first communication device no longer performs the channel access process, that is, it no longer continues to occupy the shared channel. Then, when the backoff time is greater than or equal to the first backoff duration, the first communication device sends a first message through the shared channel, thereby preventing the first communication device from greedily occupying the channel based on the AI-based channel access method, and avoiding the first communication device from continuing to collide within the backoff duration, thereby reducing the impact on the shared channel throughput and communication delay.

[0087] There are multiple possible implementations of the above step 505 , and two possible implementations are provided below.

[0088] In Implementation A1, when the backoff duration is greater than or equal to the first backoff duration, carrier sensing is performed on the shared channel; when the carrier sensing result indicates that the shared channel is idle, a first message is transmitted to the second communication device via the shared channel. In Implementation A1, after the backoff is completed, the determination of whether to transmit the first message via the shared channel is made based on the sensed result of the shared channel status. This reduces the probability of a collision occurring when the first communication device transmits the first message and improves the success rate of message transmission.

[0089] In implementation A2, when the backoff duration is greater than or equal to the first backoff duration, carrier sensing is performed on the shared channel; when the result of the carrier sensing indicates that the shared channel is idle, a channel access decision is made through a neural network; if the decision result output by the neural network is a first value, a determination is made to send a first message to the second communication device via the shared channel. In this implementation A2, after the backoff is completed, the decision of whether to send the first message via the shared channel is determined based on the sensed result of the shared channel status and the decision result output by the neural network. This can reduce the probability of a collision occurring when the first communication device sends the first message and improve the success rate of message transmission.

[0090] In some other embodiments, when the backoff period is greater than or equal to the first backoff period, carrier sensing is performed on the shared channel; when the result of the carrier sensing indicates that the state of the shared channel is idle, a channel access decision is executed through a neural network. If the decision result output by the neural network is a second value, it is determined not to send the first message and return to the DIFS state.

[0091] In the above embodiment, if the first value is 1, the second value is 0; if the first value is 0, the second value is 1; it should be understood that 0 and 1 are only examples, and the first value and the second value can also be other values, which are not limited here.

[0092] The following takes the first communication device as STA1 and the second communication device as AP as an example, and describes the channel access process provided in the embodiment of the present application in combination with the state transition diagram shown in Figure 6.

[0093] First, after STA1 obtains the first message, it first detects whether the shared channel is idle (IDLE), as shown in Figure 6. If it is detected that the shared channel is busy, it continues to listen to the status of the shared channel in the IDLE state; if it is detected that the shared channel is idle, then STA1 enters the DIFS state, and STA1 listens to the status of the shared channel in the DIFS state.

[0094] If STA1 does not detect that the shared channel is continuously idle for the DIFS period in the DIFS state, it continues to monitor the shared channel status in the DIFS state until it detects that the shared channel is continuously idle for the DIFS period.

[0095] If STA1 detects that the shared channel is idle for DIFS consecutive times in the DIFS state and the count value corresponding to the number of consecutive collisions is less than the maximum number of collisions N max , as shown in Figure 6 Idle&numPktErr <N max , the neural network NN(θ) performs a channel access decision. After the current environment information is input into NN(θ), the output decision result includes a first value or a second value. If the neural network's decision result is the first value, STA1 transitions to the transmit state (TX) and transmits the first message. If the neural network's decision result is the second value, STA1 does not transmit the first message and returns to the idle state (IDLE), continuing to listen to the shared channel in the DIFS state.

[0096] If STA1 detects that the shared channel is idle for DIFS consecutive times in the DIFS state and the count value corresponding to the number of consecutive collisions is greater than or equal to the maximum number of collisions N max , as shown in Figure 6, idle&numPktErr≥N max, STA1 performs a backoff, and the shared channel enters a contention state. Then, when the backoff duration is greater than or equal to the first backoff duration, the backoff is complete, and STA1 performs carrier sensing on the shared channel. After STA1 performs carrier sensing on the shared channel, subsequent processes are performed based on any of the following four scenarios.

[0097] Case 1, referring to the above-mentioned implementation A1, when the result of carrier sensing indicates that the shared channel is idle, STA1 transitions to the transmitting state (TX), and STA1 sends a first message to the AP through the shared channel.

[0098] Case 2, referring to the above-mentioned implementation A2, when the result of carrier sensing indicates that the state of the shared channel is idle, a channel access decision is performed through the neural network NN(θ); if the decision result output by the neural network is a first value, such as the output result a=1 in Figure 6, it is determined to send a first message to the second communication device through the shared channel.

[0099] In case three, when the result of carrier sensing indicates that the state of the shared channel is idle, the channel access decision is executed through the neural network; if the decision result output by the neural network is the second value, for example, the output result a=0 in Figure 6, the first message is not sent and the state returns to the DIFS state (not shown in Figure 6).

[0100] In case 4, after the shared channel enters the contention state, if the result of carrier sensing indicates that the shared channel state is busy, the first message is not sent and the state returns to the DIFS state.

[0101] After sending the first message, STA1 enters the receiving state (RX), and then STA1 performs subsequent processes based on either of the following two situations:

[0102] In case 1, STA1 receives an ACK message from the AP, indicating that the first message was sent successfully. The count value numPktErr of the number of consecutive collisions is cleared to 0, as shown in FIG6 , and returns to the IDLE state. STA1 continues to monitor the shared channel.

[0103] In the second case, STA1 receives a NACK message, or does not receive an ACK after a timeout. numPktErr++ is executed, that is, numPktErr is increased by 1, and then the state returns to the DIFS state. STA1 continues to listen to the shared channel.

[0104] Based on any of the above embodiments, there are many possible implementations for the first communication device in step 505 to confirm that the backoff duration is greater than or equal to the first backoff duration. Two possible implementations are provided below.

[0105] Implementation method B1: After the shared channel enters a contention state, the first communication device starts a backoff timer, and the initial value of the backoff timer is a first backoff duration; after the backoff timer is started, the value of the backoff timer is reduced by a backoff self-decrement value every time a unit backoff time passes until the value of the backoff timer is 0. The first communication device confirms that the backoff duration is equal to the first backoff duration and completes the backoff.

[0106] Exemplarily, after the shared channel enters a contention state, a backoff timer is started, such as the BOF in FIG6 . The initial value of the BOF is set to the first backoff duration. Assuming that the unit backoff time is one time slot and the backoff self-decrement value is 1, the BOF starts from the initial value of the first backoff duration. With each time slot, the BOF value decreases by 1 until it reaches 0. Upon confirming that the backoff duration is equal to the first backoff duration, the backoff is completed.

[0107] Implementation method B2: After the shared channel enters a contention state, the first communication device starts a backoff timer and performs carrier sensing on the shared channel; the initial value of the backoff timer is the first backoff duration; when the shared channel is sensed to be busy, the remaining time of the backoff timer is kept unchanged; when the shared channel is sensed to be idle, the value of the backoff timer is reduced by the backoff self-decrement value every time a unit backoff time passes, until the value of the backoff timer is 0, and the first communication device confirms that the backoff duration is equal to the first backoff duration, and completes the backoff.

[0108] Exemplarily, after a shared channel enters the contention state, a backoff timer is started, such as the BOF in the state transition diagram shown in FIG7 . The initial value of the BOF is set to the first backoff duration. Assuming a unit backoff time of one time slot and a backoff self-decrement value of 1, the BOF starts at the initial value of the first backoff duration. Once the shared channel is detected as busy in the contention state, the BOF value remains unchanged and the channel enters the Hold state. After the shared channel enters the Hold state, the BOF value remains unchanged. Once the channel is detected as idle in the Hold state, the channel returns to the DIFS state; otherwise, the channel remains in the Hold state. If the shared channel is detected as idle in the contention state, the BOF value decreases by 1 after each time slot until it reaches 0, confirming that the backoff duration is equal to the first backoff duration, and the backoff is complete.

[0109] It should be understood that both Figures 6 and 7 are applicable to the channel access method provided in this application. The difference between Figure 7 and Figure 6 is that the way in which BOF is reduced from the first backoff duration to 0 is different. In addition, the other processes in Figure 7 can refer to the relevant description of Figure 6 and will not be repeated here.

[0110] The first backoff duration in the embodiment of the present application can be implemented in multiple ways, and two possible implementations are provided below.

[0111] Implementation C1 adopts a fixed backoff method, where the first backoff duration can be the current value of the contention window, where CW k Current value of the contention window CW k The initial value of the contention window CW can be min and the maximum number of collisions N max Determine, where k is a positive integer.

[0112] Implementation C2: using a random backoff method, the first backoff duration can be the initial value CW of the contention window. min and the current value of the contention window CW k A random value between , where the current value of the contention window CW k The initial value of the contention window CW can be min and the maximum number of collisions N max Sure.

[0113] The current value CW of the contention window in the above-mentioned embodiments C1 and C2 is k There are many possible implementations, and two possible implementations are provided below.

[0114] Implementation method D1, current value CW of contention window k To perform the Nth max The backoff time after the DCF access process fails. For example, the current value of the contention window CW k It can be in accordance with the following formula (1):

[0115]

[0116] Among them, CW min is a known value.

[0117] In this embodiment D1, N max Taking 3 as an example, when the number of consecutive collisions reaches 3, backoff is executed. During the backoff period, the shared channel is no longer occupied, and the backoff time required is short, which is equivalent to the waiting time after the third failure when executing the DCF access process.

[0118] Implementation method D2, current value CW of contention window k The sum of the backoff durations corresponding to the failure of the first DCF access process to the Nmaxth DCF access process on the shared channel, where the backoff duration corresponding to the jth DCF access process failure is the initial value of the contention window CW min and N max Determined, j is 1 to Nmax For example, the current value of the contention window CW k It can be in accordance with the following formula (2):

[0119] Among them, CW min is a known value.

[0120] In this embodiment D2, N max Taking 3 as an example, when the number of consecutive collisions reaches 3, backoff is performed. The backoff time required to wait during the backoff period is equivalent to the sum of the waiting time after the first failure, the waiting time after the second failure, and the waiting time after the third failure when executing the DCF access process. Compared with the above-mentioned implementation method D1, the backoff time required to wait during the backoff period is longer.

[0121] The first backoff duration is used as the current value of the contention window CW. k Taking the above formula (2) as an example, combined with the schematic diagram of sending messages in the HIDCF access mode and the DCF access mode of the present application provided in FIG8 , the waiting time for sending messages in the HIDCF access mode and the DCF access mode is compared.

[0122] As shown in Figure 8, the DCF access method, after the first DCF access process collision occurs, the waiting time is 2CW min ; Then continue to execute the DCF access process for the second time. The waiting time after the collision is 4CW min ; Then continue to execute the DCF access process for the third time. The waiting time after the collision is 8CW min , waiting for 8CW min Afterwards, the first communication device successfully sends the first message.

[0123] N max Taking 3 as an example, in the HIDCF access method shown in Figure 8, a collision occurs during the first IDCF access process, and the count value numPktErr obtained by counting the number of collisions is 1; then the IDCF access process is continued for the second time, and after the collision occurs, the count value numPktErr is updated to 2; then the IDCF access process is continued for the third time, and after the collision occurs, the count value numPktErr is updated to 3; at this time, if numPktErr is greater than or equal to 3, the first communication device performs a backoff, and the first backoff duration is set to 2CW min +4CW min +8CW min ; When the retreat time is greater than or equal to 2CW min +4CW min +8CW min When the first communication device sends the first message.

[0124] By determining the current value of the contention window using formula (2), the average waiting time for sending messages using the HIDCF access method provided by the present application can be made consistent with the average waiting time for sending messages using the DCF access method, thereby ensuring fairness in CSMA / CA channel access.

[0125] In the embodiment of the present application, based on the above formula (2), when the current value CW of the contention window k The value is the maximum value CW max , N max It can be in accordance with the following formula (3):

[0126] In the above formula (3), CW min and The CW max Known, so N can be determined by formula (3) max .

[0127] In an embodiment of the present application, if the first communication device is an access point (such as the AP in Figure 1), the second communication device is a station (such as STA1, STA2, STA3, etc. in Figure 1); if the first communication device is a station, the second communication device is an access point.

[0128] Taking the first communication device as STA and the second communication device as AP as an example, the AP can broadcast a parameter update message, and then the STA updates the parameter according to the maximum collision number N included in the parameter update message broadcast by the AP. max and / or the maximum value of the contention window CW max , determine the first backoff duration, so that the parameters of the HIDCF access process can be flexibly configured and the HIDCF parameters can be dynamically adjusted according to network congestion conditions and delay requirements.

[0129] For example, the parameter update message includes the maximum number of collisions N max STA can determine the current value of the contention window CW according to the above formula (1) or formula (2) k , and then determine the first backoff duration based on the above-mentioned implementation mode C1 or implementation mode C2.

[0130] For example, the parameter update message includes the maximum collision number CW max STA can determine the maximum number of collisions N according to the above formula (3) max , and then determine the current value CW of the contention window according to formula (1) or formula (2) k , and then determine the first backoff duration based on the above-mentioned implementation mode C1 or implementation mode C2.

[0131] In some other embodiments, when the maximum number of collisions N included in the parameter update message max When the value of is 0, it is used to indicate that the IDCF access process performs a backoff when a collision occurs. In this case, the current value of the contention window CW k For The CW min , the first communication device can perform a backoff when a collision occurs, and timely avoid continuous collisions. Alternatively, when the maximum number of collisions N included in the parameter update message max When the value of is 0, it is used to indicate that no backoff is performed when a collision occurs during the IDCF access process.

[0132] The above mainly introduces the solution provided by the present application from the perspective of the interaction between various network elements. It can be understood that, in order to realize the above functions, each of the above network elements includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0133] According to the aforementioned method, Figure 9 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. As shown in Figure 9, a schematic diagram of the structure of a communication device provided in an embodiment of the present application is provided. The communication device can be used to perform the actions of the first communication device or the second communication device in each of the aforementioned method embodiments. The first communication device can be an access point, and the second communication device can be a station; alternatively, the first communication device can be a station, and the second communication device can be an access point.

[0134] The communication device 900 includes: an acquisition unit 901, a processing unit 902, and a communication unit 903. The acquisition unit 901 is used to acquire a first message to be sent; the processing unit 902 is used to execute an intelligent distributed coordination function IDCF access process for a shared channel; if a collision occurs during the IDCF access process, the number of consecutive collisions is counted; when the count value reaches the maximum number of collisions N ... max When N max communication unit 903, for sending a first message to the second communication device via a shared channel when the processing unit 902 confirms that the backoff period is greater than or equal to the first backoff period.

[0135] In one possible design, the first backoff duration is the current value of the contention window CW k, or, the first backoff duration is the initial value CW of the contention window min The current value of the contention window CW k Random value between, the current value of the contention window CW k is the initial value of the contention window CW min and the maximum number of collisions N max Sure.

[0136] In one possible design, the current value of the contention window CW k To perform the Nth max The backoff duration after the DCF access process fails; or the current value of the contention window CW k Failure of the first DCF access process to the shared channel to the Nth max The sum of the backoff durations corresponding to the failure of the DCF access process j; wherein the backoff duration corresponding to the failure of the DCF access process j is the initial value CW of the contention window min And Nmax is determined, j is 1 to N max Any integer between .

[0137] In one possible design, the processing unit 902 is specifically used to: start a backoff timer after the shared channel enters a contention state, and the initial value of the backoff timer is a first backoff duration; after the backoff timer is started, the value of the backoff timer is reduced by a backoff self-decrement value every time a unit backoff time passes until the value of the backoff timer is 0, confirming that the backoff duration is equal to the first backoff duration.

[0138] In one possible design, the processing unit 902 is specifically used to: start the backoff timer after the shared channel enters the contention state, and perform carrier sensing on the shared channel; the initial value of the backoff timer is the first backoff duration; when the shared channel is detected to be busy, the remaining time of the backoff timer is kept unchanged; when the shared channel is detected to be idle, the value of the backoff timer is reduced by the backoff self-decrement value every time a unit backoff time passes, until the value of the backoff timer is 0, confirming that the backoff duration is equal to the first backoff duration.

[0139] In one possible design, the processing unit 902 is specifically used to: perform carrier sensing on the shared channel when the backoff period is greater than or equal to the first backoff period; the communication unit 903 is specifically used to: send a first message to the second communication device through the shared channel when the result of the carrier sensing indicates that the status of the shared channel is idle.

[0140] In one possible design, the processing unit 902 is specifically used to: when the result of carrier sensing indicates that the status of the shared channel is idle, perform a channel access decision through a neural network; the communication unit 903 is specifically used to: if the decision result output by the neural network is a first value, determine to send a first message to the second communication device through the shared channel.

[0141] In one possible design, when the first communication device is a station and the second communication device is an access point, the communication unit 903 is further configured to receive a parameter update message from the second communication device, the parameter update message including the maximum collision number N. max Or the maximum value of the contention window CW max The processing unit 902 is further configured to determine the first backoff duration according to the parameter update message. For example, when the maximum number of collisions N included in the parameter update message is max When the value is 0, it is used to instruct the IDCF to perform backoff when a collision occurs during the IDCF access process.

[0142] It should be understood that the acquisition unit 901 and the processing unit 902 in the embodiment of the present application can be implemented by a processor or processor-related circuit components, and the communication unit 903 can be implemented by a transceiver or transceiver-related circuit components or a communication interface.

[0143] Figure 10 is a schematic diagram of the structure of a communication device 1000 provided in an embodiment of the present application. As shown in Figure 10, the communication device 1000 can be an AP or a STA, capable of implementing the functions of the first communication device in the method provided in an embodiment of the present application; the communication device 1000 can also be a device that can support the first communication device in implementing the corresponding functions in the method provided in an embodiment of the present application. The communication device 1000 can be a chip or a chip system. In the embodiment of the present application, the chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0144] In terms of hardware implementation, the communication unit 903 may be a transceiver 1001 .

[0145] The communication device 1000 includes at least one processor 1002, which is used to implement or support the communication device 1000 in implementing the functions of the first communication device in the method provided in the embodiment of the present application.

[0146] The communication device 1000 may also include at least one memory 1003 for storing program instructions and / or data. The memory 1003 is coupled to the processor 1002. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 1002 may operate in conjunction with the memory 1003. The processor 1002 may execute the program instructions and / or data stored in the memory 1003 so that the communication device 1000 implements the corresponding method. At least one of the at least one memory may be located in the processor.

[0147] The communication device 1000 may further include a transceiver 1001 for communicating with other devices via a transmission medium, so that the device in the communication device 1000 can communicate with the other devices. For example, when the communication device is an AP, the other device is a STA; or, when the communication device is a STA, the other device is an AP. The processor 1002 can use the transceiver 1001 to send and receive data. The transceiver 1001 can specifically be a transceiver. The communication device 1000 may also include a radio frequency unit, which may be independent of the communication device 1000 or integrated within the communication device 1000. Of course, the above-mentioned transceiver 1001 may also include an antenna, such as a remote antenna independent of the communication device 1000 or an antenna integrated within the communication device 1000.

[0148] The specific connection medium between the transceiver 1001, processor 1002, and memory 1003 is not limited in the embodiments of the present application. In FIG10 , the memory 1003, processor 1002, and transceiver 1001 are connected via bus 1004. The bus is represented by a bold line in FIG10 . The connection methods between other components are merely illustrative and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, and so on. For ease of illustration, FIG10 uses only one bold line, but this does not mean that there is only one bus or only one type of bus.

[0149] In the embodiments of the present application, the processor 1002 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0150] In an embodiment of the present application, the memory 1003 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and / or data.

[0151] It should be noted that the communication device in the above embodiments can be a terminal or a circuit, or can be a chip used in a terminal or other combined devices, components, etc. with the above terminal functions. When the communication device is a terminal, the transceiver module can be a transceiver, which can include an antenna and a radio frequency circuit, etc., and the processing module can be a processor, such as a central processing unit (CPU). When the communication device is a component with the above terminal functions, the transceiver module can be a radio frequency unit, and the processing module can be a processor. When the communication device is a chip or a chip system, the transceiver module can be the input and output interface of the chip or chip system, and the processing module can be the processor of the chip or chip system.

[0152] As a possible product form, the AP and STA described in the embodiments of the present application can also be implemented using the following: one or more FPGAs (field programmable gate arrays), PLDs (programmable logic devices), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.

[0153] It should be understood that the APs of the above-mentioned various product forms have any functions of the APs in the above-mentioned method embodiments, which will not be repeated here; the STAs of the above-mentioned various product forms have any functions of the STAs in the above-mentioned method embodiments, which will not be repeated here.

[0154] The present application also provides a communication system. Specifically, the communication system includes a STA and an AP, or may include more APs and access network devices. Exemplarily, the communication system includes a STA and an AP for implementing the relevant functions of FIG. 5 .

[0155] An embodiment of the present application also provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enables the computer to execute the method executed by the first communication device in FIG. 5 .

[0156] An embodiment of the present application further provides a computer program product, including computer program code. When the computer program code is run on a computer, the computer executes the method executed by the first communication device in Figure 5.

[0157] The embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the functions of the AP or STA in the above method. The chip system can be composed of a chip or include a chip and other discrete devices.

[0158] An embodiment of the present application further provides a communication device, including a processor and an interface; the processor is used to execute the information processing method described in any of the above method embodiments.

[0159] It should be understood that the above-mentioned communication device can be a chip, and the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated into the processor or can be located outside the processor and exist independently.

[0160] It should be understood that the terms "system" and "network" in the embodiments of the present application can be used interchangeably. "At least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.

[0161] Furthermore, unless otherwise indicated, ordinal numbers such as "first" and "second" in the embodiments of this application are used to distinguish between multiple objects and are not used to define the order, timing, priority, or importance of multiple objects. For example, the first information and the second information are only used to distinguish different indicative information and do not indicate a difference in priority or importance between the two pieces of information.

[0162] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0163] Additionally, in the embodiments of this application, the word "exemplary" is used to indicate an example or illustration. Any embodiment or implementation described as an "exemplary" in the embodiments of this application should not be construed as preferred over other embodiments or implementations. In other words, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0164] The methods provided in the embodiments of the present application may be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, they may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., an SSD), etc.

[0165] Obviously, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.

Claims

1. A channel access method, characterized in that: The method is applied to a first communication device, and the method includes: Obtaining a first message to be sent; Execute the intelligent distributed coordination function IDCF access process to the shared channel; If a collision occurs during the IDCF access process, the number of consecutive collisions is counted; When the count value reaches the maximum number of collisions N max When backoff is performed, the N max is a positive integer greater than 1; When it is confirmed that the backoff time is greater than or equal to the first backoff time, the first message is sent to the second communication device through the shared channel.

2. The method according to claim 1, characterized in that The first backoff duration is the current value of the contention window CW k , or, the first backoff duration is the initial value CW of the contention window min The current value of the contention window CW k The current value of the contention window CW k is the initial value CW of the contention window min With the maximum number of collisions N max Sure.

3. The method according to claim 2, characterized in that The current value of the contention window CW k To perform the Nth max The backoff time after the DCF access process fails; or the current value of the contention window CW k The first DCF access process fails to the Nth DCF access process performed on the shared channel. max The sum of the backoff durations corresponding to each DCF access process failure; The backoff duration corresponding to the jth DCF access process failure is based on the initial value CW of the contention window. min And the N max Determine that j is 1 to N max Any integer between .

4. The method according to any one of claims 1 to 3, characterized in that: The confirmation backoff duration is equal to the first backoff duration, including: After the shared channel enters a contention state, starting a backoff timer, wherein an initial value of the backoff timer is the first backoff duration; After the backoff timer is started, each time a unit backoff time passes, the value of the backoff timer is reduced by the backoff self-decrement value until the value of the backoff timer is 0, confirming that the backoff duration is equal to the first backoff duration.

5. The method according to any one of claims 1 to 3, characterized in that: The confirmation backoff duration is equal to the first backoff duration, including: After the shared channel enters a contention state, starting a backoff timer and performing carrier sensing on the shared channel; an initial value of the backoff timer is the first backoff duration; When the state of the shared channel is detected as busy, the remaining time of the backoff timer is kept unchanged; when the state of the shared channel is detected as idle, the value of the backoff timer is reduced by the backoff self-decrement value every unit backoff time until the value of the backoff timer is 0, confirming that the backoff duration is equal to the first backoff duration.

6. The method according to any one of claims 1 to 5, characterized in that: When the backoff time is greater than or equal to the first backoff time, sending the first message to the second communication device through the shared channel includes: When the backoff duration is greater than or equal to the first backoff duration, performing carrier sensing on the shared channel; When the result of carrier sensing indicates that the state of the shared channel is idle, the first message is sent to the second communication device through the shared channel.

7. The method according to claim 6, characterized in that When the result of carrier sensing indicates that the shared channel is idle, sending the first message to the second communication device through the shared channel includes: When the result of carrier sensing indicates that the state of the shared channel is idle, performing a channel access decision by a neural network; If the decision result output by the neural network is a first value, it is determined to send the first message to the second communication device through the shared channel.

8. The method according to any one of claims 1 to 7, characterized in that: The first communication device is an access point, and the second communication device is a station; or the first communication device is a station, and the second communication device is an access point.

9. The method according to any one of claims 1 to 8, characterized in that: The first communication device is a station, the second communication device is an access point, and before executing the intelligent distributed coordination function IDCF access process to the shared channel, the method further includes: Receive a parameter update message from the second communication device, the parameter update message including the maximum collision number N max Or the maximum value of the contention window CW max ; The first backoff duration is determined according to the parameter update message.

10. The method according to claim 9, characterized in that When the maximum number of collisions N included in the parameter update message max When the value of is 0, it is used to indicate that backoff is performed when a collision occurs during the IDCF access process.

11. A communication device, characterized in that: The communication device includes a transceiver and a processor; The processor is used to obtain a first message to be sent; execute an intelligent distributed coordination function IDCF access process for a shared channel; if a collision occurs during the IDCF access process, count the number of consecutive collisions; when the count value reaches a maximum number of collisions N max hour, Perform backoff, the N max is a positive integer greater than 1; The transceiver is configured to send the first message to the second communication device through the shared channel when the processor confirms that the backoff time is greater than or equal to the first backoff time.

12. The communication device according to claim 11, wherein: The first backoff duration is the current value of the contention window CW k , or, the first backoff duration is the initial value CW of the contention window min The current value of the contention window CW k The current value of the contention window CW k is the initial value CW of the contention window min Determined by the maximum number of collisions Nmax.

13. The communication device according to claim 12, characterized in that The current value of the contention window CW k is the backoff duration after the Nmaxth DCF access process fails on the shared channel; or, the current value CW of the contention window k The first DCF access process fails to the Nth DCF access process performed on the shared channel. max The sum of the backoff durations corresponding to each DCF access process failure; The backoff duration corresponding to the jth DCF access process failure is based on the initial value CW of the contention window. min and the Nmax is determined, the j is 1 to the N max Any integer between .

14. The communication device according to any one of claims 11 to 13, characterized in that: The processor is specifically used for: After the shared channel enters a contention state, starting a backoff timer, wherein an initial value of the backoff timer is the first backoff duration; After the backoff timer is started, each time a unit backoff time passes, the value of the backoff timer is reduced by the backoff self-decrement value until the value of the backoff timer is 0, confirming that the backoff duration is equal to the first backoff duration.

15. The communication device according to any one of claims 11 to 13, characterized in that: The processor is specifically used for: After the shared channel enters a contention state, starting a backoff timer and performing carrier sensing on the shared channel; an initial value of the backoff timer is the first backoff duration; When the state of the shared channel is detected as busy, the remaining time of the backoff timer is kept unchanged; when the state of the shared channel is detected as idle, the value of the backoff timer is reduced by the backoff self-decrement value every unit backoff time until the value of the backoff timer is 0, confirming that the backoff duration is equal to the first backoff duration.

16. The communication device according to any one of claims 11 to 15, characterized in that: The processor is specifically used for: When the backoff duration is greater than or equal to the first backoff duration, performing carrier sensing on the shared channel; The transceiver is specifically used for: When the result of carrier sensing indicates that the state of the shared channel is idle, the first message is sent to the second communication device through the shared channel.

17. The communication device according to claim 16, wherein: The processor is specifically used for: When the result of carrier sensing indicates that the state of the shared channel is idle, performing a channel access decision by a neural network; The transceiver is specifically used for: If the decision result output by the neural network is a first value, it is determined to send the first message to the second communication device through the shared channel.

18. The communication device according to any one of claims 11 to 17, characterized in that: The first communication device is an access point, and the second communication device is a station; or the first communication device is a station, and the second communication device is an access point.

19. The communication device according to any one of claims 11 to 18, characterized in that: The first communication device is a station, the second communication device is an access point, and the transceiver is further used for: Receive a parameter update message from the second communication device, the parameter update message including the maximum collision number N max Or the maximum value of the contention window CW max ; The processor is further configured to: The first backoff duration is determined according to the parameter update message.

20. The communication device according to claim 19, characterized in that When the maximum number of collisions N included in the parameter update message max When the value of is 0, it is used to indicate that backoff is performed when a collision occurs during the IDCF access process.

21. A communication device, characterized in that: The device comprises at least one processor and an interface, wherein the processor is used to read and execute instructions stored in a memory through the interface, and when the instructions are executed, the communication device executes the method according to any one of claims 1 to 10.

22. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 10.

23. A computer program product, characterized in that The computer program product stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • A wireless competition access control method based on congestion degree possibility P

    CN101127661A

  • Self-adaptive competition window adjusting method based on interference analysis

    CN102811498A

  • Vehicle-of-internet distributed MAC (Media Access Control) protocol-oriented novel collision supervision and avoidance (CSA) strategy and method

    CN109618302A

  • Dynamic probability back-off underwater acoustic medium access control method based on reinforcement learning

    CN111132370A

Cited By

  • Scheduling method, system and device

    CN120676469A

  • Scheduling method, system and device

    CN120676472A