A data transmission method and related device
By using the ERTS-ECTS mechanism in the wireless LAN, ensuring that irrelevant nodes remain silent during data transmission, solving the problem of interference in the wireless LAN and improving transmission stability and user experience.
Patent Information
- Application Number
- CN202111679342.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2041-12-31
AI Technical Summary
In wireless LANs, data transmission is susceptible to collisions by unrelated nodes, resulting in interference in data transmission in the channel.
By sending an extension request to send a frame ERTS and an allow-send frame ECTS, it is ensured that the nodes receiving these frames remain silent and perform data transmission after receiving the allow-send frame CTS.
It effectively avoids the collision of missed nodes on normal data transmission, and improves the stability and user experience of data transmission.
Smart Images

Figure CN114340012B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet of Things, and in particular, to a data transmission method and related devices. Background Art
[0002] Wireless local area networks operate in accordance with the IEEE 802.11 series of protocol mechanisms, enabling all users to share the entire channel bandwidth. The specific channel transmission process is that the two transmitting nodes allow data transmission when the channel is idle, thereby realizing the sharing of data content.
[0003] However, during the transmission process, there will be other irrelevant nodes that do not avoid the transmission of the two transmitting nodes, thus interfering with the transmission and causing inconvenience to the data transmission. Summary of the Invention
[0004] The embodiments of the present application provide a data transmission method and related devices.
[0005] A data transmission method includes:
[0006] Sending an Extended Request to Send frame (ERTS) to a target node, so that when the target node sends an Extended Clear to Send frame (ECTS) after receiving the ERTS, a first missing node that receives the ERTS or the ECTS remains silent;
[0007] Sending a Request to Send frame (RTS) to the target node, so that when the target node sends a Clear to Send frame (CTS) after receiving the RTS, a second missing node that receives the RTS or the CTS remains silent;
[0008] Determining whether the CTS is received;
[0009] If the CTS is received, transmitting target data to the target node.
[0010] Optionally, before sending the Extended Request to Send frame (ERTS) to the target node, the method further includes:
[0011] Determining whether to forcibly enable the ERTS-ECTS mechanism for the target data;
[0012] If so, determining to enable the ERTS-ECTS mechanism.
[0013] Optionally, after determining whether to forcibly enable the ERTS-ECTS mechanism for the target data, the method further includes:
[0014] If not, obtaining the data retransmission rate of the channel;
[0015] Calculating a channel quality value according to the data retransmission rate;
[0016] Calculate a weighted value by combining the transmission desire value and the channel quality value, where the transmission desire value represents the urgency of the transmission of the target data determined by the user, and the weighted value reflects the comprehensive situation of the urgency of the transmission of the target data and the quality of the channel;
[0017] Determine whether the weighted value is less than a preset threshold;
[0018] If it is less than, determine to enable the ERTS-ECTS mechanism.
[0019] Optionally, calculating the weighted value by combining the transmission desire value and the channel quality value includes:
[0020] Calculate the weighted value through the following formula:
[0021] Z = P1% * X + P2% * Y + D;
[0022] The Z is the weighted value;
[0023] The X is the transmission desire value, 2 ≤ X ≤ 11;
[0024] The Y is the channel quality value, 0 ≤ Y ≤ 9;
[0025] The D is a correction value, which can be set according to the situation;
[0026] The P1% is the weight of the transmission desire value, and the P2% is the weight of the channel quality value, where 0 ≤ P1 ≤ 100, 0 ≤ P2 ≤ 100 and P1 + P2 = 100.
[0027] Optionally, sending the request-to-send frame RTS to the target node includes:
[0028] When receiving the ECTS, send the RTS to the target node.
[0029] Optionally, sending the request-to-send frame RTS to the target node includes:
[0030] When not receiving the ECTS, send the RTS to the target node after a short inter-frame gap.
[0031] Optionally, the rate of the ERTS is 1M / s.
[0032] A data transmission device includes:
[0033] A sending unit, configured to send an Extended Request to Send frame (ERTS) to a target node, so that when the target node sends an Extended Clear to Send frame (ECTS) after receiving the ERTS, a first missing node that receives the ERTS or the ECTS remains silent;
[0034] The sending unit is further configured to send a Request to Send frame (RTS) to the target node, so that when the target node sends a Clear to Send frame (CTS) after receiving the RTS, a second missing node that receives the RTS or the CTS remains silent;
[0035] A judging unit, configured to judge whether the CTS is received;
[0036] A transmitting unit, configured to transmit target data to the target node when the CTS is received.
[0037] A data transmission device, comprising:
[0038] A central processing unit, a memory, and an input / output interface;
[0039] The memory is a transient storage memory or a persistent storage memory;
[0040] The central processing unit is configured to communicate with the memory and execute instruction operations in the memory to execute the foregoing method.
[0041] A computer-readable storage medium, comprising instructions, which, when running on a computer, cause the computer to execute the foregoing method.
[0042] As can be seen from the above technical solutions, the embodiments of the present application have the following advantages:
[0043] After sending the ERTS to the target node, when the target node sends the ECTS after receiving the ERTS, the first missing node remains silent, where the first missing node includes a missing node that receives the ERTS and a missing node that receives the ECTS. Then send the RTS to the target node, so that when the target node sends the CTS after receiving the RTS, the second missing node remains silent, where the second missing node includes a missing node that receives the RTS and a missing node that receives the CTS. Judge whether the CTS is received, and if so, transmit the target data to the target node. Through the ERTS-ECTS mechanism, the missing nodes can be made to avoid, preventing the missing nodes from colliding with normal data transmission, thus bringing a better experience to the user. Description of the Drawings
[0044] Figure 1 It is a schematic diagram of an embodiment of the data transmission method according to an embodiment of the present application;
[0045] Figure 2 Schematic diagram of another embodiment of the data transmission method according to the embodiment of the present application;
[0046] Figure 3 Schematic diagram of the ERTS-ECTS mechanism according to the embodiment of the present application;
[0047] Figure 4 Schematic diagram of an embodiment of the data transmission device according to the embodiment of the present application;
[0048] Figure 5 Schematic diagram of another embodiment of the data transmission device according to the embodiment of the present application. Detailed implementation manners
[0049] The embodiment of the present application provides a data transmission method and related devices.
[0050] In a wireless local area network, the transmission of data is easily affected by the collision of irrelevant nodes, resulting in interference in the data transmission in the channel. To solve this problem, the embodiment of the present application provides a data transmission method.
[0051] The following describes the data transmission method and the data transmission device according to the embodiment of the present application.
[0052] Please refer to Figure 1 , an embodiment of the data transmission method according to the embodiment of the present application includes:
[0053] 101. Send an extension request to send frame ERTS to a target node, so that when the target node sends an extension clear to send frame ECTS after receiving the ERTS, the first omitted node that receives the ERTS or the ECTS remains silent;
[0054] Send ERTS to a target node, so that when the target node sends ECTS after receiving ERTS, the first omitted node that receives ERTS or ECTS remains silent. Among them, the extension request to send frame (ERTS, extension request to send) is essentially a request to send frame (RTS, request to send), and the extension clear to send frame (ECTS, extension clear to send) is essentially a clear to send frame (CTS, clear to send). A group of ERTS-ECTS is a group of standard RTS-CTS, and the frame formation rules and sending and receiving rules completely comply with the IEEE 802.11 related protocols. In the embodiment of the present application, in order to distinguish it from the original RTS-CTS, it is named ERTS-ECTS. The first omitted node includes the omitted node that receives ERTS or ECTS.
[0055] Specifically, when data needs to be transmitted to the target node, ERTS is sent out. After the target node receives ERTS, it replies with ECTS. During the transmission of ERTS or ECTS, it may be received by other nodes, which are the first missed nodes. The missed nodes that receive ERTS and the missed nodes that receive ECTS will each update their local network allocation vector (NAV), so that these missed nodes remain silent and do not interfere with data transmission. Among them, the network allocation vector is used in virtual carrier sensing, and its role is equivalent to a counter, which is used to virtually reflect the busy and idle states of the channel. Non-zero means busy, and zero means idle.
[0056] In the embodiment of the present application, the rate of ERTS is 1M / s. It can be understood that the rate of ERTS can be 6M / s or 9M / s, etc. 1M / s is only a rate with a relatively high error tolerance during the test process, and no specific limitation is made here.
[0057] 102. Send the request-to-send frame RTS to the target node, so that when the target node receives the RTS and sends the clear-to-send frame CTS, the second missed nodes that receive the RTS or the CTS remain silent;
[0058] Send RTS to the target node, so that when the target node receives RTS and sends CTS, the second missed nodes that receive RTS or CTS remain silent. Specifically, there are two situations after ERTS is sent.
[0059] When ERTS is sent and ECTS is received, send RTS to the target node according to ECTS. After the target node receives RTS, it replies with CTS. During the transmission of RTS or CTS, it may be received by other nodes, which are the second missed nodes. The missed nodes that receive RTS and the missed nodes that receive CTS will each update their local network allocation vector, so that these missed nodes remain silent and do not interfere with data transmission.
[0060] When ERTS is sent and ECTS is not received, directly send RTS to the target node after sending ERTS and after a short inter-frame space (SIFS). Among them, SIFS is a frame used to separate conversations. After the target node receives RTS, it replies with CTS. At the same time, the second missed nodes are silenced, which will not be elaborated here. At this time, it is equivalent to retransmitting RTS.
[0061] It can be understood that the rate of RTS can be 1M / s or 6M / s, etc. 1M / s is only a rate with a relatively high error tolerance during the test process, and no specific limitation is made here.
[0062] 103. Determine whether the CTS is received. If so, execute step 104; if not, execute step 105.
[0063] Determine whether the CTS is received. Specifically, a time period can be preset. When the RTS is sent and the preset time has passed without receiving the CTS, release the channel. When the CTS is received, perform data transmission.
[0064] 104. Transmit the target data to the target node.
[0065] After receiving the CTS, transmit the target data to the target node. Specifically, after receiving the CTS, after the SIFS, transmit the target data according to the CTS. The target data is some important data that the user wants to transmit to the target node. The target data can be a long frame or a short frame represented by certain important control bits, such as a 1-byte frame. There is no special limitation here. After the data transmission is completed, receive the acknowledgment frame sent by the target node to end the transmission.
[0066] 105. Send a contention-free period end frame CF-END to release the channel.
[0067] When the CTS is not received, send a contention-free period end frame to release the channel. Among them, the contention-free period end frame (CF-END, contention free-end) is used to enable the target node to break away from the access rule to release the channel, actively give up transmission and remain silent, avoiding collisions with other nodes.
[0068] In the embodiment of the present application, after sending the ERTS to the target node, when the target node sends the ECTS after receiving the ERTS, the first omitted node remains silent, where the first omitted node includes the omitted node that receives the ERTS and the omitted node that receives the ECTS. Then send the RTS to the target node, so that when the target node sends the CTS after receiving the RTS, the second omitted node remains silent, where the second omitted node includes the omitted node that receives the RTS and the omitted node that receives the CTS. Determine whether the CTS is received. If received, transmit the target data to the target node. Through the ERTS-ECTS mechanism, the omitted nodes can be made to avoid, preventing the omitted nodes from colliding with the normal data transmission, thus bringing a better experience to the user.
[0069] Please refer to Figure 2 , another embodiment of the data transmission method in the embodiment of the present application includes:
[0070] 201. Determine whether to forcibly enable the ERTS-ECTS mechanism for the target data. If so, execute step 207; if not, execute step 202.
[0071] Determine whether to forcibly enable the ERTS-ECTS mechanism for the target data. Specifically, before the target data is judged, it has been set by the user at the user layer. Set the status value of the target data to determine its urgency. Judging the specified status value can obtain the result. The evaluation criteria for the status value are also predefined by the user. For example, if the specified value is 0x01, the ERTS-ECTS mechanism is forcibly enabled. If the status value is other values, that is, the following transmission desire value, such as 0x02, the operations in the following steps are performed. Specifically, it can be judged whether the specified value is 0x01. If so, the ERTS-ECTS mechanism is forcibly enabled. If not, the following steps are executed.
[0072] 202. Obtain the data retransmission rate of the channel;
[0073] Obtain the data retransmission rate of the channel. Count the total number of data transmissions and the number of retransmissions. Divide the number of retransmissions by the total number of transmissions to obtain the data retransmission rate. Specifically, the data enters the queue and starts transmission, and the number of transmissions is counted. If the target node does not receive it and determines that the data times out, the data is re-put into the queue for retransmission. At this time, the value of the retransmission counter is incremented by one to count the number of retransmissions. If the maximum packet of the queue is not reached successfully, the data is discarded.
[0074] 203. Calculate the channel quality value according to the data retransmission rate;
[0075] Calculate the channel quality value according to the data retransmission rate. Specifically, when the data retransmission rate is 100%, the channel quality value is 0. When the data retransmission rate is 90%, the channel quality value is 1, and so on, which will not be elaborated here.
[0076] 204. Calculate the weighted value by combining the transmission desire value and the channel quality value;
[0077] Calculate the weighted value by combining the transmission desire value and the channel quality value. Among them, the transmission desire value represents the urgency of the target data transmission determined by the user. The larger the transmission desire value, the more eager to transmit the data. The weighted value reflects the comprehensive situation of the urgency of the target data transmission and the quality of the channel.
[0078] The weighted value is calculated through the following formula:
[0079] Z = P1% * X + P2% * Y + D;
[0080] The Z is the weighted value;
[0081] The X is the transmission desire value, 2 ≤ X ≤ 11;
[0082] The Y is the channel quality value, 0 ≤ Y ≤ 9;
[0083] The D is a correction value, which can be set according to the situation;
[0084] The P1% is the weight of the transmission desire value, and the P2% is the weight of the channel quality value, where 0 ≤ P1 ≤ 100, 0 ≤ P2 ≤ 100 and P1 + P2 = 100.
[0085] 205. Determine whether the weighted value is less than a preset threshold. If not, execute step 206; if so, execute step 207;
[0086] Determine whether the weighted value is less than a preset threshold, where the preset threshold is the startup threshold of the mechanism and can be set according to experience requirements, such as set to 10, 11, etc. Specifically, it is not limited here.
[0087] 206. Determine not to enable the ERTS-ECTS mechanism;
[0088] If the weighted value is greater than or equal to the preset threshold, determine not to enable the ERTS-ECTS mechanism and use other mechanisms for data transmission.
[0089] 207. Determine to enable the ERTS-ECTS mechanism;
[0090] If the weighted value is less than the preset threshold, determine to enable the ERTS-ECTS mechanism. Among them, the ERTS-ECTS mechanism adds at least one more group of RTS-CTS on the basis of the RTS-CTS mechanism, that is, adds at least one group of ERTS-ECTS. Using multiple groups of RTS-CTS enables the missed nodes to avoid.
[0091] 208. Send the extended request-to-send frame ERTS to the target node, so that when the target node sends the extended clear-to-send frame ECTS after receiving the ERTS, the first missed node that receives the ERTS or the ECTS remains silent;
[0092] Send the ERTS to the target node, so that when the target node sends the ECTS after receiving the ERTS, the first missed node that receives the ERTS or the ECTS remains silent. Among them, the ERTS is essentially the RTS, and the ECTS is essentially the CTS. A group of ERTS-ECTS is a group of standard RTS-CTS, and the frame formation rules and sending and receiving rules completely comply with the IEEE 802.11 related protocols. In the embodiments of the present application, in order to distinguish from the original RTS-CTS, it is named ERTS-ECTS. The first missed node includes the missed nodes that receive the ERTS or the ECTS.
[0093] Specifically, when data needs to be transmitted to the target node, ERTS is sent out. After the target node receives ERTS, it replies with ECTS. During the transmission of ERTS or ECTS, it may be received by other nodes, that is, the first missed node. The missed nodes that receive ERTS and the missed nodes that receive ECTS will each update the local NAV, so that these missed nodes remain silent and do not interfere with data transmission.
[0094] 209. Send the request transmission frame RTS to the target node so that when the target node sends the clear to send frame CTS after receiving the RTS, the second missed node that receives the RTS or the CTS remains silent;
[0095] Send RTS to the target node so that when the target node sends CTS after receiving RTS, the second missed node that receives RTS or CTS remains silent. Specifically, there are two cases after ERTS is sent.
[0096] When ERTS is sent and ECTS is received, send RTS to the target node according to ECTS. After the target node receives RTS, it replies with CTS. During the transmission of RTS or CTS, it may be received by other nodes, that is, the second missed node. The missed nodes that receive RTS and the missed nodes that receive CTS will each update the local network allocation vector, so that these missed nodes remain silent and do not interfere with data transmission.
[0097] When ERTS is sent and ECTS is not received, directly send RTS to the target node after sending ERTS and passing through SIFS. Among them, SIFS is the frame used to separate conversations. After the target node receives RTS, it replies with CTS. At the same time, the second missed node is silenced, which will not be elaborated here. At this time, it is equivalent to retransmitting RTS.
[0098] It can be understood that the rate of RTS can be 1M / s or 6M / s, etc. 1M / s is only the rate with a higher error tolerance during the test process, and no specific limit is set here.
[0099] 210. Determine whether CTS is received. If so, execute step 211; if not, execute step 212;
[0100] Determine whether CTS is received. Specifically, a preset time period can be set. When RTS is sent and after the preset time, if it is still not received, release the channel. When CTS is received, perform data transmission.
[0101] 211. Transmit the target data to the target node;
[0102] After receiving CTS, the target data is transmitted to the target node. Specifically, after receiving CTS, the target data is transmitted according to CTS after SIFS. The target data is some important data that the user wants to transmit to the target node. The target data can be a long frame or a short frame represented by some important control bits, such as a 1-byte frame. There is no special limitation here. After the data is transmitted, the confirmation frame sent by the target node is received to end the transmission.
[0103] 212. Send a contention-free period end frame CF-END to release the channel.
[0104] When CTS is not received, a contention-free period end frame is sent to release the channel. Among them, CF-END is used to make the target node deviate from the access rule to release the channel, actively give up data transmission and remain silent, avoiding collision with other nodes.
[0105] For ease of understanding, the following is an example of the ERTS-ECTS mechanism. Figure 3 , nodes C, D, E, and F in the figure are missed nodes. When node A needs to transmit important data to node B, it initiates ERTS, and node B replies to node A with ECTS. At the same time, node C receives ERTS, updates the local NAV to NAV1, and remains silent until the data transmission is completed. Node D did not receive ERTS, but received ECTS. Node D updates the local NAV to NAV2 and remains silent until the data transmission is completed. After node B replies with ECTS, node A initiates RTS, and node B replies with CTS to node A. At the same time, node E, which did not receive ERTS and ECTS, receives RTS, updates the local NAV to NAV3, and remains silent until the data transmission is completed. Node F, which misses ERTS, ECTS, and RTS, receives CTS, updates the local NAV to NAV4, and remains silent until the data transmission is completed. After receiving CTS, node A initiates data transmission and waits for the ACK frame from node B. Node B replies with ACK, and the data transmission is completed.
[0106] In this embodiment, the ERTS-ECTS mechanism is enabled according to the urgency of the target data determined by the user. After the ERTS is sent to the target node, when the target node sends the ECTS after receiving the ERTS, the first missing nodes remain silent, where the first missing nodes include the missing nodes that receive the ERTS and the missing nodes that receive the ECTS. Then the RTS is sent to the target node, so that when the target node sends the CTS after receiving the RTS, the second missing nodes remain silent, where the second missing nodes include the missing nodes that receive the RTS and the missing nodes that receive the CTS. It is judged whether the CTS is received. If so, the target data is transmitted to the target node. By judging the urgency of the target data, the problem that short frames cannot be sent is avoided. Through the ERTS-ECTS mechanism, the missing nodes can be made to avoid, preventing the missing nodes from colliding with the normal data transmission. And in the case of not receiving the CTS, the channel is actively released to avoid colliding with other nodes, thus bringing a better experience to the user.
[0107] The data transmission device of the embodiment of the present application will be described below. Please refer to Figure 3 , an embodiment of the data transmission device of the embodiment of the present application includes:
[0108] A sending unit 401, configured to send an Extended Request to Send frame ERTS to a target node, so that when the target node receives the ERTS and sends an Extended Clear to Send frame ECTS, the first missing nodes that receive the ERTS or the ECTS remain silent;
[0109] The sending unit 401 is further configured to send a Request to Send frame RTS to the target node, so that when the target node receives the RTS and sends a Clear to Send frame CTS, the second missing nodes that receive the RTS or the CTS remain silent;
[0110] A judging unit 402, configured to judge whether the CTS is received;
[0111] A transmitting unit 403, configured to transmit target data to the target node when the CTS is received.
[0112] In this embodiment, after the sending unit 401 sends the ERTS to the target node, when the target node sends the ECTS after receiving the ERTS, the first missing nodes remain silent, where the first missing nodes include the missing nodes that receive the ERTS and the missing nodes that receive the ECTS. Then, the RTS is sent to the target node, so that when the target node sends the CTS after receiving the RTS, the second missing nodes remain silent, where the second missing nodes include the missing nodes that receive the RTS and the missing nodes that receive the CTS. The judging unit 402 judges whether the CTS is received. If so, the target data is transmitted to the target node through the transmitting unit 403. Through the ERTS-ECTS mechanism, the missing nodes can be avoided, and the collision of the missing nodes on the normal data transmission is avoided, thus bringing a better experience to the user.
[0113] The functions and processes executed by each unit in the data transmission device of this embodiment are similar to those of the data transmission device Figures 1 to 3 described above, and will not be elaborated here.
[0114] Figure 5 FIG. 9 is a schematic structural diagram of a data transmission device provided by an embodiment of the present application. The data transmission device 500 may include one or more central processing units (CPUs) 501 and a memory 505, and one or more application programs or data are stored in the memory 505.
[0115] Among them, the memory 505 may be volatile storage or persistent storage. The program stored in the memory 505 may include one or more modules, and each module may include a series of instruction operations on the data transmission device. Further, the central processing unit 501 may be configured to communicate with the memory 505 and execute a series of instruction operations in the memory 505 on the data transmission device 500.
[0116] The data transmission device 500 may further include one or more power supplies 502, one or more wired or wireless network interfaces 503, one or more input / output interfaces 504, and / or one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0117] The central processing unit 501 may execute the operations performed by the data transmission device in the Figures 1 to 3 embodiment shown above, which will not be elaborated here specifically.
[0118] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0119] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0120] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0121] In addition, in each embodiment of the present application, the functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0122] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, read-only memory), random access memories (RAM, random access memory), magnetic disks, or optical discs that can store program codes.
Claims
1. A data transmission method, characterized in that, it includes: sending an Extended Request to Send frame (ERTS) to a target node, so that when the target node sends an Extended Clear to Send frame (ECTS) after receiving the ERTS, a first missing node that receives the ERTS or the ECTS remains silent; sending a Request to Send frame (RTS) to the target node, so that when the target node sends a Clear to Send frame (CTS) after receiving the RTS, a second missing node that receives the RTS or the CTS remains silent; judging whether the CTS is received; if received, transmitting target data to the target node; wherein, the first missing node is a node in the network that receives the ERTS or the ECTS except for the node that sends the ERTS and the target node, the second missing node is a node in the network that receives the RTS or the CTS except for the node that sends the RTS and the target node, the ERTS is a Request to Send frame in a new set of RTS-CTS mechanisms extended on the basis of the original RTS-CTS Request to Send-Clear to Send mechanism, and the ECTS is a Clear to Send frame in a new set of RTS-CTS mechanisms extended on the basis of the original RTS-CTS Request to Send-Clear to Send mechanism.
2. The data transmission method according to claim 1, characterized in that, before sending the Extended Request to Send frame (ERTS) to the target node, the method further includes: judging whether to forcibly enable the ERTS-ECTS mechanism for the target data; if so, determining to enable the ERTS-ECTS mechanism; wherein, the ERTS-ECTS mechanism is to first send the ERTS to the target node, so that when the target node sends the ECTS after receiving the ERTS, the first missing node that receives the ERTS or the ECTS remains silent; then send the RTS to the target node, so that when the target node sends the CTS after receiving the RTS, the second missing node that receives the RTS or the CTS remains silent; then judge whether the CTS is received; finally, if received, transmit the target data to the target node.
3. The data transmission method according to claim 2, characterized in that, after judging whether to forcibly enable the ERTS-ECTS mechanism for the target data, the method further includes: if not, obtaining the data retransmission rate of the channel; calculating a channel quality value according to the data retransmission rate; calculating a weighted value by combining a transmission eagerness value and the channel quality value, the transmission eagerness value represents the urgency of the transmission of the target data determined by the user, and the weighted value reflects the comprehensive situation of the urgency of the transmission of the target data and the quality of the channel; judging whether the weighted value is less than a preset threshold; if less, determining to enable the ERTS-ECTS mechanism.
4. The data transmission method according to claim 3, characterized in that, Calculating a weighted value by combining a transmission desire value and the channel quality value, including: Calculating the weighted value through the following formula: Z = P1% * X + P2% * Y + D; The Z is the weighted value; The X is the transmission desire value, 2 ≤ X ≤ 11; The Y is the channel quality value, 0 ≤ Y ≤ 9; The D is a correction value, which can be set according to the situation; The P1% is the weight of the transmission desire value, and the P2% is the weight of the channel quality value, where 0 ≤ P1 ≤ 100, 0 ≤ P2 ≤ 100 and P1 + P2 = 100.
5. The data transmission method according to claim 1, characterized in that sending a request to send frame RTS to the target node, including: When receiving the ECTS, sending the RTS to the target node.
6. The data transmission method according to claim 1, characterized in that sending a request to send frame RTS to the target node, including: When not receiving the ECTS, sending the RTS to the target node after a short inter-frame space.
7. The data transmission method according to claim 1, characterized in that the rate of the ERTS is 1M / s.
8. A data transmission device, characterized in that including: A sending unit, configured to send an extended request to send frame ERTS to a target node, so that when the target node sends an extended clear to send frame ECTS after receiving the ERTS, the first missed node that receives the ERTS or the ECTS remains silent; The sending unit is further configured to send a request to send frame RTS to the target node, so that when the target node sends a clear to send frame CTS after receiving the RTS, the second missed node that receives the RTS or the CTS remains silent; A judging unit, configured to judge whether the CTS is received; A transmission unit, configured to transmit target data to the target node when the CTS is received; Wherein, the first missed node is a node in the network that receives the ERTS or the ECTS except for the node that sends the ERTS and the target node, the second missed node is a node in the network that receives the RTS or the CTS except for the node that sends the RTS and the target node, the ERTS is a request to send frame in a new set of RTS-CTS mechanisms extended on the basis of the original RTS-CTS request to send-clear to send mechanism, and the ECTS is a clear to send frame in a new set of RTS-CTS mechanisms extended on the basis of the original RTS-CTS request to send-clear to send mechanism.
9. A data transmission device, characterized in that including: A central processing unit, a memory and an input / output interface; The memory is a transient storage memory or a persistent storage memory; The central processing unit is configured to communicate with the memory and execute the instruction operations in the memory to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that Comprising instructions which, when run on a computer, cause the computer to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Request to send (RTS) / clear to send (CTS) frames and transmission rules
CN113645710A
Radio communication device, radio communication method, and radio communication program
US20100039969A1