Data packet transmission method, electronic device and readable storage medium

By optimizing the data packet transmission mode and insertion interval in the low Earth orbit satellite-to-ground link, the problems of long data packet transmission time and low efficiency were solved, and rapid data packet repair and efficient transmission were achieved.

CN116545579BActive Publication Date: 2026-03-03HARBIN INST OF TECH SHENZHEN GRADUATE SCHOOL +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310357703.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2026-03-03
Estimated Expiration
2043-03-30

AI Technical Summary

Technical Problem

In low Earth orbit high-throughput satellite-to-ground links, high bit error rates lead to data packet transmission failures. Existing technologies, which use encoded packet retransmission to repair the failures, result in long data packet transmission times and low efficiency.

Method used

By acquiring the set of data packets to be transmitted and their transmission modes, the transmission performance parameter values ​​under various transmission scenarios are predicted, the target insertion interval is selected to optimize data packet transmission, and combined with full-duplex or half-duplex transmission modes, data packets that fail to transmit are repaired in a timely manner.

Benefits of technology

It shortens the data packet repair time, improves data packet transmission efficiency, adapts to data packet transmission under different signal-to-noise ratio environments, and avoids inefficiency caused by incompatible transmission modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116545579B_ABST
    Figure CN116545579B_ABST
Patent Text Reader

Abstract

The application discloses a data packet transmission method, an electronic device and a readable storage medium, and applies to the technical field of communication. The method comprises the following steps: obtaining a set of to-be-transmitted data packets, and obtaining a transmission mode corresponding to the set of to-be-transmitted data packets; according to the number of the to-be-transmitted data packets, predicting a transmission performance parameter value when the set of to-be-transmitted data packets is transmitted in a plurality of transmission scenarios, wherein one transmission scenario is defined by the transmission mode and one preset insertion interval, and the insertion interval is the number of data packets spaced between adjacent encoding packets when an encoding packet is inserted in the data packet; determining a target insertion interval corresponding to the transmission performance parameter satisfying a preset performance condition from various preset insertion intervals; and transmitting the set of to-be-transmitted data packets according to the transmission mode and the target insertion interval. The application provides a scheme for selecting the transmission mode and the target insertion interval, and transmitting the data packets according to the transmission mode and the target insertion interval, so that the technical problem of low data packet transmission efficiency is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a data packet transmission method, electronic device, and readable storage medium. Background Technology

[0002] With the rapid development of science and technology, communication technology has also become increasingly mature. When using high-throughput satellites in low Earth orbit to transmit data packets via satellite-to-ground links, the high error rate of these links can easily lead to data packet transmission failures. To ensure the accuracy of data packet transmission, repeated retransmissions are necessary, resulting in long data packet transmission times.

[0003] Currently, to address the issue of long data packet transmission times, coded packets are sent after the data packets have been transmitted to repair any failed transmissions. If data packet repair fails, the coded packets are retransmitted until all failed data packets have been repaired. While this method can reduce data packet transmission time to some extent, it can lead to prolonged data packet repair times when the number of data packets or the number of failed transmissions is large, resulting in still low data packet transmission efficiency. Summary of the Invention

[0004] The main objective of this application is to provide a data packet transmission method, an electronic device, and a readable storage medium, aiming to solve the technical problem of low data packet transmission efficiency in the prior art.

[0005] To achieve the above objectives, this application provides a data packet transmission method, the data packet transmission method comprising:

[0006] Obtain a set of data packets to be transmitted, wherein the set of data packets to be transmitted includes at least one data packet to be transmitted, and obtain the transmission mode corresponding to the data packet to be transmitted;

[0007] Based on the number of data packets to be transmitted, the transmission performance parameter values ​​are predicted for transmitting the set of data packets to be transmitted under various transmission scenarios. One of the transmission scenarios is defined by the transmission mode and a preset insertion interval. The preset insertion interval is different for different transmission scenarios. The insertion interval is the number of data packets that are separated between adjacent encoded packets when inserting encoded packets into data packets.

[0008] A target insertion interval is determined from various preset insertion intervals, wherein the target insertion interval is the insertion interval whose corresponding transmission performance parameter satisfies the preset performance condition;

[0009] The set of data packets to be transmitted is transmitted according to the transmission mode and the target insertion interval.

[0010] To achieve the above objectives, this application also provides a data packet transmission apparatus, the data packet transmission apparatus comprising:

[0011] An acquisition module is used to acquire a set of data packets to be transmitted, wherein the set of data packets to be transmitted includes at least one data packet to be transmitted, and to acquire the transmission mode corresponding to the data packet to be transmitted;

[0012] The selection module is used to predict transmission performance parameter values ​​when transmitting the set of data packets to be transmitted under various transmission scenarios based on the number of data packets to be transmitted. The transmission scenario is defined by the transmission mode and a preset insertion interval. The preset insertion interval is different for different transmission scenarios. The insertion interval is the number of data packets that are separated between adjacent encoded packets when an encoded packet is inserted into a data packet.

[0013] A determining module is configured to determine a target insertion interval from various preset insertion intervals, wherein the target insertion interval is an insertion interval whose corresponding transmission performance parameters satisfy preset performance conditions;

[0014] A transmission module is used to transmit the set of data packets to be transmitted according to the transmission mode and the target insertion interval.

[0015] This application also provides an electronic device, the electronic device comprising: a memory, a processor, and a program of the data packet transmission method stored in the memory and executable on the processor, wherein when the program of the data packet transmission method is executed by the processor, it can implement the steps of the data packet transmission method as described above.

[0016] This application also provides a computer-readable storage medium storing a program implementing a data packet transmission method, wherein when the program is executed by a processor, it implements the steps of the data packet transmission method as described above.

[0017] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the data packet transmission method described above.

[0018] This application provides a data packet transmission method, an electronic device, and a readable storage medium. Compared to a method that repairs failed data packets by sending encoded packets after data packet transmission, and retransmitting encoded packets when repair fails, until all failed data packets are repaired, this application obtains a set of data packets to be transmitted, wherein the set of data packets to be transmitted includes at least one data packet to be transmitted, and obtains the transmission mode corresponding to the data packets to be transmitted; based on the number of data packets to be transmitted, it predicts transmission performance parameter values ​​for transmitting the set of data packets to be transmitted under various transmission scenarios, wherein one transmission scenario is defined by the transmission mode and a preset insertion interval, and different transmission scenarios correspond to different transmission modes. Different preset insertion intervals are defined, where the insertion interval is the number of data packets between adjacent encoded packets when inserting encoded packets into a data packet. A target insertion interval is determined from the various preset insertion intervals, wherein the target insertion interval is the insertion interval whose corresponding transmission performance parameters satisfy preset performance conditions. The set of data packets to be transmitted is transmitted according to the transmission mode and the target insertion interval. For the set of data packets to be transmitted that is matched with the target insertion interval for inserting encoded packets so that the set of data packets to be transmitted can be successfully transmitted in a short time, the encoded packets and the set of data packets to be transmitted are transmitted together. This allows for timely repair of data packets that failed to be transmitted in the set of data packets to be transmitted through the encoded packets, thereby greatly shortening the data packet repair time and improving the data packet transmission efficiency. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a flowchart illustrating the first embodiment of the data packet transmission method of this application;

[0022] Figure 2 This is an example diagram illustrating a scenario of transmitting a set of data packets to be transmitted, as described in this application.

[0023] Figure 3 This is a flowchart illustrating a process for transmitting a set of data to be transmitted when the transmission mode is half-duplex transmission mode, as described in this application embodiment.

[0024] Figure 4This is a flowchart illustrating a process for transmitting data to be transmitted when the transmission mode is full-duplex transmission mode, as described in this application embodiment.

[0025] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the data packet transmission method in the embodiments of this application.

