Data transmission method and device based on frequency hopping retransmission
By dynamically updating the channel bandwidth and retransmission times in wireless communication devices and using frequency hopping retransmission methods to avoid interference, the problem of low data transmission reliability is solved and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202511205000.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-27
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2045-08-27
AI Technical Summary
When existing wireless communication devices transmit data, interference from other wireless signals in the same channel and adjacent channels results in low data transmission reliability.
Through a data transmission method based on frequency hopping and retransmission, the transmission indicators of each channel are counted, such as the transmission success rate, the proportion of data received from non-devices, the backoff time and the number of backoffs, the channel bandwidth and retransmission times are dynamically updated, and different bandwidth frequency bands are selected for retransmission to avoid interference.
It improves the reliability and success rate of data transmission, reduces the impact of channel interference, and enhances the communication reliability between devices.
Smart Images

Figure CN120751505A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data transmission method and device based on frequency hopping retransmission. Background Art
[0002] Highly real-time and highly reliable industrial wireless WIA-FA (Wireless LAN Interference Avoidance) technology has been deployed in multiple key industries. The MAC (Media Access Control) layer of WIA-FA network technology uses a TDMA (Time Division Multiple Access)-based access mechanism, ensuring deterministic communication cycles and latency, making it suitable for industrial control applications.
[0003] In related technologies, when wireless communication devices transmit data, they use frequency hopping retransmission combined with channel monitoring and backoff to avoid interference with data transmission signals. Since the channel bandwidth occupied by data transmission is configured in advance, during actual transmission, other wireless signals in the same channel and adjacent channels will still interfere with the data transmission signal, resulting in low data transmission reliability. Summary of the Invention
[0004] The present invention provides a data transmission method and device based on frequency hopping retransmission, which is used to solve the defect in the prior art that when wireless communication equipment transmits data, other wireless signals in the same channel and adjacent channels will interfere with the signal transmitting the data, resulting in low data transmission reliability.
[0005] The present invention provides a data transmission method based on frequency hopping retransmission, which is applied to a first electronic device. The first electronic device supports configuration to form first data transmission configuration parameters. The first data transmission configuration parameters include a channel and a bandwidth corresponding to each channel and a number of retransmissions. The method comprises the following steps: S110, transmitting data to a second electronic device based on the first data transmission configuration parameter, and calculating transmission indicators of each of the channels; wherein the transmission indicators include at least one of a transmission success rate corresponding to each channel, a proportion of data received from sources other than the first electronic device, a backoff time, and a backoff number; S120: Update the bandwidth and the number of retransmissions corresponding to each channel in the first data transmission configuration parameter according to the transmission indicator.
[0006] According to a data transmission method based on frequency hopping retransmission provided by the present invention, in the first data transmission configuration parameter, each of the channels corresponds to a different number of retransmissions; When transmitting data to the second electronic device based on the first data transmission configuration parameter, selecting a channel for retransmission in a predetermined order; The bandwidth of the channel for retransmitting data for the i-th time is ≥ the bandwidth of the channel for retransmitting data for the (i+1)th time, and i is a positive integer greater than 0.
[0007] According to a data transmission method based on frequency hopping retransmission provided by the present invention, the first electronic device is an access device; After S120, it also includes: The first data transmission configuration parameter is sent to a second electronic device, and the second electronic device configures a receiving parameter according to the first data transmission configuration parameter.
[0008] According to a data transmission method based on frequency hopping retransmission provided by the present invention, The first data transmission configuration parameter also includes a transmission success rate corresponding to each channel; In S110, when the first electronic device transmits data to the second electronic device based on the first data transmission configuration parameter, the first electronic device selects a channel with a transmission success rate greater than a predetermined first transmission rate threshold to transmit data.
[0009] According to a data transmission method based on frequency hopping retransmission provided by the present invention, in the first data transmission configuration parameter, the bandwidth of each of the channels increases in a predetermined order; In the S110, transmitting data to the second electronic device based on the first data transmission configuration parameter specifically includes: when retransmitting the data, selecting a channel to retransmit the data according to a predetermined order.
[0010] According to a data transmission method based on frequency hopping retransmission provided by the present invention, the S120 further includes: When the transmission success rate of the corresponding channel is higher than a predetermined second transmission rate threshold, the bandwidth of the corresponding channel is reduced.
[0011] According to a data transmission method based on frequency hopping retransmission provided by the present invention, after S120, the method further includes: Return to S110.
[0012] The present invention further provides a data transmission device based on frequency hopping retransmission, which is applied to a first electronic device, wherein the first electronic device supports configuration to form first data transmission configuration parameters, wherein the first data transmission configuration parameters include a channel and a bandwidth corresponding to each channel and a number of retransmissions. The device includes: a transmission statistics module, configured to transmit data to the second electronic device based on the first data transmission configuration parameter, and to count transmission indicators of each of the channels; wherein the transmission indicators include at least one of a transmission success rate corresponding to each channel, a proportion of data received from sources other than the first electronic device, a backoff time, and a backoff number; The bandwidth updating module is configured to update the bandwidth and the number of retransmissions corresponding to each channel in the first data transmission configuration parameter according to the transmission indicator.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the data transmission method based on frequency hopping retransmission as described above is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the data transmission method based on frequency hopping retransmission as described above is implemented.
[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned data transmission methods based on frequency hopping retransmission.
[0016] The data transmission method and device based on frequency hopping retransmission provided by the present invention transmit data to a second electronic device using the first data transmission configuration parameters of the current channel, statistically calculate the transmission indicators under each channel bandwidth, and then update the first data transmission configuration parameters according to the transmission indicators. Data can be sent in different bandwidths and frequency bands, that is, frequency hopping retransmission is realized, which reduces the interference existing in the last transmission channel, increases the data transmission success rate, and improves the data transmission efficiency, thereby improving the reliability of communication between devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 It is a flow chart of a data transmission method based on frequency hopping retransmission provided by the present invention.
[0019] Figure 2 This is one of the schematic diagrams provided by the present invention for dividing a maximum channel bandwidth into multiple sub-bandwidths.
[0020] Figure 3This is the second schematic diagram of dividing a plurality of sub-bandwidths based on a maximum channel bandwidth provided by the present invention.
[0021] Figure 4 This is a schematic diagram of device A providing the present invention sending data to device B through four data retransmissions.
[0022] Figure 5 It is a structural diagram of a data transmission device based on frequency hopping retransmission provided by the present invention.
[0023] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0025] The following combination Figure 1-Figure 5 The present invention describes a data transmission method and device based on frequency hopping retransmission.
[0026] Figure 1 FIG is a flow chart of a data transmission method based on frequency hopping retransmission provided by the present invention, such as Figure 1 As shown, the first electronic device supports configuration to form first data transmission configuration parameters, the first data transmission configuration parameters including channels and bandwidth and retransmission times corresponding to each channel, and the method includes the following steps: S110. Transmit data to the second electronic device based on the first data transmission configuration parameter, and count the transmission indicators of each channel; wherein the transmission indicators include at least one of the transmission success rate corresponding to each channel, the proportion of data transmitted by non-first electronic devices, the backoff time, and the backoff number.
[0027] In this step, the first electronic device may be an access device, and the second electronic device may be a field device or a data receiving terminal.
[0028] In this step, in different wireless communication scenarios, the first electronic device supports data retransmission settings corresponding to the channel and channel bandwidth, and the baseband radio frequency module of the first electronic device supports configuration to monitor wireless signals on multiple channels and channel bandwidths.
[0029] For example, by configuring in a WLAN (Wireless Local Area Network) network scenario, the first electronic device can be a wireless controller (Access Controller, AC), and the AC device (such as the on-board AC) sends radio frequency parameters (such as channels and bandwidth) through a centralized management platform, and coordinates the synchronous update of on-site equipment across the entire network.
[0030] In the industrial Internet of Things access network scenario, the first electronic device can be an industrial gateway / edge router. In a WirelessHART (a wireless communication standard) network, the gateway sends bandwidth configuration to field devices through an out-of-band management interface (such as infrared).
[0031] In the 5G (5th Generation Mobile Communication Technology) mobile communication network scenario, the first electronic device can be a baseband unit (CU / DU), which sends specified frequency band bandwidth parameters to the radio remote unit (RU) through the eCPRI (enhanced universal radio interface) interface and monitors the RU transmission power stability; among them, CU is a centralized unit (Centralized Unit) and DU is a distributed unit (Distributed Unit).
[0032] In this embodiment, the current channel includes multiple basic channels (such as a basic channel with a bandwidth of 20 MHz); the maximum channel bandwidth supported by the first electronic device is determined based on the current channel configuration parameters and device parameters, and the channel bandwidth of the basic channel can be used as a sub-bandwidth of the maximum channel bandwidth. The specific division method depends on user needs and is not specifically limited in this embodiment.
[0033] Figure 2 This is one of the schematic diagrams of dividing a plurality of sub-bandwidths based on the maximum channel bandwidth provided by the present invention. Figure 2 In the illustrated embodiment, the maximum channel bandwidth supported by the first electronic device is 160 MHz, which can be divided into three 80 MHz bandwidths, seven 40 MHz bandwidths, and eight 20 MHz bandwidths.
[0034] In this embodiment, the first data transmission configuration parameters include the bandwidth and retransmission times of multiple pre-configured channels. Channels can be divided into transmission channels and retransmission channels. The transmission channel is the initial transmission channel, and the retransmission information is the channel for retransmission after a transmission failure.
[0035] In this embodiment, the channel bandwidth number in the first data transmission configuration parameter may be related to the preset number of retransmissions.
[0036] For example, the preset number of retransmissions is 4. Since different retransmission stages use frequency bands with different bandwidths (see the frequency hopping retransmission mechanism for details), the first data transmission configuration parameters may include the maximum channel bandwidth supported by 1 device and 4 channel bandwidths for data retransmission (such as sub-bandwidths of the maximum channel bandwidth).
[0037] In this embodiment, the transmission success rate represents the probability that the data is successfully received by the receiving end, and may include the probability of successful one-time transmission and the retransmission success rate; wherein, the retransmission success rate represents the probability that the data retransmitted by the first electronic device is successfully received by the receiving end.
[0038] In this embodiment, the transmission indicator can be a transmission success rate, which is calculated by statistically analyzing the probability that the receiving end successfully receives data when transmitting through channels with different frequency bands and different bandwidths, and giving priority to channel bandwidths with high retransmission success rates. This can reduce interference from wireless signals in other frequency bands of the same channel or adjacent channels, thereby improving the reliability of data transmission by the first electronic device through the current channel.
[0039] In this embodiment, the transmission metrics may also include the percentage of non-device data received, the backoff time, and the number of backoff attempts. The percentage of non-device data received refers to the ratio of non-target transmission data frames captured by the device when monitoring the channel to the total number of detection frames (reflecting the number of channel occupants); the backoff time for a busy channel refers to the average waiting time for a device to enter a random backoff state due to a busy channel (reflecting the intensity of channel competition); and the number of backoff attempts for a busy channel refers to the number of times a node proactively delays transmission and retries to access the channel when it detects that the channel is busy.
[0040] Specifically, when the proportion of data received from non-devices and the backoff time of busy channels increase at the same time, it indicates that the current channel has been dominated by other devices. At this time, the first electronic device should actively avoid it and switch to a better channel for data transmission.
[0041] S120: Update the bandwidth and retransmission times corresponding to each channel in the first data transmission configuration parameter according to the transmission indicator.
[0042] In this step, the first electronic device supports configuring the number of retransmissions and the channel and channel bandwidth corresponding to each retransmission. During the retransmission phase, selecting a smaller bandwidth and a different bandwidth frequency band each time can increase the success rate of data retransmission, thereby ensuring the reliability of data transmission.
[0043] For example, when the first electronic device triggers data retransmission, if four retransmissions are required, the first retransmission can use an 80MHz bandwidth channel to transmit data, the second retransmission can use a 40MHz bandwidth channel to transmit data, and the third and fourth retransmissions can use a 20MHz (20MHz is the minimum) bandwidth channel to transmit data, thereby realizing the selection of a smaller bandwidth channel to transmit data during the retransmission phase.
[0044] For example, when selecting an 80MHz channel bandwidth for data retransmission, if there are three frequency bands configured with the same 80MHz channel bandwidth, and within a certain period of time, the transmission success rate of data transmitted on the first frequency band is detected to be lower than the preset first transmission rate threshold, then the frequency band is deemed unsuitable for data transmission. Subsequently, when data is retransmitted using the 80MHz channel bandwidth again, the second or third frequency band will be prioritized for data transmission. This allows different bandwidth frequency bands to be selected for data transmission each time during the retransmission phase.
[0045] Figure 3 This is the second schematic diagram of dividing multiple sub-bandwidths based on the maximum channel bandwidth provided by the present invention. Figure 3 In the illustrated embodiment, device A and device B are configured with a current channel bandwidth of 160 MHz (i.e., a1). Each channel bandwidth is represented by the following numbers a1 to d8: There are three frequency bands with a current channel bandwidth of 80 MHz, namely b1-b3; there are seven frequency bands with a current channel bandwidth of 40 MHz, namely c1-c7; and there are eight frequency bands with a current channel bandwidth of 20 MHz, namely d1-d8.
[0046] When device A sends data to device B, the first retransmission configuration is b1, the second retransmission configuration is c3, the third retransmission configuration is d7, and the fourth retransmission configuration is d1. Similarly, the baseband RF module of the device is configured to receive and monitor a1, b1, c3, d7, and d1, that is, according to the first data transmission configuration parameters: a1→b1→c3→d7→d1; the transmission success rate P of the frequency band corresponding to each channel bandwidth in the above configuration parameters is compared with the preset transmission rate threshold. If it is confirmed that data retransmission is triggered, and the first retransmission has the following conditions: P b1 <P 阈值1 ≤P b2 ≤P b3 ; The first retransmission can use b2 or b3 for data transmission, with b2 being given priority.
[0047] If the second retransmission has the following conditions: P c3 <P 阈值2 ; and P c4 To P c7 Both are greater than P 阈值2, one of c4 to c7 can be used for data transmission, with c4 being used first; If the third retransmission has the following conditions: P d7 <P 阈值3 , P d8 >P 阈值3 , other frequency bands can be given no priority, and d8 is used for data transmission; If the fourth retransmission has the following conditions: P d2 <P 阈值4 , P d3 >P 阈值4 , other frequency bands can be compared without priority, and d3 is used for data transmission; That is, the second data transmission configuration parameters may be configured as: a1→b2→c4→d8→d3.
[0048] In other embodiments, if the first electronic device does not trigger retransmission through the current channel transmission, the first electronic device directly sends the data to the second electronic device through a frequency band with a channel bandwidth of 160 MHz.
[0049] The data transmission method based on frequency hopping retransmission provided by an embodiment of the present invention, when transmitting data to a second electronic device based on the first data transmission configuration parameters of the current channel, statistically calculates the transmission indicators of each channel, and then updates the first data transmission configuration parameters according to the transmission indicators, thereby realizing data transmission in different bandwidths and frequency bands, avoiding interference existing in the previous transmission channel, increasing the data transmission success rate, and thus improving the reliability of communication between devices.
[0050] In some embodiments, in the first data transmission configuration parameters, each channel corresponds to a different number of retransmissions. When transmitting data to the second electronic device based on the first data transmission configuration parameters, the channel is selected for retransmission in a predetermined order; the bandwidth of the channel for the i-th retransmission data is ≥ the bandwidth of the channel for the i+1-th retransmission data, where i is a positive integer greater than 0.
[0051] In this embodiment, the first data transmission configuration parameter includes the maximum channel bandwidth supported by the device and sub-bandwidths divided according to the maximum channel frequency band, and the frequency bands corresponding to the sub-bandwidths are used for different data retransmission phases.
[0052] For example, the first electronic device supports a maximum channel bandwidth of 160MHz, which is used in the data sending phase (no retransmission is triggered); after determining that the first electronic device triggers retransmission, a smaller sub-bandwidth (such as 80MHz, 40MHz and 20MHz) corresponding frequency band is selected for data transmission.
[0053] In this embodiment, the sub-bandwidth division type may be related to the preset number of retransmissions. For example, when the preset number of retransmissions is 2, 160 MHz may be divided into 3 80 MHz bandwidths, or 3 80 MHz bandwidths and 7 40 MHz bandwidths; when the preset number of retransmissions is 3, 160 MHz may be divided into 3 80 MHz bandwidths and 7 40 MHz bandwidths, or 3 80 MHz bandwidths, 7 40 MHz bandwidths, and 8 20 MHz bandwidths; when the preset number of retransmissions is 4, 160 MHz may be divided into 3 80 MHz bandwidths, 7 40 MHz bandwidths, and 8 20 MHz bandwidths, and so on.
[0054] In this embodiment, multiple retransmissions are allowed to occur in multiple frequency bands of the same channel bandwidth. For example, when the preset number of retransmissions is 4, the third and fourth retransmissions are both transmitted in a frequency band of 20 MHz bandwidth.
[0055] In this embodiment, the data retransmission strategy may be set to: select a channel with the same bandwidth or a channel with a bandwidth smaller than the current bandwidth for data retransmission.
[0056] Figure 4 This is a schematic diagram of the device A providing the present invention sending data to the device B through four data retransmissions. Figure 4 In the embodiment shown, device A uses a channel with a bandwidth of 160 MHz to send data to device B. Both devices support receiving wireless frame signals transmitted on all bandwidths of 80 MHz, 40 MHz, 20 MHz and 160 MHz. The number of retransmissions is configured to 4 times, and the number of channels in the first data transmission configuration parameter is 5. The first channel is used for the data transmission phase, and a channel with a bandwidth of 160 MHz is used to transmit data. Under the condition of triggering the data retransmission mechanism, the second channel is used for the first data retransmission phase, and a channel with a bandwidth of 80 MHz is used to transmit data. The third channel is used for the second data retransmission phase, and a channel with a bandwidth of 40 MHz is used to transmit data. The fourth channel is used for the third data retransmission phase, and a channel with a bandwidth of 20 MHz is used to transmit data. The fifth channel is used for the fourth data retransmission phase, and also a channel with a bandwidth of 20 MHz is used to transmit data.
[0057] The data transmission method based on frequency hopping retransmission provided by an embodiment of the present invention is configured to select a channel for retransmission in a predetermined order by setting a first electronic device. When the bandwidth of the channel for the i-th retransmission data is greater than or equal to the bandwidth of the channel for the i+1-th retransmission data, a smaller bandwidth channel is selected, thereby increasing the success rate of data retransmission by using different bandwidth frequency bands, thereby further improving the reliability of data transmission.
[0058] In some embodiments, the first electronic device is an access device; after S120, the step further includes: sending the first data transmission configuration parameter to the second electronic device, and the field device configuring the receiving parameter according to the first data transmission configuration parameter.
[0059] In this embodiment, the second electronic device is a field device.
[0060] In this embodiment, a wireless local area network consisting of two or more wireless devices is supported. For example, device A and device B support wireless functions, wherein device A is an access device and device B is a field device; devices A and B support data retransmission and set corresponding channels and channel bandwidths; the baseband RF modules of devices A and B respectively support configuration to monitor wireless frame signals on multiple channels and channel bandwidths.
[0061] In this embodiment, the baseband RF modules of device A and device B can be configured to support the reception of wireless frame signals transmitted on all 80MHz, 40MHz, 20MHz and 160MHz bandwidths. Moreover, device A and device B can use any channel bandwidth to transmit wireless data, and the receiving end can receive it normally. At the same time, the baseband RF modules of device A and device B support the configuration of receiving wireless frame signals transmitted on some 80MHz, 40MHz, 20MHz and 160MHz bandwidths.
[0062] During implementation, the baseband RF module of device A must configure the channel bandwidth for monitoring and reception to be consistent with the channel bandwidth configuration that may be used by the baseband RF module of device B. Similarly, the baseband RF module of device B must configure the channel bandwidth for monitoring and reception to be consistent with the channel bandwidth configuration that may be used by the baseband RF module of device A, thereby ensuring that the data sent by the sending device can be monitored and received by the receiving baseband RF module.
[0063] In this embodiment, after the baseband radio frequency module of the access device obtains the second data transmission configuration parameter by updating the first data transmission configuration parameter, the second data transmission configuration parameter is sent to the on-site device, and after waiting for all devices in the network to confirm that they have received it, the channel bandwidth parameter update of the devices in the synchronized network takes effect.
[0064] The data transmission method based on frequency hopping retransmission provided by an embodiment of the present invention sends the updated first data transmission configuration parameters to the on-site device through the access device. The on-site device supports the configuration of the number of data retransmissions and the channel bandwidth, which can ensure that each device in the current communication network can obtain the channel bandwidth update information in a timely manner and update the parameter configuration, thereby improving the timeliness of data transmission in the network.
[0065] In some embodiments, the first data transmission configuration parameter also includes the transmission success rate corresponding to each channel; in step S110, when the first electronic device transmits data to the second electronic device based on the first data transmission configuration parameter, it selects a channel with a transmission success rate greater than a predetermined first transmission rate threshold to transmit data.
[0066] In this embodiment, when there is a target number of channel bandwidths in the first data transmission configuration parameter whose corresponding transmission success rate is lower than the first transmission rate threshold, a target number of candidate channel bandwidths are selected from multiple channel bandwidths or new channels; wherein the transmission success rate corresponding to the candidate channel bandwidth is higher than the first transmission rate threshold.
[0067] In this embodiment, the first transmission rate threshold can be set according to user needs.
[0068] In some embodiments, the candidate channel bandwidths include unused channel bandwidths and used effective bandwidths among the plurality of channel bandwidths; wherein the transmission success rate corresponding to the used effective bandwidth is higher than the first transmission rate threshold.
[0069] In this embodiment, the candidate channel bandwidths include unused channel bandwidths and used effective bandwidths among the multiple channel bandwidths; wherein the transmission success rate corresponding to the used effective bandwidth is higher than the first transmission rate threshold.
[0070] Specifically, (1) the target quantity can be multiple continuous data.
[0071] For example, when the first electronic device uses sub-bandwidths of different frequency bands to retransmit data four times, the transmission success rates of the channels corresponding to the first, second, and third retransmissions are all less than the first transmission rate threshold. Then, three channels that meet the requirements are selected from other channels with the same bandwidth that do not include these three channels or from new channels, and the transmission success rates corresponding to the channels that meet the requirements are all greater than the first transmission rate threshold.
[0072] (2) The target quantity can be multiple discontinuous data.
[0073] For example, when the first electronic device uses the bandwidth of different channels to retransmit data four times, the transmission success rates of the channels corresponding to the first, third, and fourth retransmissions are all less than the first transmission rate threshold. Then, three channels that meet the requirements are selected from other channels with the same bandwidth excluding these three channels or from new channels, and the transmission success rates corresponding to the channels that meet the requirements are all greater than the first transmission rate threshold.
[0074] The data transmission method based on frequency hopping retransmission provided in an embodiment of the present invention can ensure data transmission reliability by selecting a channel with a transmission success rate greater than a predetermined first transmission rate threshold to transmit data when a first electronic device transmits data to a second electronic device based on a first data transmission configuration parameter.
[0075] In some embodiments, in the first data transmission configuration parameters, the bandwidth of each channel increases in a predetermined order; in S110, data is transmitted to the second electronic device based on the first data transmission configuration parameters, specifically including: when retransmitting the transmitted data, selecting a channel to retransmit the data according to a predetermined order.
[0076] For example, the multiple channel bandwidths in the first data transmission configuration parameter sequentially include one channel bandwidth for sending data and j-1 channel bandwidths for retransmitting data, where the channel bandwidth for sending data is greater than the channel bandwidth for retransmitting data, and j is a positive integer ≥ 1. Updating the first data transmission configuration parameter based on the transmission indicator further includes: when the transmission success rate corresponding to the channel bandwidth for sending data is higher than the third transmission rate threshold, and the transmission success rate corresponding to each channel bandwidth for retransmitting data is higher than the first transmission rate threshold, adding n to the widths of the first j-1 channel bandwidths, and setting the width of the jth channel bandwidth as the width of the base channel. In this embodiment, the value of n (n is a positive integer) can be set according to user needs, for example, n = 20 MHz.
[0077] In this embodiment, the first transmission rate threshold and the third transmission rate threshold can be set according to user needs, wherein the first transmission rate threshold and the second transmission rate threshold can be the same or different.
[0078] exist Figure 3 In the embodiment shown, when the statistical transmission indicators include the transmission success rate, if within the time T, the transmission success rate of a1 is greater than T, and the transmission success rates of the four retransmission configuration data are all greater than W, the device baseband RF module bandwidth configuration update process is triggered.
[0079] Specifically, the update strategy is: the bandwidth width of the sending channel increases by one, the bandwidth width of the first retransmission channel configuration increases by one and is not equal to the sending channel width; the bandwidth width of the second retransmission channel configuration increases by one, the bandwidth width of the third retransmission channel configuration increases by one, and the bandwidth of the fourth retransmission channel configuration is the minimum bandwidth configuration (such as 20MHz mentioned in the above embodiment).
[0080] In this embodiment, if the first electronic device detects that the transmission success rate of each channel bandwidth in the first data transmission configuration parameter is greater than the corresponding transmission rate threshold, the above bandwidth update method is repeated to obtain a new channel bandwidth configuration parameter (first data transmission configuration parameter) for the next data transmission.
[0081] The data transmission method based on frequency hopping retransmission provided in an embodiment of the present invention increases the bandwidth of each channel in the first data transmission configuration parameter in a predetermined order. In S110, data is transmitted to the second electronic device based on the first data transmission configuration parameter. Specifically, when retransmitting the transmitted data, a channel is selected to retransmit the data according to a predetermined order. In this way, dynamic optimization allocation of bandwidth resources and step-by-step reliability assurance can be achieved.
[0082] In S120 , the bandwidth of each channel is updated through the following steps: when the transmission success rate of the corresponding channel is higher than a predetermined second transmission rate threshold, the bandwidth of the corresponding channel is reduced.
[0083] In this embodiment, if the multiple channel bandwidths on the first data transmission configuration parameter include, in sequence, 1 channel bandwidth for sending data and j-1 channel bandwidths for retransmitting data, the channel bandwidth for sending data is greater than the channel bandwidth for retransmitting data, and j is a positive integer ≥1; updating the first data transmission configuration parameter according to the transmission indicator also includes: when the transmission success rate corresponding to the channel bandwidth for sending data is lower than the fourth transmission rate threshold, and the transmission success rate corresponding to each channel bandwidth for retransmitting data is lower than the second transmission rate threshold, subtract m from the width of the first j-1 channel bandwidths, and set the width of the jth channel bandwidth to the width of the basic channel.
[0084] In this embodiment, the value of m (m is a positive integer) can be set according to user requirements, for example, m=20 MHz.
[0085] In this embodiment, the second transmission rate threshold and the fourth transmission rate threshold can be set according to user needs, wherein the second transmission rate threshold and the fourth transmission rate threshold can be the same or different.
[0086] Specifically, when the transmission success rate of a1 is less than T within time T, and the transmission success rate of multiple (such as four) retransmissions of the configuration data is less than W, the device baseband radio frequency module bandwidth configuration update process is triggered; the update strategy is that the transmission channel bandwidth width decreases by one, the first retransmission channel configuration bandwidth width decreases by one and is not equal to the transmission channel configuration width; the second retransmission channel configuration bandwidth width decreases by one, the third retransmission channel configuration bandwidth width decreases by one, and the fourth retransmission channel configuration bandwidth is the minimum bandwidth configuration.
[0087] The data transmission method based on frequency hopping retransmission provided by the embodiment of the present invention reduces the bandwidth of the corresponding channel when the transmission success rate of the corresponding channel is higher than a predetermined second transmission rate threshold, thereby further realizing dynamic optimization allocation of bandwidth resources and step-by-step reliability assurance.
[0088] In some embodiments, after S120, the data transmission method based on frequency hopping retransmission further includes: returning to S110.
[0089] In this embodiment, when a first electronic device transmits data to a second electronic device using a first data transmission configuration parameter, the first data transmission configuration parameter is updated using a statistical transmission indicator, and the updated first data transmission configuration parameter is used as the current data transmission configuration parameter of the first electronic device to continue transmitting data to the second electronic device.
[0090] The first electronic device in this embodiment can dynamically update the first data transmission configuration parameters (mainly adjusting the bandwidth of each channel and the number of retransmissions in real time) according to the real-time situation of the current data transmission. When the first electronic device continuously, periodically or non-periodically sends data to the second electronic device, it can also avoid the interference existing in the previous transmission channel, thereby further increasing the success rate of data transmission.
[0091] The following describes a data transmission device based on frequency hopping retransmission provided by the present invention. The data transmission device based on frequency hopping retransmission described below and the data transmission method based on frequency hopping retransmission described above can refer to each other.
[0092] Figure 5 FIG. 1 is a structural diagram of a data transmission device based on frequency hopping retransmission provided by the present invention, such as Figure 5 As shown, the data transmission device based on frequency hopping retransmission is applied to a first electronic device, which supports configuration to form first data transmission configuration parameters. The first data transmission configuration parameters include channels and the bandwidth and number of retransmissions corresponding to each channel. The device includes: a sending statistics module 510 and a bandwidth update module 520.
[0093] a transmission statistics module 510 for transmitting data to the second electronic device based on the first data transmission configuration parameter and collecting statistics on transmission indicators of each channel; wherein the transmission indicators include at least one of a transmission success rate corresponding to each channel, a percentage of data transmitted by non-first electronic devices, a backoff time, and a backoff number; The bandwidth updating module 520 is configured to update the bandwidth and the number of retransmissions corresponding to each channel in the first data transmission configuration parameter according to the transmission indicator.
[0094] The data transmission device based on frequency hopping retransmission provided by an embodiment of the present invention transmits data to a second electronic device using the first data transmission configuration parameters of the current channel, statistically calculates the transmission indicators under each channel bandwidth, and then updates the first data transmission configuration parameters according to the transmission indicators, thereby realizing data transmission in different bandwidths and frequency bands, avoiding interference existing in the previous transmission channel, increasing the data transmission success rate, and thus improving the reliability of communication between devices.
[0095] Figure 6 An example of a physical structure diagram of an electronic device is shown below. Figure 6As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630, and a communications bus 640. The processor 610, the communications interface 620, and the memory 630 communicate with each other via the communications bus 640. The processor 610 may invoke logic instructions in the memory 630 to execute a data transmission method based on frequency hopping retransmission. The method is applied to a first electronic device, which supports the configuration of first data transmission configuration parameters. The first data transmission configuration parameters include channels, bandwidths corresponding to each channel, and retransmission times. The method includes: transmitting data to a second electronic device based on the first data transmission configuration parameters, and calculating transmission indicators for each channel; the transmission indicators include at least one of a transmission success rate for each channel, a percentage of data received from sources other than the first electronic device, a backoff time, and a backoff number; and updating the bandwidths and retransmission times for each channel in the first data transmission configuration parameters based on the transmission indicators.
[0096] Furthermore, the logic instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0097] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the data transmission method based on frequency hopping retransmission provided by the above methods. The method is applied to a first electronic device. The first electronic device supports configuration to form a first data transmission configuration parameter. The first data transmission configuration parameter includes a channel and the bandwidth and retransmission number corresponding to each channel. The method includes: transmitting data to a second electronic device based on the first data transmission configuration parameter, and counting the transmission indicators of each channel; wherein the transmission indicators include at least one of the transmission success rate of each channel, the proportion of receiving data transmitted by non-first electronic devices, the backoff time and the backoff number; updating the bandwidth and retransmission number corresponding to each channel in the first data transmission configuration parameter according to the transmission indicator.
[0098] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the frequency hopping retransmission-based data transmission method provided by the above-mentioned methods, wherein the method is applied to a first electronic device, and the first electronic device supports configuration to form a first data transmission configuration parameter, wherein the first data transmission configuration parameter includes a channel and the bandwidth and retransmission number corresponding to each channel. The method includes: transmitting data to a second electronic device based on the first data transmission configuration parameter, and counting the transmission index of each channel; wherein the transmission index includes at least one of the transmission success rate corresponding to each channel, the proportion of data received from non-first electronic devices, the backoff time, and the backoff number; and updating the bandwidth and retransmission number corresponding to each channel in the first data transmission configuration parameter according to the transmission index.
[0099] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0100] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A data transmission method based on frequency hopping retransmission, characterized in that: Applied to a first electronic device, the first electronic device supports configuration to form first data transmission configuration parameters, the first data transmission configuration parameters including channels and bandwidth and retransmission times corresponding to each channel, the method comprising the following steps: S110, transmitting data to a second electronic device based on the first data transmission configuration parameter, and calculating transmission indicators of each of the channels; wherein the transmission indicators include at least one of a transmission success rate corresponding to each channel, a proportion of data received from sources other than the first electronic device, a backoff time, and a backoff number; S120: Update the bandwidth and the number of retransmissions corresponding to each channel in the first data transmission configuration parameter according to the transmission indicator.
2. The data transmission method based on frequency hopping retransmission according to claim 1, characterized in that: In the first data transmission configuration parameter, each channel corresponds to a different number of retransmissions; When transmitting data to the second electronic device based on the first data transmission configuration parameter, selecting a channel for retransmission in a predetermined order; The bandwidth of the channel for retransmitting data for the i-th time is ≥ the bandwidth of the channel for retransmitting data for the (i+1)th time, and i is a positive integer greater than 0.
3. The data transmission method based on frequency hopping retransmission according to claim 1, characterized in that: The first electronic device is an access device; After S120, it also includes: The first data transmission configuration parameter is sent to a second electronic device, and the second electronic device configures a receiving parameter according to the first data transmission configuration parameter.
4. The data transmission method based on frequency hopping retransmission according to claim 1, characterized in that: The first data transmission configuration parameter also includes a transmission success rate corresponding to each channel; In S110, when the first electronic device transmits data to the second electronic device based on the first data transmission configuration parameter, the first electronic device selects a channel with a transmission success rate greater than a predetermined first transmission rate threshold to transmit data.
5. The data transmission method based on frequency hopping retransmission according to claim 4, characterized in that: In the first data transmission configuration parameters, the bandwidth of each of the channels increases in a predetermined order; In the S110, transmitting data to the second electronic device based on the first data transmission configuration parameter specifically includes: when retransmitting the data, selecting a channel to retransmit the data according to a predetermined order.
6. The data transmission method based on frequency hopping retransmission according to claim 5, characterized in that: The S120 further includes: When the transmission success rate of the corresponding channel is higher than a predetermined second transmission rate threshold, the bandwidth of the corresponding channel is reduced.
7. The data transmission method based on frequency hopping retransmission according to any one of claims 1 to 6, characterized in that: After S120, the method further includes: Return to S110.
8. A data transmission device based on frequency hopping retransmission, characterized in that: Applied to a first electronic device, the first electronic device supports configuration to form first data transmission configuration parameters, the first data transmission configuration parameters including channels and bandwidth and retransmission times corresponding to each channel, the apparatus comprising: a transmission statistics module, configured to transmit data to the second electronic device based on the first data transmission configuration parameter, and to count transmission indicators of each of the channels; wherein the transmission indicators include at least one of a transmission success rate corresponding to each channel, a proportion of data received from sources other than the first electronic device, a backoff time, and a backoff number; The bandwidth updating module is configured to update the bandwidth and the number of retransmissions corresponding to each channel in the first data transmission configuration parameter according to the transmission indicator.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the data transmission method based on frequency hopping retransmission according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data transmission method based on frequency hopping retransmission according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Data retransmission method and system
CN106850153A
Anti-interference method and system for WIFI device, user equipment and storage medium
CN109617636A
Method for selecting a wireless communication transmission bandwidth and a modulation mode
CN109756301A
Dynamic monitoring and scheduling in retransmission
CN111742512A
Data transmission method and device and electronic equipment
CN119154999A