Data transmission control method, device, electronic device and storage medium

By calculating the network jitter degree value and determining the retransmission time stamp when receiving data packets, the impact of network jitter on packet retransmission control is solved, and communication stability and quality are improved.

JP7627765B2Active Publication Date: 2025-02-06ベイジン フィジュン テクノロジー カンパニー リミテッド
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023537670
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-04-30
Filing Date
2022-04-11
Publication Date
2025-02-06
Estimated Expiration
2042-04-11

AI Technical Summary

Technical Problem

When the network is unstable, data packets are easily lost during transmission, and the prior art is difficult to effectively solve the problem of packet retransmission control, affecting communication stability and quality.

Method used

By determining the relevant time information when receiving the data packet, calculating the network jitter degree value, determining the retransmission time stamp based on this value, and controlling the retransmission of the data packet through the retransmission time stamp to avoid the impact of network jitter.

Benefits of technology

It improves the efficiency of packet retransmission control, enhances the stability and quality between communication devices, and ensures accurate transmission of data packets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007627765000001
    Figure 0007627765000001
  • Figure 0007627765000002
    Figure 0007627765000002
  • Figure 0007627765000003
    Figure 0007627765000003
Patent Text Reader

Abstract

A data transmission control method, an apparatus, an electronic device, and a storage medium are proposed. The data transmission control method can be applied to a first device, and the first device receives a data packet transmitted from a second device, and the method includes the steps of receiving the first data packet transmitted from the second device and determining first time information corresponding to the first data packet, determining a network jitter degree value based on the first time information and second time information, where the second time information is time information corresponding to the second data packet, and the second data packet is a data packet transmitted by the second device to the first device before transmitting the first data packet, and determining a retransmission timestamp based on the network jitter degree value, and sending the retransmission timestamp to the second device.
Need to check novelty before this filing date? Find Prior Art

Description

Cross-references to related applications

[0001] This application is proposed based on and claims priority to a Chinese patent application having Chinese patent application number "202110483763.6" and filing date of April 30, 2021, the entire contents of which are hereby incorporated by reference into this application. [Technical field]

[0002] The present disclosure relates to the field of communication technology, and in particular to a data transmission control method, device, electronic device, and storage medium. [Background technology]

[0003] With the rapid development of communication technology, various network applications need to transmit data, but the communication network of the Internet is not always reliable, and during data transmission, data packets may be lost due to network instability factors.

[0004] In the related technology, typically, when an electronic device receiving a data packet receives the data packet, it transmits a data packet Negative Acknowledgement (NACK) request to the electronic device that transmitted the data packet, and determines whether the data packet has been lost based on the NACK request, and triggers retransmission of the data packet in the event of packet loss. Summary of the Invention

[0005] The present disclosure aims to solve at least one of the technical problems in the related art to some extent.

[0006] The present disclosure relates to a data transmission control method, a device, an electronic device, a storage medium, experience and computer programs.

[0007] According to a first aspect of the present disclosure, there is provided a data transmission control method applicable to a first device, the first device receiving a data packet transmitted from a second device, the method including the steps of receiving a first data packet transmitted from the second device and determining first time information corresponding to the first data packet; determining a network jitter degree value based on the first time information and second time information, wherein the second time information is time information corresponding to a second data packet, and the second data packet is a data packet transmitted by the second device to the first device before transmitting the first data packet; and determining a retransmission timestamp based on the network jitter degree value and transmitting the retransmission timestamp to the second device.

[0008] According to a second aspect of the present disclosure, there is provided a data transmission control method applied to a second device, the second device transmitting a data packet to a first device, the method including: receiving a retransmission timestamp sent from the first device after the first data packet is transmitted to the first device, the retransmission timestamp being determined by the first device based on a network jitter degree value; and performing data transmission control based on the retransmission timestamp.

[0009] According to a third aspect of the present disclosure, there is provided a data transmission control device applicable to a first device, the first device receiving a data packet transmitted from a second device, the device comprising: a first receiving module for receiving a first data packet transmitted from the second device and determining first time information corresponding to the first data packet; a first determination module for determining a network jitter degree value based on the first time information and second time information, wherein the second time information is time information corresponding to a second data packet, and the second data packet is a data packet transmitted by the second device to the first device before transmitting the first data packet; and a second determination module for determining a retransmission timestamp based on the network jitter degree value and transmitting the retransmission timestamp to the second device.

[0010] According to a fourth aspect of the present disclosure, there is provided a data transmission control device applicable to a second device, the second device transmitting a data packet to a first device, the device comprising: a second receiving module for receiving a retransmission timestamp sent from the first device after the first data packet is transmitted to the first device, the retransmission timestamp being determined by the first device based on a network jitter degree value; and a control module for performing data transmission control based on the retransmission timestamp.

[0011] According to a fifth aspect of the present disclosure, there is provided an electronic device comprising at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor such that the at least one processor can execute a data transmission control method according to an embodiment of the first aspect of the present disclosure or a data transmission control method according to an embodiment of the second aspect of the present disclosure.

[0012] According to a sixth aspect of the present disclosure, there is proposed a non-transitory computer-readable storage medium having computer instructions stored thereon, the computer instructions causing the computer to execute a data transmission control method according to an embodiment of the first aspect of the present disclosure or a data transmission control method according to an embodiment of the second aspect of the present disclosure.

[0013] According to an eighth aspect of the present disclosure ,Ko A computer program is provided, M When executed on a computer, the method causes the computer to execute the data transmission control method according to the embodiment of the first aspect of the present disclosure or the data transmission control method according to the embodiment of the second aspect of the present disclosure.

[0014] It should be understood that the contents described in this section are not intended to identify key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description. [Brief description of the drawings]

