Wireless long and short range link coexistence method based on protective jamming

By predicting and managing interference periods and dynamically adjusting interference duration, the problem of time-hidden terminals in the coexistence of long and short-distance links is solved, the probability of data collision is reduced, and the reliability of data transmission is achieved.

CN115767573BActive Publication Date: 2026-11-24BEIJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111027891.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-02
Publication Date
2026-11-24
Estimated Expiration
2041-09-02

AI Technical Summary

Technical Problem

In situations where long and short-distance links coexist, the time-hidden terminal problem causes short-distance links to be unable to detect data transmission from long-distance links, leading to data collisions and loss. Existing technologies such as TDMA cannot effectively solve the problem of uncontrollable links.

Method used

By predicting the time period during which data is received from the first transmitter, the interference period is determined, and interference information is sent to the second transmitter during that period to stop data transmission. The interference duration is dynamically adjusted to reduce the probability of data collision.

Benefits of technology

It effectively reduces the probability of time-hidden terminals occurring and ensures the reliability of data transmission when long and short distance links coexist.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115767573B_ABST
    Figure CN115767573B_ABST
Patent Text Reader

Abstract

This invention provides a data transmission method, apparatus, and device. The method includes: predicting the time period during which data is received from a first transmitting end, as a prediction time period; determining an interference time period for a second transmitting end based on the prediction time period; and sending interference information to the second transmitting end during the interference time period, so that the second transmitting end stops sending data to a receiving end during the interference time period. As can be seen, in this solution, based on the predicted time period during which data is received from the first transmitting end, an interference time period for the second transmitting end is determined, and interference information is sent to the second transmitting end during the interference time period, causing the second transmitting end to not send data to the receiving end during the interference time period. This reduces the possibility that data sent by the second transmitting end and data sent by the first transmitting end arrive at the receiving end simultaneously, thereby reducing the possibility of data collisions and, consequently, reducing the probability of time-hidden terminals occurring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method for the coexistence of long-range and short-range wireless links based on protective interference. Background Technology

[0002] Currently, data transmission often encounters situations where long and short-distance links coexist. In such cases, the time-hidden terminal problem arises. The time-hidden terminal problem can be understood as follows: due to data transmission delays, data from the long-distance link may not be able to reach the range that the short-distance link can perceive within a single DIFS (Distributed Inter-frame Spacing) period. Consequently, the short-distance link becomes unaware of the long-distance link's data and continues to transmit data. Thus, data from both the short-distance and long-distance links may arrive at the receiving end simultaneously, causing a data collision and resulting in the loss of data from both.

[0003] For example, suppose there are three endpoints: sender A, sender B, and receiver C. Sender A is a long-distance sender, while sender B is a short-distance sender. If the distance between sender A and receiver C is 2000 meters, and the distance between sender B and receiver C is 50 meters, and B can sense data within a 100-meter radius of B with a sensing time of 50 microseconds, then if the data sent by A does not reach within 100 meters of B within those 50 microseconds, B will not sense the data sent by A and will continue sending data to C. This could cause a data collision, resulting in the loss of both data sent by A and B.

[0004] Currently, in order to reduce the probability of time-hidden terminals, some related solutions use TDMA (Timedivision multiple access), which means that all links are controlled simultaneously through centralized scheduling, and each link is allocated a transmission time for data transmission, so that each link transmits data within its corresponding transmission time.

[0005] The above approach requires control of all links to reduce the time-hidden terminal problem. However, in some cases, not all links can be controlled; for example, some private links cannot be controlled. Therefore, if the links cannot be controlled, the above approach cannot reduce the probability of time-hidden terminals occurring. Summary of the Invention

[0006] The purpose of this invention is to provide a data transmission method, apparatus, and device to reduce the probability of time-hidden terminals occurring. The specific technical solution is as follows:

[0007] In a first aspect, embodiments of the present invention provide a data transmission method applied at a receiving end, the method comprising:

[0008] The predicted time period is the time during which data sent by the first sender is received;

[0009] Based on the predicted time period, the interference period for the second transmitter is determined;

[0010] During the interference period, interference information is sent to the second transmitting end so that the second transmitting end stops sending data to the receiving end during the interference period.

[0011] Optionally, the time period for predicting the receipt of data sent by the first sender, as the prediction time period, includes:

[0012] Each time data is received from the first sending end, the time period for receiving data is determined.

[0013] Based on the time period of the current data reception, the time period of the previous data reception, and the previous prediction time period, the time period for receiving the next data transmission from the first transmitter is predicted and used as the current prediction time period; the previous prediction time period is the time period for predicting the reception of the current data transmission from the first transmitter.

[0014] Optionally, the step of predicting the time period for receiving the next data transmission from the first transmitter based on the time period of the current data reception, the time period of the previous data reception, and the previous prediction time period, and using this as the current prediction time period, includes:

[0015] Calculate the time interval between the period of the last received data and the period of the current received data, and use it as the first time interval;

[0016] The time interval between the last time period of data reception and the last time period of prediction is calculated as the second time interval;

