A method for determining random access contention window in terahertz protocol
By introducing the residual CAP determination competition window algorithm and the residual competition window superposition algorithm into the terahertz communication protocol, the problem of network conflicts and retransmissions under high load is solved, and higher data transmission success rate and robustness are achieved.
Patent Information
- Application Number
- CN202310829922.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-07-07
AI Technical Summary
In existing terahertz communication protocols, the competition window selection mechanism cannot effectively solve network conflicts and retransmission problems under high load conditions, resulting in transmission restrictions, and the backoff time slot caused by the binary exponential backoff algorithm is too large, increasing the collision probability. and delay.
Two competition window determination algorithms are proposed: the residual CAP determination competition window algorithm and the residual competition window superposition algorithm. By randomly selecting backoff time slots and adjusting the competition window size after collision, the initial collision probability is reduced and the data transmission success rate is improved.
It minimizes the initial collision probability, improves the data transmission success rate, and enhances the network's robustness and channel access efficiency under high load conditions.
Smart Images

Figure HDA0004932238290000011 
Figure HDA0004932238290000012 
Figure HDA0004932238290000013
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of communications and relates to a method for determining a random access contention window in a terahertz protocol. Background Art
[0002] In the current terahertz communication protocol, the BEB (Binary Exponential Backoff) binary exponential backoff algorithm of the CAMA / CA mechanism is mainly used in the selection of the contention window. First, the backoff window value is selected within the minimum contention window. When a transmission collision occurs, the contention window is increased, and the backoff window is selected within the larger contention window range. The collision probability in the initial stage of this mode is the highest, and there is no good solution to the network conflict and retransmission problems under high load. Moreover, since the length of the channel access period (CAP) in the IEEE 802.15.3c protocol is predetermined, the binary backoff algorithm has the characteristic of exponential growth of the backoff window after retransmission, which makes the selected backoff time slot larger, resulting in transmission restrictions within the determined window.
[0003] In the IEEE 802.15.3c standard, the MAC layer uses a superframe structure to organize the time allocation of channel occupancy, where the superframe structure is mainly composed of three parts: beacon period, CAP period, and CTAP period. In the beacon period, the PNC (Piconet Coordinator) sends a beacon frame, which contains important information about the network. The terminal device (Device) synchronizes its clock by receiving the beacon frame and obtains relevant information about the network. In the CAP period, the terminal device sends a time slot request command to the PNC, requesting to obtain a time slot allocation for data transmission in the CTAP period. In the CTAP period, if the device obtains a time slot allocation, data transmission can be performed in the CTAP period.
[0004] After the terminal device receives the beacon frame sent by the PNC, it can obtain information about the superframe structure and communication parameters from the beacon frame, which can be used to determine the length of the CAP. However, since the length of the CAP is determined, the node will face some problems when completing all backoff processes within the CAP of the superframe, especially when it comes to the BEB (Binary Exponential Backoff) algorithm. Under high load conditions, such as when the number of nodes increases or the amount of data increases, the probability of backoff conflicts will increase. This may lead to more collisions and delays. However, due to the limitations of the superframe structure, some nodes may not be able to complete the backoff process within the CAP of the superframe.
[0005] The existing optimization scheme generally uses different application data flows to set appropriate backoff parameters (such as backoff number NB, backoff index EB, contention window size WC, etc.) to implement priority scheduling strategy to achieve differentiated services. As the network load continues to increase, this priority scheduling strategy does not show good robustness. The simple change of three parameters limits the efficiency of node channel access, increases the probability of network conflict and retransmission, causes node packet failure, and causes network congestion. Summary of the invention
[0006] Based on IEEE 802.15.3c protocol and CAP superframe structure, the present invention analyzes and provides two contention window determination algorithms, namely, a residual CAP determination contention window algorithm and a residual contention window superposition algorithm.
[0007] The remaining CAP determines the contention window algorithm mainly includes the following steps:
[0008] Step 1: The node determines that the contention window W value is equal to the CAP length value CAP slot ;
[0009] Step 2: The node randomly selects a backoff time slot S in the range of (0, W-2), reserves two time slots to ensure the transmission reliability of the ACK frame, and then starts the backoff decrement process. When the backoff time slot value decreases to 0, the node starts data transmission.
[0010] Step 3: When a node determines that a collision occurs in its data transmission and (WS) is greater than 2, the node determines the contention window value W = (WS-2) and then proceeds to step 2.
[0011] The remaining contention window superposition algorithm mainly includes the following steps:
[0012] Step 1: According to the number of transmissions N and the CAP time slot length CAP slot Determine the contention window W L =CAP slot / N,W=W L , backoff time slot superposition value S total =0;
[0013] Step 2: The node randomly selects a backoff time slot S in the range of (0, W-2) and reserves two time slots to ensure the transmission reliability of the ACK frame. Let S total =S total +S, and start the backoff process;
[0014] Step 3: When a node determines that a collision occurs during the i-th transmission, if i is less than N, the node determines the contention window value W = (W L*(i+1)-S total -2i), and then go to step 2.
[0015] Features and beneficial effects of the present invention.
[0016] In the present invention, the remaining CAP determines the contention window algorithm, and the CAP value is used through the initial contention window to reach the maximum window range. The node selects the backoff time slot within the window range, and selects the remaining CAP value as the contention window after the transmission collision. This mode reduces the initial collision probability to the maximum extent, and guarantees that the data is sent to the target node within this period to the maximum extent. The remaining contention window superposition algorithm, for the mode of fixed contention window range, determines the new contention window size by superimposing the fixed contention window range on the number of unused contention window time slots last time, and then determines the backoff window value. This method reduces the collision probability and increases the probability of successful data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a schematic diagram of the IEEE 802.15.3c superframe structure;
[0018] Figure 2 Schematic diagram of the algorithm for determining the contention window for the remaining CAP
[0019] Figure 3 A schematic diagram of the algorithm for superimposing the remaining contention windows; DETAILED DESCRIPTION
[0020] Based on the superframe structure in IEEE 802.15.3c, the remaining CAP contention window determination algorithm specifically includes the following steps:
[0021] Step 1. PNC sends a beacon to all Devs to determine the CAP length of the Devs that receive the beacon;
[0022] Step 2: The node determines that the contention window W value is equal to the CAP length value CAP slot ;
[0023] Step 3: The node randomly selects a backoff time slot S in the range of (0, W-2), reserves two time slots to ensure the transmission reliability of the ACK frame, and then starts the backoff decrement process. When the backoff time slot value decreases to 0, the node starts data transmission.
[0024] Step 4: Perform CCA detection on the channel during the backoff process. If the current channel is detected as idle, the length of the backoff slot S is reduced by 1, and it is determined whether the length of the backoff slot S is zero. If it is zero, the channel competition is successful and the node obtains the right to use the channel. Otherwise, perform channel detection again. If the channel is detected as busy, execute Step 5.
[0025] Step 5: The backoff time slot S is suspended and the CCA detection is performed on the channel. When the channel detects an idle time of a complete inter-frame interval, S resumes the self-decrement process and executes Step 4.
[0026] Step 6: After sending a frame, if the node does not receive a confirmation frame, it is inferred that a collision has occurred. At this time, the node needs to resend data and execute Step 7;
[0027] Step 7, determine whether (WS) is greater than 2, if so, the node determines the contention window value W = (WS-2), and executes Step 3, otherwise the data frame fails to be sent;
[0028] Step 8: When the number of retransmissions i reaches the maximum number of retransmissions, the data frame fails to be sent and the algorithm terminates.
[0029] The remaining contention window superposition algorithm specifically includes the following steps:
[0030] Step 1. PNC sends a beacon to all Devs to determine the CAP length of the Devs that receive the beacon;
[0031] Step 2: According to the number of transmissions N and the CAP time slot length CAP slot Determine the contention window length W L =CAP slot / N, let W = W L , the total amount of backoff slots S total =0;
[0032] Step 3: The node randomly selects a backoff time slot S in the range (0, W-2), and sets S total =S total +S, and start the backoff decrement process. When the backoff time slot backs off to 0, the node starts data transmission;
[0033] Step 4: Perform CCA detection on the channel during the backoff process. If the current channel is detected as idle, the length of the backoff slot S is reduced by 1, and it is determined whether the length of the backoff slot S is zero. If it is zero, the channel competition is successful and the node obtains the right to use the channel. Otherwise, perform channel detection again. If the channel is detected as busy, execute Step 5.
[0034] Step 5: The backoff time slot S is suspended and the CCA detection is performed on the channel. When the channel detects an idle time of a complete inter-frame interval, S resumes the self-decrement process and executes Step 4.
[0035] Step 6: After sending a frame, if the node does not receive a confirmation frame, it is inferred that a collision has occurred. At this time, the node needs to resend data and execute Step 7;
[0036] Step 7: When a node determines that a collision occurs during the i-th transmission, if i is less than N, the node determines the contention window value W = (W L *(i+1)-S total -2i), then go to Step 3;
[0037] Step 8: When the number of retransmissions i is greater than N, the data frame fails to be sent and the algorithm terminates.
[0038] The above descriptions are only typical embodiments of the present invention, and are not intended to limit the implementation and protection scope of the present invention. Those skilled in the art should be aware that any solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining a random access contention window in a terahertz protocol, comprising a method for determining a contention window by using a remaining CAP or a method for superimposing a remaining contention window, characterized in that: The remaining CAP contention window determination method comprises the following steps: Step 1. PNC sends a beacon to all Devs to determine the CAP length of the Devs that receive the beacon; Step 2: The node determines that the contention window W value is equal to the CAP length value CAP slot ; Step 3: The node randomly selects a backoff time slot S in the range of (0, W-2), reserves two time slots to ensure the transmission reliability of the ACK frame, and then starts the backoff decrement process. When the backoff time slot value decreases to 0, the node starts data transmission. Step 4: Perform CCA detection on the channel during the backoff process. If the current channel is detected as idle, the length of the backoff slot S is reduced by 1, and it is determined whether the length of the backoff slot S is zero. If it is zero, the channel competition is successful and the node obtains the right to use the channel. Otherwise, perform channel detection again. If the channel is detected as busy, execute Step 5. Step 5: The backoff time slot S is suspended and the CCA detection is performed on the channel. When the channel detects an idle time of a complete inter-frame interval, S resumes the self-decrement process and executes Step 4. Step 6: After sending a frame, if the node does not receive a confirmation frame, it is inferred that a collision has occurred. At this time, the node needs to resend data and execute Step 7; Step 7, determine whether (WS) is greater than 2, if so, the node determines the contention window value W = (WS-2), and executes Step 3, otherwise the data frame fails to be sent; Step 8: When the number of retransmissions i reaches the maximum number of retransmissions, the data frame fails to be sent and the algorithm terminates; The remaining contention window superposition method comprises the following steps: Step 1. PNC sends a beacon to all Devs to determine the CAP length of the Devs that receive the beacon; Step 2: According to the number of transmissions N and the CAP time slot length CAP slot Determine the contention window length W L =CAP slot / N, let W = W L , the total amount of backoff slots S total =0; Step 3: The node randomly selects a backoff time slot S in the range (0, W-2), and sets S total =S total +S, and start the backoff decrement process. When the backoff time slot backs off to 0, the node starts data transmission; Step 4: Perform CCA detection on the channel during the backoff process. If the current channel is detected as idle, the length of the backoff slot S is reduced by 1, and it is determined whether the length of the backoff slot S is zero. If it is zero, the channel competition is successful and the node obtains the right to use the channel. Otherwise, perform channel detection again. If the channel is detected as busy, execute Step 5. Step 5: The backoff time slot S is suspended and the CCA detection is performed on the channel. When the channel detects an idle time of a complete inter-frame interval, S resumes the self-decrement process and executes Step 4. Step 6: After sending a frame, if the node does not receive a confirmation frame, it is inferred that a collision has occurred. At this time, the node needs to resend data and execute Step 7; Step 7: When a node determines that a collision occurs during the i-th transmission, if i is less than N, the node determines the contention window value W = (W L *(i+1)-S total -2i), then go to Step 3; Step 8: When the number of retransmissions i is greater than N, the data frame fails to be sent and the algorithm terminates.