[0015] The above and / or additional aspects and advantages of the present disclosure will become more apparent and understandable from the following detailed description of the embodiments taken in conjunction with the drawings. [Figure 1] 1 is a schematic flowchart of a data transmission control method proposed by an embodiment of the present disclosure. [Diagram 2] 4 is a schematic flowchart of a data transmission control method proposed according to another embodiment of the present disclosure. [Diagram 3] 1 is a schematic configuration diagram of a packet loss retransmission NACK request message according to an embodiment of the present disclosure. [Figure 4] 4 is a schematic flowchart of a data transmission control method proposed according to another embodiment of the present disclosure. [Diagram 5] 4 is a schematic flowchart of a data transmission control method proposed according to another embodiment of the present disclosure. [Figure 6]FIG. 11 is a schematic configuration diagram of a data transmission control device proposed according to another embodiment of the present disclosure. [Figure 7] FIG. 11 is a schematic configuration diagram of a data transmission control device proposed according to another embodiment of the present disclosure. [Figure 8] FIG. 11 is a schematic configuration diagram of a data transmission control device proposed according to another embodiment of the present disclosure. [Figure 9] FIG. 1 is a block diagram of an exemplary electronic device for implementing embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, the embodiments of the present disclosure will be described in detail, examples of which are shown in the accompanying drawings, in which the same or similar reference numerals throughout indicate the same or similar elements, or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are illustrative and are only intended to illustrate the present disclosure, and are not to be understood as limitations on the present disclosure. Rather, the embodiments of the present disclosure include all changes, modifications, and equivalents contained within the spirit and scope of the appended claims.

[0017] In the related art, data transmission is affected by network jitter, which affects the efficiency of retransmission control of data packets, and therefore affects the stability of communication between devices and communication quality.

[0018] Therefore, the embodiments of the present disclosure provide a data transmission control method, a device, an electronic device, a computer-readable storage medium, experience The present invention provides a method and a computer program for effectively improving the retransmission control efficiency of data packets, thereby avoiding the effects of network jitter, and effectively improving the retransmission control effect of data packets, and effectively improving the communication stability and communication quality between devices.

[0019] The data transmission control method will be described below in conjunction with a specific embodiment.

[0020] FIG. 1 is a schematic flowchart of a data transmission control method proposed by an embodiment of the present disclosure.

[0021] In addition, the entity that executes the data transmission control method of this embodiment is a data transmission control device, which can be realized by software and / or hardware and may be disposed in an electronic device, which may include, but is not limited to, a terminal, a server, etc.

[0022] The data transmission control method of this embodiment can be applied to a first device, and the first device receives a data packet transmitted from a second device, i.e., the first device may be an electronic device that receives a data packet transmitted from the second device, and accordingly, the second device may be an electronic device that transmits a data packet to the first device, but is not limited thereto.

[0023] As shown in FIG. 1, this data transmission control method includes the following steps S101 to S103.

[0024] S101, receiving a first data packet transmitted from a second device, and determining first time information corresponding to the first data packet.

[0025] Here, the data packet may refer to blocked network data, for example, a second device may transmit a data packet for communication to a first device via a communication network, which may be a wide area network, a local area network, and is not limited thereto.

[0026] Here, the data packet currently being transmitted from the second device received by the first device can be referred to as the first data packet, and this first data packet has some associated time information, which can be referred to as the first time information, and the first time information is, for example, the time when the first device received this first data packet, or the time when the second device transmitted this first data packet, but is not limited thereto.

[0027] When receiving a first data packet transmitted from the second device, first time information corresponding to the first data packet can be determined in real time, and the first time information can be used to determine a degree of network jitter in the communication network.

[0028] In some embodiments, determining the first time information corresponding to the first data packet may include determining a first receiving time when the first data packet was received and analyzing a first timestamp corresponding to the first data packet, where the first timestamp is a timestamp when a second device transmitted the first data packet; using the first receiving time and the first timestamp as the first time information enables the time information related to the first data packet to be quickly determined; using the first receiving time and the first timestamp as the related time information and using the related time information for calculating a network jitter degree value can help to easily determine the network jitter degree value, improve the referenceability of the calculated network jitter degree value, and help effectively improve the retransmission control effect of the data packet.

[0029] That is, in this embodiment, when determining the first time information corresponding to the first data packet, the time when the first device received the first data packet, i.e., the reception time of the first data packet, is determined, and the time when the second device transmitted the first data packet (first timestamp) is determined, so that two pieces of time information related to the first data packet can be obtained, and the two pieces of time information related to the first data packet are time information corresponding to the first data packet.

[0030] Of course, any other possible time information related to the first data packet may be used as the first time information, for example, a corresponding mathematical operation may be performed on the first receiving time and the first timestamp, and the time value obtained by the operation may be used as the first time information, without being limited thereto.

[0031] S102, determining a network jitter degree value based on first time information and second time information, where the second time information is time information corresponding to a second data packet, and the second data packet is a data packet transmitted by the second device to the first device before transmitting the first data packet.

[0032] Here, the second data packet is a data packet transmitted by the second device to the first device before transmitting the first data packet, i.e., a data packet currently being transmitted from the second device received by the first device can be referred to as the first data packet, and correspondingly, a data packet transmitted from the second device received by the first device prior to the current time can be referred to as the second data packet.

[0033] This second data packet has some associated time information, which can be referred to as second time information, such as, but not limited to, the time when the first device received this second data packet or the timestamp when the second device transmitted this second data packet.

[0034] That is, in an embodiment of the present disclosure, a degree of network jitter can be determined correspondingly based on a first data packet currently being transmitted from a second device received by a first device and a second data packet transmitted from the second device received by the first device prior to the current time.

[0035] Here, network jitter refers to the fact that when congestion occurs in a network, queuing delay affects the end-to-end delay, and the delay of data packets transmitted through the same connection is different. Jitter represents the degree of such delay change, and the network jitter degree value can quantitatively represent the degree of this jitter, and the smaller the network jitter degree value, the more stable the quality of the communication network is, and conversely, the more unstable the quality of the communication network is.

[0036] In the embodiments of the present disclosure, the network jitter degree value is determined based on the first time information corresponding to the first data packet and the second time information corresponding to the second data packet in combination with certain algorithm logic, so that the network jitter degree value can be easily and accurately determined.