[0017] The predicted time interval is obtained by weighted summation of the first time interval and the second time interval.

[0018] The time period after the current data reception period and the time period separated from the current data reception period by the prediction time interval is determined as the current prediction period.

[0019] Optionally, determining the interference period for the second transmitter based on the predicted time period includes:

[0020] The period preceding the predicted period is designated as the interference period.

[0021] Optionally, the steps for determining the duration of the interference during the interference period are as follows:

[0022] The time period in which the data was most recently received from the first sender is determined as the receiving time period;

[0023] Calculate the time interval between the received period and the predicted period, and use it as the third time interval;

[0024] Determine whether the third time interval is greater than a preset duration threshold;

[0025] If not, the first preset duration is determined as the interference duration of the interference period;

[0026] If so, the second preset duration is determined as the interference duration of the interference period.

[0027] Optionally, the method further includes:

[0028] If the time interval is determined to be greater than a preset duration threshold, a duration longer than the interference duration of the previous interference period is determined from among a plurality of preset durations and used as the second preset duration.

[0029] Optionally, sending interference information to the second transmitting end during the interference period includes:

[0030] In the pre-established correspondence, the transmission rate corresponding to the interference duration of the interference period is found and used as the target transmission rate. The correspondence includes multiple interference durations and their corresponding transmission rates.

[0031] During the interference period, interference information is transmitted to the second transmitting end at the target transmission rate.

[0032] Secondly, embodiments of the present invention provide a data transmission apparatus applied at a receiving end, the apparatus comprising:

[0033] The prediction module is used to predict the time period during which data sent by the first sender is received, and uses this as the prediction time period.

[0034] The determination module is used to determine the interference period for the second transmitter based on the predicted period.

[0035] The transmitting module is used to transmit interference information to the second transmitting end during the interference period, so that the second transmitting end stops transmitting data to the receiving end during the interference period.

[0036] Thirdly, embodiments of the present invention provide an electronic device, including a processor and a memory;

[0037] Memory, used to store computer programs;

[0038] When a processor executes a program stored in memory, it implements any of the data transmission method steps described above.

[0039] Applying the embodiment shown in this invention, the time period during which data sent by the first sending end is predicted is used as the prediction time period; based on the prediction time period, an interference time period for the second sending end is determined; during the interference time period, interference information is sent to the second sending end so that the second sending end stops sending data to the receiving end during the interference time period. It can be seen that in this scheme, based on the predicted time period during which data sent by the first sending end is received, an interference time period for the second sending end is determined, and interference information is sent to the second sending end during the interference time period, so that the second sending end does not send data to the receiving end during the interference time period. This reduces the possibility that data sent by the second sending end and data sent by the first sending end arrive at the receiving end simultaneously, thereby reducing the possibility of data collisions and further reducing the probability of time-hidden terminals occurring.

[0040] Of course, implementing any product or method of the present invention does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is a schematic diagram of a first type of data transmission method provided in an embodiment of the present invention;

[0043] Figure 2 This is a schematic diagram illustrating a time-hiding terminal problem provided by an embodiment of the present invention;

[0044] Figure 3 A schematic diagram illustrating a specific implementation of the present invention;

[0045] Figure 4 This is a schematic diagram of a second process for a data transmission method provided in an embodiment of the present invention;

[0046] Figure 5 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present invention;

[0047] Figure 6This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0049] To achieve the above objectives, embodiments of the present invention provide a data transmission method, apparatus, and device, which can be applied to a receiving end. The data transmission method will first be described in detail below. Specifically, in the data transmission method provided by the embodiments of the present invention, the interference period of the second transmitting end can be determined, and protective interference information is sent to the second transmitting end during the interference period to reduce the probability of time-hidden terminals occurring. In other words, the data transmission method is a method for the coexistence of long-range and short-range wireless links based on protective interference.

[0050] Figure 1 A first flowchart illustrating a data transmission method provided in an embodiment of the present invention includes:

[0051] S101: Predict the time period during which data is received from the first sender, and use this as the prediction time period.

[0052] In one embodiment, S101 may include: after receiving data sent by the first sender each time, determining the time period for receiving the data this time; predicting the time period for receiving the next data sent by the first sender based on the time period for receiving the data this time, the time period for receiving the data last time, and the previous prediction time period, and using this as the current prediction time period; the previous prediction time period is: the time period for predicting the time period for receiving the data sent by the first sender this time.

[0053] For example, the first sender can be understood as a long-distance sender, which is far from the receiver. Each time data is received from the long-distance sender, the time period for receiving the data is determined. Based on the time period for receiving the data this time, the time period for receiving the data previously received from the long-distance sender, and the predicted time period obtained from the previous prediction of the time period for receiving the data this time, the time period for receiving the next data sent from the long-distance sender can be predicted.

[0054] In one scenario, based on the time period of the current data reception, the time period of the previous data reception, and the previous prediction time period, the time period for the next data transmission from the first transmitter is predicted and used as the current prediction time period. This can include: calculating the time interval between the time period of the previous data reception and the time period of the current data reception as a first time interval; calculating the time interval between the time period of the previous data reception and the previous prediction time period as a second time interval; performing a weighted summation of the first and second time intervals to obtain the prediction time interval; and determining the time period after the current data reception time period and separated from the current data reception time period by the prediction time interval as the current prediction time period.