[0026] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0027] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0028] Example 1

[0029] This application provides a data packet transmission method. In the first embodiment of the data packet transmission method of this application, refer to... Figure 1 The data packet transmission method includes:

[0030] Step S10: Obtain a set of data packets to be transmitted, wherein the set of data packets to be transmitted includes at least one data packet to be transmitted, and obtain the transmission mode corresponding to the data packet to be transmitted.

[0031] In this embodiment, it should be noted that the data packet to be transmitted is a data packet waiting to be transmitted. The data packet to be transmitted can be scenario status information of a large number or a fast update speed in scenarios such as environmental monitoring, smart grid and navigation. The scenario status information can be environmental status information such as sensor-collected information.

[0032] For example, the combination of data packets to be transmitted sent by the transmitting device is obtained by the transmitting device transmitting the set of data packets to be transmitted, wherein the transmitting device may be a relay satellite and the transmitting device may be a user equipment.

[0033] As an example, the transmitting device collects data to be transmitted in real time and buffers the data packets to be transmitted in the data buffer of the transmitting device. According to the collection time corresponding to the data to be transmitted, the data packets buffered in the data buffer of the transmitting device are sequentially integrated into a set of data packets to be transmitted, and the set of data packets to be transmitted is sent to the transmitting device.

[0034] In step S10, before the step of obtaining the transmission mode corresponding to the data packet to be transmitted, the method further includes:

[0035] Step S11: Obtain the transmission signal-to-noise ratio of the data packet set to be transmitted;

[0036] As an example, a first noise signal for transmitting the data packet to be transmitted is collected by a first noise sensor configured on the transmitting device, and a transmission signal for the transmitting device to transmit the data packet to be transmitted is obtained. The transmission signal-to-noise ratio is determined based on the first noise signal and the transmission signal.

[0037] As an example, a second noise sensor configured on the transmission device is used to collect a second noise signal for transmitting the data packet to be transmitted, thereby obtaining the transmission signal of the transmission device transmitting the data packet to be transmitted, and the transmission signal-to-noise ratio is determined based on the transmission signal and the second noise signal.

[0038] As an example, a first signal-to-noise ratio (SNR) corresponding to the transmitting device is determined based on the first noise signal and the transmitted signal, and a second SNR corresponding to the transmitting device is determined based on the transmitted signal and the second noise signal. The ratio between the first SNR and the second SNR is used as the transmitted SNR. Alternatively, the transmitted SNR is selected between the first SNR and the second SNR according to a preset selection direction, wherein the preset selection direction can be a maximum value direction or a minimum value direction.

[0039] Step S12: If the transmission signal-to-noise ratio is greater than a preset signal-to-noise ratio threshold, then select full-duplex transmission mode as the transmission mode.

[0040] In this embodiment, it should be noted that the preset signal-to-noise ratio threshold is a pre-set critical value for determining that the transmission noise is relatively small.

[0041] Step S13: If the transmission signal-to-noise ratio is less than or equal to the preset signal-to-noise ratio threshold, then a half-duplex transmission mode is selected as the transmission mode.

[0042] It is understandable that the channel state and the changes in channel state are different under different transmission signal-to-noise ratios. If a fixed transmission mode is used to transmit the set of data packets to be transmitted, it is easy to encounter a situation where the data packet transmission efficiency is low due to the mismatch between the transmission mode and the transmission signal-to-noise ratio.

[0043] Understandably, when using half-duplex transmission mode, the receiving device adds successfully transmitted data packets and / or successfully recovered data packets to a buffer queue. When it is detected that there are no failed data packets in the set of data packets to be transmitted, the receiving device sequentially transmits each data packet in the buffer queue to the application queue of the receiving device according to the sending order of the data packets in the set of data packets to be transmitted. The receiving device can be a ground base station, and the buffer queue can also be a data buffer. When using full-duplex transmission mode, when it detects successfully transmitted data packets and / or successfully recovered data packets, the receiving device sequentially applies the successfully transmitted data packets and / or successfully recovered data packets according to the sending order until all data packets to be transmitted have been applied.

[0044] Optionally, after the step of obtaining the transmission mode corresponding to the set of data packets to be transmitted, the method further includes: buffering the data packets to be transmitted in the set of data packets to be transmitted sent by the sending device to the data buffer on the transmission device.

[0045] As an example, refer to Figure 2 , Figure 2 This is an example diagram illustrating a scenario of transmitting a set of data packets to be transmitted, as described in this application. Figure 2 The system includes: a transmitting device (user equipment S shown in the diagram), a transmission device (LEO (low earth orbit) relay satellite R shown in the diagram), a receiving device (ground base station D shown in the diagram), and a set of data packets to be transmitted (data packets with status updates shown in the diagram). The transmitting device collects the set of data packets to be transmitted in real time and buffers it in a data buffer on the transmitting device. The buffered set of data packets is then sent to the transmission device via a first-hop uplink. The transmission device buffers the data packets again, and the transmission device then transmits the buffered set of data packets to the receiving device via a second-hop downlink. The receiving device then restores the original set of data packets.

[0046] Optionally, when the transmitting device receives the set of data packets to be transmitted from the transmitting device, it sends a first acknowledgment instruction to the transmitting device to inform the transmitting device that the set of data packets to be transmitted has been received. When the transmitting device has finished transmitting each set of data packets to be transmitted to the receiving device, it sends a second acknowledgment instruction to the transmitting device to inform the transmitting device that the set of data packets to be transmitted has been transmitted. When the receiving device detects that there are data packets with transmission failures in the set of data packets to be transmitted by the transmitting device, it sends a transmission signal to the transmitting device so that the transmitting device can send encoded packets to the receiving device according to the transmission signal. When the receiving device receives the encoded packets sent by the transmitting device, it sends a third acknowledgment instruction to the transmitting device to inform the transmitting device that each encoded packet has been received.

[0047] By assessing the transmission signal-to-noise ratio (SNR), when the SNR is high, the channel conditions are good and changes are slow, meaning there is less noise interference. In this case, full-duplex transmission mode is used to transmit the set of data packets to be transmitted. Successfully transmitted and recovered data packets are applied promptly, avoiding unnecessary time wastage when transferring data from the buffer queue to the application queue, thus improving data packet transmission efficiency. Conversely, when the SNR is low, the channel conditions are poor and changes are rapid, meaning there is significant noise interference. In this case, half-duplex transmission mode is used to transmit the set of data packets to be transmitted to avoid self-interference and data packet transmission failures, thereby improving data packet transmission efficiency.

[0048] Step S20: Based on the number of data packets to be transmitted, predict the transmission performance parameter values ​​when transmitting the set of data packets to be transmitted under various transmission scenarios. One of the transmission scenarios is defined by the transmission mode and a preset insertion interval. Different transmission scenarios correspond to different preset insertion intervals. The insertion interval is the number of data packets between adjacent encoded packets when inserting encoded packets into data packets.

[0049] Step S30: Determine a target insertion interval from the various preset insertion intervals, wherein the target insertion interval is the insertion interval whose corresponding transmission performance parameters satisfy the preset performance conditions;

[0050] In this embodiment, it should be noted that the preset insertion interval is a pre-set insertion interval, and the number of preset insertion intervals can be one or more.

[0051] For example, the number of each of the data packets to be transmitted in the set of data packets to be transmitted is accumulated.

