Data packet transmission method and device, electronic equipment and storage medium

By detecting the number of continuously lost data packets, adjusting the transmission strategy and retransmitting the target data packets, the problem of inaccurate data transmission caused by network packet loss is solved and the reliability and quality of data packet transmission are improved.

CN118764547APending Publication Date: 2024-10-11SHANGHAI MIHOYO TIANMING TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410745118.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

During the data transmission process, network packet loss causes the data content to be unable to be transmitted accurately, affecting the reception effect of the receiving end. It is difficult for existing technology to effectively solve the serious packet loss problem.

Method used

By detecting the number of continuously lost data packets, if it exceeds the preset recovery threshold, the transmission strategy is adjusted and the target data packet is selected for retransmission to ensure the reliability of data packet transmission.

Benefits of technology

When the network status is poor, the transmission strategy is automatically adjusted to reduce the continuous packet loss rate, avoid unrecoverable problems at the receiving end, and improve the reliability and quality of data packet transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764547A_ABST
    Figure CN118764547A_ABST
Patent Text Reader

Abstract

The invention relates to the field of data processing, and particularly discloses a data packet transmission method and device, electronic equipment and a storage medium. The method comprises the following steps: in the process of transmitting a plurality of data packets in a data packet sequence according to a first transmission strategy, detecting the number of continuously lost packets when the plurality of data packets are continuously lost; if it is determined that the current network state meets a preset recovery condition according to a comparison result between the continuous packet loss number and a preset recovery threshold value, the first transmission strategy is adjusted to be a second transmission strategy; in the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy, under the condition that the number of transmitted data packets reaches a preset interval threshold value, selecting a target data packet from the transmitted data packets, and executing retransmission processing on the target data packet; wherein the preset interval threshold value is not greater than the preset recovery threshold value. According to the mode, the reliability of data packet transmission is improved, and the transmission quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for transmitting a data packet. Background Art

[0002] With the rapid development of Internet technology, data transmission between different network devices is becoming more and more common. However, during the transmission process, various problems may occur, such as network link blockage, low performance of one party's network equipment, hardware defects of device hardware or network cables, and software on network equipment. Therefore, network packet loss is likely to occur during data transmission.

[0003] Once network packet loss occurs, the data content cannot be transmitted accurately, which has a huge impact on the receiving effect of the receiving end. Therefore, how to improve the performance degradation caused by network packet loss has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] In view of the above problems, the present disclosure is proposed to provide a method, device, electronic device and storage medium for transmitting a data packet that overcome the above problems or at least partially solve the above problems.

[0005] According to one aspect of an embodiment of the present disclosure, a method for transmitting a data packet is provided, including:

[0006] In the process of transmitting a plurality of data packets in the sequence of data packets according to the first transmission strategy, detecting the number of consecutive packet losses when the plurality of data packets are consecutively lost;

[0007] If it is determined that the current network state meets the preset repair condition according to the comparison result between the continuous packet loss number and the preset recovery threshold, the first transmission strategy is adjusted to the second transmission strategy;

[0008] In the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy, when it is detected that the number of transmitted data packets reaches a preset interval threshold, a target data packet is selected from the transmitted data packets and retransmission processing is performed on the target data packet; wherein the preset interval threshold is not greater than the preset recovery threshold.

[0009] In an optional implementation, when it is detected that the number of transmitted data packets reaches a preset interval threshold, selecting a target data packet from the transmitted data packets includes:

[0010] Whenever it is detected that the i+Mth data packet has been transmitted, the i+Mth data packet is used as the target data packet selected this time;

[0011] Among them, i is the sequence number of the target data packet selected last time in the data packet sequence, and the value of i is dynamically updated with the switching of the target data packet, M is the preset interval threshold, and i and M are both natural numbers.

[0012] In an optional implementation manner, performing retransmission processing on the target data packet includes:

[0013] Determine the retransmission time of the target data packet according to the first transmission time of the target data packet; wherein the time interval between the retransmission time and the first transmission time is not greater than the current transmission round-trip delay of the data packet;

[0014] When the retransmission time is reached, the target data packet is retransmitted.

[0015] In an optional implementation, the time interval between the retransmission time and the first transmission time is determined according to a maximum continuous packet loss time detected in a historical time period;

[0016] Alternatively, the time interval between the retransmission time and the first transmission time is equal to half of the current transmission round-trip delay.

[0017] In an optional implementation, in the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy, the method further includes: detecting the number of consecutive packet losses when multiple data packets are lost continuously, and if it is determined that the current network state meets the preset recovery condition according to the comparison result between the number of consecutive packet losses and the preset recovery threshold, restoring the second transmission strategy to the first transmission strategy;

[0018] Among them, the preset recovery condition includes: within at least two consecutive time periods, the number of consecutive packet losses when multiple data packets are lost continuously is less than the preset recovery threshold; and the preset repair condition includes: within the current time period, the number of consecutive packet losses when multiple data packets are lost continuously is not less than the preset recovery threshold.

[0019] In an optional implementation, when the data packet sequence is applied to a first type of service, the preset interval threshold is a first value;

[0020] In the case where the data packet sequence is applied to a second type of service, the preset interval threshold is a second value;

[0021] The real-time performance of the first type of business is higher than that of the second type of business, and the first value is smaller than the second value; wherein the first type of business includes: cloud gaming business;

[0022] Furthermore, the number of consecutive time periods in the preset restoration condition for the first type of service is greater than the number of consecutive time periods in the preset restoration condition for the second type of service.

[0023] In an optional implementation manner, after determining that the current network state meets the preset repair condition, the method further includes:

[0024] When the number of consecutive packet losses when the multiple data packets are lost continuously is greater than the preset recovery threshold, and the number of consecutive packet losses when the multiple data packets are lost continuously is less than twice the preset recovery threshold, determining, according to multiple sequence numbers of the multiple data packets lost continuously, a data packet corresponding to a median of the multiple sequence numbers, and performing retransmission processing on the data packet corresponding to the median; or

