[go: up one dir, main page]

CN120750497A - Transmission confirmation method and device, electronic equipment and storage medium - Google Patents

Transmission confirmation method and device, electronic equipment and storage medium

Info

Publication number
CN120750497A
CN120750497A CN202510984027.7A CN202510984027A CN120750497A CN 120750497 A CN120750497 A CN 120750497A CN 202510984027 A CN202510984027 A CN 202510984027A CN 120750497 A CN120750497 A CN 120750497A
Authority
CN
China
Prior art keywords
link
mode
feedback
parameter
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510984027.7A
Other languages
Chinese (zh)
Inventor
乔春雨
李彤
胡博文
王震
高正擎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Renmin University of China
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Renmin University of China
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renmin University of China, Beijing Zitiao Network Technology Co Ltd filed Critical Renmin University of China
Priority to CN202510984027.7A priority Critical patent/CN120750497A/en
Publication of CN120750497A publication Critical patent/CN120750497A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the disclosure discloses a transmission confirmation method, a device, electronic equipment and a storage medium, wherein the method comprises the steps of acquiring a first parameter representing the data bearing capacity of an integral first link at preset time intervals; determining a feedback mode from a first mode and a second mode according to a first comparison result of a first parameter and a preset parameter, wherein the preset parameter represents the total data quantity received in a round trip delay period, the first mode is a mode for feeding back acknowledgement characters based on the received data quantity, the second mode is a mode for feeding back acknowledgement characters based on the round trip delay period, the feedback frequency of the acknowledgement characters is determined according to the feedback mode, the performance evaluation result of each first link is determined according to the second parameter of each first link in a preset dimension, and the second link is selected from the first links to feed back the acknowledgement characters according to the feedback frequency and the performance evaluation result. On the premise of ensuring the real-time property of data transmission confirmation, the occupation of reverse link bandwidth and the overhead of system resources can be reduced, and the transmission efficiency is improved.

Description