[0055] For example, the prediction time interval can be calculated using the following formula:

[0056]

[0057] Among them, EWMA t Y represents the prediction time interval; Initial represents the preset initial value, which can be 200 microseconds, 300 microseconds, etc., and can be set according to the actual situation, with no specific value limit; λ represents the weight, which can be 0.01, 0.1, etc., where λ is any positive real number greater than 0 and not less than 1; t EWMA represents the time interval between the period of the last received data and the period of the current received data. t-1 This indicates the time interval between the last time data was received and the last time forecast.

[0058] For example, if the time interval between the last received data period and the current received data period is 700 microseconds, and the time interval between the last received data period and the previous prediction period is 600 microseconds, and the weight is 0.01, then the prediction time interval can be calculated to be 601 microseconds. Thus, if the current received data period is from 9:10:0 ...

[0059] Alternatively, in another scenario, based on the time period of the current data reception, the time period of the previous data reception, and the previous prediction time period, the time period for predicting the next data transmission from the first transmitter is used as the current prediction time period. This can include: calculating the time interval between the current data reception time period and the previous data reception time period; calculating the error time period between the previous prediction time period and the current data reception time period; summing the time interval and the error time period to obtain the prediction time interval; and determining the time period after the current data reception time period and separated from the current data reception time period by the prediction time interval as the current prediction time period.

[0060] For example, if the current data reception period is from 9:10:00:00:00:500 microseconds to 9:10:00:00:00:700 microseconds, and the previous data reception period was from 9:10:00:200:10:00:00:00:400 microseconds, and the previous prediction period was from 9:10:00:00:00:450 microseconds to 9:10:00:00:00:650 microseconds, then the time interval between the two data receptions can be calculated to be 200 microseconds. The error period between the previous prediction period and the current data reception period is 50 microseconds. Summing the time interval of 200 microseconds and the error period of 50 microseconds, we get a prediction period of 250 microseconds. Therefore, the period corresponding to 250 microseconds after the current data reception period can be determined as the current prediction period, that is, from 9:10:00:00:00:750 microseconds to 9:10:00:00:00:950 microseconds.

[0061] Alternatively, in another implementation, S101 may include: after each time data is received from the first transmitter, determining the current reception period; calculating the time interval between each two adjacent reception periods; determining the average of the time intervals as the prediction time interval; and determining the period after the current data reception period and separated from the current data reception period by the prediction time interval as the current prediction period.

[0062] For example, if the determined reception periods are: the first reception period is from 9:10:00:00:00:00:00:00:00:00:10:10:00:00:00:100:00:00:00:00:150:00:00:00:00:00:00:250:0 ... We can obtain the following time intervals: the time interval between the first and second reception periods is 150 milliseconds, the time interval between the second and third reception periods is 250 milliseconds, the time interval between the third and fourth reception periods is 200 milliseconds, and the time interval between the fourth and fifth reception periods is 200 milliseconds. The average time interval of 200 milliseconds can be determined as the prediction time interval. Therefore, the period from 9:10:00:01:00:00 to 9:10:00:00:01:00:00 is defined as the current prediction period, which is the period 200 milliseconds after the current data reception period.

[0063] S102: Based on the predicted time period, determine the interference period for the second transmitter.

[0064] For example, the second transmitter can be understood as a short-distance transmitter, meaning that the distance between the second transmitter and the receiver is closer than the distance between the first transmitter and the receiver.

[0065] In one implementation, S102 may include: determining a period of time preceding the prediction period as the interference period.

[0066] In one scenario, the interference duration can be a preset duration, such as 60 microseconds, 80 microseconds, etc., with no specific limitation on the preset duration. For example, a period preceding the predicted period can be designated as the interference period for the short-range transmitter. For instance, if the predicted period is from 9:10:00:00:300 microseconds to 9:10:00:00:600 microseconds, and the preset duration is 60 microseconds, then the 60 microseconds preceding this period can be designated as the interference period for the short-range transmitter, specifically from 9:10:00:00:240 microseconds to 9:10:00:00:300 microseconds. The preset duration can be 60 μs (microseconds), 80 microseconds, etc., with no specific limitation on the preset duration.

[0067] Alternatively, in another scenario, the step of determining the interference duration of the interference period may include: determining the period in which the data most recently received from the first transmitter was sent as the receiving period; calculating the time interval between the receiving period and the predicted period as the third time interval; determining whether the third time interval is greater than a preset duration threshold; if not, determining the first preset duration as the interference duration of the interference period; if so, determining the second preset duration as the interference duration of the interference period.

[0068] For example, the preset duration threshold can be 50 microseconds, 100 microseconds, etc., and the specific preset duration threshold is not limited.

[0069] For example, if the preset duration threshold is 100 microseconds, then if the receiving period is from 9:10:0 ... The first preset duration can be 60μs, 80μs, etc., without any specific limitation; the second preset duration can be 100μs, 120μs, etc., and the second preset duration is longer than the first preset duration.