[0025] When the number of consecutive packet losses when multiple data packets are lost continuously is greater than twice the preset recovery threshold, the data packet corresponding to the preset recovery threshold is determined among the multiple sequence numbers according to the multiple sequence numbers of the multiple data packets lost continuously and the preset recovery threshold, and retransmission processing is performed on the data packet corresponding to the preset recovery threshold.

[0026] In an optional implementation, the plurality of data packets in the data packet sequence are encoded in a forward error correction manner, and the preset recovery threshold is determined according to a forward error correction parameter;

[0027] Furthermore, the multiple data packets in the data packet sequence include: media packets and redundant packets, and the target data packet is a media packet.

[0028] According to another aspect of the present disclosure, there is provided a data packet transmission device, comprising:

[0029] a detection module adapted to detect the number of consecutive packet losses when a plurality of data packets are lost consecutively during the process of transmitting a plurality of data packets in the sequence of data packets according to the first transmission strategy;

[0030] an adjustment module, adapted to adjust the first transmission strategy to a second transmission strategy if it is determined that the current network state meets a preset repair condition according to a comparison result between the continuous packet loss number and a preset recovery threshold;

[0031] A retransmission module is suitable for selecting a target data packet from the transmitted data packets and performing retransmission processing on the target data packet when detecting that the number of transmitted data packets reaches a preset interval threshold during the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy; wherein the preset interval threshold is not greater than the preset recovery threshold.

[0032] In an optional implementation manner, the retransmission module is specifically adapted to:

[0033] Whenever it is detected that the i+Mth data packet has been transmitted, the i+Mth data packet is used as the target data packet selected this time;

[0034] Among them, i is the sequence number of the target data packet selected last time in the data packet sequence, and the value of i is dynamically updated with the switching of the target data packet, M is the preset interval threshold, and i and M are both natural numbers.

[0035] In an optional implementation manner, the retransmission module is specifically adapted to:

[0036] Determine the retransmission time of the target data packet according to the first transmission time of the target data packet; wherein the time interval between the retransmission time and the first transmission time is not greater than the current transmission round-trip delay of the data packet;

[0037] When the retransmission time is reached, the target data packet is retransmitted.

[0038] In an optional implementation, the time interval between the retransmission time and the first transmission time is determined according to a maximum continuous packet loss time detected in a historical time period;

[0039] Alternatively, the time interval between the retransmission time and the first transmission time is equal to half of the current transmission round-trip delay.

[0040] In an optional implementation, the device further includes: a recovery module, adapted to detect the number of consecutive packet losses when multiple data packets are lost continuously, and if it is determined that the current network state meets the preset recovery condition based on a comparison result between the number of consecutive packet losses and the preset recovery threshold, the second transmission strategy is restored to the first transmission strategy;

[0041] Among them, the preset recovery condition includes: within at least two consecutive time periods, the number of consecutive packet losses when multiple data packets are lost continuously is less than the preset recovery threshold; and the preset repair condition includes: within the current time period, the number of consecutive packet losses when multiple data packets are lost continuously is not less than the preset recovery threshold.

[0042] In an optional implementation, when the data packet sequence is applied to a first type of service, the preset interval threshold is a first value;

[0043] In the case where the data packet sequence is applied to a second type of service, the preset interval threshold is a second value;

[0044] The real-time performance of the first type of business is higher than that of the second type of business, and the first value is smaller than the second value; wherein the first type of business includes: cloud gaming business;

[0045] Furthermore, the number of consecutive time periods in the preset restoration condition for the first type of service is greater than the number of consecutive time periods in the preset restoration condition for the second type of service.

[0046] In an optional implementation manner, the retransmission module is further adapted to:

[0047] When the number of consecutive packet losses when the multiple data packets are lost continuously is greater than the preset recovery threshold, and the number of consecutive packet losses when the multiple data packets are lost continuously is less than twice the preset recovery threshold, determining, according to multiple sequence numbers of the multiple data packets lost continuously, a data packet corresponding to a median of the multiple sequence numbers, and performing retransmission processing on the data packet corresponding to the median; or

[0048] When the number of consecutive packet losses when multiple data packets are lost continuously is greater than twice the preset recovery threshold, the data packet corresponding to the preset recovery threshold is determined among the multiple sequence numbers according to the multiple sequence numbers of the multiple data packets lost continuously and the preset recovery threshold, and retransmission processing is performed on the data packet corresponding to the preset recovery threshold.

[0049] According to another aspect of the present disclosure, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0050] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the data packet transmission method as described above.

[0051] According to another aspect of the present disclosure, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a processor to execute the above-mentioned data packet transmission method.

[0052] In an embodiment of the present disclosure, according to the comparison result between the number of consecutive packet losses detected when multiple data packets are lost continuously and the preset recovery threshold, the first transmission strategy can be adjusted to the second transmission strategy when the current network state meets the preset repair condition, so that when the subsequent data packets are transmitted according to the second transmission strategy, when the number of transmitted data packets is detected to reach the preset interval threshold, the target data packet is selected from the transmitted data packets, and retransmission processing is performed for the target data packet. It can be seen that this method can automatically adjust the default first transmission strategy to the second transmission strategy when the network state is poor, and through the second transmission strategy, whenever the number of transmitted data packets is detected to reach the preset interval threshold, the target data packet is selected from the transmitted data packets for retransmission. This method can automatically retransmit part of the multiple sent data packets with the help of the second transmission strategy, thereby quickly reducing the continuous packet loss rate, thereby avoiding the problem that the receiving end cannot recover due to excessive number of continuous packet losses. This method improves the reliability of data packet transmission and improves the transmission quality.

