Search

CN-122001961-A - Data transmission method, device, system, storage medium and program product

CN122001961ACN 122001961 ACN122001961 ACN 122001961ACN-122001961-A

Abstract

The application discloses a data transmission method, a device, a system, a storage medium and a program product, which relate to the technical field of terminals, can effectively improve the problem of data loss under a weak network, reduce the phenomenon of blocking and further enhance the user experience. The method comprises the steps of sending first media data of a VOIP service to an application server of a VOIP application, receiving first quality of a first communication link sent by the application server, receiving a first retransmission instruction sent by the application server, and retransmitting second media data to the application server by adopting a first transmission strategy corresponding to the first quality.

Inventors

  • WU JIAN
  • LI TAO
  • WANG SHAOYANG

Assignees

  • 华为终端有限公司

Dates

Publication Date
20260508
Application Date
20241108

Claims (19)

  1. 1. A data transmission method, which is applied to a transmitting end, wherein the transmitting end comprises a voice transmission VOIP application based on internet protocol, and the transmitting end initiates a VOIP service to a receiving end based on the VOIP application, the method comprising: Sending first media data of the VOIP service to an application server of the VOIP application; receiving a first quality of a first communication link sent by the application server, wherein the first communication link refers to a communication link between the sending end and the application server; The method comprises the steps of receiving a first retransmission instruction sent by an application server, wherein the first retransmission instruction is used for indicating retransmission of second media data lost in the first media data; and retransmitting the second media data to the application server by adopting a first transmission strategy corresponding to the first quality.
  2. 2. The method of claim 1, wherein the first quality comprises a first transmission delay; The first transmission policy includes: And retransmitting the second media data based on a first quantity, wherein the first quantity is related to the first quality, if the first transmission delay is less than a first delay threshold.
  3. 3. The method of claim 2, wherein the first quality further comprises a first jitter and a first packet loss rate; The first number is determined based on the first packet loss rate if the first transmission delay is less than the first delay threshold and greater than a second delay threshold; the first number is determined based on a first bandwidth of the first communication link, the first bandwidth being determined based on the first jitter, the first packet loss rate, and the first transmission delay, if the first transmission delay is less than the second delay threshold; wherein the first latency threshold is greater than the second latency threshold.
  4. 4. A method according to any one of claims 1-3, characterized in that the method further comprises: receiving a second quality of the first communication link sent by the application server; Receiving third media data input by a user; And transmitting the third media data to the application server by adopting a second transmission strategy corresponding to the second quality.
  5. 5. The method of claim 4, wherein the second quality comprises a second jitter, a second packet loss rate, and a second transmission delay; the second transmission policy includes: Transmitting the third media data to the application server based on a second number if the second transmission delay is greater than a second delay threshold, the second number being determined based on the second packet loss rate and a second bandwidth of the first communication link, the second bandwidth being determined based on the second jitter, the second packet loss rate, and the second transmission delay; And transmitting the third media data to the application server based on a first code rate when the second transmission delay is smaller than the second delay threshold, wherein the first code rate is determined based on the second jitter, the second packet loss rate and the second transmission delay.
  6. 6. The method of claim 5, further comprising, prior to transmitting the third media data: And adjusting the first code rate by adopting a code rate adjusting parameter.
  7. 7. The method of any of claims 1-6, wherein the sending the first media data of the VOIP service to an application server of the VOIP application comprises: determining a second code rate based on the code rate adjustment parameter; and transmitting the first media data to the application server by adopting the second code rate.
  8. 8. The method according to claim 6 or 7, wherein the code rate adjustment parameter comprises at least one of: cache depth of modem; Reference signal received power RSRP; Reference signal received quality RSRQ; round trip time RTT; Signal to noise ratio SNR.
  9. 9. A data transmission method, applied to an application server of a VOIP application for voice over internet protocol, the application server being configured to send media data of a VOIP service from a sender to a receiver, the method comprising: receiving first media data of the VOIP service sent by the sending end; The method comprises the steps of sending a first quality of a first communication link to the sending end, wherein the first communication link refers to a communication link between the sending end and the application server; the first retransmission instruction is used for indicating retransmission of the lost second media data in the first media data; and receiving the second media data sent by the sending end by adopting a first transmission strategy corresponding to the first quality.
  10. 10. The method according to claim 9, wherein after the receiving the first media data of the VOIP service sent by the sender, the method further comprises: transmitting the first media data to the receiving end; receiving a third quality of a second communication link sent by the receiving end, wherein the second communication link refers to a communication link between the receiving end and the application server; The method comprises the steps of receiving a second retransmission instruction sent by a receiving end, wherein the second retransmission instruction is used for indicating retransmission of fourth media data lost in the first media data; And retransmitting the fourth media data to the receiving end by adopting a third transmission strategy corresponding to the third quality.
  11. 11. The method of claim 10, wherein the third quality comprises a third transmission delay; the third transmission policy includes: And retransmitting the fourth media data based on a third quantity, the third quantity being related to the third quality, if the third transmission delay is less than the first delay threshold.
  12. 12. The method of claim 11, wherein the third quality further comprises a third jitter and a third packet loss rate; The third number is determined based on the third packet loss rate if the third transmission delay is less than the first delay threshold and greater than a second delay threshold; the third number is determined based on a third bandwidth of the second communication link, the third bandwidth being determined based on the third jitter, the third packet loss rate, and the third transmission delay, if the third transmission delay is less than the second delay threshold; wherein the first latency threshold is greater than the second latency threshold.
  13. 13. The method according to any one of claims 9-12, wherein the method further comprises: receiving a fourth quality of the second communication link sent by the receiving end; Receiving third media data sent by a sending end; and transmitting the third media data to the receiving end by adopting a fourth transmission strategy corresponding to the fourth quality.
  14. 14. The method of claim 13, wherein the fourth quality comprises a fourth jitter, a fourth packet loss rate, and a fourth transmission delay; the fourth transmission policy includes: Transmitting the third media data to the receiving end based on a fourth quantity under the condition that the fourth transmission delay is larger than a second delay threshold value, wherein the fourth quantity is determined based on the fourth packet loss rate and a fourth bandwidth of the second communication link; And transmitting the third media data to the receiving end based on a third code rate under the condition that the fourth transmission time delay is smaller than the second time delay threshold value, wherein the third code rate is determined based on the fourth jitter, the fourth packet loss rate and the fourth transmission time delay.
  15. 15. A communication device, characterized in that the device is located at a transmitting end and comprises functional units for performing the method according to any of claims 1-8, wherein the actions performed by the functional units are implemented by hardware or by hardware executing corresponding software.
  16. 16. Communication device, characterized in that it is located at an application server, comprising functional units for performing the method according to any of claims 9-14, wherein the actions performed by the functional units are implemented in hardware or in hardware executing corresponding software.
  17. 17. The communication system is characterized by comprising a transmitting end, an application server and a receiving end; the transmitting end, configured to perform the method according to any one of claims 1-8; the application server for performing the method of any of claims 9-14; The receiving end is used for receiving the media data of the VOIP service from the sending end, which is sent by the application server.
  18. 18. A computer readable storage medium comprising program code which, when run on a computer or processor, causes the computer or processor to perform the method of any of claims 1-8 or the method of any of claims 9-14.
  19. 19. A computer program product, characterized in that it comprises instructions which, when executed on a computer, perform the method according to any of the preceding claims 1-8 or the method according to any of the preceding claims 9-14.