[0052] As an example, the preset insertion interval includes a first insertion interval and a second insertion interval. The first insertion interval is the insertion interval for a first-hop transmission of the set of data packets to be transmitted. The first-hop transmission is the transmission process of transmitting the set of data packets to be transmitted and the encoded packet to the transmission device through the sending device. The first-hop transmission can be performed through the first-hop uplink. The second insertion interval is the insertion interval for a second-hop transmission of the set of data packets to be transmitted. The second-hop transmission is the transmission process of transmitting the set of data packets to be transmitted and the encoded packet to the receiving device through the transmission device. The second-hop transmission can be performed through the second-hop downlink. The target insertion interval includes a target first insertion interval and a target second insertion interval that make the transmission performance parameter value meet the preset performance conditions. Based on the number of data packets to be transmitted, the transmission performance parameter value when transmitting the data packets to be transmitted under various transmission scenarios is predicted. Among the various transmission scenarios, the target first insertion interval and the corresponding target second insertion interval that make the transmission performance parameter value meet the preset performance conditions are selected.

[0053] As an example, the preset insertion interval includes a first insertion interval, which is the insertion interval for the first hop transmission of the set of data packets to be transmitted. The first hop transmission is the transmission process of transmitting the set of data packets to be transmitted and the encoded packet to the transmission device through the sending device. The first hop transmission can be performed through the first hop uplink. The target insertion interval includes a target first insertion interval that makes the transmission performance parameter value meet the preset performance conditions. Based on the number of data packets to be transmitted, the transmission performance parameter value when transmitting the data packets to be transmitted under multiple transmission scenarios is predicted. Among the multiple transmission scenarios, the target first insertion interval corresponding to the target transmission scenario that makes the transmission performance parameter value meet the preset performance conditions is selected.

[0054] As an example, a preset relationship is obtained, wherein the preset relationship includes the number of data packets to be transmitted, the transmission scenario, and the correspondence between the number of data packets to be transmitted and the transmission scenario and the transmission performance parameter value. Based on the number of data packets to be transmitted and the various transmission scenarios, the transmission performance parameter value corresponding to each transmission scenario is obtained by mapping through the preset relationship. The preset relationship can be a formula, a model, or a mapping table.

[0055] In step S20, the step of predicting the transmission performance parameter values ​​for transmitting the set of data packets under various transmission scenarios based on the number of data packets to be transmitted includes:

[0056] Step S21: If the transmission performance parameter value includes the average transmission delay, then select the target insertion interval corresponding to the target transmission scenario that makes the average transmission delay less than a preset delay threshold from among the multiple transmission scenarios.

[0057] As an example, based on the average transmission delay when transmitting the set of data packets to be transmitted under various transmission scenarios, a first target insertion interval and a corresponding second target insertion interval are selected from the various transmission scenarios to ensure that the average transmission delay is less than a preset delay threshold.

[0058] Step S22: If the transmission performance parameter value includes the peak age of the transmission information, then select the target insertion interval corresponding to the target transmission scenario in the multiple transmission scenarios such that the peak age of the transmission information is less than the preset information age threshold.

[0059] In this embodiment, it should be noted that the preset information age threshold is a preset peak age threshold for determining that the real-time transmission performance of the data packet to be transmitted is low.

[0060] For example, based on the peak age of each transmission information when transmitting the data packet set to be transmitted in multiple transmission scenarios, a first target insertion interval and a corresponding second target insertion interval are selected from the multiple transmission scenarios such that the peak age of the transmission information is less than a preset information age threshold.

[0061] In step S20, the transmission performance parameter value includes the average transmission delay. The step of predicting the transmission performance parameter value when transmitting the set of data packets to be transmitted under various transmission scenarios based on the number of data packets to be transmitted includes:

[0062] Step A10: Based on the number of data packets to be transmitted, predict the waiting delay, relay delay, service delay, and propagation delay when transmitting the set of data packets to be transmitted under various transmission scenarios;

[0063] In this embodiment, it should be noted that the waiting delay is the time from when the set of data packets to be transmitted is generated by the sending device to when it is sent to the transmitting device. The relay delay is the time from when the transmitting device receives the set of data packets to be transmitted to when it sends the data packets to be transmitted. The service delay is the time from when the receiving device receives the set of data packets to be transmitted to when it is uploaded to the application queue. The propagation delay is the transmission delay of the set of data packets to be transmitted from the sending device to the transmitting device, and from the transmitting device to the receiving device.

[0064] For example, according to the preset insertion interval, the waiting delay when transmitting each data packet in the data packet set to be transmitted is calculated, and the waiting delay when transmitting each data packet to be transmitted is summed to obtain the waiting delay of the data packet set to be transmitted.

[0065] Optionally, the step of calculating the waiting delay for transmitting each data packet in the set of data packets to be transmitted according to the preset insertion interval may specifically include:

[0066]

[0067] Among them, D q (i) represents the waiting delay for the i-th data packet to be transmitted, L represents the preset insertion interval, and i represents the transmission order of the data packets to be transmitted.

[0068] Step A20: Summing the waiting delay, the relay delay, the service delay, and the propagation delay to obtain the average transmission delay.

[0069] For example, the waiting delay of the set of data packets to be transmitted is calculated as the average waiting delay for each data packet to be transmitted, the relay delay of the set of data packets to be transmitted is calculated as the average relay delay for each data packet to be transmitted, and the service delay of the set of data packets to be transmitted is calculated as the average service delay for each data packet to be transmitted; the average propagation delay is calculated based on the average waiting delay, the average relay delay, the average service delay, and the propagation delay.

[0070] For example, the average waiting delay is calculated based on the first insertion interval, the number of data packets to be transmitted, and the waiting delay.

[0071] Optionally, the step of calculating the average waiting delay based on the first insertion interval, the number of data packets to be transmitted, and the waiting delay may specifically include:

[0072]

[0073] in, Let n be the average waiting delay, n be the number of data packets to be transmitted, and L1 be the first insertion interval.

[0074] As an example, when the transmission mode includes a half-duplex transmission mode, the expected number of data packets to be transmitted and the expected feedback delay of the first hop transmission are calculated when the set of data packets to be transmitted is transmitted for the first hop, and the sum of the expected number of data packets to be transmitted and the expected feedback delay is used as the average relay delay.

[0075] Optionally, the step of using the sum of the expected number of data packets to be transmitted and the expected feedback delay as the average relay delay may specifically include:

[0076]

[0077] in, The average transit delay, The expected number of the data packets to be transmitted. Let be the expected feedback delay.

[0078] Optionally, the step of calculating the expected number of data packets to be transmitted may specifically include:

[0079]

[0080] Optionally, the step of calculating the expected feedback delay may specifically include:

[0081]

[0082] Among them, t r For the propagation delay, This represents the transmission delay during the k-th hop.

[0083] Optionally, summing the average transfer delay and the average waiting delay may specifically include:

[0084]

[0085] For example, the network bit error rate (BER) of M-PSK with instantaneous signal-to-noise ratio in an AWGN (Additive White Gaussian Noise) channel is calculated. Based on the BER of M-PSK with instantaneous signal-to-noise ratio in an AWGN channel, the BER during the first hop transmission of the set of data packets to be transmitted is calculated. The data packet size of the data packets to be transmitted during the first hop transmission of the set of data packets to be transmitted is obtained. The block error rate during the first hop transmission of the set of data packets to be transmitted is calculated based on the BER and the data packet size. An encoded packet is generated for the first hop transmission of the set of data packets to be transmitted. Based on the block error rate during the first hop transmission, the encoded packet during the first hop transmission, the first insertion interval, and the number of data packets to be transmitted, the expected number of data packets to be transmitted during the first hop transmission of the set of data packets to be transmitted is calculated. The transmission delay is obtained by accumulating the delay time required for the transmitting device to transmit the set of data packets to be transmitted. Based on the transmission delay, the number of data packets to be transmitted, the encoded packet during the first hop transmission, the block error rate during the first hop transmission, the first insertion interval, and the propagation delay, the expected feedback delay during the first hop transmission of the set of data packets to be transmitted is calculated.

