Data transmission method, device, equipment, medium and program product

By determining transmission performance parameters during data transmission and adjusting the retransmission strategy using the target retransmission identifier, the problem that traditional retransmission mechanisms cannot adapt to different scenarios is solved, thereby avoiding network congestion and improving the reliability of data transmission.

CN120934699APending Publication Date: 2025-11-11CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511137706.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Traditional packet loss retransmission mechanisms cannot adapt to different data transmission scenarios, leading to increased network congestion.

Method used

An adaptive retransmission mechanism is achieved by determining transmission performance parameters between the data sender and receiver, dynamically adjusting the retransmission strategy, and using the target retransmission identifier to guide data packet retransmission.

Benefits of technology

In different data transmission environments, retransmission strategies are dynamically adjusted to avoid network congestion and improve the reliability and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120934699A_ABST
    Figure CN120934699A_ABST
Patent Text Reader

Abstract

The invention relates to a data transmission method and device, equipment, a medium and a program product, and relates to the technical field of communication. The method comprises the following steps: before a to-be-sent data packet is sent to a data receiving end, determining a transmission performance parameter with the data receiving end; determining a target retransmission identifier according to whether the transmission performance parameter satisfies a preset condition; adding a target retransmission identifier in the to-be-sent data packet to update the to-be-sent data packet; and sending the updated to-be-sent data packet to a data receiving end, so that the data receiving end sends feedback data to the data sending end according to the target retransmission identifier. By adopting the method, the dynamic adjustment of the retransmission strategy between the data sending end and the data receiving end is realized in different data transmission environments, so that the data retransmission process can adapt to different data transmission scenes, and the aggravation of network congestion is avoided.
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 transmission method, apparatus, device, medium, and program product. Background Technology

[0002] With the development of communication technology, data transmission rates and scales have increased significantly, but packet loss due to network instability still exists. Packet loss retransmission mechanisms can be used to detect lost data packets and retransmit them, thus ensuring the accuracy of data transmission.

[0003] However, traditional packet loss retransmission mechanisms are usually fixed retransmission strategies pre-built based on the transport protocol. The network quality and performance may vary greatly between different data transmission links and at different times. A single retransmission strategy cannot adapt to different data transmission scenarios and can easily lead to problems such as increased network congestion. Summary of the Invention

[0004] Therefore, it is necessary to provide a data transmission method, apparatus, device, medium, and program product to address the aforementioned technical problems, so as to adapt to different data transmission scenarios and avoid exacerbating network congestion.

[0005] Firstly, this application provides a data transmission method applied at a data sending end, comprising:

[0006] Before sending the data packet to the data receiver, determine the transmission performance parameters between the receiver and the data receiver.

[0007] The target retransmission identifier is determined based on whether the transmission performance parameters meet the preset conditions.

[0008] Add a target retransmission flag to the data packet to be sent to update the data packet;

[0009] The updated data packet to be sent is sent to the data receiver so that the data receiver can send feedback data to the data sender based on the target retransmission flag.

[0010] In one embodiment, the transmission performance parameter corresponds to at least one transmission performance index; accordingly, determining the target retransmission identifier based on whether the transmission performance parameter meets a preset condition includes: for each transmission performance index, querying the parameter range to which the transmission performance parameter of the transmission performance index belongs, and the transmission performance score corresponding to the parameter range, from a preset relationship matching table; determining the target transmission performance score based on the transmission performance score corresponding to each transmission performance index; if the target transmission performance score is greater than the preset transmission performance score, determining the target retransmission identifier as the first retransmission identifier; if the target transmission performance score is not greater than the preset transmission performance score, determining the target retransmission identifier as the second retransmission identifier.

[0011] In one embodiment, the transmission performance parameter corresponds to at least one transmission performance index; accordingly, determining the target retransmission identifier based on whether the transmission performance parameter meets a preset condition includes: determining the fusion weight corresponding to each transmission performance index; determining the comprehensive transmission performance parameter based on the transmission performance parameter and the corresponding fusion weight of each transmission performance index; determining the target retransmission identifier as a first retransmission identifier if the comprehensive transmission performance parameter is greater than the preset transmission performance parameter; and determining the target retransmission identifier as a second retransmission identifier if the comprehensive transmission performance parameter is not greater than the preset transmission performance parameter.

[0012] In one embodiment, for each transmission performance indicator, the fusion weight corresponding to the transmission performance indicator is determined, including: obtaining historical transmission performance parameters between the data receiver and the data receiver within a historical time period, and determining the parameter change trend data of each transmission performance indicator based on the historical transmission performance parameters; and determining the fusion weight of the transmission performance indicator based on the baseline priority data of the transmission performance indicator and / or the parameter change trend data of the transmission performance indicator.

[0013] Secondly, this application also provides a data transmission method applied at a data receiving end, comprising:

[0014] Upon receiving a data packet to be sent from the data sender, obtain the target retransmission identifier from the data packet to be sent;

[0015] Based on the target retransmission identifier, send feedback data to the data sender;

[0016] The target retransmission identifier added to the data packet to be sent is determined by the data sender based on whether the transmission performance parameters between the sender and receiver meet preset conditions; the transmission performance parameters are determined by the data sender before sending the data packet to be sent.

[0017] Thirdly, this application also provides a data transmission device configured at a data transmitting end, comprising:

[0018] The first determining module is used to determine the transmission performance parameters between the data receiver and the data receiver before sending the data packet to be sent to the data receiver.

[0019] The second determining module is used to determine the target retransmission identifier based on whether the transmission performance parameters meet the preset conditions.

[0020] The first processing module is used to add a target retransmission flag to the data packet to be sent in order to update the data packet to be sent;

[0021] The first sending module is used to send the updated data packet to be sent to the data receiving end, so that the data receiving end can send feedback data to the data sending end according to the target retransmission identifier.

[0022] Fourthly, this application also provides a data transmission device configured at a data receiving end, comprising:

[0023] The acquisition module is used to acquire the target retransmission identifier in the data packet to be sent when the data sender receives the data packet to be sent.

[0024] The second sending module is used to send feedback data to the data sending end according to the target retransmission identifier;

[0025] The target retransmission identifier added to the data packet to be sent is determined by the data sender based on whether the transmission performance parameters between the sender and receiver meet preset conditions; the transmission performance parameters are determined by the data sender before sending the data packet to be sent.