[0037] For example, when determining a network jitter degree value based on the first time information corresponding to the first data packet and the second time information corresponding to the second data packet, the network jitter degree value can be determined based on a pre-trained jitter detection model. For example, the first time information corresponding to the first data packet and the second time information corresponding to the second data packet can be input into the pre-trained jitter detection model to obtain a network jitter degree value output from the pre-trained jitter detection model. Or, the step of determining a network jitter degree value based on the first time information and the second time information can be performed in any other manner, and is not limited thereto.

[0038] In the embodiment of the present disclosure, the first receiving time and the first timestamp are the first time information as described above, and second time information corresponding to the second data packet can be further determined, and the second time information can include a second receiving time and a second timestamp. The second receiving time is the time when the first device receives the second data packet, and the second timestamp is the timestamp when the second device transmits the second data packet, and determining a network jitter degree value based on the first time information and the second time information can be determining a network jitter degree value based on the first receiving time, the first timestamp, the second receiving time, and the second timestamp, so that the network jitter degree at the current time can be more accurately quantified and calculated, and the reference value of the network jitter degree in the retransmission control of the data packet can be effectively improved.

[0039] That is, the embodiment of the present disclosure can support determining a network jitter degree at a current time by referring to a first receiving time, a first timestamp, a second receiving time, and a second timestamp, and during data communication, the correlation between the receiving times and timestamps of different data packets may have a certain relative relationship with the network jitter degree of the communication network, for example, the larger the network jitter degree, the greater the impact on the correlation between the receiving times and timestamps of different data packets; and the smaller the network jitter degree, the smaller the impact on the correlation between the receiving times and timestamps of different data packets.

[0040] Thus, in an embodiment of the present disclosure, it can be assisted to determine a network jitter degree value by referring to the first reception time, the first timestamp, the second reception time, and the second timestamp, for example, the first reception time, the first timestamp, the second reception time, and the second timestamp can be combined with a certain calculation process to obtain a network jitter degree value, but is not limited thereto.

[0041] S103, determine a retransmission timestamp based on the network jitter degree value, and send the retransmission timestamp to the second device.

[0042] After the network jitter degree value is determined based on the first time information and the second time information as described above, a retransmission timestamp can be determined based on the network jitter degree value, and the retransmission timestamp can be transmitted to the second device so that the second device can refer to the retransmission timestamp to perform data transmission control.

[0043] In this embodiment, a first data packet transmitted from the second device is received, first time information corresponding to the first data packet is determined, and a network jitter degree value is determined based on the first time information and the second time information, where the second time information is time information corresponding to the second data packet, and the second data packet is a data packet transmitted by the second device to the first device before transmitting the first data packet, and a retransmission timestamp is determined based on the network jitter degree value, and the retransmission timestamp is sent to the second device, thereby supporting retransmission control of the data packet in combination with the network jitter degree, so as to avoid the influence of network jitter, effectively improve the efficiency of retransmission control of the data packet, effectively improve the effect of retransmission control of the data packet, and effectively improve the stability and quality of communication between devices.

[0044] FIG. 2 is a schematic flowchart of a data transmission control method proposed according to another embodiment of the present disclosure.

[0045] The data transmission control method of this embodiment can be applied to a first device, and the first device receives a data packet transmitted from a second device, i.e., the first device may be an electronic device that receives a data packet transmitted from the second device, and accordingly, the second device may be an electronic device that transmits a data packet to the first device, but is not limited thereto.

[0046] As shown in FIG. 2, this data transmission control method includes the following steps S201 to S211.

[0047] S201, receiving a first data packet transmitted from a second device.

[0048] S202, determining a first receiving time when a first data packet is received.

[0049] S203, analyzing a first timestamp corresponding to the first data packet, the first timestamp being a timestamp when the second device transmits the first data packet, and the first receiving time and the first timestamp are taken as first time information.

[0050] The explanation of S201 to S203 can be specifically referred to in the above embodiment, and the explanation will be omitted here.

[0051] S204, determining a second receiving time at which the second data packet is received and a second timestamp corresponding to the second data packet, where the second receiving time is the time at which the first device receives the second data packet and the second timestamp is the timestamp at which the second device transmits the second data packet.

[0052] Here, a data packet transmitted from a second device received by a first device before the current time can be referred to as a second data packet, and this second data packet has some associated time information, and the associated time information of this second data packet can be referred to as second time information, and the second time information is, for example, but not limited to, the time when the first device received this second data packet (second receiving time), or the timestamp when the second device transmitted this second data packet (second timestamp).

[0053] In some embodiments, when the first device receives a second data packet transmitted from the second device, it can determine second time information corresponding to the second data packet in real time and record the second time information locally in the first device, so that when receiving a first data packet and analyzing a network jitter degree based on the first time information corresponding to the first data packet, it can directly read the stored second time information locally, and determine a network jitter degree in combination with the second time information based on the first time information.

[0054] S205, a first difference value between the first timestamp and the first receiving time is determined.

[0055] Here, the first timestamp refers to the timestamp when the second device transmits the first data packet.

[0056] That is, when a first device receives a first data packet transmitted from a second device, it can determine first time information corresponding to the first data packet, analyze the first time information to obtain a first timestamp and a first receiving time, and determine a difference value between the first timestamp and the first receiving time (the difference value can be referred to as a first difference value), and the first difference value can be used to determine a network jitter degree value.

[0057] For example, if the first timestamp at which the second device transmits the first data packet, i.e., the first timestamp, is t11, and the first receiving time at which the first device receives the first data packet transmitted from the second device is t12, then the difference value between t11 and t12 is the first difference value.

[0058] S206, a second difference value between the second timestamp and the second receiving time is determined.

[0059] Here, the second timestamp refers to the time when the second device transmits the second data packet.

[0060] That is, after the first device determines a first difference value between the first timestamp and the first receiving time, it can read the corresponding second timestamp and second receiving time from the local storage. Because the second data packet is transmitted by the second device to the first device before the current time, the second timestamp and the second receiving time can be pre-stored in the local storage of the first device to support direct reading.