[0086] Optionally, the step of calculating the network bit error rate of M-PSK with instantaneous signal-to-noise ratio in an AWGN channel may specifically include:

[0087]

[0088] Among them, P e (r) represents the network bit error rate of the M-PSK with instantaneous signal-to-noise ratio in the AWGN channel, ξ M Let ξ be the first bit error rate parameter. M =max(log2M,2), b k b is the second bit error rate parameter. k =sin((2k-1)π / M), It is the right-tail function of the standard normal distribution, and M is the modulation parameter of M-PSK (multiple phase shift keying).

[0089] Optionally, calculating the network bit error rate when transmitting the set of data packets to be transmitted, based on the network bit error rate of the M-PSK with instantaneous signal-to-noise ratio in the AWGN channel, may specifically include:

[0090] P e (γ)=∫f(r)P e (r)dr

[0091] Among them, P e (γ) is the network bit error rate during the k-th hop transmission, and f(r) is the probability distribution function of the shadowed Rice channel.

[0092] Optionally, the step of obtaining the block error rate may specifically include:

[0093] p k =1-(1-P) e (γ)) B

[0094] Where, p k Let B be the block error rate during the k-th hop transmission, and let B be the data packet size during the k-th hop transmission.

[0095] Optionally, generating an encoded packet for transmitting the data packet to be transmitted may specifically include:

[0096]

[0097] in, For the encoded packet during the k-th hop transmission, L k ω is the insertion interval during the k-th hop transmission. ij For encoding functions, d i This is the i-th data packet to be transmitted.

[0098] For example, the working phase of the transmission device includes a busy phase or an idle phase. When the transmission device has a data packet that has failed to be transmitted, the uploading of subsequent data packets to be transmitted is suspended until the data packet that failed to be transmitted is decoded and recovered. This phase is called the busy phase. When the transmission device does not have a data packet that has failed to be transmitted, this phase is called the idle phase.

[0099] As an example, when the transmission mode includes a full-duplex transmission mode, the expected relay delay is calculated based on the number of data packets to be transmitted, the first insertion interval, the relay delay of the transmission device in transmitting the set of data packets to be transmitted, and the total relay delay of the sending device in transmitting the set of data packets to be transmitted, and the expected relay delay is used as the average relay delay.

[0100] Optionally, calculating the relay delay for the transmission device to transmit the set of data packets to be transmitted may specifically include:

[0101] E1=(R ip +1)·((R nd +1)·t s1 +2t r +R tp ·(t s1 ·η1+t s2 ·η2))

[0102] Wherein, E1 is the set of data packets to be transmitted by the transmission device in P. D,n Relay delay under the following conditions, R ip For P D,n The number of data packets that still need to be transmitted when it occurs, R nd For P D,n The number of encoded packets that need to be transmitted when (n = 1, 2, 3) occurs, R nd =(R ip ·p k -R lr ·(1-p k )) / (1-p k ), R tp For P D,n The total number of data packets and encoded packets that need to be transmitted when an event occurs, R tp =R gr ·L k +L k -i,R lr For P D,n L that needs to be transmitted when it occurs k - Interval, L k - Interval by L k It consists of 1 data packet and 1 encoded packet, R lr =n / (L) k -1)-j-1,R ip =R lr ·(L k -1)+L k -i-1, The transmission delay during the first hop. η1 is the transmission delay during the second hop, and η1 is the first intermediate delay parameter. η2 is the second intermediate delay parameter.

[0103] Optionally, when p k ×L k ≥1, when the transmission mode includes full-duplex transmission mode, the steps for calculating the expected relay delay may specifically include:

[0104]

[0105] in, E2 represents the expected relay delay, and E2 represents the delay at which the receiving device receives the set of data packets to be transmitted in P. D,n Service delays that occur P D,1 For p k ×L k When the value is greater than 1, the queue starts from the j-th L.k The probability that the i-th data packet enters a busy state. P D,2 For p k ×L k When = 1, the queue starts from the j-th L k The i-th data packet enters a busy state, and this busy state only lasts for one L. k - The probability of the interval, P D3 For p k ×L k When P = 1, D2 In the case that has already occurred, the queue starts from the j-th L k The probability that the i-th data packet enters a busy state.

[0106] Optionally, when p k ×L k <1, when the transmission mode includes full-duplex transmission mode, the calculation of the expected relay delay may specifically include:

[0107]

