WO2017211154A1 - Forward error correction feedback information transmission method, apparatus and device, and storage medium - Google Patents

Forward error correction feedback information transmission method, apparatus and device, and storage medium Download PDF

Info

Publication number
WO2017211154A1
WO2017211154A1 PCT/CN2017/083526 CN2017083526W WO2017211154A1 WO 2017211154 A1 WO2017211154 A1 WO 2017211154A1 CN 2017083526 W CN2017083526 W CN 2017083526W WO 2017211154 A1 WO2017211154 A1 WO 2017211154A1
Authority
WO
WIPO (PCT)
Prior art keywords
error correction
forward error
feedback information
correction feedback
media data
Prior art date
Application number
PCT/CN2017/083526
Other languages
French (fr)
Chinese (zh)
Inventor
郑可馨
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017211154A1 publication Critical patent/WO2017211154A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0026Transmission of channel quality indication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Definitions

  • the present invention relates to the field of multimedia transmission technologies, and in particular, to a forward error correction feedback information transmission method, apparatus, device, and storage medium.
  • multimedia refers to a kind of human-computer interactive information exchange and communication medium combining two or more media.
  • the media used includes text, images, photos, sounds, animations, and movies, as well as the interactive features provided by the program.
  • RTP protocol Real-time Transport Protocol
  • the solution given in the related art is to use the forward error correction to recover the packet loss.
  • the sending direction sends the redundant packet generated according to the media data to the receiving party, and sends the redundant packet to the peer end.
  • the peer end After receiving the packet, the peer end performs forward error correction processing according to the redundant packet when the packet is found to be lost.
  • the network with the packet loss rate changes, because if the forward coding parameters are certain, then the ability of error correction recovery is certain. For example, if the forward coding strategy is set in advance, only two packets can be corrected at most, then when the packet is lost. When the rate is high, it may not be possible to complete the error correction process and restore the original data.
  • a mechanism for using packet loss feedback is proposed in the related art for the above problem.
  • the specific method is to use the RTCP protocol (Real-time Transport Control Protocol) to transmit feedback information.
  • the RTCP receiver reports feedback of the receiver packet loss situation, and can also define the private RTCP application message feedback packet loss situation.
  • the RTCP packet also has a certain packet loss rate.
  • the sender can use other means, such as timing retransmission, or design a responsive RTCP private feedback message to solve the feedback message loss retransmission.
  • the problem but the delay caused by the repeated transmission back and forth will cause the forward error correction to have no good real-time performance, resulting in slow adjustment of the forward error correction coding redundancy, slow data recovery, and poor user experience.
  • the embodiment of the invention provides a method, a device, a device and a storage medium for transmitting forward error correction feedback information, and solves the problem that the forward error correction coding using the RTCP protocol has slow adjustment of the forward error correction coding and slow data recovery.
  • the embodiment of the invention provides a forward error correction feedback information transmission method, including:
  • the method further includes: performing forward error correction coding according to the media data of the media data packet to generate a redundancy packet, and transmitting the redundancy packet to the opposite end.
  • the method further includes: saving the forward error correction feedback information, monitoring a change of a packet loss rate, and recovering a lost data packet.
  • the method further includes: determining, according to the change of the packet loss rate and the recovery of the lost data packet, whether the forward error correction feedback information needs to be updated, and if yes, updating the forward direction.
  • the feedback information is error-corrected, and the updated forward error correction feedback information is sent to the opposite end through the media data packet.
  • the encapsulating the forward error correction feedback information into the media data packet comprises: encapsulating the forward error correction feedback information into a source of a header of a real-time transport protocol message (CSRC, Contributing) Source field, or encapsulate the forward error correction feedback information into an extended header of a real-time transport protocol message.
  • CSRC real-time transport protocol message
  • the present invention also provides another forward error correction feedback information transmission method, including:
  • Corresponding forward error correction coding control processing is performed according to the forward error correction feedback information.
  • the method further includes: receiving a redundant packet sent by the opposite end, and determining whether there is a media packet loss packet, and if yes, performing forward error correction decoding by using the redundant packet.
  • the same feedback information sequence number is set for the forward error correction feedback information with the same packet loss rate
  • the performing the forward error correction control processing according to the forward error correction feedback information includes: adjusting the forward error correction coding parameter according to the unprocessed forward error correction feedback information; and marking the feedback information sequence number and The forward error correction feedback information with the same feedback information sequence number corresponding to the forward error correction feedback information is the processed forward error correction feedback information.
  • the embodiment of the invention further provides a forward error correction feedback information transmission device, including information generation Module, package module, and packet sending module:
  • the information generating module is configured to receive a peer media data packet, determine a packet loss rate, and generate forward error correction feedback information for the packet loss rate;
  • the encapsulating module is configured to encapsulate the forward error correction feedback information into a media data packet, where the media data packet includes media data to be sent to the opposite end;
  • the data packet sending module is configured to send the media data packet to the peer end.
  • the method further includes a first redundant packet processing module, configured to perform forward error correction coding according to the media data of the media data packet to generate a redundant packet, and send the redundant packet to The opposite end.
  • a first redundant packet processing module configured to perform forward error correction coding according to the media data of the media data packet to generate a redundant packet, and send the redundant packet to The opposite end.
  • the method further includes a saving processing module configured to save the forward error correction feedback information, monitor a change of a packet loss rate, and recover a lost data packet.
  • the determining module further includes: determining, according to the change of the packet loss rate and the recovery of the lost data packet, whether the forward error correction feedback information needs to be updated, and if so, updating The forward error correction feedback information is sent to the opposite end by the updated forward error correction feedback information through the media data packet.
  • the present invention also provides another forward error correction feedback information transmission apparatus, including a data packet receiving module, a parsing module, and a processing module:
  • the data packet receiving module is configured to receive a media data packet sent by the peer end, where the media data packet includes media data and forward error correction feedback information generated by the peer end for a packet loss rate;
  • the parsing module is configured to parse the media data packet to obtain the forward error correction feedback information
  • the processing module is configured to perform corresponding forward error correction coding control processing according to the forward error correction feedback information.
  • the second redundant packet processing module is further configured to receive the redundant packet sent by the opposite end, and determine whether there is a media packet loss packet, and if so, use the The redundant packet performs forward error correction decoding.
  • the method further includes a setting module configured to set the same feedback information sequence number for the forward error correction feedback information with the same packet loss rate;
  • the processing module is configured to adjust its forward error correction coding parameter according to the unprocessed forward error correction feedback information; and mark the feedback information sequence number equal to the feedback information sequence number corresponding to the forward error correction feedback information
  • the error correction feedback information is processed forward error correction feedback information.
  • Embodiments of the present invention provide a computer storage medium having stored therein computer executable instructions configured to perform the forward error correction feedback information transmission method described above.
  • Embodiments of the present invention provide a forward error correction feedback information transmission apparatus including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor being configured to implement the program The above forward error correction feedback information transmission method.
  • the embodiment of the present invention provides a forward error correction feedback information transmission method, device, device, and storage medium, wherein the forward error correction feedback information transmission device receives the media data packet at the opposite end, determines a packet loss rate, and generates a packet loss rate.
  • Forward error correction feedback information, and the forward error correction feedback information is encapsulated into a media data packet, where the media data packet further includes media data sent to the opposite end; and then the media data packet is sent to the opposite end, so that the opposite end can
  • Corresponding forward error correction coding control processing is performed according to forward error correction feedback information in the media data packet.
  • the method in the present invention is directed to a bidirectional transmission channel, and the media data packet is also sent to the opposite end according to the media data packet received by the opposite end.
  • the outbound transmission forward error correction feedback information cannot be used.
  • the prior art adopts the timing retransmission or the design response replies message, but the forward error correction does not have good real-time performance, resulting in forward error correction coding. Redundancy adjustment is slow, data recovery is slow, and user experience is poor.
  • the in-band transmission forward error correction feedback information is used.
  • the transmission channel is a bidirectional transmission channel
  • A will receive the media data packet of B, and A will also B sends the number of media
  • the forward error correction feedback information is generated according to the packet loss condition of the A receiving B data packet, and the forward error correction feedback information is encapsulated into the media data packet to be sent to the B, and then the data packet is sent to the B.
  • the media packet sent by A to B may have packet loss, the possibility that all media packets are lost is very small. As a result, the forward error correction feedback sent by A to B is real-time.
  • FIG. 1 is a flowchart of a method for transmitting forward error correction feedback information according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a forward error correction feedback information encapsulation structure according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for transmitting forward error correction feedback information according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a forward error correction feedback information transmission apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another forward error correction feedback information transmission according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a specific example working process in an embodiment of the present invention.
  • the embodiment provides a forward error correction feedback information transmission method.
  • the solution in the present invention relates to the sender and the receiver of the forward error correction feedback information.
  • the solution in this embodiment is mainly directed to the forward feedback information sender.
  • Figure 1 includes:
  • S101 Receive a peer media data packet, determine a packet loss rate, and generate forward error correction feedback information for the packet loss rate.
  • S102 Encapsulating the forward error correction feedback information into a media data packet.
  • S103 Send the media data packet to the opposite end.
  • Step S101 is executed to generate forward error correction feedback information according to the packet loss situation of the peer media data packet.
  • device B interacts with device A for media data
  • device A receives the media data packet of device B
  • device A detects the packet loss when receiving the media data packet of device B.
  • the packet loss situation usually uses the packet loss rate. Indicates that forward error correction feedback information is generated according to the packet loss condition.
  • the forward error correction feedback information may include: a current network packet loss rate, a feedback information sequence number, and a forward error correction control identifier.
  • the current network packet loss rate is easy to understand, which is the current packet loss rate of the network; the feedback information sequence number is used to mark the current error correction feedback information according to the packet loss rate.
  • the forward error correction feedback information for the same packet loss rate usually has the same feedback information sequence number.
  • the forward error correction control identifier is mainly used to guide the peer to perform forward error correction coding, for example, to guide the peer to start or stop the forward error correction coding.
  • the device A detects the packet loss of the media packet of the receiving device B.
  • the rate is particularly low, and there is basically no packet loss rate.
  • the forward error correction control identifier in the forward error correction feedback information sent to B can be set to represent the corresponding identifier for stopping the error correction.
  • step S102 After generating the forward error correction feedback information, step S102 needs to be performed to encapsulate the forward error correction feedback information.
  • the media data packet is also transmitted through the RTP protocol, and the forward error correction feedback information is encapsulated to the media data packet.
  • the header of the RTP packet usually encapsulates the forward error correction feedback information in the RTP extension header, and may also encapsulate the forward error correction feedback information in the CSRC field of the RTP data packet. Please refer to FIG. 2, which is a schematic structural diagram of the forward error correction feedback information of the RTP data packet header.
  • the load of the RTP packet is the media data that needs to be transmitted to the peer end, for example, voice data, video data, and the like.
  • step S103 is executed to send the media data packet to the opposite end.
  • the forward error correction coding is usually generated according to the content of the media data portion of the transmitted media data packet to generate a redundant packet.
  • the residual packet is mainly used when the corresponding media packet is lost. Recover lost packets.
  • forward error correction information may also be added to the redundant packet.
  • the redundant packet is also transmitted by using the RTP protocol, and the packet header of the redundant packet may be selected according to specific requirements. Carry forward error correction feedback information. In order to avoid excessive loss of media packets, the forward error correction feedback information can also be encapsulated into the header of the redundant packet.
  • the forward error correction feedback information sender sends the forward error correction feedback information after transmitting the data packet with the forward error correction feedback information to the opposite end. Save it. It will also continue to monitor the packet loss of the receiving peer media data packet. When receiving the packet loss of the media packet at the peer end, it will also use the redundant packet of the peer end to recover the data, and also monitor the recovery of the lost packet. According to the detected change of the packet loss rate of the received peer media data packet and the recovery of the lost packet, it is determined whether the saved forward error correction feedback information needs to be updated. For the specific judgment method, it may be based on the artificial setting.
  • the recovery situation of the lost packet reaches a certain level, for example, 5% of the packet loss can be recovered, and the current state may be considered to be very good, and it is not necessary to Do any adjustments, so the forward error correction feedback information is not updated.
  • the forward error correction feedback information may be updated when the packet loss rate is detected, or may be the timing period detection. When the period arrives, the forward error correction feedback information is performed according to the packet loss situation in the current period. Update, in this way, it is also possible to artificially set a certain fixed value, for example, when the packet loss rate changes by more than 2%, the forward error correction feedback information is updated regardless of whether the update period is reached or not.
  • the update process mainly includes: changing the current network packet loss rate of the previously saved forward error correction feedback information to a corresponding packet loss rate, and modifying the feedback information sequence number, which may be used for convenience.
  • the in-band transmission mode is used to transmit the forward error correction feedback information, which can increase the real-time performance of the forward error correction feedback information and improve the user experience.
  • This embodiment provides another forward error correction feedback information transmission method.
  • the solution in the present invention relates to the sender and the receiver of the forward error correction feedback information.
  • the solution in this embodiment is mainly for the former.
  • the steps performed by the feedback information receiver are described. Referring to FIG. 3, the method includes:
  • S301 Receive a media data packet sent by the peer end.
  • the received media data packet sent by the opposite end includes media data and forward error correction feedback information generated by the opposite end.
  • the media data packet is transmitted through the RTP protocol
  • the media data is encapsulated in the data portion of the media data packet
  • the forward error correction feedback information encapsulates the packet header of the RTP packet.
  • the forward error correction feedback information may include: a current network packet loss rate, a feedback information sequence number, and a forward error correction control identifier.
  • the current network packet loss rate is the current packet loss rate of the network; the feedback information sequence number is used to mark the current error correction feedback information according to the packet loss rate.
  • the forward error correction feedback information for the same packet loss rate usually has the same feedback information sequence number.
  • the forward error correction control indicator is mainly used to guide the local end to perform forward error correction coding processing. After receiving the media data packet sent by the peer end, only step S302 is performed, and the media data packet and the forward error correction feedback information are obtained by parsing the media data packet.
  • the corresponding forward error correction control processing according to the forward error correction feedback information may be specifically: adjusting the forward error correction coding parameter according to the forward error correction feedback information that is not processed, and marking the feedback
  • the forward error correction feedback information whose information sequence number is equal to the feedback information sequence corresponding to the forward error correction feedback information is the processed forward error correction feedback information.
  • the marking method may be based on the feedback information serial number of the forward error correction feedback information. For example, the feedback information of the forward error correction feedback information A is 1 and the feedback information serial number of the feedback information serial number 1 is received for the first time. Therefore, the forward error correction feedback information with the feedback information sequence number 1 is not processed yet, and then the forward error correction coding parameter is adjusted according to the forward error correction feedback information of the feedback information sequence number 1.
  • the packet error rate corresponding to the forward error correction feedback information of the feedback information sequence number 1 may be 10%, and the 10% packet loss rate is relatively high, it may be necessary to adjust the forward error correction coding parameters, such as grouping and redundancy. Adjustment.
  • the forward error correction feedback information has the same feedback information sequence number, and the packet loss rate in the forward error correction feedback information may be 10% in a period of time, and the sequence number of the feedback message is 1 because The forward error correction feedback information with the feedback message sequence number 1 is processed, so there is no need to repeat the processing.
  • the peer finds that the packet loss rate of the media packet receiving the local end becomes 20%, so the forward error correction feedback information is updated, the feedback information sequence number is changed to 2, and the packet loss rate is modified to 20 %, after receiving the media data packet carrying the forward error correction feedback information, the local end adjusts its own forward error correction coding parameter, for example, so that the coding can target more packets and increase redundancy. and many more.
  • the local end further receives a redundant packet generated by the peer end according to the media data, and the redundancy packet is mainly used to recover lost when the corresponding media data packet is lost. data.
  • the redundancy packet may also include forward error correction information.
  • the redundancy packet is also transmitted by using the RTP protocol. To avoid excessive loss of the media data packet, the forward correction may be performed.
  • the error feedback information is also encapsulated into the header of the redundant packet.
  • After receiving the redundant packet of the peer end it is determined whether there is a packet loss. If there is a packet loss, the redundancy packet is used for forward error correction to recover data.
  • the RTP protocol itself has a mechanism for detecting packet loss. When the RTP protocol is used to send media packets, the packet sequence number is carried in the RTP header, which can be used to detect packet loss.
  • the received media data packet is parsed, the forward error correction feedback information is obtained, and the corresponding forward error correction coding control process is performed according to the forward error correction feedback information.
  • adjusting the forward error correction coding parameter for example, performing corresponding forward error correction coding adjustment according to the forward error correction feedback information in the received media data packet, can well adapt to the network with the packet loss rate change, and has more Good real-time, user-friendly.
  • the present embodiment provides a forward error correction feedback information transmission apparatus.
  • the apparatus includes an information generation module 41, a package module 42 and a data packet transmission module 43.
  • the information generation module 41 is configured to receive the peer media data packet. Determine the packet loss rate and generate forward error correction for the packet loss rate Feed information.
  • the encapsulation module 42 is configured to encapsulate the forward error correction feedback information into a media data packet, where the media data packet further includes media data to be sent to the opposite end.
  • the data packet sending module 43 is configured to send the encapsulated media data packet to the opposite end, and enable the peer end to perform corresponding forward error correction coding control processing according to the forward error correction feedback information in the media data packet.
  • the forward error correction feedback information includes: the current network packet loss rate, the feedback information sequence number, and the forward error correction control identifier; the current network packet loss rate is the current packet loss rate of the network; the feedback information sequence number is configured according to the packet loss rate. Mark the current error correction feedback information.
  • the forward error correction feedback information for the same packet loss rate usually has the same feedback information sequence number.
  • the forward error correction control flag is mainly used to guide the peer to perform forward error correction coding control, for example, to guide the peer to start or stop using forward error correction.
  • the forward error correction feedback information transmission apparatus 4 further includes a first redundancy packet processing module 44 configured to perform forward error correction coding to generate a redundancy packet according to the media data of the media data packet, and send the redundancy packet to the opposite end. .
  • the redundant packet is generated by forward error correction coding according to the content of the media data portion of the media data packet, and the redundancy packet is mainly used to recover the lost data packet when the corresponding media data packet is lost.
  • the redundant packet may also include forward error correction information.
  • the redundant packet is also transmitted using the RTP protocol.
  • the forward error correction feedback information may also be encapsulated into the header of the redundant packet.
  • the forward error correction feedback information transmission apparatus 4 further includes a save processing module 45 configured to save the forward error correction feedback information after transmitting the data packet with the forward error correction feedback information to the opposite end once.
  • the forward error correction feedback information transmission device 4 further includes a determination module 46, according to the change of the packet loss rate of the received peer media data packet and the recovery of the packet loss detected by the save processing module 45. In the case, it is determined whether the saved forward error correction feedback information needs to be updated. For the specific judgment method, it can be based on the artificial setting.
  • the forward error correction feedback information transmission apparatus 4 in this embodiment is configured to perform the forward error correction feedback information transmission method in the embodiment, that is, any of the steps in the embodiment, the forward correction in this embodiment.
  • the error feedback information transmission device 4 has an execution module corresponding thereto, which may not be shown for some modules, but it is present.
  • the device includes a data packet receiving module 51, a parsing module 52, and a processing module 53.
  • the data packet receiving module 51 is configured to receive a media data packet sent by the opposite end, where the media data packet includes media data and forward error correction feedback information generated by the opposite end.
  • the parsing module 52 is configured to parse the media data packet to obtain forward error correction feedback information.
  • the processing module 53 is configured to perform a corresponding forward error correction coding control process based on the forward error correction feedback information.
  • the error correction feedback information includes a current packet loss rate, a feedback information sequence number, and a forward error correction control identifier.
  • the forward error correction feedback information transmission device 5 further includes a second redundant packet processing module 54 configured to receive the redundant packet sent by the opposite end, and determine whether there is a media packet loss packet, and if so, use the redundant packet Forward error correction decoding.
  • the forward error correction feedback information transmission device 5 further includes a setting module 55 configured to set the same feedback information sequence number for the forward error correction feedback information with the same packet loss rate, and a processing module 56.
  • the processing module 56 is based on the unprocessed
  • the forward error correction feedback information adjusts its forward error correction coding parameter; and marks the forward error correction feedback information whose feedback information sequence number is equal to the feedback information sequence corresponding to the forward error correction feedback information as the processed forward correction Wrong feedback information.
  • the forward error correction feedback information transmission device 5 can further adjust its own forward error correction coding parameter according to the forward error correction feedback information; and mark the feedback information sequence number and the former
  • the forward error correction feedback information having the same number of feedback information corresponding to the error correction feedback information is the processed forward error correction feedback information.
  • Adjusting its own forward error correction coding parameters can be, Modification of the encoding allows the encoding to target more packets, as well as increased redundancy and the like.
  • the forward error correction feedback information transmission apparatus 5 in this embodiment is configured to perform the forward error correction feedback information transmission method in the embodiment, that is, any of the steps in the embodiment, and the forward correction in the embodiment.
  • the error feedback information transmission device 5 has an execution module corresponding thereto, which may not be shown for some modules, but it is present.
  • the device A and the device B are used for the actual use. Since the solution in the present invention is directed to the two-way transmission channel, both the device A and the device B serve both the transmitting end of the media data packet and the receiving of the media data packet. end. That is to say, the device A and the device B simultaneously set the forward error correction feedback information transmission device 4 and the forward error correction feedback information transmission device 5 in this embodiment.
  • the specific interaction process is:
  • S601 Device A sends a media data packet a to device B;
  • the device B receives the media data packet a, and generates forward error correction feedback information b according to the packet loss rate;
  • the device B needs to send the media data packet b to the device A, and then carries the forward error correction feedback information b in the media data packet b, and sends the media data packet b to the device A;
  • the device A receives the media data packet b, and obtains forward error correction feedback information b, and performs corresponding adjustment on the forward error correction coding.
  • the device A generates forward error correction feedback information a* according to the packet loss condition of the media packet b of the receiving device B.
  • the device A needs to send the media data packet a* to the device B, and then carries the forward error correction feedback information a* in the media data packet, and sends the media data packet a* to the device B;
  • the device B receives the media data packet a*, and obtains the forward error correction feedback information a*, and adjusts the forward error correction coding accordingly;
  • the device B determines, according to the packet loss condition of the received media data packet and the packet loss recovery situation, whether to update the forward error correction feedback information b, and if necessary, update to b* and send it Send to device A.
  • the device A determines, according to the packet loss condition of the received media data packet and the packet loss recovery situation, whether to update the forward error correction feedback information a*, and if necessary, updates to a** and sends it to the device B. .
  • Each module in the forward error correction feedback information transmission apparatus can be implemented by a processor in the device; of course, it can also be implemented by a logic circuit; in the process of implementation, the processor can be a CPU (Central Processor, Central Processing Unit), MPU (Micro Processor Unit), DSP (Digital Signal Processor) or FPGA (Field Programmable Gate Array).
  • the processor can be a CPU (Central Processor, Central Processing Unit), MPU (Micro Processor Unit), DSP (Digital Signal Processor) or FPGA (Field Programmable Gate Array).
  • the foregoing forward error correction feedback information transmission method is implemented in the form of a software function module, and is sold or used as a separate product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM (Read Only Memory), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a ROM (Read Only Memory), a magnetic disk, or an optical disk.
  • Embodiments of the present invention provide a computer storage medium having stored therein computer executable instructions configured to perform the forward error correction feedback information transmission method described above.
  • Embodiments of the present invention provide a forward error correction feedback information transmission apparatus including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor being configured to implement the program The above forward error correction feedback information transmission method.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated.
  • the components displayed as the unit may be, or may not be, physical units; they may be located in one place or on multiple network units; some or all of the units may be selected according to actual needs to implement the solution of the embodiment. purpose.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a ROM, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
  • the forward error correction feedback information transmission device receives the media packet of the opposite end, determines a packet loss rate, generates forward error correction feedback information for the packet loss rate, and encapsulates the forward error correction feedback information.
  • the media data packet includes media data sent to the peer end in the media data packet; and then the media data packet is sent to the peer end, so that the peer end can perform corresponding forward according to the forward error correction feedback information in the media data packet.
  • the error correction control processing can be effectively solved.
  • the forward error correction feedback using the RTCP protocol can be effectively solved.