[0061] The determined difference value between the second timestamp and the second receipt time may be referred to as a second difference value, which may be used in combination with the first difference value to determine a network jitter degree value.

[0062] For example, if the timestamp at which the second device transmits this second data packet, i.e., the second timestamp, is t21, and the second receiving time at which the first device receives the second data packet transmitted from the second device is t22, then the difference value between t21 and t22 is the second difference value.

[0063] S207: The difference between the second difference value and the first difference value is set as a network jitter degree value.

[0064] A first difference value between the first timestamp and the first receiving time is determined, and a second difference value between a second timestamp and the second receiving time is determined. Then, a difference value between the second difference value and the first difference value is determined, and this difference value can be used as a network jitter degree value.

[0065] That is, based on the second difference value and the first difference value, combined with corresponding mathematical operation logic, a network jitter degree value can be obtained.

[0066] Since the network jitter degree value is determined based on a first difference value between a first timestamp and the first receiving time, and a second difference value between a second timestamp and the second receiving time, the network jitter degree within the current time can be quickly and accurately determined, and the current time network jitter situation can be more accurately quantified, which can help effectively improve the retransmission control effect of data packets, and effectively help improve the communication stability and communication quality between devices.

[0067] S208, determining a target timestamp, where the target timestamp is a timestamp with a largest value among the plurality of timestamps, the plurality of timestamps respectively corresponding to the plurality of data packets received in the history period.

[0068] After the network jitter degree value is determined, the first device can determine the largest timestamp from a plurality of timestamps respectively corresponding to a plurality of data packets received within a history period as a target timestamp, and then combine the network jitter degree value and the target timestamp to determine a retransmission timestamp, which can be used to assist the second device in controlling retransmission of the data packet.

[0069] S209: determining a target reception time corresponding to the target timestamp, determining a time sum between the target timestamp and the target reception time, and determining a difference between the time sum and the network jitter degree value as the retransmission timestamp.

[0070] After the target timestamp is determined, a target reception time corresponding to the target timestamp is determined, a time sum between the target timestamp and the target reception time is determined, and a difference between the time sum and the network jitter degree value is determined as a retransmission timestamp.

[0071] For example, if within a history period, the target timestamp, i.e., the largest timestamp received, is 10000 ms, the target receipt time corresponding to the target timestamp is 50 ms, and the calculated network jitter degree value is 30 ms, then the total time value between the target timestamp and the target receipt time=10000 ms+50 ms=10050 ms, and the retransmission timestamp=10050 ms-30 ms=10020 ms.

[0072] Since the retransmission timestamp is calculated in combination with the target timestamp, the reception time corresponding to the target timestamp, and the network jitter degree value, the retransmission timestamp can be accurately obtained, thereby ensuring the accuracy of data packet retransmission control, and allowing the second device to control data packet transmission by referring to the retransmission timestamp.

[0073] S210, generating a packet loss retransmission NACK request message based on a retransmission timestamp.

[0074] After determining a retransmission timestamp based on the difference value between the target timestamp and the network jitter degree value, the first device can generate a packet loss retransmission NACK request message based on the retransmission timestamp, and trigger the second device to perform corresponding retransmission control on the data packet based on the packet loss retransmission NACK request message.

[0075] Here, the packet loss retransmission NACK request message refers to a case where a data sender sends a data packet to a receiver, and the receiver does not receive the corresponding data packet, and a data packet is lost during data transmission, the receiver generates a non-response message to request the sender to retransmit the corresponding lost data packet, and this non-response message can be called a packet loss retransmission NACK request message.

[0076] In this embodiment, the first device transmits a retransmission timestamp to a NACK Generator, which generates a packet loss retransmission NACK request message based on the retransmission timestamp, thereby triggering processing logic to subsequently send a packet loss retransmission NACK request message to the second device.

[0077] As shown in FIG. 3, FIG. 3 is a schematic configuration diagram of a packet loss retransmission NACK request message in an embodiment of the present disclosure.

[0078] S211, when a current time reaches a set time, sending a packet loss retransmission NACK request message to the second device.

[0079] After generating a packet loss retransmission NACK request message based on the retransmission timestamp, a timer is preset, timing control is performed based on the timer, and whether the current time has reached the time set on the timer is detected in real time. If the current time has reached the set time, a packet loss retransmission NACK request message can be sent to the second device.

[0080] In this embodiment, the NACK generator can control the transmission of the packet loss retransmission NACK request message by a timer. For example, when the first device receives a data packet, the timer can be triggered to start. The set time can be, for example, 100 ms, and can also be set to a subsequent Rtt (network time delay) time (minimum 30 ms), thereby supporting the periodic transmission of the packet loss retransmission NACK request message to the second device.

[0081] In this embodiment, a first data packet transmitted from a second device is received, a time when the first data packet is received is determined, a first timestamp corresponding to the first data packet is analyzed, the first timestamp is a timestamp when the second device transmits the first data packet, the first reception time and the first timestamp are first time information, a second reception time when the second data packet is received and a second timestamp corresponding to the second data packet are determined, the second reception time is a time when the first device receives the second data packet, and the second timestamp is a timestamp when the second device transmits the second data packet, and then a first difference value between the first timestamp and the first reception time is calculated. determine a first timestamp and a second difference value between the first timestamp and the second timestamp; obtain a network jitter degree value based on the second difference value and the first difference value; determine a target timestamp, the target timestamp being the largest timestamp among a plurality of timestamps, the plurality of timestamps corresponding to a plurality of data packets received in a history period respectively; determine a difference value between the target timestamp and the network jitter degree value as a retransmission timestamp; generate a packet loss retransmission NACK request message based on the retransmission timestamp; and send the packet loss retransmission NACK request message to the second device when the current time reaches a set time. By determining the network jitter degree value based on the first difference value between the first timestamp and the first receiving time and the second difference value between the second timestamp and the second receiving time, the network jitter degree within the current time can be quickly and accurately determined, and the current time network jitter situation can be more accurately quantified, which can support effective improvement of the retransmission control effect of data packets, and effectively support improvement of communication stability and communication quality between devices.In addition, the network jitter degree value and the target timestamp are combined to obtain a retransmission timestamp, and the first device generates a NACK request message based on the retransmission timestamp, thereby helping to accurately perform retransmission control for data packets and improving the effect of data transmission control.