[0070] In one scenario, if the time interval is greater than a preset duration threshold, a duration longer than the previous interference period can be selected from among multiple preset durations and used as a second preset duration.

[0071] For example, multiple durations can be preset, such as 60μs, 80μs, 100μs, and 120μs. If the time interval is greater than the preset duration threshold, and the interference duration of the previous interference period is 80μs, then among these four preset durations, the duration longer than 80μs can be determined as the second preset duration, that is, 100μs can be determined as the second preset duration.

[0072] refer to Figure 2As shown, a time-hiding terminal problem is introduced: Tx(S) represents the short-range transmitter, Tx(L) ​​represents the long-range transmitter, Rx(L) represents the receiver, Long represents the data sent from the long-range transmitter to the receiver, Short represents the data sent from the short-range transmitter to the receiver, and Beacon represents the interference information sent from the receiver to the short-range transmitter.

[0073] Figure 2 In the diagram, t1 to t2 represents the interference period between the receiver and the short-range transmitter. During this interference period, the receiver can send interference information (Beacon) to the short-range transmitter. However, the short-range transmitter starts sending data (Short) to the receiver before t1, causing the interference information sent to the short-range transmitter during the t1 to t2 period to have no effect on the short-range transmitter. In other words, although the receiver sends interference information to the short-range transmitter, the data (Long) sent by the long-range transmitter and the data (Short) sent by the short-range transmitter will still collide at the receiver, resulting in data loss. Therefore, if the interference duration is fixed, the time-hidden terminal problem still exists.

[0074] This implementation method adjusts the interference duration of the interference period by determining whether the time interval between the received period and the predicted period is greater than a preset duration threshold. For example, if the time interval is determined to be greater than the preset duration threshold, it can be inferred that the interference exists as described above. Figure 2 For the issues mentioned, please refer to [the relevant documentation / reference]. Figure 2 In this implementation, when the time interval is greater than a preset duration threshold, the second preset duration is determined as the interference duration of the interference period. That is, t3 to t2 is defined as the interference period. Thus, before the short-range transmitter sends data to the receiver, the second transmitter is interfered with, causing it to stop sending data. Compared to a fixed interference duration, dynamically adjusting the interference duration further reduces the possibility of data collision between the first and second transmitters at the receiver, further reducing the probability of time-hidden terminals occurring.

[0075] S103: During the interference period, send interference information to the second transmitter so that the second transmitter stops sending data to the receiver during the interference period.

[0076] For example, in one of the above embodiments, a period of time before the prediction period is defined as the interference period. If the interference period is determined to be from 9:05:00:00:800 microseconds to 9:05:00:00:900 microseconds, then interference information can be sent to the second transmitting end during this interference period. This causes the second transmitting end to stop sending data to the receiving end during this interference period. In other words, by making the second transmitting end aware of the interference information, the second transmitting end can indirectly be made aware of the data sent by the first transmitting end, thereby avoiding the data sent by the first transmitting end.

[0077] In one embodiment, S103 may include: finding the transmission rate corresponding to the interference duration of the interference period in a pre-established correspondence, and using it as the target transmission rate; the correspondence includes multiple interference durations and their corresponding transmission rates; and during the interference period, transmitting interference information to the second transmitting end at the target transmission rate.

[0078] For example, a correspondence between interference duration and transmission rate can be pre-established. For instance, the correspondence can be recorded as: interference duration - transmission rate. If the pre-established correspondences are: "60μs-54Mbps", "108μs-24Mbps", "192μs-12Mbps", and "364μs-6Mbps", then the transmission rate corresponding to the interference duration of the interference period can be found in these four sets of correspondences and used as the target transmission rate. In one embodiment, if the interference duration is determined to be 100μs, then its corresponding transmission rate can be determined as the target transmission rate. Thus, interference information can be sent to the second transmitter at the target transmission rate during the interference period. The type of interference information can be Beacon (broadcast packet), UDP (User Datagram Protocol) data packet, etc., and the specific type of interference information is not limited.

[0079] In one specific implementation, a period preceding the prediction period can be defined as the interference period. For example, a fault tolerance period can be pre-set. Then, after determining the interference duration, the interference period can be positioned before the prediction period and the fault tolerance period. Alternatively, it can be stated that the interference period + the fault tolerance period = the prediction period. For instance, if the fault tolerance period is 50 microseconds long, the interference duration is 100 microseconds, and the prediction period is from 9:10:00:00:00:400 microseconds to 9:10:00:00:00:500 microseconds, then the interference period can be determined to be from 9:10:00:00:00:250 microseconds to 9:10:00:00:00:350 microseconds. In this scenario, if the data received from the first sender occurs between 9:10:00:00:00:700 microseconds and 9:10:00:00:00:800 microseconds, then the period between 9:10:00:00:00:850 microseconds and 9:10:00:00:00:950 microseconds is the time period during which the second sender can transmit data to the receiver. This reduces the probability of time-hidden terminals occurring while ensuring that the second sender still has the opportunity to transmit data to the receiver, thus achieving coexistence of long-distance and short-distance links.