[0026] Fifthly, this application also provides a communication device, which includes a memory, a transceiver, and a processor. The memory stores a computer program, the transceiver is used to receive or send data under the control of the processor, and the processor implements the methods of the first or second aspect described above in various possible implementations when executing the computer program.

[0027] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the methods of the first or second aspect described above in various possible implementations.

[0028] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the methods of the first or second aspect described above in various possible implementations.

[0029] The aforementioned data transmission methods, apparatus, devices, media, and program products provide a data foundation for dynamically adjusting retransmission strategies by determining the transmission performance parameters between the sender and receiver before sending the data packet to the receiver. By introducing a target retransmission identifier, a retransmission mechanism that can adaptively adjust based on transmission performance parameters is established between the sender and receiver. Specifically, the target retransmission identifier is determined based on whether the transmission performance parameters meet preset conditions, allowing for the dynamic determination of a target retransmission identifier that matches the transmission performance parameters. By adding the target retransmission identifier to the data packet to be sent and sending the updated data packet to the receiver, the receiver can send feedback information to the sender according to the retransmission strategy corresponding to the target retransmission identifier. This enables adjustments to the retransmission strategy between the sender and receiver under different data transmission environments, allowing the data retransmission process to adapt to different data transmission scenarios and avoiding exacerbating network congestion. Attached Figure Description

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

[0031] Figure 1 This is an application environment diagram of a data transmission method in one embodiment;

[0032] Figure 2A This is a flowchart illustrating a data transmission method in one embodiment;

[0033] Figure 2B This is a schematic diagram of the message header format in one embodiment;

[0034] Figure 2C This is a structural diagram of the field format in one embodiment;

[0035] Figure 2D This is a schematic diagram of a field using the first retransmission identifier in one embodiment;

[0036] Figure 2E This is a schematic diagram of a field using the second retransmission identifier in one embodiment;

[0037] Figure 3 This is a flowchart illustrating the steps for determining the target retransmission identifier in one embodiment.

[0038] Figure 4 This is a flowchart illustrating the data transmission method in another embodiment;

[0039] Figure 5 This is a schematic diagram illustrating the test results of a data transmission method in one embodiment;

[0040] Figure 6 This is a timing diagram of a data transmission method in one embodiment;

[0041] Figure 7 This is a structural block diagram of a data transmission device in one embodiment;

[0042] Figure 8 This is a structural block diagram of a data transmission device in another embodiment;

[0043] Figure 9 This is an internal structural diagram of a communication device in one embodiment. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0045] To facilitate understanding, some of the technical content involved in this application will be introduced first.

[0046] ACK (Acknowledge character): In data communication, it is a transmission control character sent by the data receiver to the data sender to indicate that the received data has been acknowledged as correct.

[0047] NACK (Negative Acknowledgment): A denial character, in data communication, is a transmission control character sent by the data receiver to the data sender to indicate that data reception has failed and a retransmission is requested.

[0048] TCP (Transmission Control Protocol) is a connection-oriented, reliable, byte-stream-based transport layer communication protocol.

[0049] UDP (User Datagram Protocol) is a connectionless transport layer protocol that provides a simple, unreliable, transaction-oriented message delivery service.

[0050] RoCEv2 (RDMA over Converged Ethernet version 2): A Remote Direct Memory Access protocol based on Ethernet, it is a communication and transmission method between nodes, specifically designed to achieve low-latency, high-throughput data transmission in an Ethernet environment.

[0051] The data transmission method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the data sender 102 can communicate with the data receiver 104 via a network. The data sender 102 can be a terminal device or a server. The data receiver 104 can be a terminal device or a server.

[0052] The terminal devices can be, but are not limited to, various personal computers, laptops, smartphones, tablets, and IoT devices; the server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services. The data storage system can store the data that the server needs to process. The data storage system can be integrated on the server or located on the cloud or other network servers.

[0053] Both the data sending end 102 and the data receiving end 104 can have data sending and data receiving functions. For example, the data sending end 102 can send a data packet to be sent to the data receiving end 104, and the data receiving end 104 can send feedback information to the data sending end.

[0054] The data sender 102 and the data receiver 104 can communicate via protocols such as TCP, UDP, and RoCEv2. Understandably, a fixed retransmission mechanism is implemented between the data sender 102 and the data receiver 104 through this protocol. However, network quality and performance can vary significantly across different data transmission links and at different times. A single retransmission strategy cannot adapt to different data transmission scenarios and can easily lead to problems such as increased network congestion.

[0055] In one exemplary embodiment, such as Figure 2A As shown, a data transmission method is provided, which is applied to... Figure 1 Taking the data sending end 102 as an example, the explanation includes the following steps:

[0056] S210. Before sending the data packet to be sent to the data receiver, determine the transmission performance parameters between the data receiver and the data receiver.

[0057] The data packet to be sent can be understood as a data unit that the data sender prepares to send to the data receiver via the transmission link. This application does not impose any limitations on the specific data packet type or content of the data packet to be sent. For example, the data packet to be sent can be an IPv4 message.

[0058] For example, the data packet to be sent may include a data payload and a protocol header. The data payload can be understood as the actual content to be transmitted; the protocol header may include target information required for transmission control, used by the network layer and the data receiving end to identify and process the data. The target information may include at least one of the following: source address, destination address, sequence number, data length, and checksum.

[0059] Among them, transmission performance parameters can be understood as parameters used to characterize the transmission performance between the data sender and the data receiver.

[0060] In an optional embodiment, the first transmission performance parameters for each transmission performance index between the receiver and the data receiving end can be collected at each sampling time within the target time period; for each transmission performance index, the average value of the first transmission performance parameters corresponding to the transmission performance index at each sampling time is taken as the transmission performance parameter corresponding to the transmission performance index.

[0061] In another alternative embodiment, transmission performance parameters for at least one transmission performance metric can be collected between the data receiver and the target time.

[0062] In an optional embodiment, the transmission performance parameters may include at least one of latency, packet loss rate, buffer utilization, queue depth, and traffic rate.

[0063] S220. Determine the target retransmission identifier based on whether the transmission performance parameters meet the preset conditions.