Description

Data transmission method, device, system, storage medium and program product Technical Field The present application relates to the field of terminal technologies, and in particular, to a data transmission method, apparatus, system, storage medium, and program product. Background With the continuous development of internet technology, a terminal and a terminal can communicate with each other through the internet by adopting a voice transmission (voice over internet protocol, VOIP) technology based on internet protocol. However, the internet is an unreliable network, so that when data (such as audio data, image data, etc.) are transmitted between terminals through the internet, a jam is likely to occur, which affects the user experience. The stuck is typically caused by a phenomenon of data loss under a weak network. The weak network refers to a network with high packet loss and high delay. Therefore, solving the problem of data loss in the weak network is a key to avoid the occurrence of the stuck state. Disclosure of Invention The embodiment of the application provides a data transmission method, a device, a system, a storage medium and a program product, which effectively improve the problem of data loss under a weak network, reduce the phenomenon of blocking and further enhance the user experience. In order to achieve the above purpose, the embodiment of the present application provides the following technical solutions: In a first aspect, a data transmission method is provided, where the method may be performed by a sender installed with a VOIP application, and the sender may initiate a VOIP service to a receiver based on the VOIP application, or may be performed by a module applied in the sender, such as a chip, a system on a chip, or a circuit, or may be implemented by a logic module or software that can implement all or part of the functions of the sender, which is not limited thereto. For convenience of description, an example will be described below as being executed by the transmitting end. The method comprises the steps of sending first media data of a VOIP service to an application server of a VOIP application, receiving first quality of a first communication link sent by the application server, receiving a first retransmission instruction sent by the application server, and retransmitting second media data to the application server by adopting a first transmission strategy corresponding to the first quality. The first communication link refers to a communication link between the transmitting end and the application server, and the first retransmission instruction is used for indicating retransmission of second media data lost in the first media data. The first quality is determined by the application server based on the first media data. By the technical scheme, the transmitting end can dynamically adjust the transmission strategy for retransmitting the media data to the application server according to the quality of the communication link (such as the first communication link) between the transmitting end and the application server. Through the dynamic adjustment, retransmission time delay can be reduced, the phenomenon of packet loss in the retransmission process can be effectively avoided, retransmission efficiency can be effectively improved, the problem of data loss under a weak network can be effectively improved, the phenomenon of blocking is reduced, and user experience is further enhanced. In an alternative embodiment, the first quality may include a first transmission delay. Accordingly, the first transmission policy may include retransmitting the second media data based on the first number if the first transmission delay is less than a first delay threshold. Wherein the first quantity is associated with a first quality. By means of the technical scheme, when the transmission time delay of the communication link between the sending end and the application server is smaller than the first time delay threshold, retransmission operation can be completed on the communication link by means of the lower transmission time delay, transmission reliability is improved, the data volume of retransmitted media data (hereinafter referred to as retransmission data volume, such as first quantity) can be determined, appropriate retransmission is carried out on the retransmitted media data based on the retransmission data volume, and the influence on transmission efficiency due to excessive retransmission can be effectively avoided. Therefore, the retransmission efficiency can be further improved, the blocking phenomenon can be effectively reduced, and the user experience can be further enhanced. In an alternative embodiment, the first quality may further include a first jitter and a first packet loss rate. Accordingly, in the case where the first transmission delay is less than the first delay threshold and greater than the second delay threshold, the first number may be determined based on the first