[0053] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present disclosure. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0055] Figure 1 A flow chart of a method for transmitting a data packet provided by an embodiment of the present disclosure is shown;

[0056] Figure 2 A flowchart of a method for transmitting a data packet provided by an example of the present disclosure is shown;

[0057] Figure 3 A schematic diagram showing a method of selecting a target data packet;

[0058] Figure 4 A schematic diagram of a data packet transmission device provided by another embodiment of the present disclosure is shown;

[0059] Figure 5 A schematic structural diagram of an electronic device provided by yet another embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0060] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0061] In the related art, in order to deal with the problem of network packet loss, the coding method can be improved so that the network can automatically recover the packet loss problem within a certain range. However, once a serious packet loss occurs in the network, the conventional recovery method will fail. In order to solve the above problem, the present application proposes an improved data packet transmission method, which can automatically retransmit part of the multiple sent data packets, thereby quickly reducing the continuous packet loss rate, thereby avoiding the problem that the receiving end cannot recover due to excessive continuous packet loss.

[0062] Figure 1 A flowchart of a method for transmitting a data packet provided by an embodiment of the present disclosure is shown.

[0063] like Figure 1 As shown, the method specifically includes:

[0064] Step S110: in the process of transmitting a plurality of data packets in the data packet sequence according to the first transmission strategy, detecting the number of consecutive packet losses when a plurality of data packets are consecutively lost.

[0065] The data packet sequence is used to store multiple data packets in sequence. The first transmission strategy may be a default data packet transmission strategy, for example, the first transmission strategy may be a conventional sequential transmission strategy. Typically, multiple data packets in the data packet sequence are sequentially transmitted from the transmitting end to the receiving end according to the default first transmission strategy.

[0066] In the process of data packet transmission, the number of consecutive packet losses when multiple data packets are lost continuously is dynamically detected. Since multiple data packets are stored in the data packet sequence in order, each data packet has a unique sequence number. By detecting the sequence number of the lost data packet, the number of consecutive packet losses when multiple data packets are lost continuously can be determined. It can be seen that the consecutive loss of multiple data packets refers to: the loss of multiple data packets with consecutive sequence numbers. For example, assuming that the number of multiple lost data packets with consecutive sequence numbers is 10 in total, the number of consecutive packet losses is 10.

[0067] Step S120: If it is determined that the current network state meets the preset repair condition based on the comparison result between the number of consecutive packet losses and the preset recovery threshold, the first transmission strategy is adjusted to the second transmission strategy.

[0068] The preset recovery threshold may be determined according to the encoding method of the data packet. For example, the preset recovery threshold may be set to the maximum packet loss recovery threshold supported by the encoding method of the data packet. When the number of packet losses exceeds the preset recovery threshold, it will be difficult for the receiving end to recover the complete sent content according to the received data packet.

[0069] For example, assume that a data packet is encoded using a forward error correction method, in which multiple data packets are divided into a data packet group, each of which contains a first number of valid data packets and a second number of redundant packets. Among them, the valid data packet contains the data content actually to be transmitted, which can be specifically a media packet. The redundant packet is generated by a certain algorithm based on the data content of the valid data packet, and can also be called a check packet. According to the ratio between the first number and the second number, the maximum recovery threshold in the encoding method can be determined. The so-called maximum recovery threshold means that when the number of consecutive packet losses does not exceed the maximum recovery threshold, the lost data packets can be recovered by redundant packets; when the number of consecutive packet losses exceeds the maximum recovery threshold, the lost data packets cannot be recovered by redundant packets.

[0070] Correspondingly, the preset recovery threshold in this step may be equal to the maximum recovery threshold, or the preset recovery threshold may be slightly less than the maximum recovery threshold. Therefore, the number of continuous packet losses may be compared with the preset recovery threshold. If the number of continuous packet losses is greater than the preset recovery threshold, it is determined that the current network state meets the preset repair condition. In addition, it is also possible to judge whether the current network state meets the preset repair condition in other ways. For example, it is also possible to judge based on the ratio between the number of continuous packet losses and the preset recovery threshold. Alternatively, it is also possible to further combine other network indicators such as packet loss frequency, network transmission speed, network bandwidth, etc. to comprehensively judge whether the current network state meets the preset repair condition. The present application does not limit the specific connotation of the preset repair condition. In short, the preset repair condition is used to judge whether the current network is in a state of poor transmission efficiency. Once it is determined that the current network state meets the preset repair condition, it means that the current network state is poor. In order to improve the transmission effect, the first transmission strategy is adjusted to the second transmission strategy. Among them, the second transmission strategy is different from the default first transmission strategy. Compared with the first transmission strategy, the second transmission strategy has higher transmission reliability and is more conducive to data recovery at the receiving end.

[0071] Step S130: In the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy, when it is detected that the number of transmitted data packets reaches a preset interval threshold, a target data packet is selected from the transmitted data packets, and retransmission processing is performed on the target data packet; wherein the preset interval threshold is not greater than the preset recovery threshold.

[0072] Since the first transmission strategy is immediately adjusted to the second transmission strategy when it is detected that the current network state meets the preset repair condition, the subsequent data packets in the data packet sequence will be transmitted by the second transmission strategy. Under the control of the second transmission strategy, whenever it is detected that the number of transmitted data packets reaches the preset interval threshold, a target data packet is selected from the transmitted data packets and the target data packet is retransmitted.