[0064] The target retransmission identifier can be understood as identification information used to guide the data receiving end to execute the retransmission strategy corresponding to the target retransmission identifier.

[0065] As mentioned above, transmission performance parameters are used to characterize the transmission performance between the data sender and receiver. Accordingly, in cases of poor transmission performance, a retransmission strategy with minimal impact on data transmission can be selected, avoiding further exacerbation of network congestion. Conversely, in cases of superior transmission performance, a more reliable retransmission strategy can be chosen to improve retransmission reliability. The determination of whether the transmission performance is poor or superior can be achieved by establishing a comparison benchmark or pre-defined conditions.

[0066] The following is an exemplary description of the steps for determining the target retransmission identifier. It should be noted that this should not be construed as a limitation on the specific determination steps.

[0067] In an optional embodiment, transmission performance parameters can be compared with preset transmission performance parameter thresholds, and a target retransmission identifier can be determined based on the comparison result. The preset transmission performance parameter thresholds may include at least one of preset latency thresholds, preset packet loss rate thresholds, preset buffer utilization thresholds, preset queue depth thresholds, and preset queue depth thresholds. These preset transmission performance parameter thresholds can be set by technicians as needed or based on experience, or determined through extensive experimentation; this application does not impose any limitations on this.

[0068] For example, if the latency is less than a preset latency threshold, the target retransmission identifier can be determined as the first retransmission identifier; if the latency is not less than the preset latency threshold, the target retransmission identifier can be determined as the second retransmission identifier.

[0069] For example, if the packet loss rate is less than a preset packet loss rate threshold, the target retransmission identifier can be determined as the first retransmission identifier; if the packet loss rate is not less than the preset packet loss rate threshold, the target retransmission identifier can be determined as the second retransmission identifier.

[0070] For example, if the cache utilization rate is less than a preset cache utilization rate threshold, the target retransmission identifier can be determined as the first retransmission identifier; if the cache utilization rate is not less than the preset cache utilization rate threshold, the target retransmission identifier can be determined as the second retransmission identifier.

[0071] For example, if the queue depth is less than a preset queue depth threshold, the target retransmission identifier can be determined as the first retransmission identifier; if the queue depth is not less than the preset queue depth threshold, the target retransmission identifier can be determined as the second retransmission identifier.

[0072] For example, if the queue depth is greater than a preset queue depth threshold, the target retransmission identifier can be determined as the first retransmission identifier; if the queue depth is not greater than the preset queue depth threshold, the target retransmission identifier can be determined as the second retransmission identifier.

[0073] In another optional embodiment, the transmission performance parameter corresponds to at least one transmission performance index; accordingly, the transmission performance parameter corresponding to at least one transmission performance index can be input into a pre-trained network state recognition model to obtain the network state recognition result; and the target retransmission identifier is determined based on whether the network state recognition result meets the preset conditions.

[0074] For example, the network status identification result may include a network status score; correspondingly, if the network status score is greater than a preset score threshold, the target retransmission identifier may be determined as the first retransmission identifier; if the network status score is not greater than the preset score threshold, the target retransmission identifier may be determined as the second retransmission identifier.

[0075] For example, the network state identification result may include a network state classification, which may include a first network quality type and a second network quality type; the network quality corresponding to the first network quality type is better than the network quality corresponding to the second network quality type. Accordingly, if the network state is classified as the first network quality type, the target retransmission identifier can be determined as the first retransmission identifier; if the network state is classified as the second network quality type, the target retransmission identifier can be determined as the second retransmission identifier.

[0076] Optionally, the network state recognition model can be a traditional machine learning model or a neural network model. This application does not impose any restrictions on the specific model type of the network state recognition model.

[0077] In another optional embodiment, the transmission performance parameter corresponds to at least one transmission performance index; accordingly, for each transmission performance index, the parameter range to which the transmission performance parameter of the transmission performance index belongs, and the transmission performance score corresponding to the parameter range, can be queried from a preset relationship matching table; based on the transmission performance score corresponding to each transmission performance index, a target transmission performance score is determined; if the target transmission performance score is greater than a preset transmission performance score, the target retransmission identifier is determined as a first retransmission identifier; if the target transmission performance score is not greater than a preset transmission performance score, the target retransmission identifier is determined as a second retransmission identifier.

[0078] The target transmission performance score can be understood as a rating used to quantify the transmission performance between the data sender and receiver. A higher target transmission performance score indicates better transmission performance, while a lower score indicates worse transmission performance.

[0079] Optionally, the transmission performance scores corresponding to each transmission performance indicator can be summed to obtain the target transmission performance score.

[0080] It should be noted that the transmission performance scores corresponding to different parameter ranges of transmission performance indicators in the preset matching relationship table can be set by technicians according to their needs or experience, or determined through a large number of experiments. This application does not impose any restrictions on this.

[0081] The following is an illustrative description of the first and second retransmission identifiers. It is important to note that this should not be construed as a limitation on the specific content of the retransmission identifier.

[0082] In an optional embodiment, the first retransmission identifier may be identification information used to characterize the adoption of the ACK retransmission strategy.

[0083] The ACK retransmission strategy can be understood as an acknowledgment mechanism, which guides the data receiver to send feedback to the data sender on the successful reception of the data packet when it receives the data packet to be sent; thus, if the data sender does not receive the successful reception data for the data packet to be sent within a preset time, it will retransmit the data packet to be sent to the data receiver.

[0084] Optionally, successfully received data may include an ACK character, i.e., an acknowledgment character. For example, successfully received data may also include the sequence number information of the successfully received data packet to be sent.

[0085] In an optional embodiment, the second retransmission identifier may be identification information used to characterize the adoption of the NACK retransmission strategy.

[0086] The NACK retransmission strategy can be understood as a denial mechanism, which guides the data receiver to send feedback to the data sender when it determines that a data packet has not been successfully received based on the target order of the different data packets to be sent. This allows the data sender to retransmit the corresponding data packet based on the unsuccessfully received data.

[0087] Optionally, unsuccessfully received data may include a NACK character, i.e., a denial character. For example, unsuccessfully received data may also include sequence number information of the data packet to be sent that was not successfully received.

