Wireless channel random competition access method based on binary coding

Through the random competition access method of the broadcast channel based on binary coding, the problems of low channel transmission throughput and poor user fairness in the existing technology are solved, and channel access with low overhead, high throughput and fairness is realized, which is suitable for dynamic applications. Changing user number scenarios.

CN118741748APending Publication Date: 2024-10-01UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410785472.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing random access method of broadcast wireless channels has problems such as low channel transmission throughput and utilization, prolonged average channel access time, and poor user fairness when avoiding data transmission collisions and low-overhead networking communications. It is especially unsuitable. Scenarios where the number of users changes rapidly and the data arrival rate is high.

Method used

A low-overhead broadcast channel random competition access method based on binary coding design is used to assign a unique code to each user by generating a binary coding sequence of length O(k). The user passes the busy tone signal within m+n+2 time slots. and channel listening to determine data transmission, ensuring fairness and low overhead.

Benefits of technology

It achieves lower average channel access delay and high channel transmission throughput, while ensuring the fairness of user access, avoiding data transmission conflicts and waste of channel resources, and is suitable for scenarios where the number of users changes dynamically, and reduces the Channel access delay variance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741748A_ABST
    Figure CN118741748A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of communication, and particularly relates to a wireless channel random competition access method based on binary coding. According to the method, firstly, a group of binary coding sequences is generated for all 2k users participating in random channel access competition respectively, and then on the basis of the obtained 2k binary coding sequences, the 2k users complete random competition access to the same broadcast channel by using the following method. Under the given data arrival rate, the channel transmission throughput higher than that of the CSMA and the average channel access duration lower than that of the CSMA can be obtained. And on the other hand, compared with the traditional random channel access methods such as CSMA and bit back-off, the method provided by the invention can obtain smaller average channel access duration variance, thereby having higher multi-user channel access fairness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of communication technology, and in particular relates to a random contention access method for a wireless channel based on binary coding. Background Art

[0002] In broadcast wireless channels, a key technical issue is how to coordinate multiple user devices that randomly generate communication services to access the channel independently and orderly with as little time and resource overhead as possible without relying on any fixed infrastructure, thereby effectively avoiding data transmission collisions between different users and completing the basic functions of low-overhead networking communications.

[0003] To solve the above problems, the industry has proposed a variety of distributed random access methods for broadcast wireless channels, including ALOHA, slotted ALOHA, CSMA, CMSA / CA, bitmap-based dynamic time division multiple access, and bit backoff. Among them, ALOHA or slotted ALOHA allows each user to start the data transmission process at any time or time slot without going through any channel reservation process. Although they have the advantage of short average user access channel delay, the probability of transmission collision and the waste of channel resources after the collision are both high, resulting in low overall channel transmission throughput and channel utilization.

[0004] On the other hand, CSMA and CSMA / CA usually need to adopt channel listening before sending, implement certain backoff strategies (such as 0 persistence / 1 persistence / p persistence) after finding the channel idle, freeze the backoff count once the channel is detected to be busy during the backoff process, and randomly re-select the backoff duration from the exponentially expanding backoff window once a transmission conflict occurs, as well as channel reservation based on RTS and CTS packet interaction, etc., to effectively reduce the probability of data transmission conflicts and improve the overall channel transmission throughput and channel utilization. However, its disadvantage is that it may cause a longer average channel access delay.

[0005] In addition, bitmap-based dynamic time division multiple access [1] Different users are assigned different contention time slots to reserve their data transmission resources. The advantage is that it can effectively coordinate different users to access the channel in an orderly manner and completely avoid channel transmission conflicts. However, the disadvantage is that the allocation of contention time slots is relatively fixed, which is not suitable for application scenarios where the number of users changes rapidly and dynamically. At the same time, since the time required to participate in a single channel competition O(N) changes linearly with the number of users N, it is not suitable for applications with a large number of users or extremely low transmission rates.