Abstract

Provided are a forward error correction feedback information transmission method, apparatus and device, and a storage medium. The method comprises: a forward error correction feedback information transmission apparatus receiving an opposite-end media data packet, determining a packet loss rate and generating forward error correction feedback information with regard to the packet loss rate; encapsulating the forward error correction feedback information into the media data packet, wherein the media data packet also comprises media data sent to an opposite end; and then, sending the media data packet to the opposite end, so that the opposite end can perform corresponding forward error correction control processing according to the forward error correction feedback information in the media data packet.

Description

前向纠错反馈信息传输方法、装置、设备、存储介质Forward error correction feedback information transmission method, device, device and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201610402190.9、申请日为2016年06月07日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application Serial No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No
技术领域Technical field
本发明涉及多媒体传输技术领域,尤其涉及前向纠错反馈信息传输方法、装置、设备、存储介质。The present invention relates to the field of multimedia transmission technologies, and in particular, to a forward error correction feedback information transmission method, apparatus, device, and storage medium.
背景技术Background technique
随着信息技术的发展,多媒体的使用越来越广泛,通常所说的多媒体指组合两种或两种以上媒体的一种人机交互式信息交流和传播媒体。使用的媒体包括文字、图片、照片、声音、动画和影片,以及程式所提供的互动功能。多媒体数据在互联网上传输时通常使用RTP协议(实时传输协议,Real-time Transport Protocol)封装后通过网络进行传输。由于考虑到多媒体数据对实时的要求比较高,所以采用RTP进行媒体数据传输的应用通常是承载在UDP协议(用户数据包协议,User Datagram Protocol),而由于UDP数据本身的特性就是传输速度快,但是其可靠性低,所谓可靠性低也就是由于其对发出的数据进行确认,存在丢包的情况。With the development of information technology, the use of multimedia is more and more extensive. The so-called multimedia refers to a kind of human-computer interactive information exchange and communication medium combining two or more media. The media used includes text, images, photos, sounds, animations, and movies, as well as the interactive features provided by the program. When multimedia data is transmitted over the Internet, it is usually encapsulated and transmitted over the network using the RTP protocol (Real-time Transport Protocol). Since the requirement of real-time multimedia data is relatively high, the application of RTP for media data transmission is usually carried in the UDP protocol (User Datagram Protocol), and since the characteristics of the UDP data itself are fast transmission speed, However, its reliability is low, and the so-called low reliability is because it confirms the transmitted data and there is a case of packet loss.
针对上述问题,相关技术中给出的方案是使用前向纠错来恢复丢包,具体做法是,发送方向接收方发送根据媒体数据生成的冗余包,并将该冗余包发送给对端,对端在接收到后,当发现有丢包的时候,根据该冗余包进行前向纠错处理,进行恢复。但是,这样仍然存在问题,就是不能适应 丢包率变化的网络,因为如果前向编码参数是一定的话,那么纠错恢复的能力是一定的,例如,事先设定了前向编码策略能只能最多纠正两个包,那么当丢包率很高的时候,可能就不能完成纠错处理,恢复原来的数据。In view of the above problem, the solution given in the related art is to use the forward error correction to recover the packet loss. Specifically, the sending direction sends the redundant packet generated according to the media data to the receiving party, and sends the redundant packet to the peer end. After receiving the packet, the peer end performs forward error correction processing according to the redundant packet when the packet is found to be lost. However, there is still a problem with this, that is, it cannot adapt The network with the packet loss rate changes, because if the forward coding parameters are certain, then the ability of error correction recovery is certain. For example, if the forward coding strategy is set in advance, only two packets can be corrected at most, then when the packet is lost. When the rate is high, it may not be possible to complete the error correction process and restore the original data.
针对上述问题相关技术又提出了使用丢包反馈的机制,具体方法是,采用RTCP协议(实时传输控制协议,Real-time Transport Control Protocol)来传输反馈信息。比如使用RTCP接收者报告反馈接收方丢包情况,也可以定义私有的RTCP应用消息反馈丢包情况。在丢包环境中RTCP包也存在一定的丢包率,当反馈消息丢失时,发送方可以使用其他手段,比如定时重传,或者设计应答式的RTCP私有反馈消息来解决反馈消息丢失重传的问题,但来来回回反复传输带来的延迟会导致前向纠错不具有良好的实时性,造成前向纠错编码冗余调整慢,数据恢复慢,用户体验差。A mechanism for using packet loss feedback is proposed in the related art for the above problem. The specific method is to use the RTCP protocol (Real-time Transport Control Protocol) to transmit feedback information. For example, the RTCP receiver reports feedback of the receiver packet loss situation, and can also define the private RTCP application message feedback packet loss situation. In the packet loss environment, the RTCP packet also has a certain packet loss rate. When the feedback message is lost, the sender can use other means, such as timing retransmission, or design a responsive RTCP private feedback message to solve the feedback message loss retransmission. The problem, but the delay caused by the repeated transmission back and forth will cause the forward error correction to have no good real-time performance, resulting in slow adjustment of the forward error correction coding redundancy, slow data recovery, and poor user experience.
综上所述,在相关技术中,使用RTCP协议来进行前向纠错反馈存在前向纠错编码冗余调整慢、数据恢复慢问题。In summary, in the related art, using the RTCP protocol for forward error correction feedback has a problem of slow adjustment of the forward error correction coding and slow data recovery.
发明内容Summary of the invention
本发明实施例提供前向纠错反馈信息传输方法、装置、设备、存储介质,解决使用RTCP协议来进行前向纠错反馈存在前向纠错编码冗余调整慢、数据恢复慢的问题。The embodiment of the invention provides a method, a device, a device and a storage medium for transmitting forward error correction feedback information, and solves the problem that the forward error correction coding using the RTCP protocol has slow adjustment of the forward error correction coding and slow data recovery.
本发明实施例提供一种前向纠错反馈信息传输方法,包括:The embodiment of the invention provides a forward error correction feedback information transmission method, including:
接收对端媒体数据包,确定丢包率,针对所述丢包率生成前向纠错反馈信息;Receiving a peer media data packet, determining a packet loss rate, and generating forward error correction feedback information for the packet loss rate;
将所述前向纠错反馈信息封装至媒体数据包,所述媒体数据包包括待发送至对端的媒体数据;Encapsulating the forward error correction feedback information into a media data packet, where the media data packet includes media data to be sent to the opposite end;
向所述对端发送所述媒体数据包。Sending the media data packet to the opposite end.
在本发明一种实施例中,还包括,根据所述媒体数据包的媒体数据进行前向纠错编码生成冗余包,并将所述冗余包发送给所述对端。 In an embodiment of the present invention, the method further includes: performing forward error correction coding according to the media data of the media data packet to generate a redundancy packet, and transmitting the redundancy packet to the opposite end.
在本发明一种实施例中,在向所述对端发送所述媒体数据包之后还包括:保存所述前向纠错反馈信息,监测丢包率变化情况以及丢失数据包的恢复情况。In an embodiment of the present invention, after the sending the media data packet to the opposite end, the method further includes: saving the forward error correction feedback information, monitoring a change of a packet loss rate, and recovering a lost data packet.
在本发明一种实施例中,还包括:根据丢包率的变化情况以及丢失数据包的恢复情况,判断是否需要对所述前向纠错反馈信息进行更新,若是,则更新所述前向纠错反馈信息,并将更新后的前向纠错反馈信息通过媒体数据包发送至所述对端。In an embodiment of the present invention, the method further includes: determining, according to the change of the packet loss rate and the recovery of the lost data packet, whether the forward error correction feedback information needs to be updated, and if yes, updating the forward direction. The feedback information is error-corrected, and the updated forward error correction feedback information is sent to the opposite end through the media data packet.
在本发明一种实施例中,将所述前向纠错反馈信息封装至媒体数据包包括:将所述前向纠错反馈信息封装至实时传输协议报文的报头的作用源(CSRC,Contributing source)字段,或者将所述前向纠错反馈信息封装至实时传输协议报文的扩展头中。In an embodiment of the invention, the encapsulating the forward error correction feedback information into the media data packet comprises: encapsulating the forward error correction feedback information into a source of a header of a real-time transport protocol message (CSRC, Contributing) Source field, or encapsulate the forward error correction feedback information into an extended header of a real-time transport protocol message.
本发明还提供另一种前向纠错反馈信息传输方法,包括:The present invention also provides another forward error correction feedback information transmission method, including:
接收对端发送的媒体数据包,所述媒体数据包包括媒体数据和由对端针对丢包率生成的前向纠错反馈信息;Receiving a media data packet sent by the peer end, where the media data packet includes media data and forward error correction feedback information generated by the peer end for the packet loss rate;
对所述媒体数据包进行解析,得到所述前向纠错反馈信息;Parsing the media data packet to obtain the forward error correction feedback information;
根据所述前向纠错反馈信息进行相应的前向纠错编码控制处理。Corresponding forward error correction coding control processing is performed according to the forward error correction feedback information.
在本发明一种实施例中,还包括:接收所述对端发送的冗余包,并判断是否存在媒体数据包丢包,若是,则利用所述冗余包进行前向纠错解码。In an embodiment of the present invention, the method further includes: receiving a redundant packet sent by the opposite end, and determining whether there is a media packet loss packet, and if yes, performing forward error correction decoding by using the redundant packet.
在本发明一种实施例中,对于丢包率相同的前向纠错反馈信息设置相同的反馈信息序号;In an embodiment of the present invention, the same feedback information sequence number is set for the forward error correction feedback information with the same packet loss rate;
所述的根据所述前向纠错反馈信息进行相应的前向纠错控制处理包括:根据未处理的前向纠错反馈信息,调整自身的前向纠错编码参数;并标记反馈信息序号与所述前向纠错反馈信息对应的反馈信息序号相等的前向纠错反馈信息为已处理的前向纠错反馈信息。The performing the forward error correction control processing according to the forward error correction feedback information includes: adjusting the forward error correction coding parameter according to the unprocessed forward error correction feedback information; and marking the feedback information sequence number and The forward error correction feedback information with the same feedback information sequence number corresponding to the forward error correction feedback information is the processed forward error correction feedback information.
本发明实施例还提供一种前向纠错反馈信息传输装置,包括信息生成 模块、封装模块、数据包发送模块:The embodiment of the invention further provides a forward error correction feedback information transmission device, including information generation Module, package module, and packet sending module:
所述信息生成模块:配置为接收对端媒体数据包,确定丢包率,针对所述丢包率生成前向纠错反馈信息;The information generating module is configured to receive a peer media data packet, determine a packet loss rate, and generate forward error correction feedback information for the packet loss rate;
所述封装模块:配置为将所述前向纠错反馈信息封装至媒体数据包,所述媒体数据包包括待发送至对端的媒体数据;The encapsulating module is configured to encapsulate the forward error correction feedback information into a media data packet, where the media data packet includes media data to be sent to the opposite end;
所述数据包发送模块:配置为向所述对端发送所述媒体数据包。The data packet sending module is configured to send the media data packet to the peer end.
在本发明一种实施例中,还包括第一冗余包处理模块,配置为根据所述媒体数据包的媒体数据进行前向纠错编码生成冗余包,并将所述冗余包发送给所述对端。In an embodiment of the present invention, the method further includes a first redundant packet processing module, configured to perform forward error correction coding according to the media data of the media data packet to generate a redundant packet, and send the redundant packet to The opposite end.
在本发明一种实施例中,还包括保存处理模块,配置为保存所述前向纠错反馈信息,监测丢包率变化情况以及丢失数据包的恢复情况。In an embodiment of the present invention, the method further includes a saving processing module configured to save the forward error correction feedback information, monitor a change of a packet loss rate, and recover a lost data packet.
在本发明一种实施例中,还包括判断模块,配置为根据丢包率的变化情况以及丢失数据包的恢复情况,判断是否需要对所述前向纠错反馈信息进行更新,若是,则更新所述前向纠错反馈信息,并将更新后的前向纠错反馈信息通过媒体数据包发送至所述对端。In an embodiment of the present invention, the determining module further includes: determining, according to the change of the packet loss rate and the recovery of the lost data packet, whether the forward error correction feedback information needs to be updated, and if so, updating The forward error correction feedback information is sent to the opposite end by the updated forward error correction feedback information through the media data packet.
本发明还提供另一种前向纠错反馈信息传输装置,包括数据包接收模块、解析模块、处理模块:The present invention also provides another forward error correction feedback information transmission apparatus, including a data packet receiving module, a parsing module, and a processing module:
所述数据包接收模块:配置为接收对端发送的媒体数据包,所述媒体数据包包括媒体数据和由对端针对丢包率生成的前向纠错反馈信息;The data packet receiving module is configured to receive a media data packet sent by the peer end, where the media data packet includes media data and forward error correction feedback information generated by the peer end for a packet loss rate;
所述解析模块:配置为对所述媒体数据包进行解析,得到所述前向纠错反馈信息;The parsing module is configured to parse the media data packet to obtain the forward error correction feedback information;
所述处理模块:配置为根据所述前向纠错反馈信息进行相应的前向纠错编码控制处理。The processing module is configured to perform corresponding forward error correction coding control processing according to the forward error correction feedback information.
在本发明一种实施例中,还包括第二冗余包处理模块,配置为接收所述对端发送的冗余包,并判断是否存在媒体数据包丢包,若是,则利用所 述冗余包进行前向纠错解码。In an embodiment of the present invention, the second redundant packet processing module is further configured to receive the redundant packet sent by the opposite end, and determine whether there is a media packet loss packet, and if so, use the The redundant packet performs forward error correction decoding.
在本发明一种实施例中,还包括设置模块,配置为对于丢包率相同的前向纠错反馈信息设置相同的反馈信息序号;In an embodiment of the present invention, the method further includes a setting module configured to set the same feedback information sequence number for the forward error correction feedback information with the same packet loss rate;
所述处理模块,配置为根据未处理的前向纠错反馈信息,调整自身的前向纠错编码参数;并标记反馈信息序号与所述前向纠错反馈信息对应的反馈信息序号相等的前向纠错反馈信息为已处理的前向纠错反馈信息。The processing module is configured to adjust its forward error correction coding parameter according to the unprocessed forward error correction feedback information; and mark the feedback information sequence number equal to the feedback information sequence number corresponding to the forward error correction feedback information The error correction feedback information is processed forward error correction feedback information.
本发明的实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述的前向纠错反馈信息传输方法。Embodiments of the present invention provide a computer storage medium having stored therein computer executable instructions configured to perform the forward error correction feedback information transmission method described above.
本发明的实施例提供一种前向纠错反馈信息传输设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器配置为执行所述程序时实现上述的前向纠错反馈信息传输方法。Embodiments of the present invention provide a forward error correction feedback information transmission apparatus including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor being configured to implement the program The above forward error correction feedback information transmission method.
本发明实施例提供前向纠错反馈信息传输方法、装置、设备、存储介质,其中,前向纠错反馈信息传输装置收对端媒体数据包,确定丢包率,针对所述丢包率生成前向纠错反馈信息,并将该前向纠错反馈信息封装至媒体数据包,在该媒体数据包中还包括发送至对端的媒体数据;然后向对端发送媒体数据包,使得对端能根据该媒体数据包中的前向纠错反馈信息进行相应的前向纠错编码控制处理。首先,本发明中的方法是针对双向传输信道,根据接收到对端的媒体数据包也向所述对端发送媒体数据包可以知道,现有技术中使用带外传输前向纠错反馈信息,不能保证前向纠错反馈信息传输的可靠性,针对该问题现有技术中采用定时重传或者设计应答式反馈消息,但是会导致前向纠错不具有良好的实时性,造成前向纠错编码冗余调整慢,数据恢复慢,用户体验差的问题。而采用本发明的方案,使用带内传输前向纠错反馈信息,由于传输信道是双向传输信道,当设备A和B进行交互时,A会收到B的媒体数据包,同时A也会向B发送媒体数 据包;根据A接收B数据包的丢包情况生成前向纠错反馈信息,并将该前向纠错反馈信息封装至将要发送给B的媒体数据包中,再将该数据包发送给B,虽然A发送到B的媒体数据包可能存在丢包情况,但是,所有媒体数据包都丢掉的可能性非常小,如此一来,A发送给B的前向纠错反馈信息就具有实时性,基本不存在延时,有效解决使用RTCP协议来进行前向纠错反馈存在前向纠错编码冗余调整慢,数据恢复慢,用户体验差的问题;达到实时调整前向纠错编码冗余,加快数据恢复,提高用户体验的效果。The embodiment of the present invention provides a forward error correction feedback information transmission method, device, device, and storage medium, wherein the forward error correction feedback information transmission device receives the media data packet at the opposite end, determines a packet loss rate, and generates a packet loss rate. Forward error correction feedback information, and the forward error correction feedback information is encapsulated into a media data packet, where the media data packet further includes media data sent to the opposite end; and then the media data packet is sent to the opposite end, so that the opposite end can Corresponding forward error correction coding control processing is performed according to forward error correction feedback information in the media data packet. First, the method in the present invention is directed to a bidirectional transmission channel, and the media data packet is also sent to the opposite end according to the media data packet received by the opposite end. In the prior art, the outbound transmission forward error correction feedback information cannot be used. To ensure the reliability of the forward error correction feedback information transmission, the prior art adopts the timing retransmission or the design response replies message, but the forward error correction does not have good real-time performance, resulting in forward error correction coding. Redundancy adjustment is slow, data recovery is slow, and user experience is poor. With the solution of the present invention, the in-band transmission forward error correction feedback information is used. Since the transmission channel is a bidirectional transmission channel, when the devices A and B interact, A will receive the media data packet of B, and A will also B sends the number of media According to the packet, the forward error correction feedback information is generated according to the packet loss condition of the A receiving B data packet, and the forward error correction feedback information is encapsulated into the media data packet to be sent to the B, and then the data packet is sent to the B. Although the media packet sent by A to B may have packet loss, the possibility that all media packets are lost is very small. As a result, the forward error correction feedback sent by A to B is real-time. There is basically no delay, and the problem of using the RTCP protocol for forward error correction feedback is that the forward error correction coding has poor adjustment, slow data recovery, and poor user experience; real-time adjustment of forward error correction coding redundancy is achieved. Accelerate data recovery and improve user experience.
附图说明DRAWINGS
图1为本发明实施例中的前向纠错反馈信息传输方法的流程图;1 is a flowchart of a method for transmitting forward error correction feedback information according to an embodiment of the present invention;
图2为本发明实施例中的前向纠错反馈信息封装结构示意图;2 is a schematic structural diagram of a forward error correction feedback information encapsulation structure according to an embodiment of the present invention;
图3为本发明实施例中的前向纠错反馈信息传输方法的流程图;3 is a flowchart of a method for transmitting forward error correction feedback information according to an embodiment of the present invention;
图4为本发明实施例中的前向纠错反馈信息传输装置的结构示意图;4 is a schematic structural diagram of a forward error correction feedback information transmission apparatus according to an embodiment of the present invention;
图5为本发明实施例中的另一前向纠错反馈信息传输的结构示意图;FIG. 5 is a schematic structural diagram of another forward error correction feedback information transmission according to an embodiment of the present invention; FIG.
图6为本发明实施例中的具体示例工作过程的流程图。FIG. 6 is a flowchart of a specific example working process in an embodiment of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
本实施例提供一种前向纠错反馈信息传输方法,本发明中的方案涉及到前向纠错反馈信息的发送方和接收方,本实施例中的方案主要针对前向反馈信息发送方所执行的步骤,请参考图1,该方法包括:The embodiment provides a forward error correction feedback information transmission method. The solution in the present invention relates to the sender and the receiver of the forward error correction feedback information. The solution in this embodiment is mainly directed to the forward feedback information sender. For the steps to be performed, please refer to Figure 1, which includes:
S101:接收对端媒体数据包,确定丢包率,针对该丢包率生成前向纠错反馈信息;S101: Receive a peer media data packet, determine a packet loss rate, and generate forward error correction feedback information for the packet loss rate.
S102:将该前向纠错反馈信息封装至媒体数据包;S102: Encapsulating the forward error correction feedback information into a media data packet.
S103:向对端发送该媒体数据包。S103: Send the media data packet to the opposite end.
由于前向纠错反馈信息主要是针对自身收到对端的媒体数据包的情况 进行的反馈,所以,在本实施例的方法中。执行步骤S101,根据接收到对端媒体数据包的丢包情况来生成前向纠错反馈信息。例如,设备B与设备A进行媒体数据交互,设备A接收到了设备B的媒体数据包,设备A检测接收设备B的媒体数据包时产生丢包的情况,该丢包情况通常使用丢包率来表示,根据该丢包情况生成前向纠错反馈信息。Since the forward error correction feedback information is mainly for the case where the media packet of the opposite end is received by itself The feedback is made, therefore, in the method of the present embodiment. Step S101 is executed to generate forward error correction feedback information according to the packet loss situation of the peer media data packet. For example, device B interacts with device A for media data, device A receives the media data packet of device B, and device A detects the packet loss when receiving the media data packet of device B. The packet loss situation usually uses the packet loss rate. Indicates that forward error correction feedback information is generated according to the packet loss condition.
在本发明的其他实施例中,该前向纠错反馈信息可以包括:当前网络丢包率、反馈信息序号和前向纠错控制标识。当前网络丢包率,容易理解,就是所处网络当前的丢包率;反馈信息序号用于根据丢包率标记当前纠错反馈信息。通常对于相同丢包率的前向纠错反馈信息拥有相同的反馈信息序号。前向纠错控制标识主要用于指导对端进行前向纠错编码,例如,指导对端开始启用或者停止前向纠错编码,例如,设备A检测到接收设备B的媒体数据包的丢包率特别低,甚至基本不存在丢包率,可以设置发送给B的前向纠错反馈信息中的前向纠错控制标识为表征停止纠错相应的标识。In other embodiments of the present invention, the forward error correction feedback information may include: a current network packet loss rate, a feedback information sequence number, and a forward error correction control identifier. The current network packet loss rate is easy to understand, which is the current packet loss rate of the network; the feedback information sequence number is used to mark the current error correction feedback information according to the packet loss rate. The forward error correction feedback information for the same packet loss rate usually has the same feedback information sequence number. The forward error correction control identifier is mainly used to guide the peer to perform forward error correction coding, for example, to guide the peer to start or stop the forward error correction coding. For example, the device A detects the packet loss of the media packet of the receiving device B. The rate is particularly low, and there is basically no packet loss rate. The forward error correction control identifier in the forward error correction feedback information sent to B can be set to represent the corresponding identifier for stopping the error correction.
在生成前向纠错反馈信息后需要执行步骤S102,将该前向纠错反馈信息进行封装。由于在实际使用时,媒体数据包通常是通过RTP协议来进行传输的,在本实施例的一种具体实施方式中,媒体数据包也通过RTP协议进行传输,将前向纠错反馈信息封装至RTP数据包的包头,通常在RTP扩展头中封装前向纠错反馈信息,也可以将该前向纠错反馈信息封装在RTP数据包的CSRC字段。请参考图2,为该RTP数据包包头封装前向纠错反馈信息的结构示意图。而该RTP包的负载就是需要传输给对端的媒体数据,例如,语音数据、视频数据等等。然后执行步骤S103,向对端发送该媒体数据包即可。After generating the forward error correction feedback information, step S102 needs to be performed to encapsulate the forward error correction feedback information. In a specific implementation manner of the embodiment, the media data packet is also transmitted through the RTP protocol, and the forward error correction feedback information is encapsulated to the media data packet. The header of the RTP packet usually encapsulates the forward error correction feedback information in the RTP extension header, and may also encapsulate the forward error correction feedback information in the CSRC field of the RTP data packet. Please refer to FIG. 2, which is a schematic structural diagram of the forward error correction feedback information of the RTP data packet header. The load of the RTP packet is the media data that needs to be transmitted to the peer end, for example, voice data, video data, and the like. Then, step S103 is executed to send the media data packet to the opposite end.
由于RTP包中本身携带有媒体数据,这些媒体数据包本身也存在丢包的风险,所以通常会根据发送的媒体数据包的媒体数据部分的内容进行前向纠错编码生成冗余包,该冗余包主要用于当对应的媒体数据包丢失时, 恢复丢失的数据包。在本实施例的一种具体实施方式中,还可以在冗余包内打上前向纠错信息,通常冗余包也是使用RTP协议来进行传输,对于冗余包的包头可以根据具体需求选择是否携带前向纠错反馈信息。为了避免媒体数据包丢失过多,可以将前向纠错反馈信息也封装至冗余包的包头。Since the RTP packet itself carries the media data, the media data packet itself has the risk of packet loss. Therefore, the forward error correction coding is usually generated according to the content of the media data portion of the transmitted media data packet to generate a redundant packet. The residual packet is mainly used when the corresponding media packet is lost. Recover lost packets. In a specific implementation manner of this embodiment, forward error correction information may also be added to the redundant packet. Usually, the redundant packet is also transmitted by using the RTP protocol, and the packet header of the redundant packet may be selected according to specific requirements. Carry forward error correction feedback information. In order to avoid excessive loss of media packets, the forward error correction feedback information can also be encapsulated into the header of the redundant packet.
在本实施例的一种具体实施方式中,前向纠错反馈信息发送方在完成一次将带有前向纠错反馈信息的数据包发送至对端后,会将该前向纠错反馈信息进行保存。还会继续监测接收对端媒体数据包的丢包情况,在接收到对端的媒体数据包丢包的时候,也会利用对端的冗余包进行数据恢复,也会监测对丢包的恢复情况。根据监测到的接收到对端媒体数据包的丢包率的变化以及对丢包的恢复情况,来判断是否需要对保存的前向纠错反馈信息进行更新。对于具体判断方式,可以是根据人为的设定,例如,对丢包的恢复情况达到某种程度,例如5%的丢包都能被恢复,可能觉得当前的状态已经很好了,不需要对端做任何调整,于是不更新前向纠错反馈信息。对于丢包率,可以是当监测到丢包率产生变化就更新前向纠错反馈信息,也可以是定时周期检测,周期到达时候,根据本周期内丢包情况对前向纠错反馈信息进行更新,采用这种方式时,还可以是人为设定某一固定值,例如丢包率变化超过2%时不管是否到达更新周期,都会更新前向纠错反馈信息。在本发明的其他实施例中,更新过程主要包括,将之前保存的前向纠错反馈信息的当前网络丢包率更改成对应的丢包率,将反馈信息序号进行修改,为了方便,可以使用顺序递增的方式;将前向纠错控制标识根据相应需求修改为对应的标识。In a specific implementation manner of the embodiment, the forward error correction feedback information sender sends the forward error correction feedback information after transmitting the data packet with the forward error correction feedback information to the opposite end. Save it. It will also continue to monitor the packet loss of the receiving peer media data packet. When receiving the packet loss of the media packet at the peer end, it will also use the redundant packet of the peer end to recover the data, and also monitor the recovery of the lost packet. According to the detected change of the packet loss rate of the received peer media data packet and the recovery of the lost packet, it is determined whether the saved forward error correction feedback information needs to be updated. For the specific judgment method, it may be based on the artificial setting. For example, the recovery situation of the lost packet reaches a certain level, for example, 5% of the packet loss can be recovered, and the current state may be considered to be very good, and it is not necessary to Do any adjustments, so the forward error correction feedback information is not updated. For the packet loss rate, the forward error correction feedback information may be updated when the packet loss rate is detected, or may be the timing period detection. When the period arrives, the forward error correction feedback information is performed according to the packet loss situation in the current period. Update, in this way, it is also possible to artificially set a certain fixed value, for example, when the packet loss rate changes by more than 2%, the forward error correction feedback information is updated regardless of whether the update period is reached or not. In other embodiments of the present invention, the update process mainly includes: changing the current network packet loss rate of the previously saved forward error correction feedback information to a corresponding packet loss rate, and modifying the feedback information sequence number, which may be used for convenience. The method of increasing the order; modifying the forward error correction control identifier to the corresponding identifier according to the corresponding requirement.
采用本实施例的方案,利用带内传输方式来发送前向纠错反馈信息,可以增加前向纠错反馈信息发送的实时性,提高用户体验。By adopting the scheme of the embodiment, the in-band transmission mode is used to transmit the forward error correction feedback information, which can increase the real-time performance of the forward error correction feedback information and improve the user experience.
本实施例提供另一种前向纠错反馈信息传输方法,本发明中的方案涉及到前向纠错反馈信息的发送方和接收方,本实施例中的方案主要针对前 向反馈信息接收方所执行的步骤进行说明,请参考图3,该方法包括:This embodiment provides another forward error correction feedback information transmission method. The solution in the present invention relates to the sender and the receiver of the forward error correction feedback information. The solution in this embodiment is mainly for the former. The steps performed by the feedback information receiver are described. Referring to FIG. 3, the method includes:
S301:接收对端发送的媒体数据包;S301: Receive a media data packet sent by the peer end.
S302:对该媒体数据包进行解析,得到前向纠错反馈信息;S302: Parsing the media data packet to obtain forward error correction feedback information.
S303:根据该前向纠错反馈信息进行相应的前向纠错编码控制处理。S303: Perform corresponding forward error correction coding control processing according to the forward error correction feedback information.
在步骤S301中,接收到的对端发送的媒体数据包中包括媒体数据以及由对端生成的前向纠错反馈信息。通常媒体数据包通过RTP协议进行传输,媒体数据封装在媒体数据包的数据部分,而前向纠错反馈信息封装子RTP包的包头。在本发明的其他实施例中,该前向纠错反馈信息可以包括:当前网络丢包率、反馈信息序号和前向纠错控制标识。当前网络丢包率,就是所处网络当前的丢包率;反馈信息序号用于根据丢包率标记当前纠错反馈信息。通常对于相同丢包率的前向纠错反馈信息拥有相同的反馈信息序号。前向纠错控制标识主要用于指导本端进行前向纠错编码处理。在接收到对端发送的媒体数据包后,只需要执行步骤S302,对该媒体数据包进行解析就可以得到其中的媒体数据以及前向纠错反馈信息。In step S301, the received media data packet sent by the opposite end includes media data and forward error correction feedback information generated by the opposite end. Usually, the media data packet is transmitted through the RTP protocol, the media data is encapsulated in the data portion of the media data packet, and the forward error correction feedback information encapsulates the packet header of the RTP packet. In other embodiments of the present invention, the forward error correction feedback information may include: a current network packet loss rate, a feedback information sequence number, and a forward error correction control identifier. The current network packet loss rate is the current packet loss rate of the network; the feedback information sequence number is used to mark the current error correction feedback information according to the packet loss rate. The forward error correction feedback information for the same packet loss rate usually has the same feedback information sequence number. The forward error correction control indicator is mainly used to guide the local end to perform forward error correction coding processing. After receiving the media data packet sent by the peer end, only step S302 is performed, and the media data packet and the forward error correction feedback information are obtained by parsing the media data packet.
在步骤S303中,根据前向纠错反馈信息进行相应前向纠错控制处理可以具体为:根据未进行处理的前向纠错反馈信息,来调整自身的前向纠错编码参数,并标记反馈信息序号与该前向纠错反馈信息对应的反馈信息序号相等的前向纠错反馈信息为已处理的前向纠错反馈信息。对于其标记方式可以是根据前向纠错反馈信息的反馈信息序号进行识别,例如前向纠错反馈信息A的反馈信息序号为1,第一次接收到反馈信息序号为1的反馈信息序号,所以收到时还没有对反馈信息序号为1的前向纠错反馈信息进行处理,于是根据该反馈信息序号为1的前向纠错反馈信息,来调整自身的前向纠错编码参数。因为该反馈信息序号1的前向纠错反馈信息对应的丢包率可能是10%,10%的丢包率比较高,所以可能需要调整前向纠错编码参数,例如进行分组和冗余度的调整。前面已说明,对于丢包率相同的 前向纠错反馈信息具有相同的反馈信息序号,可能在一段时间内,收到的前向纠错反馈信息中的丢包率都是10%,反馈消息的序号都是1,由于之前已经对反馈消息序号为1的前向纠错反馈信息进行了处理,所以不需要再进行重复处理。当过了一段时间,对端发现接收本端的媒体数据包的丢包率变成了20%,于是更新了前向纠错反馈信息,将反馈信息序号变成了2,丢包率修改为20%,本端在接收到携带该前向纠错反馈信息的媒体数据包后,调整自身的前向纠错编码参数,例如可以是,使得编码能够针对更多的分组,以及加大冗余度等等。In step S303, the corresponding forward error correction control processing according to the forward error correction feedback information may be specifically: adjusting the forward error correction coding parameter according to the forward error correction feedback information that is not processed, and marking the feedback The forward error correction feedback information whose information sequence number is equal to the feedback information sequence corresponding to the forward error correction feedback information is the processed forward error correction feedback information. The marking method may be based on the feedback information serial number of the forward error correction feedback information. For example, the feedback information of the forward error correction feedback information A is 1 and the feedback information serial number of the feedback information serial number 1 is received for the first time. Therefore, the forward error correction feedback information with the feedback information sequence number 1 is not processed yet, and then the forward error correction coding parameter is adjusted according to the forward error correction feedback information of the feedback information sequence number 1. Because the packet error rate corresponding to the forward error correction feedback information of the feedback information sequence number 1 may be 10%, and the 10% packet loss rate is relatively high, it may be necessary to adjust the forward error correction coding parameters, such as grouping and redundancy. Adjustment. As explained above, for the same packet loss rate The forward error correction feedback information has the same feedback information sequence number, and the packet loss rate in the forward error correction feedback information may be 10% in a period of time, and the sequence number of the feedback message is 1 because The forward error correction feedback information with the feedback message sequence number 1 is processed, so there is no need to repeat the processing. After a period of time, the peer finds that the packet loss rate of the media packet receiving the local end becomes 20%, so the forward error correction feedback information is updated, the feedback information sequence number is changed to 2, and the packet loss rate is modified to 20 %, after receiving the media data packet carrying the forward error correction feedback information, the local end adjusts its own forward error correction coding parameter, for example, so that the coding can target more packets and increase redundancy. and many more.
在本实施例的一种具体实施方式中,本端还会接收到对端根其据媒体数据生成的冗余包,该冗余包主要用于当对应的媒体数据包丢失时,恢复丢失的数据。在本实施例的一种具体实施方式中,冗余包也可以包括前向纠错信息,通常冗余包也是使用RTP协议来进行传输,为了避免媒体数据包丢失过多,可以将前向纠错反馈信息也封装至冗余包的包头。在接收到对端的冗余包后,判断是否有丢包,如果有丢包,则利用该冗余包进行前向纠错,恢复数据。至于如何判断是否有产生丢包,由于RTP协议本身有检测丢包的机制,使用RTP协议发送媒体数据包时候会在RTP头内携带数据包序号,可用于检测丢包情况。In a specific implementation manner of this embodiment, the local end further receives a redundant packet generated by the peer end according to the media data, and the redundancy packet is mainly used to recover lost when the corresponding media data packet is lost. data. In a specific implementation manner of this embodiment, the redundancy packet may also include forward error correction information. Usually, the redundancy packet is also transmitted by using the RTP protocol. To avoid excessive loss of the media data packet, the forward correction may be performed. The error feedback information is also encapsulated into the header of the redundant packet. After receiving the redundant packet of the peer end, it is determined whether there is a packet loss. If there is a packet loss, the redundancy packet is used for forward error correction to recover data. As for how to determine whether there is a packet loss, the RTP protocol itself has a mechanism for detecting packet loss. When the RTP protocol is used to send media packets, the packet sequence number is carried in the RTP header, which can be used to detect packet loss.
采用本实施例中的方案,对接收到的媒体数据包,进行解析,获取其中的前向纠错反馈信息,并根据该前向纠错反馈信息进行相应的前向纠错编码控制处理。例如调整前向纠错编码参数,例如,根据接收到的媒体数据包中的前向纠错反馈信息进行相应的前向纠错编码调整,可以很好的适应丢包率变化的网络,具有更好的实时性,方便用户使用。With the solution in this embodiment, the received media data packet is parsed, the forward error correction feedback information is obtained, and the corresponding forward error correction coding control process is performed according to the forward error correction feedback information. For example, adjusting the forward error correction coding parameter, for example, performing corresponding forward error correction coding adjustment according to the forward error correction feedback information in the received media data packet, can well adapt to the network with the packet loss rate change, and has more Good real-time, user-friendly.
本实施例提供一种前向纠错反馈信息传输装置,请参考图4,该装置包括信息生成模块41、封装模块42和数据包发送模块43,信息生成模块41配置为接收对端媒体数据包,确定丢包率,针对该丢包率生成前向纠错反 馈信息。封装模块42配置为将该前向纠错反馈信息封装至媒体数据包,在媒体数据包还包括待发送至对端的媒体数据。数据包发送模块43配置为向对端发送封装好的该媒体数据包;使对端根据该媒体数据包中的前向纠错反馈信息进行相应的前向纠错编码控制处理。The present embodiment provides a forward error correction feedback information transmission apparatus. Referring to FIG. 4, the apparatus includes an information generation module 41, a package module 42 and a data packet transmission module 43. The information generation module 41 is configured to receive the peer media data packet. Determine the packet loss rate and generate forward error correction for the packet loss rate Feed information. The encapsulation module 42 is configured to encapsulate the forward error correction feedback information into a media data packet, where the media data packet further includes media data to be sent to the opposite end. The data packet sending module 43 is configured to send the encapsulated media data packet to the opposite end, and enable the peer end to perform corresponding forward error correction coding control processing according to the forward error correction feedback information in the media data packet.
前向纠错反馈信息包括:当前网络丢包率、反馈信息序号和前向纠错控制标识;当前网络丢包率,就是所处网络当前的丢包率;反馈信息序号配置为根据丢包率标记当前纠错反馈信息。通常对于相同丢包率的前向纠错反馈信息拥有相同的反馈信息序号。前向纠错控制标识主要用于指导对端进行前向纠错编码控制,例如,指导对端开始启用或者停止使用前向纠错等。The forward error correction feedback information includes: the current network packet loss rate, the feedback information sequence number, and the forward error correction control identifier; the current network packet loss rate is the current packet loss rate of the network; the feedback information sequence number is configured according to the packet loss rate. Mark the current error correction feedback information. The forward error correction feedback information for the same packet loss rate usually has the same feedback information sequence number. The forward error correction control flag is mainly used to guide the peer to perform forward error correction coding control, for example, to guide the peer to start or stop using forward error correction.
前向纠错反馈信息传输装置4还包括第一冗余包处理模块44配置为根据媒体数据包的媒体数据进行前向纠错编码生成冗余包,并将该冗余包发送给所对端。The forward error correction feedback information transmission apparatus 4 further includes a first redundancy packet processing module 44 configured to perform forward error correction coding to generate a redundancy packet according to the media data of the media data packet, and send the redundancy packet to the opposite end. .
冗余包是根据媒体数据包的媒体数据部分的内容进行前向纠错编码生成,该冗余包主要用于当对应的媒体数据包丢失时,恢复丢失的数据包。冗余包也可以包括前向纠错信息,通常冗余包也是使用RTP协议来进行传输,为了避免媒体数据包丢失过多,可以将前向纠错反馈信息也封装至冗余包的包头。The redundant packet is generated by forward error correction coding according to the content of the media data portion of the media data packet, and the redundancy packet is mainly used to recover the lost data packet when the corresponding media data packet is lost. The redundant packet may also include forward error correction information. Usually, the redundant packet is also transmitted using the RTP protocol. In order to avoid excessive loss of the media packet, the forward error correction feedback information may also be encapsulated into the header of the redundant packet.
前向纠错反馈信息传输装置4还包括保存处理模块45配置为在完成一次将带有前向纠错反馈信息的数据包发送至对端后,将该前向纠错反馈信息进行保存。The forward error correction feedback information transmission apparatus 4 further includes a save processing module 45 configured to save the forward error correction feedback information after transmitting the data packet with the forward error correction feedback information to the opposite end once.
并继续监测接收对端媒体数据包的丢包情况,在接收到对端的媒体数据包丢包的时候,利用对端的冗余包进行数据恢复,以及监测对丢包的恢复情况。前向纠错反馈信息传输装置4还包括判断模块46,根据保存处理模块45监测到的接收到对端媒体数据包的丢包率的变化以及对丢包的恢复 情况,来判断是否需要对保存的前向纠错反馈信息进行更新。对于具体判断方式,可以是根据人为的设定。And continue to monitor the packet loss situation of the receiving end media data packet, when receiving the media packet loss of the peer end, use the redundant packet of the opposite end to perform data recovery, and monitor the recovery of the lost packet. The forward error correction feedback information transmission device 4 further includes a determination module 46, according to the change of the packet loss rate of the received peer media data packet and the recovery of the packet loss detected by the save processing module 45. In the case, it is determined whether the saved forward error correction feedback information needs to be updated. For the specific judgment method, it can be based on the artificial setting.
本实施例中的前向纠错反馈信息传输装置4配置为执行实施例中的前向纠错反馈信息传输方法,也就是说实施例中的所有任何步骤,在本实施例中的前向纠错反馈信息传输装置4都有与之对应的执行模块,对于有些模块可能没有一一示出,但其是存在的。The forward error correction feedback information transmission apparatus 4 in this embodiment is configured to perform the forward error correction feedback information transmission method in the embodiment, that is, any of the steps in the embodiment, the forward correction in this embodiment. The error feedback information transmission device 4 has an execution module corresponding thereto, which may not be shown for some modules, but it is present.
本实施例还提供另一种前向纠错反馈信息传输装置,请参考图5,该装置包括:数据包接收模块51、解析模块52和处理模块53。数据包接收模块51配置为接收对端发送的媒体数据包,该媒体数据包包括媒体数据和由对端生成的前向纠错反馈信息。解析模块52配置为对该媒体数据包进行解析,得到前向纠错反馈信息。处理模块53配置为根据该前向纠错反馈信息进行相应的前向纠错编码控制处理。同样的,向纠错反馈信息包括当前丢包率、反馈信息序号和前向纠错控制标识。This embodiment further provides another forward error correction feedback information transmission device. Referring to FIG. 5, the device includes a data packet receiving module 51, a parsing module 52, and a processing module 53. The data packet receiving module 51 is configured to receive a media data packet sent by the opposite end, where the media data packet includes media data and forward error correction feedback information generated by the opposite end. The parsing module 52 is configured to parse the media data packet to obtain forward error correction feedback information. The processing module 53 is configured to perform a corresponding forward error correction coding control process based on the forward error correction feedback information. Similarly, the error correction feedback information includes a current packet loss rate, a feedback information sequence number, and a forward error correction control identifier.
前向纠错反馈信息传输装置5还包括第二冗余包处理模块54,配置为接收对端发送的冗余包,并判断是否存在媒体数据包丢包,若是,则利用该冗余包进行前向纠错解码。前向纠错反馈信息传输装置5还包括设置模块55和处理模块56,设置模块55配置为对于丢包率相同的前向纠错反馈信息设置相同的反馈信息序号;处理模块56根据未处理的前向纠错反馈信息,调整自身的前向纠错编码参数;并标记反馈信息序号与该前向纠错反馈信息对应的反馈信息序号相等的前向纠错反馈信息为已处理的前向纠错反馈信息。The forward error correction feedback information transmission device 5 further includes a second redundant packet processing module 54 configured to receive the redundant packet sent by the opposite end, and determine whether there is a media packet loss packet, and if so, use the redundant packet Forward error correction decoding. The forward error correction feedback information transmission device 5 further includes a setting module 55 configured to set the same feedback information sequence number for the forward error correction feedback information with the same packet loss rate, and a processing module 56. The processing module 56 is based on the unprocessed The forward error correction feedback information adjusts its forward error correction coding parameter; and marks the forward error correction feedback information whose feedback information sequence number is equal to the feedback information sequence corresponding to the forward error correction feedback information as the processed forward correction Wrong feedback information.
在本实施例的一种具体实施方式中,该前向纠错反馈信息传输装置5还可以据前向纠错反馈信息,调整自身的前向纠错编码参数;并标记反馈信息序号与该前向纠错反馈信息对应的反馈信息序号相等的前向纠错反馈信息为已处理的前向纠错反馈信息。调整自身的前向纠错编码参数可以是, 修改编码方式使得编码能够针对更多的分组,以及加大冗余度等等。In a specific implementation manner of the embodiment, the forward error correction feedback information transmission device 5 can further adjust its own forward error correction coding parameter according to the forward error correction feedback information; and mark the feedback information sequence number and the former The forward error correction feedback information having the same number of feedback information corresponding to the error correction feedback information is the processed forward error correction feedback information. Adjusting its own forward error correction coding parameters can be, Modification of the encoding allows the encoding to target more packets, as well as increased redundancy and the like.
本实施例中的前向纠错反馈信息传输装置5配置为执行实施例中的前向纠错反馈信息传输方法,也就是说实施例中的所有任何步骤,在本实施例中的前向纠错反馈信息传输装置5都有与之对应的执行模块,对于有些模块可能没有一一示出,但其是存在的。The forward error correction feedback information transmission apparatus 5 in this embodiment is configured to perform the forward error correction feedback information transmission method in the embodiment, that is, any of the steps in the embodiment, and the forward correction in the embodiment. The error feedback information transmission device 5 has an execution module corresponding thereto, which may not be shown for some modules, but it is present.
下面以设备A和设备B来进行在实际使用时的说明,由于本发明中的方案是针对双向传输信道,设备A和设备B同时都会既做媒体数据包的发送端也做媒体数据包的接收端。也就是说设备A和设备B同时设置了本实施例中的前向纠错反馈信息传输装置4和前向纠错反馈信息传输装置5。请参考图6,其具体交互过程为:In the following, the device A and the device B are used for the actual use. Since the solution in the present invention is directed to the two-way transmission channel, both the device A and the device B serve both the transmitting end of the media data packet and the receiving of the media data packet. end. That is to say, the device A and the device B simultaneously set the forward error correction feedback information transmission device 4 and the forward error correction feedback information transmission device 5 in this embodiment. Please refer to Figure 6, the specific interaction process is:
S601:设备A向设备B发送媒体数据包a;S601: Device A sends a media data packet a to device B;
S602:设备B接收媒体数据包a,并根据丢包率生成前向纠错反馈信息b;S602: The device B receives the media data packet a, and generates forward error correction feedback information b according to the packet loss rate;
S603:设备B需要向设备A发送媒体数据包b,于是在该媒体数据包b中携带前向纠错反馈信息b,将媒体数据包b发送给设备A;S603: The device B needs to send the media data packet b to the device A, and then carries the forward error correction feedback information b in the media data packet b, and sends the media data packet b to the device A;
S604:设备A接收该媒体数据包b,并获取前向纠错反馈信息b,对前向纠错编码进行相应调整;S604: The device A receives the media data packet b, and obtains forward error correction feedback information b, and performs corresponding adjustment on the forward error correction coding.
S605:设备A根据接收设备B的媒体数据包b的丢包情况生成前向纠错反馈信息a*;S605: The device A generates forward error correction feedback information a* according to the packet loss condition of the media packet b of the receiving device B.
S606:设备A需要向设备B发送媒体数据包a*,于是在该媒体数据包中携带前向纠错反馈信息a*,将媒体数据包a*发送给设备B;S606: The device A needs to send the media data packet a* to the device B, and then carries the forward error correction feedback information a* in the media data packet, and sends the media data packet a* to the device B;
S607:设备B接收到媒体数据包a*,并获取前向纠错反馈信息a*,对前向纠错编码进行相应调整;S607: The device B receives the media data packet a*, and obtains the forward error correction feedback information a*, and adjusts the forward error correction coding accordingly;
S608:设备B根据接收媒体数据包的丢包情况以及丢包恢复情况判断是否要回对前向纠错反馈信息b进行更新,若需要就更新成b*,并将其发 送给设备A。S608: The device B determines, according to the packet loss condition of the received media data packet and the packet loss recovery situation, whether to update the forward error correction feedback information b, and if necessary, update to b* and send it Send to device A.
S609:设备A根据接收媒体数据包的丢包情况以及丢包恢复情况判断是否要回对前向纠错反馈信息a*进行更新,若需要就更新成a**,并将其发送给设备B。S609: The device A determines, according to the packet loss condition of the received media data packet and the packet loss recovery situation, whether to update the forward error correction feedback information a*, and if necessary, updates to a** and sends it to the device B. .
然后重复执行上述步骤(对于608和609步骤的时序并没有严格要求,只要是已经有前向纠错反馈信息a*和前向纠错反馈信息b之后都有可能执行相应的步骤608或609),从而实现实时调整前向纠错编码冗余,加快数据恢复,提高用户体验。Then repeat the above steps (the timing of the steps 608 and 609 is not strictly required, as long as there is already forward error correction feedback information a* and forward error correction feedback information b, it is possible to perform the corresponding step 608 or 609) In this way, real-time adjustment of forward error correction coding redundancy is realized, data recovery is accelerated, and user experience is improved.
本发明实施例提供的前向纠错反馈信息传输装置中的各模块都可以通过设备中的处理器来实现;当然也可通过逻辑电路实现;在实施的过程中,处理器可以为CPU(中央处理器,Central Processing Unit)、MPU(微处理器,Micro Processor Unit)、DSP(数字信号处理器,Digital Signal Processor)或FPGA(现场可编程门阵列,Field Programmable Gate Array)等等。Each module in the forward error correction feedback information transmission apparatus provided by the embodiment of the present invention can be implemented by a processor in the device; of course, it can also be implemented by a logic circuit; in the process of implementation, the processor can be a CPU (Central Processor, Central Processing Unit), MPU (Micro Processor Unit), DSP (Digital Signal Processor) or FPGA (Field Programmable Gate Array).
本发明实施例中,如果以软件功能模块的形式实现上述的前向纠错反馈信息传输方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、ROM(Read Only Memory,只读存储器)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。In the embodiment of the present invention, if the foregoing forward error correction feedback information transmission method is implemented in the form of a software function module, and is sold or used as a separate product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM (Read Only Memory), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
本发明的实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述的前向纠错反馈信息传输方法。 Embodiments of the present invention provide a computer storage medium having stored therein computer executable instructions configured to perform the forward error correction feedback information transmission method described above.
本发明的实施例提供一种前向纠错反馈信息传输设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器配置为执行所述程序时实现上述的前向纠错反馈信息传输方法。Embodiments of the present invention provide a forward error correction feedback information transmission apparatus including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor being configured to implement the program The above forward error correction feedback information transmission method.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。It is to be understood that the phrase "one embodiment" or "an embodiment" or "an" Thus, "in one embodiment" or "in an embodiment" or "an" In addition, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be directed to the embodiments of the present invention. The implementation process constitutes any limitation. The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的, 作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated. The components displayed as the unit may be, or may not be, physical units; they may be located in one place or on multiple network units; some or all of the units may be selected according to actual needs to implement the solution of the embodiment. purpose.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a ROM, a magnetic disk, or an optical disk, and the like, which can store program codes.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。 The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the present invention are not limited to the description. It will be apparent to those skilled in the art that the present invention may be made without departing from the spirit and scope of the invention.
工业实用性Industrial applicability
本发明实施例中,前向纠错反馈信息传输装置收对端媒体数据包,确定丢包率,针对所述丢包率生成前向纠错反馈信息,并将该前向纠错反馈信息封装至媒体数据包,在该媒体数据包中还包括发送至对端的媒体数据;然后向对端发送媒体数据包,使得对端能根据该媒体数据包中的前向纠错反馈信息进行相应的前向纠错控制处理;如此,能够有效解决使用RTCP协议来进行前向纠错反馈存在前向纠错编码冗余调整慢,数据恢复慢,用户体验差的问题;达到实时调整前向纠错编码冗余,加快数据恢复,提高用户体验的效果。 In the embodiment of the present invention, the forward error correction feedback information transmission device receives the media packet of the opposite end, determines a packet loss rate, generates forward error correction feedback information for the packet loss rate, and encapsulates the forward error correction feedback information. The media data packet includes media data sent to the peer end in the media data packet; and then the media data packet is sent to the peer end, so that the peer end can perform corresponding forward according to the forward error correction feedback information in the media data packet. The error correction control processing can be effectively solved. The forward error correction feedback using the RTCP protocol can be effectively solved. The problem of slow adjustment of the forward error correction coding, slow data recovery, and poor user experience; real-time adjustment of forward error correction coding Redundancy accelerates data recovery and improves user experience.