[0088] It should be further noted that the above description is only illustrative of the first and second retransmission identifiers. In other embodiments, the target retransmission identifier may also include a third and a fourth retransmission identifier. The third retransmission identifier may be identifier information used to characterize the simultaneous use of NACK and ACK retransmission strategies; the fourth retransmission identifier may be identifier information used to characterize no retransmission strategy, i.e., no data packet retransmission.

[0089] Optionally, multiple preset transmission performance parameter thresholds can be set for each transmission performance indicator. For example, for the transmission performance indicator of latency, a first preset latency threshold and a second preset latency threshold can be set, where the first preset latency threshold is less than the second preset latency threshold. Correspondingly, if the latency is less than the first preset latency threshold, the target retransmission identifier is determined as the third retransmission identifier; if the latency is not less than the first preset latency threshold and is less than the second preset latency threshold, the target retransmission identifier is determined as the first retransmission identifier; and if the latency is not less than the second preset latency threshold, the target retransmission identifier is determined as the second retransmission identifier. Other transmission performance indicators are similar and will not be elaborated here.

[0090] In an optional embodiment, the target retransmission identifier can also be determined by combining the data packet type of the data packet to be sent. Different data packet types for different data to be sent can be predefined. Data packet types may include types that do not require retransmission and critical data types.

[0091] For example, when the data packet type is a critical data type, the target retransmission identifier can be determined as the third retransmission identifier; the third retransmission identifier is added to the data packet to be sent to update the data packet to be sent; the updated data packet to be sent is sent to the data receiver so that the data receiver sends feedback data to the data sender according to the third retransmission identifier.

[0092] For example, when the data packet type is "no retransmission required," the target retransmission identifier can be determined as the fourth retransmission identifier. The fourth retransmission identifier is added to the data packet to be sent to update the data packet; the updated data packet is then sent to the data receiver so that after obtaining the fourth retransmission identifier, the data receiver does not send feedback information for the data packet to be sent.

[0093] S230. Add a target retransmission flag to the data packet to be sent to update the data packet to be sent.

[0094] In an optional embodiment, a target retransmission flag can be added to the protocol header of the data packet to be sent to update the data packet.

[0095] For example, the data packet to be sent can be a message. Correspondingly, a target retransmission flag can be added to the `option` field of the message header (i.e., the protocol header). The `option` field is used to store custom control information and additional parameters to support flexible protocol expansion and special function implementation. The control information may include retransmission information. (See reference...) Figure 2B The diagram shows the format of the message header. The message header includes an option field.

[0096] Optional, see reference Figure 2CThe diagram shows the structure of the field format. The option field can be defined using the TLV (Type-Length-Value) format, which includes Type (used to indicate the retransmission type), Length (used to indicate the field length), and Value (also known as Data, used to indicate the retransmission value).

[0097] In an optional embodiment, the Type field in the option field can be set to an extended type. For example, Type can be set to "47" to indicate that Type is an extended type. Length is set to 1 byte to indicate the length of the TLV field; Value is set to 2 bytes, with the first 14 bits defaulting to 0 and the last 2 bits used to add a target retransmission flag.

[0098] The following example illustrates the process of adding the target retransmission identifier and should not be construed as limiting the specific steps to be added.

[0099] To add the first retransmission flag, you can add "01" to the last 2 bits of Value to indicate that the retransmission will only be done via ACK.

[0100] To add the second retransmission flag, you can add "10" to the last 2 bits of Value to indicate that retransmission is only done via HACK.

[0101] To add the third retransmission flag, you can add "11" to the last 2 bits of Value to indicate that retransmission is performed simultaneously via ACK and NACK.

[0102] To add the fourth retransmission flag, you can add "00" to the last 2 bits of Value to indicate that retransmission is not controlled.

[0103] refer to Figure 2D The diagram shows the fields using the first retransmission identifier. Here, Type is "47"; Length is "2"; and Value is "1", which is "01" in binary. (Reference) Figure 2E The diagram shows a field using the second retransmission identifier. Here, Type is "47"; Length is "2"; and Value is "2", which is "10" in binary.

[0104] S240. Send the updated data packet to be sent to the data receiver so that the data receiver can send feedback data to the data sender according to the target retransmission identifier.

[0105] In an optional embodiment, when the data receiver receives a data packet to be sent by the data sender, it obtains the target retransmission identifier in the data packet to be sent; and sends feedback data to the data sender based on the target retransmission identifier.

[0106] Optionally, the feedback data may include successfully received data and unsuccessfully received data. Accordingly, when the target retransmission identifier is the first retransmission identifier, the data receiver sends feedback to the data sender regarding the successfully received data packet; when the target retransmission identifier is the second retransmission identifier, the data receiver determines, based on the target order of the different received data packets, that the data packet was not successfully received, and sends feedback to the data sender regarding the unsuccessfully received data packet.

[0107] In an optional embodiment, the method may further include: retransmitting the data packet to be sent to the data receiving end when the target retransmission identifier is a first retransmission identifier and no successful reception data for the data packet to be sent is received within a preset time period.

[0108] Optionally, if the data packet to be sent has already been retransmitted a preset number of times, it will not be retransmitted. The preset number of times can be set by a technician based on needs or experience, or determined through extensive experimentation; this application does not impose any limitations on this.

[0109] In an optional embodiment, it may further include: receiving unsuccessfully received data from the data sender regarding the data packet to be sent, and retransmitting the data packet to be sent to the data receiver.

[0110] The aforementioned data transmission method, by determining the transmission performance parameters between the sender and receiver before sending the data packet to the receiver, provides a data foundation for dynamically adjusting the retransmission strategy. By introducing a target retransmission identifier, a retransmission mechanism that can adaptively adjust based on transmission performance parameters is established between the sender and receiver. Specifically, the target retransmission identifier is determined based on whether the transmission performance parameters meet preset conditions, allowing for the dynamic determination of a target retransmission identifier that matches the transmission performance parameters. By adding the target retransmission identifier to the data packet to be sent and sending the updated data packet to the receiver, the receiver can send feedback information to the sender according to the retransmission strategy corresponding to the target retransmission identifier. This enables adjustments to the retransmission strategy between the sender and receiver under different data transmission environments, making the data retransmission process adaptable to different data transmission scenarios and avoiding exacerbating network congestion.

[0111] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment in which the steps for determining the target retransmission identifier are refined. The transmission performance parameters correspond to at least one transmission performance index.