[0073] It can be seen that the core of the second transmission strategy is: every time a preset number of data packets are transmitted, at least one data packet is automatically selected from the preset number of data packets that have been transmitted for retransmission. The preset number can be specifically determined according to a preset interval threshold. The preset interval threshold is not greater than the preset recovery threshold. For example, when the preset recovery threshold is 10, the preset interval threshold can be set to 9, that is: every time 9 data packets are transmitted, at least one data packet among the 9 data packets (such as the 9th data packet) is retransmitted as a target data packet. With the help of the second transmission strategy, by actively retransmitting a certain number of data packets, it can be ensured that the number of consecutively lost data packets does not exceed the preset recovery threshold. Therefore, the second transmission strategy aims to actively reduce the number of consecutive packet losses to avoid the problem that the receiving end cannot accurately recover due to too many consecutive packet losses.

[0074] It can be seen that in this method, when the network status is poor, the default first transmission strategy can be automatically adjusted to the second transmission strategy, and through the second transmission strategy, whenever the number of transmitted data packets is detected to reach the preset interval threshold, the target data packet is selected from the transmitted data packets for retransmission. With the help of the second transmission strategy, this method can automatically retransmit at least one data packet among multiple sent data packets, thereby quickly reducing the continuous packet loss rate, thereby avoiding the problem that the receiving end cannot recover due to excessive continuous packet loss. This method improves the reliability of data packet transmission and improves the transmission quality.

[0075] In addition, in order to achieve better technical effects, those skilled in the art may also make various changes and modifications to the above embodiments:

[0076] In an optional implementation, when the number of transmitted data packets is detected to reach a preset interval threshold, the target data packet is selected from the transmitted data packets, which is specifically implemented in the following manner: whenever it is detected that the i+Mth data packet has been transmitted, the i+Mth data packet is used as the target data packet selected this time; wherein i is the sequence number of the target data packet selected last time in the data packet sequence, M is the preset interval threshold, and i and M are both natural numbers. It can be seen that the value of i can be dynamically updated with the switching of the target data packet: after the i+Mth data packet is used as the target data packet selected this time and the target data packet is retransmitted, in the next round of transmission, the i+Mth data packet is the target data packet selected last time (that is, the value of i is updated to i+M). For example, assuming that in the first round of transmission, the value of i is 11, and the 11th data packet is retransmitted as the target data packet, assuming that M is 9, then the 20th data packet is retransmitted as the target data packet next time, and the 29th data packet is retransmitted as the target data packet next time... and so on.

[0077] Of course, in addition to cyclically selecting a target data packet for retransmission every preset interval threshold in the above manner, other retransmission strategies may also be adopted. For example, after each transmission of a preset number of data packets, two or more data packets may be selected from the transmitted preset number of data packets for retransmission.

[0078] The core of the above transmission strategy is: first, set the total number of data packets contained in a retransmission group. For example, 10 data packets can be used as a retransmission group. Specifically, the total number of data packets contained in a retransmission group can be determined according to a preset recovery threshold. For example, the total number of data packets contained in a retransmission group can be set to a number not greater than the preset recovery threshold. Then, set the number of target data packets retransmitted in a retransmission group and the position of the target data packets in the retransmission group. For example, the number of target data packets retransmitted in a retransmission group can be one or more, depending on the quality requirements of the service. For services with higher quality requirements, the number of target data packets retransmitted in a retransmission group can be set to be more. In addition, the position of the target data packets retransmitted in a retransmission group in the retransmission group can be set to the head, middle, tail, etc.

[0079] In an optional implementation, when performing retransmission processing on a target data packet, an appropriate retransmission time can be set to ensure that the retransmitted data packet can reach the receiving end reliably and in time. In specific implementation, the retransmission time of the target data packet is determined according to the first transmission time of the target data packet, and the target data packet is retransmitted when the retransmission time arrives. Among them, the time interval between the retransmission time and the first transmission time is not greater than the current transmission round-trip delay of the data packet. The current transmission round-trip delay RTT (Round Trip Time) of the data packet refers to the round-trip delay, which is used in network communication to measure the time it takes for data to travel from the sender to the receiver and then back to the sender. RTT is an important indicator for measuring network delay and response time, usually in milliseconds. By setting the time interval between the retransmission time and the first transmission time to be no greater than the current transmission round-trip delay of the data packet, the target data packet can be retransmitted in advance before the receiving end notifies the sending end of packet loss. In other words, the advantage of the present application is that, when it is detected that the network status meets the preset repair conditions, a special transmission strategy can be adopted in advance before the receiving end feeds back the packet loss status (i.e., the second transmission strategy is used to automatically retransmit every certain number of data packets), thereby ensuring that the number of consecutive packet losses in subsequent transmission processes does not exceed the preset recovery threshold, thereby ensuring the timeliness of data packet retransmission and avoiding the problem that the receiving end cannot correctly obtain data due to long-term packet loss.

[0080] In an optional implementation, the time interval between the retransmission time and the first transmission time can be determined based on the maximum continuous packet loss time detected in the historical time period. For example, in the case where the maximum continuous packet loss time is less than the current transmission round-trip delay, the time interval between the retransmission time and the first transmission time can be no less than the maximum continuous packet loss time detected in the historical time period, for example, the time interval between the retransmission time and the first transmission time can be equal to or slightly greater than the maximum continuous packet loss time detected in the historical time period. Among them, the maximum continuous packet loss time detected in the historical time period refers to: the longest duration of continuous packet loss in the case of continuous packet loss. Since the network is equivalent to being in a state of shock during the maximum continuous packet loss time, if the target data packet is retransmitted too early and the network has not recovered, it will cause retransmission failure. Therefore, by setting the time interval between the retransmission time and the first transmission time to be no less than the maximum continuous packet loss time detected in the historical time period, the problem of retransmission failure caused by network shock can be avoided as much as possible. Of course, the above situation mainly refers to the situation where the maximum continuous packet loss time is less than the current transmission round-trip delay. If the maximum continuous packet loss time is greater than the current transmission round-trip delay, it is still necessary to meet the constraint that the time interval between the retransmission time and the first transmission time is not greater than the current transmission round-trip delay of the data packet to meet the timeliness of the retransmission.