[0108] Among them, P R Let be the probability that the transmission device starts with the i-th data packet in the (j+1)-th L-interval during a busy phase. P re The probability that there is only one busy phase on the transmission device. E(n b This represents the total number of data packets that failed to be transmitted on the transmission device. This is the expected maximum backlog queue length during the first hop transmission. E(X m This represents the expected maximum number of encoded packets to be sent during the busy phase. X m This represents the maximum number of encoded packets that can be sent during a busy phase. The probability of the maximum number of encoded packets sent during the busy phase.

[0109] A represents the expected number of updates. X is X m The lower bound of X q The maximum value that can be taken is the minimum value, where X is the number of encoded packets transmitted by the transmission device in busy state. For X q The maximum value is limited to random variable, E(Q′) m This represents the expected maximum backlog queue length during transmission without considering retransmissions. The fourth expected parameter during the k-th hop transmission.

[0110] Optionally, the probability distribution of the number of encoded packets transmitted by the transmission device in a busy state can specifically be:

[0111]

[0112] in, This represents the probability distribution of the number of encoded packets transmitted by the transmission device in a busy state.

[0113] Optionally, the k-th hop transmission time d is calculated using a preset expected formula. i The expected length of the queue, wherein the preset expected formula may specifically include:

[0114]

[0115] Among them, Q k (i) represents the k-th hop transmission time d i The length of the queue in which it is located. The first expected parameter during the k-th hop transmission. The first expected parameter during the k-th hop transmission. The second expected parameter during the k-th hop transmission.

[0116] Optionally, the step of calculating the expected length of the longest backlog queue during the k-th hop transmission using a preset expectation formula may specifically include:

[0117]

[0118] in, The expected time required to retransmit the encoded packet during the k-th hop transmission.

[0119] For example, the expected service latency is calculated and used as the average service latency.

[0120] Optionally, when p k ×L k ≥1, when the transmission mode includes half-duplex transmission mode, the calculation of expected service latency may specifically include:

[0121]

[0122] in, The expected delay for the service.

[0123] Optionally, when pk ×L k <1, when the transmission mode includes half-duplex transmission mode, calculating the expected service delay may specifically include:

[0124]

[0125] in, This is the first expected parameter for the second hop transmission. This is the second expected parameter during the second hop transmission.

[0126] Optionally, when p k ×L k <1, when the transmission mode includes full-duplex transmission mode, calculating the expected service latency may specifically include:

[0127]

[0128] in, The fifth expected parameter during the second hop transmission.

[0129] As an example, when the transmission mode includes a full-duplex transmission mode, the service latency of the receiving device is calculated, wherein the service latency of the receiving device includes a first latency and a second latency. The service latency of the transmitting device is calculated, wherein the service latency of the transmitting device includes a third latency and a fourth latency. Based on the first latency, the second latency, the third latency, the fourth latency, the number of data packets to be transmitted, and the second insertion interval, the expected service delay is calculated.

[0130] Optionally, when p k ×L k ≥1, when the transmission mode includes full-duplex transmission mode, calculating the expected service latency may specifically include:

[0131]

[0132] E3 represents the first waiting time.

[0133] E4 represents the second waiting time. E5 is the third waiting time. E6 is the fourth waiting time.

[0134] Optionally, the step of calculating the average transmission delay based on the average waiting delay, the average relay delay, the average service delay, and the propagation delay may specifically include:

[0135]

[0136] in, The average transmission delay is given.

[0137] Optionally, when the transmission mode includes a half-duplex transmission mode, the average waiting delay, the average relay delay, and the average service delay are substituted to obtain:

[0138]

[0139] Optionally, when the transmission mode includes a full-duplex transmission mode, the average waiting delay, the average relay delay, and the average service delay are substituted to obtain:

[0140]

[0141] In step S20, the transmission performance parameter value includes the peak age of the transmission information, and the step of predicting the transmission performance parameter value when transmitting the data packets to be transmitted under various transmission scenarios based on the number of data packets to be transmitted includes:

[0142] Step B10: Based on the number of data packets to be transmitted, predict the probability that the first packet in the data packet set to be transmitted will fail to upload when transmitting the data packet set under various transmission scenarios, and predict the propagation delay when transmitting the data packet set under various transmission scenarios.

[0143] For example, the block error rate during the second hop is obtained, and based on the block error rate during the second hop and the second insertion interval, a probability distribution function for the failure of the first packet in the set of data packets to be transmitted is constructed. The probability of the first packet in the set of data packets to be transmitted failing to be transmitted is predicted based on the probability distribution function.

[0144] Optionally, the step of predicting the probability of the first packet in the set of data packets to be transmitted failing to upload first, based on the block error rate during the second hop and the second insertion interval, may specifically include:

[0145]

[0146] Where, Pr{Case 2} is the probability that the first packet in the set of data packets to be transmitted will fail to upload first, and Pr(X) a ) is the probability distribution function of the first packet in the set of data packets to be transmitted failing to be uploaded first.

[0147]

[0148] Among them, P Xa (xa ) is the probability distribution function of the first packet in the set of data packets to be transmitted failing to be uploaded first, and p2 is the block error rate during the second hop.

[0149] Step B20: Determine the peak age of the transmitted information based on the probability and the propagation delay.

[0150] As an example, when the transmission mode includes a half-duplex transmission mode, the expected feedback delay during the second hop transmission and the expected number of data packets to be transmitted during the second hop transmission are obtained. Based on the expected feedback delay during the first hop transmission, the expected feedback delay during the second hop transmission, the expected number of data packets to be transmitted during the second hop transmission, the expected number of data packets to be transmitted during the first hop transmission, the transmission delay during the first hop, the transmission delay during the second hop, and the probability that the first packet in the set of data packets to be transmitted will fail to be uploaded first, the peak age of the transmission information is determined.

[0151] Optionally, the step of determining the peak age of the transmission information based on the expected feedback delay during the first hop transmission, the expected feedback delay during the second hop transmission, the expected number of data packets to be transmitted during the second hop transmission, the expected number of data packets to be transmitted during the first hop transmission, the transmission delay during the first hop transmission, the transmission delay during the second hop transmission, and the probability that the first packet in the set of data packets to be transmitted will fail to be uploaded first may specifically include:

[0152]

[0153] Wherein, PAOI(A) is the peak age of the transmitted information. The expected number of data packets to be transmitted during the first hop. The transmission delay during the first hop is the transmission delay. The expected number of data packets to be transmitted during the second hop. The transmission delay during the second hop is the transmission delay. The expected feedback delay during the first hop transmission. Let A0 be the expected feedback delay during the second hop transmission, and let A0 be the initial information age.

[0154] Optionally, when the transmission mode includes a full-duplex transmission mode, the step of determining the peak age of the transmission information based on the expected feedback delay during the first hop transmission, the expected feedback delay during the second hop transmission, the expected number of data packets to be transmitted during the second hop transmission, the expected number of data packets to be transmitted during the first hop transmission, the transmission delay during the first hop transmission, the transmission delay during the second hop transmission, and the probability that the first packet in the set of data packets to be transmitted will fail to be uploaded first may specifically include:

[0155]

[0156] Step S40: Transmit the set of data packets to be transmitted according to the transmission mode and the target insertion interval.

[0157] As an example, the set of data packets to be transmitted is transmitted according to the transmission mode, the target first insertion interval, and the target second insertion interval.

[0158] As an example, the set of data packets to be transmitted is transmitted according to the transmission mode and the target first insertion interval.

[0159] As an example, refer to Figure 3 , Figure 3 This is a flowchart illustrating a process for transmitting a set of data to be transmitted when the transmission mode is half-duplex transmission mode, as described in this application embodiment. Figure 3 This includes: a sending device (the originating end in the diagram), a transmission device (the relay in the diagram), a receiving device (the receiving end in the diagram), the application queue of the receiving device (the application layer at the receiving end in the diagram), the set of data packets to be transmitted (d1, d2, d3, d4, d5, and d6 in the diagram), and encoded packets (as shown in the diagram). and The first insertion interval is 2, and the second insertion interval is 2. The transmitting device inserts an encoded packet between every two data packets to be transmitted, according to the first insertion interval; specifically, it inserts the packet after d1 and d2. Insert after d3 and d4 Insert after d5 and d6 The transmitting device sends the data packet to be transmitted and the encoded packet to the transmitting device. The failed data packet is then decoded and recovered using each encoded packet. Specifically, through... Decode and recover the failed d3 file. The failed transmission packet d6 is decoded and recovered. After the transmission device receives each successfully transmitted data packet and each decoded and recovered data packet, it sends an acknowledgment command (ACK in the diagram) to the sending device. According to the target second insertion interval, the transmission device inserts an encoded packet between every two data packets to be transmitted received from the sending device; specifically, it inserts an encoded packet after d1 and d2. Insert after d3 and d4 Insert after d5 and d6 After the transmission device transmits each data packet and each encoded packet to the receiving device, the transmission device sends an acknowledgment command (ACK in the diagram) to the sending device. The failed data packets are then decoded and recovered using each encoded packet. Specifically, through... Decode and recover the failed transmission d2, then add d1 and the recovered d2 to the application queue of the receiving device. Decode and recover the failed transmissions of d3 and d4, using... Decode and recover the failed transmissions of d5 and d6. Add d3, d4, d5, and d6 to the application queue of the receiving device, and send a transmission signal (NAK as shown in the diagram) to the transmitting device. The transmitting device then sends encoded packets based on the transmission signal. Specifically, the transmitting device sends... and After receiving the encoded packet sent by the transmitting device, the receiving device sends an acknowledgment command (ACK in the diagram) to the transmitting device.

[0160] As an example, refer to Figure 4 , Figure 4 This is a flowchart illustrating a process for transmitting data in full-duplex transmission mode, as described in this application. Figure 4 This includes: a sending device (the originating end in the diagram), a transmission device (the relay in the diagram), a receiving device (the receiving end in the diagram), the application queue of the receiving device (the application layer at the receiving end in the diagram), the set of data packets to be transmitted (d1, d2, d3, d4, d5, and d6 in the diagram), and encoded packets (as shown in the diagram). and The first insertion interval is 2, and the second insertion interval is 2. The transmitting device inserts an encoded packet between every two data packets to be transmitted, according to the first insertion interval; specifically, it inserts the packet after d1 and d2. Insert after d3 and d4 Insert after d5 and d6 The transmitting device sends the data packets and encoded packets to the transmitting device. After the transmitting device receives each successfully transmitted data packet and each decoded and recovered data packet, it sends an acknowledgment command (ACK in the diagram) to the transmitting device. Each encoded packet sent by the transmitting device decodes and recovers the data packets that failed to transmit. Specifically, through... Decode and recover the failed d3 file. The failed transmission packet d6 is decoded and recovered. The successfully transmitted data packet, the successfully transmitted encoded packet, and the decoded and recovered data packet are then transmitted to the receiving device via the transmission device. Specifically, the transmission device transmits packets d1, d2, d3, d4, d5, and d6. and The data is transmitted to the receiving device, where the failed data packets are decoded and recovered using the successfully transmitted encoded packets. Specifically, this is done through... Decode and recover the failed d2 file. Decode and recover the failed transmissions of d3 and d4, using... The failed D5 and D6 packets are decoded and recovered. The receiving device then sends a transmission signal (NAK in the diagram) to the transmitting device, which in turn sends encoded packets based on the transmission signal. Specifically, the transmitting device sends... and After receiving the encoded packet sent by the transmitting device, the receiving device sends an acknowledgment command (ACK in the diagram) to the transmitting device. Upon receiving the acknowledgment command from the receiving device, the transmitting device sends an acknowledgment command (ACK in the diagram) to the sending device. The receiving device adds the successfully transmitted data packet and the decoded data packet to its application queue. Specifically, it adds d1, d2, d3, d4, d5, and d6 to its application queue.

[0161] This application provides a data packet transmission method. Compared to a method that repairs failed data packets by sending encoded packets after transmission and retransmitting encoded packets when repair fails, until all failed data packets are repaired, this application obtains a set of data packets to be transmitted, including at least one data packet, and obtains the transmission mode corresponding to the data packet to be transmitted. Based on the number of data packets to be transmitted, it predicts transmission performance parameter values ​​for transmitting the set of data packets under various transmission scenarios. Each transmission scenario is defined by the transmission mode and a preset insertion interval. Different transmission scenarios correspond to different preset insertion intervals. The insertion interval varies, and the insertion interval is the number of data packets between adjacent encoded packets when inserting encoded packets into a data packet. A target insertion interval is determined from various preset insertion intervals, wherein the target insertion interval is the insertion interval whose corresponding transmission performance parameters meet preset performance conditions. The set of data packets to be transmitted is transmitted according to the transmission mode and the target insertion interval. For the set of data packets to be transmitted that is matched with the target insertion interval for inserting encoded packets so that the set of data packets to be transmitted can be successfully transmitted in a short time, the encoded packets and the set of data packets to be transmitted are transmitted together. This allows the encoded packets to promptly repair data packets that failed to be transmitted in the set of data packets to be transmitted, thereby greatly shortening the data packet repair time and improving the data packet transmission efficiency.

[0162] Example 2

[0163] Furthermore, based on the first embodiment of this application, in another embodiment of this application, the same or similar content as in the first embodiment described above can be referred to the above description and will not be repeated hereafter. Based on this, step S40, the step of transmitting the set of data packets to be transmitted according to the transmission mode and the target insertion interval, includes:

[0164] Step S41: Insert coded packets between each of the data packets to be transmitted according to the target insertion interval to obtain each of the data packets to be transmitted and each of the coded packets arranged in sequence, and transmit each of the data packets to be transmitted and each of the coded packets in sequence.

[0165] Step S42: Detect the transmission signal corresponding to the set of data packets to be transmitted at preset time intervals, wherein the transmission signal includes data packets that failed to be transmitted and channel state information for transmitting the set of data packets to be transmitted.

[0166] In this embodiment, it should be noted that the preset time interval is a pre-set time interval for detecting the real-time transmission status of the set of data packets to be transmitted.

[0167] As an example, the transmitting device detects the transmission signal corresponding to the set of data packets to be transmitted sent by the transmitting device at preset time intervals.

[0168] As an example, the transmission device detects the transmission signal corresponding to the set of data packets to be transmitted sent by the receiving device at preset time intervals.

[0169] In step S42, the step of detecting the transmission signal corresponding to the set of data packets to be transmitted at preset time intervals includes:

[0170] Step C10: Acquire the historical transmission signal from the previous time step at preset time intervals;

[0171] Step C20: Predict the transmission signal at the current time step based on the historical transmission signals to obtain the transmission signal corresponding to the set of data packets to be transmitted.

[0172] For example, a preset observation function and a preset state transition function are obtained, wherein the preset observation function includes a correspondence between the current channel state information when a preset action is taken and the probability distribution of the number of failed data packets in the feedback transmission signal; the preset state transition function includes a correspondence between taking a preset action and the transition probability from the current channel state to the channel state of the next time step; the transition probability from the current channel state to the channel state of the next time step when taking the preset action is calculated according to the preset observation function; the probability distribution of the number of failed data packets in the feedback transmission signal when taking the preset action in the current channel state is calculated according to the preset observation function; the probability distribution of the transmission signal of the current time step is calculated according to the transition probability, the probability distribution of the number of failed data packets, and the transmission signal of the previous time step; and the transmission signal of the current time step is predicted according to the probability distribution.

[0173] Optionally, the step of calculating the probability distribution of the transmission signal at the current time step based on the transition probability, the quantity probability distribution, and the transmission signal at the previous time step may specifically include:

[0174]

[0175] Where b(s) is the probability distribution of the transmitted signal s, O(s,a) t-T ,z) is to take action in channel state s. t-T At that time, the probability distribution of the number of data packets that failed to transmit in the feedback transmission signal, Tr(s′,a t-T ,s) to take action a t-T b(s′) is the probability distribution of the transmitted signal s′ in the previous time step, where s is the transition probability from the channel state s to the channel state s′ in the next time step.