[0006] Finally, binary countdown performs channel access competition for a limited number of bits before data transmission according to the binary node numbers of each user. Its advantage is that the time overhead of a single channel competition is fixed and only requires O(log2N) time slots. However, its disadvantage is that, different from the first 5 distributed access methods which have good user fairness, binary countdown will cause users with all-1 bits in the binary node number to always win the channel competition, while users with all-0 bits in the binary node number always fail in the channel competition, resulting in a large difference in the data transmission opportunities obtained by different users. The improvement measure for binary countdown allows each user to randomly select a sequence from a group of binary bit sequences to perform channel access competition. Although it can better solve the user fairness problem, it may also lead to the problem of data transmission conflicts when multiple users select the same sequence simultaneously. Summary of the Invention

[0007] Based on a group of special binary codes, the present invention designs a low-overhead random competition access method for broadcast channels, enabling it to obtain a lower average channel access delay and a higher channel transmission throughput while ensuring the fairness of all users accessing the channel as much as possible.

[0008] In the solution of the present invention, for a k-bit binary code sequence S = a0a1…a k-1 let the (l + 1)-th bit of it be represented as S[l], that is, S[l] = a l , where l ∈ [0, k - 1].

[0009] The technical solution of the present invention is as follows:

[0010] First, generate a group of binary code sequences for all 2 k users participating in the random channel access competition. Then, based on the generated 2 k binary code sequences, 2 k users complete the random competition access to the same broadcast channel.

