WO2011110130A2 - Method for adjusting packet redundancy, device and network system thereof - Google Patents

Method for adjusting packet redundancy, device and network system thereof Download PDF

Info

Publication number
WO2011110130A2
WO2011110130A2 PCT/CN2011/073255 CN2011073255W WO2011110130A2 WO 2011110130 A2 WO2011110130 A2 WO 2011110130A2 CN 2011073255 W CN2011073255 W CN 2011073255W WO 2011110130 A2 WO2011110130 A2 WO 2011110130A2
Authority
WO
WIPO (PCT)
Prior art keywords
redundancy
packet loss
packet
sequence
occurrences
Prior art date
Application number
PCT/CN2011/073255
Other languages
French (fr)
Chinese (zh)
Other versions
WO2011110130A3 (en
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 华为技术有限公司
Priority to PCT/CN2011/073255 priority Critical patent/WO2011110130A2/en
Priority to CN201180000267.5A priority patent/CN102845008B/en
Publication of WO2011110130A2 publication Critical patent/WO2011110130A2/en
Publication of WO2011110130A3 publication Critical patent/WO2011110130A3/en

Links

Classifications

    • 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/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a packet redundancy adjustment method, related device, and network system. Background technique
  • IP Internet Protocol
  • VoIP Voice over IP
  • a VoIP network can carry services with high real-time requirements, such as real-time voice, real-time video, and real-time data.
  • RTP Real-Time Transfer Protocol
  • IP networks that is defined to operate in a one-to-one or one-to-many transmission with the goal of providing time information and media stream synchronization.
  • UDP user datagram protocol
  • ATM asynchronous transfer mode
  • the format of the voice packet on a typical VoIP network is: physical link layer + IP protocol layer + UDP protocol layer + RTP protocol layer + voice data.
  • RTP itself only guarantees the transmission of real-time data, but since the IP network is for an unreliable network with no connection, the RTP packet may be lost during transmission.
  • the real-time service requires the quality of service ("Qos") to meet certain requirements.
  • Qos quality of service
  • the general requirement is that the packet loss rate is less than 1%, the delay is less than 100 milliseconds (ms), and the network jitter is less than 20 ms. Therefore, in order to guarantee the Q 0S of the real-time service, a redundant mechanism is needed to recover the lost data during the transmission.
  • RTP redundancy mechanism
  • Each current RTP packet carries the content of the previous or the first few RTP packets.
  • RTP packet When an RTP packet is lost, it can be carried from the subsequent RTP packet. Recover lost RTP packets in redundancy. For example, when sending, if there is no redundancy
  • the packet transmission sequence is RTP1, RTP2, RTP3, and RTP4, where RTPi represents the i-th RTP packet.
  • each RTP message carries a redundant packet
  • the message transmission sequence is RTP1, RTP2/RTP1, RTP3/RTP2, RTP4/RTP3; if each RTP message carries two redundant packets, the message transmission sequence It is RTP1, RTP2/RTP1, RTP3/RTP2/RTP1, RTP4/RTP3/RTP2.
  • the part after the first "/" in the message is called the redundancy package, and the part before the first "/" is called If there is no packet loss during the transmission, the receiver only uses the primary packet as a valid service packet and discards the redundant packet.
  • the basic principle of the redundancy mechanism defined by the RFC2733 protocol is: Add redundant messages carrying Forward Error Correction (FEC) information to the transmitted message sequence, and the receiver can use redundancy.
  • the packet recovers the lost RTP packet.
  • a plurality of RTP packets may be extracted from the media data stream, and XORed, and a redundant packet containing FEC information may be generated, and the redundant packet may be used by the receiving end to recover any An RTP message used to generate it.
  • the sequence of message transmission when there are no redundant messages is a, b, c, d.
  • the sequence of sending packets with redundant packets is a, b, f(a, b), c, d, f(c, d), where f(a, b) is a redundant message, indicating The result of the exclusive OR of the text a and the message b.
  • the redundant packets f(a, b) and f(c, d) are directly discarded; if the packet b is lost, the packet a and the packet f(a, b) are sent. After the XOR, the message b can be recovered, thereby realizing the packet loss compensation.
  • the loss of two consecutive texts can be compensated.
  • the messages b, c are lost, then a and f(a, b) XOR can be restored to b, and b and f(b, c) XOR can be restored (.
  • the prior art solution When the RTP redundancy mechanism defined in RFC 2198 is used, the prior art solution generally determines the number of redundant packets carried in each RTP packet during call setup, and each packet carries a fixed redundancy packet during the call process.
  • the prior art scheme When using the RTP redundancy mechanism defined by RFC2733, the prior art scheme generally determines the redundant error correction mode used by the call when the call is established, and uses the redundant error correction mode during the call.
  • the embodiment of the invention provides a packet redundancy adjustment method, a related device and a network system, which can reduce the service packet loss rate and ensure the service quality.
  • a packet redundancy adjustment method includes:
  • the control sender sends a message to the receiving end by using the redundancy to be used.
  • a transmitting device comprising:
  • An obtaining unit configured to acquire the number of occurrences of each packet loss event in the message sequence that the sending device has sent to the receiving device;
  • a redundancy determining unit configured to determine a redundancy to be used according to the number of occurrences of each packet loss event, where the redundancy to be used is to enable the packet loss rate of the packet sequence to meet the packet loss requirement. The smallest redundancy among the redundancy;
  • a sending unit configured to send a message to the receiving device by using the redundancy to be used.
  • a network system comprising: the above sending device, and a receiving device,
  • the receiving device is configured to receive the message sequence and the message sent by the sending device, and report the number of occurrences of each packet loss event in the message sequence to the sending device.
  • the control sender sends a message to the receiving end by using the redundancy to be used. Since the packet loss rate after the redundancy compensation to be used satisfies the packet loss requirement, the quality of the service can be ensured; and the redundancy to be used at the transmitting end is the smallest redundancy among the redundancy that satisfies the packet loss requirement. Therefore, the bandwidth required for service transmission can be reduced, and the waste of bandwidth can be avoided.
  • FIG. 1 is a flowchart of a method for adjusting packet redundancy according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a message redundancy adjustment method for performing budget based on redundancy from large to small according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a message redundancy adjustment method for performing budget based on redundancy from small to large according to an embodiment of the present invention
  • FIG. 4 is a structural diagram of a transmitting device according to an embodiment of the present invention.
  • FIG. 5 is a structural diagram of another sending device according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of still another transmitting device according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of a transmitting device with a timer according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of a network system according to an embodiment of the present invention. detailed description
  • an embodiment of the present invention provides a packet redundancy adjustment method, where the method includes: 101. Obtain a number of occurrences of each packet loss event in a packet sequence that has been sent by a sending end to a receiving end.
  • the execution body of each step of the embodiment of the present invention may be a sender or a receiver.
  • the packet loss event in the packet sequence in the step may include: losing one packet event, dropping two packet events, dropping three packet events, and dropping four packet events. Among them, the loss of one packet event is that only one valid service packet is lost when the event occurs; the loss of two packet events is that two valid service packets are continuously lost when the event occurs; the three packet events are lost continuously when the event occurs.
  • One valid service package; the loss of 4 packet events is the continuous loss of 4 valid service packets when the event occurs.
  • the lost i packet event in the embodiments of the present invention refers to an event in which one valid service packet is lost.
  • the step may be: the sending end sends the message sequence to the receiving end by using the specific redundancy, and the number of occurrences of each packet loss event in the message sequence reported by the receiving end is obtained; wherein, the specific redundancy It may be 0, that is, the transmitting end sends the sequence of the packet without performing packet loss compensation, and the specific redundancy may also be 1, 2 or the like.
  • the redundancy is carried in each RTP packet allowed by the sender.
  • the number of redundant packets For the RFC2733 protocol, the redundancy indicates the forward error correction mode, and the forward error correction mode with the redundancy of 1 can compensate for one packet event; the redundancy is 2 for the forward direction.
  • the error correction mode can compensate for 2 packet events; the forward error correction mode with redundancy 3 can compensate for 3 packet events; the forward error correction mode with redundancy 4 can compensate for 4 packet events. .
  • the packet transmission sequence of the forward error correction mode indicated by the redundancy degree may be: a, b, f(a, b), c, d, f(c, d);
  • the sequence of message transmission in the forward error correction mode indicated by 2 may be: a, f(a, b), b, f(b, c), c, f(c, d), d;
  • the sequence of message transmission in the forward error correction mode indicated by 3 may be: a, b, f(a, b, c), c, f(a, c, d), f(a, b, d), d
  • a, b, c, and d in the above-mentioned respective message transmission sequences are valid service packets, f(a, b), f(b, c), f(c, d), f(a, b, c), f(a, c, d), f(a, b,
  • the redundancy to be used Determine, according to the number of occurrences of each packet loss event, the redundancy to be used, where the redundancy to be used is the smallest redundancy that enables the packet loss rate of the packet sequence to meet the packet loss requirement. Redundancy.
  • the packet loss requirement is smaller than the preset packet loss threshold; the packet loss rate of the packet sequence is the sum of packet loss rates caused by each packet loss event.
  • the total packet loss rate ie, the packet loss rate of each packet loss event
  • the compensation method with redundancy of 1 can also ensure that the total packet loss rate after compensation is 0.
  • the redundancy to be used determined in this step is the smallest redundancy among the redundancy of the packet loss rate and the packet loss requirement.
  • the step 102 may be implemented in the following manner: According to the number of occurrences of each packet loss event, the maximum redundancy is decremented, and the determining step is performed on the redundancy one by one, and the determining step is to determine the redundancy. Whether the packet loss rate of the compensated packet sequence satisfies the packet loss requirement; and the minimum redundancy that can satisfy the packet loss requirement is determined as the redundancy to be used.
  • the packet loss rate of each packet loss event greater than j is obtained, and then the sum of packet loss rates of each packet loss event greater than j is obtained, and the sum is The packet loss rate of the packet sequence compensated by the redundancy j; or, first, the sum of the number of packet loss events of each packet loss event greater than j, and dividing the sum by the message sequence The number of valid service packets is obtained, and the packet loss rate of the message sequence compensated by the redundancy j is obtained.
  • performing a determining step on the redundancy one by one, indicating that the determining step is performed from the maximum redundancy, does not mean that the determining step is performed for all the redundancy, and The decision step is stopped after finding the redundancy to be used.
  • the control sending end sends the message to the receiving end by using the redundancy to be used.
  • the execution body of each step of the embodiment of the present invention may be a sender or a receiver. If the sender of the entity is executed, the sender directly receives the redundancy to be used in the step 103. If the executor is the receiving end, the receiving end returns the indication information indicating the redundancy to be used to the sending end, and after receiving the indication information, the transmitting end uses the redundancy to be used. Send a message to the receiver.
  • step 101, step 102, and step 103 may be performed periodically, that is, step 101, step 102, and step 103 are performed every predetermined period to adjust the redundancy in time according to the transmission environment. That is, when the cycle time arrives, the sender sends the message sequence for the test to the receiver with a certain degree of redundancy, and then obtains the number of occurrences of each packet loss event in the message sequence for the test reported by the receiver. And determining the redundancy to be used according to the number of occurrences of each packet loss event; optionally, when the cycle time arrives, the sender does not send the message sequence for testing, but directly utilizes the specific redundancy. Sends a sequence of data packets to be transmitted during the call to the receiving end, such as an RTP packet sequence, and obtains the number of occurrences of each packet loss event in the packet sequence reported by the receiving end.
  • a sequence of data packets to be transmitted during the call to the receiving end, such as an RTP packet sequence, and obtains the number of occurrences
  • the step 101, the step 102, and the step 103 are performed when the packet loss ratio is greater than or equal to the packet loss threshold, that is, when the current packet loss rate of the packet sequence is greater than or equal to the packet loss threshold, the step is performed.
  • the step 102 and step 103 in order to adjust the redundancy in time when the transmission environment is deteriorated, and ensure the quality of the service transmission.
  • the minimum redundancy among the redundancy that can make the packet loss rate of the packet sequence meet the packet loss requirement is the redundancy to be used.
  • the control sender then sends a message to the receiving end using the redundancy to be used. Since the packet loss rate after the redundancy compensation to be used satisfies the packet loss requirement, the quality of the service can be guaranteed;
  • the redundancy used is the smallest redundancy among the redundancy that satisfies the packet loss requirement. Therefore, the bandwidth required for service transmission can be reduced, and the waste of bandwidth can be avoided.
  • an embodiment of the present invention provides a method for adjusting packet redundancy, which is
  • the RTP packet of the RFC 2198 protocol is used to calculate the sum of the packet loss rates of events according to the redundancy from large to small.
  • the method includes:
  • the sending end determines the maximum redundancy and the packet loss threshold of the current service.
  • the packet loss threshold is determined by the type of the current service.
  • the real-time voice service has a packet loss threshold of 1%
  • the real-time data service has a packet loss threshold of 0%.
  • the maximum redundancy is the maximum redundancy allowed by the sender.
  • the maximum redundancy is usually preset in the product, and the maximum redundancy of different models can be different.
  • the sending end does not use the packet loss compensation mode, and directly sends an RTP message sequence to the receiving end.
  • the sender uses a redundancy of zero.
  • the receiving end determines the number of occurrences of each packet loss event in the RTP packet sequence according to the sequence number of the received RTP packet, and reports the real-time transport control protocol (Real-Time Transport Control Protocol) to the transmitting end.
  • the RTCP packet carries the number of occurrences of each packet loss event
  • the sender obtains a prediction result of the network environment according to the RTCP packet, wherein the prediction result of the network environment includes the number of occurrences of each packet loss event, The total packet loss rate in the RTP message sequence.
  • the RTP protocol and the RTCP protocol are used together.
  • the RTP protocol is used to transmit service packets.
  • the RTCP protocol is used to monitor and feedback the transmission of RTP packets on the IP network. During the call progress, the receiver periodically sends The sender feeds back the RTCP packet.
  • the RTP packet has a unique sequence number.
  • the receiving end determines the number of occurrences of each packet loss event according to the sequence number of the received RTP packet, for example, in the RTP packet sequence sent by the sender. There are 10 RTP messages, and the sequence numbers are 1-10. If the RTP message sequence number received by the receiver is 1, 2, 3, 5, 8, or 10, the receiver does not receive the sequence.
  • the number of occurrences is the second (that is, one packet loss event is the RTP packet with the sequence number 4 lost, and the other one packet event is the RTP packet with the sequence number 9 lost).
  • the number of occurrences of the two packet events is lost. It is 1 time (that is, the RTP message with sequence number 6 and the RTP message with sequence number 7 are lost).
  • the RTCP packet may also carry the number of packet loss caused by each packet loss event, the packet loss rate caused by each packet loss event, and the total number of packet loss in the RTP packet sequence.
  • the existing RTCP packet includes: a cumulative number of packets lost field, an extended highest sequence number received field, and a draft-specific extension (profile). a specific extensions field, where the accumulated packet loss number field identifies the total number of lost packets in a period of time.
  • the RTP packet sequence is transmitted during the time period, and the accumulated packet loss number field identifies the above.
  • the total number of lost packets in the RTP packet sequence; the extended received highest sequence number field identifies the sequence number of the packet loss statistics.
  • the embodiment of the present invention extends the draft-specific extension field, and the number of occurrences of each packet loss event is carried in the draft-specific extension field.
  • the number of packet loss caused by each packet loss event may also be carried, and each packet loss event is caused. The rate of packet loss and so on.
  • step 204 The sending end determines whether the timer expires. If yes, step 205 is performed, and if no, step 211 is performed.
  • the duration of the preset timer of the sending end, when the timer expires, indicates the time when the transmitting end adjusts the redundancy.
  • the redundancy j is the redundancy of the packet loss rate to be predicted.
  • the sum of the packet loss ratios of the packet loss events is compared with the packet loss rate of each packet loss event, and the sum of the packet loss ratios of the packet loss events is smaller than the packet loss threshold. If yes, go to step 207; , go to step 210.
  • the sending end determines whether j is equal to 0. If yes, go to step 208. If no, go to step 209.
  • the sending end determines that the redundancy degree is the redundancy to be used, and performs step 211.
  • the sender determines that j+1 is the redundancy to be used.
  • the sender determines j as the redundancy to be used.
  • the sending end determines whether the currently performed call service ends. If no, go to step 212. If yes, end the process.
  • the sending end sends the RTP packet to the receiving end by using the redundancy to be used.
  • the sum of the packet loss rates of the packet loss events after budget compensation according to the redundancy degree is large and small, and according to the budget result
  • the redundancy to be used by the transmitting end is determined, where the redundancy to be used by the transmitting end is the smallest redundancy among the redundancy of the packet loss rate and the redundancy of the packet loss threshold. Since the packet loss rate of the RTP packet sent by the subsequent redundancy is smaller than the packet loss threshold, the quality of the service can be guaranteed; since the redundancy is the smallest redundancy among the redundancy smaller than the packet loss threshold. Therefore, the bandwidth required for service transmission can be reduced, and the waste of bandwidth can be avoided.
  • the test results of the network environment include: the number of occurrences of each packet loss event, and each packet loss. The number of packet loss caused by the event, the packet loss rate caused by each packet loss event, the total packet loss rate, and the probability of each packet loss event occupying the total packet loss event.
  • the number of lost packets, the packet loss rate caused by each packet loss event, the total packet loss rate, and the probability of each packet loss event occupying the total packet loss event are respectively obtained by the received message in a period of time.
  • the RTP packet sequence is transmitted during the period of time, and the number of occurrences of each packet loss event and each The number of packet loss caused by the packet loss event, the packet loss rate caused by each packet loss event, the total packet loss rate, and the probability of each packet loss event occupying the total packet loss event are:
  • the packet loss event in the above RTP packet sequence The number of occurrences, the number of lost packets caused by each packet loss event, the packet loss rate caused by each packet loss event, the total packet loss rate, and the probability of each packet loss event accounting for the total packet loss event.
  • the packet loss threshold of the current call service is 3%. After the packet loss occurs, the packet loss rate does not need to be compensated to 0. The total packet loss rate of each packet loss event is less than the packet loss after packet loss compensation. The threshold is OK.
  • the packet loss rate is 0; then consider using the redundancy of 3 to compensate.
  • the redundancy 3
  • the packet loss caused by one packet loss, two packet events, and three packet events can be compensated.
  • the compensation is 3, and the packet loss rate is 15/30000. It can be seen that the packet loss rate is less than the loss.
  • Package threshold Consider the method of using the redundancy of 2 to compensate. When the redundancy is 1, the packet loss caused by losing one packet event and dropping two packet events can be compensated. For the loss of three packets.
  • the packet loss caused by the event 2 packets are compensated, and 1 packet is not compensated.
  • the packet loss caused by the 4 packet event 2 packets are compensated, and 2 packets are not compensated.
  • the number of lost packets caused by 3 packet loss events is 105, and the number of lost packets caused by 4 packet loss events is 30.
  • the total packet loss rate is (105+30) / 30000. It can be seen that the total packet loss rate is less than the packet loss. Threshold; consider using the method of redundancy 1 to compensate. After the compensation is 1 mode, the packet loss caused by one packet event can be compensated.
  • the packet loss rate is 0% due to the loss of one packet event, and the packet loss rate caused by the loss of two packet events is 1.77%, and the packet loss caused by three packet events is lost.
  • the rate is 0.70%, and the packet loss rate caused by a packet loss event is 0.15 %.
  • the sum of the packet loss rates caused by each packet loss event is 2.62%, which is less than 3%. Therefore, the compensation method with redundancy of 1 is used. Can guarantee the quality of the business.
  • another embodiment of the present invention provides a packet redundancy adjustment method.
  • the method uses an RTP packet conforming to the RFC2198 protocol as an example, and the packet loss rate of each event is budgeted according to the redundancy from small to large. And, the method specifically includes:
  • Steps 301-303 are the same as steps 201-203, and are not described herein again.
  • step 304 The sending end determines whether the timer expires. If yes, step 305 is performed. If no, step 310 is performed.
  • the sender's budget is compensated by the redundancy j, the sum of the packet loss rate of each packet loss event, comparing whether the sum of the packet loss rate of each packet loss event is greater than or equal to the packet loss threshold, and if so, executing step 307; If no, go to step 309.
  • the sender determines whether j is equal to N. If no, returns to step 306; if yes, step 309 is performed.
  • Steps 310-311 are the same as steps 211-212, and are not described herein again.
  • an embodiment of the present invention provides a sending device, including:
  • the obtaining unit 10 is configured to acquire the number of occurrences of each packet loss event in the message sequence that the sending device has sent to the receiving device.
  • the redundancy determining unit 20 is configured to determine, according to the number of occurrences of each packet loss event, the redundancy to be used, where the redundancy to be used is to enable the packet loss rate of the packet sequence to meet the packet loss requirement.
  • the sending unit 30 is configured to send a message to the receiving device by using the redundancy to be used.
  • the obtaining unit 10 is specifically configured to send the message sequence to the receiving device by using a specific redundancy, and obtain the number of occurrences of each packet loss event in the message sequence reported by the receiving device.
  • the specific redundancy may be 0 or other values, which does not affect the implementation of the present invention.
  • the redundancy determining unit 20 may specifically include: a determining unit 21, configured to perform decrementing from the maximum redundancy according to the number of occurrences of each packet loss event, and perform a determining step on the redundancy one by one, The determining step is to determine whether the packet loss rate of the packet sequence after the redundancy compensation is used meets the packet loss requirement; and the determining unit 22 is configured to determine the minimum redundancy that can satisfy the packet loss requirement. For redundancy to be used.
  • the packet loss rate of the packet sequence compensated by the redundancy j is obtained according to the number of packet loss events of each packet loss event greater than j and the number of valid service packets in the packet sequence.
  • the implementation is similar to the method embodiment and will not be mentioned here.
  • the sending device further includes: a timer 40, configured to trigger, when the timing time arrives, the acquiring unit to send the packet to the receiving device by using a specific redundancy. sequence.
  • the message sequence may be a sequence of messages used for testing, or a sequence of messages to be transmitted between the sending device and the receiving device, such as an RTP message sequence, which does not affect the implementation of the present invention;
  • the message sent by 30 is an RTP message that needs to be transmitted between the sending device and the receiving device.
  • the minimum redundancy among the redundancy that enables the packet loss rate of the message sequence to meet the packet loss requirement is the redundancy to be used, and then the transmitting unit uses the redundancy to be used to the receiving device.
  • Send a message is a message that specifies the redundancy of the packet loss rate of the message sequence to meet the packet loss requirement.
  • an embodiment of the present invention provides a network system, including: a sending device 50 and a receiving device 60, where
  • the sending device 50 is configured to obtain the number of occurrences of each packet loss event in the message sequence that the sending device 50 has sent to the receiving device 60, and determine the redundancy to be used according to the number of occurrences of each packet loss event, where to be used
  • the redundancy is the smallest redundancy in the redundancy that enables the packet loss rate of the packet sequence to meet the packet loss requirement; and the packet is sent to the receiving device 60 by using the redundancy to be used;
  • the receiving device 60 is configured to receive the message sequence and the message sent by the sending device 50, and report the number of occurrences of each packet loss event in the message sequence to the sending device.
  • the structure and function of the specific sending device may be the same as the structure and function of the sending device in the embodiment shown in FIG. 4 to FIG. 7 , and details are not described herein again.
  • the sending device determines, according to the number of occurrences of each packet loss event in the packet sequence, that the redundancy of the packet sequence can meet the packet loss requirement, and the minimum redundancy is the redundancy to be used.
  • the redundancy is then sent to the receiving device using the redundancy to be used. Since the packet loss rate after the redundancy compensation is used to meet the packet loss requirement, the service quality can be guaranteed; since the redundancy is the smallest redundancy among the redundancy requirements for meeting the packet loss requirement, the service transmission can be performed. The required bandwidth is reduced to avoid wasting bandwidth.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

A method for adjusting packet redundancy includes the following steps: the occurrence times of each packet loss event in a packet sequence which has been sent from a sender to a receiver are obtained; according to the occurrence times of each packet loss event, a redundancy to be used is determined, wherein the redundancy is the minimum redundancy among the redundancies which make the packet loss ratio of the packet sequence meet the requirement of packet loss; the sender is controlled to send, by using the redundancy to be used, packets to the receiver. A transmission device includes: an acquirement unit, for obtaining the occurrence times of each packet loss event in a packet sequence which has been sent from a sender to a receiver; a redundancy determination unit, for determining a redundancy to be used according to the occurrence times of each packet loss event, wherein the redundancy is the minimum redundancy among the redundancies which make the packet loss ratio of the packet sequence meet the requirement of packet loss; and a transmission unit, for sending packets to the receiver by using the redundancy to be used.

Description

报文冗余度调整方法、 相关设备及网络系统 技术领域  Message redundancy adjustment method, related equipment and network system
本发明涉及通信技术领域,特别涉及一种报文冗余度调整方法、相关设备 及网络系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a packet redundancy adjustment method, related device, and network system. Background technique
基于网际互联协议 (Internet Protocol, 筒称 "IP" )的分组交换网络在近几 十年来得到了蓬勃的发展, 成为覆盖全球的通信网。 IP 网络具有低成本等优 势, 随着通信的发展, 包括语音业务在内的传统的电信业务也越来越多地使用 IP网络 7 载, 7 载实时语音业务的 IP网络也称为分组语音 (Voice over IP, 筒 称 "VoIP" )网络。 例如, H.323网络、 下一代网络 (Next Generation Network, 筒称 "NGN" )等都是 VoIP网络。  Packet-switched networks based on the Internet Protocol (IP) have been booming in recent decades and become a global communications network. IP networks have the advantages of low cost. With the development of communication, traditional telecommunication services including voice services are increasingly using IP networks. 7 IP networks with real-time voice services are also called packet voices. Voice over IP, called "VoIP" network. For example, H.323 networks, Next Generation Network (NGN), etc. are all VoIP networks.
VoIP 网络可以承载实时性要求较高的业务, 例如实时语音、 实时视频、 实时数据等业务, 一般使用实时传输协议 (Real-Time Transfer Protocol, 筒称 "RTP" )作为实时业务的承载协议。 RTP是针对 IP网络上多媒体数据流的一 个传输协议, 其被定义为在一对一或一对多的传输情况下工作, 其目的是提供 时间信息和媒体流同步。 RTP的典型应用建立在用户数据报协议 (user datagram protocol , 筒称 "UDP")上, 但也可以异步传输模式 (asynchronous transfer mode , 筒称" ATM")等其他协议之上工作。其中,典型的 VoIP网络上语音报文格式为: 物理链路层 +IP协议层 +UDP协议层 +RTP协议层 +语音数据。  A VoIP network can carry services with high real-time requirements, such as real-time voice, real-time video, and real-time data. Generally, the Real-Time Transfer Protocol (RTP) is used as a bearer protocol for real-time services. RTP is a transport protocol for multimedia data streams over IP networks that is defined to operate in a one-to-one or one-to-many transmission with the goal of providing time information and media stream synchronization. The typical application of RTP is based on the user datagram protocol ("UDP"), but it can also work on other protocols such as asynchronous transfer mode ("ATM"). The format of the voice packet on a typical VoIP network is: physical link layer + IP protocol layer + UDP protocol layer + RTP protocol layer + voice data.
RTP本身只保证实时数据的传输, 但是由于 IP网络是面向无连接的不可 靠网络, 所以导致 RTP 包可能会在传输过程中丢失。 但是, 实时业务又要求 网络服务质量 (quality of service, 筒称 "Qos" )达到一定要求。 例如, 一般要 求为丢包率低于 1%、 延时低于 100毫秒 (ms)、 网络抖动小于 20ms。 因此, 为 了保证实时业务的 Q0S, 需要采用冗余机制恢复传输过程中丢失的数据。 RTP itself only guarantees the transmission of real-time data, but since the IP network is for an unreliable network with no connection, the RTP packet may be lost during transmission. However, the real-time service requires the quality of service ("Qos") to meet certain requirements. For example, the general requirement is that the packet loss rate is less than 1%, the delay is less than 100 milliseconds (ms), and the network jitter is less than 20 ms. Therefore, in order to guarantee the Q 0S of the real-time service, a redundant mechanism is needed to recover the lost data during the transmission.
其中, RFC2198定义的冗余机制的基本原理是: 每个当前 RTP报文携带 前一个或者前几个 RTP报文的内容, 当某个 RTP报文丢失时, 可以从后续的 RTP报文携带的冗余中恢复丢失的 RTP报文。 例如, 在发送时, 如果没有冗 余包, 报文传送序列为 RTP1、 RTP2、 RTP3、 RTP4, 其中, RTPi表示第 i个 RTP报文。 如果每个 RTP报文携带一个冗余包, 则报文传送序列为 RTP1、 RTP2/RTP1 , RTP3/RTP2, RTP4/RTP3; 如果每个 RTP报文携带两个冗余包, 则报文传送序列为 RTP1、 RTP2/RTP1 , RTP3/RTP2/RTP1、 RTP4/RTP3/RTP2„ 其中, 报文中第一个 "/"后的部分称为冗余包, 第一个 "/"前的部分称为主包。 若传输过程中没有丢包, 则接收方只把主包作为有效业务包, 丢弃冗余包; 若 传输过程中有丢包, 在每个 RTP 报文携带一个冗余包情况时, 若报文 RTP2/RTP1丢失, 则接收方会从报文 RTP3/RTP2中解出主包 RTP2, 形成完整 的报文序列 RTPI、 RTP2、 RTP3 The basic principle of the redundancy mechanism defined in RFC 2198 is: Each current RTP packet carries the content of the previous or the first few RTP packets. When an RTP packet is lost, it can be carried from the subsequent RTP packet. Recover lost RTP packets in redundancy. For example, when sending, if there is no redundancy The packet transmission sequence is RTP1, RTP2, RTP3, and RTP4, where RTPi represents the i-th RTP packet. If each RTP message carries a redundant packet, the message transmission sequence is RTP1, RTP2/RTP1, RTP3/RTP2, RTP4/RTP3; if each RTP message carries two redundant packets, the message transmission sequence It is RTP1, RTP2/RTP1, RTP3/RTP2/RTP1, RTP4/RTP3/RTP2. The part after the first "/" in the message is called the redundancy package, and the part before the first "/" is called If there is no packet loss during the transmission, the receiver only uses the primary packet as a valid service packet and discards the redundant packet. If there is a packet loss during the transmission, when each RTP packet carries a redundant packet, If the message RTP2/RTP1 is lost, the receiver will resolve the main packet RTP2 from the message RTP3/RTP2 to form a complete packet sequence RTPI, RTP2, RTP3.
其中, RFC2733 协议定义的冗余机制的基本原理是: 在发送报文序列中 增加携带前向纠错 (Forward Error Correction, 筒称" FEC")信息的冗余报文, 接 收方可以使用冗余报文恢复丢失的 RTP报文。 在具体实现时, 可以从媒体数 据流中抽取若干个 RTP报文, 并对它们做异或操作, 生成一个包含 FEC信息 的冗余报文,这个冗余报文可以被接收端用来恢复任何一个用来产生它的 RTP 报文。 例如, 没有冗余报文时的报文发送序列为 a、 b、 c、 d。 有冗余报文时 的报文发送序列为 a、 b、 f(a, b)、 c、 d、 f(c, d), 其中, f(a, b)是冗余报文, 表示报文 a和报文 b异或的结果。 在接收方, 如果没有报文丢失, 则直接丢弃 冗余报文 f(a, b)和 f(c, d); 如果报文 b丢失, 则将报文 a和报文 f(a, b)异或 后即可以恢复报文 b, 从而实现了丢包补偿。 如果报文发送序列为 a、 f(a, b)、 b、 f(b, c)、 c、 f(c, d)、 d, 可以补偿连续两个 文的丢失。 在接收方, 如果 报文 b、 c丢失, 则可以将 a和 f(a, b)异或恢复 b, 将 b和 f(b, c)异或恢复(。  The basic principle of the redundancy mechanism defined by the RFC2733 protocol is: Add redundant messages carrying Forward Error Correction (FEC) information to the transmitted message sequence, and the receiver can use redundancy. The packet recovers the lost RTP packet. In a specific implementation, a plurality of RTP packets may be extracted from the media data stream, and XORed, and a redundant packet containing FEC information may be generated, and the redundant packet may be used by the receiving end to recover any An RTP message used to generate it. For example, the sequence of message transmission when there are no redundant messages is a, b, c, d. The sequence of sending packets with redundant packets is a, b, f(a, b), c, d, f(c, d), where f(a, b) is a redundant message, indicating The result of the exclusive OR of the text a and the message b. On the receiving side, if no packet is lost, the redundant packets f(a, b) and f(c, d) are directly discarded; if the packet b is lost, the packet a and the packet f(a, b) are sent. After the XOR, the message b can be recovered, thereby realizing the packet loss compensation. If the message transmission sequence is a, f(a, b), b, f(b, c), c, f(c, d), d, the loss of two consecutive texts can be compensated. On the receiving side, if the messages b, c are lost, then a and f(a, b) XOR can be restored to b, and b and f(b, c) XOR can be restored (.
使用 RFC2198定义的 RTP冗余机制时, 现有技术方案一般是在呼叫建立 时确定每个 RTP报文携带的冗余包个数, 后续在呼叫过程中每个报文都携带 固定的冗余包个数; 使用 RFC2733定义的 RTP冗余机制时, 现有技术方案一 般在呼叫建立时确定呼叫使用的冗余纠错方式,并在呼叫过程中一直使用该冗 余纠错方式。  When the RTP redundancy mechanism defined in RFC 2198 is used, the prior art solution generally determines the number of redundant packets carried in each RTP packet during call setup, and each packet carries a fixed redundancy packet during the call process. When using the RTP redundancy mechanism defined by RFC2733, the prior art scheme generally determines the redundant error correction mode used by the call when the call is established, and uses the redundant error correction mode during the call.
现有技术具有如下缺点:  The prior art has the following disadvantages:
由于现有技术方案中采用了固定的冗余度进行补偿,如果在呼叫过程中网 络传输环境恶化, 则会导致丢包率上升, 无法满足业务的 QoS需求。 发明内容 Because the fixed redundancy is used in the prior art solution to compensate, if the network transmission environment deteriorates during the call, the packet loss rate will increase and the QoS requirement of the service cannot be met. Summary of the invention
本发明实施例提供一种报文冗余度调整方法、相关设备及网络系统, 能够 降低业务丢包率, 保证业务质量。  The embodiment of the invention provides a packet redundancy adjustment method, a related device and a network system, which can reduce the service packet loss rate and ensure the service quality.
有鉴于此, 本发明实施例提供:  In view of this, the embodiments of the present invention provide:
一种报文冗余度调整方法, 包括:  A packet redundancy adjustment method includes:
获取发送端已向接收端发送的报文序列中各丢包事件的发生次数; 根据各丢包事件的发生次数, 确定待使用的冗余度, 其中, 待使用的冗余 度是能使所述报文序列的丢包率满足丢包要求的冗余度中最小的冗余度;  Obtaining the number of occurrences of each packet loss event in the packet sequence sent by the sender to the receiver; determining the redundancy to be used according to the number of occurrences of each packet loss event, wherein the redundancy to be used is The packet loss ratio of the message sequence satisfies the minimum redundancy among the redundancy requirements of the packet loss requirement;
控制发送端利用所述待使用的冗余度向接收端发送报文。  The control sender sends a message to the receiving end by using the redundancy to be used.
一种发送设备, 包括:  A transmitting device, comprising:
获取单元,用于获取所述发送设备已向接收设备发送的报文序列中各丢包 事件的发生次数;  An obtaining unit, configured to acquire the number of occurrences of each packet loss event in the message sequence that the sending device has sent to the receiving device;
冗余度确定单元,用于根据各丢包事件的发生次数,确定待使用的冗余度, 其中,待使用的冗余度是能使所述报文序列的丢包率满足丢包要求的冗余度中 最小的冗余度;  a redundancy determining unit, configured to determine a redundancy to be used according to the number of occurrences of each packet loss event, where the redundancy to be used is to enable the packet loss rate of the packet sequence to meet the packet loss requirement. The smallest redundancy among the redundancy;
发送单元, 用于利用所述待使用的冗余度向所述接收设备发送报文。  And a sending unit, configured to send a message to the receiving device by using the redundancy to be used.
一种网络系统, 其包括: 上述发送设备, 以及接收设备,  A network system, comprising: the above sending device, and a receiving device,
所述接收设备, 用于接收所述发送设备发送的所述报文序列和所述报文; 向所述发送设备上报所述报文序列中各丢包事件的发生次数。  The receiving device is configured to receive the message sequence and the message sent by the sending device, and report the number of occurrences of each packet loss event in the message sequence to the sending device.
本发明实施例根据报文序列中各丢包事件的发生次数,确定能使报文序列 的丢包率满足丢包要求的冗余度中最小的冗余度为待使用的冗余度,然后控制 发送端利用所述待使用的冗余度向接收端发送报文。由于采用该待使用的冗余 度补偿后的丢包率满足丢包要求, 所以能够保证业务质量; 且由于发送端待使 用的冗余度是满足丢包要求的冗余度中最小的冗余度, 因此, 可以使业务传输 需要的带宽减小, 避免带宽的浪费。 附图说明  In the embodiment of the present invention, according to the number of occurrences of each packet loss event in the packet sequence, it is determined that the minimum redundancy among the redundancy that can satisfy the packet loss requirement of the packet sequence is the redundancy to be used, and then The control sender sends a message to the receiving end by using the redundancy to be used. Since the packet loss rate after the redundancy compensation to be used satisfies the packet loss requirement, the quality of the service can be ensured; and the redundancy to be used at the transmitting end is the smallest redundancy among the redundancy that satisfies the packet loss requirement. Therefore, the bandwidth required for service transmission can be reduced, and the waste of bandwidth can be avoided. DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使 用的附图作筒单地介绍,显而易见地, 下面描述中的附图仅仅是本发明的一些 实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可 以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following needs to be made in the embodiment. BRIEF DESCRIPTION OF THE DRAWINGS The drawings in the following description are merely illustrative of some embodiments of the present invention, and those of ordinary skill in the art may also The drawings obtain other figures.
图 1是本发明实施例提供的报文冗余度调整方法流程图;  FIG. 1 is a flowchart of a method for adjusting packet redundancy according to an embodiment of the present invention;
图 2是本发明实施例提供的基于冗余度从大到小的顺序进行预算的报文冗 余度调整方法流程图;  2 is a flowchart of a message redundancy adjustment method for performing budget based on redundancy from large to small according to an embodiment of the present invention;
图 3是本发明实施例提供的基于冗余度从小到大的顺序进行预算的报文冗 余度调整方法流程图;  FIG. 3 is a flowchart of a message redundancy adjustment method for performing budget based on redundancy from small to large according to an embodiment of the present invention; FIG.
图 4是本发明实施例提供的一种发送设备结构图;  4 is a structural diagram of a transmitting device according to an embodiment of the present invention;
图 5是本发明实施例提供的另一种发送设备结构图;  FIG. 5 is a structural diagram of another sending device according to an embodiment of the present invention;
图 6是本发明实施例提供的又一种发送设备结构图;  6 is a structural diagram of still another transmitting device according to an embodiment of the present invention;
图 7是本发明实施例提供的带有定时器的发送设备结构图;  7 is a structural diagram of a transmitting device with a timer according to an embodiment of the present invention;
图 8是本发明实施例提供的网络系统结构图。 具体实施方式  FIG. 8 is a structural diagram of a network system according to an embodiment of the present invention. detailed description
参阅图 1 , 本发明实施例提供一种报文冗余度调整方法, 该方法包括: 101、 获取发送端已向接收端发送的报文序列中各丢包事件的发生次数。 其中, 本发明实施例各步骤的执行主体可以是发送端也可以是接收端。 其中, 该步骤中的报文序列中各丢包事件可以包括: 丢 1个包事件、 丢 2 个包事件、 丢 3个包事件、 丢 4个包事件等。 其中, 丢 1个包事件是该事件发生 时只丢失一个有效业务包;丢 2个包事件是该事件发生时连续丢失 2个有效业务 包; 丢 3个包事件是该事件发生时连续丢失 3个有效业务包; 丢 4个包事件是该 事件发生时连续丢失 4个有效业务包。 其中, 本发明各实施例中的丢 i个包事件 是指丢 i个有效业务包的事件。  Referring to FIG. 1 , an embodiment of the present invention provides a packet redundancy adjustment method, where the method includes: 101. Obtain a number of occurrences of each packet loss event in a packet sequence that has been sent by a sending end to a receiving end. The execution body of each step of the embodiment of the present invention may be a sender or a receiver. The packet loss event in the packet sequence in the step may include: losing one packet event, dropping two packet events, dropping three packet events, and dropping four packet events. Among them, the loss of one packet event is that only one valid service packet is lost when the event occurs; the loss of two packet events is that two valid service packets are continuously lost when the event occurs; the three packet events are lost continuously when the event occurs. One valid service package; the loss of 4 packet events is the continuous loss of 4 valid service packets when the event occurs. The lost i packet event in the embodiments of the present invention refers to an event in which one valid service packet is lost.
该步骤具体可以是: 发送端利用特定冗余度向接收端发送所述报文序列, 获取接收端上报的所述报文序列中各丢包事件的发生次数; 其中, 所述特定冗 余度可以为 0, 即发送端在不进行丢包补偿的情况下发送所述 ^艮文序列, 该特 定冗余度也可以是 1、 2等值。  The step may be: the sending end sends the message sequence to the receiving end by using the specific redundancy, and the number of occurrences of each packet loss event in the message sequence reported by the receiving end is obtained; wherein, the specific redundancy It may be 0, that is, the transmitting end sends the sequence of the packet without performing packet loss compensation, and the specific redundancy may also be 1, 2 or the like.
其中, 对于 RFC2198协议, 冗余度是发送端允许的每个 RTP报文中携带的 冗余包的个数; 对于 RFC2733协议, 冗余度表示前向纠错方式, 冗余度为 1表 示的前向纠错方式能够补偿丢 1个包事件;冗余度为 2表示的前向纠错方式能够 补偿丢 2个包事件; 冗余度为 3表示的前向纠错方式能够补偿丢 3个包事件; 冗 余度为 4表示的前向纠错方式能够补偿丢 4个包事件。 其中, 采用冗余度为 1表 示的前向纠错方式的报文发送序列可以为: a、 b、 f(a, b)、 c、 d、 f(c, d); 采 用冗余度为 2表示的前向纠错方式的报文发送序列可以为: a、 f(a, b)、 b、 f(b, c)、 c、 f(c, d)、 d; 采用冗余度为 3表示的前向纠错方式的报文发送序列可以 为: a、 b、 f(a,b,c)、 c、 f(a,c,d)、 f(a,b,d)、 d, 其中, 上述各报文发送序列中的 a、 b、 c、 d是有效业务包, f(a, b)、 f(b, c)、 f(c, d)、 f(a,b,c)、 f(a,c,d)、 f(a,b,d) 为冗余包。 For the RFC2198 protocol, the redundancy is carried in each RTP packet allowed by the sender. The number of redundant packets; For the RFC2733 protocol, the redundancy indicates the forward error correction mode, and the forward error correction mode with the redundancy of 1 can compensate for one packet event; the redundancy is 2 for the forward direction. The error correction mode can compensate for 2 packet events; the forward error correction mode with redundancy 3 can compensate for 3 packet events; the forward error correction mode with redundancy 4 can compensate for 4 packet events. . The packet transmission sequence of the forward error correction mode indicated by the redundancy degree may be: a, b, f(a, b), c, d, f(c, d); The sequence of message transmission in the forward error correction mode indicated by 2 may be: a, f(a, b), b, f(b, c), c, f(c, d), d; The sequence of message transmission in the forward error correction mode indicated by 3 may be: a, b, f(a, b, c), c, f(a, c, d), f(a, b, d), d Where a, b, c, and d in the above-mentioned respective message transmission sequences are valid service packets, f(a, b), f(b, c), f(c, d), f(a, b, c), f(a, c, d), f(a, b, d) are redundant packets.
102、 根据各丢包事件的发生次数, 确定待使用的冗余度, 其中, 待使用 的冗余度是能使所述报文序列的丢包率满足丢包要求的冗余度中最小的冗余 度。  102. Determine, according to the number of occurrences of each packet loss event, the redundancy to be used, where the redundancy to be used is the smallest redundancy that enables the packet loss rate of the packet sequence to meet the packet loss requirement. Redundancy.
其中, 满足丢包要求可以是小于预置的丢包门限; 所述报文序列的丢包率 是各丢包事件导致的丢包率之和。  The packet loss requirement is smaller than the preset packet loss threshold; the packet loss rate of the packet sequence is the sum of packet loss rates caused by each packet loss event.
由于如果发送端向接收端发出的报文序列中的丢包事件仅仅只是 "丢 1个 包事件", 那么即使未进行丢包补偿时总的丢包率(即各丢包事件的丢包率之 和)再大,采用冗余度为 1的补偿方式也可以保证补偿后总的丢包率为 0,这时, 即使采用冗余度为 2或者冗余度为 3的补偿方式,也没有任何意义,反而会浪费 带宽。基于这个考虑, 该步骤确定的待使用冗余度是丢包率之和满足丢包要求 的冗余度中最小的冗余度。  If the packet loss event in the message sequence sent by the sender to the receiver is only "lost one packet event", the total packet loss rate (ie, the packet loss rate of each packet loss event) is not performed even if packet loss compensation is not performed. The sum is larger, and the compensation method with redundancy of 1 can also ensure that the total packet loss rate after compensation is 0. In this case, even if the compensation method with redundancy 2 or redundancy 3 is used, there is no compensation method. Any meaning, it will waste bandwidth. Based on this consideration, the redundancy to be used determined in this step is the smallest redundancy among the redundancy of the packet loss rate and the packet loss requirement.
其中, 该步骤 102具体可以采用如下方式实现: 根据各丢包事件的发生次 数, 从所述最大冗余度开始递减, 逐个对冗余度执行判断步骤, 所述判断步骤 为判断采用冗余度补偿后的所述报文序列的丢包率是否满足丢包要求;将最小 的能够满足所述丢包要求的冗余度确定为待使用的冗余度。其中, 采用冗余度 补偿后的所述报文序列的丢包率的计算步骤包括: 对于丢 i个包事件, 当 i大于 冗余度 j时, 计算丢包数 = ( i-j ) *丢 i个包事件的发生次数; 根据大于 j的各丢包 事件的丢包数和所述报文序列中的有效业务包数, 得到采用所述冗余度 j补偿 后的所述报文序列的丢包率。 其中, 具体的, 可以先根据大于 j的各丢包事件 的丢包数和所述报文序列中的有效业务包数, 求出大于 j的各丢包事件的丢包 率, 然后求大于 j的各丢包事件的丢包率之和, 所述和为采用所述冗余度 j补偿 后的所述报文序列的丢包率; 或者, 先求大于 j的各丢包事件的丢包数之和, 用所述和除以所述报文序列中的有效业务包数, 得到采用所述冗余度 j补偿后 的所述报文序列的丢包率。 其中, 从所述最大冗余度开始递减, 逐个对冗余度 执行判断步骤,表示从所述最大冗余度开始执行判断步骤, 并不表示对所有冗 余度都执行该判断步骤, 可以在找到所述待使用的冗余度后就停止判断步骤。 The step 102 may be implemented in the following manner: According to the number of occurrences of each packet loss event, the maximum redundancy is decremented, and the determining step is performed on the redundancy one by one, and the determining step is to determine the redundancy. Whether the packet loss rate of the compensated packet sequence satisfies the packet loss requirement; and the minimum redundancy that can satisfy the packet loss requirement is determined as the redundancy to be used. The calculating step of the packet loss rate of the packet sequence after the redundancy compensation includes: for the i packet event, when i is greater than the redundancy j, the number of lost packets is calculated = ( ij ) * lost i The number of occurrences of the packet event; according to the number of lost packets of each packet loss event greater than j and the number of valid service packets in the message sequence, the packet sequence lost by the redundancy j is obtained. Package rate. Specifically, according to each packet loss event greater than j The number of lost packets and the number of valid service packets in the sequence of messages, the packet loss rate of each packet loss event greater than j is obtained, and then the sum of packet loss rates of each packet loss event greater than j is obtained, and the sum is The packet loss rate of the packet sequence compensated by the redundancy j; or, first, the sum of the number of packet loss events of each packet loss event greater than j, and dividing the sum by the message sequence The number of valid service packets is obtained, and the packet loss rate of the message sequence compensated by the redundancy j is obtained. Wherein, starting from the maximum redundancy, performing a determining step on the redundancy one by one, indicating that the determining step is performed from the maximum redundancy, does not mean that the determining step is performed for all the redundancy, and The decision step is stopped after finding the redundancy to be used.
103、 控制发送端利用所述待使用的冗余度向接收端发送报文。  103. The control sending end sends the message to the receiving end by using the redundancy to be used.
其中,如上所述, 本发明实施例各步骤的执行主体可以是发送端也可以是 接收端, 如果执行主体的发送端, 则步骤 103中发送端直接利用所述待使用的 冗余度向接收端发送报文; 如果执行主体是接收端, 则步骤 103中接收端向发 送端返回标识待使用的冗余度的指示信息,发送端接收到该指示信息后, 利用 所述待使用的冗余度向接收端发送报文。  As described above, the execution body of each step of the embodiment of the present invention may be a sender or a receiver. If the sender of the entity is executed, the sender directly receives the redundancy to be used in the step 103. If the executor is the receiving end, the receiving end returns the indication information indicating the redundancy to be used to the sending end, and after receiving the indication information, the transmitting end uses the redundancy to be used. Send a message to the receiver.
可选的, 步骤 101、 步骤 102和步骤 103可以是周期执行的, 即每隔预定 周期就执行步骤 101、 步骤 102和步骤 103, 以便根据传输环境及时的调整冗 余度。 即可以在周期时间到达时,发送端利用特定冗余度向接收端发送用于测 试的报文序列,然后获取接收端上报的该用于测试的报文序列中各丢包事件的 发生次数, 并根据各丢包事件的发生次数, 确定待使用的冗余度; 可选的, 也 可以在周期时间到达时,发送端不发送用于测试的报文序列, 而是直接利用特 定冗余度向接收端发送通话过程中需要传输的数据报文序列, 比如 RTP报文 序列, 获取接收端上报的该报文序列中各丢包事件的发生次数。  Optionally, step 101, step 102, and step 103 may be performed periodically, that is, step 101, step 102, and step 103 are performed every predetermined period to adjust the redundancy in time according to the transmission environment. That is, when the cycle time arrives, the sender sends the message sequence for the test to the receiver with a certain degree of redundancy, and then obtains the number of occurrences of each packet loss event in the message sequence for the test reported by the receiver. And determining the redundancy to be used according to the number of occurrences of each packet loss event; optionally, when the cycle time arrives, the sender does not send the message sequence for testing, but directly utilizes the specific redundancy. Sends a sequence of data packets to be transmitted during the call to the receiving end, such as an RTP packet sequence, and obtains the number of occurrences of each packet loss event in the packet sequence reported by the receiving end.
可选的, 步骤 101、 步骤 102和步骤 103也可以在丢包率大于或等于丢包 门限时执行, 即当判断得到报文序列当前的丢包率大于或等于丢包门限时, 则 执行步骤 101、 步骤 102和步骤 103, 以便在传输环境恶化时及时调整冗余度, 保证业务传输的质量。  Optionally, the step 101, the step 102, and the step 103 are performed when the packet loss ratio is greater than or equal to the packet loss threshold, that is, when the current packet loss rate of the packet sequence is greater than or equal to the packet loss threshold, the step is performed. 101. Step 102 and step 103, in order to adjust the redundancy in time when the transmission environment is deteriorated, and ensure the quality of the service transmission.
本发明实施例根据报文序列中各丢包事件的发生次数,确定能使该报文序 列的丢包率满足丢包要求的冗余度中最小的冗余度为待使用的冗余度,然后控 制发送端利用所述待使用的冗余度向接收端发送报文。由于采用该待使用的冗 余度补偿后的丢包率满足丢包要求, 所以能够保证业务质量; 由于发送端待使 用的冗余度是满足丢包要求的冗余度中最小的冗余度, 因此, 可以使业务传输 需要的带宽减小, 避免带宽的浪费。 In the embodiment of the present invention, according to the number of occurrences of each packet loss event in the packet sequence, the minimum redundancy among the redundancy that can make the packet loss rate of the packet sequence meet the packet loss requirement is the redundancy to be used. The control sender then sends a message to the receiving end using the redundancy to be used. Since the packet loss rate after the redundancy compensation to be used satisfies the packet loss requirement, the quality of the service can be guaranteed; The redundancy used is the smallest redundancy among the redundancy that satisfies the packet loss requirement. Therefore, the bandwidth required for service transmission can be reduced, and the waste of bandwidth can be avoided.
为了使本发明实施例提供的技术方案更加清楚,如下实施例对本发明实施 例提供的技术方案进行详细介绍:  In order to make the technical solutions provided by the embodiments of the present invention more clear, the following embodiments provide a detailed description of the technical solutions provided by the embodiments of the present invention:
参阅图 2, 本发明实施例提供一种报文冗余度调整方法, 该方法以符合 Referring to FIG. 2, an embodiment of the present invention provides a method for adjusting packet redundancy, which is
RFC2198协议的 RTP报文为例, 按照冗余度从大到小的顺序预算各事件的丢 包率之和, 该方法具体包括: As an example, the RTP packet of the RFC 2198 protocol is used to calculate the sum of the packet loss rates of events according to the redundancy from large to small. The method includes:
201、 呼叫建立时, 发送端确定最大冗余度以及当前业务的丢包门限。 其中, 丢包门限是由当前业务的类型决定的, 一般来说, 实时语音、 视频 业务的丢包门限为 1 % , 实时数据业务的丢包门限为 0 %。  201. When the call is established, the sending end determines the maximum redundancy and the packet loss threshold of the current service. The packet loss threshold is determined by the type of the current service. Generally, the real-time voice service has a packet loss threshold of 1%, and the real-time data service has a packet loss threshold of 0%.
其中, 最大冗余度是发送端允许的最大的冗余度。 最大冗余度一般预置在 产品中, 不同型号的产品的最大冗余度可以不同。  Among them, the maximum redundancy is the maximum redundancy allowed by the sender. The maximum redundancy is usually preset in the product, and the maximum redundancy of different models can be different.
202、 呼叫开始中, 发送端不采用丢包补偿方式, 直接向接收端发送 RTP 报文序列。  202. In the start of the call, the sending end does not use the packet loss compensation mode, and directly sends an RTP message sequence to the receiving end.
该步骤中, 发送端采用的冗余度为 0。  In this step, the sender uses a redundancy of zero.
203、接收端根据接收的 RTP报文的序列号,确定该 RTP报文序列中的各 丢包事件的发生次数, 向发送端上报实时传输控制协议( Real-Time Transport Control Protocol, 筒称 "RTCP" )报文, 该 RTCP报文中携带各丢包事件的发 生次数, 发送端根据该 RTCP报文, 获得网络环境的预测结果, 其中, 网络环 境的预测结果包括各丢包事件的发生次数、 该 RTP报文序列中总丢包率等。  203. The receiving end determines the number of occurrences of each packet loss event in the RTP packet sequence according to the sequence number of the received RTP packet, and reports the real-time transport control protocol (Real-Time Transport Control Protocol) to the transmitting end. a packet, the RTCP packet carries the number of occurrences of each packet loss event, and the sender obtains a prediction result of the network environment according to the RTCP packet, wherein the prediction result of the network environment includes the number of occurrences of each packet loss event, The total packet loss rate in the RTP message sequence.
其中, RTP协议和 RTCP协议是配合使用的, RTP协议用于传输业务报文, RTCP协议用于监控和反馈 RTP报文在 IP网络上的传输情况, 在呼叫进行过 程中, 接收端会定期向发送端反馈 RTCP报文。  The RTP protocol and the RTCP protocol are used together. The RTP protocol is used to transmit service packets. The RTCP protocol is used to monitor and feedback the transmission of RTP packets on the IP network. During the call progress, the receiver periodically sends The sender feeds back the RTCP packet.
其中, 由于每个 RTP报文具有唯一的序列号, 该步骤中接收端根据所接 收的 RTP报文的序列号, 可以确定各丢包事件的发生次数, 比如发送端发出 的 RTP报文序列中的 RTP报文有 10个, 序列号分别为 1-10, 则如果接收端 接收到的 RTP报文序列号为: 1、 2、 3、 5、 8、 10, 则由于接收端没有接收到 序列号为 4的 RTP报文、 序列号为 6的 RTP报文、 序列号为 7的 RTP报文、 序列号为 9的 RTP报文, 则接收端可以确定这个报文序列中丢 1个包事件的 发生次数为 次(即一个丢 1个包事件为丢序列号为 4的 RTP报文, 另一个 丢 1个包事件为丢序列号为 9的 RTP报文), 丢 2个包事件的发生次数为 1次 (即丢序列号为 6的 RTP报文和丢序列号为 7的 RTP报文)。 The RTP packet has a unique sequence number. In this step, the receiving end determines the number of occurrences of each packet loss event according to the sequence number of the received RTP packet, for example, in the RTP packet sequence sent by the sender. There are 10 RTP messages, and the sequence numbers are 1-10. If the RTP message sequence number received by the receiver is 1, 2, 3, 5, 8, or 10, the receiver does not receive the sequence. The RTP packet with the number 4, the RTP packet with the sequence number of 6, the RTP packet with the sequence number of 7, and the RTP packet with the sequence number of 9, the receiver can determine that one packet event is lost in the packet sequence. of The number of occurrences is the second (that is, one packet loss event is the RTP packet with the sequence number 4 lost, and the other one packet event is the RTP packet with the sequence number 9 lost). The number of occurrences of the two packet events is lost. It is 1 time (that is, the RTP message with sequence number 6 and the RTP message with sequence number 7 are lost).
可选的, 该 RTCP报文中还可以携带各丢包事件导致的丢包数, 各丢包事 件导致的丢包率、 RTP报文序列中的总丢包数等。  Optionally, the RTCP packet may also carry the number of packet loss caused by each packet loss event, the packet loss rate caused by each packet loss event, and the total number of packet loss in the RTP packet sequence.
其中, 现有的 RTCP报文中包括: 累计报文丢失数( cumulative number of packets lost )字段、 扩展 ό 接 4史最高序歹 l)号 ( extended highest sequence number received )字段和草案特有扩展 ( profile- specific extensions )字段; 其中, 累计 报文丢失数字段标识一段时间段内的总丢包数,本实施例中假定该时间段内传 输上述 RTP报文序列, 则累计报文丢失数字段标识上述 RTP报文序列中的总 丢包数; 扩展的接收最高序列号字段标识该丢包统计截止的序列号。本发明实 施例扩展了草案特有扩展字段,在草案特有扩展字段中携带了各丢包事件的发 生次数, 可选的, 其还可以携带各丢包事件导致的丢包数, 各丢包事件导致的 丢包率等。  The existing RTCP packet includes: a cumulative number of packets lost field, an extended highest sequence number received field, and a draft-specific extension (profile). a specific extensions field, where the accumulated packet loss number field identifies the total number of lost packets in a period of time. In this embodiment, it is assumed that the RTP packet sequence is transmitted during the time period, and the accumulated packet loss number field identifies the above. The total number of lost packets in the RTP packet sequence; the extended received highest sequence number field identifies the sequence number of the packet loss statistics. The embodiment of the present invention extends the draft-specific extension field, and the number of occurrences of each packet loss event is carried in the draft-specific extension field. Optionally, the number of packet loss caused by each packet loss event may also be carried, and each packet loss event is caused. The rate of packet loss and so on.
204、 发送端判断定时器是否超时, 如果是, 则执行步骤 205 , 如果否, 执行步骤 211。  204: The sending end determines whether the timer expires. If yes, step 205 is performed, and if no, step 211 is performed.
其中,发送端预置定时器的时长, 当定时器超时则表示到达发送端调整冗 余度的时刻。  The duration of the preset timer of the sending end, when the timer expires, indicates the time when the transmitting end adjusts the redundancy.
205、 发送端设置冗余度 j =最大冗余度 N。  205. The sender sets the redundancy j = the maximum redundancy N.
该冗余度 j为待预测丢包率的冗余度。  The redundancy j is the redundancy of the packet loss rate to be predicted.
206、 发送端预算采用冗余度 j补偿后, 各丢包事件的丢包率之和, 比较 各丢包事件的丢包率之和是否小于丢包门限,如果是,执行步骤 207; 如果否, 执行步骤 210。  The sum of the packet loss ratios of the packet loss events is compared with the packet loss rate of each packet loss event, and the sum of the packet loss ratios of the packet loss events is smaller than the packet loss threshold. If yes, go to step 207; , go to step 210.
其中, 预算采用冗余度 j补偿后, 各丢包事件的丢包率之和的具体过程包 括: 对于丢 i个包事件, 当 i大于冗余度 j时, 计算丢包数 = ( i-j ) *丢 i个包事 件的发生次数;先根据大于 j的各丢包事件的丢包数和该 RTP报文序列中的有 效业务包数, 求出大于 j的各丢包事件的丢包率, 然后求大于 j的各丢包事件 的丢包率之和; 或者, 先求大于 j的各丢包事件的丢包数之和, 用该和除以该 RTP报文序列中的有效业务包数, 得到各丢包事件的丢包率之和。 207、 发送端判断 j是否等于 0, 如果是, 执行步骤 208 , 如果否, 执行步 骤 209。 The specific process of summing the packet loss ratios of each packet loss event after the budget is compensated by the redundancy j includes: For the i packet event, when i is greater than the redundancy j, the number of lost packets is calculated = ( ij ) * The number of occurrences of i packet loss events; firstly, according to the number of packet loss events of each packet loss event greater than j and the number of valid service packets in the RTP message sequence, the packet loss rate of each packet loss event greater than j is obtained. Then, the sum of the packet loss ratios of the packet loss events greater than j is obtained; or, the sum of the number of packet loss events of each packet loss event greater than j is first obtained, and the sum is divided by the number of valid service packets in the RTP packet sequence. , get the sum of the packet loss rate of each packet loss event. 207. The sending end determines whether j is equal to 0. If yes, go to step 208. If no, go to step 209.
208、 发送端确定冗余度 0为待使用的冗余度, 执行步骤 211。  208. The sending end determines that the redundancy degree is the redundancy to be used, and performs step 211.
209、 发送端设置 j = j-l , 返回执行步骤 206。  209. The sending end sets j = j-l , and returns to step 206.
210、 当 j 不是最大冗余度时, 发送端确定 j+1 为待使用的冗余度, 当 j 是最大冗余度时, 发送端确定 j为待使用的冗余度。  210. When j is not the maximum redundancy, the sender determines that j+1 is the redundancy to be used. When j is the maximum redundancy, the sender determines j as the redundancy to be used.
211、 发送端判断当前进行的呼叫业务是否结束, 如果否, 执行步骤 212, 如果是, 结束本流程。  211. The sending end determines whether the currently performed call service ends. If no, go to step 212. If yes, end the process.
212、 发送端利用所述待使用的冗余度向接收端发送 RTP报文。  212. The sending end sends the RTP packet to the receiving end by using the redundancy to be used.
需要说明的是, 在下一次定时器超时时,发送端不采用任何丢包补偿方式 It should be noted that when the next timer expires, the sender does not use any packet loss compensation mode.
(即, 此时冗余度为 0 ), 直接向接收端发送需传输的 RTP报文序列, 重复执 行步骤 205-步骤 212。 (ie, the redundancy is 0 at this time), directly send the RTP message sequence to be transmitted to the receiving end, and repeat steps 205-212.
本发明实施例发送端根据 RTP报文序列中各丢包事件的发生次数, 按照 冗余度从大到小的方式,预算补偿后的各丢包事件的丢包率之和, 并根据预算 结果, 确定发送端待使用的冗余度, 其中, 发送端待使用的冗余度是丢包率之 和小于丢包门限的冗余度中最小的冗余度。 由于后续发送的 RTP报文采用该 冗余度补偿后的丢包率小于丢包门限, 所以能够保证业务质量; 由于该冗余度 是满足小于丢包门限的冗余度中最小的冗余度, 因此, 可以使业务传输需要的 带宽减小, 避免带宽的浪费。  In the embodiment of the present invention, according to the number of occurrences of each packet loss event in the RTP packet sequence, the sum of the packet loss rates of the packet loss events after budget compensation according to the redundancy degree is large and small, and according to the budget result The redundancy to be used by the transmitting end is determined, where the redundancy to be used by the transmitting end is the smallest redundancy among the redundancy of the packet loss rate and the redundancy of the packet loss threshold. Since the packet loss rate of the RTP packet sent by the subsequent redundancy is smaller than the packet loss threshold, the quality of the service can be guaranteed; since the redundancy is the smallest redundancy among the redundancy smaller than the packet loss threshold. Therefore, the bandwidth required for service transmission can be reduced, and the waste of bandwidth can be avoided.
为了使上述实施例更加清楚, 如下举实例进行说明:  In order to make the above embodiment more clear, an example will be described as follows:
假定步骤 203中接收端发送的 RTP报文序列时丢 1个包事件的发生次数 为 3516次、 丢 1个包事件的发生次数为 531次、 丢 3个包事件的发生次数为 1 05次、 丢 4个包事件的发生次数为 15次, 则发送根据各丢包事件的发生次 数, 可以得到网络环境的测试结果, 网络环境的测试结果具体包括: 各丢包事 件的发生次数、 各丢包事件导致的丢包数、 各丢包事件导致的丢包率、 总的丢 包率、 各丢包事件占总丢包事件的概率等, 其中, 各丢包事件的发生次数、 各 丢包事件导致的丢包数、 各丢包事件导致的丢包率、 总的丢包率、 各丢包事件 占总丢包事件的概率分别 ^^于一段时间段内接收的报文得到的,本发明实施 例中假定该段时间内传输上述 RTP报文序列, 则各丢包事件的发生次数、 各 丢包事件导致的丢包数、 各丢包事件导致的丢包率、 总的丢包率、 各丢包事件 占总丢包事件的概率分别是: 上述 RTP报文序列中各丢包事件的发生次数、 各丢包事件导致的丢包数、 各丢包事件导致的丢包率、 总的丢包率、 各丢包事 件占总丢包事件的概率。 Assume that the number of occurrences of one packet event is 3516 times, the number of occurrences of one packet loss is 531 times, and the number of occurrences of three packet events is 156 times, in the case of the RTP message sequence sent by the receiving end in step 203, If the number of occurrences of the four packet events is 15 times, the number of occurrences of each packet loss event is sent, and the test result of the network environment can be obtained. The test results of the network environment include: the number of occurrences of each packet loss event, and each packet loss. The number of packet loss caused by the event, the packet loss rate caused by each packet loss event, the total packet loss rate, and the probability of each packet loss event occupying the total packet loss event. The number of occurrences of each packet loss event and each packet loss event. The number of lost packets, the packet loss rate caused by each packet loss event, the total packet loss rate, and the probability of each packet loss event occupying the total packet loss event are respectively obtained by the received message in a period of time. In the embodiment, it is assumed that the RTP packet sequence is transmitted during the period of time, and the number of occurrences of each packet loss event and each The number of packet loss caused by the packet loss event, the packet loss rate caused by each packet loss event, the total packet loss rate, and the probability of each packet loss event occupying the total packet loss event are: The packet loss event in the above RTP packet sequence The number of occurrences, the number of lost packets caused by each packet loss event, the packet loss rate caused by each packet loss event, the total packet loss rate, and the probability of each packet loss event accounting for the total packet loss event.
具体数值如下表 1所示。  The specific values are shown in Table 1 below.
Figure imgf000012_0001
Figure imgf000012_0001
表 1  Table 1
假定当前进行的呼叫业务的丢包门限为 3 % , —旦出现丢包后, 也不需要 将丢包率补偿到 0, 只要进行丢包补偿后各丢包事件的总丢包率小于丢包门限 即可。  Assume that the packet loss threshold of the current call service is 3%. After the packet loss occurs, the packet loss rate does not need to be compensated to 0. The total packet loss rate of each packet loss event is less than the packet loss after packet loss compensation. The threshold is OK.
对于上述网络环境的测试结果, 考虑采用余度为 4的方式进行补偿,在冗 余度为 4的方式进行补偿后, 丢包率为 0; 再考虑采用余度为 3的方式进行补 偿, 在冗余度为 3的方式进行补偿时, 对于丢 1个包事件、 丢 2个包事件和丢 3个包事件导致的丢包都可以进行补偿, 对于丢 4个包事件导致的丢包中, 补 偿了 3个包,还有 1个包没有得到补偿,则采用冗余度为 3的方式进行补偿后, 丢包数为 15 , 丢包率为 15/ 30000 , 可见, 该丢包率小于丢包门限。 再考虑采 用余度为 2的方式进行补偿,在冗余度为 1的方式进行补偿时,对于丢 1个包 事件、丢 2个包事件导致的丢包都可以进行补偿,对于丢 3个包事件导致的丢 包中, 补偿了 2个包, 还有 1个包没有得到补偿, 对于丢 4个包事件导致的丢 包中, 补偿了 2个包, 还有 2个包没有得到补偿, 这样, 丢 3个包事件导致的 丢包数为 105 , 丢 4个包事件导致的丢包数为 30 , 则总丢包率为 ( 105+30 ) / 30000 ,可见,总丢包率小于丢包门限;再考虑采用余度为 1的方式进行补偿, 在冗余度为 1的方式进行补偿后,对于丢 1个包事件所引起的丢包都能够得到 补偿; 对于丢 2个包事件, 补偿了 1个包, 还有 1个包没有得到补偿; 对于丢 3个包事件, 补偿了 1个包, 还有 2个包没有得到补偿。 对于丢 4个包事件: 补偿了 1个包,还有 3个包没有得到补偿。如下表 2所示,对于丢 1个包事件, 采用冗余度为 1的方式进行补偿后的总丢包个数为 531个;对于丢 2个包事件, 采用冗余度为 1的方式进行补偿后的总丢包个数为 210个;对于丢 3个包事件, 采用冗余度为 1的方式进行补偿后的总丢包个数为 45个; 则采用冗余度为 1 的方式进行补偿后的各丢包事件导致的总丢包个数为 786。 可见采用冗余度为 1的方式进行补偿后, 丢 1个包事件导致的丢包率为 0 % , 丢 2个包事件导致 的丢包率为 1.77 % ,丢 3个包事件导致的丢包率为 0.70 % ,丢个包事件导致的 丢包率为 0.15 % , 则各丢包事件导致的丢包率之和为 2.62 % , 其小于 3 % , 所 以采用冗余度为 1的补偿方式就可以保证业务质量。 For the test results of the above network environment, consider using the redundancy of 4 to compensate, and after the redundancy is 4, the packet loss rate is 0; then consider using the redundancy of 3 to compensate. When the redundancy is 3, the packet loss caused by one packet loss, two packet events, and three packet events can be compensated. For the packet loss caused by the loss of four packet events, Make up After reimbursing 3 packets and 1 packet is not compensated, the compensation is 3, and the packet loss rate is 15/30000. It can be seen that the packet loss rate is less than the loss. Package threshold. Consider the method of using the redundancy of 2 to compensate. When the redundancy is 1, the packet loss caused by losing one packet event and dropping two packet events can be compensated. For the loss of three packets. In the packet loss caused by the event, 2 packets are compensated, and 1 packet is not compensated. In the packet loss caused by the 4 packet event, 2 packets are compensated, and 2 packets are not compensated. The number of lost packets caused by 3 packet loss events is 105, and the number of lost packets caused by 4 packet loss events is 30. The total packet loss rate is (105+30) / 30000. It can be seen that the total packet loss rate is less than the packet loss. Threshold; consider using the method of redundancy 1 to compensate. After the compensation is 1 mode, the packet loss caused by one packet event can be compensated. For the loss of 2 packet events, compensation One packet, and one packet are not compensated; for the loss of three packet events, one packet is compensated, and two packets are not compensated. For the loss of 4 packets: 1 package is compensated, and 3 packages are not compensated. As shown in Table 2 below, for the loss of one packet event, the total number of lost packets after the redundancy is 1 is 531. For the loss of two packet events, the redundancy is 1. The total number of lost packets after compensation is 210. For the loss of 3 packet events, the total number of lost packets after the redundancy is 1 is 45; then the redundancy is 1 The total number of lost packets caused by the compensated packet loss events is 786. It can be seen that the packet loss rate is 0% due to the loss of one packet event, and the packet loss rate caused by the loss of two packet events is 1.77%, and the packet loss caused by three packet events is lost. The rate is 0.70%, and the packet loss rate caused by a packet loss event is 0.15 %. The sum of the packet loss rates caused by each packet loss event is 2.62%, which is less than 3%. Therefore, the compensation method with redundancy of 1 is used. Can guarantee the quality of the business.
冗余度为 1的 Redundancy 1
冗余度为 1的 丢包事 方式进行补  Compensate for the loss of 1
事件数 丢包数 丢包率 方式进行补偿 件概率 偿后的丢包  Number of events, number of lost packets, packet loss rate, method of compensation, probability of failure, packet loss after reimbursement
后的丢包率 数  Packet loss rate
丢 1个包事件 3516 3516 84.38% 11.72% 0 0.00%  Lost 1 package event 3516 3516 84.38% 11.72% 0 0.00%
丢 2个包事件 531 1062 12.74% 3.54% 531 1.77%  Lost 2 package events 531 1062 12.74% 3.54% 531 1.77%
丢 3个包事件 105 315 2.52% 1.05% 210 0.70%  Lost 3 package events 105 315 2.52% 1.05% 210 0.70%
丢 4个包事件 15 60 0.36% 0.20% 45 0.15%  Lost 4 package events 15 60 0.36% 0.20% 45 0.15%
总丢包事件 4167  Total packet loss event 4167
总不丢包事件 25047  Total no loss event 25047
总丢包数 4953  Total packet loss 4953
总发包数 30000  Total number of packages 30,000
总丢包率 16.51%  Total packet loss rate 16.51%
表 2  Table 2
参阅图 3, 本发明实施例提供又一种报文冗余度调整方法, 该方法以符合 RFC2198协议的 RTP报文为例, 按照冗余度从小到大的顺序预算各事件的丢 包率之和, 该方法具体包括: Referring to FIG. 3, another embodiment of the present invention provides a packet redundancy adjustment method. The method uses an RTP packet conforming to the RFC2198 protocol as an example, and the packet loss rate of each event is budgeted according to the redundancy from small to large. And, the method specifically includes:
步骤 301-303与步骤 201-203相同, 在此不再赘述。  Steps 301-303 are the same as steps 201-203, and are not described herein again.
304、 发送端判断定时器是否超时, 如果是, 则执行步骤 305 , 如果否, 执行步骤 310。  304. The sending end determines whether the timer expires. If yes, step 305 is performed. If no, step 310 is performed.
305、 发送端设置冗余度 j = 0。  305. The sender sets the redundancy j = 0.
在另一种可选的实施方式中, 发送端可以设置冗余度 j = 1。  In another alternative embodiment, the sender can set the redundancy j = 1.
306、 发送端预算采用冗余度 j补偿后, 各丢包事件的丢包率之和, 比较 各丢包事件的丢包率之和是否大于或者等于丢包门限,如果是,执行步骤 307; 如果否, 执行步骤 309。  306, the sender's budget is compensated by the redundancy j, the sum of the packet loss rate of each packet loss event, comparing whether the sum of the packet loss rate of each packet loss event is greater than or equal to the packet loss threshold, and if so, executing step 307; If no, go to step 309.
其中, 预算采用冗余度 j补偿后, 各丢包事件的丢包率之和的具体过程与 步骤 305相似, 在此不再赘述。  The specific process of the sum of the packet loss ratios of the packet loss events is similar to the step 305, and is not described here.
307、 j = j+l。  307, j = j+l.
308、 发送端判断 j是否等于 N, 如果否, 返回执行步骤 306; 如果是, 执 行步骤 309。  308. The sender determines whether j is equal to N. If no, returns to step 306; if yes, step 309 is performed.
309、 发送端确定冗余度 j为待使用的冗余度。 步骤 310-311与步骤 211-212相同, 在此不再赘述。 309. The sender determines that the redundancy j is the redundancy to be used. Steps 310-311 are the same as steps 211-212, and are not described herein again.
本发明实施例发送端根据 RTP报文序列中各丢包事件的发生次数, 按照 冗余度从小到大的方式,预算补偿后的各丢包事件的丢包率之和, 并根据预算 结果, 确定发送端待使用的冗余度, 其中, 发送端待使用的冗余度是丢包率之 和小于丢包门限的冗余度中最小的冗余度。 由于后续发送的 RTP报文采用该 冗余度补偿后的丢包率之和小于丢包门限, 能够保证业务质量; 由于该冗余度 是满足小于丢包门限的冗余度中最小的冗余度, 因此, 可以使业务传输需要的 带宽减小, 避免带宽的浪费。 参阅图 4, 本发明一实施例提供一种发送设备, 其包括:  In the embodiment of the present invention, according to the number of occurrences of each packet loss event in the RTP packet sequence, according to the redundancy from small to large, the sum of packet loss rates of the packet loss events after budget compensation, and according to the budget result, The redundancy to be used by the transmitting end is determined, wherein the redundancy to be used by the transmitting end is the smallest redundancy among the redundancy of the packet loss rate and the redundancy of the packet loss threshold. The sum of the packet loss ratios of the RTP packets sent by the subsequent redundancy is smaller than the packet loss threshold, which ensures the quality of the service; since the redundancy is the smallest redundancy among the redundancy smaller than the packet loss threshold. Therefore, the bandwidth required for service transmission can be reduced, and the waste of bandwidth can be avoided. Referring to FIG. 4, an embodiment of the present invention provides a sending device, including:
获取单元 10,用于获取所述发送设备已向接收设备发送的报文序列中各丢 包事件的发生次数;  The obtaining unit 10 is configured to acquire the number of occurrences of each packet loss event in the message sequence that the sending device has sent to the receiving device.
冗余度确定单元 20,用于根据各丢包事件的发生次数,确定待使用的冗余 度, 其中,待使用的冗余度是能使所述报文序列的丢包率满足丢包要求的冗余 度中最小的冗余度; 其中, 满足丢包要求可以是小于预定的丢包门限。  The redundancy determining unit 20 is configured to determine, according to the number of occurrences of each packet loss event, the redundancy to be used, where the redundancy to be used is to enable the packet loss rate of the packet sequence to meet the packet loss requirement. The smallest redundancy among the redundancy; wherein the packet loss requirement may be less than a predetermined packet loss threshold.
发送单元 30, 用于利用所述待使用的冗余度向所述接收设备发送报文。 其中,所述获取单元 10具体用于利用特定冗余度向接收设备发送所述报文 序列, 并获取所述接收设备上报的所述报文序列中各丢包事件的发生次数。其 中, 特定冗余度可以为 0或者其他值, 不影响本发明的实现。  The sending unit 30 is configured to send a message to the receiving device by using the redundancy to be used. The obtaining unit 10 is specifically configured to send the message sequence to the receiving device by using a specific redundancy, and obtain the number of occurrences of each packet loss event in the message sequence reported by the receiving device. Among them, the specific redundancy may be 0 or other values, which does not affect the implementation of the present invention.
如图 5所示, 冗余度确定单元 20具体可以包括: 判断单元 21 , 用于根据各 丢包事件的发生次数,从所述最大冗余度开始递减,逐个对冗余度执行判断步 骤,所述判断步骤为判断采用冗余度补偿后的所述报文序列的丢包率是否满足 丢包要求; 和确定单元 22, 用于将最小的能够满足所述丢包要求的冗余度确定 为待使用的冗余度。  As shown in FIG. 5, the redundancy determining unit 20 may specifically include: a determining unit 21, configured to perform decrementing from the maximum redundancy according to the number of occurrences of each packet loss event, and perform a determining step on the redundancy one by one, The determining step is to determine whether the packet loss rate of the packet sequence after the redundancy compensation is used meets the packet loss requirement; and the determining unit 22 is configured to determine the minimum redundancy that can satisfy the packet loss requirement. For redundancy to be used.
如图 6所示, 上述判断单元 21具体可以包括: 丢包率获取子单元 23, 用于 根据各丢包事件的发生次数,从所述最大冗余度开始递减,逐个对冗余度执行 如下操作: 对于丢 i个包事件, 当 i大于冗余度 j时, 计算丢包数 = ( i-j ) *丢 i个包 事件的发生次数; 根据大于 j的各丢包事件的丢包数和所述报文序列中的有效 业务包数, 得到采用所述冗余度 j补偿后的所述报文序列的丢包率; 和判断子 单元 24, 用于判断采用冗余度 j补偿后的所述报文序列的丢包率是否满足丢包 要求。 其中, 具体的根据大于 j的各丢包事件的丢包数和所述报文序列中的有 效业务包数, 得到采用所述冗余度 j补偿后的所述报文序列的丢包率的实现方 式与方法实施例相似, 在此不再赞述。 As shown in FIG. 6, the determining unit 21 may specifically include: a packet loss rate obtaining sub-unit 23, configured to decrement from the maximum redundancy according to the number of occurrences of each packet loss event, and perform redundancy on a redundancy basis as follows Operation: For the event of losing i packets, when i is greater than the redundancy j, the number of lost packets is calculated = ( ij ) * the number of occurrences of i packet events; the number of packets lost according to each packet loss event greater than j The number of valid service packets in the sequence of the message, and the packet loss rate of the message sequence compensated by the redundancy j is obtained; and the determiner The unit 24 is configured to determine whether the packet loss rate of the packet sequence compensated by the redundancy j satisfies the packet loss requirement. The packet loss rate of the packet sequence compensated by the redundancy j is obtained according to the number of packet loss events of each packet loss event greater than j and the number of valid service packets in the packet sequence. The implementation is similar to the method embodiment and will not be mentioned here.
如图 7所示, 在一种具体实施方式中, 该发送设备还包括: 定时器 40, 用 于在定时时间到达时,触发所述获取单元利用特定冗余度向接收设备发送所述 报文序列。 其中, 该报文序列可以是用于测试的报文序列, 也可以是发送设备 与接收设备之间需要传输的报文序列, 比如 RTP报文序列, 不影响本发明的实 现; 其中, 发送单元 30所发送的报文是发送设备与接收设备之间需要传输的 RTP报文。 定能使该报文序列的丢包率满足丢包要求的冗余度中最小的冗余度为待使用 的冗余度, 然后发送单元利用所述待使用的冗余度向所述接收设备发送报文。 由于采用该冗余度补偿后的丢包率满足丢包要求, 所以能够保证业务质量; 由 于该冗余度是满足丢包要求的冗余度中最小的冗余度, 因此, 可以使业务传输 需要的带宽减小, 避免带宽的浪费。 参阅图 8, 本发明实施例提供一种网络系统, 其包括: 发送设备 50和接 收设备 60, 其中,  As shown in FIG. 7, in a specific implementation, the sending device further includes: a timer 40, configured to trigger, when the timing time arrives, the acquiring unit to send the packet to the receiving device by using a specific redundancy. sequence. The message sequence may be a sequence of messages used for testing, or a sequence of messages to be transmitted between the sending device and the receiving device, such as an RTP message sequence, which does not affect the implementation of the present invention; The message sent by 30 is an RTP message that needs to be transmitted between the sending device and the receiving device. The minimum redundancy among the redundancy that enables the packet loss rate of the message sequence to meet the packet loss requirement is the redundancy to be used, and then the transmitting unit uses the redundancy to be used to the receiving device. Send a message. Since the packet loss rate after the redundancy compensation is used to meet the packet loss requirement, the service quality can be guaranteed; since the redundancy is the smallest redundancy among the redundancy requirements for meeting the packet loss requirement, the service transmission can be performed. The required bandwidth is reduced to avoid wasting bandwidth. Referring to FIG. 8, an embodiment of the present invention provides a network system, including: a sending device 50 and a receiving device 60, where
发送设备 50,用于获取发送设备 50已向接收设备 60发送的报文序列中各丢 包事件的发生次数;根据各丢包事件的发生次数,确定待使用的冗余度,其中, 待使用的冗余度是能使所述报文序列的丢包率满足丢包要求的冗余度中最小 的冗余度; 利用所述待使用的冗余度向接收设备 60发送报文;  The sending device 50 is configured to obtain the number of occurrences of each packet loss event in the message sequence that the sending device 50 has sent to the receiving device 60, and determine the redundancy to be used according to the number of occurrences of each packet loss event, where to be used The redundancy is the smallest redundancy in the redundancy that enables the packet loss rate of the packet sequence to meet the packet loss requirement; and the packet is sent to the receiving device 60 by using the redundancy to be used;
接收设备 60, 用于接收所述发送设备 50发送的所述报文序列和所述报文, 向所述发送设备上报所述报文序列中各丢包事件的发生次数。  The receiving device 60 is configured to receive the message sequence and the message sent by the sending device 50, and report the number of occurrences of each packet loss event in the message sequence to the sending device.
其中,具体的发送设备的结构和功能可以与上述图 4至图 7所示实施例的 发送设备的结构和功能相同, 在此不再赘述。  The structure and function of the specific sending device may be the same as the structure and function of the sending device in the embodiment shown in FIG. 4 to FIG. 7 , and details are not described herein again.
本发明实施例中发送设备根据报文序列中各丢包事件的发生次数,确定能 使该报文序列的丢包率满足丢包要求的冗余度中最小的冗余度为待使用的冗 余度, 然后利用所述待使用的冗余度向接收设备发送报文。 由于采用该冗余度 补偿后的丢包率满足丢包要求, 所以能够保证业务质量; 由于该冗余度是满足 丢包要求的冗余度中最小的冗余度, 因此, 可以使业务传输需要的带宽减小, 避免带宽的浪费。 In the embodiment of the present invention, the sending device determines, according to the number of occurrences of each packet loss event in the packet sequence, that the redundancy of the packet sequence can meet the packet loss requirement, and the minimum redundancy is the redundancy to be used. The redundancy is then sent to the receiving device using the redundancy to be used. Since the packet loss rate after the redundancy compensation is used to meet the packet loss requirement, the service quality can be guaranteed; since the redundancy is the smallest redundancy among the redundancy requirements for meeting the packet loss requirement, the service transmission can be performed. The required bandwidth is reduced to avoid wasting bandwidth.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可 读存储介质中, 例如只读存储器, 磁盘或光盘等。  A person skilled in the art can understand that all or part of the steps of implementing the foregoing embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, such as a read only memory. Disk or disc, etc.
以上对本发明实施例所提供的报文冗余度调整方法、相关设备及网络系统 进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐 述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围 上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The packet redundancy adjustment method, the related device, and the network system provided by the embodiments of the present invention are described in detail. The principles and implementation manners of the present invention are described in the specific examples. The description of the above embodiments is only The method for understanding the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiment and the scope of application. The description should not be construed as limiting the invention.

Claims

权 利 要 求 Rights request
1、 一种报文冗余度调整方法, 其特征在于, 包括:  A method for adjusting packet redundancy, which is characterized by comprising:
获取发送端已向接收端发送的报文序列中各丢包事件的发生次数; 根据各丢包事件的发生次数, 确定待使用的冗余度, 其中, 待使用的冗余 度是能使所述报文序列的丢包率满足丢包要求的冗余度中最小的冗余度;  Obtaining the number of occurrences of each packet loss event in the packet sequence sent by the sender to the receiver; determining the redundancy to be used according to the number of occurrences of each packet loss event, wherein the redundancy to be used is The packet loss ratio of the message sequence satisfies the minimum redundancy among the redundancy requirements of the packet loss requirement;
控制发送端利用所述待使用的冗余度向接收端发送报文。  The control sender sends a message to the receiving end by using the redundancy to be used.
2、 根据权利要求 1所述的方法, 其特征在于,  2. The method of claim 1 wherein
获取发送端已向接收端发送的报文序列中各丢包事件的发生次数包括: 发送端利用特定冗余度向接收端发送所述报文序列,并获取接收端上报的 所述报文序列中各丢包事件的发生次数。  Obtaining the number of occurrences of each packet loss event in the message sequence that has been sent to the receiving end by the sending end includes: sending, by the sending end, the message sequence to the receiving end by using the specific redundancy, and acquiring the message sequence reported by the receiving end The number of occurrences of each packet loss event.
3、根据权利要求 1所述的方法,其特征在于,根据各丢包事件的发生次数, 确定待使用的冗余度, 包括:  The method according to claim 1, wherein the redundancy to be used is determined according to the number of occurrences of each packet loss event, including:
根据各丢包事件的发生次数,从所述最大冗余度开始递减,逐个对冗余度 执行判断步骤,所述判断步骤为判断采用冗余度补偿后的所述报文序列的丢包 率是否满足丢包要求;将最小的能够满足所述丢包要求的冗余度确定为待使用 的冗余度。  Determining from the maximum redundancy according to the number of occurrences of each packet loss event, performing a determining step on the redundancy one by one, the determining step is determining the packet loss rate of the message sequence after the redundancy compensation is used. Whether the packet loss requirement is met; the minimum redundancy that can satisfy the packet loss requirement is determined as the redundancy to be used.
4、 根据权利要求 3所述的方法, 其特征在于, 采用冗余度补偿后的所述报 文序列的丢包率的计算步骤包括:  The method according to claim 3, wherein the calculating the packet loss rate of the message sequence after the redundancy compensation comprises:
对于丢 i个包事件, 当 i大于冗余度 j时, 计算丢包数 = ( i-j ) *丢 i个包事件的 发生次数;  For the i packet event, when i is greater than the redundancy j, the number of lost packets is calculated = ( i-j ) * The number of occurrences of i packet events is lost;
根据大于 j的各丢包事件的丢包数和所述报文序列中的有效业务包数, 得 到采用所述冗余度 j补偿后的所述 文序列的丢包率。  The packet loss rate of the text sequence compensated by the redundancy j is obtained according to the number of lost packets of each packet loss event greater than j and the number of valid service packets in the packet sequence.
5、 根据权利要求 1所述的方法, 其特征在于, 每隔预定周期, 执行所述各 个步骤。  The method according to claim 1, characterized in that said steps are performed every predetermined period.
6、 一种发送设备, 其特征在于, 包括:  6. A transmitting device, comprising:
获取单元,用于获取所述发送设备已向接收设备发送的报文序列中各丢包 事件的发生次数;  An obtaining unit, configured to acquire the number of occurrences of each packet loss event in the message sequence that the sending device has sent to the receiving device;
冗余度确定单元,用于根据各丢包事件的发生次数,确定待使用的冗余度, 其中,待使用的冗余度是能使所述报文序列的丢包率满足丢包要求的冗余度中 最小的冗余度; a redundancy determining unit, configured to determine a redundancy to be used according to the number of occurrences of each packet loss event, where the redundancy to be used is to enable the packet loss rate of the packet sequence to meet the packet loss requirement. Redundancy Minimum redundancy;
发送单元, 用于利用所述待使用的冗余度向所述接收设备发送报文。  And a sending unit, configured to send a message to the receiving device by using the redundancy to be used.
7、 根据权利要求 6所述的网络设备, 其特征在于,  7. The network device according to claim 6, wherein
所述获取单元, 用于利用特定冗余度向接收设备发送所述报文序列, 并获 取所述接收设备上报的所述报文序列中各丢包事件的发生次数。  The acquiring unit is configured to send the message sequence to the receiving device by using a specific redundancy, and obtain the number of occurrences of each packet loss event in the message sequence reported by the receiving device.
8、 根据权利要求 6所述的发送设备, 其特征在于,  8. The transmitting device according to claim 6, wherein
所述冗余度确定单元包括:  The redundancy determining unit includes:
判断单元,用于根据各丢包事件的发生次数,从所述最大冗余度开始递减, 逐个对冗余度执行判断步骤,所述判断步骤为判断采用冗余度补偿后的所述报 文序列的丢包率是否满足丢包要求;  a judging unit, configured to perform decrementing from the maximum redundancy according to the number of occurrences of each packet loss event, and perform a judging step on the redundancy one by one, the judging step is to determine the packet after the redundancy compensation is used Whether the packet loss rate of the sequence meets the packet loss requirement;
确定单元,用于将最小的能够满足所述丢包要求的冗余度确定为待使用的 冗余度。  A determining unit is configured to determine a minimum redundancy that satisfies the packet loss requirement as a redundancy to be used.
9、 根据权利要求 8所述的发送设备, 其特征在于,  9. The transmitting device according to claim 8, wherein:
所述判断单元包括:  The determining unit includes:
丢包率获取子单元, 用于根据各丢包事件的发生次数,从所述最大冗余度 开始递减, 逐个对冗余度执行如下操作: 对于丢 i个包事件, 当 i大于冗余度 j 时, 计算丢包数 = ( i-j ) *丢 i个包事件的发生次数; 根据大于 j的各丢包事件的 丢包数和所述报文序列中的有效业务包数, 得到采用所述冗余度 j补偿后的所 述报文序列的丢包率;  The packet loss rate obtaining sub-unit is configured to perform decrementing from the maximum redundancy according to the number of occurrences of each packet loss event, and perform the following operations on redundancy one by one: for i packet events, when i is greater than redundancy j, the number of lost packets is calculated = ( ij ) * the number of occurrences of i packet events; the number of lost packets of each packet loss event greater than j and the number of valid service packets in the message sequence are obtained. The packet loss rate of the message sequence after the redundancy j is compensated;
判断子单元, 用于判断采用冗余度 j补偿后的所述报文序列的丢包率是否 满足丢包要求。  The determining subunit is configured to determine whether the packet loss rate of the packet sequence compensated by the redundancy j satisfies the packet loss requirement.
10、 根据权利要求 6所述的发送设备, 其特征在于, 还包括:  The transmitting device according to claim 6, further comprising:
定时器, 用于在定时时间到达时,触发所述获取单元利用特定冗余度向接 收设备发送所述报文序列。  And a timer, configured to trigger the acquiring unit to send the sequence of the message to the receiving device by using a specific redundancy when the timing time arrives.
11、 一种网络系统, 其包括: 权利要求 6-10所述的发送设备, 以及接收设 备,  A network system, comprising: the transmitting device according to claims 6-10, and a receiving device,
所述接收设备, 用于接收所述发送设备发送的所述报文序列和所述报文; 向所述发送设备上报所述报文序列中各丢包事件的发生次数。  The receiving device is configured to receive the message sequence and the message sent by the sending device, and report the number of occurrences of each packet loss event in the message sequence to the sending device.
PCT/CN2011/073255 2011-04-25 2011-04-25 Method for adjusting packet redundancy, device and network system thereof WO2011110130A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/073255 WO2011110130A2 (en) 2011-04-25 2011-04-25 Method for adjusting packet redundancy, device and network system thereof
CN201180000267.5A CN102845008B (en) 2011-04-25 2011-04-25 Message redundancy method of adjustment, relevant device and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/073255 WO2011110130A2 (en) 2011-04-25 2011-04-25 Method for adjusting packet redundancy, device and network system thereof

Publications (2)

Publication Number Publication Date
WO2011110130A2 true WO2011110130A2 (en) 2011-09-15
WO2011110130A3 WO2011110130A3 (en) 2012-04-19

Family

ID=44563909

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073255 WO2011110130A2 (en) 2011-04-25 2011-04-25 Method for adjusting packet redundancy, device and network system thereof

Country Status (2)

Country Link
CN (1) CN102845008B (en)
WO (1) WO2011110130A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017173880A1 (en) * 2016-04-06 2017-10-12 华为技术有限公司 Method and device for reducing packet loss ratio of transmission

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225532B (en) * 2019-04-25 2023-01-17 维沃移动通信有限公司 Data receiving method and terminal equipment
CN114554198B (en) * 2022-04-27 2022-08-26 广州番禺职业技术学院 Video key frame redundancy transmission method and system based on erasure codes

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438105B1 (en) * 1999-02-08 2002-08-20 3Com Corporation Reliable internet facsimile protocol
JP2006174299A (en) * 2004-12-17 2006-06-29 Nippon Telegr & Teleph Corp <Ntt> Data distribution method, receiver, computer program and recording medium recording computer program
CN101030832A (en) * 2006-03-03 2007-09-05 华为技术有限公司 Method and system for realizing realtime transmission protocol message redundancy
CN101719809A (en) * 2009-11-25 2010-06-02 中兴通讯股份有限公司 Method and system for recovering lost media data packet
CN101729320A (en) * 2009-12-14 2010-06-09 华为技术有限公司 Transmission control method, access device and transmission system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123588B (en) * 2007-09-14 2013-01-23 华为技术有限公司 Method, media gateway and system for controlling redundant data packet transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438105B1 (en) * 1999-02-08 2002-08-20 3Com Corporation Reliable internet facsimile protocol
JP2006174299A (en) * 2004-12-17 2006-06-29 Nippon Telegr & Teleph Corp <Ntt> Data distribution method, receiver, computer program and recording medium recording computer program
CN101030832A (en) * 2006-03-03 2007-09-05 华为技术有限公司 Method and system for realizing realtime transmission protocol message redundancy
CN101719809A (en) * 2009-11-25 2010-06-02 中兴通讯股份有限公司 Method and system for recovering lost media data packet
CN101729320A (en) * 2009-12-14 2010-06-09 华为技术有限公司 Transmission control method, access device and transmission system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017173880A1 (en) * 2016-04-06 2017-10-12 华为技术有限公司 Method and device for reducing packet loss ratio of transmission

Also Published As

Publication number Publication date
CN102845008A (en) 2012-12-26
CN102845008B (en) 2015-11-25
WO2011110130A3 (en) 2012-04-19

Similar Documents

Publication Publication Date Title
EP3940974B1 (en) Transmission method and device for data stream
JP4328602B2 (en) Packet error correction apparatus and method
JP5351170B2 (en) Method and configuration for efficient multimedia transmission in wireless packet networks
CN101030832B (en) Method and system for realizing realtime transmission protocol message redundancy
JP4840365B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
RU2392772C2 (en) Traffic formation in dormant state of user plane
WO2005027394A1 (en) Transmission parameter control device
JP3730974B2 (en) Media transmission method and transmission device therefor
WO2011079822A1 (en) Method and apparatus for ensuring quality of service of internet protocol television live broadcast service
US11190455B2 (en) Decoding of a media stream at a packet receiver
WO2011110130A2 (en) Method for adjusting packet redundancy, device and network system thereof
Dhawaskar Sathyanarayana et al. Converge: Qoe-driven multipath video conferencing over webrtc
WO2008001580A1 (en) Communication apparatus and method
Pyun Context-aware streaming video system for vertical handover over wireless overlay network
US11317058B2 (en) System and method of wireless communication using a dynamic multicast distribution scheme
Huang et al. An embedded packet train and adaptive FEC scheme for VoIP over wired/wireless IP networks
Toral-Cruz et al. An introduction to VoIP: End-to-end elements and QoS parameters
JP5523163B2 (en) Transmission device, transmission method, and program
US10687067B2 (en) Transmitter, transmission method, and communication system
JP2009260719A (en) Data transmission terminal device and data transmission method
KR20080037950A (en) Method and apparatus for transmitting/receiving data
Sreeraj et al. SCTP and FEC based Loss Recovery Technique for VoIP
CN115765954A (en) Method for optimizing transmission of stream media with ultrahigh code rate in weak network environment
Curcio QoS Aspects of Mobile Multimedia Applications
Yunus et al. Proposed Technique for Transport Protocol in Wireless Sensor Network (WSN) for Multimedia Application

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000267.5

Country of ref document: CN

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

Ref document number: 11752873

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11752873

Country of ref document: EP

Kind code of ref document: A2