[0112] refer to Figure 3 The step of determining the target retransmission identifier in one embodiment includes:

[0113] S310. For each transmission performance indicator, determine the corresponding fusion weight.

[0114] In an optional embodiment, historical transmission performance parameters between the data receiver and the data receiver can be obtained within a historical time period, and the parameter change trend data of each transmission performance indicator can be determined based on the historical transmission performance parameters; the fusion weight of the transmission performance indicators can be determined based on the baseline priority data of the transmission performance indicators and / or the parameter change trend data of the transmission performance indicators.

[0115] The historical time period can be understood as the time period corresponding to a preset length before sending the data packet to the data receiver. The transmission performance indicators of historical transmission performance parameters may include at least one of the following: latency, packet loss rate, buffer utilization, queue depth, and flow rate.

[0116] Among them, parameter change trend data can be understood as data used to characterize the changing trend of historical transmission performance parameters over a historical period. Parameter change trend data can include at least one of the following: the nature of parameter change (such as continuous increase or continuous decrease) and the degree of parameter change (such as the rate of change).

[0117] In an optional embodiment, the fusion weight includes a weight value and a weight direction. The weight direction of the fusion weight can be determined based on the properties of the corresponding transmission performance indicators. For example, higher latency indicates worse transmission performance, while higher traffic rate indicates better transmission performance; therefore, the weight direction corresponding to latency can be set to "negative," and the weight direction corresponding to traffic rate can be set to "positive."

[0118] The baseline priority data is used to characterize the priority of transmission performance indicators. For example, the larger the baseline priority data, the higher the priority of the transmission performance indicator.

[0119] For example, fusion weights can be assigned to each transmission performance indicator in sequence based on the baseline priority data of the transmission performance indicators; the higher the priority of the baseline priority data corresponding to the transmission performance indicator, the greater the weight value of the fusion weight assigned to the corresponding transmission performance indicator.

[0120] For example, the fusion weight of transmission performance indicators can be determined based on the parameter change trend data of the transmission performance indicators; the larger the parameter change trend data corresponding to the transmission performance indicator, the larger the weight value of the fusion weight assigned to the corresponding transmission performance indicator.

[0121] For example, target priority data for transmission performance indicators can be determined based on baseline priority data and parameter change trend data of transmission performance indicators; and fusion weights for transmission performance indicators can be determined based on target priority data. The higher the priority of the target priority data corresponding to a transmission performance indicator, the greater the fusion weight assigned to that indicator.

[0122] S320. Determine the comprehensive transmission performance parameters based on the transmission performance parameters of each transmission performance index and the corresponding fusion weights.

[0123] In an optional embodiment, the transmission performance parameters of each transmission performance index can be weighted and summed according to the fusion weight of each transmission performance index to obtain the comprehensive transmission performance parameters.

[0124] S330. If the overall transmission performance parameters are greater than the preset transmission performance parameters, the target retransmission identifier is determined as the first retransmission identifier.

[0125] S340. If the overall transmission performance parameters are not greater than the preset transmission performance parameters, determine the target retransmission identifier as the second retransmission identifier.

[0126] The preset transmission performance parameters can be set by technicians according to their needs or experience, or determined through a large number of experiments. This application does not impose any restrictions on this.

[0127] The technical details regarding the first and second retransmission identifiers have been explained above and will not be repeated here.

[0128] In the above steps, by determining the fusion weight corresponding to each transmission performance indicator, a data foundation is provided for subsequently determining the comprehensive transmission performance parameters of each transmission performance indicator. By determining the comprehensive transmission performance parameters based on the transmission performance parameters of each indicator and their corresponding fusion weights, the transmission performance between the data sender and receiver can be comprehensively evaluated from a global perspective. By comparing the comprehensive transmission performance parameters with preset transmission performance parameters, the target retransmission identifier is determined, thereby improving the accuracy of the target retransmission identifier determination result.

[0129] Based on the technical solutions of the above embodiments, such as Figure 4 As shown, a data transmission method is provided, which is applied to... Figure 1Taking the data receiver 104 as an example, the following steps are included:

[0130] S410. Upon receiving a data packet to be sent from the data sender, obtain the target retransmission identifier in the data packet to be sent.

[0131] S420. Based on the target retransmission identifier, send feedback data to the data sender.

[0132] The target retransmission identifier added to the data packet to be sent is determined by the data sender based on whether the transmission performance parameters between the sender and receiver meet preset conditions; the transmission performance parameters are determined by the data sender before sending the data packet to be sent.

[0133] In an optional embodiment, the target retransmission identifier can be extracted from the option field of the data packet to be sent. For example, the target retransmission identifier is "01", which means the target retransmission identifier is the first retransmission identifier, indicating retransmission via ACK; the target retransmission identifier is "10", which means the target retransmission identifier is the second retransmission identifier, indicating retransmission via NACK.

[0134] In an optional embodiment, the feedback data includes successfully received data and unsuccessfully received data. Accordingly, when the target retransmission identifier is a first retransmission identifier, successful received data for the data packet to be sent can be fed back to the data sender; when the target retransmission identifier is a second retransmission identifier, and the data packet to be sent is determined to have been unsuccessfully received based on the target order of the different received data packets to be sent, unsuccessfully received data for the data packet to be sent can be fed back to the data sender.

[0135] In an optional embodiment, the target sequence number of the unsuccessfully received data packets can be determined based on the target order of the different data packets to be sent; and the unsuccessfully received data, including the target sequence number, can be fed back to the data sending end.

[0136] Optionally, unreceived data packets to be sent may include: unreceived data packets to be sent, and / or data packets to be sent out of order. For example, if the data receiver receives data packets with sequence numbers "1, 2, 4, 5" in sequence, the target sequence number of the unreceived data packets to be sent can be determined to be "3". Similarly, if the data receiver receives data packets with sequence numbers "3, 2" in sequence, the sequence numbers of the data packets to be sent out of order can be determined to be "2" and "3".

[0137] The aforementioned data transmission method, by introducing a target retransmission identifier, establishes a retransmission mechanism between the data sender and receiver that can adaptively adjust based on transmission performance parameters. This allows the data receiver to send feedback data to the data sender based on the target retransmission identifier. Since the target retransmission identifier added to the data packet is determined by the data sender based on whether the transmission performance parameters between the sender and receiver meet preset conditions, the determination of the target retransmission identifier is strongly correlated with the transmission performance parameters. This enables adjustments to the retransmission strategy between the data sender and receiver under different data transmission environments, allowing the data retransmission process to adapt to different data transmission scenarios and avoiding exacerbating network congestion.