[0080] The following describes a specific implementation method, for reference... Figure 3 As shown:

[0081] Figure 3 In this diagram, Tx(L) ​​represents the first transmitter, Tx(S) represents the second transmitter, Rx(L) represents the receiver, Long1 represents the data sent from the first transmitter to the receiver, Short represents the data sent from the second transmitter to the receiver, Beacon represents the interference information sent from the receiver to the second transmitter, and predictionLong2 represents the predicted data to be sent from the first transmitter to the receiver next time.

[0082] Each time the receiving end receives data sent by the first sending end, it determines the current reception time period, such as... Figure 3 As shown, the time period for receiving Long1 this time is from t1 to t2. Based on the current reception time period, the time period of the last time data was received from the first sender, and the previous prediction time period for the current data reception time, the next time data will be received from the first sender can be predicted, and this prediction time period can be used as the current prediction time period. Figure 3 As shown, the predicted reception period for Long2 in this forecast is from t4 to t5; the period preceding this forecast period can be defined as the interference period, such as... Figure 3 As shown, the interference period is determined to be from t3 to t4. During this interference period, the receiving end sends interference information Beacon to the second transmitting end, so that the second transmitting end does not send data to the receiving end during the period from t3 to t4.

[0083] Furthermore, the period after the time when the data sent by the first transmitter was received and before the interference period, that is... Figure 3 During the t2 to t3 period, the receiver is idle. During this period, the receiver does not send interference information to the second transmitter, nor does it receive data sent by the first transmitter. The second transmitter can send data to the receiver. This ensures that the second transmitter has the opportunity to send data to the receiver. The first transmitter can be understood as a long-distance transmitter, and the second transmitter can be understood as a short-distance transmitter. In other words, this idle period ensures that the short-distance transmitter has the opportunity to send data to the receiver without affecting the long-distance transmitter, thus realizing the coexistence of long and short-distance links.

[0084] Applying the embodiment shown in this invention, the time period during which data sent by the first sending end is predicted is used as the prediction time period; based on the prediction time period, an interference time period for the second sending end is determined; during the interference time period, interference information is sent to the second sending end so that the second sending end stops sending data to the receiving end during the interference time period. It can be seen that in this scheme, based on the predicted time period during which data sent by the first sending end is received, an interference time period for the second sending end is determined, and interference information is sent to the second sending end during the interference time period, so that the second sending end does not send data to the receiving end during the interference time period. This reduces the possibility that data sent by the second sending end and data sent by the first sending end arrive at the receiving end simultaneously, thereby reducing the possibility of data collisions and further reducing the probability of time-hidden terminals occurring.

[0085] Figure 4 A second flowchart illustrating the data transmission method provided in this embodiment of the invention includes:

[0086] S401: After receiving data from the first sender each time, determine the time period for receiving data this time.

[0087] For example, the first sender can be understood as a long-distance sender, which is far away from the receiver. Each time data is received from the long-distance sender, the time period for receiving the data is determined.

[0088] S402: Based on the time period of this data reception, the time period of the previous data reception, and the previous prediction time period, predict the time period of the next data to be sent by the first sender, and use it as the current prediction time period; the previous prediction time period is: the time period of the predicted data to be sent by the first sender this time.

[0089] For example, the time period for receiving the next data transmission from the long-distance transmitter can be predicted based on the time period of the current data reception, the time period of the last data received from the long-distance transmitter, and the predicted time period obtained by predicting the time period of the current data reception.

[0090] In one scenario, based on the time period of the current data reception, the time period of the previous data reception, and the previous prediction time period, the time period for the next data transmission from the first transmitter is predicted and used as the current prediction time period. This can include: calculating the time interval between the time period of the previous data reception and the time period of the current data reception as a first time interval; calculating the time interval between the time period of the previous data reception and the previous prediction time period as a second time interval; performing a weighted summation of the first and second time intervals to obtain the prediction time interval; and determining the time period after the current data reception time period and separated from the current data reception time period by the prediction time interval as the current prediction time period.

[0091] For example, the prediction time interval can be calculated using the following formula:

[0092]

[0093] Among them, EWMA t Y represents the prediction time interval; Initial represents the preset initial value, which can be 200 microseconds, 300 microseconds, etc., and can be set according to the actual situation, with no specific value limit; λ represents the weight, which can be 0.01, 0.1, etc., where λ is any positive real number greater than 0 and not less than 1; t EWMA represents the time interval between the period of the last received data and the period of the current received data. t-1 This indicates the time interval between the last time data was received and the last time forecast.

[0094] For example, if the time interval between the last received data period and the current received data period is 200 microseconds, and the time interval between the last received data period and the previous prediction period is 300 microseconds, and the weight is 0.01, then the prediction time interval can be calculated to be 299 microseconds. Thus, if the current received data period is from 9:05:01:400 to 9:05:01:600, then the period from 9:05:01:699 to 9:05:01:899 can be determined as the current prediction period. In other words, the period 299 microseconds after the current received data period is defined as the current prediction period.