Transmission confirmation method and device, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a transmission confirmation method, a transmission confirmation device, electronic equipment and a storage medium.
Background
The multipath protocol can perform intelligent path scheduling by aggregating multiple link bandwidths, has become an important technology for improving network transmission performance, and is widely applied to different scenes. Existing multipath protocols lack control over the transmission acknowledgement mechanism, resulting in the presence of a large number of redundant acknowledgement characters (Acknowledge character, ACKs) in the reverse link from client to server. This will cause occupation of reverse link bandwidth, and increase of resource overhead such as processor and interface in the transmission system, which severely restricts overall transmission performance.
Disclosure of Invention
The embodiment of the disclosure provides a transmission confirmation method, a device, electronic equipment and a storage medium, which can reduce the occupation of reverse link bandwidth and the overhead of system resources and improve the transmission efficiency on the premise of ensuring the real-time property of data transmission confirmation.
In a first aspect, an embodiment of the present disclosure provides a transmission acknowledgement method, including:
acquiring a first parameter for representing the data carrying capacity of the whole first link at intervals of preset time;
Determining a feedback mode of a confirmation character from a first mode and a second mode according to a first comparison result of the first parameter and a preset parameter, wherein the preset parameter is used for representing total data quantity confirmed to be received in a round trip delay period, the first mode comprises a mode for feeding back the confirmation character based on the received data quantity, and the second mode comprises a mode for feeding back the confirmation character based on the period;
Determining the feedback frequency of the confirmation character according to the feedback mode;
Determining a performance evaluation result of the single first link according to a second parameter of the single first link in a preset dimension;
and feeding back the confirmation character through the first link according to the feedback frequency and the performance evaluation result.
In a second aspect, an embodiment of the present disclosure further provides a transmission acknowledgement apparatus, including:
the first parameter acquisition module is used for acquiring first parameters for representing the data bearing capacity of the whole first link at intervals of preset time;
the feedback mode determining module is used for determining a feedback mode of a confirmation character from a first mode and a second mode according to a first comparison result of the first parameter and a preset parameter, wherein the preset parameter is used for representing total data quantity received in a round trip delay period, the first mode comprises a mode for feeding back the confirmation character based on the received data quantity, and the second mode comprises a mode for feeding back the confirmation character based on the period;
The feedback frequency determining module is used for determining the feedback frequency of the confirmation character according to the feedback mode;
the performance evaluation module is used for determining a performance evaluation result of the single first link according to a second parameter of the single first link in a preset dimension;
And the confirmation character feedback module is used for feeding back the confirmation character through the first link according to the feedback frequency and the performance evaluation result.
In a third aspect, embodiments of the present disclosure further provide an electronic device, including:
One or more processors;
Storage means for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the transmission confirmation method as described in any of the embodiments of the present disclosure.
In a fourth aspect, the presently disclosed embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a transmission confirmation method as described in any of the presently disclosed embodiments.
In a fifth aspect, the disclosed embodiments also provide a computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements a transmission confirmation method according to any of the disclosed embodiments.
According to the technical scheme, first parameters used for representing the data carrying capacity of the whole first link can be obtained at intervals of preset time intervals, feedback modes of confirmation characters are determined from the first mode and the second mode according to first comparison results of the first parameters and preset parameters, wherein the preset parameters are used for representing total data quantity confirmed to be received in a round trip delay period, the first mode comprises a mode of confirming the characters based on received data quantity feedback, the second mode comprises a mode of confirming the characters based on periodic feedback, feedback frequency of the confirmation characters is determined according to the feedback mode, performance evaluation results of the single first link are determined according to second parameters of the single first link in preset dimensions, and feedback of the confirmation characters is conducted through the first link according to the feedback frequency and the performance evaluation results.
By constructing the ACK feedback frequency regulation mechanism with the first parameter representing the data bearing capacity of the integral first link and the preset parameter representing the total data quantity confirmed and received in the round trip delay period as a core, the acknowledgement character can be fed back based on the received data quantity under the condition of poor network transmission performance, the timeliness of the acknowledgement mechanism can be ensured, and the acknowledgement character can be fed back based on the round trip delay period under the condition of good network transmission performance, so that the bandwidth occupation of an ACK message to a reverse link and the system resource overhead are reduced. In addition, by determining the performance evaluation result of a single first link, the dynamic distribution and load balancing of the ACK message in a multipath environment can be realized, the bottleneck path can be effectively avoided, and the feedback efficiency can be improved. Therefore, on the premise of ensuring the real-time property of data transmission confirmation, the occupation of reverse link bandwidth and the overhead of system resources can be reduced, and the transmission efficiency is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flowchart of a transmission confirmation method according to an embodiment of the disclosure;
Fig. 2 is a schematic diagram of a feedback mechanism based on ACK driving in a transmission acknowledgement method according to an embodiment of the present disclosure;
Fig. 3 is a schematic diagram of an extended frame message format in a transmission acknowledgement method according to an embodiment of the disclosure;
fig. 4 is a schematic structural diagram of a transmission confirmation device according to an embodiment of the disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment," another embodiment "means" at least one additional embodiment, "and" some embodiments "means" at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Fig. 1 is a flowchart of a transmission confirmation method according to an embodiment of the disclosure. The embodiment of the disclosure is applicable to the situation of feeding back ACK under a multipath protocol. The method may be performed by a transmission confirmation device, which may be implemented in software and/or hardware, where the device may be configured in an electronic device to which a data receiver (e.g., a client) belongs, for example, may be configured in an electronic device such as a mobile phone, a computer, or the like, which is the data receiver.
As shown in fig. 1, the transmission confirmation method provided in this embodiment may include:
S110, acquiring a first parameter used for representing the data bearing capacity of the whole first link at intervals of preset time.
In the embodiment of the disclosure, the preset time interval may be preset according to an empirical value or an experimental value, and the preset time interval may be generally set to be a smaller interval to more sensitively capture the dynamic change of the data carrying capacity of the overall first link. It may be considered that, in the data transmission scenario, the first parameters may be acquired approximately in real time at preset time intervals.
In this embodiment, the overall first link may include at least two first links, and the at least two first links may perform data transmission based on an existing multi-link protocol. The first parameter may be used to characterize the data carrying capacity of the overall first link, and may include, for example, but not limited to, a Delay-Delay Product (BDP), throughput, and the like. The transmission indexes of all the first links in the integral first link can be synthesized through the existing index detection and calculation modes so as to determine the first parameter of the integral first link. For example, the first parameter of the overall first link may be determined according to a maximum value (e.g., a maximum/minimum value), a median value, etc. of the transmission index of each first link.
In some alternative implementations, obtaining the first parameter used for representing the data carrying capacity of the whole first link may include determining a delay bandwidth product according to a first bandwidth in the whole first link meeting a first preset condition and a first round trip delay meeting a second preset condition, wherein the delay bandwidth product belongs to the first parameter.
The first preset condition and the second preset condition may include, for example, the maximum condition. For example, the first preset condition may include a maximum value condition, and the second preset condition may include a minimum value condition. By way of example, the delay bandwidth product BDP may be calculated by the following equation:
BDP=bw max×RTTmin (equation 1)
Where bw max may represent the first bandwidth, i.e., the maximum bandwidth in the current overall first link, and RTT min may represent the first Round Trip delay, i.e., the minimum Round Trip delay (RTT) in the current overall first link. Wherein the BDP may represent a maximum unacknowledged amount of data that may be simultaneously transmitted over the network link, and may be used to characterize the data carrying capacity of the overall first link.
In these alternative implementations, the delay bandwidth product may be determined by integrating the maximum bandwidth and the minimum RTT of the multiple links to characterize the data carrying capacity of the overall first link.
S120, determining a feedback mode of confirming characters from a first mode and a second mode according to a first comparison result of a first parameter and a preset parameter, wherein the preset parameter is used for representing total data quantity confirmed to be received in a round trip delay period, the first mode comprises a mode of feeding back confirming characters based on the received data quantity, and the second mode comprises a mode of feeding back confirming characters based on the period.
The Acknowledgement Character (ACK) is a transmission control character fed back from the data receiver (e.g. client) to the data sender (e.g. server), and may be used to indicate that the sent data has been acknowledged.
The preset parameters may be determined based on a transmission interval coefficient of the data packet, a maximum data load of the data packet, and a feedback number of acknowledgement characters in a round trip delay period. The preset parameter may be determined by the formula l×mss×β, where L may represent a transmission interval coefficient of a data packet, and may be understood as the number of data packets transmitted between two consecutive ACK feedback, MSS may represent a maximum data load of the data packet, which belongs to a fixed value related to a transmission protocol, for example, may be 1500 bytes, and β may represent the number of feedback times of the ACK in a round trip delay period. Wherein L and β may be preset. It can be considered that the preset parameters can be determined by preset L and β and MSS associated with the transport protocol, and can be used to characterize the total data amount received through ACK acknowledgement in one RTT period. The predetermined parameter may also be understood as the effective transmission data amount in one RTT period.
Wherein the first mode includes a mode in which the acknowledgement character is fed back based on the amount of received data. In the first mode, ACK feedback may be performed in response to receiving a certain amount of data. It can be considered that, in the first mode, the feedback of the ACK of the data receiving side is closely related to the transmission of the data transmitting side, so that the timeliness of the data acknowledgement reception can be ensured. Wherein the second mode includes a mode of confirming characters based on periodic feedback. In the second mode, ACK feedback may be performed in response to a period of time. It is considered that in the second mode, the data receiver does not need to pay attention to the transmission of the data transmitter, and can acknowledge the data which is not acknowledged to be received through the ACK at regular intervals, so that the occupation of the ACK message to the reverse link bandwidth and the overhead of the system resource can be reduced.
In this embodiment, the data carrying capacity of the first link currently characterizing the whole may be evaluated by comparing the first parameter with a preset parameter. When the data carrying capacity is poor, the current network transmission quality fluctuation can be considered to be large, the transmission quality of the data sent by the server cannot be guaranteed, the feedback frequency requirement on the ACK message is high, and the first mode can be selected as the feedback mode of the ACK. When the data carrying capacity is better, the current network transmission state can be considered to be stable, the transmission quality of the data sent by the server is better, the feedback frequency requirement on the ACK message is not high, and the second mode can be selected as the feedback mode of the ACK.
In some alternative implementations, determining the feedback mode of the validation character from the first mode and the second mode based on the first comparison of the first parameter and the preset parameter may include determining the first mode as the feedback mode in response to the first parameter being less than the preset parameter and determining the second mode as the feedback mode in response to the first parameter being greater than or equal to the preset parameter.
In these alternative implementations, when the first parameter is smaller than the preset parameter (e.g., BDP < lxmss×β), the data carrying capacity is considered to be poor, the network transmission quality fluctuates greatly, and the ACK feedback can be performed by using the first mode to improve the timeliness of the acknowledgement mechanism, and when the first parameter is greater than or equal to the preset parameter (e.g., bdp+.lχmss×β), the data carrying capacity is considered to be better, the network transmission state is considered to be more stable, and the ACK feedback can be performed by using the second mode to reduce the occupation of the ACK message to resources such as link bandwidth and processor.
S130, determining the feedback frequency of the confirmation character according to the feedback mode.
In the embodiment of the disclosure, the determining manner of the feedback frequency in the first mode and the second mode may be predefined, for example, a formula of the feedback frequency of ACK in the first mode and the second mode may be predefined. Accordingly, after the first mode or the second mode is determined as the feedback mode, a corresponding formula of the feedback frequency of ACK may be used to calculate the feedback frequency of ACK.
In some alternative implementations, determining the feedback frequency of the acknowledgement character according to the feedback mode may include determining the feedback frequency according to a first bandwidth, a transmission interval coefficient of the data packet, and a data volume maximum load of the data packet in the overall first link meeting a first preset condition in response to the feedback mode belonging to the first mode, and determining the feedback frequency according to a first round trip delay in the overall first link meeting a second preset condition in response to the feedback mode belonging to the second mode, and a feedback number of acknowledgement characters in a round trip delay period.
By way of example, the feedback frequency F ACK may be calculated by the following formula:
Wherein bw max may represent the first bandwidth, i.e. the maximum bandwidth in the current overall first link, L may represent the transmission interval coefficient of the data packet, MSS may represent the maximum load of the data volume of the data packet, β may represent the number of feedback times of ACK in the round trip delay period, and RTT min may represent the first round trip delay, i.e. the minimum round trip delay in the current overall first link.
Wherein, when BDP < LxMSxβ, the first term in the feedback frequency F ACK Smaller, wherein F ACK can be determined by the calculation formula of the first term, and the second term in F ACK when BDP is larger than or equal to LxMSSxβSmaller, at this point, F ACK may be determined by the second term's calculation formula. The first item may represent the number of data packets of the MSS size that can be sent per second, i.e. feedback of ACK according to the received data amount may be implemented. The second term may represent an upper limit of the number of ACKs that may be sent per second, that is, feedback of ACKs according to the period may be implemented.
In these alternative implementation manners, by constructing an ACK transmission frequency regulation mechanism with a delay bandwidth product (BDP) as a core, the ACK feedback frequency can be adaptively switched between a feedback ACK mode based on the received data amount and a feedback ACK mode based on the period, so that the ACK redundancy is remarkably reduced, the acknowledgement timeliness is considered, and good throughput optimization and resource overhead control capability are provided.
According to the embodiment of the disclosure, by constructing the ACK feedback frequency regulation mechanism with the first parameter representing the data bearing capacity of the whole first link and the preset parameter representing the total data quantity confirmed to be received in the round trip delay period as a core, the self-adaptive regulation of the ACK sending frequency can be realized.
And S140, determining a performance evaluation result of the single first link according to a second parameter of the single first link in a preset dimension.
The second parameter of the preset dimension may include, but is not limited to, bandwidth, delay, throughput, packet loss rate, and the like. For each first link (i.e., a single first link) in the multiple links, the performance evaluation result of the first link may be determined by integrating the second parameter of the first link in the preset dimension through a weighted product or a weighted sum. Wherein the performance evaluation result can be characterized in the form of a performance evaluation score.
In some alternative implementations, determining the performance evaluation result of the single first link according to the second parameter of the single first link in the preset dimension may include determining the performance evaluation result of the single first link according to the second bandwidth of the single first link, the first one-way delay of the acknowledgement character, and the packet loss rate, wherein the performance evaluation result is positively correlated with the second bandwidth, and inversely correlated with the first one-way delay and the packet loss rate.
By way of example, the performance evaluation result of a single first link may be calculated by the following formula:
Wherein i may represent an ith first link in the multiple links, S i may represent a performance evaluation result of the ith first link, bw i may represent a current second bandwidth of the ith first link, owd acki may represent a first unidirectional delay of a current ACK of the ith first link, p i may represent a packet loss rate of the ith first link, bw max may represent a maximum bandwidth of the current overall first link, owd ackmin may represent a minimum unidirectional delay value of the ACK of the current overall first link, and α is a preset value, which may be used to control an impact weight of the packet loss rate.
The greater bw i can indicate that the stronger the link bearing capacity is, the smaller owd acki is, the more timely the response is, the better the path performance is, the lower p i is, the stronger the ACK reliability is, and the better the path performance is. By normalizing bw i by using bw max and normalizing owd acki by owd ackmin, the magnitude order difference between bandwidth and one-way delay can be eliminated, which is beneficial to the performance evaluation of the first link integrating the second parameters of each dimension.
In these alternative implementations, the performance evaluation result of each first link may be determined by combining the second bandwidth, the first one-way delay, and the packet loss rate. The performance evaluation result of each first link is determined by multiplying the second bandwidth, the first unidirectional delay and the packet loss rate in the formula 3, and the performance evaluation result may be determined by multiplying the second bandwidth, the first unidirectional delay and the packet loss rate in other manners (such as weighting and the like), which is not exhaustive herein.
In the embodiment of the disclosure, the first parameters can be obtained in real time to regulate and control the ACK feedback frequency, and the real-time performance evaluation result of each first link can be determined, so that a more reasonable ACK message distribution strategy can be realized under the condition of dynamic network change, and the ACK message sending load proportion of each path is balanced.
And S150, feeding back the confirmation character through the first link according to the feedback frequency and the performance evaluation result.
In the embodiment of the disclosure, the feedback proportion of the ACK message of each first link may be determined according to the ratio of the scores in the performance evaluation result of each first link. Furthermore, according to the current feedback frequency of the ACK and the feedback proportion of the ACK message of each first link, the feedback of the acknowledgement character can be carried out through each first link. For example, assuming that the current ACK feedback frequency is 10 times/s and the ratio of the performance evaluation results of the first link a and the first link B is 3:2, 6 ACKs may be fed back through the first link a per second and 4 ACKs may be fed back through the first link B per second.
In the embodiment of the disclosure, the transmission performance of each first link is evaluated by fusing the service quality (Quality of Service, qoS) indexes of preset dimensions such as bandwidth, unidirectional delay, packet loss rate and the like, and the ACK message feedback is scheduled according to the performance evaluation result, so that the dynamic distribution and load balancing of the ACK message in a multipath environment can be realized, the bottleneck path is effectively avoided, and the feedback efficiency is improved.
In addition, to effectively cope with abnormal network behavior in multipath transmission, the transmission confirmation method can further comprise the step of feeding back confirmation characters through the first link in response to the condition of the preset network. The preset network conditions may include, but are not limited to, actual packet loss of the underlying physical link, and out-of-order arrival of the data packet caused by the difference of the first links in the multipath. At this time, the ACK message may be immediately sent through the first link of the normal network condition, so as to quickly feed back the abnormal transmission condition.
Experiments prove that compared with the traditional transmission confirmation mechanism, the transmission confirmation method provided by the embodiment of the disclosure can reduce the sending quantity of the ACK messages and improve the effective throughput. In addition, the overall transmission efficiency in different types of weak network environments can be remarkably improved.
According to the technical scheme, first parameters used for representing the data carrying capacity of the whole first link can be obtained at intervals of preset time intervals, feedback modes of confirmation characters are determined from the first mode and the second mode according to first comparison results of the first parameters and preset parameters, wherein the preset parameters are used for representing total data quantity confirmed to be received in a round trip delay period, the first mode comprises a mode of confirming the characters based on received data quantity feedback, the second mode comprises a mode of confirming the characters based on periodic feedback, feedback frequency of the confirmation characters is determined according to the feedback mode, performance evaluation results of the single first link are determined according to second parameters of the single first link in preset dimensions, and feedback of the confirmation characters is conducted through the first link according to the feedback frequency and the performance evaluation results.
By constructing the ACK feedback frequency regulation mechanism with the first parameter representing the data bearing capacity of the integral first link and the preset parameter representing the total data quantity confirmed and received in the round trip delay period as a core, the acknowledgement character can be fed back based on the received data quantity under the condition of poor network transmission performance, the timeliness of the acknowledgement mechanism can be ensured, and the acknowledgement character can be fed back based on the round trip delay period under the condition of good network transmission performance, so that the bandwidth occupation of an ACK message to a reverse link and the system resource overhead are reduced. In addition, by determining the performance evaluation result of a single first link, the dynamic distribution and load balancing of the ACK message in a multipath environment can be realized, the bottleneck path can be effectively avoided, and the feedback efficiency can be improved. Therefore, on the premise of ensuring the real-time property of data transmission confirmation, the occupation of reverse link bandwidth and the overhead of system resources can be reduced, and the transmission efficiency is improved.
The embodiments of the present disclosure may be combined with each of the alternatives in the transmission confirmation method provided in the above embodiments. The transmission confirmation method provided in this embodiment describes in detail the correction of the unidirectional delay and the adjustment of the performance evaluation result.
In the transmission confirmation method provided by the embodiment, the first unidirectional time delay comprises the unidirectional time delay corrected based on the clock difference, wherein the clock difference is determined based on the second round trip time delay meeting a third preset condition in the integral first link and the second unidirectional time delay of the data packet meeting a fourth preset condition.
In the conventional transmission confirmation method, after receiving the ACK message, the data sender is only used for confirming the receiving state of the data packet, and does not actively return feedback information based on the link state to the data receiver. In the embodiment of the disclosure, an ACK-triggered feedback mechanism is provided.
Fig. 2 is a schematic diagram of an ACK-driven feedback mechanism in a transmission acknowledgement method according to an embodiment of the present disclosure. Referring to fig. 2, a data sender may send a data packet to a data receiver, the data receiver may feed back an ACK message to confirm that the data is received correctly, and the data sender may construct an Extension Frame (Extension Frame) carrying key QoS information in a structured format according to the ACK message, and may feed back the Extension Frame to the data receiver depending on a first link on which the ACK message is received.
In embodiments of the present disclosure, the multipath protocol may include, but is not limited to, multipath Transmission control protocol (Transmission ControlProtocol, TCP), multipath fast UDP internet connection (Quick UDPInternet Connections, QUIC), and the like. The QUIC protocol has strong compatibility, and can be used for realizing the extended frame by adopting a reserved frame type field in the QUIC protocol, so that the original protocol format is not required to be destroyed, and the integration in the existing protocol stack is facilitated.
In order to realize the transmission of link QoS information to a data receiver from a data transmitting party, the embodiment designs a lightweight QoS extension frame based on a frame type field reserved in the QUIC protocol. Fig. 3 is a schematic diagram illustrating an extended frame message format in a transmission acknowledgement method according to an embodiment of the present disclosure. As shown in fig. 3, the extended frame may include key QoS information such as a first link ID (Path ID), a time stamp when the data transmitter currently transmits the extended frame, and a downlink bandwidth estimated by the data transmitter.
The extended frame may belong to a unidirectional information transmission frame, that is, the data receiver does not need to perform ACK feedback again after receiving the extended frame, so as to reduce the control message load. The method comprises the steps of receiving a first link ID, determining a round trip delay related to the ACK by a data receiver according to a transmission time stamp of the ACK and a receiving time stamp of an extended frame, determining one-way delay from the data transmitter to a data receiver according to the transmission time stamp of the extended frame and the receiving time stamp of the extended frame carried in the extended frame, subtracting the one-way delay from the data transmitter to the data receiver according to the round trip delay related to the ACK, obtaining the one-way delay (namely the first one-way delay) of the ACK, and laying a foundation for calculating the performance evaluation result of each first link.
In the practical application process, clock difference exists between the data sender and the data receiver. In this case, the round trip delay can effectively cancel the clock difference between the two communication parties, and the one-way delay from the data sender to the data receiver and the one-way delay from the data receiver to the data sender can be affected. It is believed that the first one-way delay may be affected by clock differences.
In an embodiment of the present disclosure, the third preset condition and the fourth preset condition may include a minimum value condition. The second round trip delay of the data packet in the overall first link meeting the fourth preset condition may include the minimum one-way delay from the data sender to the data receiver after the connection is established in each first link. By way of example, the clock difference Δt can be calculated by the following formula:
The minRTT may represent a second round trip delay, i.e. the minimum round trip delay in each first link after the connection is established, and the OWD data may represent a second unidirectional delay, i.e. the minimum unidirectional delay of the data packet in each first link after the connection is established.
Since the round trip delay is not affected by clock differences, the physical delay in the state where the link is approximately empty can be obtained by dividing the minimum round trip delay of the whole first link from data transmission by 2. Because the second unidirectional delay of the data packet from the data transmission of the first link as a whole can include the physical delay and the clock difference of the link in a state similar to the null state, the clock difference of the data receiver and the data sender can be obtained by determining the difference between half of the second round trip delay and the second unidirectional delay in the manner as shown in the formula 4.
After determining the clock difference, the clock difference may be used to correct the first one-way delay of the validation character. For example, after determining the clock difference based on equation 4, the clock difference may be subtracted from the first one-way delay of the ACK to obtain an updated first one-way delay, and correspondingly, the one-way delay of the data packet may be added to the clock difference to correct the one-way delay of the data packet. For another example, assuming that the clock difference is determined by subtracting half of the second round trip delay from the second one-way delay, the clock difference may be added to the first one-way delay of the ACK to obtain an updated first one-way delay, and correspondingly, the one-way delay of the data packet may be subtracted from the clock difference to correct the one-way delay of the data packet.
In the embodiment of the disclosure, the clock difference is determined through the extended frame feedback mechanism driven by the ACK, and the first unidirectional time delay of the ACK is corrected based on the clock difference, so that the performance evaluation result of the multipath is accurately determined, a more reasonable ACK message distribution strategy is realized, and the transmission efficiency is improved.
The transmission confirmation method provided in this embodiment may further include correcting the corresponding performance evaluation result according to the link type of the single first link.
Wherein, in links of different physical types, the effect of ACK feedback on the transmission of forward data packets is different. The link types of the first link may include, but are not limited to, half duplex links and full duplex links, and the full duplex links may include symmetric links and asymmetric links.
A half duplex link may refer to a link where both parties to a communication alternately transmit and receive data, and only allow unidirectional transmission at the same time, and may include, for example, a wireless fidelity (WIRELESS FIDELITY, wi-Fi) link, etc. The type of link is in competition relationship with the transmission of the ACK message and the transmission of the forward data packet due to the forward and reverse shared bandwidth. Therefore, in the case that the first link belongs to a half duplex link, the forward transmission condition can be determined according to the unidirectional time delay of the current data packet, and in the case of forward transmission congestion, the fraction in the performance evaluation result of the corresponding first link can be reduced so as to avoid that more ACK feedback aggravates the data packet congestion.
The full duplex link may refer to a link where both communication parties may simultaneously transmit and receive data, and may include, for example, a long term evolution (Long Term Evolution, LTE) link, a cellular link, a satellite link, an ethernet link, and so on. The full duplex symmetrical link (such as Ethernet) has better symmetry and stability, the forward and reverse bandwidths are relatively balanced, and the transmission of the ACK message has less influence on the forward data flow. Therefore, in the case where the first link belongs to a full duplex symmetric link, the performance evaluation result may not be adjusted. In full duplex asymmetric links (such as LTE links, cellular links, satellite links, etc.), although the forward and reverse links are interfered with each other, there is a significant difference in forward and reverse bandwidths, and the reverse link is easy to become a bandwidth bottleneck, so that timely return of ACK messages is limited. Therefore, if the first link belongs to the full duplex asymmetric link, whether the reverse link is congested can be judged according to the one-way time delay of the ACK, and the fraction in the performance evaluation result of the corresponding first link can be reduced under the condition that the reverse link is congested so as to avoid that more ACK feedback aggravates the reverse congestion.
In this embodiment, the performance evaluation result may be modified according to the link type, so as to reduce the influence of ACK feedback on the forward and reverse link data transmission.
In some alternative implementations, the correcting the corresponding performance evaluation result according to the link type of the single first link may include correcting the performance evaluation result according to a difference between a third one-way delay of a data packet of the single first link and a second one-way delay of a data packet satisfying a fourth preset condition in the whole first link in response to the link type belonging to the half duplex link, wherein the difference is positively correlated with the correction degree, and correcting the performance evaluation result according to a second comparison result of the first one-way delay and the third one-way delay of a confirm character of the single first link in response to the link type belonging to the full duplex asymmetric link.
Under the condition that the first link belongs to a half duplex link, a third unidirectional time delay of a current data packet of the first link can be obtained, and the third unidirectional time delay can comprise unidirectional time delay corrected based on clock difference; and a second unidirectional delay of the data packet meeting the fourth preset condition in the whole first link can be obtained, and referring to the above, the second unidirectional delay can refer to the unidirectional delay of the smallest data packet in each first link after connection is established. For example, the performance evaluation result may be corrected according to the difference between the third one-way delay and the second one-way delay by the following formula:
Wherein S' i may represent the performance evaluation result after the correction, S i may represent the performance evaluation result before the correction, δ s may represent the trimming step, may belong to a preset fixed value, owd data may represent the third one-way delay of the current data packet, and owd datamin may represent the second one-way delay. Of these, owd data and owd datamin can be considered to belong to one-way delays corrected for clock skew. Wherein the larger the difference owd data-owddatamin between the third unidirectional delay and the second unidirectional delay, the more congestion the forward transmission is considered, and the correction degree of S i is The larger.
Under the condition that the first link belongs to a full duplex asymmetric link, the first unidirectional time delay of the current acknowledgement character of the first link and the third unidirectional time delay of the current data packet can be obtained, wherein the first unidirectional time delay and the third unidirectional time delay can be considered to comprise unidirectional time delay corrected based on clock difference. For example, the performance evaluation result may be corrected according to the difference between the first unidirectional delay and the third unidirectional delay by the following formula:
Wherein, S i' may represent the performance evaluation result after correction, S i may represent the performance evaluation result before correction, δ s may represent the fine-tuning step length, may belong to a preset fixed value, owd ack may represent the first one-way delay of the current ACK, and owd data may represent the third one-way delay of the current data packet. Under the condition that the first unidirectional delay is larger than the third unidirectional delay, the reverse link congestion can be considered, at this time, the S i can be corrected according to the difference value between the first unidirectional delay and the third unidirectional delay, and the correction degree can also be positively correlated with the difference value. Referring again to equation 6, in the case where the first one-way delay is equal to or less than the third one-way delay, the reverse link transmission state may be considered good, and at this time, S i may not be modified.
In these alternative implementations, by performing weighted correction on the specific link type according to the type of the physical link and combining the unidirectional delay difference of data/ACK message transmission, fine granularity adjustment on the performance evaluation result can be realized by combining the physical attribute and the transmission behavior of each path, which is beneficial to realizing a more reasonable ACK message distribution strategy.
The technical scheme of the embodiment of the disclosure describes the correction of the unidirectional time delay and the adjustment of the performance evaluation result in detail. Based on the traditional ACK message logic, the expansion server feeds back an expansion frame containing the service quality based on the ACK message, so that the perceptibility of the client to the service quality can be enhanced, and the client can determine the clock difference with the server. Furthermore, the unidirectional time delay of the data packet and the unidirectional time delay of the confirmation character can be corrected according to the clock difference, which is favorable for determining more accurate performance evaluation results so as to improve transmission efficiency. In addition, by adjusting the performance evaluation result of each link according to the link type, the transmission load proportion of the ACK message can be optimized by integrating the physical attribute of each path, so that more reasonable dynamic distribution and load balancing of the ACK message in a multipath environment are realized, the bottleneck path can be effectively avoided, and the feedback efficiency is improved. The transmission confirmation method provided by the embodiment of the present disclosure belongs to the same disclosure concept as the transmission confirmation method provided by the above embodiment, and technical details not described in detail in the present embodiment may be referred to the above embodiment, and the same technical features have the same beneficial effects in the present embodiment and the above embodiment.
Fig. 4 is a schematic structural diagram of a transmission confirmation device according to an embodiment of the disclosure. The transmission confirmation device provided in this embodiment is suitable for the case of feeding back ACK under the multipath protocol.
As shown in fig. 4, a transmission acknowledgement apparatus provided in an embodiment of the present disclosure may include:
A first parameter obtaining module 410, configured to obtain, at intervals of a preset time, a first parameter for characterizing a data carrying capacity of the overall first link;
A feedback mode determining module 420, configured to determine a feedback mode of the confirm character from a first mode and a second mode according to a first comparison result of a first parameter and a preset parameter, where the preset parameter is used to characterize a total data amount received for confirmation in a round trip delay period;
A feedback frequency determining module 430, configured to determine a feedback frequency of the confirm character according to the feedback mode;
a performance evaluation module 440, configured to determine a performance evaluation result of the single first link according to a second parameter of the single first link in a preset dimension;
and the confirm character feedback module 450 is configured to perform feedback of confirm characters through the first link according to the feedback frequency and the performance evaluation result.
In some alternative implementations, the first parameter acquisition module may be configured to:
And determining a time delay bandwidth product according to the first bandwidth meeting the first preset condition and the first round trip time delay meeting the second preset condition in the integral first link, wherein the time delay bandwidth product belongs to the first parameter.
In some alternative implementations, the preset parameter is determined based on a transmission interval coefficient of the data packet, a maximum data amount load of the data packet, and a feedback number of acknowledgement characters in a round trip delay period.
In some alternative implementations, the feedback mode determination module may be configured to:
determining the first mode as a feedback mode in response to the first parameter being less than a preset parameter;
And determining the second mode as a feedback mode in response to the first parameter being greater than or equal to a preset parameter.
In some alternative implementations, the feedback frequency determination module may be configured to:
Responding to the feedback mode belonging to the first mode, and determining feedback frequency according to a first bandwidth meeting a first preset condition in the integral first link, a transmission interval coefficient of the data packet and a data volume maximum load of the data packet;
And responding to the feedback mode belonging to the second mode, and determining the feedback frequency according to the first round trip delay meeting the second preset condition in the integral first link and the feedback times of the confirmation characters in the round trip delay period.
In some alternative implementations, the performance evaluation module may be configured to:
And determining a performance evaluation result of the single first link according to the second bandwidth of the single first link, the first unidirectional delay and the packet loss rate of the acknowledgement character, wherein the performance evaluation result is positively correlated with the second bandwidth and inversely correlated with the first unidirectional delay and the packet loss rate.
In some alternative implementations, the first one-way delay includes a one-way delay corrected based on a clock difference, wherein the clock difference is determined based on a second round trip delay in the overall first link that satisfies a third preset condition and a second one-way delay of the data packet that satisfies a fourth preset condition.
In some alternative implementations, the transmission confirmation device may further include:
and the performance correction module is used for correcting the corresponding performance evaluation result according to the link type of the single first link.
In some alternative implementations, the performance modification module may be configured to:
responding to the link type belonging to the half duplex link, and correcting the performance evaluation result according to the difference value between the third unidirectional time delay of the data packet of the single first link and the second unidirectional time delay of the data packet meeting the fourth preset condition in the whole first link, wherein the difference value is positively correlated with the correction degree;
And in response to the link type belonging to the full duplex asymmetric link, correcting the performance evaluation result according to a second comparison result of the first unidirectional time delay and the third unidirectional time delay of the acknowledgement character of the single first link.
The transmission confirmation device provided by the embodiment of the disclosure can execute the transmission confirmation method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that the above-mentioned units and modules included in the apparatus are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding functions can be implemented, and the specific names of the functional units are only used for distinguishing from each other, and are not used for limiting the protection scope of the embodiments of the present disclosure.
Referring now to fig. 5, a schematic diagram of an electronic device (e.g., a terminal device or server in fig. 5) 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device 500 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 502 or a program loaded from a storage means 508 into a random access Memory (Random Access Memory, RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, devices may be connected to I/O interface 505 including input devices 506 such as a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 507 including a liquid crystal display, speaker, vibrator, etc., storage devices 508 including magnetic tape, hard disk, etc., and communication devices 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 500 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. When the computer program is executed by the processing apparatus 501, the above-described functions defined in the transmission confirmation method of the embodiment of the present disclosure are performed.
The electronic device provided by the embodiment of the present disclosure and the transmission confirmation method provided by the foregoing embodiment belong to the same disclosure concept, and technical details not described in detail in the present embodiment may be referred to the foregoing embodiment, and the present embodiment has the same beneficial effects as the foregoing embodiment.
The disclosed embodiments provide a storage medium of computer executable instructions that when executed by a computer processor are operable to perform the transmission confirmation method provided by the above embodiments.
It should be noted that the storage medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (EPROM) or FLASH Memory (FLASH), an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store executable instructions for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer-readable executable instructions embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium that is not a computer-readable storage medium and that can transmit, propagate, or transport executable instructions for use by or in connection with an instruction execution system, apparatus, or device. The executable instructions contained on the storage medium may be transmitted using any appropriate medium, including but not limited to electrical wiring, fiber optic cable, radio Frequency (RF), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (Hyper Text Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The storage medium may be included in the electronic device or may exist alone without being incorporated in the electronic device.
The storage medium carries one or more executable instructions that, when executed by the electronic device, cause the electronic device to:
The method comprises the steps of obtaining first parameters used for representing data bearing capacity of an integral first link at intervals of preset time, determining a feedback mode of confirming characters from a first mode and a second mode according to first comparison results of the first parameters and preset parameters, wherein the preset parameters are used for representing total received data quantity confirmed in a round trip delay period, the first mode comprises a mode of feeding back the confirming characters based on the received data quantity, the second mode comprises a mode of feeding back the confirming characters based on the period, determining feedback frequency of the confirming characters according to the feedback mode, determining performance evaluation results of the single first link according to second parameters of the single first link in preset dimensions, and feeding back the confirming characters through the first link according to the feedback frequency and the performance evaluation results.
Executable instructions for performing the operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The executable instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The disclosed embodiments also provide a computer program product comprising a computer program which, when executed by a processor, implements a transmission confirmation method as provided by any of the embodiments of the disclosure.
Wherein the computer program product comprises a computer program, carried on a non-transitory computer readable medium, comprising program code for performing the transmission confirmation method. The program code may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The names of the units and modules do not limit the units and modules themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic that can be used include field programmable gate arrays (Field Programmable GATE ARRAY, FPGA), application SPECIFIC INTEGRATED Circuits (ASICs), application SPECIFIC STANDARD PARTS, ASSP, system On Chip (SOCs), complex programmable logic devices (Complex Programmable Logic Device, CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method including:
acquiring a first parameter for representing the data carrying capacity of the whole first link at intervals of preset time;
Determining a feedback mode of a confirmation character from a first mode and a second mode according to a first comparison result of the first parameter and a preset parameter, wherein the preset parameter is used for representing total data quantity confirmed to be received in a round trip delay period, the first mode comprises a mode for feeding back the confirmation character based on the received data quantity, and the second mode comprises a mode for feeding back the confirmation character based on the period;
Determining the feedback frequency of the confirmation character according to the feedback mode;
Determining a performance evaluation result of the single first link according to a second parameter of the single first link in a preset dimension;
and feeding back the confirmation character through the first link according to the feedback frequency and the performance evaluation result.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method, further comprising:
in some alternative implementations, the obtaining the first parameter for characterizing the data carrying capacity of the overall first link includes:
and determining a time delay bandwidth product according to the first bandwidth meeting the first preset condition and the first round trip time delay meeting the second preset condition in the first link, wherein the time delay bandwidth product belongs to the first parameter.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method, further comprising:
in some alternative implementations, the preset parameter is determined based on a transmission interval coefficient of a data packet, a maximum load of a data volume of the data packet, and a feedback number of the acknowledgement character in the round trip delay period.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method, further comprising:
In some optional implementations, the determining, according to the first comparison result of the first parameter and the preset parameter, a feedback mode of the confirm character from the first mode and the second mode includes:
Determining the first mode as the feedback mode in response to the first parameter being less than the preset parameter;
and determining the second mode as the feedback mode in response to the first parameter being greater than or equal to the preset parameter.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method, further comprising:
in some optional implementations, the determining, according to the feedback mode, a feedback frequency of the acknowledgement character includes:
Responding to the feedback mode belonging to the first mode, and determining the feedback frequency according to a first bandwidth, a transmission interval coefficient of a data packet and a data volume maximum load of the data packet, which meet a first preset condition, in the first link as a whole;
and responding to the feedback mode belonging to the second mode, and determining the feedback frequency according to the first round trip delay meeting a second preset condition in the first link as a whole and the feedback times of the acknowledgement character in the round trip delay period.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method, further comprising:
In some optional implementations, the determining, according to the second parameter of the single first link in the preset dimension, a performance evaluation result of the single first link includes:
And determining a performance evaluation result of the single first link according to the second bandwidth of the single first link, the first unidirectional time delay and the packet loss rate of the acknowledgement character, wherein the performance evaluation result is positively correlated with the second bandwidth and inversely correlated with the first unidirectional time delay and the packet loss rate.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method, further comprising:
In some alternative implementations, the first one-way delay includes a one-way delay corrected based on a clock difference, where the clock difference is determined based on a second round trip delay in the first link as a whole that satisfies a third preset condition, and a second one-way delay of a data packet that satisfies a fourth preset condition.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method, further comprising:
In some alternative implementations, the corresponding performance evaluation result is modified according to a link type of the single first link.
According to one or more embodiments of the present disclosure, there is provided a transmission acknowledgement method, further comprising:
in some optional implementations, the correcting, according to the link type of the single first link, the corresponding performance evaluation result includes:
Responding to the link type belonging to a half duplex link, and correcting the performance evaluation result according to the difference value between the third one-way time delay of the data packet of the single first link and the second one-way time delay of the data packet meeting a fourth preset condition in the whole first link, wherein the difference value is positively correlated with the correction degree;
And in response to the link type belonging to a full duplex asymmetric link, correcting the performance evaluation result according to a second comparison result of the first unidirectional time delay and the third unidirectional time delay of the acknowledgement character of the single first link.
According to one or more embodiments of the present disclosure, there is provided a transmission confirmation apparatus including:
the first parameter acquisition module is used for acquiring first parameters for representing the data bearing capacity of the whole first link at intervals of preset time;
the feedback mode determining module is used for determining a feedback mode of a confirmation character from a first mode and a second mode according to a first comparison result of the first parameter and a preset parameter, wherein the preset parameter is used for representing total data quantity received in a round trip delay period, the first mode comprises a mode for feeding back the confirmation character based on the received data quantity, and the second mode comprises a mode for feeding back the confirmation character based on the period;
The feedback frequency determining module is used for determining the feedback frequency of the confirmation character according to the feedback mode;
the performance evaluation module is used for determining a performance evaluation result of the single first link according to a second parameter of the single first link in a preset dimension;
And the confirmation character feedback module is used for feeding back the confirmation character through the first link according to the feedback frequency and the performance evaluation result.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (13)

1. A transmission confirmation method, comprising:
acquiring a first parameter for representing the data carrying capacity of the whole first link at intervals of preset time;
Determining a feedback mode of a confirmation character from a first mode and a second mode according to a first comparison result of the first parameter and a preset parameter, wherein the preset parameter is used for representing total data quantity confirmed to be received in a round trip delay period, the first mode comprises a mode for feeding back the confirmation character based on the received data quantity, and the second mode comprises a mode for feeding back the confirmation character based on the period;
Determining the feedback frequency of the confirmation character according to the feedback mode;
Determining a performance evaluation result of the single first link according to a second parameter of the single first link in a preset dimension;
and feeding back the confirmation character through the first link according to the feedback frequency and the performance evaluation result.
2. The method of claim 1, wherein the obtaining a first parameter characterizing the data carrying capacity of the overall first link comprises:
and determining a time delay bandwidth product according to the first bandwidth meeting the first preset condition and the first round trip time delay meeting the second preset condition in the first link, wherein the time delay bandwidth product belongs to the first parameter.
3. The method of claim 1, wherein the predetermined parameter is determined based on a transmission interval coefficient of a data packet, a data amount maximum load of the data packet, and a feedback number of the acknowledgement character in the round trip delay period.
4. The method of claim 1, wherein determining a feedback pattern of the validation character from the first pattern and the second pattern based on the first comparison result of the first parameter and the preset parameter comprises:
Determining the first mode as the feedback mode in response to the first parameter being less than the preset parameter;
and determining the second mode as the feedback mode in response to the first parameter being greater than or equal to the preset parameter.
5. The method of claim 1, wherein said determining a feedback frequency of the validation character according to the feedback pattern comprises:
Responding to the feedback mode belonging to the first mode, and determining the feedback frequency according to a first bandwidth, a transmission interval coefficient of a data packet and a data volume maximum load of the data packet, which meet a first preset condition, in the first link as a whole;
and responding to the feedback mode belonging to the second mode, and determining the feedback frequency according to the first round trip delay meeting a second preset condition in the first link as a whole and the feedback times of the acknowledgement character in the round trip delay period.
6. The method of claim 1, wherein determining the performance evaluation result of the single first link according to the second parameter of the single first link in the preset dimension comprises:
And determining a performance evaluation result of the single first link according to the second bandwidth of the single first link, the first unidirectional time delay and the packet loss rate of the acknowledgement character, wherein the performance evaluation result is positively correlated with the second bandwidth and inversely correlated with the first unidirectional time delay and the packet loss rate.
7. The method of claim 6, wherein the first one-way delay comprises a one-way delay corrected based on a clock difference, wherein the clock difference is determined based on a second round trip delay in the first link as a whole that satisfies a third predetermined condition, and a second one-way delay for packets that satisfies a fourth predetermined condition.
8. The method as recited in claim 1, further comprising:
And correcting the corresponding performance evaluation result according to the link type of the single first link.
9. The method of claim 8, wherein said modifying the corresponding performance evaluation result according to the link type of the single first link comprises:
Responding to the link type belonging to a half duplex link, and correcting the performance evaluation result according to the difference value between the third one-way time delay of the data packet of the single first link and the second one-way time delay of the data packet meeting a fourth preset condition in the whole first link, wherein the difference value is positively correlated with the correction degree;
And in response to the link type belonging to a full duplex asymmetric link, correcting the performance evaluation result according to a second comparison result of the first unidirectional time delay and the third unidirectional time delay of the acknowledgement character of the single first link.
10. A transmission confirmation device, comprising:
the first parameter acquisition module is used for acquiring first parameters for representing the data bearing capacity of the whole first link at intervals of preset time;
the feedback mode determining module is used for determining a feedback mode of a confirmation character from a first mode and a second mode according to a first comparison result of the first parameter and a preset parameter, wherein the preset parameter is used for representing total data quantity received in a round trip delay period, the first mode comprises a mode for feeding back the confirmation character based on the received data quantity, and the second mode comprises a mode for feeding back the confirmation character based on the period;
The feedback frequency determining module is used for determining the feedback frequency of the confirmation character according to the feedback mode;
the performance evaluation module is used for determining a performance evaluation result of the single first link according to a second parameter of the single first link in a preset dimension;
And the confirmation character feedback module is used for feeding back the confirmation character through the first link according to the feedback frequency and the performance evaluation result.
11. An electronic device, the electronic device comprising:
One or more processors;
storage means for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the transmission confirmation method of any of claims 1-9.
12. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the transmission confirmation method of any one of claims 1-9.
13. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the transmission confirmation method according to any of claims 1-9.
CN202510984027.7A 2025-07-16 2025-07-16 Transmission confirmation method and device, electronic equipment and storage medium Pending CN120750497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510984027.7A CN120750497A (en) 2025-07-16 2025-07-16 Transmission confirmation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510984027.7A CN120750497A (en) 2025-07-16 2025-07-16 Transmission confirmation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN120750497A true CN120750497A (en) 2025-10-03

Family

ID=97185019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510984027.7A Pending CN120750497A (en) 2025-07-16 2025-07-16 Transmission confirmation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN120750497A (en)

Similar Documents

Publication Publication Date Title
EP3780542B1 (en) Data transmission method and device
US12369074B2 (en) Data packet sending method and apparatus
EP3560152B1 (en) Determining the bandwidth of a communication link
CN117614517B (en) Multilink data transmission method and device based on data transmission quantity control
CN114039703A (en) Data transmission method, device, equipment and medium
CN111385269A (en) Data transmission method and device
US11997179B2 (en) Distributed proxy for encrypted transport protocols with efficient multi-priority multiplexed transport for improving user&#39;s traffic QOS
CN110750486A (en) RDMA data stream control method, system, electronic device and readable storage medium
CN103312469A (en) Method and device for selecting ACK-leader in multicast retransmission
JP2017092692A (en) Data transmission control system and method, and data transmission control program
JPWO2020067403A1 (en) Communication equipment, communication methods and programs
CN118041833A (en) Communication link quality assessment method, device, equipment and storage medium
CN113055302B (en) Transmission Control Protocol (TCP) data transmission method and device and electronic equipment
CN120750497A (en) Transmission confirmation method and device, electronic equipment and storage medium
Liang et al. Queue‐based congestion detection and multistage rate control in event‐driven wireless sensor networks
WO2023225172A1 (en) Distributed proxy for encrypted transport protocol with efficient multi-priority multiplexed transport for improving user&#39;s traffic qos
CN116962258A (en) Bandwidth detection method, device, system, equipment and storage medium
CN113542215B (en) Method and related device for improving streaming media transmission performance
CN118555229A (en) Network detection method, device, apparatus, readable storage medium and program product
JP4636510B2 (en) Terminal rate control method, terminal, system and program in communication / broadcasting cooperation system
US20210127301A1 (en) Application Notifications from Network for Throughput and Flow Control Adaptation
US20080091841A1 (en) Communication method, communication system, communication apparatus, and recording medium
CN106506434B (en) Service data transmission method and device
US20240154735A1 (en) Method and apparatus for transmitting objects based on deadline-aware
CN113849756B (en) Information generation method, apparatus, electronic device and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication