Data transmission method and apparatus based on frequency hopping retransmission
By using a frequency-hopping retransmission-based data transmission method, the channel bandwidth and retransmission count are dynamically updated to avoid channel interference, thereby improving the data transmission reliability and success rate of wireless communication devices.
Patent Information
- Application Number
- CN202511205000.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-27
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2045-08-27
AI Technical Summary
In existing technologies, wireless communication devices suffer from low data transmission reliability due to interference from other wireless signals in the same and adjacent channels when transmitting data.
By using a frequency hopping retransmission-based data transmission method, transmission metrics for each channel are statistically analyzed, such as transmission success rate, proportion of received non-target data, backoff time, and backoff count. The channel bandwidth and retransmission count are dynamically updated, and channels with different bandwidths 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 reliability of communication between devices.
Smart Images

Figure CN120751505B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, in particular to a data transmission method and device based on frequency hopping retransmission. BACKGROUND
[0002] High real-time and high reliable industrial wireless WIA-FA (Wireless LAN Interference Avoidance, wireless local area network frequency adaptive technology) technology has been applied in multiple key industries, and the MAC (Media Access Control) layer of WIA-FA network technology adopts a TDMA (Time Division Multiple Access) based access mechanism, which can ensure deterministic communication period and delay, and is suitable for industrial control applications.
[0003] In the related art, when a wireless communication device transmits data, frequency hopping retransmission combined with channel monitoring and backoff is used to avoid interference of data transmission signals. Since the channel bandwidth occupied by data transmission is configured in advance, other wireless signals on the same channel and adjacent channels will still interfere with the transmission data signals during actual transmission, resulting in low data transmission reliability. SUMMARY
[0004] The present application provides a data transmission method and device based on frequency hopping retransmission to solve the problem of low data transmission reliability caused by interference of other wireless signals on the same channel and adjacent channels with the transmission data signals when a wireless communication device transmits data in the prior art.
[0005] The present application provides a data transmission method based on frequency hopping retransmission, applied to a first electronic device supporting configuration to form a first data transmission configuration parameter, the first data transmission configuration parameter including channels and corresponding bandwidth and retransmission times for each channel, the method comprising the following steps:
[0006] S110, transmitting data to a second electronic device based on the first data transmission configuration parameter, and counting transmission indicators of each channel; wherein the transmission indicators include at least one of transmission success rate, proportion of receiving non-first electronic device transmission data, backoff time and backoff times corresponding to each channel;
[0007] S120, updating the bandwidth and retransmission times corresponding to each channel in the first data transmission configuration parameter according to the transmission indicators.
[0008] According to the data transmission method based on frequency hopping retransmission provided by the present application, each channel in the first data transmission configuration parameter corresponds to different retransmission times.
[0009] selecting a channel to retransmit data in a predetermined order when transmitting data to the second electronic device based on the first data transmission configuration parameter;
[0010] wherein a bandwidth of a channel for the ith retransmission data is greater than a bandwidth of a channel for the i+1th retransmission data, i being a positive integer greater than 0.
[0011] According to the data transmission method based on frequency hopping retransmission provided by the application, the first electronic device is an access device.
[0012] After S120, the method further comprises:
[0013] sending the first data transmission configuration parameter to the second electronic device, and the second electronic device configures receiving parameters according to the first data transmission configuration parameter.
[0014] According to the data transmission method based on frequency hopping retransmission provided by the application,
[0015] The first data transmission configuration parameter further comprises a transmission success rate corresponding to each channel.
[0016] 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.
[0017] According to the data transmission method based on frequency hopping retransmission provided by the application, in the first data transmission configuration parameter, the bandwidth of each channel increases in a predetermined order.
[0018] In S110, data is transmitted to the second electronic device based on the first data transmission configuration parameter, specifically including: when retransmitting data, selecting a channel to retransmit data according to a predetermined order.
[0019] According to the data transmission method based on frequency hopping retransmission provided by the application, S120 further comprises:
[0020] 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.
[0021] According to the data transmission method based on frequency hopping retransmission provided by the application, after S120, the method further comprises:
[0022] Return to S110.
[0023] The application further provides a data transmission device based on frequency hopping retransmission, applied to a first electronic device, wherein the first electronic device supports configuring a first data transmission configuration parameter, and the first data transmission configuration parameter comprises channels and bandwidths and retransmission times corresponding to each channel.
[0024] A sending statistics module is configured to transmit data to a second electronic device based on the first data transmission configuration parameter, and to statistically analyze transmission indexes of each channel, wherein the transmission indexes comprise at least one of a transmission success rate, a proportion of receiving data transmitted by a device other than the first electronic device, a backoff time and a backoff times corresponding to each channel.
[0025] A bandwidth updating module is configured to update the bandwidth and the retransmission times corresponding to each channel in the first data transmission configuration parameter according to the transmission indexes.
[0026] The application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the data transmission method based on frequency hopping retransmission according to any one of the above description when executing the computer program.
[0027] The application further provides a non-transitory computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the data transmission method based on frequency hopping retransmission according to any one of the above description.
[0028] The application further provides a computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the data transmission method based on frequency hopping retransmission according to any one of the above description.
[0029] The data transmission method and device based on frequency hopping retransmission provided by the application can transmit data in different bandwidths and frequency bands, that is, realize frequency hopping retransmission, reduce interference existing in the last transmission channel, increase the data transmission success rate, improve the data transmission efficiency, and thus improve the reliability of communication between devices. BRIEF DESCRIPTION OF DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the application, and those skilled in the art can obtain other drawings according to these drawings without creative labor.
[0031] Figure 1is a flowchart of a data transmission method based on frequency hopping retransmission provided by the present application.
[0032] Figure 2 is one of the schematic diagrams of dividing a plurality of sub-bandwidths based on a maximum channel bandwidth provided by the present application.
[0033] Figure 3 is another schematic diagram of dividing a plurality of sub-bandwidths based on a maximum channel bandwidth provided by the present application.
[0034] Figure 4 is a schematic diagram of device A sending data to device B through four times of data retransmission provided by the present application.
[0035] Figure 5 is a structural schematic diagram of a data transmission device based on frequency hopping retransmission provided by the present application.
[0036] Figure 6 is a structural schematic diagram of an electronic device provided by the present application. DETAILED DESCRIPTION
[0037] To make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below with reference to the drawings in the present application. Obviously, the described embodiments are some embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.
[0038] The data transmission method and device based on frequency hopping retransmission of the present application will be described below. Figures 1-5
[0039] Figure 1 is a flowchart of a data transmission method based on frequency hopping retransmission provided by the present application, as shown in Figure 1 The first electronic device supports configuring to form a first data transmission configuration parameter, and the first data transmission configuration parameter includes a channel and a bandwidth and a retransmission number corresponding to each channel. The method includes the following steps:
[0040] S110, transmitting data to a second electronic device based on the first data transmission configuration parameter, and counting transmission indexes of each channel; wherein the transmission index includes at least one of a transmission success rate, a proportion of receiving non-first electronic device transmission data, a backoff time and a backoff number corresponding to each channel.
[0041] In this step, the first electronic device can be an access device, and the second electronic device can be a field device or a data receiving end.
[0042] In this step, the first electronic device supports the corresponding channel and channel bandwidth of the data retransmission setting in different wireless communication scenarios, and the baseband radio frequency module of the first electronic device supports the configuration of monitoring the wireless signal on multiple channels and channel bandwidths.
[0043] For example, 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 a board AC) can be configured to issue radio frequency parameters (such as channel and bandwidth) through a centralized management platform and coordinate the synchronous update of field devices in the entire network.
[0044] In an industrial Internet of Things access network scenario, the first electronic device can be an industrial gateway / edge router, and in a WirelessHART (a wireless communication standard) network, the gateway can issue bandwidth configuration to field devices through an out-of-band management interface (such as infrared).
[0045] In a 5G (5th Generation Mobile Communication Technology) mobile communication network scenario, the first electronic device can be a baseband unit (CU / DU), which can issue specified frequency band bandwidth parameters to a radio frequency unit (Radio Remote Unit, RU) through an eCPRI (enhanced universal wireless interface) interface and monitor the stability of the RU transmission power; wherein the CU is a centralized unit (Centralized Unit), and the DU is a distributed unit (Distributed Unit).
[0046] In this embodiment, the current channel includes multiple basic channels (such as a basic channel with a bandwidth of 20MHz); the maximum channel bandwidth supported by the first electronic device is determined according to 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, and the specific division manner is determined according to user requirements, and the embodiment is not limited in detail.
[0047] Figure 2 is one of the schematic diagrams provided by the present application based on the division of multiple sub-bandwidths from the maximum channel bandwidth, and Figure 2 In the embodiment shown in the figure, the maximum channel bandwidth supported by the first electronic device is 160MHz, and the maximum channel bandwidth can be divided into 3 80MHz bandwidths, 7 40MHz bandwidths, and 8 20MHz bandwidths.
[0048] In this embodiment, the first data transmission configuration parameter includes the bandwidths of a plurality of preconfigured channels and the number of retransmissions. The channels can be divided into a transmission channel and a retransmission channel. The transmission channel is a first transmission channel, and the retransmission information is a channel for retransmission after a transmission failure.
[0049] In this embodiment, the number of channel bandwidths in the first data transmission configuration parameter can be related to the preset number of retransmissions.
[0050] For example, the preset number of retransmissions is 4, and since different retransmission stages use frequency bands of different bandwidth sizes (see the frequency hopping retransmission mechanism for details), the first data transmission configuration parameter can include a maximum channel bandwidth supported by the device and four channel bandwidths (such as sub-bandwidths of the maximum channel bandwidth) for data retransmission.
[0051] In this embodiment, the transmission success rate represents the probability of successful reception of data by the receiving end, and can include the probability of one-time transmission success and the retransmission success rate. The retransmission success rate represents the probability of successful reception of retransmitted data by the receiving end.
[0052] In this embodiment, the transmission indicator can be the transmission success rate. By statistically analyzing the probability of successful reception of data by the receiving end when the data is transmitted in channels of different frequency bands and different bandwidths, and by preferentially selecting a channel bandwidth with a high retransmission success rate, the interference of wireless signals in the same channel or other frequency bands of adjacent channels can be reduced, thereby improving the reliability of data transmission by the first electronic device through the current channel.
[0053] In this embodiment, the transmission indicator can also include the proportion of received non-device data, the backoff time, and the backoff number. The proportion of received non-device data refers to the proportion of non-target transmission data frames captured by the device when listening to the channel in the total detection frames (used to reflect the number of channel occupants). The backoff time of a busy channel refers to the average waiting time of the device entering a random backoff state due to a busy channel (used to reflect the channel competition intensity). The backoff number of a busy channel is the number of times the node actively delays transmission and reattempts to access the channel when detecting that the channel is in a busy state.
[0054] Specifically, when the proportion of received non-device data and the backoff time of a busy channel increase at the same time, it indicates that the current channel has been dominated and occupied by other devices. At this time, the first electronic device should actively avoid and switch to a better channel for data transmission.
[0055] S120, updating the bandwidths and the number of retransmissions of the corresponding channels in the first data transmission configuration parameter according to the transmission indicator.
[0056] In this step, the first electronic device supports configuring the number of retransmissions and the corresponding channel and channel bandwidth of each retransmission. In the retransmission stage, a smaller bandwidth and a different bandwidth frequency band are selected each time, which can increase the success rate of data retransmission, thereby ensuring the reliability of data transmission.
[0057] For example, when the first electronic device triggers data retransmission, if 4 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 value) bandwidth channel to transmit data, thereby realizing the selection of a smaller bandwidth channel for data transmission in the retransmission stage.
[0058] For example, when an 80MHz channel bandwidth is selected for data retransmission, if there are three frequency bands configured with an 80MHz channel bandwidth, within a certain time, it is detected that the transmission success rate of the first frequency band is lower than the preset first transmission rate threshold, and the first frequency band is not suitable for data transmission. Subsequently, when data retransmission is performed again using an 80MHz channel bandwidth, the second frequency band or the third frequency band is preferentially considered for data transmission. In this way, different bandwidth frequency bands can be selected for data transmission in the retransmission stage.
[0059] Figure 3 is a second schematic diagram for dividing a plurality of sub-bandwidths based on a maximum channel bandwidth provided by the application. Figure 3 In the embodiment shown in the figure, device A and device B are configured with a current channel bandwidth of 160MHz (i.e., a1); meanwhile, each channel bandwidth is represented by a1 to d8 as follows: there are 3 frequency bands with a current channel bandwidth of 80MHz, i.e., b1-b3; there are 7 frequency bands with a current channel bandwidth of 40MHz, i.e., c1-c7; and there are 8 frequency bands with a current channel bandwidth of 20MHz, i.e., d1-d8.
[0060] In the process of transmitting data from device A to device B, the first retransmission is configured as b1, the second retransmission is configured as c3, the third retransmission is configured as d7, and the fourth retransmission is configured as d1. Similarly, the device baseband radio frequency module is configured to receive and monitor a1, b1, c3, d7, and d1, i.e., according to the first data transmission configuration parameter: a1→b1→c3→d7→d1. The transmission success rate P of each channel bandwidth corresponding to the frequency band in the above configuration parameter 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:
[0061] P b1 <P 阈值1 ≤P b2 ≤P b3 ; then the first retransmission can use b2 or b3 for data transmission, and b2 is preferentially used.
[0062] If the second retransmission exists the following cases:
[0063] P c3 <P 阈值2 ; and P c4 to P c7 are all greater than P 阈值2 , one of c4 to c7 can be used for data transmission, and c4 is used preferentially;
[0064] If the third retransmission exists the following cases:
[0065] P d7 <P 阈值3 , P d8 > P 阈值3 , other frequency band comparison cases can not be considered preferentially, and d8 is used for data transmission;
[0066] If the fourth retransmission exists the following cases:
[0067] P d2 <P 阈值4 , P d3 > P 阈值4 , other frequency band comparison cases can not be considered preferentially, and d3 is used for data transmission;
[0068] That is, the second data transmission configuration parameter can be configured as: a1→b2→c4→d8→d3.
[0069] In other embodiments, if the first electronic device does not trigger retransmission by transmitting through the current channel, the first electronic device directly sends data to the second electronic device through a frequency band with a channel bandwidth of 160MHz.
[0070] The data transmission method based on frequency hopping retransmission provided by the embodiment of the application, in the case of transmitting data to the second electronic device based on the first data transmission configuration parameter of the current channel, the transmission indicators of the data in each channel are counted, and the first data transmission configuration parameter is updated according to the transmission indicators, so that data is transmitted in different bandwidths and frequency bands, interference existing in the last transmission channel is avoided, the data transmission success rate is increased, and the reliability of communication between devices is improved.
[0071] In some embodiments, in the first data transmission configuration parameter, each channel corresponds to a different number of retransmissions, and when data is transmitted to the second electronic device based on the first data transmission configuration parameter, the channels are selected for retransmission in a predetermined order; the bandwidth of the channel for the i-th retransmission data is greater than the bandwidth of the channel for the i+1-th retransmission data, and i is a positive integer greater than 0.
[0072] In this embodiment, the first data transmission configuration parameter includes a maximum channel bandwidth supported by the device and sub-bandwidths divided according to the maximum channel bandwidth, and each sub-bandwidth corresponds to a frequency band used for a different data retransmission stage.
[0073] For example, the first electronic device supports a maximum channel bandwidth of 160 MHz for a data transmission stage (without triggering retransmission), and after determining that the first electronic device triggers retransmission, a smaller sub-bandwidth (such as 80 MHz, 40 MHz, and 20 MHz) corresponding to a frequency band is selected for data transmission.
[0074] In this embodiment, the sub-bandwidth division type can be related to a preset number of retransmissions, for example, when the preset number of retransmissions is 2, 160 MHz can 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 can 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 can be divided into 3 80 MHz bandwidths, 7 40 MHz bandwidths, and 8 20 MHz bandwidths, and so on.
[0075] 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 performed using a frequency band with a 20 MHz bandwidth.
[0076] In this embodiment, the data retransmission strategy can be set to select a channel with the same bandwidth or a channel smaller than the current bandwidth for data retransmission.
[0077] Figure 4 is a schematic diagram of device A sending data to device B through four data retransmissions provided by the present application, in which Figure 4 In the embodiment shown in the figure, device A uses a 160 MHz bandwidth channel to send data to device B, and both devices support receiving wireless frame signals transmitted on all 80 MHz, 40 MHz, 20 MHz, and 160 MHz bandwidths, and the number of retransmissions is configured to be 4, so the number of channels in the first data transmission configuration parameter is 5, the first channel is used for the data transmission stage, and a 160 MHz bandwidth channel is used to transmit data, under the condition of triggering the data retransmission mechanism, the second channel is used for the first data retransmission stage, and an 80 MHz bandwidth channel is used to transmit data, the third channel is used for the second data retransmission stage, and a 40 MHz bandwidth channel is used to transmit data, the fourth channel is used for the third data retransmission stage, and a 20 MHz bandwidth channel is used to transmit data, and the fifth channel is used for the fourth data retransmission stage, and a 20 MHz bandwidth channel is also used to transmit data.
[0078] The data transmission method based on frequency hopping retransmission provided by the embodiment of the application increases the success rate of data retransmission by selecting a smaller bandwidth channel when the bandwidth of the channel for the ith time of retransmission is greater than or equal to the bandwidth of the channel for the (i+1)th time of retransmission, and by using different bandwidth frequency bands, thereby further improving the reliability of data transmission.
[0079] In some embodiments, the first electronic device is an access device; after S120, the method further comprises: sending the first data transmission configuration parameter to the second electronic device, and configuring the receiving parameter according to the first data transmission configuration parameter.
[0080] In this embodiment, the second electronic device is a field device.
[0081] In this embodiment, a wireless local area network composed of two or more wireless devices is supported, for example, a device A and a device B support wireless functions, wherein the device A is an access device and the device B is a field device; the device A and the device B support data retransmission and set corresponding channels and channel bandwidths; the baseband radio frequency module of each of the device A and the device B supports configuration of listening to wireless frame signals on multiple channels and channel bandwidths.
[0082] In this embodiment, the baseband radio frequency module of the device A and the device B can be configured to support reception of wireless frame signals transmitted on all of 80MHz, 40MHz, 20MHz and 160MHz bandwidths, and the device A and the device B can use any channel bandwidth to transmit wireless data, which can be normally received at the receiving end; meanwhile, the baseband radio frequency module of the device A and the device B supports configuration of receiving wireless frame signals transmitted on part of 80MHz, 40MHz, 20MHz and 160MHz bandwidths.
[0083] In the implementation operation, the baseband radio frequency module of the device A needs to keep the configuration of the channel bandwidth for listening and receiving consistent with the configuration of the channel bandwidth that can be used by the baseband radio frequency module of the device B; similarly, the baseband radio frequency module of the device B needs to keep the configuration of the channel bandwidth for listening and receiving consistent with the configuration of the channel bandwidth that can be used by the baseband radio frequency module of the device A, so as to ensure that the data transmitted by the sending device can be listened and received by the baseband radio frequency module of the receiving end.
[0084] 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 baseband radio frequency module of the access device issues the second data transmission configuration parameter to the field device, waits for all devices in the network to confirm that the second data transmission configuration parameter has been received, and synchronizes the update of the channel bandwidth parameter of the devices in the network to take effect.
[0085] The data transmission method based on frequency hopping retransmission provided by the embodiment of the application can send the updated first data transmission configuration parameter to the field device through the access device, the field device supports configuring the data retransmission times and the channel bandwidth, can ensure that each device in the current communication network obtains the channel bandwidth update information in time and updates the parameter configuration, thereby improving the timeliness of data transmission in the network.
[0086] In some embodiments, the first data transmission configuration parameter further comprises a 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, the first electronic device selects a channel with a transmission success rate greater than a predetermined first transmission rate threshold to transmit data.
[0087] In this embodiment, when the transmission success rate corresponding to the target number of channel bandwidths in the first data transmission configuration parameter is lower than the first transmission rate threshold, a target number of candidate channel bandwidths are selected from the 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.
[0088] In this embodiment, the first transmission rate threshold can be set according to user demand.
[0089] In some embodiments, the candidate channel bandwidth comprises an unused channel bandwidth and an effective bandwidth that has been used in the multiple channel bandwidths; wherein the transmission success rate corresponding to the effective bandwidth that has been used is higher than the first transmission rate threshold.
[0090] In this embodiment, the candidate channel bandwidth comprises an unused channel bandwidth and an effective bandwidth that has been used in the multiple channel bandwidths; wherein the transmission success rate corresponding to the effective bandwidth that has been used is higher than the first transmission rate threshold.
[0091] Specifically, (1) the target number can be multiple continuous data.
[0092] For example, when the first electronic device uses different frequency band sub-bandwidths for four times of data retransmission, 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 meeting the requirements are selected from other same bandwidth channels not including the three channels or from new channels, and the transmission success rates corresponding to the three channels meeting the requirements are all greater than the first transmission rate threshold.
[0093] (2) The target number can be multiple discontinuous data.
[0094] For example, when the first electronic device uses bandwidths of different channels for four times of data retransmission, and the transmission success rates of the first, third and fourth retransmission channels are all less than the first transmission rate threshold, three channels that meet the requirements are selected from other channels with the same bandwidth or from new channels, and the transmission success rates of the three channels that meet the requirements are all greater than the first transmission rate threshold.
[0095] The data transmission method based on frequency hopping retransmission provided in the embodiments of the present application 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 the first electronic device transmits data to the second electronic device based on the first data transmission configuration parameters.
[0096] In some embodiments, the bandwidths of the channels in the first data transmission configuration parameters increase in a predetermined order; and in S110, the data is transmitted to the second electronic device based on the first data transmission configuration parameters, specifically including: when the retransmission data is transmitted, the channels are selected to retransmit the data according to the predetermined order.
[0097] For example, the bandwidths of the multiple channels in the first data transmission configuration parameters include one channel bandwidth for transmitting data and j-1 channel bandwidths for retransmitting data in sequence, the channel bandwidth for transmitting data is greater than the channel bandwidth for retransmitting data, and j is a positive integer greater than or equal to 1; and updating the first data transmission configuration parameters according to the transmission indicators further includes: in the case that the transmission success rate of the channel bandwidth for transmitting data is higher than a third transmission rate threshold, and the transmission success rates of the channel bandwidths for retransmitting data are all higher than a first transmission rate threshold, the widths of the first j-1 channel bandwidths are increased by n, and the width of the jth channel bandwidth is set to the width of the base channel. In this embodiment, the value of n (n is a positive integer) can be set according to user requirements, for example, n=20MHz.
[0098] In this embodiment, the first transmission rate threshold and the third transmission rate threshold can be set according to user requirements, and the first transmission rate threshold and the second transmission rate threshold can be the same or different.
[0099] In Figure 3 In the embodiment shown in FIG. 8, when the transmission success rate of a1 is greater than T and the transmission success rates of the four times of retransmission configuration data are all greater than W within T time, the baseband radio frequency module of the device triggers a bandwidth configuration update process.
[0100] Specifically, the update strategy is: the width of the transmission channel bandwidth is increased by one, the width of the first retransmission channel configuration bandwidth is increased by one and is not equal to the width of the transmission channel; the width of the second retransmission channel configuration bandwidth is increased by one, the width of the third retransmission channel configuration bandwidth is increased by one, and the width of the fourth retransmission channel configuration bandwidth is the lowest bandwidth configuration (for example, 20MHz as mentioned in the above embodiment).
[0101] In this embodiment, if the first electronic device monitors that the transmission success rates of each channel bandwidth in the first data transmission configuration parameter are greater than the corresponding transmission rate threshold, the above bandwidth updating manner is repeated to obtain a new channel bandwidth configuration parameter (the first data transmission configuration parameter) for the next data transmission.
[0102] The data transmission method based on frequency hopping retransmission provided by the embodiment of the application increases the bandwidth of each channel in the first data transmission configuration parameter in a predetermined order, and in the S110, transmits data to the second electronic device based on the first data transmission configuration parameter, specifically including: when retransmitting data, selecting a channel to retransmit data according to the predetermined order, so that dynamic optimization allocation of bandwidth resources and step-by-step guarantee of reliability can be realized.
[0103] In the S120, each channel bandwidth is updated by the following steps: when the transmission success rate of the corresponding channel is higher than the predetermined second transmission rate threshold, the bandwidth of the corresponding channel is reduced.
[0104] In this embodiment, if the multiple channel bandwidths on the first data transmission configuration parameter include one channel bandwidth for transmitting data and j-1 channel bandwidths for retransmitting data in turn, the channel bandwidth for transmitting data is greater than the channel bandwidth for retransmitting data, and j is a positive integer greater than or equal to 1; and the first data transmission configuration parameter is updated according to the transmission index, further including: in the case that the transmission success rate of the channel bandwidth for transmitting data is lower than the fourth transmission rate threshold, and the transmission success rates of each channel bandwidth for retransmitting data are lower than the second transmission rate threshold, the width of the first j-1 channel bandwidths is reduced by m, and the width of the jth channel bandwidth is set to the width of the basic channel.
[0105] In this embodiment, the value of m (m is a positive integer) can be set according to user demand, for example, m = 20 MHz.
[0106] In this embodiment, the second transmission rate threshold and the fourth transmission rate threshold can be set according to user demand, and the second transmission rate threshold and the fourth transmission rate threshold can be the same or different.
[0107] Specifically, when the transmission success rate of a1 is less than T within T time, and the transmission success rates of the multiple (such as four) retransmission configuration data are all less than W, the device baseband radio frequency module updates the bandwidth configuration update process; the update strategy is that the transmission channel bandwidth width is reduced by one, the first retransmission channel configuration bandwidth width is reduced by one and is not equal to the transmission channel configuration width; the second retransmission channel configuration bandwidth width is reduced by one, the third retransmission channel configuration bandwidth width is reduced by one, and the fourth retransmission channel configuration bandwidth is the lowest bandwidth configuration.
[0108] The data transmission method based on frequency hopping retransmission provided in the embodiment of the application reduces the bandwidth of the corresponding channel when the transmission success rate of the corresponding channel is higher than the predetermined second transmission rate threshold, and further realizes dynamic optimization allocation of bandwidth resources and step-by-step guarantee of reliability.
[0109] In some embodiments, after S120, the data transmission method based on frequency hopping retransmission further comprises: returning to S110.
[0110] In this embodiment, when the first electronic device transmits data to the second electronic device through the first data transmission configuration parameter, the first data transmission configuration parameter is updated by using the statistical transmission index, 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.
[0111] The first electronic device in this embodiment can dynamically update the first data transmission configuration parameter (mainly adjust the bandwidth of each channel and the number of retransmissions in real time) according to the real-time situation of the current data transmission, and can also avoid the interference existing in the last transmission channel when the first electronic device continuously, periodically or non-periodically transmits data to the second electronic device, thereby further increasing the data transmission success rate.
[0112] The data transmission device based on frequency hopping retransmission provided in the application is described below, and the data transmission device based on frequency hopping retransmission described below can be mutually corresponding and referred to the data transmission method based on frequency hopping retransmission described above.
[0113] Figure 5 is a structural schematic diagram of the data transmission device based on frequency hopping retransmission provided in the application, as Figure 5 shown, the data transmission device based on frequency hopping retransmission 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 a bandwidth and a number of retransmissions corresponding to each channel, and the device includes a transmission statistics module 510 and a bandwidth update module 520.
[0114] The transmission statistics module 510 is configured to transmit data to a second electronic device based on the first data transmission configuration parameter and to statistically record transmission indexes of each channel; wherein the transmission index includes at least one of a transmission success rate corresponding to each channel, a proportion of receiving non-first electronic device transmission data, a backoff time and a backoff number.
[0115] The bandwidth update 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 index.
[0116] The data transmission device based on frequency hopping retransmission provided by the embodiment of the application realizes data transmission in different bandwidths and frequency bands, avoids interference existing in the last transmission channel, increases the data transmission success rate, and thus improves the reliability of communication between devices.
[0117] Figure 6 An example of a schematic diagram of the physical structure of an electronic device is shown in Figure 6 The electronic device can include a processor 610, a communications interface 620, a memory 630, and a communications bus 640, wherein the processor 610, the communications interface 620, and the memory 630 complete mutual communication through the communications bus 640. The processor 610 can invoke a logical instruction in the memory 630 to execute a data transmission method based on frequency hopping retransmission. The method is applied to a first electronic device that supports configuration to form a first data transmission configuration parameter. The first data transmission configuration parameter includes a channel and a corresponding bandwidth and retransmission number of each channel. The method includes transmitting data to a second electronic device based on the first data transmission configuration parameter and counting transmission indicators of each channel. The transmission indicators include at least one of a transmission success rate, a proportion of receiving non-first electronic device transmission data, a backoff time, and a backoff number corresponding to each channel. The bandwidth and retransmission number corresponding to each channel in the first data transmission configuration parameter are updated according to the transmission indicators.
[0118] In addition, the logical instruction in the memory 630 described above can be implemented in the form of a software function unit and sold or used as an independent product. When used, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the embodiments of the application. The foregoing storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.
[0119] In another aspect, the present application also provides a computer program product, which comprises a computer program, the computer program being stored in a non-transitory computer readable storage medium, and the computer program being capable of being executed by a processor to enable a computer to perform the frequency hopping retransmission based data transmission method provided by the above method, the method being applied to a first electronic device, the first electronic device being capable of configuring a first data transmission configuration parameter, the first data transmission configuration parameter comprising channels and bandwidths and retransmission times corresponding to the channels, the method comprising: transmitting data to a second electronic device based on the first data transmission configuration parameter, and counting transmission indexes of the channels; wherein the transmission indexes comprise at least one of a transmission success rate, a proportion of receiving data transmitted by a device other than the first electronic device, a backoff time, and a backoff number corresponding to each channel; and updating the bandwidths and the retransmission times corresponding to the channels in the first data transmission configuration parameter according to the transmission indexes.
[0120] In yet another aspect, the present application also provides a non-transitory computer readable storage medium, which stores a computer program, the computer program being capable of being executed by a processor to enable a computer to perform the frequency hopping retransmission based data transmission method provided by the above method, the method being applied to a first electronic device, the first electronic device being capable of configuring a first data transmission configuration parameter, the first data transmission configuration parameter comprising channels and bandwidths and retransmission times corresponding to the channels. The method comprises: transmitting data to a second electronic device based on the first data transmission configuration parameter, and counting transmission indexes of the channels; wherein the transmission indexes comprise at least one of a transmission success rate, a proportion of receiving data transmitted by a device other than the first electronic device, a backoff time, and a backoff number corresponding to each channel; and updating the bandwidths and the retransmission times corresponding to the channels in the first data transmission configuration parameter according to the transmission indexes.
[0121] The apparatus embodiments described above are merely illustrative, and the units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., they can be located in one place, or distributed on multiple network units. Part or all of the modules can be selected to achieve the purposes of the present embodiment according to actual needs. Those skilled in the art can understand and implement it without creative labor.
[0122] Those skilled in the art can clearly understand the technical solutions of the various embodiments from the above description of the embodiments, and the various embodiments can be implemented by means of software with the necessary general hardware platforms, and of course, can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that makes a contribution, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0123] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features therein; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method of data transmission based on frequency hopping retransmission, characterized in that, The method is applied to a first electronic device supporting configuration of a first data transmission configuration parameter, the first data transmission configuration parameter including channels and bandwidths and retransmission times corresponding to the channels, and the method comprises the following steps: S110, transmitting data to a second electronic device based on the first data transmission configuration parameter and counting transmission indexes of the channels; wherein the transmission indexes include transmission success rates, proportions of receiving data transmitted by devices other than the first electronic device, backoff times and backoff times corresponding to the channels; S120, updating the bandwidths and retransmission times corresponding to the channels in the first data transmission configuration parameter according to the transmission indexes; each of the channels in the first data transmission configuration parameter corresponds to different retransmission times; When transmitting data to the second electronic device based on the first data transmission configuration parameter, the channels are selected in a predetermined order for retransmission; Wherein the bandwidth of the channel for the ith retransmission data is greater than the bandwidth of the channel for the i+1th retransmission data, and i is a positive integer greater than 0.
2. 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, the method further comprises: Sending the first data transmission configuration parameter to the second electronic device, and the second electronic device configures reception parameters according to the first data transmission configuration parameter.
3. The data transmission method based on frequency hopping retransmission according to claim 1, characterized in that The first data transmission configuration parameter further includes transmission success rates corresponding to the channels; In S110, when the first electronic device transmits data to the second electronic device based on the first data transmission configuration parameter, the channel with a transmission success rate greater than a predetermined first transmission rate threshold is selected to transmit data.
4. The data transmission method based on frequency hopping retransmission according to claim 1, characterized in that, The multiple channel bandwidths on the first data transmission configuration parameter include one channel bandwidth for transmitting data and j-1 channel bandwidths for retransmitting data in turn, the channel bandwidth for transmitting data is greater than the channel bandwidth for retransmitting data, and j is a positive integer greater than or equal to 1. In S120, in the case that the transmission success rate corresponding to the channel bandwidth for transmitting data is higher than a third transmission rate threshold, and the transmission success rates corresponding to the channel bandwidths for retransmitting data are all higher than a first transmission rate threshold, the widths of the first j-1 channel bandwidths are increased by n, and the width of the jth channel bandwidth is set as the width of a basic channel; n is a positive integer.
5. The frequency-hopping retransmission-based data transmission method of claim 1, wherein, The multiple channel bandwidths on the first data transmission configuration parameter include one channel bandwidth for transmitting data and j-1 channel bandwidths for retransmitting data in turn, the channel bandwidth for transmitting data is greater than the channel bandwidth for retransmitting data, and j is a positive integer greater than or equal to 1. In S120, in the case that the transmission success rate corresponding to the channel bandwidth for transmitting data is lower than a fourth transmission rate threshold, and the transmission success rates corresponding to the channel bandwidths for retransmitting data are all lower than a second transmission rate threshold, the widths of the first j-1 channel bandwidths are decreased by m, and the width of the jth channel bandwidth is set as the width of a basic channel, and m is a positive integer.
6. The frequency-hopping retransmission-based data transmission method according to any one of claims 1 to 5, characterized by, After S120, the method further comprises: Returning to S110.
7. A data transmission apparatus based on frequency hopping retransmission, which applies the data transmission method based on frequency hopping retransmission according to claim 1, characterized by Applied to a first electronic device, the first electronic device supports configuring forming first data transmission configuration parameters, the first data transmission configuration parameters including channels and bandwidths and retransmission times corresponding to each channel, the device comprising: A sending statistics module is configured to transmit data to a second electronic device based on the first data transmission configuration parameters, and to count transmission indicators of each channel; wherein the transmission indicators include at least one of a transmission success rate, a proportion of receiving data transmitted by a device other than the first electronic device, a backoff time, and a backoff number corresponding to each channel; A bandwidth updating module is configured to update the bandwidth and the retransmission time corresponding to each channel in the first data transmission configuration parameters according to the transmission indicators.
8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, The processor executes the computer program to implement the data transmission method based on frequency hopping retransmission as claimed in any one of claims 1 to 6. 9.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the data transmission method based on frequency hopping retransmission as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Method for selecting a wireless communication transmission bandwidth and a modulation mode
CN109756301A
Load based bandwidth selection
WO2024256389A1