[0095] Alternatively, in another scenario, based on the time period of the current data reception, the time period of the previous data reception, and the previous prediction time period, the time period for predicting the next data transmission from the first transmitter is used as the current prediction time period. This can include: calculating the time interval between the current data reception time period and the previous data reception time period; calculating the error time period between the previous prediction time period and the current data reception time period; summing the time interval and the error time period to obtain the prediction time interval; and determining the time period after the current data reception time period and separated from the current data reception time period by the prediction time interval as the current prediction time period.

[0096] For example, if the current data reception period is from 9:05:01.600 microseconds to 9:05:01.800 microseconds, and the previous data reception period was from 9:05:01.200 microseconds to 9:05:01.400 microseconds, and the previous prediction period was from 9:05:01.599 microseconds to 9:05:01.799 microseconds, then the time interval between the two data receptions can be calculated to be 400 microseconds. Since the previous prediction period is 1 microsecond earlier than the current data reception period, the period corresponding to 401 microseconds after the current data reception period can be determined as the current prediction period, that is, from 9:05:01.1001 microseconds to 9:05:01.1201 microseconds is determined as the current prediction period.

[0097] S403: The period preceding this forecast period is designated as the interference period.

[0098] In one scenario, the interference duration can be a preset duration, such as 60 microseconds, 80 microseconds, etc., with no specific limitation on the preset duration. For example, a period preceding the predicted period can be designated as the interference period for the short-range transmitter. For instance, if the predicted period is from 9:10:00:00:00:300 microseconds to 9:10:00:00:600 microseconds, and the preset duration is 60 microseconds, then the 60 microseconds preceding this period can be designated as the interference period for the short-range transmitter, specifically from 9:10:00:00:00:240 microseconds to 9:10:00:00:00:300 microseconds. The preset duration can be 80 microseconds, 60 μs (microseconds), etc., with no specific limitation on the preset duration.

[0099] Alternatively, in another scenario, the step of determining the interference duration of the interference period may include: determining the period in which the data most recently received from the first transmitter was sent as the receiving period; calculating the time interval between the receiving period and the predicted period as the third time interval; determining whether the third time interval is greater than a preset duration threshold; if not, determining the first preset duration as the interference duration of the interference period; if so, determining the second preset duration as the interference duration of the interference period.

[0100] For example, the preset duration threshold can be 50 microseconds, 100 microseconds, etc., and the specific preset duration threshold is not limited.

[0101] For example, if the preset duration threshold is 100 microseconds, then if the receiving period is from 9:10:0 ... The first preset duration can be 60μs, 80μs, etc., without any specific limitation; the second preset duration can be 100μs, 120μs, etc., and the second preset duration is longer than the first preset duration.

[0102] In one scenario, if the time interval is greater than a preset duration threshold, a duration longer than the previous interference period can be selected from among multiple preset durations and used as a second preset duration.

[0103] For example, multiple durations can be preset, such as 60μs, 80μs, 100μs, and 120μs. If the time interval is greater than the preset duration threshold, and the interference duration of the previous interference period is 80μs, then among these four preset durations, the duration longer than 80μs can be determined as the second preset duration, that is, 100μs can be determined as the second preset duration.

[0104] refer to Figure 2As shown, a time-hiding terminal problem is introduced: Tx(S) represents the short-range transmitter, Tx(L) ​​represents the long-range transmitter, Rx(L) represents the receiver, Long represents the data sent from the long-range transmitter to the receiver, Short represents the data sent from the short-range transmitter to the receiver, and Beacon represents the interference information sent from the receiver to the short-range transmitter.

[0105] Figure 2 In the diagram, t1 to t2 represents the interference period between the receiver and the short-range transmitter. During this interference period, the receiver can send interference information (Beacon) to the short-range transmitter. However, the short-range transmitter starts sending data (Short) to the receiver before t1, causing the interference information sent to the short-range transmitter during the t1 to t2 period to have no effect on the short-range transmitter. In other words, although the receiver sends interference information to the short-range transmitter, the data (Long) sent by the long-range transmitter and the data (Short) sent by the short-range transmitter will still collide at the receiver, resulting in data loss. Therefore, if the interference duration is fixed, the time-hidden terminal problem still exists.

[0106] This implementation method adjusts the interference duration of the interference period by determining whether the time interval between the received period and the predicted period is greater than a preset duration threshold. For example, if the time interval is determined to be greater than the preset duration threshold, it can be inferred that the interference exists as described above. Figure 2 For the issues mentioned, please refer to [the relevant documentation / reference]. Figure 2 In this implementation, when the time interval is greater than a preset duration threshold, the second preset duration is determined as the interference duration of the interference period. That is, t3 to t2 is defined as the interference period. Thus, before the short-range transmitter sends data to the receiver, the second transmitter is interfered with, causing it to stop sending data. Compared to a fixed interference duration, dynamically adjusting the interference duration further reduces the possibility of data collision between the first and second transmitters at the receiver, further reducing the probability of time-hidden terminals occurring.