[0176] Step S43: Adjust the target insertion interval according to the transmission signal, insert coded packets into the failed data packets according to the adjusted target insertion interval to obtain a data packet set, transmit the adjusted data packet set, and return to the step of detecting the transmission signal of the data packet to be transmitted at preset time intervals until there are no failed data packets in the transmission signal.

[0177] It is understandable that when the target first insertion interval for the first hop transmission and the target second insertion interval for the second hop transmission are selected based on the transmission performance parameter values ​​under various transmission scenarios, when the transmission signal-to-noise ratio is low, the channel state is poor and changes very rapidly. Therefore, it is easy for the selected target first insertion interval to be unsuitable for the entire first hop transmission, and / or for the selected target second insertion interval to be unsuitable for the entire second hop transmission. This can easily lead to a situation where the data packet transmission efficiency is still low.

[0178] By periodically checking the transmission signal of the set of data packets to be transmitted, the target insertion interval is adjusted in a timely manner when the current channel state information is not suitable for the target insertion interval. This ensures that the target insertion interval is adapted to the current channel state information after each preset time interval, thereby improving the data packet transmission efficiency.

[0179] It is understandable that when the transmission signal-to-noise ratio is high, the channel state is good and changes very slowly. If the transmission signal corresponding to the set of data packets to be transmitted is frequently detected, it is easy to find a situation where the target insertion interval does not need to be adjusted based on the transmission signal, resulting in unnecessary waste of transmission equipment resources.

[0180] Optionally, before the step of detecting the transmission signal corresponding to the set of data packets to be transmitted at preset time intervals, the method further includes:

[0181] The preset time interval is generated based on the transmission signal-to-noise ratio.

[0182] As an example, a preset mapping relationship is obtained, wherein the preset mapping relationship includes the correspondence between the transmission signal-to-noise ratio and the preset time interval, and the transmission signal-to-noise ratio is mapped to the preset time interval through the preset mapping relationship, wherein the transmission signal-to-noise ratio and the preset time interval are positively correlated.

[0183] The preset time interval is adapted based on the transmission signal-to-noise ratio (SNR). When the SNR is high, a longer preset time interval can be set to reduce unnecessary detection of the data packet set to be transmitted. When the SNR is low, a shorter preset time interval can be set so that the target insertion interval is adapted to the current channel state information after each preset time interval. In summary, the cost of data packet transmission is reduced while ensuring high data packet transmission efficiency.

[0184] In step S43, the step of adjusting the target insertion interval according to the transmission signal includes:

[0185] Step D10: Based on the channel state information, construct the optimization function corresponding to the channel state information;