Claims (19)

  1. 一种前向纠错反馈信息传输方法,包括:A forward error correction feedback information transmission method includes:
    接收对端媒体数据包,确定丢包率,针对所述丢包率生成前向纠错反馈信息;Receiving a peer media data packet, determining a packet loss rate, and generating forward error correction feedback information for the packet loss rate;
    将所述前向纠错反馈信息封装至媒体数据包,所述媒体数据包包括待发送至对端的媒体数据;Encapsulating the forward error correction feedback information into a media data packet, where the media data packet includes media data to be sent to the opposite end;
    向所述对端发送所述媒体数据包。Sending the media data packet to the opposite end.
  2. 如权利要求1所述的前向纠错反馈信息传输方法,其中,还包括,根据所述媒体数据包的媒体数据进行前向纠错编码生成冗余包,并将所述冗余包发送给所述对端。The forward error correction feedback information transmission method according to claim 1, further comprising: performing forward error correction coding to generate a redundancy packet according to the media data of the media data packet, and transmitting the redundancy packet to The opposite end.
  3. 如权利要求2所述的前向纠错反馈信息传输方法,其中,在向所述对端发送所述媒体数据包之后还包括:保存所述前向纠错反馈信息,监测丢包率变化情况以及丢失数据包的恢复情况。The forward error correction feedback information transmission method according to claim 2, wherein after transmitting the media data packet to the opposite end, the method further comprises: saving the forward error correction feedback information, and monitoring a change of a packet loss rate. And the recovery of lost packets.
  4. 如权利要求3所述的前向纠错反馈信息传输方法,其中,还包括:根据丢包率的变化情况以及丢失数据包的恢复情况,判断是否需要对所述前向纠错反馈信息进行更新,若是,则更新所述前向纠错反馈信息,并将更新后的前向纠错反馈信息通过媒体数据包发送至所述对端。The forward error correction feedback information transmission method according to claim 3, further comprising: determining whether the forward error correction feedback information needs to be updated according to a change of a packet loss rate and a recovery condition of the lost data packet. If yes, the forward error correction feedback information is updated, and the updated forward error correction feedback information is sent to the opposite end through the media data packet.
  5. 如权利要求1至4任一项所述的前向纠错反馈信息传输方法,其中,将所述前向纠错反馈信息封装至媒体数据包包括:将所述前向纠错反馈信息封装至实时传输协议报文的报头的CSRC字段,或者将所述前向纠错反馈信息封装至实时传输协议报文的扩展头中。The forward error correction feedback information transmission method according to any one of claims 1 to 4, wherein the packaging the forward error correction feedback information to the media data packet comprises: packaging the forward error correction feedback information to The CSRC field of the header of the protocol message is transmitted in real time, or the forward error correction feedback information is encapsulated into an extension header of the real-time transport protocol message.
  6. 一种前向纠错反馈信息传输方法,包括:A forward error correction feedback information transmission method includes:
    接收对端发送的媒体数据包,所述媒体数据包包括媒体数据和由对端针对丢包率生成的前向纠错反馈信息;Receiving a media data packet sent by the peer end, where the media data packet includes media data and forward error correction feedback information generated by the peer end for the packet loss rate;
    对所述媒体数据包进行解析,得到所述前向纠错反馈信息; Parsing the media data packet to obtain the forward error correction feedback information;
    根据所述前向纠错反馈信息进行相应的前向纠错控制处理。Corresponding forward error correction control processing is performed according to the forward error correction feedback information.
  7. 如权利要求6所述的前向纠错反馈信息传输方法,其中,还包括:接收所述对端发送的冗余包,并判断是否存在媒体数据包丢包,若是,则利用所述冗余包进行前向纠错解码。The forward error correction feedback information transmission method according to claim 6, further comprising: receiving a redundant packet sent by the opposite end, and determining whether there is a media packet loss, and if so, using the redundancy The packet performs forward error correction decoding.
  8. 如权利要求6或7所述的前向纠错反馈信息传输方法,其中,对于丢包率相同的前向纠错反馈信息设置相同的反馈信息序号;The forward error correction feedback information transmission method according to claim 6 or 7, wherein the same feedback information sequence number is set for the forward error correction feedback information having the same packet loss rate;
    所述的根据所述前向纠错反馈信息进行相应的前向纠错控制处理包括:根据未处理的前向纠错反馈信息,调整自身的前向纠错编码参数;并标记反馈信息序号与所述前向纠错反馈信息对应的反馈信息序号相等的前向纠错反馈信息为已处理的前向纠错反馈信息。The performing the forward error correction control processing according to the forward error correction feedback information includes: adjusting the forward error correction coding parameter according to the unprocessed forward error correction feedback information; and marking the feedback information sequence number and The forward error correction feedback information with the same feedback information sequence number corresponding to the forward error correction feedback information is the processed forward error correction feedback information.
  9. 一种前向纠错反馈信息传输装置,包括:A forward error correction feedback information transmission device includes:
    信息生成模块:配置为接收对端媒体数据包,确定丢包率,针对所述丢包率生成前向纠错反馈信息;The information generating module is configured to receive the peer media data packet, determine a packet loss rate, and generate forward error correction feedback information for the packet loss rate;
    封装模块:配置为将所述前向纠错反馈信息封装至媒体数据包,所述媒体数据包包括待发送至对端的媒体数据;Encapsulating module: configured to encapsulate the forward error correction feedback information into a media data packet, where the media data packet includes media data to be sent to the opposite end;
    数据包发送模块:配置为向所述对端发送所述媒体数据包。The data packet sending module is configured to send the media data packet to the peer end.
  10. 如权利要求9所述的前向纠错反馈信息传输装置,其中,还包括第一冗余包处理模块,配置为根据所述媒体数据包的媒体数据进行前向纠错编码生成冗余包,并将所述冗余包发送给所述对端。The forward error correction feedback information transmission apparatus according to claim 9, further comprising a first redundant packet processing module configured to perform forward error correction coding to generate a redundancy packet according to the media data of the media data packet, And sending the redundant packet to the peer end.
  11. 如权利要求10所述的前向纠错反馈信息传输装置,其中,还包括保存处理模块,配置为保存所述前向纠错反馈信息,监测丢包率变化情况以及丢失数据包的恢复情况。The forward error correction feedback information transmission apparatus according to claim 10, further comprising a save processing module configured to save the forward error correction feedback information, monitor a change in a packet loss rate, and recover a lost data packet.
  12. 如权利要求11所述的前向纠错反馈信息传输装置,其中,还包括判断模块,配置为根据丢包率的变化情况以及丢失数据包的恢复情况,判断是否需要对所述前向纠错反馈信息进行更新,若是,则更新所述前向纠 错反馈信息,并将更新后的前向纠错反馈信息通过媒体数据包发送至所述对端。The forward error correction feedback information transmission apparatus according to claim 11, further comprising a determining module configured to determine whether the forward error correction is required according to a change of a packet loss rate and a recovery condition of the lost data packet The feedback information is updated, and if so, the forward correction is updated The feedback information is incorrectly sent, and the updated forward error correction feedback information is sent to the opposite end through the media data packet.
  13. 如权利要求9至12任一项所述的前向纠错反馈信息传输装置,其中,所述封装模块配置为将所述前向纠错反馈信息封装至实时传输协议报文的报头的CSRC字段,或者将所述前向纠错反馈信息封装至实时传输协议报文的扩展头中。The forward error correction feedback information transmission apparatus according to any one of claims 9 to 12, wherein the encapsulation module is configured to encapsulate the forward error correction feedback information into a CSRC field of a header of a real-time transmission protocol message Or encapsulating the forward error correction feedback information into an extended header of a real-time transport protocol message.
  14. 一种前向纠错反馈信息传输装置,其中,包括:A forward error correction feedback information transmission device, comprising:
    数据包接收模块:配置为接收对端发送的媒体数据包,所述媒体数据包包括媒体数据和由对端针对丢包率生成的前向纠错反馈信息;a data packet receiving module, configured to receive a media data packet sent by the peer end, where the media data packet includes media data and forward error correction feedback information generated by the peer end for a packet loss rate;
    解析模块:配置为对所述媒体数据包进行解析,得到所述前向纠错反馈信息;a parsing module configured to parse the media data packet to obtain the forward error correction feedback information;
    处理模块:配置为根据所述前向纠错反馈信息进行相应的前向纠错控制处理。Processing module: configured to perform corresponding forward error correction control processing according to the forward error correction feedback information.
  15. 如权利要求14所述的前向纠错反馈信息传输装置,其中,还包括第二冗余包处理模块,配置为接收所述对端发送的冗余包,并判断是否存在媒体数据包丢包,若是,则利用所述冗余包进行前向纠错解码。The forward error correction feedback information transmission apparatus according to claim 14, further comprising a second redundant packet processing module configured to receive the redundant packet sent by the opposite end, and determine whether there is a media packet loss packet If yes, forward error correction decoding is performed using the redundant packet.
  16. 如权利要求14或15所述的前向纠错反馈信息传输装置,其中,还包括设置模块,配置为对于丢包率相同的前向纠错反馈信息设置相同的反馈信息序号;The forward error correction feedback information transmission apparatus according to claim 14 or 15, further comprising a setting module configured to set the same feedback information sequence number for the forward error correction feedback information having the same packet loss rate;
    所述处理模块,配置为根据未处理的前向纠错反馈信息,调整自身的前向纠错编码参数;并标记反馈信息序号与所述前向纠错反馈信息对应的反馈信息序号相等的前向纠错反馈信息为已处理的前向纠错反馈信息。The processing module is configured to adjust its forward error correction coding parameter according to the unprocessed forward error correction feedback information; and mark the feedback information sequence number equal to the feedback information sequence number corresponding to the forward error correction feedback information The error correction feedback information is processed forward error correction feedback information.
  17. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行上述权利要求1至5任一项、或6至8任一项的前向纠错反馈信息传输方法。 A computer storage medium having stored therein computer executable instructions for performing forward error correction feedback according to any one of claims 1 to 5, or 6 to 8 Information transmission method.
  18. 一种前向纠错反馈信息传输设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:A forward error correction feedback information transmission device includes a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
    接收对端媒体数据包,确定丢包率,针对所述丢包率生成前向纠错反馈信息;Receiving a peer media data packet, determining a packet loss rate, and generating forward error correction feedback information for the packet loss rate;
    将所述前向纠错反馈信息封装至媒体数据包,所述媒体数据包包括待发送至对端的媒体数据;Encapsulating the forward error correction feedback information into a media data packet, where the media data packet includes media data to be sent to the opposite end;
    向所述对端发送所述媒体数据包。Sending the media data packet to the opposite end.
  19. 一种前向纠错反馈信息传输设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:A forward error correction feedback information transmission device includes a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
    接收对端发送的媒体数据包,所述媒体数据包包括媒体数据和由对端针对丢包率生成的前向纠错反馈信息;Receiving a media data packet sent by the peer end, where the media data packet includes media data and forward error correction feedback information generated by the peer end for the packet loss rate;
    对所述媒体数据包进行解析,得到所述前向纠错反馈信息;Parsing the media data packet to obtain the forward error correction feedback information;
    根据所述前向纠错反馈信息进行相应的前向纠错控制处理。 Corresponding forward error correction control processing is performed according to the forward error correction feedback information.