[0011] To support 2 k users numbered 1, 2, …, 2 k to compete for access to the same broadcast wireless channel, the following steps are required to generate 2 k binary code sequences of length O(k) bits so as to uniquely allocate the binary code sequence S k to each user i ∈ [1, 2 i :

[0012] a1. Search for the smallest integers n and m that satisfy the inequality , where n < m and Represents the total number of n different combinations of elements that exist in m different elements;

[0013] a11, initialize m=3;

[0014] a12. If m is an odd number, then update Otherwise, update

[0015] a13. Inequality If it holds, then output integers n and m; otherwise, update m=m+1 and return a12;

[0016] a2. Generate all different m-bit binary sequences So that every binary sequence B j They are composed of n bits 0 and mn bits 1;

[0017] a3, for a2 generated Binary sequence First, delete (m-n+1) sequences with n consecutive bits of 0, and then Randomly select 2 from the binary sequences k Thus, 2 k m-bit binary sequence

[0018] a4. For every integer i∈[1,2 k ], in the binary sequence D i A binary sequence 100…01 of length n+2 bits is added to the front, where the added sequence contains exactly n consecutive bits 0 except the first and last bits 1, thereby generating a binary code sequence S of length m+n+2 bits for each user i i .

[0019] When 2 k When two clock asynchronous half-duplex users compete to access the same broadcast wireless channel, each generated m+n+2-bit binary code sequence S i The user i∈[1,2 k ]The following steps are needed to send its data on this channel:

[0020] b1. After the previous data packet is sent, each user i that needs to send data will continuously monitor the channel for DIFS. If it finds that the channel is continuously idle during this period, it will immediately jump to S2 and start trying to send data; otherwise, it will postpone the current data transmission until it hears that the channel is continuously idle for DIFS, then it will restart the attempt to send data;

[0021] b2. If user i starts to try to send data in time slot t, where t>0, it will first randomly select an integer rotation distance τ from the range [0,m+n+1], and then calculate the rotation distance τ according to the binary coded sequence ROT(S i ,τ) to decide whether to send a busy tone in the next m+n+2 time slots (i.e., time slots t, t+1, …, t+m+n+1). Specifically, for any integer g∈[1,m+n+2], if the sequence ROT(S i ,τ) is 1, then it will send a busy signal in time slot t+g-1; otherwise, it will remain silent in time slot t+g-1; for a k-bit binary code sequence S = a0a1…a k-1 For example, performing a sequence rotation with a distance r on it will generate a new k-bit binary code sequence ROT(S,r)=a k-r a k-r+1 …a k-1 a0a1…a k-r-1 , where r∈[0,k-1];

[0022] b3. In the m+n+2 time slots described in b2, if user i chooses to remain silent in time slot t+g-1, where g∈[1,m+n+2], then it will further listen to whether there is a busy signal sent by other users on the channel in this time slot. If it hears a busy signal, it will immediately postpone the data transmission and return to b1 to restart the process of continuously listening to the channel for DIFS; otherwise, it will continue to try to send data;

[0023] b4. At the beginning of time slot t+m+n+2, if user i still chooses to send data, it will immediately start sending the data packet, including the header and payload of the packet. After the data packet is sent, the receiving user of the data packet (assuming it is user j∈[1,2 k ]) It is necessary to reply to user i with an ACK or NAK packet to confirm whether it has received the data packet correctly;

[0024] b5. If the confirmation packet replied by user j in b4 is NAK or user j does not reply any confirmation packet, then user i will immediately start to resend the data packet; otherwise, if the confirmation packet replied by user j in b4 is ACK, then user i will immediately stop occupying the channel, and each user who has data transmission needs will re-enter b1 and start the listening process of the channel being continuously idle for DIFS time.

[0025] The beneficial effects of the present invention are:

[0026] First, due to the competitive access process, each user only needs to send busy signals and monitor idle time slots for m+n+2 time slots to determine whether to start sending data packets, where m=O(k), n=O(k), k=log2N, and N=2 k Represents the total number of users that may participate in random channel access contention, so the present invention has a single channel contention time overhead with a fixed length of O(log2N) time slots. This overhead is similar to the traditional bit backoff method, but is superior to the traditional random channel contention methods such as traditional dynamic time division multiple access based on bitmap, CSMA and CSMA / CA.

[0027] Secondly, since each user always randomly selects an integer τ from the range [0, m+n+1] to generate a binary encoding sequence ROT(S i ,τ), and in the next m+n+2 time slots of data transmission attempts, there will always be n+2 busy tone transmission time slots and m channel listening time slots. Therefore, the present invention can ensure the fairness of different users in the random channel access process and effectively avoid the difference in transmission opportunities between different users caused by the traditional bit back-off method.

[0028] Again, since any two generated m+n+2 bit binary code sequences are different at any rotation distance, the present invention can ensure that all 2 k After a user has experienced m+n+2 time slots of busy signal transmission and idle time slot channel monitoring, only one user will choose to continue sending data, thereby effectively avoiding the data packet transmission conflicts and corresponding channel resource waste that may be caused by traditional random channel competition methods (including ALOHA, slotted ALOHA and CSMA, etc.).

[0029] Finally, under a given data arrival rate, the present invention can obtain a higher channel transmission throughput and a lower average channel access duration than CSMA. On the other hand, compared with traditional random channel access methods such as CSMA and bit backoff, the present invention can obtain a smaller average channel access duration variance, thereby having a higher multi-user channel access fairness. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a simulation schematic diagram of the average throughput of the three methods, namely, the present invention, the binary ratio back-off method and the CSMA method, changing with the data arrival rate.

[0031] Figure 2 It is a simulation schematic diagram of the average access time of the three methods of the present invention, the binary bit back-off method and the CSMA method changing with the data arrival rate.

[0032] Figure 3It is a simulation schematic diagram of the access time variance of the three methods, namely the present invention, the binary bit back-off method and the CSMA method, changing with the data arrival rate. DETAILED DESCRIPTION

[0033] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0034] Embodiment 1:

[0035] In this example, a total of 16 users are assumed to compete for access to the same broadcast wireless channel. The method of the present invention is used to generate 2 4 = 16 binary code sequences S1, S2, ..., S 16 , thus assigning a unique binary coding sequence to each user. The steps for generating 16 binary coding sequences are as follows:

[0036] S1. Use the following steps to search for inequalities The smallest integers m and n.

[0037] S11, initialize m=3;

[0038] S12. Since m=3 is an odd number, update

[0039] S13. Due to the inequality Not true, so update m=m+1=4 and return to S12;

[0040] S12. Since m=4 is an even number, update

[0041] S13. Due to the inequality Not true, so update m=m+1=5 and return to S12;

[0042] S12. Since m=5 is an odd number, update

[0043] S13. Due to the inequality This is not true, so update m=m+1=6 and return to S12;

[0044] S12. Since m=6 is an even number, update

[0045] S13. Due to the inequality It holds, so the output integers m=6 and n=3;

[0046] It can be concluded that when k = 4, m = 6 and n = 3 hold;

[0047] S2. Generate all different 6-bit binary sequences B1, B2, ..., B 20 , where each binary sequence consists of 3 bits 0 and 3 bits 1. Table 1 lists the 20 6-bit binary sequences.

[0048] Table 1 20 6-bit binary sequences

[0049]

[0050]

[0051] S3. For the 20 binary sequences generated by S2, first delete m-n+1=4 sequences with 3 consecutive bits of 0 (i.e., B 17 ,B 18 ,B 19 ,B 20 ), and then select 2 from the remaining binary sequence 4 = 16, thus generating three-dimensional 16 6-bit binary sequences D1, D2, ..., D as shown in Table 2 16 .

[0052] Table 2 6-bit binary sequence generated

[0053]

[0054]

[0055] S4. In each binary sequence D i , where i∈[1,16], a binary sequence 10001 of length n+2=5 bits is added in front, where the added sequence contains exactly n=3 consecutive bits 0 except the first and last bits 1, thus generating a binary code sequence S of length 11 bits for each user i i .

[0056] Table 3 lists the 16 6-bit binary sequences S1, S2, ..., S generated based on the above steps. 16 .

[0057] Table 3 11-bit binary codes fixedly allocated to 16 users

[0058]

[0059]

[0060] In this example, the specific method for 16 users whose clocks may be asynchronous to compete for access to the same broadcast wireless channel is:

[0061] When 16 users numbered 1, 2, ..., 16 are based on the 11-bit binary code sequence S1, S2, ..., S 16 When competing for access to the same broadcast wireless channel, each user i∈[1,16] needs to take the following steps to send its data on the channel:

[0062] S1: After the previous data packet is sent, each user i that needs to send data will continuously monitor the channel for DIFS. If it finds that the channel is continuously idle during this period, it will immediately jump to S2 and start trying to send data; otherwise, it will postpone the current data transmission until it hears that the channel is continuously idle for DIFS, then it will restart the attempt to send data;

[0063] S2. If user i starts to try to send data in time slot t, where t>0, it will first randomly select an integer rotation distance τ from the range [0,10], and then calculate the rotation distance τ according to the binary code sequence ROT(S i ,τ) to decide whether to send a busy tone in the next 11 time slots (i.e., t, t+1, …, t+10). Specifically, for any integer g∈[1,11], if the sequence ROT(S i ,τ) is 1, then it will send a busy signal in time slot t+g-1; otherwise, it will remain silent in time slot t+g-1;

[0064] S3. In the 11 time slots described in S2, if user i chooses to remain silent within t+g-1, where g∈[1,11], then it will further listen to whether there is a busy signal sent by other users on the channel in this time slot. If it hears a busy signal, it will immediately postpone the data transmission and return to S1 to restart the process of continuously listening to the channel for DIFS; otherwise, it will continue to send data.