[0107] S404: In the pre-established correspondence, find the transmission rate corresponding to the interference duration of the interference period as the target transmission rate. The correspondence includes multiple interference durations and their corresponding transmission rates.

[0108] For example, a correspondence between interference duration and transmission rate can be established in advance. For instance, the correspondence can be recorded as: interference duration - transmission rate. If the pre-established correspondences are: "60μs-54Mbps", "108μs-24Mbps", "192μs-12Mbps", and "364μs-6Mbps", then the transmission rate corresponding to the interference duration of the interference period can be found in these four sets of correspondences and used as the target transmission rate. In one embodiment described above, if the interference duration of the interference period is determined to be 100μs, then its corresponding transmission rate can be determined as the target transmission rate.

[0109] S405: During the interference period, transmit interference information to the second transmitter at the target transmission rate.

[0110] For example, if the target transmission rate is determined in S404, then during the interference period, interference information can be sent to the second transmitter at the target transmission rate. This causes the second transmitter to stop sending data to the receiver during this interference period. In other words, by making the second transmitter aware of the interference information, it indirectly makes the second transmitter aware of the data sent by the first transmitter, thereby avoiding sending data from the first transmitter. The type of interference information can be Beacon (broadcast packet), UDP (User Datagram Protocol) data packet, etc., and the specific type of interference information is not limited.

[0111] Applying the embodiment shown in this invention, the time period during which data sent by the first sending end is predicted is used as the prediction time period; based on the prediction time period, an interference time period for the second sending end is determined; during the interference time period, interference information is sent to the second sending end so that the second sending end stops sending data to the receiving end during the interference time period. It can be seen that in this scheme, based on the predicted time period during which data sent by the first sending end is received, an interference time period for the second sending end is determined, and interference information is sent to the second sending end during the interference time period, so that the second sending end does not send data to the receiving end during the interference time period. This reduces the possibility that data sent by the second sending end and data sent by the first sending end arrive at the receiving end simultaneously, thereby reducing the possibility of data collisions and further reducing the probability of time-hidden terminals occurring.

[0112] Corresponding to the above method embodiments, this invention also provides a data transmission device, such as... Figure 5 As shown, it includes:

[0113] Prediction module 501 is used to predict the time period during which data sent by the first sender is received, and to use this time period as the prediction period.

[0114] The determining module 502 is used to determine the interference period for the second transmitting end based on the predicted period.

[0115] The transmitting module 503 is used to transmit interference information to the second transmitting end during the interference period, so that the second transmitting end stops transmitting data to the receiving end during the interference period.

[0116] In one embodiment, the prediction module 501 includes: a determination submodule and a prediction submodule (not shown in the figure), wherein,

[0117] The determination submodule is used to determine the time period for receiving data each time it receives data sent by the first sending end;

[0118] The prediction submodule is used to predict the time period during which the next data to be sent by the first sender will be received, based on the time period of the current data reception, the time period of the previous data reception, and the previous prediction time period. The previous prediction time period is the time period during which the data to be sent by the first sender this time is predicted.

[0119] In one implementation, the prediction submodule is specifically used for:

[0120] Calculate the time interval between the period of the last received data and the period of the current received data, and use it as the first time interval;

[0121] The time interval between the last time period of data reception and the last time period of prediction is calculated as the second time interval;

[0122] The predicted time interval is obtained by weighted summation of the first time interval and the second time interval.

[0123] The time period after the current data reception period and the time period separated from the current data reception period by the prediction time interval is determined as the current prediction period.

[0124] In one embodiment, the determining module 502 is specifically used for:

[0125] The period preceding the predicted period is designated as the interference period.

[0126] In one embodiment, the determining module 502 includes: a first determining submodule, a calculation submodule, a judgment submodule, a second determining submodule, and a third determining submodule (not shown in the figure), wherein,

[0127] The first determining submodule is used to determine the time period in which the data was most recently received from the first sending end, as the receiving time period;

[0128] The calculation submodule is used to calculate the time interval between the received time period and the predicted time period as a third time interval;

[0129] The determination submodule is used to determine whether the third time interval is greater than a preset duration threshold; if not, the second determination submodule is triggered; if so, the third determination submodule is triggered.

[0130] The second determining submodule is used to determine the first preset duration as the interference duration of the interference period;

[0131] The third determining submodule is used to determine the second preset duration as the interference duration of the interference period.

[0132] In one embodiment, the determining module 502 further includes: a fourth determining submodule (not shown in the figure), wherein,

[0133] The fourth determining submodule is used to determine, when the time interval is determined to be greater than a preset duration threshold, a duration longer than the previous interference period from among a plurality of preset durations, as the second preset duration.

[0134] In one embodiment, the sending module 503 includes: a lookup submodule and a sending submodule (not shown in the figure), wherein,

[0135] The lookup submodule is used to find the transmission rate corresponding to the interference duration of the interference period in a pre-established correspondence, and use it as the target transmission rate. The correspondence includes multiple interference durations and their corresponding transmission rates.

[0136] The determination submodule is used to send interference information to the second transmitting end at the target transmission rate during the interference period.