PCT/CN2017/083526 2016-06-07 2017-05-08 Forward error correction feedback information transmission method, apparatus and device, and storage medium WO2017211154A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610402190.9A CN107483144B (en) 2016-06-07 2016-06-07 Forward error correction feedback information transmission method and device
CN201610402190.9 2016-06-07

Publications (1)

Publication Number Publication Date
WO2017211154A1 true WO2017211154A1 (en) 2017-12-14

Family

ID=60577599

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/083526 WO2017211154A1 (en) 2016-06-07 2017-05-08 Forward error correction feedback information transmission method, apparatus and device, and storage medium

Country Status (2)

Country Link
CN (1) CN107483144B (en)
WO (1) WO2017211154A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112751652A (en) * 2020-12-29 2021-05-04 珠海金山网络游戏科技有限公司 Data transmission method and device based on UDP protocol
CN113242155A (en) * 2021-03-30 2021-08-10 深圳震有科技股份有限公司 Method and system for recovering packet loss of data packet and computer readable storage medium
CN113965294A (en) * 2021-10-22 2022-01-21 北京灵汐科技有限公司 Data packet encoding method, data packet decoding method and device
CN114070459A (en) * 2020-08-04 2022-02-18 成都鼎桥通信技术有限公司 Data transmission method, device, terminal equipment and storage medium
CN114499747A (en) * 2020-11-09 2022-05-13 成都鼎桥通信技术有限公司 Audio and video data processing method and device, electronic equipment and storage medium
CN114520738A (en) * 2022-02-09 2022-05-20 北京电解智科技有限公司 Data processing method, device and storage medium
CN117650870A (en) * 2023-12-06 2024-03-05 北京荷智科技有限公司 Communication method, system, equipment and medium based on longitudinal coding error correction

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110087140B (en) * 2018-01-26 2022-07-05 腾讯科技(深圳)有限公司 Method, device, medium and equipment for transmitting stream media data
CN108183774B (en) * 2018-03-26 2021-07-27 浙江齐聚科技有限公司 Forward error correction method and system for streaming media transmission
CN108684050A (en) * 2018-04-12 2018-10-19 京信通信系统(中国)有限公司 Adjusting method, device, computer equipment and the storage medium of forward error correction function
CN108650061A (en) * 2018-04-24 2018-10-12 达闼科技(北京)有限公司 VPN Proxy Methods, device, storage medium and system based on FEC
US11019059B2 (en) * 2018-04-26 2021-05-25 Radware, Ltd Blockchain-based admission processes for protected entities
CN109327283B (en) * 2018-11-23 2021-06-22 深圳齐心好视通云计算有限公司 Network self-adaptive packet loss resisting method and device and terminal equipment
CN109547467A (en) * 2018-12-19 2019-03-29 北京东土科技股份有限公司 Media data error correction transmission and error correction method, device, equipment and storage medium
CN111385158B (en) * 2018-12-27 2021-11-12 北京紫荆视通科技有限公司 Communication method and communication device
CN110505123B (en) * 2019-09-04 2021-07-30 达闼机器人有限公司 Packet loss rate calculation method, server and computer-readable storage medium
CN110602452B (en) * 2019-09-05 2020-12-25 杭州米络星科技(集团)有限公司 Method for guaranteeing remote real-time transmission smoothness of global UDP audio and video stream
CN112669858A (en) * 2019-10-14 2021-04-16 上海华为技术有限公司 Data processing method and related device
CN113541853B (en) * 2020-04-13 2022-12-16 海能达通信股份有限公司 Data transmission method, terminal and computer readable storage medium
CN112165655A (en) * 2020-08-19 2021-01-01 视联动力信息技术股份有限公司 Data transmission method, device, equipment and medium based on video network
CN116941200A (en) * 2021-03-08 2023-10-24 华为技术有限公司 Data processing method, device and data transmission system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867453A (en) * 2010-06-04 2010-10-20 北京佳讯飞鸿电气股份有限公司 RTP anti-packet-loss method
CN102594778A (en) * 2011-01-11 2012-07-18 中兴通讯股份有限公司 Realizing method and system for stream media feedback
US20120297266A1 (en) * 2009-12-28 2012-11-22 Jin Xu Method for processing forward error correction, fec, data, device and system thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5425397B2 (en) * 2004-12-02 2014-02-26 トムソン ライセンシング Apparatus and method for adaptive forward error correction
CN100592670C (en) * 2007-04-02 2010-02-24 Ut斯达康通讯有限公司 System and method for controlling self-adaptive forward error dynamically in IPTV network
CN101505202B (en) * 2009-03-16 2011-09-14 华中科技大学 Adaptive error correction method for stream media transmission
CN102595252B (en) * 2011-01-11 2016-09-28 中兴通讯股份有限公司 Streaming media forward error correction realization method and system
US8539319B2 (en) * 2011-01-28 2013-09-17 Cisco Technology, Inc. Providing capacity optimized streaming data with forward error correction
CN103139559B (en) * 2011-11-30 2016-01-27 中国电信股份有限公司 Multi-media signal transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120297266A1 (en) * 2009-12-28 2012-11-22 Jin Xu Method for processing forward error correction, fec, data, device and system thereof
CN101867453A (en) * 2010-06-04 2010-10-20 北京佳讯飞鸿电气股份有限公司 RTP anti-packet-loss method
CN102594778A (en) * 2011-01-11 2012-07-18 中兴通讯股份有限公司 Realizing method and system for stream media feedback

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
J. REY ET AL: "RTP Retransmission Payload Format", NETWORK WORKING GROUP REQUEST FOR COMMENTS 4588, 30 July 2006 (2006-07-30), XP015055021, Retrieved from the Internet <URL:https://www.rfc-editor.org/rfc/pdfrfc/rfc4588.txt.pdf> *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070459A (en) * 2020-08-04 2022-02-18 成都鼎桥通信技术有限公司 Data transmission method, device, terminal equipment and storage medium
CN114070459B (en) * 2020-08-04 2023-11-07 成都鼎桥通信技术有限公司 Data transmission method, device, terminal equipment and storage medium
CN114499747A (en) * 2020-11-09 2022-05-13 成都鼎桥通信技术有限公司 Audio and video data processing method and device, electronic equipment and storage medium
CN112751652A (en) * 2020-12-29 2021-05-04 珠海金山网络游戏科技有限公司 Data transmission method and device based on UDP protocol
CN112751652B (en) * 2020-12-29 2023-01-03 珠海金山数字网络科技有限公司 Data transmission method and device based on UDP protocol
CN113242155A (en) * 2021-03-30 2021-08-10 深圳震有科技股份有限公司 Method and system for recovering packet loss of data packet and computer readable storage medium
CN113965294A (en) * 2021-10-22 2022-01-21 北京灵汐科技有限公司 Data packet encoding method, data packet decoding method and device
CN114520738A (en) * 2022-02-09 2022-05-20 北京电解智科技有限公司 Data processing method, device and storage medium
CN114520738B (en) * 2022-02-09 2023-12-05 北京电解智科技有限公司 Data processing method, device and storage medium
CN117650870A (en) * 2023-12-06 2024-03-05 北京荷智科技有限公司 Communication method, system, equipment and medium based on longitudinal coding error correction