[0138] Based on the technical solutions of the above embodiments, a test embodiment of a data transmission method is provided.

[0139] refer to Figure 5 The diagram illustrates the test results of the data transmission method. Here, Source represents the source address, corresponding to the data sender; Dest represents the destination address, corresponding to the data receiver.

[0140] As can be seen, under good transmission performance between the data sender and receiver, the target retransmission identifier is the first retransmission identifier, corresponding to the ACK retransmission mechanism. The data sender sequentially sends five data packets with sequence numbers "1, 2, 3, 4, 5" to the data receiver; the data receiver receives four data packets with sequence numbers "1, 2, 4, 5" and sends feedback data to the data sender after receiving each data packet, namely "ACK1", "ACK2", "ACK4", and "ACK5". After a preset time period, if the data sender still has not received "ACK3", it retransmits the data packet with sequence number "3" to the data receiver.

[0141] At this point, network congestion occurs due to degraded transmission performance. The target retransmission identifier is determined to be the second retransmission identifier, corresponding to the HACK retransmission mechanism. The data sender sequentially sends five data packets with sequence numbers "101, 102, 103, 104, 105" to the data receiver; the data receiver receives four data packets with sequence numbers "101, 102, 104, 105"; based on the target order of the different received data packets, the data receiver determines the data packet that was not successfully received, namely the data packet with sequence number "103", and sends feedback data, namely "NACK103", to the data sender; after receiving the feedback data, the data sender retransmits the data packet with sequence number "103" to the data receiver.

[0142] The above comparison shows that the ACK retransmission mechanism requires the data receiver to send feedback data for each data packet received. However, in situations of degraded transmission performance and network congestion, continuing to use the ACK retransmission mechanism will exacerbate network congestion. This application introduces a target retransmission identifier, thereby establishing a retransmission mechanism between the data sender and receiver that can adaptively adjust based on transmission performance parameters. This allows the data receiver to send feedback data to the data sender based on the target retransmission identifier. This enables adjustments to the retransmission strategy between the data sender and receiver under different data transmission environments, making the data retransmission process adaptable to different data transmission scenarios and avoiding exacerbating network congestion.

[0143] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment, in which the data transmission method will be described in detail from the perspective of multi-party interaction.

[0144] See Figure 6 The timing diagram of the data transmission method shown includes:

[0145] S601. Before sending the data packet to be sent to the data receiver, the data sending end determines the transmission performance parameters between itself and the data receiver; the transmission performance parameters correspond to at least one transmission performance index.

[0146] S602. For each transmission performance indicator, the data sending end determines the fusion weight corresponding to the transmission performance indicator.

[0147] S603. The data sending end determines the comprehensive transmission performance parameters based on the transmission performance parameters of each transmission performance indicator and the corresponding fusion weight.

[0148] S604. The data sending end determines the target retransmission identifier based on the comparison result between the comprehensive transmission performance parameters and the preset transmission performance parameters.

[0149] The target retransmission identifier includes the first retransmission identifier and the second retransmission identifier.

[0150] S605. The data sending end adds a target retransmission flag to the data packet to be sent in order to update the data packet to be sent.

[0151] S606. The data sending end sends the updated data packet to be sent to the data receiving end.

[0152] S607. When the data receiving end receives the data packet to be sent by the data sending end, it obtains the target retransmission identifier in the data packet to be sent.

[0153] S608. When the target retransmission identifier is the first retransmission identifier, the data receiving end sends feedback to the data sending end on the successful reception of the data packet to be sent.

[0154] S609. When the target retransmission identifier is the second retransmission identifier and the data receiving end determines that the data packet to be sent was not successfully received based on the target order of the different data packets to be sent received, the data receiving end sends back the unsuccessfully received data for the data packet to be sent.

[0155] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0156] Based on the same inventive concept, this application also provides a data transmission apparatus for implementing the data transmission method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, specific limitations in one or more data transmission apparatus embodiments provided below can be found in the limitations of the data transmission method described above, and will not be repeated here.

[0157] In one exemplary embodiment, such as Figure 7 As shown, a data transmission device is provided, comprising: a first determining module 710, a second determining module 720, and a first processing module 730, wherein:

[0158] The first determining module 710 is used to determine the transmission performance parameters between itself and the data receiving end before sending the data packet to be sent to the data receiving end.

[0159] The second determining module 720 is used to determine the target retransmission identifier based on whether the transmission performance parameters meet the preset conditions.

[0160] The first processing module 730 is used to add a target retransmission flag to the data packet to be sent in order to update the data packet to be sent;

[0161] The first sending module 740 is used to send an updated data packet to be sent to the data receiving end, so that the data receiving end can send feedback data to the data sending end according to the target retransmission identifier.

[0162] In one embodiment, the transmission performance parameter corresponds to at least one transmission performance index; correspondingly, the second determining module 720 includes: a first query unit, configured to query, for each transmission performance index, the parameter range to which the transmission performance parameter of the transmission performance index belongs, and the transmission performance score corresponding to the parameter range, from a preset relationship matching table; a first determining unit, configured to determine a target transmission performance score based on the transmission performance score corresponding to each transmission performance index; a second determining unit, configured to determine a target retransmission identifier as a first retransmission identifier if the target transmission performance score is greater than a preset transmission performance score; and a third determining unit, configured to determine a target retransmission identifier as a second retransmission identifier if the target transmission performance score is not greater than a preset transmission performance score.

[0163] In one embodiment, the transmission performance parameter corresponds to at least one transmission performance index; correspondingly, the second determining module 720 includes: a fourth determining unit, configured to determine the fusion weight corresponding to each transmission performance index; a fifth determining unit, configured to determine the comprehensive transmission performance parameter based on the transmission performance parameter and the corresponding fusion weight of each transmission performance index; a sixth determining unit, configured to determine the target retransmission identifier as the first retransmission identifier when the comprehensive transmission performance parameter is greater than the preset transmission performance parameter; and a seventh determining unit, configured to determine the target retransmission identifier as the second retransmission identifier when the comprehensive transmission performance parameter is not greater than the preset transmission performance parameter.