[0065] For example: Assume that the binary code sequences assigned to user 1 and user 2 are S1 = {1,0,0,0,1,0,0,1,0,1,1} and S2 = {1,0,0,0,1,0,0,1,1,0,1} respectively, and the rotation distances they randomly select are 3 and 5 respectively, we can get ROT(S1,3) = {0,1,1,1,0,0,0,1,0,0,1} and ROT(S2,5) = {0,1,1,0,1,1,0,0,0,1,0}, then they will both listen to the channel in time slot t, and send busy signals in time slots t+1 and t+2. Next, in time slot t+3, user 1 will send a busy signal, and user 2 will hear the busy signal sent by user 1, causing user 1 to continue to try to send data, while user 2 will immediately postpone sending data and return to S1;

[0066] S4. If user 1 still chooses to send data at the beginning of time slot t+11, user 1 can immediately start sending data packets, including the header and payload of the packet. After the data packet is sent, the receiving user of the data packet (assuming it is user j∈[1,16]) needs to reply to user 1 with an ACK or NAK or other confirmation packet to confirm whether it has received the data packet correctly;

[0067] S5. If the confirmation packet replied by user j in S4 is NAK or user j does not reply any confirmation packet, then user 1 will immediately start to resend the data packet; otherwise, if the confirmation packet replied by user j in S4 is ACK, then user 1 will immediately stop occupying the channel, and each user who has data transmission requirements will re-enter S1 and start the listening process of the channel being continuously idle for DIFS time.

[0068] Based on the simulation parameters shown in Table 4, the average access delay, average transmission throughput and access delay variance of three random channel access methods, namely the present invention, bit backoff and traditional CSMA, are compared.

[0069] Table 4 Simulation parameters

[0070]

[0071] Figure 1 The simulation diagram of the average transmission throughput of the present invention, bit backoff and CSMA as the data arrival rate changes is drawn. It can be seen that the average throughput of the present invention is always higher than the average transmission throughput of CSMA, but slightly lower than the average transmission throughput of bit backoff. When the data arrival rate is higher than 1.2×10 6 When the average transmission throughput of the present invention and bit back-off is 10000 bits / second, the average transmission throughput of the present invention and bit back-off tends to be stable, because the number of users that can access the channel has reached saturation at this time.

[0072] Figure 2 A simulation diagram showing the average access delay of the present invention, bit backoff and CSMA as the data arrival rate changes is drawn. It can be seen that the average access delay of the present invention is always lower than that of CSMA. On the other hand, when the data arrival rate is low, the average access delay of the present invention is slightly higher than that of bit backoff. This is because the user of the present invention always needs to go through 11 time slots of data transmission attempts before a unique user can be selected to continue sending data, while the binary bit backoff method only needs to go through 4 time slots. When the data arrival rate is high, the average access delay of the present invention and bit backoff is not much different. This is because when the data arrival rate is high, the number of data transmission requests for users whose binary node numbers are all 1 bits also increases, resulting in an increase in the access delay of users with other numbers.

[0073] Figure 3A simulation diagram of the access time variance of the present invention, bit backoff and CSMA as the data arrival rate changes is drawn. It can be seen that the access time variance of CSMA is the largest, indicating that its fairness is the worst. This is because the backoff window will increase exponentially each time a collision occurs, resulting in large differences in the backoff times selected by different users for retransmitting data packets. On the other hand, the access time variance of the present invention is always lower than that of bit backoff. The reason is that bit backoff will cause users with binary node numbers of all 1 bits to always win the channel competition, while users with all 0 bits will always fail in the channel competition, resulting in poor fairness in their access to the channel. Correspondingly, in Algorithm 2 proposed in the present invention, each user always randomly selects an integer τ from the range [0,10] to generate a binary coding sequence ROT(S i ,τ), and in the next 11 time slots, there will always be 5 busy tone sending time slots and 6 channel listening time slots during the data sending attempt process. Therefore, the fairness of different users in the random channel access process can be effectively guaranteed.

[0074] In summary, the present invention also has the following advantages:

[0075] (1) Compared with the traditional bitmap-based dynamic time division multiple access method, the method proposed in the present invention is applicable to application scenarios where the number of users changes rapidly and dynamically, and can fix the time overhead of a single channel competition to O(log2N) time slots, thereby effectively solving the problem that the channel competition time overhead increases rapidly with the number of users N;

[0076] (2) Compared with the traditional bit backoff method, the method proposed in the present invention can better ensure the fairness of multiple users when participating in random channel competition;

[0077] (3) Compared with traditional channel access methods based on random contention, such as ALOHA, slotted ALOHA, CSMA and CSMA / CA, the method proposed in the present invention can achieve a better compromise between the average channel access time of users and the channel transmission throughput.

Claims

1. A random contention access method for a wireless channel based on binary coding, characterized in that: include: For all 2 participating in random channel access contention k Each user generates a set of binary code sequences, specifically: a1. Search for the smallest integers n and m that satisfy the inequality , where n < m and represents the total number of combinations of n distinct elements out of m distinct elements: a11, initialize m=3; a12. If m is an odd number, update Otherwise, update a13. Inequality If yes, output integers n and m; otherwise, update m=m+1 and return to S12; a2. Generate all different m-bit binary sequences So that every binary sequence B j They are composed of n bits 0 and mn bits 1; a3, for a2 generated Binary sequence First, delete (m-n+1) sequences with n consecutive bits of 0, and then Randomly select 2 from the binary sequences k Thus, 2 k m-bit binary sequence a4. For every integer i∈[1,2 k ], in the binary sequence D i A binary sequence 100…01 with a length of n+2 bits is added to the front, where the added sequence contains n consecutive bits of 0 except the first and last bits of 1, thereby generating a binary code sequence S with a length of m+n+2 bits for each user i i ; In the obtained 2 k Based on the binary code sequence, 2 k Each user completes random contention access to the same broadcast channel using the following method: b1. After the previous data packet is sent, each user i that needs to send data will continuously monitor the channel for DIFS. If it finds that the channel is continuously idle during this period, it will immediately jump to b2 and start trying to send data; otherwise, the data transmission will be postponed until the channel is continuously idle for DIFS, and then the data transmission attempt will be restarted; b2. If user i starts to try to send data in time slot t, where t>0, first randomly select an integer rotation distance τ from the range [0,m+n+1], and then calculate the rotation distance τ according to the binary code sequence ROT(S i ,τ) to decide whether to send a busy tone in the next m+n+2 time slots; for any integer g∈[1,m+n+2], if the sequence ROT(S i ,τ) is 1, a busy signal will be sent in time slot t+g-1; otherwise, silence will be maintained in time slot t+g-1; where ROT(S i ,τ) is defined as: for a k-bit binary code sequence S = a0a1…a k-1 , performing a sequence rotation with a distance r on it will generate a new k-bit binary code sequence ROT(S,r)=a k-r a k-r+1 …a k-1 a0a1…a k-r-1 , where r∈[0,k-1]; b3. In the m+n+2 time slots described in b2, if user i chooses to remain silent in time slot t+g-1, where g∈[1,m+n+2], it will further listen to whether there is a busy signal sent by other users on the channel in this time slot; if user i hears a busy signal, it will immediately postpone the data transmission and return to b1 to restart the process of continuously listening to the channel for DIFS; otherwise, it will continue to try to send data; b4. At the beginning of time slot t+m+n+2, if user i still chooses to send data, it will immediately start sending a data packet, including the header and payload of the data packet; after the data packet is sent, the receiving user j of the data packet needs to reply an ACK or NAK confirmation packet to user i to confirm whether it has correctly received the data packet; b5. If the confirmation packet replied by user j in b4 is NAK or user j does not reply any confirmation packet, then user i will immediately start to resend the data packet; otherwise, if the confirmation packet replied by user j in b4 is ACK, then user i will immediately stop occupying the channel, and each user who has data transmission needs will re-enter b1 and start the listening process of the channel being continuously idle for DIFS time.