[0081] In another optional implementation, the time interval between the retransmission time and the first transmission time can be equal to half of the current transmission round trip delay. For example, the time interval between the retransmission time and the first transmission time is equal to RTT / 2. It has been found through experiments that this time interval can better balance the timeliness and success rate of retransmission.

[0082] In an optional implementation, considering that the cost of using the second transmission strategy to transmit data packets is high, the default first transmission strategy can be used again for transmission after the network state is restored. Accordingly, in the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy, the following operations are further performed: detecting the number of continuous packet losses when multiple data packets are lost continuously, if the current network state meets the preset recovery condition according to the comparison result between the number of continuous packet losses and the preset recovery threshold, the second transmission strategy is restored to the first transmission strategy. Among them, the preset recovery condition includes: the number of continuous packet losses when multiple data packets are lost continuously in at least two consecutive time periods is less than the preset recovery threshold. It can be seen that when the second transmission strategy is restored to the first transmission strategy, it is necessary to restore it when the number of continuous packet losses when multiple data packets are lost continuously in at least two consecutive time periods is less than the preset recovery threshold, so as to avoid the problem that the subsequent data packets are still seriously lost after the transmission strategy is changed due to the occasional improvement of the network state. In addition, the preset repair condition includes: the number of continuous packet losses when multiple data packets are lost continuously in the current time period is not less than the preset recovery threshold. It can be seen that when the first transmission strategy is adjusted to the second transmission strategy, it needs to be adjusted immediately to ensure the reliable transmission of subsequent data packets.

[0083] In an optional implementation, when the data packet sequence is applied to the first type of service, the preset interval threshold is a first value; when the data packet sequence is applied to the second type of service, the preset interval threshold is a second value; wherein the real-time performance of the first type of service is higher than that of the second type of service, and the first value is smaller than the second value. It can be seen that in services with higher real-time requirements, a smaller preset interval threshold is set to increase the number of target data packets to be retransmitted, and to make the interval between two adjacent target data packets denser, so as to better avoid the problem that the receiving end cannot receive complete data in real time due to a large number of packet losses.

[0084] Among them, the first category of services may include: cloud gaming services. In the cloud gaming operation mode, all games are run on the server side, and the rendered game screen is compressed and transmitted to the client through the network. Therefore, higher requirements are placed on the real-time and reliability of data transmission. With the help of the method in this application, the real-time and reliable transmission of cloud gaming services can be better guaranteed. Moreover, the number of consecutive time periods in the preset recovery conditions of the first category of services is greater than the number of consecutive time periods in the preset recovery conditions of the second category of services. For example, the number of consecutive time periods in the preset recovery conditions of the first category of services is greater than or equal to 3, and the number of consecutive time periods in the preset recovery conditions of the second category of services is 2. By making the number of consecutive time periods in the preset recovery conditions of the first category of services larger, the transmission reliability of the first category of services can be improved.

[0085] In an optional implementation, after determining that the current network state meets the preset repair condition, in addition to transmitting subsequent data packets according to the second transmission strategy, the following processing may be further performed on the data packets that have been transmitted according to the first transmission strategy:

[0086] When the number of consecutive packet losses when multiple data packets are lost continuously is greater than a preset recovery threshold, and the number of consecutive packet losses when multiple data packets are lost continuously is less than twice the preset recovery threshold, the data packet corresponding to the median of the multiple sequence numbers is determined based on the multiple sequence numbers of the multiple data packets that are lost continuously, and retransmission processing is performed on the data packet corresponding to the median. For example, assuming that the preset recovery threshold is 10 and the number of consecutive packet losses is 12, the data packet corresponding to the median of the multiple sequence numbers can be determined to be the 6th or 7th data packet based on the multiple sequence numbers of the multiple data packets that are lost continuously, and retransmission processing is performed on the 6th or 7th data packet. By selecting the data packet corresponding to the median, the number of consecutive packet losses after retransmission can be greatly reduced, thereby reducing the difficulty of recovery at the receiving end.

[0087] When the number of consecutive packet losses when multiple data packets are lost continuously is greater than twice the preset recovery threshold, the data packets corresponding to the preset recovery threshold are determined according to the multiple sequence numbers of the multiple data packets lost continuously and the preset recovery threshold, and retransmission processing is performed on the data packets corresponding to the preset recovery threshold. For example, assuming that the preset recovery threshold is 10 and the number of consecutive packet losses is 32, the data packets corresponding to the preset recovery threshold are determined according to the multiple sequence numbers of the multiple data packets lost continuously and the preset recovery threshold. Among them, the data packets corresponding to the preset recovery threshold may be the 10th, 20th, and 30th data packets, so that retransmission processing is performed on the 10th, 20th, and 30th data packets. By selecting the data packets corresponding to the preset recovery threshold, the recovery condition of the receiving end can be met at the lowest cost when the number of consecutive packet losses is large.

[0088] In an optional implementation, multiple data packets in a data packet sequence can be encoded using a forward error correction method, and a preset recovery threshold can be determined based on a forward error correction parameter; and, the multiple data packets in the data packet sequence include: a media packet and a redundant packet, then the target data packet is a media packet, to ensure that the receiving end can obtain more comprehensive data information.

[0089] For ease of understanding, an example is used below to introduce the implementation of the above embodiment. This example can be applied to data transmission in the field of cloud gaming.

[0090] The following is an explanation of some of the concepts involved in this example:

[0091] Continuous packet loss: Several consecutive packets may be lost simultaneously during network transmission.

[0092] Random packet loss: During network transmission, a packet may be lost with a random probability.

[0093] RTT (Round Trip Time) refers to the round trip delay, which is used to measure the time it takes for data to travel from the sender to the receiver and then back to the sender in network communications. RTT is an important indicator for measuring network delay and response time, usually in milliseconds (ms).