[0082] FIG. 4 is a schematic flowchart of a data transmission control method proposed by another embodiment of the present disclosure.

[0083] The data transmission control method of this embodiment can be applied to a second device, and the second device transmits a data packet to the first device. That is, the first device may be an electronic device that receives the data packet transmitted from the second device. Accordingly, the second device may be an electronic device that transmits the data packet to the first device, but is not limited thereto.

[0084] As shown in FIG. 4, this data transmission control method includes the following steps S401 to S402.

[0085] S401, after a first data packet is transmitted to a first device, receiving a retransmission timestamp sent from the first device, where the retransmission timestamp is determined by the first device based on a network jitter degree value.

[0086] In this embodiment, after the first data packet is transmitted to the first device, the second device can monitor in real time whether a retransmission timestamp fed back from the first device is received, and if it detects that the retransmission timestamp has been received, it can trigger subsequent steps.

[0087] S402, data transmission control is performed based on the retransmission timestamp.

[0088] That is, after receiving the retransmission timestamp transmitted from the first device, the second device can refer to this retransmission timestamp and control the retransmission of the data packet.

[0089] In this embodiment, after a first data packet is transmitted to a first device, a retransmission timestamp sent from the first device is received, and data transmission control is performed based on the retransmission timestamp. Since the retransmission timestamp is determined by the first device based on a network jitter degree value, the influence of network jitter can be avoided and the accuracy of data packet retransmission control can be ensured.

[0090] FIG. 5 is a schematic flowchart of a data transmission control method proposed by another embodiment of the present disclosure.

[0091] The data transmission control method of this embodiment can be applied to a second device, and the second device transmits a data packet to the first device. That is, the first device may be an electronic device that receives the data packet transmitted from the second device. Accordingly, the second device may be an electronic device that transmits the data packet to the first device, but is not limited thereto.

[0092] As shown in FIG. 5, this data transmission control method includes the following steps S501 to S505.

[0093] S501, after a first data packet is transmitted to a first device, receive a packet loss retransmission NACK request message sent from the first device.

[0094] In this embodiment, the second device receives a packet loss retransmission NACK request message sent from the first device after the first data packet is transmitted to the first device.

[0095] S502, parsing the packet loss retransmission NACK request message to obtain a retransmission timestamp, where the retransmission timestamp is determined by the first device based on a network jitter degree value.

[0096] After transmitting a first data packet to the first device and receiving a packet loss retransmission NACK request message sent from the first device, the packet loss retransmission NACK request message can be analyzed to obtain a retransmission timestamp, and the retransmission timestamp is determined by the first device based on a network jitter degree value.

[0097] In this embodiment, when the second device receives a packet loss retransmission NACK request message sent from the first device, it can determine that a packet loss occurs during data transmission, and in this case, it can analyze the packet loss retransmission NACK request message generated by the first device to obtain the retransmission timestamp included in the NACK request message.

[0098] S503, analyzing the packet loss retransmission NACK request message to obtain at least one lost data packet identifier.

[0099] After parsing the packet loss retransmission NACK request message to obtain a retransmission timestamp, the packet loss retransmission NACK request message can be parsed to obtain at least one lost data packet identifier, and the data packet identifier can uniquely identify the corresponding data packet.

[0100] In this embodiment, when the second device receives a NACK request message sent from the first device, it can determine that a packet loss occurs during data transmission, in which case it can analyze the packet loss retransmission NACK request message generated by the first device to obtain one or more data packet identifiers lost during data transmission, and the one or more data packet identifiers can assist in determining corresponding data packets, without being limited thereto.

[0101] S504, determining at least one corresponding target data packet based on the at least one data packet identifier, where a timestamp corresponding to the target data packet is before the retransmission timestamp.

[0102] After analyzing the packet loss retransmission NACK request message to obtain at least one lost data packet identifier, determine at least one corresponding target data packet based on the at least one data packet identifier, where the target data packet can indicate a data packet lost during data transmission, thereby triggering a retransmission control for the subsequently lost data packet.

[0103] S505, transmitting at least one target data packet to the first device.

[0104] In this embodiment, after determining the data packets lost during data transmission, the second device retransmits the target data packets, i.e., the lost data packets, to the first device, and updates the timestamp of the corresponding target data packets when transmitting each target data packet to the first device.

[0105] In this embodiment, after a first data packet is transmitted to a first device, a packet loss retransmission NACK request message sent from the first device is received, and then the packet loss retransmission NACK request message is analyzed to obtain a retransmission timestamp, and the packet loss retransmission NACK request message is analyzed to obtain an identifier of at least one lost data packet, and then at least one target data packet is transmitted to the first device, thereby accurately determining the packet loss situation during data transmission and realizing the retransmission of the lost data packet more comprehensively. By updating the timestamp corresponding to the retransmitted target data packet, it is possible to support re-determining whether a packet loss occurs during retransmission after retransmission, and effectively improve the comprehensiveness and accuracy of data transmission control.

[0106] FIG. 6 is a schematic configuration diagram of a data transmission control device proposed according to another embodiment of the present disclosure.

[0107] The data transmission control device 60 shown in FIG. 6 is applied to a first device that receives a data packet transmitted from a second device, and the data transmission control device 60 includes: a first receiving module 601 for receiving a first data packet transmitted from a second device and determining first time information corresponding to the first data packet; a first determination module 602 for determining a network jitter degree value based on the first time information and second time information, where the second time information is time information corresponding to a second data packet, and the second data packet is a data packet that is transmitted by the second device to the first device before transmitting the first data packet; and a second determination module 603 for determining a retransmission timestamp based on the network jitter degree value and sending the retransmission timestamp to the second device.