[0186] For example, the immediate reward when the channel state information takes a preset action, the probability distribution of the number of failed data packets in the transmission signal fed back by the transmitting or receiving device when the channel state information of the previous time step takes the preset action, and the channel state information of the next time step are obtained; based on the channel state information, the immediate reward when the channel state information takes the preset action, the probability distribution of the number of failed data packets in the transmission signal fed back by the transmitting or receiving device when the channel state information of the previous time step takes the preset action, and the channel state information of the next time step, an optimization function corresponding to the channel state information is constructed.

[0187] Optionally, the step of constructing the optimization function corresponding to the channel state information may specifically include:

[0188]

[0189] Among them, V * (b) is the optimization value corresponding to the channel state information, R(s,a) t To take action in channel state s t Instant rewards at any time Take action a for the channel state s′ of the previous time step t At that time, the probability distribution of the number of data packets that failed to be transmitted in the feedback transmission signal, V * (τ(b t ,a t ,z t+T-2t )) represents the channel state information τ(b) t ,a t ,z t+T-2t The corresponding optimization value, τ(b) t ,a t ,z t+T-2t () represents the channel state at the next time step.

[0190] Step D20: Adjust the target insertion interval according to the optimization function.

[0191] For example, according to the optimization function, the optimization value corresponding to each channel state information when applying various adjustment strategies to the target insertion interval is calculated, wherein the adjustment strategy is limited by the adjustment amount, and a target adjustment strategy that makes the optimization value greater than a preset optimization threshold is selected from the adjustment strategies, and the target insertion interval is adjusted according to the adjustment amount corresponding to the target adjustment strategy.

[0192] In step S43, the step of adjusting the target insertion interval based on the channel state information and the failed data packets further includes:

[0193] Step E10: Obtain the real-time resource occupancy value of the transmission device transmitting the set of data packets to be transmitted;

[0194] Step E20: If the real-time resource occupancy value is greater than the preset device occupancy threshold, then the channel status information is filtered to obtain the target channel status information.

[0195] As an example, if the real-time resource occupancy value is greater than the preset device occupancy threshold, then the channel status information is randomly filtered to obtain the target channel status information.

[0196] As an example, the generation time of each channel state information is obtained, and the channel state information is filtered according to the generation time to obtain the target channel state information.

[0197] Specifically, a preset number of filters is obtained, and the target channel state information with the latest generation time is filtered from each of the channel state information, thereby improving the real-time adjustment of the target insertion interval while ensuring the equipment performance of the transmission equipment.

[0198] It is understandable that when a transmission device transmits a set of data packets to be transmitted, adjusting the target insertion interval at preset time intervals can easily lead to high resource consumption of the transmission device and cause performance loss.

[0199] Step E30: Adjust the target insertion interval based on the target channel state information and the data packets that failed to transmit.

[0200] For specific implementation steps, please refer to the steps above for adjusting the target insertion interval based on channel state information, which will not be repeated here.

[0201] This application embodiment reduces the real-time resource consumption of the transmission device by filtering the channel state information when the real-time resource consumption of the transmission device is high, that is, by not adjusting the target insertion interval of all channel state information, thereby ensuring the device performance of the transmission device.

[0202] Example 3

[0203] This application embodiment also provides a data packet transmission device, the data packet transmission device comprising:

[0204] An acquisition module is used to acquire a set of data packets to be transmitted, wherein the set of data packets to be transmitted includes at least one data packet to be transmitted, and to acquire the transmission mode corresponding to the data packet to be transmitted;

[0205] The selection module is used to predict transmission performance parameter values ​​when transmitting the set of data packets to be transmitted under various transmission scenarios based on the number of data packets to be transmitted. Each transmission scenario is defined by a transmission mode and a preset insertion interval. Different transmission scenarios correspond to different preset insertion intervals. The insertion interval is the number of data packets that separate adjacent encoded packets when inserting encoded packets into a data packet. A target insertion interval is determined from various preset insertion intervals, where the target insertion interval is the insertion interval whose corresponding transmission performance parameters satisfy a preset performance condition.

[0206] A transmission module is used to transmit the set of data packets to be transmitted according to the transmission mode and the target insertion interval.

[0207] Optionally, the selection module is further configured to:

[0208] If the transmission performance parameter value includes the average transmission delay, then select the target insertion interval corresponding to the target transmission scenario from the multiple transmission scenarios, such that the average transmission delay is less than a preset delay threshold.

[0209] If the transmission performance parameter value includes the peak age of the transmitted information, then among the multiple transmission scenarios, the target insertion interval corresponding to the target transmission scenario that makes the peak age of the transmitted information less than the preset information age threshold is selected.

[0210] Optionally, the transmission performance parameter value includes the average transmission delay, and the selection module is further configured to:

[0211] Based on the number of data packets to be transmitted, predict the waiting delay, relay delay, service delay, and propagation delay when transmitting the set of data packets to be transmitted under various transmission scenarios;

[0212] The average transmission delay is obtained by summing the waiting delay, the relay delay, the service delay, and the propagation delay.

[0213] Optionally, the transmission performance parameter value includes the peak age of the transmitted information, and the selection module is further configured to:

[0214] Based on the number of data packets to be transmitted, predict the probability that the first packet in the data packet set to be transmitted will fail to upload when transmitting the data packet set under various transmission scenarios, and predict the propagation delay when transmitting the data packet set to be transmitted under various transmission scenarios.

[0215] The peak age of the transmitted information is determined based on the probability and the propagation delay.

[0216] Optionally, before the step of obtaining the transmission mode corresponding to the data packet to be transmitted, the data packet transmission device is further configured to:

[0217] Obtain the transmission signal-to-noise ratio of the set of data packets to be transmitted;

[0218] If the transmission signal-to-noise ratio is greater than a preset signal-to-noise ratio threshold, then full-duplex transmission mode is selected as the transmission mode;

[0219] If the transmission signal-to-noise ratio is less than or equal to the preset signal-to-noise ratio threshold, then half-duplex transmission mode is selected as the transmission mode.

[0220] Optionally, the transmission module is further configured to:

[0221] According to the target insertion interval, an encoded packet is inserted between each of the data packets to be transmitted to obtain each of the data packets to be transmitted and each of the encoded packets arranged in sequence, and the data packets to be transmitted and the encoded packets are transmitted in sequence.

[0222] The transmission signal corresponding to the set of data packets to be transmitted is detected at preset time intervals, wherein the transmission signal includes data packets that failed to be transmitted and channel state information for transmitting the set of data packets to be transmitted;

[0223] According to the transmission signal, the target insertion interval is adjusted, and the coded packets of the failed data packets are inserted into the adjusted target insertion interval to obtain an adjusted data packet set. The adjusted data packet set is transmitted, and the process returns to the step of detecting the transmission signal corresponding to the data packet set to be transmitted at preset time intervals, until there are no failed data packets in the transmission signal.

[0224] Optionally, the transmission module is further configured to:

[0225] Acquire the historical transmission signal from the previous time step at preset time intervals;

[0226] Based on the historical transmission signals, the transmission signal at the current time step is predicted, and the transmission signal corresponding to the set of data packets to be transmitted is obtained.

[0227] Optionally, the transmission module is further configured to:

[0228] Based on the channel state information, construct the optimization function corresponding to the channel state information;

[0229] The target insertion interval is adjusted according to the optimization function.

[0230] The data packet transmission apparatus provided in this application, employing the data packet transmission method in the above embodiments, solves the technical problem of low data packet transmission efficiency. Compared with the prior art, the beneficial effects of the data packet transmission apparatus provided in this application are the same as those of the data packet transmission method provided in the above embodiments, and other technical features in this data packet transmission apparatus are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0231] Example 4

[0232] This application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the data packet transmission method described in the above embodiments.