[0164] In one embodiment, the fourth determining unit includes: a first determining subunit, configured to acquire historical transmission performance parameters between the data receiver and the data receiver within a historical time period, and determine the parameter change trend data of each transmission performance indicator based on the historical transmission performance parameters; and a second determining subunit, configured to determine the fusion weight of the transmission performance indicators based on the baseline priority data of the transmission performance indicators and / or the parameter change trend data of the transmission performance indicators.

[0165] In one exemplary embodiment, such as Figure 8 As shown, a data transmission device is provided, including: an acquisition module 810 and a second transmission module 820, wherein:

[0166] The acquisition module 810 is used to acquire the target retransmission identifier in the data packet to be sent when it receives the data packet to be sent by the data sender.

[0167] The second sending module 820 is used to send feedback data to the data sending end according to the target retransmission identifier;

[0168] The target retransmission identifier added to the data packet to be sent is determined by the data sender based on whether the transmission performance parameters between the sender and receiver meet preset conditions; the transmission performance parameters are determined by the data sender before sending the data packet to be sent.

[0169] In one embodiment, the feedback data includes successfully received data and unsuccessfully received data; correspondingly, the second sending module 820 includes: a first sending unit, configured to send feedback to the data sending end on successfully received data for the data packet to be sent when the target retransmission identifier is a first retransmission identifier; and a second sending unit, configured to send feedback to the data sending end on unsuccessfully received data for the data packet to be sent when the target retransmission identifier is a second retransmission identifier and the data packet to be sent is determined to have been unsuccessfully received based on the target order of the different data packets to be sent received.

[0170] Each module in the aforementioned data transmission device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0171] Each module in the aforementioned data transmission device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the communication device in hardware form or independent of it, or stored in the memory of the communication device in software form, so that the processor can call and execute the operations corresponding to each module.

[0172] In one embodiment, a communication device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, the communication device includes a processor, memory, network interface, and transceiver connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The transceiver, under the control of the processor, performs operations to receive or send data. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores data such as uplink and downlink SMS messages. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a data transmission method.

[0173] Those skilled in the art will understand that Figure 9The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the communication device to which the present application is applied. Specific communication devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0174] In one embodiment, a communication device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the processing logic in the computer program to perform the following steps:

[0175] Before sending the data packet to the data receiver, determine the transmission performance parameters between the receiver and the data receiver.

[0176] The target retransmission identifier is determined based on whether the transmission performance parameters meet the preset conditions.

[0177] Add a target retransmission flag to the data packet to be sent to update the data packet;

[0178] The updated data packet to be sent is sent to the data receiver so that the data receiver can send feedback data to the data sender based on the target retransmission flag.

[0179] In one embodiment, when the processor executes the processing logic in the computer program, it further implements the following steps: for each transmission performance index, querying from a preset relationship matching table the parameter range to which the transmission performance parameter of the transmission performance index belongs, and the transmission performance score corresponding to the parameter range; determining the target transmission performance score based on the transmission performance score corresponding to each transmission performance index; if the target transmission performance score is greater than the preset transmission performance score, determining the target retransmission identifier as the first retransmission identifier; if the target transmission performance score is not greater than the preset transmission performance score, determining the target retransmission identifier as the second retransmission identifier.

[0180] In one embodiment, when the processor executes the processing logic in the computer program, it further implements the following steps: for each transmission performance indicator, determine the fusion weight corresponding to the transmission performance indicator; determine the comprehensive transmission performance parameter based on the transmission performance parameter of each transmission performance indicator and the corresponding fusion weight; if the comprehensive transmission performance parameter is greater than the preset transmission performance parameter, determine the target retransmission identifier as the first retransmission identifier; if the comprehensive transmission performance parameter is not greater than the preset transmission performance parameter, determine the target retransmission identifier as the second retransmission identifier.

[0181] In one embodiment, when the processor executes the processing logic in the computer program, it further performs the following steps: obtaining historical transmission performance parameters between the processor and the data receiver within a historical period, and determining the parameter change trend data of each transmission performance indicator based on the historical transmission performance parameters; and determining the fusion weight of the transmission performance indicators based on the baseline priority data of the transmission performance indicators and / or the parameter change trend data of the transmission performance indicators.

[0182] In one embodiment, another communication device is provided, including a memory and a processor, wherein the memory stores a computer program and the processor performs the following steps when executing the processing logic in the computer program:

[0183] Upon receiving a data packet to be sent from the data sender, obtain the target retransmission identifier from the data packet to be sent;

[0184] Based on the target retransmission identifier, send feedback data to the data sender;

[0185] The target retransmission identifier added to the data packet to be sent is determined by the data sender based on whether the transmission performance parameters between the sender and receiver meet preset conditions; the transmission performance parameters are determined by the data sender before sending the data packet to be sent.

[0186] In one embodiment, the feedback data includes successfully received data and unsuccessfully received data; when the processor executes the processing logic in the computer program, it further implements the following steps: when the target retransmission identifier is a first retransmission identifier, feeding back successfully received data for the data packet to be sent to the data sender; when the target retransmission identifier is a second retransmission identifier, and the data packet to be sent is determined to have been unsuccessfully received based on the target order of the different data packets to be sent, feeding back unsuccessfully received data for the data packet to be sent to the data sender.

[0187] In one embodiment, a computer-readable storage medium or computer program product is provided, on which a computer program is stored, wherein the processing logic in the computer program, when executed by a processor, performs the following steps:

[0188] Before sending the data packet to the data receiver, determine the transmission performance parameters between the receiver and the data receiver.

[0189] The target retransmission identifier is determined based on whether the transmission performance parameters meet the preset conditions.

[0190] Add a target retransmission flag to the data packet to be sent to update the data packet;

[0191] The updated data packet to be sent is sent to the data receiver so that the data receiver can send feedback data to the data sender based on the target retransmission flag.

[0192] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also performed: for each transmission performance index, querying from a preset relationship matching table the parameter range to which the transmission performance parameter of the transmission performance index belongs, and the transmission performance score corresponding to the parameter range; determining the target transmission performance score based on the transmission performance score corresponding to each transmission performance index; if the target transmission performance score is greater than the preset transmission performance score, determining the target retransmission identifier as the first retransmission identifier; if the target transmission performance score is not greater than the preset transmission performance score, determining the target retransmission identifier as the second retransmission identifier.