[0108] In some embodiments of the present disclosure, the first receiving module 601 specifically determines a first receiving time when a first data packet is received, and analyzes a first timestamp corresponding to the first data packet, where the first timestamp is a timestamp when a second device transmits the first data packet, and the first receiving time and the first timestamp are regarded as first time information.

[0109] In some embodiments of the present disclosure, the second time information includes a second receiving time and a second timestamp, the second receiving time is the time when the first device receives the second data packet, and the second timestamp is the timestamp when the second device transmits the second data packet, and the first determination module 602 specifically determines the network jitter degree value based on the first receiving time, the first timestamp, the second receiving time, and the second timestamp.

[0110] In some embodiments of the present disclosure, the first determination module 602 specifically determines a first difference value between a first timestamp and a first receiving time, determines a second difference value between a second timestamp and a second receiving time, and sets the difference value between the second difference value and the first difference value as the network jitter degree value.

[0111] In some embodiments of the present disclosure, as shown in Figure 7, Figure 7 is a schematic configuration diagram of a data transmission control device proposed by another embodiment of the present disclosure. The second determination module 603 includes: a first determination submodule 6031 for determining a target timestamp, where the target timestamp is a timestamp with a largest value among a plurality of timestamps, and the plurality of timestamps are timestamps respectively corresponding to a plurality of data packets received in a history period; and a second determination submodule 6032 for determining a target reception time corresponding to the target timestamp, determining a time sum value between the target timestamp and the target reception time, and determining a difference value between the time sum value and a network jitter degree value as the retransmission timestamp.

[0112] In some embodiments of the present disclosure, the second determination module 603 specifically generates a packet loss retransmission NACK request message based on a retransmission timestamp, and sends the packet loss retransmission NACK request message to the second device when the current time reaches a set time.

[0113] The above description of the data transmission control method is also applicable to the data transmission control device of this embodiment, and therefore the description will be omitted here.

[0114] In this embodiment, a first data packet transmitted from the second device is received, first time information corresponding to the first data packet is determined, and a network jitter degree value is determined based on the first time information and the second time information, where the second time information is time information corresponding to the second data packet, and the second data packet is a data packet transmitted by the second device to the first device before transmitting the first data packet, and a retransmission timestamp is determined based on the network jitter degree value, and the retransmission timestamp is sent to the second device to support retransmission control of the data packet in combination with the network jitter degree, thereby avoiding the influence of network jitter, effectively improving the efficiency of retransmission control of the data packet, effectively improving the effect of retransmission control of the data packet, and effectively improving the stability and quality of communication between devices.

[0115] FIG. 8 is a schematic configuration diagram of a data transmission control device proposed according to another embodiment of the present disclosure.

[0116] As shown in FIG. 8, the data transmission control device 80 is applied to a second device that transmits a data packet to a first device, and the device includes: a second receiving module 801 for receiving a retransmission timestamp sent from the first device after the first data packet is transmitted to the first device, where the retransmission timestamp is determined by the first device based on a network jitter degree value; and a control module 802 for performing data transmission control based on the retransmission timestamp.

[0117] In some embodiments of the present disclosure, the second receiving module 801 specifically receives a packet loss retransmission NACK request message sent from the first device, analyzes the packet loss retransmission NACK request message, and obtains a retransmission timestamp.

[0118] In some embodiments of the present disclosure, the control module 802 specifically analyzes the packet loss retransmission NACK request message to obtain at least one lost data packet identifier, determines at least one corresponding target data packet based on the at least one data packet identifier, and transmits the at least one target data packet to the first device when a timestamp corresponding to the target data packet is before the retransmission timestamp.

[0119] The above description of the data transmission control method is also applicable to the data transmission control device of this embodiment, and therefore the description will be omitted here.

[0120] In this embodiment, after a first data packet is transmitted to a first device, a retransmission timestamp sent from the first device is received, and data transmission control is performed based on the retransmission timestamp. Since the retransmission timestamp is determined by the first device based on a network jitter degree value, the influence of network jitter can be avoided and the accuracy of data packet retransmission control can be ensured.

[0121] In order to realise the above embodiments, the present disclosure further proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein when the processor executes the program, the data transmission control method proposed by the embodiments described in the present disclosure is realised.

[0122] To realize the above embodiments, the present disclosure further proposes a non-transitory computer-readable storage medium including computer instructions, which, when executed by a processor, realizes the data transmission control method proposed by the embodiments described in the present disclosure.

[0123] In order to realize the above embodiment, the present disclosure ,Ko A computer program is further proposed, said computer program MWhen executed on a computer, it causes the computer to perform the data transmission control method proposed by the above embodiments of the present disclosure.

[0124] 9 is a block diagram of an exemplary electronic device for implementing the embodiments of the present disclosure. The electronic device 12 shown in FIG. 9 is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure in any way.

[0125] As shown in FIG. 9, the electronic device 12 is depicted as a general-purpose computing device. The components of the electronic device 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that connects different system components (including the system memory 228 and the processing units 16). The bus 18 represents one or more of several classes of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics accelerator port, a processor, or a local bus using any of a number of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0126] The electronic device 12 includes a variety of computer system readable media, which may be any available media that can be accessed by the electronic device 12 and includes volatile media, nonvolatile media, removable media, and non-removable media.

[0127] Memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and / or cache memory 32. Electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may read from and write to non-removable, non-volatile magnetic media (not shown in FIG. 9, but commonly referred to as a "hard disk drive").

[0128] Although not shown in FIG. 9, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile disk (e.g., a Compact Disc Read Only Memory (hereinafter abbreviated as CD-ROM), a Digital Video Disc Read Only Memory (hereinafter abbreviated as DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product comprising a set (e.g., at least one) of program modules configured to perform the functions of each embodiment of the present disclosure.

[0129] A program / utility 40 comprising a set (at least one) of program modules 42 may be stored, for example, in memory 28, where such program modules 42 include, but are not limited to, an operating system, one or more applications, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment. The program modules 42 typically perform the functions and / or methods of the embodiments described in this disclosure.

[0130] The electronic device 12 may communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.) and with one or more devices that allow a user to interact with the electronic device 12 and / or any device that allows the electronic device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may occur via an input / output (I / O) interface 22. The electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via a bus 18. Although not shown, it should be understood that other hardware and / or software modules may be used in combination with the electronic device 12, including, but not limited to, microcode, device drives, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0131] The processing unit 16 executes programs stored in the system memory 28 to perform various functional applications and data processing, such as the data transmission control method described in the above embodiments.