[0233] The following is for reference. Figure 5 The diagram illustrates a structural schematic of an electronic device suitable for implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers (PDAs), tablet computers, portable media players (PMPs), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0234] like Figure 5 As shown, an electronic device may include a processing unit (such as a central processing unit, graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in ROM (Read-Only Memory) or programs loaded from storage devices into RAM (Random Access Memory). RAM also stores various programs and data required for the operation of the electronic device. The processing unit, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.

[0235] Typically, the following systems can be connected to the I / O interface: input devices including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices including, for example, magnetic tapes, hard disks, etc.; and communication devices. Communication devices allow electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various systems are shown in the figures, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems may be implemented alternatively.

[0236] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, it performs the functions defined above in the methods of embodiments of this disclosure.

[0237] The electronic device provided in this application, employing the data packet transmission method in the above embodiments, solves the technical problem of low data packet transmission efficiency. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the data packet transmission method provided in the above embodiments, and other technical features of the electronic device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0238] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0239] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0240] Example 5

[0241] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, which are used to execute the data packet transmission method in the above embodiment.

[0242] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Erasable Programmable Read Only Memory) or flash memory, optical fiber, CD-ROM (compact disc read-only memory), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0243] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.

[0244] The aforementioned computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: acquire a set of data packets to be transmitted, wherein the set of data packets to be transmitted includes at least one data packet to be transmitted; acquire a transmission mode corresponding to the set of data packets to be transmitted; predict transmission performance parameter values ​​for transmitting the set of data packets to be transmitted under various transmission scenarios based on the number of data packets to be transmitted, wherein one of the transmission scenarios is defined by the transmission mode and a preset insertion interval, and the preset insertion interval is different for different transmission scenarios, the insertion interval being the number of data packets between adjacent encoded packets when inserting encoded packets into data packets; determine a target insertion interval from various preset insertion intervals, wherein the target insertion interval is the insertion interval for which the corresponding transmission performance parameter satisfies a preset performance condition; and transmit the set of data packets to be transmitted according to the transmission mode and the target insertion interval.

[0245] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a LAN (Local Area Network) or a WAN (Wide Area Network)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0246] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0247] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0248] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the above-described data packet transmission method, thus solving the technical problem of low data packet transmission efficiency. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the data packet transmission method provided in the above-described embodiments, and will not be repeated here.

[0249] Example 6

[0250] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the data packet transmission method described above.

[0251] The computer program product provided in this application solves the technical problem of low data packet transmission efficiency. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as the beneficial effects of the data packet transmission method provided in the above embodiments, and will not be repeated here.

[0252] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A method of data packet transmission, characterized by, The data packet transmission method comprises: acquiring a set of to-be-transmitted data packets, wherein the set of to-be-transmitted data packets comprises at least one to-be-transmitted data packet, and a transmission mode corresponding to the set of to-be-transmitted data packets is acquired; according to a quantity of the to-be-transmitted data packets, transmission performance parameter values in a plurality of transmission scenarios are respectively predicted when the set of to-be-transmitted data packets is transmitted, wherein one transmission scenario is defined by the transmission mode and one preset insertion interval, different transmission scenarios correspond to different preset insertion intervals, and an insertion interval is a quantity of data packets spaced between adjacent encoding packets when encoding packets are inserted in the data packets; a target insertion interval is determined from the plurality of preset insertion intervals, wherein the preset insertion intervals comprise a first insertion interval and a second insertion interval, the first insertion interval is an insertion interval for first-hop transmission of the set of to-be-transmitted data packets, the first-hop transmission is a transmission process of transmitting the set of to-be-transmitted data packets and encoding packets to a transmission device by a sending device, the second insertion interval is an insertion interval for second-hop transmission of the set of to-be-transmitted data packets, the second-hop transmission is a transmission process of transmitting the set of to-be-transmitted data packets and encoding packets to a receiving device by the transmission device, and the target insertion interval comprises a target first insertion interval and a target second insertion interval, which make the transmission performance parameter values satisfy a preset performance condition; according to the target insertion interval, encoding packets are inserted between each of the to-be-transmitted data packets, to obtain each of the to-be-transmitted data packets and each of the encoding packets arranged in sequence, and the each of the to-be-transmitted data packets and the each of the encoding packets are transmitted in sequence; every preset time interval, a transmission signal corresponding to the set of to-be-transmitted data packets is detected, wherein the transmission signal comprises a data packet that fails to be transmitted and channel state information of transmission of the set of to-be-transmitted data packets; according to the transmission signal, the target insertion interval is adjusted, encoding packets are inserted into the data packet that fails to be transmitted according to the adjusted target insertion interval to obtain an adjusted data packet set, the adjusted data packet set is transmitted, and the step of detecting the transmission signal corresponding to the set of to-be-transmitted data packets every preset time interval is returned to until there is no data packet that fails to be transmitted in the transmission signal.

2. The data packet transmission method of claim 1, wherein, The step of determining the target insertion interval from the plurality of preset insertion intervals, wherein the target insertion interval is an insertion interval corresponding to the transmission performance parameter satisfying the preset performance condition, comprises: if the transmission performance parameter value comprises a transmission average delay, a target insertion interval corresponding to a transmission average delay less than a preset delay threshold is determined from the plurality of preset insertion intervals; if the transmission performance parameter value comprises a transmission information peak value age, a target insertion interval corresponding to a transmission information peak value age less than a preset information age threshold is determined from the plurality of preset insertion intervals.

3. The data packet transmission method of claim 1, wherein, The transmission performance parameter value comprises a transmission average delay, The step of predicting the transmission performance parameter values of the set of data packets to be transmitted in multiple transmission scenarios according to the number of data packets to be transmitted comprises: predicting the waiting delay, the transit delay, the service delay, and the propagation delay in multiple transmission scenarios according to the number of data packets to be transmitted; summing the waiting delay, the transit delay, the service delay, and the propagation delay to obtain the transmission average delay.

4. The data packet transmission method of claim 1, wherein, The transmission performance parameter values comprise a transmission information peak value age, The step of predicting the transmission performance parameter values of the set of data packets to be transmitted in multiple transmission scenarios according to the number of data packets to be transmitted comprises: predicting the probability of first packet priority upload failure of the set of data packets to be transmitted in multiple transmission scenarios according to the number of data packets to be transmitted, and predicting the propagation delay in multiple transmission scenarios according to the number of data packets to be transmitted; determining the transmission information peak value age according to the probability and the propagation delay.

5. The data packet transmission method of claim 1, wherein, Before the step of obtaining the transmission mode corresponding to the set of data packets to be transmitted, the method further comprises: obtaining a transmission signal-to-noise ratio of the set of data packets to be transmitted; if the transmission signal-to-noise ratio is greater than a preset signal-to-noise ratio threshold, selecting a full-duplex transmission mode as the transmission mode; if the transmission signal-to-noise ratio is less than or equal to the preset signal-to-noise ratio threshold, selecting a half-duplex transmission mode as the transmission mode.

6. The data packet transmission method of claim 1, wherein, The step of detecting the transmission signal corresponding to the set of data packets to be transmitted at every preset time interval comprises: obtaining a historical transmission signal of a previous time step at every preset time interval; predicting a transmission signal of a current time step according to the historical transmission signal to obtain the transmission signal corresponding to the set of data packets to be transmitted.

7. The data packet transmission method of claim 1, wherein, The step of adjusting the target insertion interval according to the transmission signal comprises: constructing an optimization function corresponding to the channel state information according to the channel state information; adjusting the target insertion interval according to the optimization function.

8. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the data packet transmission method in any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program for implementing a data packet transmission method, and the program is executed by a processor to implement the steps of the data packet transmission method in any one of claims 1 to 7.

Citation Information

Patent Citations

  • RS code forward error correction method and device

    CN111935485A

  • Industrial automatic fountain code data transmission device and method

    CN114244472A