Also Published As

Publication number Publication date
CN107483144B (en) 2021-11-23
CN107483144A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
WO2017211154A1 (en) Forward error correction feedback information transmission method, apparatus and device, and storage medium
CN106656422B (en) Streaming media transmission method for dynamically adjusting FEC redundancy
RU2634908C2 (en) Method and device for mediadata delivery management
US9794311B2 (en) Transport accelerator implementing extended transmission control functionality
JP5442816B2 (en) Streaming and buffering using variable FEC overhead and protection period
CN107257270B (en) Data transmission method and system based on hybrid automatic repeat request
JP2018152912A5 (en)
TW200849877A (en) A method to support forward error correction for real-time audio and video data over internet protocol networks
RU2009134145A (en) REDUCING THE INFLUENCE OF LOSS OF PACKAGES IN VIDEO TRANSMISSIONS
KR20130057937A (en) Apparatus and method for transmitting and receiving packet in communication system
US20080028276A1 (en) Method and apparatus for synchronizing multiple multimedia streams
US20130097474A1 (en) Apparatus and method for transmitting/receiving forward error correction packet in mobile communication system
JP6147939B1 (en) Transport accelerator for selective use of redundant encoded content data function
JP2006262288A (en) Video data delivery server and video data delivery method
AU2014290953A2 (en) Apparatus and method for sending/receiving packet in multimedia communication system
JP5344541B2 (en) Data transmission apparatus, transmission method and program
JP2014239285A (en) Data transmission unit and method
KR20130008438A (en) Methods of controlling of forward error correction in multimedia packet transport network
RU2646346C2 (en) Apparatus and method for transmitting and receiving forward error correction packet
WO2023202243A1 (en) Data processing method and apparatuses, computer device, and storage medium
KR20160138382A (en) Method and apparatus for generating and recovering packet in broadcasting and/or communication system
JP2007324876A (en) Data transmitter, data receiver, data transmitting method, data receiving method, and program
JP2017516346A (en) Packet transmission / reception method and apparatus in communication system
US20140341202A1 (en) Communication Over A Wireless Connection
KR102127641B1 (en) A method and apparatus for controlling reception of a broadcast service provided using application layer forward error correction scheme

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17809593

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17809593

Country of ref document: EP

Kind code of ref document: A1