[0094] NACK (Negative Acknowledgement) is a negative feedback, and the receiver notifies the sender only when it has not received the data.

[0095] Forward Error Correction (FEC): A technology that uses redundant data in data transmission to recover lost data at the receiving end. FEC adds redundant data to the transmitted data packets (i.e., redundant packets) so that the receiving end can recover from packet loss through the redundant data in the redundant packets.

[0096] Redundant data: In FEC, it refers to the extra data added to the transmitted data packet. Redundant data is used to provide redundancy to facilitate data recovery in the event of packet loss.

[0097] Packet loss in the network can be divided into random packet loss and continuous packet loss. Usually when transmitting streaming media data, FEC technology is used to deal with packet loss networks and recover lost data packets, thereby improving transmission effects. However, in actual situations, such as when there is intermittent network congestion, a large number of uncontrollable continuous packet losses will occur, and the number of continuous packet losses may sometimes reach dozens or even higher. The FEC algorithm can only repair a certain number of continuous packet losses (depending on the redundancy of the FEC algorithm). When the number of continuous packet losses exceeds a certain threshold, FEC will lose its effect and the receiving end will be unable to repair it.

[0098] To address the problem of continuous packet loss exceeding the recovery boundary of the FEC algorithm, this example replaces the default first transmission strategy with an improved second transmission strategy to break through the recovery boundary of the FEC algorithm, thereby ensuring that the receiving end can reliably recover lost data packets and improve transmission performance.

[0099] This example has the following improvements:

[0100] First, this example proposes a start and stop mechanism for the repair strategy: every certain period (such as 10 seconds), the sender calculates the maximum number of consecutive packet losses in the network based on the packet loss feedback mechanism (such as NACK) of the receiver, and determines whether the maximum number of consecutive packet losses exceeds the FEC recovery threshold (max_fec_fix_packets). Once exceeded, the repair strategy in this example is triggered immediately. If it does not exceed the FEC recovery threshold, it means that FEC can recover independently, and there is no need to trigger this repair strategy.

[0101] Secondly, this example proposes the following repair strategy: every max_fec_fix_packets packets, at least one transmitted media packet is used as the target packet, and the target packet is retransmitted once after RTT / 2 (the duration of continuous packet loss is basically less than the latest RTT / 2), so that the number of continuous packet loss drops quickly to below max_fec_fix_packets, so that the FEC algorithm can recover the valid media data lost in transmission after RTT / 2. Among them, the FEC recovery threshold max_fec_fix_packets is the preset recovery threshold mentioned above.

[0102] Figure 2 The schematic diagram of the flow chart of the data packet transmission method in this example is shown as follows: Figure 2 As shown, the specific steps include:

[0103] Step S210: in the process of transmitting a plurality of data packets in a data packet sequence according to a first transmission strategy, detecting the number of consecutive packet losses when a plurality of data packets are consecutively lost.

[0104] The sending end may calculate the maximum continuous packet loss number max_burst_lost_num in the period through a packet loss feedback mechanism (such as NACK) at regular intervals (such as 10 seconds).

[0105] Step S220: Determine whether the number of consecutive packet losses is greater than a preset recovery threshold.

[0106] The sender compares the maximum number of consecutive packet losses (max_burst_lost_num) calculated in the latest cycle with the maximum number of consecutive packet losses that can be recovered by the FEC algorithm (ie, the FEC recovery threshold max_fec_fix_packets), and starts the second transmission strategy if they exceed.

[0107] Step S230: If yes, adjust the first transmission strategy to the second transmission strategy.

[0108] In order to control the number of consecutive packet losses within max_fec_fix_packets as soon as possible, thereby improving the FEC recovery method, it is necessary to adjust the first transmission strategy to the second transmission strategy. With the second transmission strategy, at least one target data packet can be selected and resent after RTT / 2 every max_fec_fix_packets packets.

[0109] Step S240: Whenever it is detected that the i+Mth data packet has been transmitted, the i+Mth data packet is used as the target data packet selected this time.

[0110] Specifically, through the second transmission strategy, whenever it is detected that the i+Mth data packet has been transmitted, the i+Mth data packet is used as the target data packet selected this time. This method is equivalent to retransmitting once every M data packets. M can be equal to or less than the above-mentioned FEC recovery threshold max_fec_fix_packets. It can be seen that when it is detected that the number of transmitted data packets reaches the preset interval threshold, the target data packet is selected from the transmitted data packets, and retransmission processing is performed on the target data packet.

[0111] Step S250: Determine the retransmission time of the target data packet according to the first transmission time of the target data packet; and retransmit the target data packet when the retransmission time arrives.

[0112] The time interval between the retransmission time and the first transmission time is not greater than the current round trip delay of the data packet. Preferably, the time interval between the retransmission time and the first transmission time is equal to RTT / 2.

[0113] In summary, this example can improve the recovery rate of continuous packet loss: it can promptly identify and handle the situation where the number of continuous packet loss exceeds the FEC algorithm recovery threshold, and through this method, it can actively reduce the number of continuous packet loss to within the FEC repair threshold in a faster time (such as RTT / 2), thereby significantly improving the data recovery rate and ensuring the reliability and integrity of data transmission.

