Method and device for adaptively enabling / disabling RTS / CTS
By dynamically adjusting the RTS/CTS state in the prior art, the problem of RTS/CTS cannot be adapted by measuring the packet error rate, and the wireless channel resource utilization and network communication throughput are improved.
Patent Information
- Application Number
- CN202211151557.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-21
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2042-09-21
AI Technical Summary
In the prior art, the activation or disabling of the RTS/CTS mechanism cannot be adapted according to the actual scenario, resulting in low wireless channel utilization and throughput, especially in environments with more or fewer hidden nodes, data transmission failure rate and resource consumption. Increase.
By measuring the packet error rate, dynamically adjusting the enable and disable states of RTS/CTS, and based on the comparison of the first packet error rate and the second packet error rate with the threshold, it is determined whether to switch from one state to another, thereby optimizing data transmission.
It realizes the RTS/CTS adaptable to the scenario to enable or disable, reduce communication conflicts, improve the utilization rate of wireless channel resources and network communication throughput.
Smart Images

Figure CN115529676B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a method and device for adaptively enabling / disabling RTS / CTS. Background Art
[0002] The IEEE 802.11 standard defines an optional RTS (Request to Send) / CTS (Clear to Send) mechanism. The RTS / CTS mechanism is widely used in the field of wireless data transmission to solve the hidden node problem in wireless networks.
[0003] At present, it is usually determined whether to start the RTS / CTS mechanism by presetting (or giving) a fixed data packet size threshold in the node. When the size of the data packet to be sent by the node exceeds the threshold, the RTS / CTS mechanism is enabled, otherwise, the RTS / CTS mechanism is not enabled. However, if the node is in an interference environment with many hidden nodes and frequently sends smaller data packets, the RTS / CTS mechanism cannot be enabled because the data packet size does not exceed the threshold, and the data transmission will fail (or the possibility of failure will increase), which will result in low data rate and low throughput. If the node is in a clean environment with fewer hidden nodes and frequently sends large data packets, the RTS / CTS mechanism has been enabled because the data packet size exceeds the threshold, and the waiting time and power consumption will increase, thereby reducing channel utilization and throughput. Summary of the invention
[0004] The present disclosure provides a method for adaptively enabling / disabling RTS / CTS to at least solve the problem in the related art that it is difficult to control the enabling and disabling of RTS / CTS according to actual scenarios, resulting in low wireless channel utilization and throughput.
[0005] According to an embodiment of the present disclosure, a method for RTS / CTS adaptive enabling is provided, the method comprising: in response to determining that a first packet error rate satisfies a condition, changing a first state to a second state, wherein the first packet error rate is measured in the first state, and each of the first state and the second state corresponds to a different one of an RTS / CTS enabled state and an RTS / CTS disabled state; and determining whether to change from the second state to the first state based on the second packet error rate and a threshold, wherein the second packet error rate is measured in the second state.
[0006] According to an embodiment of the present disclosure, the method further includes: measuring the first packet error rate or the second packet error rate according to a time period.
[0007] According to an embodiment of the present disclosure, the first state is an RTS / CTS disabled state, the second state is an RTS / CTS enabled state, and the condition is that the first packet error rate is greater than the threshold; or the first state is an RTS / CTS enabled state, the second state is an RTS / CTS disabled state, the first packet error rate is one of multiple first packet error rates, and the condition is that the values of the multiple first packet error rates remain stable or decrease.
[0008] According to an embodiment of the present disclosure, the determining whether to change from the second state includes: determining not to change from the second state to the first state based on the second packet error rate being less than the threshold.
[0009] According to an embodiment of the present disclosure, the first state is an RTS / CTS disabled state, and the second state is an RTS / CTS enabled state. The determination of whether to change from the second state includes: determining the change from the second state to the first state based on the second packet error rate being greater than or equal to the threshold, and the method also includes: in response to determining the change from the second state, changing from the RTS / CTS enabled state to the RTS / CTS disabled state, reducing the data rate, and re-measuring the first packet error rate; or the first state is an RTS / CTS enabled state, and the second state is an RTS / CTS disabled state, and the determination of whether to change from the second state includes: determining the change from the second state to the first state based on the second packet error rate being greater than or equal to the threshold, and the method also includes: in response to determining the change from the second state, changing from the RTS / CTS disabled state to the RTS / CTS enabled state, and re-measuring the first packet error rate.
[0010] According to an embodiment of the present disclosure, the method further includes: in response to determining that the first packet error rate does not satisfy the condition, re-measuring the first packet error rate in the first state.
[0011] According to an embodiment of the present disclosure, the first state is an RTS / CTS disabled state, and the condition is that the first packet error rate is greater than the threshold; or the first state is an RTS / CTS enabled state, the first packet error rate is one of multiple first packet error rates, and the condition is that the multiple first packet error rates remain stable or decrease.
[0012] According to an embodiment of the present disclosure, the threshold is a packet error rate tolerance at a current data rate.
[0013] According to an embodiment of the present disclosure, the method includes: when in the first state or the second state, sending a data frame to the device.
[0014] According to an embodiment of the present disclosure, a device for adaptively enabling RTS / CTS is provided, the device comprising: a processing circuit configured to: in response to determining that a first packet error rate satisfies a condition, change a first state to a second state, wherein the first packet error rate is measured in the first state, and each of the first state and the second state corresponds to a different one of an RTS / CTS enabled state and an RTS / CTS disabled state; and determine whether to change from the second state to the first state based on the second packet error rate and a threshold, wherein the second packet error rate is measured in the second state.
[0015] According to an embodiment of the present disclosure, the processing circuit is configured to: measure the first packet error rate or the second packet error rate according to a time period.
[0016] According to an embodiment of the present disclosure, the first state is an RTS / CTS disabled state, the second state is an RTS / CTS enabled state, and the condition is that the first packet error rate is greater than the threshold; or the first state is an RTS / CTS enabled state, the second state is an RTS / CTS disabled state, the first packet error rate is one of multiple first packet error rates, and the condition is that the values of the multiple first packet error rates remain stable or decrease.
[0017] According to an embodiment of the present disclosure, the processing circuit is configured to: determine not to change from the second state to the first state based on the second packet error rate being less than the threshold.
[0018] According to an embodiment of the present disclosure, the first state is an RTS / CTS disabled state, the second state is an RTS / CTS enabled state, and the processing circuit is configured to: in response to determining that the second packet error rate is greater than or equal to the threshold, change from the RTS / CTS enabled state to the RTS / CTS disabled state, reduce the data rate of the device, and re-measure the first packet error rate; or the first state is an RTS / CTS enabled state, the second state is an RTS / CTS disabled state, and the processing circuit is configured to: in response to determining that the second packet error rate is greater than or equal to the threshold, change from the RTS / CTS disabled state to the RTS / CTS enabled state, and re-measure the first packet error rate.
[0019] According to an embodiment of the present disclosure, the processing circuit is configured to: in response to determining that the first packet error rate does not satisfy the condition, re-measure the first packet error rate.
[0020] According to an embodiment of the present disclosure, the first state is an RTS / CTS disabled state, and the condition is that the first packet error rate is greater than the threshold; or the first state is an RTS / CTS enabled state, the first packet error rate is one of multiple first packet error rates, and the condition is that the multiple first packet error rates remain stable or decrease.
[0021] According to an embodiment of the present disclosure, the threshold is a packet error rate tolerance at a current data rate of the device.
[0022] According to an embodiment of the present disclosure, the processing circuit is configured to: send the data frame to another device in the first state or the second state.
[0023] According to an embodiment of the present disclosure, a device for adaptively enabling RTS / CTS is provided, the device comprising: at least one processor; and a memory for storing a computer program, which, when executed by the at least one processor, enables the device to perform the method for adaptively enabling RTS / CTS as described above.
[0024] According to an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing a computer program is provided. When the computer program is executed by the at least one processor, the at least one processor executes a method, the method comprising: in response to determining that a first packet error rate satisfies a condition, changing a first state to a second state, wherein the first packet error rate is measured in the first state, and each of the first state and the second state corresponds to a different one of an RTS / CTS enabled state and an RTS / CTS disabled state; and determining whether to change from the second state to the first state based on the second packet error rate and a threshold, wherein the second packet error rate is measured in the second state.
[0025] The technical solution provided according to the embodiments of the present disclosure brings at least the following beneficial effects: RTS / CTS can be adaptively enabled or disabled according to the scenario, thereby reducing communication conflicts, improving the utilization of wireless channel resources, and improving network communication throughput.
[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0028] Figure 1 A scenario showing communication conflicts in the presence of hidden nodes.
[0029] Figure 2 The principle of the RTS / CTS mechanism is shown.
[0030] Figure 3 The system environment of the method for enabling / disabling RTS / CTS adaptation according to an embodiment of the present disclosure is shown.
[0031] Figure 4A A block diagram showing a node device supporting the RTS / CTS mechanism and related components according to an embodiment of the present disclosure.
[0032] Figure 4B An example of a process performed by a node device supporting the RTS / CTS mechanism according to an embodiment of the present disclosure is shown.
[0033] Figure 5 A flow chart of a method for RTS / CTS adaptive enabling / disabling according to an embodiment of the present disclosure is shown.
[0034] Figure 6 A flowchart of adaptively enabling RTS / CTS in an RTS / CTS disabled state according to an embodiment of the present disclosure is shown.
[0035] Figure 7 A flowchart of adaptively disabling RTS / CTS in an RTS / CTS enabled state according to an embodiment of the present disclosure is shown.
[0036] Figure 8 A block diagram showing an apparatus for enabling / disabling RTS / CTS adaptation according to an embodiment of the present disclosure.
[0037] Fig. 9 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0038] In order to enable ordinary persons in the art to better understand the technical solution of the present disclosure, the technical solution provided by the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data so distinguished can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation methods described in the following examples do not represent all implementation methods consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.
[0040] It should be noted that the phrase "at least one of the items" in the present disclosure includes three types of parallel situations: "any one of the items", "a combination of any number of the items", and "all of the items". For example, "including at least one of A and B" includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is "performing at least one of operation 1 and operation 2" which means the following three parallel situations: (1) performing operation 1; (2) performing operation 2; (3) performing operation 1 and operation 2.
[0041] The IEEE 802.11 standard utilizes, for example, 2.4G and 5G spectrums, and in the future the standard may be expanded to 6G spectrum. In an IEEE 802.11 wireless network (e.g., a WiFi network), the transmission of data packets may include multiple wireless links. Since the transmission medium of multiple wireless links is a channel in a public area, in order to successfully transmit network link layer data packets, the wireless network uses a carrier sense multiple access / collision avoidance mechanism (CSMA / CA) to control the use of links by nodes. However, the quality of wireless network communications will also be affected by hidden nodes in the network. Figure 1 A scenario showing communication conflicts in the presence of hidden nodes.
[0042] like Figure 1 As shown in the figure, suppose node A is sending data to node B, and node C also wants to send data to node B. Since the distance of node C is beyond the listening range of node A, node A cannot detect the existence of node C (node C is a hidden node of node A), causing node A and node C to send data packets to node B at the same time (or simultaneously). In this way, the data packets will conflict and collide at node B, and node B cannot recognize any data from node A and node C, resulting in a high data transmission failure rate and a waste of wireless channel resources.
[0043] To solve the problem of hidden nodes, the IEEE 802.11 standard defines an optional RTS / CTS mechanism to reserve the right to use the wireless link for the transmission of data frames between nodes (for example, between node A and node B). Figure 2 Explain the principle of the RTS / CTS mechanism.
[0044] like Figure 2As shown, node A has a data frame to send to node B. First, it needs to send an RTS control frame. The RTS control frame can reserve the right to use the wireless link (for example, the wireless link between node A and node B) (for example, reserve a scheduled transmission time period) and require other nodes that receive the RTS control frame to stop sending messages (for example, during the scheduled transmission time period). Once node B receives the RTS frame, node B will respond with a CTS control frame. The CTS control frame reserves the wireless link channel for node A that sends the RTS control frame and also keeps other nodes that receive the CTS control frame silent (for example, to avoid sending to node B during the scheduled transmission time period). At this point, node A that receives the CTS control frame can send data frames to node B without interference from hidden nodes (such as node C) until node B sends a confirmation frame after receiving the data frame. Subsequently, all nodes can listen to and compete for channels again.
[0045] Figure 3 The system environment of the method for enabling / disabling RTS / CTS adaptation according to an embodiment of the present disclosure is shown.
[0046] like Figure 3As shown, the system environment of the method for adaptively enabling / disabling RTS / CTS may include nodes 100-1, 100-2...100-n (only five nodes are shown in the figure, for example, the first node 100-1, the second node 100-2, the third node 100-3, the fourth node 100-4 and the fifth node 100-5). Here, the nodes 100-1, 100-2...100-n may be devices with communication functions, including access points (APs) and / or stations (STAs). For example, the access point may be a NodeB, a radio network controller (RNC), an eNodeB, a base station controller (BSC), a basic transceiver base station (BTS), a base station (BS), a transceiver function (TF), a wireless router, a wireless transceiver, a connection point, etc. The station can be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a wearable device (such as a smart watch, a smart bracelet, smart glasses, a head-mounted display (HMD)), a netbook, a personal digital assistant (PDA), an augmented reality (AR) / virtual reality (VR) device, etc. In the embodiment of the present disclosure, the station (STA) can also be used as an access point (AP). Nodes 100-1, 100-2...100-n include a receiver and a transmitter, and can access the network and communicate with each other through cellular communication networks (such as 4G networks, 5G networks, etc.) and other wireless networks (such as WLAN, WiFi and / or other networks applicable to the IEEE 802.11 standard). According to an embodiment, nodes 100-1, 100-2...100-n can communicate via a network (e.g., a system environment) using one or more of various multiple access schemes (such as, code division multiple access (CDMA), frequency division multiple access (FDMA), time division multiple access (TDMA), orthogonal frequency division multiple access (OFDMA), single carrier frequency division multiple access (SC-FDMA), OFDM-FDMA, OFDM-TDMA, OFDM-CDMA, etc.).
[0047] Figure 4A A block diagram showing a node device supporting the RTS / CTS mechanism and related components according to an embodiment of the present disclosure.
[0048] like Figure 4AAs shown, the node device (e.g., node 300) in the embodiment of the present disclosure may include an RTS / CTS mechanism component 301, a packet error rate (Packet Error Rate) measurement component (PER measurement component) 302 and / or a data rate component 303, wherein the PER measurement component 302 performs PER measurement and the data rate component 303 executes a link adaptation algorithm. According to the embodiment, the node 300 may be implemented as one of the nodes 100-1, 100-2 ... 100-n.
[0049] PER measurement can be performed during data transmission. Devices implemented in accordance with the IEEE 802.11 standard support PER measurement, but the methods of implementing PER measurement in the devices are different, and different operators may also have different methods to implement PER measurement. In an embodiment of the present disclosure, PER measurement can be performed by, for example, sending some data packets in a cycle, counting the number of packets for which ACK is not returned, and then calculating PER as the ratio of the number of packets for which ACK is not returned to the total number of data packets sent in the cycle. Generally, the node device in the embodiment of the present disclosure can measure PER in real time or at a higher frequency (the cycle for sending and counting data packets is shorter), and the PER measurement function can always (for example, continuously) run in the background. After measuring PER, the node device can select a suitable data rate, and can increase or decrease the data rate to transmit data by considering the PER measurement results.
[0050] Generally, a node device can select a suitable data rate to transmit data according to the current environment, and this feature can be implemented as a link adaptation algorithm. For example, in the orthogonal frequency division multiplexing (OFDM) modulation mode, there are MCS7, MCS6, etc., which represent different data rates for the node device to choose from. In general, different vendors may have different link adaptation algorithms. In the embodiment of the present disclosure, the link adaptation algorithm may set different PER tolerances for each data rate, for example, as shown in Table 1:
[0051] Table 1
[0052] <![CDATA[V 1 ]]> <![CDATA[V 2 ]]> <![CDATA[V 3 ]]> …… <![CDATA[V n ]]> <![CDATA[T 1 ]]> <![CDATA[T 2 ]]> <![CDATA[T 3 ]]> …… <![CDATA[T n ]]>
[0053] Assume that there are n (n is a positive integer) data rates V from small to large 1 、V 2 、V 3 ……V n , which corresponds to different PER tolerances T 1 , T 2 , T 3 ……T nThe setting of the tolerance value may be set, for example, according to the rule that the larger the data rate V, the smaller the tolerance value T. It should be understood that the setting of the above tolerance value is only an example, and the present disclosure does not limit this.
[0054] Figure 4B An example of a process performed by a node device supporting the RTS / CTS mechanism according to an embodiment of the present disclosure is shown.
[0055] If the PER exceeds the PER tolerance of the current data rate, the data rate will be reduced. Figure 4B As shown in FIG. 1 , if the PER measurement result (e.g., the measured value of PER) increases and exceeds the PER tolerance of the current data rate after RTS / CTS is disabled, the link adaptation algorithm may reduce the data rate, that is, the link adaptation algorithm reduces the data rate by (e.g., according to) the PER tolerance. For example, the current node 300 is at V 2 Data is transmitted at a data rate where the measured PER is greater than V 2 PER tolerance at data rate T 2 (T 1 >T 2 ), then the link adaptation algorithm can reduce the data rate to V 1 On the other hand, if the PER measurement decreases and is below the PER tolerance of the adjacent high data rate after RTS / CTS is enabled, the link adaptation algorithm may increase the data rate (to the high data rate), that is, the link adaptation algorithm increases the data rate by (e.g., according to) the PER tolerance. 2 The data rate is set to transmit data, and the PER measured is less than V 3 PER tolerance at data rate T 3 (T 2 >T 3 ), then the link adaptation algorithm can increase the rate to V 3 .
[0056] It should be understood that the description of the node device related components supporting the RTS / CTS mechanism here is only an example, and the present disclosure does not limit this.
[0057] Figure 5 A flow chart of a method for RTS / CTS adaptive enabling / disabling according to an embodiment of the present disclosure is shown.
[0058] First, in operation S510, a first packet error rate is measured in a first state, wherein each of the first state and the second state corresponds to a different one of an RTS / CTS enabled state and an RTS / CTS disabled state, that is, the first state is one of the RTS / CTS enabled state and the RTS / CTS disabled state (e.g., the RTS / CTS enabled state), and the second state is the other (e.g., the RTS / CTS disabled state). In an embodiment of the present disclosure, the node 300 may continuously measure the packet error rate PER according to a predetermined (or optionally, given) time period (e.g., at a predetermined (or optionally, given) time period), for example, the PER measurement component 302 in the node 300 may measure the PER at a higher frequency (shorter time period), or the PER measurement function may always (e.g., continuously) run in real time in the background. The node 300 may send multiple data packets within a predetermined (or optionally, given) time period, count the number of packets for which ACK is not returned, and then the PER may be calculated as the ratio of the number of packets for which ACK is not returned to the total number of data packets sent within the time period, and then (or immediately), the node 300 may start measuring the PER for the next predetermined (or optionally, given) time period. For example, the predetermined (or optionally, given) time period may be 100 ms (100 ms is only an example, and the present disclosure is not limited thereto).
[0059] In the embodiment of the present disclosure, when the node 300 is in the RTS / CTS disabled state, the first packet error rate in the RTS / CTS disabled state can be obtained, and the first packet error rate here can be the most recent packet error rate obtained in the RTS / CTS disabled state after the start of the method flow. In the embodiment of the present disclosure, when the node 300 is in the RTS / CTS enabled state, the first packet error rate in the RTS / CTS enabled state can be obtained, and the first packet error rate here can be one of multiple first packet error rates obtained in the RTS / CTS enabled state after the start of the method flow.
[0060] Next, in operation S520, in response to determining that the first packet error rate satisfies a (predetermined or optional, given) condition, the first state may be changed to a second state. Wherein, the first state is an RTS / CTS disabled state, the second state is an RTS / CTS enabled state, and the condition may be that the first packet error rate is greater than the threshold value; or the first state is an RTS / CTS enabled state, the second state is an RTS / CTS disabled state, the first packet error rate is one of a plurality of first packet error rates, and the condition may be that the values of the plurality of first packet error rates remain stable or decrease. Specifically, in the case where the first state is an RTS / CTS disabled state, in response to determining that the first packet error rate is greater than a threshold value (e.g., a first threshold value), the RTS / CTS disabled state may be changed to an RTS / CTS enabled state. In the case where the first state is an RTS / CTS enabled state, the first packet error rate that can be obtained is one of a plurality of first packet error rates, and in response to determining that the values of the plurality of first packet error rates remain stable or decrease, the RTS / CTS enabled state is changed to an RTS / CTS disabled state.
[0061] In the embodiment of the present disclosure, the node 300 may continuously measure the packet error rate PER for a predetermined (or optionally, given) time period. When the node 300 is in the RTS / CTS disabled state, the first packet error rate in the RTS / CTS disabled state may be obtained, and the first packet error rate here may be a single (e.g., single) measurement value of PER in the RTS / CTS disabled state. If the single measurement value of PER increases and exceeds the threshold, it may indicate that the node 300 may be in an interference environment with many hidden nodes, and data packet transmission conflicts occur, resulting in a high data transmission failure rate, so it may be attempted to enable RTS / CTS (change the RTS / CTS disabled state to the RTS / CTS enabled state). The threshold here may be a predetermined (or optionally, given) PER tolerance (set PER tolerance value) of the current data rate. If the PER increases and exceeds the predetermined (or optionally, given) PER tolerance of the current data rate, the node 300 may enter the link adaptation algorithm process, and the data rate component 303 reduces the data rate of the node 300. Before reducing the data rate, the node 300 may enable RTS / CTS to try to improve the PER.
[0062] In an embodiment of the present disclosure, the node 300 may continuously measure the packet error rate PER for a predetermined (or optionally, given) time period. When the node 300 is in the RTS / CTS enabled state, the first packet error rate in the RTS / CTS enabled state may be obtained, and the first packet error rate here may be one of the multiple PER measurement values in the RTS / CTS enabled state. If multiple PER measurement values remain stable or decrease, it may indicate that the node 300 is in a clean environment with fewer hidden nodes, and the enabling of RTS / CTS may cause an increase in time (e.g., communication delay) and power consumption. Therefore, the node 300 may try to disable RTS / CTS (change the RTS / CTS enabled state to the RTS / CTS disabled state). Here, multiple PER measurement values remain stable, which may refer to multiple PER measurement values (e.g., 3 or 5, which are not limited in the present disclosure) maintaining the same value, a similar value, or fluctuating within a smaller range (e.g., a set range), and multiple PER measurement value reduction may refer to a decreasing trend of multiple PER measurement values.
[0063] On the other hand, in response to determining that the first packet error rate does not satisfy the (predetermined or, optionally, given) condition, the first packet error rate may be remeasured in the first state, that is, the first state is maintained and the process may return to the operation of measuring the first packet error rate (for further examples of this process, see Figure 6-7 ). Specifically, in the case where the first state is the RTS / CTS disabled state, in response to determining that the first packet error rate is less than or equal to the threshold, the RTS / CTS disabled state may be maintained and the process may return to the operation of measuring the first packet error rate. In the case where the first state is the RTS / CTS enabled state, the obtained first packet error rate is one of a plurality of first packet error rates, in response to determining that the plurality of first packet error rates do not remain stable or decrease, the RTS / CTS enabled state may be maintained and the process may return to the operation of measuring the first packet error rate.
[0064] In the embodiment of the present disclosure, when the node 300 is in the RTS / CTS disabled state, the first packet error rate in the RTS / CTS disabled state can be obtained, and the first packet error rate here can be a single measurement value of PER in the RTS / CTS disabled state. If the single measurement value of PER is less than or equal to the threshold value, and the threshold value here can be a predetermined (or optionally, given) PER tolerance (set PER tolerance value) of the current data rate, the node 300 will not enter the link adaptation algorithm process to reduce the rate of the node 300, and the PER measurement value has a small impact on the node data rate and is still within the tolerable range. Then, the node 300 can continue to maintain the RTS / CTS disabled state and continue to obtain the packet error rate measured in the RTS / CTS disabled state (return to the operation of measuring the first packet error rate).
[0065] In the embodiment of the present disclosure, when the node 300 is in the RTS / CTS enabled state, the first packet error rate in the RTS / CTS enabled state may be obtained, where the first packet error rate may be one of a plurality of PER measurement values in the RTS / CTS enabled state. If the plurality of PER measurement values do not remain stable or decrease, the node 300 may be in an environment with hidden nodes, and the RTS / CTS mechanism may be useful for improving transmission. Then, the node 300 may continue to maintain the RTS / CTS enabled state and continue to obtain the packet error rate in the RTS / CTS enabled state (returning to the operation of measuring the first packet error rate).
[0066] Next, in operation S530, a second packet error rate may be measured in the second state. In the embodiment of the present disclosure, when the first state is the RTS / CTS disabled state, the node 300 may attempt to change the RTS / CTS disabled state to the RTS / CTS enabled state, and obtain the second packet error rate measured in the RTS / CTS enabled state (second state), where the second packet error rate may be a single measurement value of PER in the RTS / CTS enabled state. In the embodiment of the present disclosure, when the first state is the RTS / CTS enabled state, the node 300 may attempt to change the RTS / CTS enabled state to the RTS / CTS disabled state, and obtain the second packet error rate measured in the RTS / CTS disabled state (second state), where the second packet error rate may be a single measurement value of PER in the RTS / CTS disabled state.
[0067] Then, in operation S540, the node 300 may determine whether to change from the second state to the first state based on the second packet error rate and the threshold value (e.g., the second threshold value). According to an embodiment, the second threshold value may be the same or similar to the first threshold value discussed in conjunction with operation S520. Further, based on the second packet error rate being less than the threshold value, it may be determined not to change from the second state to the first state. Specifically, in the case of changing the RTS / CTS disabled state to the RTS / CTS enabled state, if the second packet error rate is less than the threshold value, the RTS / CTS enabled state may be maintained. In the case of changing the RTS / CTS enabled state to the RTS / CTS disabled state, if the second packet error rate is less than the threshold value, the RTS / CTS disabled state may be maintained. In addition, the first state is the RTS / CTS disabled state, the second state is the RTS / CTS enabled state, based on the second packet error rate being greater than or equal to the threshold value, it is determined to change from the second state to the first state, and, in response to determining to change from the second state, the RTS / CTS enabled state is changed to the RTS / CTS disabled state, the data rate is reduced, and the first packet error rate is remeasured. The first state is an RTS / CTS enabled state, the second state is an RTS / CTS disabled state, a change from the second state to the first state is determined based on the second packet error rate being greater than or equal to a threshold value, in response to determining the change from the second state, the RTS / CTS disabled state is changed to the RTS / CTS enabled state, and the first packet error rate is remeasured. Specifically, in the case of changing the RTS / CTS disabled state to the RTS / CTS enabled state, if the second packet error rate is greater than or equal to the threshold value, the RTS / CTS enabled state may be changed to the RTS / CTS disabled state, the data rate may be reduced and the operation of measuring the first packet error rate may be returned to (e.g., operation S510). In the case of changing the RTS / CTS enabled state to the RTS / CTS disabled state, if the second packet error rate is greater than or equal to the threshold value, the RTS / CTS disabled state may be changed to the RTS / CTS enabled state and the operation of measuring the first packet error rate may be returned to (e.g., operation S510).
[0068] In the disclosed embodiment, the threshold involved in the comparison may be a predetermined (or optionally, given) PER tolerance of the current data rate. Node 300 may attempt to change the RTS / CTS disabled state to the RTS / CTS enabled state, and obtain the second packet error rate measured in the RTS / CTS enabled state, where the second packet error rate may be a single PER measurement value in the RTS / CTS enabled state. If the second packet error rate is less than the threshold, it may indicate that the activation of the RTS / CTS mechanism has improved the data packet transmission in the current environment, and the data transmission failure (or the possibility of data transmission failure) is reduced, effectively solving (or reducing) the problem of hidden nodes. Then, node 300 may maintain the RTS / CTS enabled state without reducing the rate, thereby ensuring (or improving) the efficiency of data transmission. However, if the second packet error rate is greater than or equal to the threshold, it may indicate that enabling the RTS / CTS mechanism is not of much help to the data packet transmission in the current environment, and continuing to enable it will only increase latency and power consumption. Then, the node 300 may change from the RTS / CTS enabled state to the RTS / CTS disabled state, the node 300 may enter the normal link adaptation algorithm process, the data rate component 303 may reduce the rate of the node 300, and the node 300 may continue to obtain the packet error rate measured in the RTS / CTS disabled state (returning to the operation of measuring the first packet error rate).
[0069] In the embodiment of the present disclosure, the threshold involved in the comparison may be a predetermined (or optionally, given) PER tolerance of the current data rate. The node 300 may attempt to change the RTS / CTS enabled state to the RTS / CTS disabled state, and obtain the second packet error rate measured in the RTS / CTS disabled state, where the second packet error rate may be a single PER measurement value in the RTS / CTS disabled state. If the second packet error rate is less than the threshold, it may indicate that the node 300 is not interfered by the hidden node, and enabling the RTS / CTS mechanism will only increase the delay and power consumption, then the node 300 may maintain the RTS / CTS disabled state. However, if the second packet error rate is greater than or equal to the threshold, it indicates that there is interference from the hidden node in the current environment, and the data packet transmission conflicts, resulting in a high data transmission failure rate, then the node 300 may change from the RTS / CTS disabled state to the RTS / CTS enabled state, and the node 300 may continue to obtain the packet error rate measured in the RTS / CTS enabled state (returning to the operation of measuring the first packet error rate).
[0070] As described above, according to the RTS / CTS adaptive enabling / disabling method of the embodiment, RTS / CTS can be adaptively enabled or disabled according to various scenarios, thereby reducing communication conflicts while improving the utilization of wireless channel resources and / or improving network communication throughput.
[0071] The following will refer to Figure 6For a detailed description of the flowchart for adaptively enabling RTS / CTS when the initial state is RTS / CTS disabled, refer to Figure 7 The flowchart of adaptively disabling RTS / CTS in the RTS / CTS enabled state in the initial state is described in detail. In the embodiment of the present disclosure, the method for setting the initial state of the node 300 may include but is not limited to the following three methods:
[0072] 1) Direct setting: the initial state of the node 300 can be directly set to the RTS / CTS disabled state or the RTS / CTS enabled state.
[0073] 2) Set according to the measured RSSI value. The initial state of the node 300 can be set according to the measured RSSI of the received signal. For example, when the RSSI is greater than a certain threshold value, the initial state of the node 300 is set to the RTS / CTS disabled state, otherwise it is set to the RTS / CTS enabled state.
[0074] 3) Setting based on the size of the data packet, for example, when the size of the data packet to be sent by the node 300 is smaller than a certain threshold value, the initial state is set to the RTS / CTS disabled state, otherwise it is set to the RTS / CTS enabled state.
[0075] Figure 6 A flowchart of adaptively enabling RTS / CTS in an RTS / CTS disabled state according to an embodiment of the present disclosure is shown.
[0076] Operation 0: RTS / CTS disabled state. At this time, the node 300 can send data without RTS / CTS protection, and conflicts in data transmission may occur. Figure 6 The process discussed may refer to a process performed by the node 300 in a scenario where the size of one or more packets to be sent is small (eg, smaller than the RTS / CTS threshold size), and therefore, the node 300 is initially in an RTS / CTS disabled state.
[0077] Operation 1: Obtaining PER measured in real time in the RTS / CTS disabled state. The node 300 may measure the packet error rate PER in real time (at a predetermined (or optionally, given) time period). The PER measurement function of the node 300 may always run in the background. At this time, the node may obtain the PER measured in real time in the RTS / CTS disabled state. The PER may be a single PER.
[0078] Operation 2: Determine whether the PER is greater than the (predetermined or optional, given) PER tolerance (e.g., a first threshold) of the current data rate. If so ("yes"), this indicates that the node 300 may be in an interference environment with many hidden nodes, resulting in a high data transmission failure rate. The node 300 may enter the link adaptation algorithm process, and the data rate component 303 reduces the rate of the node 300. Before entering the link adaptation algorithm, the process comes to operation 3. If not ("no"), the PER measurement value at this time has a small impact on the node data rate and is still within the tolerance range, and the node 300 can continue to maintain the RTS / CTS disabled state. Or if only the PER increases but is not greater than the PER tolerance of the current data rate, the node's data rate may not be reduced, the impact of PER on the data rate is still small, and the RTS / CTS mechanism will not be enabled. At this time, the process can return to operation 1 to continue to obtain the PER measured in the RTS / CTS disabled state.
[0079] Operation 3: Enable the RTS / CTS mechanism. A node can change from the RTS / CTS disabled state to the RTS / CTS enabled state.
[0080] Operation 4: Obtain a new PER in the RTS / CTS enabled state. Since the node 300 measures the packet error rate PER in real time (at a predetermined (or optionally, given) time period), the PER measurement function of the node 300 may always run in the background, and at this time, the node may obtain a new PER in the RTS / CTS enabled state.
[0081] Operation 5: Determine whether the new PER is less than the (predetermined or optionally, given) PER tolerance (e.g., the second threshold) of the current data rate. If so ("yes"), this may indicate that the activation of the RTS / CTS mechanism effectively reduces data transmission failures and solves (or alleviates) the hidden node problem, and the process may proceed to operation 6. If not ("no"), that is, the new PER is greater than or equal to the predetermined (or optionally, given) PER tolerance of the current data rate, this may indicate that the activation of the RTS / CTS mechanism is not very helpful for data packet transmission in the current environment, and continuing to enable it will only increase latency and power consumption, and then the process may proceed to operation 7. According to an embodiment, the first threshold and the second threshold may be the same or similar (both the first threshold and the second threshold may be referred to as PER thresholds herein). The node 300 may store a table (see, for example, Table 1 above) in a memory (such as at least one memory 910 discussed below), the table indicating the association between data rates (e.g., data rate limits, data rate intervals, etc.) and corresponding PER tolerances (e.g., PER tolerance limits, PER tolerance intervals, etc.). To determine the PER threshold, node 300 may determine a data rate in the table corresponding to a current data rate of node 300 and determine a PER tolerance associated with the determined data rate. The PER threshold may correspond to (eg, be equal to) the determined PER tolerance.
[0082] Operation 6: Keep RTS / CTS enabled. At this time, the node 300 may enter the RTS / CTS enabled state, and all data sent subsequently will have RTS / CTS protection. According to an embodiment, in operation 6, the node 300 may generate and / or send data (e.g., data frames) to another device (e.g., a mobile device, an access point, etc.) in the RTS / CTS enabled state. And, the node 300 may enter the following Figure 7 process.
[0083] Operation 7: Disable the RTS / CTS mechanism. Subsequent data transmission may not be under RTS / CTS protection, which is the same as the initial state.
[0084] Operation 8: Reduce the data rate. The node 300 may disable the RTS / CTS mechanism. Since the PER in the RTS / CTS disabled state exceeds the threshold, the node 300 may enter the normal link adaptation algorithm process, and the data rate component 303 may reduce the rate of the node 300. At this time, the node state may be the same (or similar) as the initial state, and the operation 1 is returned again to obtain the PER measured in the RTS / CTS disabled state, and the whole process becomes a loop. According to an embodiment, in operation 8, the node 300 may generate and / or send data (e.g., data frames) to another device (e.g., a mobile device, an access point, etc.) in the RTS / CTS disabled state.
[0085] As described above, according to the RTS / CTS adaptive enabling method of the embodiment, RTS / CTS can be adaptively enabled according to various scenarios, thereby reducing communication conflicts while improving the utilization of wireless channel resources and / or improving network communication throughput.
[0086] Figure 7 A flowchart of adaptively disabling RTS / CTS in an RTS / CTS enabled state according to an embodiment of the present disclosure is shown.
[0087] Operation 0: RTS / CTS enabled state. At this time, the node 300 can send data with RTS / CTS protection. According to the embodiment, combined with Figure 7 The process discussed may refer to a process performed in a scenario where the size of one or more packets to be sent is large (eg, larger than the RTS / CTS threshold size), and therefore, the node 300 is initially in an RTS / CTS enabled state.
[0088] Operation 1: Obtaining PER measured in real time in the RTS / CTS enabled state. The node 300 may measure the packet error rate PER in real time (at a predetermined (or optionally, given) time period), and the PER measurement function of the node 300 may always run in the background. At this time, the node may obtain a plurality of PERs measured in real time in the RTS / CTS enabled state.
[0089] Operation 2: Determine whether the PER value remains stable or decreases. Here, the node 300 can periodically check whether the measurement result of PER remains stable or decreases, and the time interval of the periodic check can be set as needed, for example, it can be set to a longer interval. It can be determined whether the PER remains stable or decreases in the recent period of time based on the multiple PER values obtained. If so ("yes"), this may indicate that the node 300 may be in a clean environment with fewer hidden nodes, while avoiding the misjudgment of subsequent operations caused by PER jitter (fluctuation) caused by environmental factors, so the process can go to operation 3. If not ("no"), the node 300 is in an environment that may have hidden nodes, and PER jitter (fluctuation) may cause misjudgment of subsequent operations. At this time, the process can return to operation 1 to continue to obtain the PER measured in the RTS / CTS enabled state.
[0090] Operation 3: Disable the RTS / CTS mechanism. A node may change from the RTS / CTS enabled state to the RTS / CTS disabled state.
[0091] Operation 4: Obtain a new PER in the RTS / CTS disabled state. Since the node 300 can measure the packet error rate PER in real time (at a predetermined (or optionally, given) time period), the PER measurement function of the node 300 can always run in the background, and at this time, the node can obtain a new PER in the RTS / CTS disabled state.
[0092] Operation 5: Determine whether the new PER is greater than or equal to the (predetermined or optionally, given) PER tolerance (e.g., PER threshold) of the current data rate. If not ("No"), this may indicate that the node 300 is not interfered by hidden nodes, and enabling the RTS / CTS mechanism will only increase latency and power consumption, and the process may proceed to operation 6. If yes, this may indicate that there is interference from hidden nodes in the current environment, and conflicts occur in data packet transmission, resulting in a high data transmission failure rate, and the process proceeds to operation 7. According to an embodiment, the node 300 may store a table (see, for example, Table 1 above) in a memory (such as at least one memory 910 discussed below), the table indicating an association between a data rate (e.g., a data rate limit, a data rate interval, etc.) and a corresponding PER tolerance (e.g., a PER tolerance limit, a PER tolerance interval, etc.). In order to determine the PER threshold, the node 300 may determine a data rate in the table corresponding to the current data rate of the node 300, and determine a PER tolerance associated with the determined data rate. The PER threshold may correspond to (e.g., be equal to) the determined PER tolerance.
[0093] Operation 6: Maintain RTS / CTS disabled state, at which point the node 300 may enter the RTS / CTS disabled state, and the data subsequently sent will not have RTS / CTS protection. According to an embodiment, in operation 6, the node 300 may generate and / or send data (e.g., data frames) to another device (e.g., a mobile device, an access point, etc.) in the RTS / CTS disabled state. Furthermore, the node 300 may enter the above Figure 6 process.
[0094] Operation 7: Enable the RTS / CTS mechanism, and the subsequent data transmission will have RTS / CTS protection. At this time, the node state is the same as (or similar to) the initial state, and the process returns to operation 1 again to obtain the PER measured in the RTS / CTS enabled state. The whole process can become a loop. According to an embodiment, in operation 7, the node 300 can generate and / or send data (e.g., data frame) to another device (e.g., mobile device, access point, etc.) in the RTS / CTS enabled state.
[0095] As described above, according to the method of adaptively disabling RTS / CTS in the embodiment, RTS / CTS can be adaptively disabled according to various scenarios, thereby reducing communication delay and power consumption while improving the utilization of wireless channel resources and / or improving network communication throughput.
[0096] Figure 8 A block diagram showing an apparatus for enabling / disabling RTS / CTS adaptation according to an embodiment of the present disclosure.
[0097] like Figure 8As shown, an RTS / CTS adaptive enabling / disabling device 800 (for example, which can be implemented using the node 300 or is used to implement the node 300) may include a first obtaining module 810, a state changing module 820, a second obtaining module 830 and / or a state determining module 840, wherein the first obtaining module 810 can obtain a first packet error rate measured in a first state, the state changing module 820 can change the first state to a second state in response to determining that the obtained first packet error rate in the first state satisfies a predetermined (or optionally, given) condition, the second obtaining module 830 can obtain a second packet error rate measured in the second state, and the state determining module 840 can determine whether to maintain the second state or change from the second state to the first state based on a comparison result of the second packet error rate with a threshold.
[0098] According to an embodiment, the RTS / CTS adaptive enabling / disabling device 800 may also include a packet error rate measurement module 850, which may continuously measure the packet error rate according to a predetermined (or optionally, given) time period (e.g., at a predetermined (or optionally, given) time period).
[0099] According to an embodiment, the state change module 820 may, when the first state is the RTS / CTS disabled state, change the RTS / CTS disabled state to the RTS / CTS enabled state in response to determining that the first packet error rate is greater than a threshold value. The state change module 820 may, when the first state is the RTS / CTS enabled state, obtain the first packet error rate including multiple packet error rates, and, in response to determining that the values of the multiple packet error rates included in the first packet error rate remain stable or decrease, change the RTS / CTS enabled state to the RTS / CTS disabled state.
[0100] According to an embodiment, the state determination module 840 may maintain the RTS / CTS enabled state if the second packet error rate is less than a threshold value when the RTS / CTS disabled state is changed to the RTS / CTS enabled state. The state determination module 840 may maintain the RTS / CTS disabled state if the second packet error rate is less than a threshold value when the RTS / CTS enabled state is changed to the RTS / CTS disabled state.
[0101] According to an embodiment, the state determination module 840 may, in the case of changing the RTS / CTS disabled state to the RTS / CTS enabled state, if the second packet error rate is greater than or equal to the threshold, change from the RTS / CTS enabled state to the RTS / CTS disabled state, reduce the data rate, and return to the operation of obtaining the first packet error rate in the first acquisition module. The state determination module 840 may, in the case of changing the RTS / CTS enabled state to the RTS / CTS disabled state, if the second packet error rate is greater than or equal to the threshold, change from the RTS / CTS disabled state to the RTS / CTS enabled state and return to the operation of obtaining the first packet error rate in the first acquisition module.
[0102] According to an embodiment, the RTS / CTS adaptive enabling / disabling device 800 may further include a state maintaining module 860, and the state maintaining module 860 may maintain the first state and return to the operation of obtaining the first packet error rate in the first obtaining module in response to determining that the first packet error rate in the first state does not meet a predetermined (or optionally, given) condition. Further, the state maintaining module 860 may maintain the RTS / CTS disabled state and return to the operation of obtaining the first packet error rate in the first obtaining module in response to determining that the first packet error rate is less than or equal to a threshold value when the first state is an RTS / CTS disabled state. The state maintaining module 860 may maintain the RTS / CTS enabled state and return to the operation of obtaining the first packet error rate in the first obtaining module in response to determining that the multiple packet error rates included in the first packet error rate do not remain stable or decrease when the first state is an RTS / CTS enabled state.
[0103] According to an embodiment, the threshold is a predetermined (or optionally, given) tolerance of a packet error rate at a current data rate.
[0104] Fig. 9 1 is a block diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 900 may be a node 100-1, 100-2 ... 100-n, and / or a node 300 (for example, the node 300 and / or the device 800 may be implemented or used to implement the node 300 and / or the device 800) according to an embodiment of the present disclosure. Fig. 9 The electronic device 900 may include at least one memory 910 and / or at least one processor 920, and a set of computer-executable instructions may be stored in the at least one memory. When the computer-executable instruction set (for example, a computer-executable instruction set stored in the at least one memory 910) is executed by the at least one processor, the method for RTS / CTS adaptive enabling / disabling according to an embodiment of the present disclosure may be executed.
[0105] Here, the electronic device may not be a single electronic device, but may also be any collection of devices or circuits that can execute the above instructions (or instruction sets) individually or jointly. The electronic device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that is interconnected with a local or remote (e.g., via wireless transmission) interface.
[0106] In electronic devices, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a dedicated processor system, a microcontroller and / or a microprocessor. As an example and not limitation, the processor may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.
[0107] The processor may run instructions or codes stored in the memory, wherein the memory may also store data. The instructions and / or data may also be sent and / or received over the network via the network interface device, wherein the network interface device may use any known transmission protocol.
[0108] The memory may be integrated with the processor, for example, RAM or flash memory is arranged within an integrated circuit microprocessor or the like. In addition, the memory may include a separate device, such as an external disk drive, a storage array, or any other storage device that can be used by a database system. The memory and the processor may be operatively coupled, or may communicate with each other, such as through an I / O port, a network connection, etc., so that the processor can read files stored in the memory.
[0109] In addition, the electronic device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.) All components of the electronic device may be connected to each other via a bus and / or a network.
[0110] According to an embodiment of the present disclosure, a computer-readable storage medium may also be provided, wherein a computer program is stored thereon, and when the program is executed, the method for adaptively enabling / disabling RTS / CTS according to the present disclosure may be implemented. Examples of computer-readable storage media here include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, multimedia card, secure digital (SD) card and / or extreme digital (XD) card), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk and / or any other device, any other device is configured to store computer programs and any associated data, data files and / or data structures in a non-transitory manner and provide the computer programs and any associated data, data files and / or data structures to a processor or computer so that the processor or computer can execute the computer program. The computer program in the above-mentioned computer-readable storage medium can be run in an environment deployed in a computer device such as a terminal, a client, a host, an agent device, a server, etc. In addition, in one example, the computer program and any associated data, data files and / or data structures are distributed on a networked computer system, so that the computer program and any associated data, data files and data structures are stored, accessed and executed in a distributed manner by one or more processors or computers.
[0111] According to the method, apparatus, device and readable storage medium for adaptively enabling / disabling RTS / CTS of the embodiments of the present disclosure, RTS / CTS can be adaptively enabled or disabled according to various scenarios, thereby reducing communication conflicts while improving the utilization of wireless channel resources and / or improving network communication throughput.
[0112] A conventional device implementing the RTS / CTS mechanism enables RTS / CTS when the size of the packet to be sent exceeds a threshold. However, in a first scenario, where smaller packets are sent in an environment with higher interference caused by a larger number of hidden nodes, the conventional device disables RTS / CTS based on a smaller packet size. Therefore, the conventional device suffers from an excessively high data transmission failure rate in the first scenario, resulting in reduced data rate and throughput. In addition, in a second scenario, due to the smaller number of hidden nodes, larger packets are sent in an environment with lower interference, and the conventional device enables RTS / CTS based on a larger packet size. Therefore, in the second scenario, the RTS / CTS of the conventional device is over-enabled, resulting in an increase in resource consumption (e.g., delay, power, processor, memory, bandwidth, throughput, etc.).
[0113] However, according to an embodiment, an improved device for implementing an adaptive RTS / CTS mechanism is provided. For example, the improved device may determine whether the improved device is experiencing higher interference caused by a larger number of hidden nodes based on PER measurements. According to an embodiment, PER measurements may be performed in both an RTS / CTS enabled state and an RTS / CTS disabled state. The improved device may adaptively enable or disable the RTS / CTS mechanism based on a determination of whether the higher interference is caused by a larger number of hidden nodes. Therefore, the improved device overcomes the deficiencies of the conventional device to reduce data transmission failures in the first scenario discussed above, thereby increasing data rates and throughput, and reduce resource consumption (e.g., delay, power, processor, memory, bandwidth, throughput, etc.) in the second scenario discussed above.
[0114] According to an embodiment, the operations described herein are performed by the first node 100-1, the second node 100-2, the third node 100-3, the fourth node 100-4, the fifth node 100-5, the node device 300, the RTS / CTS mechanism component 301, the PER measurement component 302, the data rate component 303, the device 800, the first acquisition module 810, the state change module 820, the second acquisition module 830, the state determination module 840, the packet error rate measurement module 850, and the state maintenance module 860. The electronic device 900 and / or at least one processor 920 may be executed by a processing circuit. The term "processing circuit" used in the present disclosure may refer to hardware including, for example, a logic circuit, a hardware / software combination (such as a processor that executes software), or a combination thereof. For example, more specifically, the processing circuit may include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a system on a chip (SoC), a programmable logic unit, a microprocessor, an application specific integrated circuit (ASIC), etc.
[0115] The various operations of the above methods may be performed by any suitable device capable of performing the operations (such as the processing circuits discussed above). For example, as described above, the operations of the above methods may be performed by various hardware and / or software implemented in some form of hardware (e.g., processor, ASIC, etc.).
[0116] The software may include an ordered listing of executable instructions for implementing logical functions and may be implemented in any "processor readable medium" for use by or in conjunction with an instruction execution system, device or apparatus (such as a single-core or multi-core processor or a system containing a processor).
[0117] The blocks or operations of the methods or algorithms and functions described in conjunction with the embodiments disclosed herein may be implemented directly in hardware, in a software module executed by a processor, or in a combination of the two. If implemented in software, the functions may be stored as one or more instructions or codes on or transmitted through a tangible, non-transitory computer-readable medium (e.g., at least one memory 910). The software module may reside in a random access memory (RAM), flash memory, read-only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, removable disk, CD ROM, or any other form of storage medium known in the art.
[0118] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the inventive concepts disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The embodiments provided in the specification are merely examples, and the scope and spirit of the present disclosure are indicated by the appended claims.
[0119] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for enabling RTS / CTS adaptively, include: In response to determining that the first packet error rate satisfies a condition, changing the first state to a second state, wherein the first packet error rate is measured in the first state; and determining to change from the second state back to the first state based on a second packet error rate being greater than or equal to a threshold, wherein the second packet error rate is measured in the second state, and The first state is an RTS / CTS disabled state, the second state is an RTS / CTS enabled state, and the condition is that the first packet error rate is greater than the threshold, or The first state is an RTS / CTS enabled state, the second state is an RTS / CTS disabled state, the first packet error rate is one of a plurality of first packet error rates, and the condition is that the values of the plurality of first packet error rates remain stable or decrease.
2. The method according to claim 1, further comprising: include: The first packet error rate or the second packet error rate is measured according to a time period.
3. The method according to claim 1, further comprising: include: Based on the second packet error rate being less than the threshold, determining not to change from the second state back to the first state.
4. The method according to claim 1, in, The method further comprises: responsive to determining to change from the second state, changing from the RTS / CTS enabled state back to the RTS / CTS disabled state, Reduce data rates, and Remeasure the first packet error rate; or, responsive to determining to change from the second state, changing from the RTS / CTS disabled state back to the RTS / CTS enabled state, and Remeasure the first packet error rate.
5. The method according to claim 1, further comprising: include: In response to determining that the first packet error rate does not satisfy the condition, the first packet error rate is remeasured in the first state.
6. The method according to claim 1, in, The threshold is the packet error rate tolerance at the current data rate.
7. The method according to claim 1, further comprising: include: When in the first state or the second state, a data frame is sent to the device.
8. A device for enabling RTS / CTS adaptively, include: The processing circuit is configured to: In response to determining that the first packet error rate satisfies a condition, changing the first state to a second state, wherein the first packet error rate is measured in the first state; and determining to change from the second state back to the first state based on a second packet error rate being greater than or equal to a threshold, wherein the second packet error rate is measured in the second state, and The first state is an RTS / CTS disabled state, the second state is an RTS / CTS enabled state, and the condition is that the first packet error rate is greater than the threshold, or The first state is an RTS / CTS enabled state, the second state is an RTS / CTS disabled state, the first packet error rate is one of a plurality of first packet error rates, and the condition is that the values of the plurality of first packet error rates remain stable or decrease.
9. The device according to claim 8, in, The processing circuit is configured to: The first packet error rate or the second packet error rate is measured according to a time period.
10. The device according to claim 8, in, The processing circuit is further configured to: Based on the second packet error rate being less than the threshold, determining not to change from the second state back to the first state.
11. The device according to claim 8, in, The processing circuit is further configured to: responsive to determining to change from the second state, changing from the RTS / CTS enabled state back to the RTS / CTS disabled state, reducing the data rate of the device, and Remeasure the first packet error rate; or, responsive to determining to change from the second state, changing from the RTS / CTS disabled state back to the RTS / CTS enabled state, and Remeasure the first packet error rate.
12. The device according to claim 8, in, The processing circuit is configured to: In response to determining that the first packet error rate does not satisfy the condition, the first packet error rate is remeasured.
13. The device according to claim 8, in, The threshold is the packet error rate tolerance at the current data rate of the device.
14. The device according to claim 8, in, The processing circuit is configured to send the data frame to another device in the first state or the second state.
15. A device with RTS / CTS adaptively enabled, the device include: at least one processor; as well as A memory for storing a computer program, which, when executed by the at least one processor, causes the device to perform the method as claimed in claim 1.
16. A non-transitory computer-readable storage medium storing a computer program, which, when executed by at least one processor, causes the at least one processor to perform a method, the method include: In response to determining that the first packet error rate satisfies a condition, changing the first state to a second state, wherein the first packet error rate is measured in the first state; and determining to change from the second state back to the first state based on a second packet error rate being greater than or equal to a threshold, wherein the second packet error rate is measured in the second state, and The first state is an RTS / CTS disabled state, the second state is an RTS / CTS enabled state, and the condition is that the first packet error rate is greater than the threshold, or The first state is an RTS / CTS enabled state, the second state is an RTS / CTS disabled state, the first packet error rate is one of a plurality of first packet error rates, and the condition is that the values of the plurality of first packet error rates remain stable or decrease.