[0137] Applying the embodiment shown in this invention, the time period during which data sent by the first sending end is predicted is used as the prediction time period; based on the prediction time period, an interference time period for the second sending end is determined; during the interference time period, interference information is sent to the second sending end so that the second sending end stops sending data to the receiving end during the interference time period. It can be seen that in this scheme, based on the predicted time period during which data sent by the first sending end is received, an interference time period for the second sending end is determined, and interference information is sent to the second sending end during the interference time period, so that the second sending end does not send data to the receiving end during the interference time period. This reduces the possibility that data sent by the second sending end and data sent by the first sending end arrive at the receiving end simultaneously, thereby reducing the possibility of data collisions and further reducing the probability of time-hidden terminals occurring.

[0138] This invention also provides an electronic device, such as... Figure 6 As shown, it includes a processor 601 and a memory 602.

[0139] Memory 602 is used to store computer programs;

[0140] The processor 601, when executing the program stored in the memory 602, implements any of the above-mentioned data transmission methods.

[0141] The memory mentioned in the aforementioned electronic device may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0142] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0143] In another embodiment of the present invention, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of any of the above-described data transmission methods.

[0144] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the data transmission methods described above.

[0145] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0146] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0147] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device embodiments, equipment embodiments, computer-readable storage medium embodiments, and computer program product embodiments are basically similar to the method embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0148] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.

Claims

1. A data transmission method, characterized in that, Applied to the receiving end, the method includes: The prediction period for receiving data sent by the first sender is defined as the prediction period, which includes: determining the time period for receiving data each time data is received from the first sender; and predicting the time period for receiving the next data sent by the first sender based on the time period for receiving data, the time period for receiving data previously, and the previous prediction period, which is defined as the current prediction period. The previous prediction period is the time period for predicting the time period for receiving the data sent by the first sender this time. The first sender is a long-distance sender. Based on the predicted time period, the interference time period for the second transmitter is determined, including: determining the time period before the predicted time period and the preset fault tolerance time period as the interference time period; the preset fault tolerance time period is the time period before the predicted time period; the second transmitter is a short-range transmitter. During the interference period, interference information is sent to the second transmitting end so that the second transmitting end stops sending data to the receiving end during the interference period.

2. The method according to claim 1, characterized in that, The step of predicting the time period for receiving the next data transmission from the first transmitter based on the time period of the current data reception, the time period of the previous data reception, and the previous prediction time period, and using this prediction time period as the current prediction time period, includes: Calculate the time interval between the period of the last received data and the period of the current received data, and use it as the first time interval; The time interval between the last time period of data reception and the last time period of prediction is calculated as the second time interval; The predicted time interval is obtained by weighted summation of the first time interval and the second time interval. The time period after the current data reception period and the time period separated from the current data reception period by the prediction time interval is determined as the current prediction period.

3. The method according to claim 1, characterized in that, The steps for determining the duration of interference during the interference period are as follows: The time period in which the data was most recently received from the first sender is determined as the receiving time period; Calculate the time interval between the received period and the predicted period, and use it as the third time interval; Determine whether the third time interval is greater than a preset duration threshold; If not, the first preset duration is determined as the interference duration of the interference period; If so, the second preset duration is determined as the interference duration of the interference period.

4. The method according to claim 3, characterized in that, The method further includes: If the time interval is determined to be greater than a preset duration threshold, a duration longer than the interference duration of the previous interference period is determined from among a plurality of preset durations and used as the second preset duration.

5. The method according to claim 1, characterized in that, The step of sending interference information to the second transmitting end during the interference period includes: In the pre-established correspondence, the transmission rate corresponding to the interference duration of the interference period is found and used as the target transmission rate. The correspondence includes multiple interference durations and their corresponding transmission rates. During the interference period, interference information is transmitted to the second transmitting end at the target transmission rate.

6. A data transmission device, characterized in that, Applied to the receiving end, the device includes: The prediction module is used to predict the time period during which data is received from the first transmitter, which is used as the prediction time period; the first transmitter is a long-distance transmitter. The determination module is used to determine the interference period for the second transmitter based on the predicted period; the second transmitter is a short-range transmitter. The transmitting module is used to transmit interference information to the second transmitting end during the interference period, so that the second transmitting end stops transmitting data to the receiving end during the interference period; Specifically, the prediction module is used to determine the time period for receiving data each time it receives data sent by the first sending end; and to predict the time period for receiving the next data sent by the first sending end based on the time period for receiving data this time, the time period for receiving data last time, and the time period for the last prediction, which is used as the current prediction time period; the previous prediction time period is the time period for predicting the time period for receiving the data sent by the first sending end this time. The determining module is specifically used to determine the period before the predicted period and the preset fault tolerance period as the interference period; the preset fault tolerance period is the period before the predicted period.

7. An electronic device, characterized in that, Including processor and memory; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method described in any one of claims 1-5.

Citation Information

Patent Citations

  • MAC (Media Access Control) layer reliable multicasting method of wireless ad hoc network

    CN102158331A

  • Radio communication system, radio base station, radio terminal station, and radio communication method

    JP2012015899A