[0193] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: for each transmission performance indicator, determine the fusion weight corresponding to the transmission performance indicator; determine the comprehensive transmission performance parameter based on the transmission performance parameter of each transmission performance indicator and the corresponding fusion weight; if the comprehensive transmission performance parameter is greater than the preset transmission performance parameter, determine the target retransmission identifier as the first retransmission identifier; if the comprehensive transmission performance parameter is not greater than the preset transmission performance parameter, determine the target retransmission identifier as the second retransmission identifier.

[0194] In one embodiment, when the processing logic in the computer program is executed by the processor, the following steps are also performed: obtaining historical transmission performance parameters between the computer program and the data receiving end within a historical period, and determining the parameter change trend data of each transmission performance indicator based on the historical transmission performance parameters; and determining the fusion weight of the transmission performance indicators based on the baseline priority data of the transmission performance indicators and / or the parameter change trend data of the transmission performance indicators.

[0195] In one embodiment, another computer-readable storage medium or computer program product is provided, having a computer program stored thereon, wherein the processing logic in the computer program, when executed by a processor, performs the following steps:

[0196] Upon receiving a data packet to be sent from the data sender, obtain the target retransmission identifier from the data packet to be sent;

[0197] Based on the target retransmission identifier, send feedback data to the data sender;

[0198] The target retransmission identifier added to the data packet to be sent is determined by the data sender based on whether the transmission performance parameters between the sender and receiver meet preset conditions; the transmission performance parameters are determined by the data sender before sending the data packet to be sent.

[0199] In one embodiment, the feedback data includes successfully received data and unsuccessfully received data; when the processing logic in the computer program is executed by the processor, it further implements the following steps: when the target retransmission identifier is a first retransmission identifier, feeding back successfully received data for the data packet to be sent to the data sender; when the target retransmission identifier is a second retransmission identifier, and the data packet to be sent is determined to have been unsuccessfully received according to the target order of the different data packets to be sent, feeding back unsuccessfully received data for the data packet to be sent to the data sender.

[0200] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0201] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0202] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A data transmission method, characterized in that, Applied to the data sending end, the method includes: Before sending the data packet to the data receiver, determine the transmission performance parameters between the data receiver and the data receiver. The target retransmission identifier is determined based on whether the transmission performance parameters meet the preset conditions. Add the target retransmission identifier to the data packet to be sent to update the data packet to be sent; The updated data packet to be sent is sent to the data receiving end so that the data receiving end can send feedback data to the data sending end according to the target retransmission identifier.

2. The method according to claim 1, characterized in that, The transmission performance parameter corresponds to at least one transmission performance index; correspondingly, determining the target retransmission identifier based on whether the transmission performance parameter meets preset conditions includes: For each transmission performance index, the parameter range to which the transmission performance parameter of the transmission performance index belongs, and the transmission performance score corresponding to the parameter range are queried from the preset relationship matching table. The target transmission performance score is determined based on the transmission performance scores corresponding to each of the aforementioned transmission performance indicators. If the target transmission performance score is greater than the preset transmission performance score, the target retransmission identifier is determined as the first retransmission identifier; If the target transmission performance score is not greater than the preset transmission performance score, the target retransmission identifier is determined as the second retransmission identifier.

3. The method according to claim 1, characterized in that, The transmission performance parameter corresponds to at least one transmission performance index; correspondingly, determining the target retransmission identifier based on whether the transmission performance parameter meets preset conditions includes: For each transmission performance indicator, determine the corresponding fusion weight. Based on the transmission performance parameters and corresponding fusion weights of each transmission performance index, the comprehensive transmission performance parameters are determined. If the overall transmission performance parameters are greater than the preset transmission performance parameters, the target retransmission identifier is determined as the first retransmission identifier. If the overall transmission performance parameter is not greater than the preset transmission performance parameter, the target retransmission identifier is determined as the second retransmission identifier.

4. The method according to claim 3, characterized in that, The step of determining the fusion weight corresponding to each transmission performance indicator includes: Obtain historical transmission performance parameters between the data receiving end and the data receiving end within a historical period, and determine the parameter change trend data of each transmission performance indicator based on the historical transmission performance parameters. The fusion weight of the transmission performance index is determined based on the baseline priority data of the transmission performance index and / or the parameter change trend data of the transmission performance index.

5. A data transmission method, characterized in that, Applied to a data receiving end, characterized in that it includes: Upon receiving a data packet to be sent from the data sender, the target retransmission identifier in the data packet to be sent is obtained; Feedback data is sent to the data sending end according to the target retransmission identifier; The target retransmission identifier added to the data packet to be sent is determined by the data sending end based on whether the transmission performance parameters between it and the data receiving end meet preset conditions; the transmission performance parameters are determined by the data sending end before sending the data packet to be sent.

6. A data transmission device, characterized in that, Configured at the data transmitting end, the device includes: The first determining module is used to determine the transmission performance parameters between itself and the data receiving end before sending the data packet to be sent to the data receiving end. The second determining module is used to determine the target retransmission identifier based on whether the transmission performance parameters meet preset conditions. The first processing module is used to add the target retransmission identifier to the data packet to be sent in order to update the data packet to be sent; The first sending module is used to send an updated data packet to be sent to the data receiving end, so that the data receiving end can send feedback data to the data sending end according to the target retransmission identifier.

7. A data transmission device, characterized in that, Configured at the data receiving end, the device includes: The acquisition module is used to acquire the target retransmission identifier in the data packet to be sent when it receives the data packet to be sent by the data sending end. The second sending module is used to send feedback data to the data sending end according to the target retransmission identifier; The target retransmission identifier added to the data packet to be sent is determined by the data sending end based on whether the transmission performance parameters between it and the data receiving end meet preset conditions; the transmission performance parameters are determined by the data sending end before sending the data packet to be sent.

8. A communication device, comprising a memory, a transceiver, and a processor, wherein the memory stores a computer program, characterized in that, The transceiver is used to receive or send data under the control of the processor, wherein the processor, when executing the computer program, implements the steps of the method according to any one of claims 1-5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-5.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-5.