[0114] Figure 3 FIG. 1 is a schematic diagram showing a method for selecting a target data packet. Figure 3 As shown, assuming that the preset interval threshold is 5, that is, a target data packet is selected every time 5 data packets are transmitted (i.e. Figure 3 The data packet corresponding to the dotted box in the figure is retransmitted. Figure 3 The first data packet in the above generally refers to the first data packet sent after switching to the second transmission strategy. Accordingly, the fifth data packet, the tenth data packet, the fifteenth data packet, etc. sent after switching to the second transmission strategy can be used as target data packets. Each target data packet will be sent one more time to quickly reduce the continuous packet loss rate at the receiving end. Figure 3 Only 10 data packets are used as an example for explanation. In actual situations, the number of data packets is greater, and the setting method of the preset interval threshold can be more flexible.

[0115] Figure 4 A schematic diagram of a data packet transmission device provided by another embodiment of the present disclosure is shown, and the device specifically includes:

[0116] A detection module 41, adapted to detect the number of consecutive packet losses when a plurality of data packets are consecutively lost during the process of transmitting a plurality of data packets in a sequence of data packets according to a first transmission strategy;

[0117] An adjustment module 42, adapted to adjust the first transmission strategy to a second transmission strategy if it is determined that the current network state meets a preset repair condition according to a comparison result between the continuous packet loss number and a preset recovery threshold;

[0118] The retransmission module 43 is suitable for selecting a target data packet from the transmitted data packets and performing retransmission processing on the target data packet when it is detected that the number of transmitted data packets reaches a preset interval threshold during the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy; wherein the preset interval threshold is not greater than the preset recovery threshold.

[0119] In an optional implementation manner, the retransmission module is specifically adapted to:

[0120] Whenever it is detected that the i+Mth data packet has been transmitted, the i+Mth data packet is used as the target data packet selected this time;

[0121] Among them, i is the sequence number of the target data packet selected last time in the data packet sequence, and the value of i is dynamically updated with the switching of the target data packet, M is the preset interval threshold, and i and M are both natural numbers.

[0122] In an optional implementation manner, the retransmission module is specifically adapted to:

[0123] Determine the retransmission time of the target data packet according to the first transmission time of the target data packet; wherein the time interval between the retransmission time and the first transmission time is not greater than the current transmission round-trip delay of the data packet;

[0124] When the retransmission time is reached, the target data packet is retransmitted.

[0125] In an optional implementation, the time interval between the retransmission time and the first transmission time is determined according to a maximum continuous packet loss time detected in a historical time period;

[0126] Alternatively, the time interval between the retransmission time and the first transmission time is equal to half of the current transmission round-trip delay.

[0127] In an optional implementation, the device further includes: a recovery module, adapted to detect the number of consecutive packet losses when multiple data packets are lost continuously, and if it is determined that the current network state meets the preset recovery condition based on a comparison result between the number of consecutive packet losses and the preset recovery threshold, the second transmission strategy is restored to the first transmission strategy;

[0128] Among them, the preset recovery condition includes: within at least two consecutive time periods, the number of consecutive packet losses when multiple data packets are lost continuously is less than the preset recovery threshold; and the preset repair condition includes: within the current time period, the number of consecutive packet losses when multiple data packets are lost continuously is not less than the preset recovery threshold.

[0129] In an optional implementation, when the data packet sequence is applied to a first type of service, the preset interval threshold is a first value;

[0130] In the case where the data packet sequence is applied to a second type of service, the preset interval threshold is a second value;

[0131] The real-time performance of the first type of business is higher than that of the second type of business, and the first value is smaller than the second value; wherein the first type of business includes: cloud gaming business;

[0132] Furthermore, the number of consecutive time periods in the preset restoration condition for the first type of service is greater than the number of consecutive time periods in the preset restoration condition for the second type of service.

[0133] In an optional implementation manner, the retransmission module is further adapted to:

[0134] When the number of consecutive packet losses when the multiple data packets are lost continuously is greater than the preset recovery threshold, and the number of consecutive packet losses when the multiple data packets are lost continuously is less than twice the preset recovery threshold, determining, according to multiple sequence numbers of the multiple data packets lost continuously, a data packet corresponding to a median of the multiple sequence numbers, and performing retransmission processing on the data packet corresponding to the median; or

[0135] When the number of consecutive packet losses when multiple data packets are lost continuously is greater than twice the preset recovery threshold, the data packet corresponding to the preset recovery threshold is determined among the multiple sequence numbers according to the multiple sequence numbers of the multiple data packets lost continuously and the preset recovery threshold, and retransmission processing is performed on the data packet corresponding to the preset recovery threshold.

[0136] In an optional implementation, the plurality of data packets in the data packet sequence are encoded in a forward error correction manner, and the preset recovery threshold is determined according to a forward error correction parameter;

[0137] Furthermore, the multiple data packets in the data packet sequence include: media packets and redundant packets, and the target data packet is a media packet.

[0138] The specific working principles of the above modules can be found in the description of the corresponding parts in the method embodiment, which will not be repeated here.

[0139] Figure 5 A schematic structural diagram of an electronic device according to another embodiment of the present disclosure is shown. The specific embodiment of the present disclosure does not limit the specific implementation of the electronic device.

[0140] like Figure 5 As shown, the electronic device may include: a processor (processor) 502 , a communication interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .

[0141] in:

[0142] The processor 502 , the communication interface 504 , and the memory 506 communicate with each other via a communication bus 508 .

[0143] The communication interface 504 is used to communicate with other devices such as clients or other servers.

[0144] The processor 502 is used to execute the program 510, and specifically can execute the relevant steps in the above-mentioned video image detection method embodiment.

[0145] Specifically, the program 510 may include program codes, which include computer operation instructions.

[0146] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs. They may also be processors of different types, such as one or more CPUs and one or more ASICs.

[0147] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0148] The program 510 can be specifically used to enable the processor 502 to execute the corresponding operations in the above-mentioned video image detection method embodiment.

[0149] The algorithms and displays provided herein are not inherently related to any particular computer, virtual device or other device. Various general purpose devices may also be used together with the teachings based thereon. According to the above description, it is apparent that the structure required for constructing such devices is. In addition, the present disclosure is not directed to any particular programming language either. It should be understood that various programming languages ​​may be utilized to implement the disclosure described herein, and the description of the specific languages ​​above is intended to disclose the best mode of implementation of the present disclosure.

