Wireless communication method and device for improving unidirectional transmission rate
Patent Information
- Application Number
- GB2025015392
- Authority / Receiving Office
- GB · GB
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-22
- Filing Date
- 2024-07-30
- Publication Date
- 2026-01-28
AI Technical Summary
There are problems of packet loss and transmission rate limitation in existing wireless communication technologies, especially in scenarios where one-way data transmission is large, the existing technology cannot effectively improve the transmission rate.
The communication method of multiple transmission cycles is adopted to split the forward transmission part into multiple segments, and a valid data frame or empty packet is sent regularly according to the detection results of the data frame in each segment. The timestamps of the reverse transmission part and the packet reception identification are combined for synchronous calibration and data retransmission, reducing the frequency of transmission and reception switching and packet loss rate.
It improves the one-way transmission rate, reduces the packet loss rate, enhances anti-interference ability, saves energy consumption, and is suitable for one-to-one and one-to-many data communication scenarios.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
A wireless communication method and device for improving one-way transmission rate Technical Field
[0001] The present invention relates to a wireless communication technology, and in particular to a wireless communication method and device for improving a one-way transmission rate. Background Art
[0002] In the field of wireless communication technology, there are application scenarios where one end sends a large amount of data and the other end sends a smaller amount of data, such as the mouse end and dongle end of a wireless mouse, the remote control and body of a drone, etc.
[0003] Taking wireless mice as an example, there are two existing communication methods. Method one involves one-way data transmission, with no response from the other party. This method suffers from packet loss, which can affect product functionality. For example, if a double-click on the left mouse button is lost, it becomes a single click. Method two involves two-way communication, using a question-and-answer format. One party sends a data frame, and the other party sends a response frame. The communication process is shown in Figure 1. M->D indicates that the first communication end sends a data frame to the second communication end, and D->M indicates that the second communication end sends a data frame to the first communication end. For example, if the mouse sends a valid data frame and switches to receiving mode, the dongle end switches to sending mode and sends a response frame after receiving the data frame from the mouse.
[0004] The maximum data rate of a common 2.4G chip is 2M, or 0.5us / bit.
[0005] (1) Time Ta1 for the mouse to send a valid data frame: (16+32+16+(8*6)+24)*0.5us=68us
[0006] (2) Dongle end sends the response frame time Ta2: (16+32+16+24)*0.5us=44us
[0007] (3) RF switching time from receiving to transmitting Ta3 (2.4G RF is half-duplex communication): 80us-100us (common parameters)
[0008] Therefore, the time from when the mouse sends a frame of data to when it confirms the completion of sending is T=Ta1+Ta3+Ta2>192us.
[0009] Although a high-speed USB mouse can theoretically achieve an 8K return rate, the return rate of the final product is limited due to certain limitations of 2.4G wireless communication.
[0010] Summary of the Invention
[0011] Purpose of the invention: In order to solve the problems of packet loss and limited transmission rate in wireless communications in the prior art, the present invention provides a wireless communication method and device for improving the one-way transmission rate.
[0012] Technical solution: A wireless communication method for improving a one-way transmission rate, comprising multiple transmission cycles, each cycle including a forward transmission portion and a reverse transmission portion. In the forward transmission portion, a first communication end sends data and a second communication end receives data; in the reverse transmission portion, the second communication end sends data and the first communication end receives data.
[0013] The forward transmission portion of a transmission cycle is divided into N segments, where N ≥ 2. Within each segment, the first communication end periodically sends a valid data frame or an empty packet to the second communication end, or does not send the valid data frame, based on the presence of a valid data frame. Specifically, the first communication end sends a valid data frame or an empty packet to the second communication end, or does not send the valid data frame.
[0014] In the first section of the forward transmission portion, if the presence of the first valid data frame is detected, the first communication end sends the first valid data frame; if the presence of the first valid data frame is detected, an empty packet is sent or no packet is sent;
[0015] In the non-first segment of the forward transmission part, if the existence of the next valid data frame is detected, the first communication end sends the next valid data frame; if it is detected that it does not exist, the previous valid data frame is resent at least once; the valid data frame contains a sequence number, and the sequence number is used by the second communication end to eliminate duplicate valid data frames.
[0016] Furthermore, in a transmission cycle, the reverse transmission part precedes the forward transmission part. In the reverse transmission part, the data frame sent by the second communication end contains a timestamp. After the first communication end receives the data frame containing the timestamp, it performs synchronization calibration according to the timestamp.
[0017] Furthermore, the second communication end switches to a receiving mode after sending a data frame. If the second communication end does not receive a packet sent by the first communication end within a timeout period, the second communication end switches back to a sending mode and sends the same data frame to the first communication end.
[0018] Furthermore, in the reverse transmission part, the data frame sent by the second communication end includes a packet reception identifier, which is used to indicate whether all packets sent by the first communication end have been successfully received. If all packets have been successfully received, the first communication end continues to send subsequent packets; if not all packets have been successfully received, the first communication end resends the packets sent in the previous transmission cycle.
[0019] Furthermore, in the non-first segment of the forward transmission part, if the next valid data frame does not exist, the previous valid data frame will be retransmitted once and no further packets will be sent until the next valid data frame is detected and the next valid data frame is sent, or the forward transmission part ends and the next transmission cycle begins.
[0020] Furthermore, after retransmitting the last valid data frame, the first communication end enters a dormant state until the next valid data frame is subsequently detected and sent, or the forward transmission part is completed and the dormant state is exited.
[0021] Furthermore, in the reverse transmission part, the data frame sent by the second communication end includes device information, and the device information is used to indicate the identity of the target first communication end.
[0022] Furthermore, in the reverse transmission part of a transmission cycle, the second communication end sends only one data frame.
[0023] A wireless communication device for improving a one-way transmission rate includes a first communication end and a second communication end, wherein the first communication end and the second communication end both include a processor, a memory, and a software program stored in the memory. When the processor executes the software program, the wireless communication method for improving a one-way transmission rate can be implemented.
[0024] Furthermore, there are multiple first communication terminals, and data is transmitted between the second communication terminal and the multiple first communication terminals.
[0025] Compared with the prior art, the wireless communication method and device for improving the one-way transmission rate provided by the present invention have the following beneficial effects:
[0026] (1) Wireless communication is achieved through a transmission cycle. The difference from the prior art is that the proportion of the forward transmission part and the reverse transmission part of the transmission cycle is different. In a transmission cycle, the first communication end sends more data frames, and the second communication end sends fewer data frames. The first communication end sends multiple data frames at a regular interval, and the corresponding second communication end only needs to send one data frame as a response. A single response can confirm the reception of multiple data frames, thereby reducing the overall number of two-way communication data frames, reducing the frequency of transmission and reception switching, and increasing the one-way transmission rate and effective bandwidth. It is particularly suitable for applications where a large amount of one-way data is transmitted, such as in wireless mice.
[0027] (2) Because a one-transmit-multiple-receive communication method is used, packet loss cannot be detected in a timely manner like a one-transmit-one-receive method. Therefore, an automatic retransmission mechanism is set up in the forward transmission part of the transmission cycle. When it is detected that there is no valid data frame, the previous valid data frame will be automatically retransmitted at least once when the next packet is sent, which greatly reduces the packet loss rate and improves the accuracy of wireless communication. Because the probability of packet loss is relatively low, this method does not need to wait for the response frame to arrive during reverse transmission before taking retransmission measures, but directly automatically retransmits, which directly reduces the occurrence of packet loss. In addition, the packet reception identifier in the response frame can be superimposed to further improve the accuracy of data transmission and further reduce the occurrence of packet loss.
[0028] (3) Before forward transmission, the first communication end can perform synchronization calibration based on the timestamp in the data frame transmitted during reverse transmission, reducing the clock accuracy requirement and thus reducing equipment costs. This method can be applied to frequency hopping and low-power applications to enhance anti-interference capabilities and save energy.
[0029] (4) It is not only applicable to one-to-one data communication, but also to one-to-many application scenarios. For example, when applied to wireless keyboards and mice, it is necessary to add device information to the data frame sent by the second communication terminal in the reverse transmission part, so as to realize communication between a second communication terminal and multiple first communication terminals. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] FIG1 is a schematic diagram of the communication process of the second prior art method;
[0031] FIG2 is a schematic diagram of the communication process of Example 1;
[0032] FIG3 is a schematic diagram of data retransmission in the method of Example 1;
[0033] FIG4 is a schematic diagram of a timeout retransmission situation in the method of embodiment 1. DETAILED DESCRIPTION
[0034] The present invention will be further explained below with reference to the accompanying drawings and specific embodiments.
[0035] A wireless communication method for improving a one-way transmission rate includes multiple transmission cycles, each of which includes a forward transmission portion and a reverse transmission portion. In the forward transmission portion, a first communication end sends data and a second communication end receives data; in the reverse transmission portion, the second communication end sends data and the first communication end receives data.
[0036] Forward transmission can occur before or after reverse transmission. However, for the case of reverse transmission first and forward transmission later, the data frame sent by the second communication end can also include a packet reception identifier. The first communication end can know whether all the data sent in the previous communication cycle has been successfully received through the packet reception identifier. If not, the data transmitted in the previous communication cycle can be retransmitted to further improve the accuracy of data transmission. In addition, placing the reverse transmission before the forward transmission has an additional effect. The data frame sent by the second communication end can include a timestamp. The first communication end can perform synchronization calibration based on the timestamp, thereby reducing the device's requirements for clock accuracy. It can be applied to frequency hopping and low-power applications to improve the anti-interference ability of wireless transmission and save power consumption. In the reverse transmission part of a transmission cycle, the second communication end only needs to send one data frame.
[0037] As shown in Figure 2, the forward transmission portion of a transmission cycle is divided into N segments, where N ≥ 2. For example, in this embodiment, the forward transmission portion is divided into 8 segments. In each segment, the first communication end periodically sends a valid data frame or an empty packet to the second communication end based on whether there is a valid data frame to be sent. A detection occurs once for each segment, so the first communication end can periodically send out a maximum of 8 valid data frames in one cycle. Specifically, it includes:
[0038] In the first section of the forward transmission part, if the existence of the first valid data frame is detected, the first communication end sends the first valid data frame; if it is detected that it does not exist, an empty packet can be sent, or no packet can be sent. If no packet is sent, the second communication end will not receive any packet and will time out and retry.
[0039] In the non-first segments of the forward transmission, namely, segments 2 through 8, each segment checks for the presence of a valid data frame to be sent. If a valid data frame is detected, the first communication end sends the next valid data frame; if not, the previous valid data frame is resent at least once. The valid data frame includes a sequence number. When the second communication end receives a data frame with a duplicate sequence number, it can discard the packet with the duplicate sequence number to restore the data. This resending occurs at least once. For example, if the first valid data frame is sent in the first segment and the second segment detects the absence of valid data during transmission, it resends the first valid data frame. If the third segment still does not contain valid data during transmission, it may not send any more packets or resend the first valid data frame again. This continues until a valid data frame is detected in a subsequent segment, in which case it is sent, or until the current transmission cycle ends and the next cycle begins. Generally speaking, only resending once significantly reduces the probability of packet loss, as the probability of two consecutive packet losses is very low. If the previously sent packet was a null packet, then if no valid data frames are present, the null packet will not be retransmitted until the next valid data frame appears, or until the forward transmission portion of the current cycle ends and the reverse transmission portion of the next transmission cycle begins. Figure 3 illustrates data retransmission. Furthermore, to conserve power, after retransmitting the last valid data frame, the first communication end can enter a dormant state until the next valid data frame is detected and then sent, or until the forward transmission portion ends and the dormant state is exited.
[0040] To prevent the reverse transmission portion from failing to enter the forward transmission portion due to a data frame sent by the second communication terminal not being received by the first communication terminal, a timeout retransmission mechanism can be configured. After the second communication terminal sends a data frame, it switches to receive mode, preparing to receive data from the forward transmission portion. However, if it times out and fails to receive the data frame sent by the second communication terminal, it switches back to transmit mode, as shown in Figure 4. It retransmits the same data frame as the last one sent, and then receives the data. Figure 4 shows that the communication cycle begins counting from the first reverse transmission packet. When a timeout retransmission occurs, the reverse transmission portion increases, leaving only enough time for the forward transmission portion to transmit seven packets. Alternatively, the timeout retransmission mechanism can be configured to start counting from the last reverse transmission packet regardless of the number of retransmissions. In the event of a timeout retransmission, the forward transmission portion can still transmit eight packets. Subsequent transmissions following either type of timeout retransmission are not restricted. If the first data frame sent by the second communication terminal is lost, the second data frame sent by the first communication terminal will be received by the first communication terminal, allowing the forward transmission portion to enter the forward transmission portion smoothly.
[0041] A wireless communication device for improving a one-way transmission rate includes a first communication end and a second communication end, wherein the first communication end and the second communication end both include a processor, a memory, and a software program stored in the memory. When the processor executes the software program, the wireless communication method for improving a one-way transmission rate can be implemented.
[0042] The device can also have multiple (at least two) first communication terminals, with data being transmitted between the second communication terminal and the multiple communication terminals. When there are multiple first communication terminals, the data frame sent by the second communication terminal must include device information in the reverse transmission. This device information indicates the identity of the target first communication terminal, thereby distinguishing the intended recipient of the data frame. For example, in a wireless keyboard and mouse application, there may be a dongle terminal, a mouse terminal, and a keyboard terminal.
[0043] This embodiment adopts a one-transmit-multiple-receive transmission mechanism, which solves the problem of low data transmission efficiency caused by one-transmit-one-receive. In addition, it cleverly applies automatic retransmission to solve the problem of packet loss. It is especially suitable for applications such as wireless mice that transmit a lot of one-way data.
[0044] Taking the application of a wireless mouse as an example, the maximum data rate of a common 2.4G chip is 2M, that is, 0.5us / bit. The beneficial effects of this embodiment are verified based on theoretical calculations.
[0045] 1. When using the second method of the prior art, the time from when the mouse sends a frame of data to when the sending is confirmed is calculated:
[0046] (1) Time Ta1 for the mouse to send a valid data frame: (16+32+16+(8*6)+24)*0.5us=68us
[0047] (2) Dongle end sends the response frame time Ta2: (16+32+16+24)*0.5us=44us
[0048] (3) RF switching time from receiving to transmitting Ta3 (2.4G RF is half-duplex communication): 80uS-100uS (common parameters)
[0049] In summary: the time from the mouse sending a frame of data to confirming the completion of sending (T = Ta1 + Ta3 + Ta2) is greater than 192us, which cannot achieve an 8K report rate.
[0050] 2. When the method of this embodiment is used, the time from when the mouse sends a frame of data to when the mouse confirms the completion of the sending is calculated:
[0051] (1) Dongle sending status frame time Tb1: (16+32+16+(8*2)+24)*0.5us=52us
[0052] (2) The time Tb2 for the mouse to send a valid data frame: (16+32+16+(8*6)+24)*0.5us=68us
[0053] (3) RF switching time from receiving to sending Tb3: 80uS-100uS (common 2.4G chip)
[0054] (4) RF continuous transmission interval Tb4 = 20us
[0055] In summary: the time from the mouse sending a frame of data to confirming the completion of sending is T = (Tb1 + Tb3 + (Tb2 + Tb4) * 8) / 8 < 107us, which can achieve an 8k return rate.
[0056] From the comparison, it can be seen that after using the wireless communication method for improving the one-way transmission rate of this embodiment, the wireless mouse can achieve an 8k return rate, thereby improving the performance of the wireless mouse.
Claims
1. A wireless communication method for improving a one-way transmission rate, characterized in that: The method comprises a plurality of transmission cycles, wherein the transmission cycle comprises a forward transmission portion and a reverse transmission portion, wherein in the forward transmission portion, the first communication end sends data and the second communication end receives data; and in the reverse transmission portion, the second communication end sends data and the first communication end receives data; The forward transmission portion of a transmission cycle is divided into N segments, where N ≥ 2. Within each segment, the first communication end periodically sends a valid data frame or an empty packet to the second communication end, or does not send the valid data frame, based on the presence of a valid data frame. Specifically, the first communication end sends a valid data frame or an empty packet to the second communication end, or does not send the valid data frame. In the first section of the forward transmission portion, if the presence of the first valid data frame is detected, the first communication end sends the first valid data frame; if the presence of the first valid data frame is detected, an empty packet is sent or no packet is sent; In the non-first segment of the forward transmission portion, if the existence of the next valid data frame is detected, the first communication end sends the next valid data frame; if the existence of the next valid data frame is detected, the previous valid data frame is resent at least once; the valid data frame includes a sequence number, and the sequence number is used by the second communication end to eliminate duplicate valid data frames; In the reverse transmission part of a transmission cycle, the second communication end sends only one data frame. In the reverse transmission part, the data frame sent by the second communication end contains a packet reception identifier, which is used to indicate whether all packets sent by the first communication end have been successfully received. If all are successfully received, the first communication end continues to send subsequent packets; if not all are successfully received, the first communication end resends the packets sent in the previous transmission cycle.
2. The wireless communication method for improving one-way transmission rate according to claim 1, characterized in that: In a transmission cycle, the reverse transmission part precedes the forward transmission part. In the reverse transmission part, the data frame sent by the second communication end contains a timestamp. After the first communication end receives the data frame containing the timestamp, it performs synchronization calibration according to the timestamp.
3. The wireless communication method for improving one-way transmission rate according to claim 2, characterized in that: The second communication end switches to the receiving mode after sending the data frame. If the second communication end does not receive the packet sent by the first communication end within a timeout period, the second communication end switches back to the sending mode and sends the same data frame to the first communication end.
4. The wireless communication method for improving the one-way transmission rate according to any one of claims 1 to 3, characterized in that: In the non-first segment of the forward transmission part, if the next valid data frame does not exist, the previous valid data frame will be resent once and no further packets will be sent until the next valid data frame is detected and the next valid data frame is sent, or the forward transmission part ends and the next transmission cycle begins.
5. The wireless communication method for improving the one-way transmission rate according to any one of claims 1 to 3, characterized in that: After retransmitting the last valid data frame, the first communication end enters a dormant state until the next valid data frame is subsequently detected and the next valid data frame is sent, or the forward transmission part is completed and the dormant state is exited.
6. The wireless communication method for improving the one-way transmission rate according to any one of claims 1 to 3, characterized in that: In the reverse transmission part, the data frame sent by the second communication end includes device information, and the device information is used to indicate the identity of the target first communication end.
7. A wireless communication device for improving one-way transmission rate, characterized in that: The invention comprises a first communication terminal and a second communication terminal, wherein the first communication terminal and the second communication terminal both comprise a processor, a memory and a software program stored in the memory. When the processor executes the software program, the wireless communication method for improving the one-way transmission rate as described in any one of claims 1 to 6 can be implemented.
8. The wireless communication device for improving one-way transmission rate according to claim 7, wherein: There are multiple first communication terminals, and data is transmitted between the second communication terminal and the multiple first communication terminals.
Citation Information
Patent Citations
Method and apparatus for resource allocation for half duplex frequency division duplexing in wireless communication system
CN107852646A
Transmission indication method, device and system
CN116711240A
Wireless communication method and device for improving unidirectional transmission rate
CN117768952A
Method and apparatus for reducing signaling overhead in a communication system using hybrid automatic repeat request
US20080320357A1
Hybrid ARQ for a wireless ad-hoc network and a method for using the same
WO2003104919A2