[0132] According to the embodiments of the present disclosure, a data transmission control method, a device, an electronic device, and a computer-readable storage medium of the present disclosure experience and the computer program achieves at least the following beneficial effects:

[0133] receiving a first data packet transmitted from the second device, determining first time information corresponding to the first data packet, determining a network jitter degree value according to the first time information and the second time information, where the second time information is time information corresponding to a second data packet, and the second data packet is a data packet transmitted by the second device to the first device before transmitting the first data packet, determining a retransmission timestamp based on the network jitter degree value, and sending the retransmission timestamp to the second device, thereby supporting retransmission control of the data packet in combination with the network jitter degree, so as to avoid the influence of network jitter, effectively improve the efficiency of retransmission control of the data packet, effectively improve the effect of retransmission control of the data packet, and effectively improve the stability and quality of communication between devices.

[0134] Those skilled in the art may easily conceive other implementations of the present disclosure after studying the specification and practicing the invention disclosed in the specification. The present disclosure is intended to cover any modifications, applications or suitable variations of the present disclosure, which modifications, applications or suitable variations follow the general principles of the present disclosure and include common knowledge or commonly used technical means in the art that are not disclosed in the present disclosure. The specification and examples are considered as merely exemplary, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0135] It should be noted that the present disclosure is not limited to the exact structure described above and illustrated in the drawings, and various modifications and variations can be made without departing from the scope of the present disclosure, which is limited only by the scope of the appended claims.

[0136] It should be noted that in the present disclosure, the terms "first," "second," etc. are used for descriptive purposes only and should not be understood to denote or imply any relative importance. In the present disclosure, the meaning of "plurality" is two or more than two, unless otherwise specified.

[0137] Any process or method description depicted in a flowchart or otherwise herein may be understood to represent a module, fragment, or portion that includes one or more executable instruction codes for implementing specific logical functions or process steps, and the scope of the preferred embodiments of the present disclosure may include alternative implementations that differ from the order shown or discussed, including performing relevant functions essentially simultaneously or in reverse order, as should be understood by those skilled in the art to which the embodiments of the present disclosure pertain.

[0138] Each part of the present disclosure can be realized by hardware, software, firmware, or a combination thereof. In the above embodiment, a plurality of steps or methods can be realized by software or firmware stored in a memory and executed by an appropriate instruction execution system. For example, when realized by hardware, as in the case of another embodiment, it can be realized by any one or combination of technologies known to those skilled in the art, such as a discrete logic circuit having a logic gate circuit for implementing a logical function for a data signal, an application specific integrated circuit having an appropriate combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0139] It can be understood by those skilled in the art that all or part of the steps involved in realizing the methods of the above embodiments can be completed by instructing relevant hardware by a program, which may be stored in a computer-readable storage medium, and which, when executed, includes one or a combination of the steps of the method embodiments.

[0140] In addition, each functional unit of each embodiment of the present disclosure may be integrated into one processing module, each unit may exist physically separately, or two or more units may be integrated into one module. The integrated module may be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it may be stored in a computer-readable storage medium.

[0141] The above mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.

[0142] In the description herein, a description that refers to terms such as "one embodiment," "some embodiments," "examples," "particular examples," or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the disclosure. In the description herein, generalized versions of the terms do not necessarily refer to the same embodiment or example. Also, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0143] Although the embodiments of the present disclosure have been shown and described above, it should be noted that the above embodiments are illustrative and should not be construed as limitations on the present disclosure. Those skilled in the art may change, modify, substitute, and alter the above embodiments within the scope of the present disclosure.

Claims

1. A data transmission control method applied to a first device, the first device receiving a data packet transmitted from a second device, receiving a first data packet transmitted from the second device and determining first time information corresponding to the first data packet; determining a network jitter degree value based on the first time information and the second time information, the second time information being time information corresponding to a second data packet, the second data packet being a data packet transmitted by the second device to the first device prior to transmitting the first data packet; determining a retransmission timestamp based on the network jitter degree value and sending the retransmission timestamp to the second device so that the second device retransmits lost data packets whose timestamps are earlier than the retransmission timestamp; Including, determining a retransmission timestamp based on the network jitter magnitude value; determining a target timestamp, the target timestamp being a largest timestamp among a plurality of timestamps, the plurality of timestamps corresponding respectively to a plurality of received data packets in a historical period; determining a target reception time corresponding to the target timestamp, determining a time sum between the target timestamp and the target reception time, and determining a difference between the time sum and the network jitter degree value as the retransmission timestamp; A data transmission control method comprising:

2. determining first time information corresponding to the first data packet, determining a first receive time at which the first data packet was received; analyzing a first timestamp corresponding to the first data packet; Including, 2. The data transmission control method according to claim 1, wherein the first timestamp is a timestamp when the second device transmits the first data packet, and the first reception time and the first timestamp are the first time information.

3. the second time information includes a second reception time and a second timestamp, the second reception time being a time when the first device received the second data packet, and the second timestamp being a timestamp when the second device transmitted the second data packet; determining a network jitter magnitude value based on the first time information and the second time information, 3. The data transmission control method of claim 2, further comprising the step of determining the network jitter degree value based on the first reception time, the first time stamp, the second reception time, and the second time stamp.

4. determining the network jitter degree value based on the first receipt time, the first timestamp, the second receipt time, and the second timestamp, determining a first difference value between the first timestamp and the first receipt time; determining a second difference value between the second timestamp and the second receipt time; determining a difference between the second difference value and the first difference value as the network jitter degree value; 4. The data transmission control method according to claim 3, further comprising:

5. transmitting the retransmission timestamp to the second device, generating a packet loss retransmission NACK request message based on the retransmission timestamp; sending the packet loss retransmission NACK request message to the second device when the current time reaches a set time; 2. The data transmission control method according to claim 1, comprising:

6. A data transmission control method applied to a second device, the second device transmitting a data packet to a first device, receiving a retransmission timestamp sent from the first device after a first data packet is transmitted to the first device, the retransmission timestamp being determined by the first device based on a network jitter degree value; performing data transmission control based on the retransmission timestamp, the second device retransmitting lost data packets whose timestamps are earlier than the retransmission timestamp; Including, The retransmission timestamp is determined by the first device as determining a target timestamp, the target timestamp being a largest timestamp among a plurality of timestamps, the plurality of timestamps corresponding respectively to a plurality of received data packets in a historical period; determining a target reception time corresponding to the target timestamp, determining a time sum between the target timestamp and the target reception time, and determining a difference between the time sum and the network jitter degree value as the retransmission timestamp; A data transmission control method determined by:

7. receiving a retransmission timestamp transmitted from the first device, receiving a packet loss retransmission NACK request message sent from the first device; parsing the packet loss retransmission NACK request message to obtain the retransmission timestamp; 7. The data transmission control method according to claim 6, further comprising:

8. The step of controlling data transmission based on the retransmission timestamp includes: parsing the packet loss retransmission NACK request message to obtain at least one lost data packet identifier; determining at least one corresponding target data packet based on the at least one data packet identifier, a timestamp corresponding to the target data packet being before the retransmission timestamp; transmitting the at least one target data packet to the first device; 8. The data transmission control method according to claim 7, further comprising:

9. A data transmission control device applied to a first device, the first device receiving a data packet transmitted from a second device, a first receiving module for receiving a first data packet transmitted from the second device and determining first time information corresponding to the first data packet; a first determination module for determining a network jitter degree value based on the first time information and the second time information, the second time information being time information corresponding to a second data packet, the second data packet being a data packet transmitted by the second device to the first device before transmitting the first data packet; a second determination module for determining a retransmission timestamp based on the network jitter degree value and sending the retransmission timestamp to the second device so that the second device retransmits lost data packets whose timestamps are earlier than the retransmission timestamp; Equipped with The second determination module: a first determination sub-module for determining a target timestamp, the target timestamp being a largest timestamp among a plurality of timestamps, the plurality of timestamps being timestamps respectively corresponding to a plurality of data packets received in a history period; a second determination submodule for determining a target reception time corresponding to the target timestamp, determining a time sum between the target timestamp and the target reception time, and determining a difference between the time sum and the network jitter degree value as the retransmission timestamp; A data transmission control device comprising:

10. The first receiving module comprises: determining a first receive time at which the first data packet was received; 10. The data transmission control device according to claim 9, further comprising: analyzing a first timestamp corresponding to the first data packet; the first timestamp being a timestamp when the second device transmits the first data packet; and the first reception time and the first timestamp being the first time information.

11. The second time information includes a second reception time and a second timestamp, the second reception time being a time when the first device received the second data packet, and the second timestamp being a timestamp when the second device transmitted the second data packet; 11. The data transmission control device according to claim 10, wherein the first determination module determines the network jitter degree value based on the first reception time, the first timestamp, the second reception time, and the second timestamp.

12. The first determination module: determining a first difference between the first timestamp and the first receipt time; determining a second difference between the second timestamp and the second receipt time; 12. The data transmission control device according to claim 11, wherein a difference between the second difference value and the first difference value is set as the network jitter degree value.

13. The second determination module: generating a packet loss retransmission NACK request message based on the retransmission timestamp; 13. The data transmission control device according to claim 9, further comprising: transmitting the packet loss retransmission NACK request message to the second device when a current time reaches a set time.

14. A data transmission control device applied to a second device, the second device transmitting a data packet to a first device, a second receiving module for receiving a retransmission timestamp sent from the first device after a first data packet is transmitted to the first device, the retransmission timestamp being determined by the first device based on a network jitter degree value; a control module for controlling data transmission based on the retransmission timestamp; Equipped with retransmitting lost data packets whose timestamps are earlier than said retransmission timestamps; The retransmission timestamp is determined by the first device as determining a target timestamp, the target timestamp being a largest timestamp among a plurality of timestamps, the plurality of timestamps corresponding respectively to a plurality of received data packets in a historical period; determining a target reception time corresponding to the target timestamp, determining a time sum between the target timestamp and the target reception time, and determining a difference between the time sum and the network jitter degree value as the retransmission timestamp; Determined by the data transmission control device.

15. The second receiving module: receiving a packet loss retransmission NACK request message sent from the first device; The data transmission control device according to claim 14, wherein the packet loss retransmission NACK request message is analyzed to obtain the retransmission time stamp.

16. The control module: Parsing the packet loss retransmission NACK request message to obtain at least one lost data packet identifier; determining at least one corresponding target data packet based on the at least one data packet identifier, a timestamp corresponding to the target data packet being before the retransmission timestamp; 16. The data transmission control apparatus of claim 15, further comprising: a controller for transmitting the at least one target data packet to the first device.

17. At least one processor; a memory communicatively coupled to the at least one processor; Equipped with An electronic device, wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor such that the at least one processor can perform the method of any one of claims 1 to 5 or any one of claims 6 to 8.

18. A non-transitory computer-readable storage medium having computer instructions stored thereon, comprising: A non-transitory computer readable storage medium having computer instructions that cause a computer to perform the method of any one of claims 1 to 5 or any one of claims 6 to 8.

19. A computer program which, when executed on a computer, causes the computer to carry out the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 8.

Citation Information

Patent Citations

  • Data communication system, data-receiving apparatus and method, and data transmitting apparatus and method

    JP2008141633A

  • Instrumentation control system

    JP2009278391A

  • Network quality measurement system, method and program

    JP2014230160A