[0150] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present disclosure can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0151] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various disclosed aspects, in the above description of exemplary embodiments of the present disclosure, various features of the present disclosure are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed disclosure requires more features than are expressly recited in each claim.

[0152] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0153] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present disclosure and form different embodiments. For example, any one of the claimed embodiments may be used in any combination.

[0154] The various component embodiments of the present disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the device according to the embodiments of the present disclosure. The present disclosure may also be implemented as a device or device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present disclosure may be stored on a computer-readable medium, or may have the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0155] It should be noted that the above embodiments illustrate the present disclosure rather than limit the present disclosure, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present disclosure may be implemented by means of hardware including several different elements and by means of appropriately programmed computers. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.

Claims

1. A method for transmitting a data packet, comprising: In the process of transmitting a plurality of data packets in the sequence of data packets according to the first transmission strategy, detecting the number of consecutive packet losses when the plurality of data packets are consecutively lost; If it is determined that the current network state meets the preset repair condition according to the comparison result between the continuous packet loss number and the preset recovery threshold, the first transmission strategy is adjusted to the second transmission strategy; In the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy, when it is detected that the number of transmitted data packets reaches a preset interval threshold, a target data packet is selected from the transmitted data packets and retransmission processing is performed on the target data packet; wherein the preset interval threshold is not greater than the preset recovery threshold.

2. The method according to claim 1, wherein: In the case where it is detected that the number of transmitted data packets reaches a preset interval threshold, selecting a target data packet from the transmitted data packets comprises: Whenever it is detected that the i+Mth data packet has been transmitted, the i+Mth data packet is used as the target data packet selected this time; Among them, i is the sequence number of the target data packet selected last time in the data packet sequence, and the value of i is dynamically updated with the switching of the target data packet, M is the preset interval threshold, and i and M are both natural numbers.

3. The method according to claim 1 or 2, wherein: The performing retransmission processing on the target data packet comprises: Determine the retransmission time of the target data packet according to the first transmission time of the target data packet; wherein the time interval between the retransmission time and the first transmission time is not greater than the current transmission round-trip delay of the data packet; When the retransmission time is reached, the target data packet is retransmitted.

4. The method according to claim 3, wherein: The time interval between the retransmission time and the first transmission time is determined according to the maximum continuous packet loss time detected in a historical time period; Alternatively, the time interval between the retransmission time and the first transmission time is equal to half of the current transmission round-trip delay.

5. The method according to any one of claims 1 to 4, wherein: In the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy, the method further includes: detecting the number of consecutive packet losses when multiple data packets are lost continuously, and if it is determined that the current network state meets the preset recovery condition according to the comparison result between the number of consecutive packet losses and the preset recovery threshold, restoring the second transmission strategy to the first transmission strategy; Among them, the preset recovery condition includes: within at least two consecutive time periods, the number of consecutive packet losses when multiple data packets are lost continuously is less than the preset recovery threshold; and the preset repair condition includes: within the current time period, the number of consecutive packet losses when multiple data packets are lost continuously is not less than the preset recovery threshold.

6. The method according to claim 5, wherein: In the case where the data packet sequence is applied to a first type of service, the preset interval threshold is a first value; In the case where the data packet sequence is applied to a second type of service, the preset interval threshold is a second value; The real-time performance of the first type of business is higher than that of the second type of business, and the first value is smaller than the second value; wherein the first type of business includes: cloud gaming business; Furthermore, the number of consecutive time periods in the preset restoration condition for the first type of service is greater than the number of consecutive time periods in the preset restoration condition for the second type of service.

7. The method according to any one of claims 1 to 6, wherein: After determining that the current network state meets the preset repair condition, the method further includes: When the number of consecutive packet losses when the multiple data packets are lost continuously is greater than the preset recovery threshold, and the number of consecutive packet losses when the multiple data packets are lost continuously is less than twice the preset recovery threshold, determining, according to multiple sequence numbers of the multiple data packets lost continuously, a data packet corresponding to a median of the multiple sequence numbers, and performing retransmission processing on the data packet corresponding to the median; or When the number of consecutive packet losses when multiple data packets are lost continuously is greater than twice the preset recovery threshold, the data packet corresponding to the preset recovery threshold is determined among the multiple sequence numbers according to the multiple sequence numbers of the multiple data packets lost continuously and the preset recovery threshold, and retransmission processing is performed on the data packet corresponding to the preset recovery threshold.

8. The method according to any one of claims 1 to 7, wherein: The plurality of data packets in the data packet sequence are encoded in a forward error correction manner, and the preset recovery threshold is determined according to a forward error correction parameter; Furthermore, the multiple data packets in the data packet sequence include: media packets and redundant packets, and the target data packet is a media packet.

9. A data packet transmission device, comprising: a detection module adapted to detect the number of consecutive packet losses when a plurality of data packets are lost consecutively during the process of transmitting a plurality of data packets in the sequence of data packets according to the first transmission strategy; an adjustment module, adapted to adjust the first transmission strategy to a second transmission strategy if it is determined that the current network state meets a preset repair condition according to a comparison result between the continuous packet loss number and a preset recovery threshold; A retransmission module is suitable for selecting a target data packet from the transmitted data packets and performing retransmission processing on the target data packet when detecting that the number of transmitted data packets reaches a preset interval threshold during the process of transmitting subsequent data packets in the data packet sequence according to the second transmission strategy; wherein the preset interval threshold is not greater than the preset recovery threshold.

10. An electronic device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the data packet transmission method according to any one of claims 1-8.

11. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and wherein the executable instruction enables a processor to execute the data packet transmission method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Control method and device for data transmission and electronic equipment

    CN119815132A

  • Negative acknowledgement message sending method and device, equipment and storage medium

    CN120881343A