WO2013086671A1 - Procédé et dispositif de traitement de données multimédias rtp - Google Patents
Procédé et dispositif de traitement de données multimédias rtp Download PDFInfo
- Publication number
- WO2013086671A1 WO2013086671A1 PCT/CN2011/083824 CN2011083824W WO2013086671A1 WO 2013086671 A1 WO2013086671 A1 WO 2013086671A1 CN 2011083824 W CN2011083824 W CN 2011083824W WO 2013086671 A1 WO2013086671 A1 WO 2013086671A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- basic
- packet
- rtp payload
- rtp
- packets
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1033—Signalling gateways
- H04L65/1036—Signalling gateways at the edge
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
Definitions
- the present invention relates to a data processing technology, and in particular, to a real-time transport protocol (RTT) media data processing method and device.
- RTT real-time transport protocol
- RTP Real-time Transport Protocol
- IP bearer network the format of the RTP packet is: IP header + User Datagram Protocol (UDP) header + RTP header + RTP payload (that is, RTP media data after encoding processing).
- UDP User Datagram Protocol
- RTP payload that is, RTP media data after encoding processing
- the gateway device may decode a packet-length RTP payload of the IP bearer network where the sender device is located by adding a Trans-coder (TC). Processing, and then encoding into another packet-length RTP payload of the IP bearer network where the receiving device is located.
- TC Trans-coder
- the embodiment of the invention provides a method and a device for processing RTP media data, which are used to save system resources and reduce system cost.
- the gateway device receives the first IP data packet that is sent by the sending end device and includes the first RTP payload; the gateway device according to the first RTP payload corresponding to the basic packet packing time of the codec protocol and the first RTP net Generating the first RTP payload into at least one basic packet, the size of each of the basic packets being encoded by the gateway device according to the basic packet packing duration and the encoding of each of the basic packets Rate determination
- the gateway device assembles the split at least one basic packet into a second RTP payload according to the basic packet packing duration and a packing duration of the RTP payload receivable by the receiving device, and includes the first The second IP data packet of the second RTP payload is sent to the receiving end device.
- Another aspect provides a processing device for RTP media data, including:
- a receiving unit configured to receive a first IP data packet that is sent by the sending end device and includes a first RTP payload
- a splitting unit configured to split the first RTP payload into at least one basic according to a basic packet packing duration of the codec protocol corresponding to the first RTP payload and a packing duration of the first RTP payload a packet, the size of each of the basic packets is determined by the gateway device according to the basic packet packing duration and a coding rate of each of the basic packets;
- the assembling unit is configured to assemble the at least one basic package into which the split unit is split into the second RTP payload according to the basic packet packing duration and the packing duration of the RTP payload receivable by the receiving device. And transmitting a second IP data packet including the second RTP payload to the receiving end device.
- the gateway device determines the size of each of the basic packets by using a basic packet packing duration according to a codec protocol and an encoding rate of each basic packet in the first RTP payload, so that the gateway device can be configured according to the foregoing basic Decoding the packet length of the packet and the packetization duration of the first RTP payload, splitting the first RTP payload into the at least one basic packet, and according to the foregoing packet packing duration and the packing duration of the RTP payload receivable by the receiving device And assembling the split at least one basic packet into a second RTP payload, and sending the second IP data packet including the foregoing second RTP payload to the receiving end device, because the gateway device does not need to increase the TC, thereby saving
- the system resources reduce the system cost, and solve the problem of waste of system resources and increase of system cost caused by the addition of the TC by the gateway device in the prior art.
- FIG. 1 is a schematic flowchart of a method for processing RTP media data according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a device for processing RTP media data according to another embodiment of the present invention.
- FIG. 1 is a schematic flowchart of a method for processing RTP media data according to an embodiment of the present invention. As shown in FIG. 1, the method for processing RTP media data in this embodiment may include:
- the gateway device receives a first IP data packet that is sent by the sending end device and includes a first RTP payload.
- the foregoing gateway device splits the first RTP payload into at least one basic packet according to a basic packet packing duration of the codec protocol corresponding to the first RTP payload and a packing duration of the first RTP payload.
- the size of the foregoing basic packet is determined by the foregoing gateway device according to the foregoing basic packet packing duration and the encoding rate of each of the basic packets;
- the foregoing codec protocol may include, but is not limited to, G.71 1 protocol, G.723 protocol, G.726 protocol, G.729 protocol, G.722 protocol, Adaptive Multi-Rate (AMR). Codec protocol or Enhanced Variable Rate Coder (EVRC) protocol.
- G.71 1 protocol G.723 protocol
- G.726 protocol G.726 protocol
- G.729 protocol G.722 protocol
- AMR Adaptive Multi-Rate
- EVRC Enhanced Variable Rate Coder
- the gateway device may further determine the size of each of the basic packets according to the basic packet packing duration and the encoding rate of each of the basic packets.
- the first IP data packet in the embodiment may further include header data, such as a User Plane Protocol (UP) header or an RFC3267 header.
- header data such as a User Plane Protocol (UP) header or an RFC3267 header.
- UP User Plane Protocol
- RFC3267 RFC3267 header.
- the foregoing header data is used to indicate an encoding rate of each of the basic packets.
- the gateway device may further determine, according to the foregoing header data, a coding rate of each of the basic packets.
- the foregoing gateway device assembles the split at least one basic packet into a second RTP payload according to the foregoing basic packet packing duration and a packing duration of the RTP payload receivable by the receiving device, and includes the foregoing second RTP.
- the second IP packet of the payload is sent to the above receiving device.
- the execution subject gateway device of the foregoing 101 to 103 may be a device such as a media gateway (MGW) or a home gateway.
- MGW media gateway
- the gateway device determines the size of each of the basic packets according to the basic packet packing duration of the codec protocol and the encoding rate of each basic packet in the first RTP payload, so that the gateway device can be configured according to the basic packet.
- the packetization duration and the packetization duration of the first RTP payload are split into the at least one basic packet, and according to the basic packet packing duration and the packetization duration of the RTP payload receivable by the receiving device, Assembling the split at least one basic packet into a second RTP payload, and transmitting the second IP data packet including the foregoing second RTP payload to the receiving end device, since the gateway device does not need to increase the TC, thereby saving
- the system resources reduce the system cost, and solve the problem of waste of system resources and increase of system cost caused by the addition of the TC by the gateway device in the prior art.
- the RTP payload of a packetization duration of the IP bearer network where the sender is located is decoded, and then encoded into another RTP payload of the packet length of the IP bearer network where the receiver is located.
- the voice quality causes a certain damage.
- the encoding or decoding MOS value is reduced by about 0.2 to 0.3. Therefore, the technical solution provided by this embodiment can effectively improve the voice quality.
- the packet length of the first RTP payload sent by the sender device is 20 milliseconds (ms), and the receiving device receives
- the second RTP payload has a packing time of 40ms.
- the gateway device splits the first RTP payload into two basic packets according to the basic packet packing time of the G.729 protocol of 10 ms and the first RTP payload of 20 ms, and the size of each basic packet is 10byte. Then, the gateway device may split the split four basic packets (ie, the two first RTP payloads according to the basic packet packing duration of 10 ms and the packetization duration of the second RTP payload received by the receiving device by 40 ms. The four basic packages are assembled into a second RTP payload (each basic packet is 10 bytes in size), and a second IP packet containing the second RTP payload described above is transmitted to the receiving device.
- the receiving end device parses and obtains a detailed description of the RTP media data included in the second IP data packet, and can refer to the RTP packet of the receiving end device with the IP header and the UDP header in the prior art.
- Related content of the processing for example: First, the IP header is removed from the IP layer and sent to the UDP layer, then the UDP header is removed at the UDP layer, and finally the RTP packet (the RTP header and the RTP payload) is parsed to obtain the RTP media data. Let me repeat.
- the packet length of the first RTP payload sent by the sender device is 40 ms, and the receiving device receives
- the second RTP payload has a packaging time of 60 ms.
- the gateway device may according to the basic packet packing time of the AMR protocol of 20 ms and the encoding rate of the corresponding basic packet indicated by the RFC 3267 header data, for example: the encoding rate of the first basic packet is 12.2 kbps, and the encoding rate of the second basic packet is 10.2.
- the encoding rate of the third basic packet is 10.2 kbps
- the encoding rate of the fourth basic packet is 10.2 kbps
- the gateway device splits the first RTP payload into two basic packets according to the basic packet packing time of the AMR protocol of 20 ms and the first RTP payload, and the basic packet size is 30.5 bytes.
- the size of the packet is 25.5 bytes.
- the gateway device may split the split three basic packets (ie, the two first RTP payloads according to the basic packet packing time of 20 ms and the second RTP payload received by the receiving device for 60 ms. Three of the four basic packages are assembled into a second RTP payload (the size of the first basic packet is 30.5 bytes, the size of the second basic packet is 25.5 bytes, and the size of the third basic packet is 25.5 bytes. And transmitting a second IP data packet including the foregoing second RTP payload to the receiving end device.
- the receiving end device parses and obtains a detailed description of the RTP media data included in the second IP data packet, and can refer to the receiving end device pair with the IP header in the prior art.
- the related content of the RTP packet processed by the UDP header for example: First, the IP header is removed from the IP layer and sent to the UDP layer, then the UDP header is removed at the UDP layer, and finally the RTP packet (RTP header, RFC3267 header, and RTP payload) is parsed. , get RTP media data, no longer repeat them here.
- the processing device for RTP media data in this embodiment may include a receiving unit 21, a splitting unit 22, and an assembling unit. twenty three.
- the receiving unit 21 is configured to receive a first IP data packet that is sent by the sending end device and includes a first RTP payload.
- the splitting unit 22 is configured to use a basic packet packing duration of the codec protocol corresponding to the first RTP payload.
- the packetization duration of the first RTP payload is split into the at least one basic packet, and the size of each of the basic packets is determined by the gateway device according to the basic packet packing duration and the encoding of each of the basic packets.
- the assembling unit 23 is configured to assemble the at least one basic packet into which the splitting unit is split into the second RTP payload according to the foregoing packet packing duration and the packing duration of the second RTP payload received by the receiving device. And transmitting a second IP data packet including the foregoing second RTP payload to the receiving end device.
- the function of the gateway device in the embodiment corresponding to the foregoing FIG. 1 can be implemented by the RTP media data processing device provided in this embodiment.
- the splitting unit 22 in this embodiment may be further configured to determine the size of each of the basic packets according to the basic packet packing duration and the encoding rate of each of the basic packets.
- the first IP data packet in the embodiment may further include header data, for example, a UP header or an RFC3267 header, where the header data is used to indicate a coding rate of each of the basic packets; accordingly,
- the sub-unit 22 may be further configured to determine a coding rate of each of the basic packets according to the foregoing header data.
- the processing device of the RTP media data is processed by the splitting unit according to the codec protocol.
- the basic packet packing duration and the encoding rate of each basic packet in the first RTP payload received by the receiving unit determining the size of each of the basic packets, so that the splitting unit can be based on the basic packet packing duration and the first RTP.
- the first RTP payload is split into the at least one basic packet, and the assembly unit splits the packet length according to the basic packet packing duration and the second RTP payload received by the receiving device.
- the RTP payload of a packetization duration of the IP bearer network where the sender is located is decoded, and then encoded into another RTP payload of the packet length of the IP bearer network where the receiver is located.
- the voice quality causes a certain damage.
- the encoding or decoding MOS value is reduced by about 0.2 to 0.3. Therefore, the technical solution provided by this embodiment can effectively improve the voice quality.
- the disclosed systems, devices, and methods may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
- the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one single unit. Yuanzhong.
- the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the above software functional units are stored in a storage medium and include a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
La présente invention concerne un procédé et un dispositif de traitement de données multimédias RTP. Un dispositif de passerelle détermine la taille de chaque paquet de base à travers une durée d'empaquetage du paquet de base selon un protocole de codage/décodage et un taux de codage de chaque paquet de base dans une première charge utile RTP, de sorte que le dispositif de passerelle peut diviser la première charge utile RTP en au moins un paquet de base en fonction de la durée d'empaquetage du paquet de base et d'une durée d'empaquetage de la première charge utile RTP, assembler ledit au moins un paquet de base obtenu par la division en une seconde charge utile RTP en fonction de la durée d'empaquetage du paquet de base et d'une durée d'empaquetage d'une charge utile RTP en mesure d'être reçue par un dispositif récepteur, et envoyer un second paquet de données IP comprenant la seconde charge utile RTP au dispositif récepteur. Etant donné que le dispositif de passerelle n'a pas besoin d'ajouter un TC, les ressources système sont économisées, et le coût du système est également réduit, ce qui résout les problèmes de l'art antérieur de gaspillage des ressources système et d'augmentation du coût du système dus au fait que le TC était ajouté dans le dispositif de passerelle.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/083824 WO2013086671A1 (fr) | 2011-12-12 | 2011-12-12 | Procédé et dispositif de traitement de données multimédias rtp |
CN201180003484.XA CN103503402A (zh) | 2011-12-12 | 2011-12-12 | Rtp媒体数据的处理方法及设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/083824 WO2013086671A1 (fr) | 2011-12-12 | 2011-12-12 | Procédé et dispositif de traitement de données multimédias rtp |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013086671A1 true WO2013086671A1 (fr) | 2013-06-20 |
Family
ID=48611788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/083824 WO2013086671A1 (fr) | 2011-12-12 | 2011-12-12 | Procédé et dispositif de traitement de données multimédias rtp |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103503402A (fr) |
WO (1) | WO2013086671A1 (fr) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112104589B (zh) * | 2019-06-18 | 2022-06-21 | 成都鼎桥通信技术有限公司 | 一种宽窄融合的端到端加密方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007036960A (ja) * | 2005-07-29 | 2007-02-08 | Kddi Corp | 動的にセッションを切り替えるrtp通信用端末、呼接続システム及びプログラム |
CN1933478A (zh) * | 2005-09-17 | 2007-03-21 | 华为技术有限公司 | 媒体流打包时长协商方法 |
CN101540622A (zh) * | 2008-03-17 | 2009-09-23 | 中国移动通信集团公司 | 语音编码的封装传输方法及装置 |
US20110149999A1 (en) * | 2009-12-17 | 2011-06-23 | Fujitsu Limited | Reception apparatus, reception method, and reception program |
CN102137093A (zh) * | 2010-12-10 | 2011-07-27 | 华为技术有限公司 | 媒体流处理方法及媒体网关 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3947871B2 (ja) * | 2002-12-02 | 2007-07-25 | Necインフロンティア株式会社 | 音声データ送受信方式 |
CN101179736B (zh) * | 2006-11-08 | 2010-07-14 | 中兴通讯股份有限公司 | 一种传输流节目转换成中国移动多媒体广播节目的方法 |
-
2011
- 2011-12-12 WO PCT/CN2011/083824 patent/WO2013086671A1/fr active Application Filing
- 2011-12-12 CN CN201180003484.XA patent/CN103503402A/zh active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007036960A (ja) * | 2005-07-29 | 2007-02-08 | Kddi Corp | 動的にセッションを切り替えるrtp通信用端末、呼接続システム及びプログラム |
CN1933478A (zh) * | 2005-09-17 | 2007-03-21 | 华为技术有限公司 | 媒体流打包时长协商方法 |
CN101540622A (zh) * | 2008-03-17 | 2009-09-23 | 中国移动通信集团公司 | 语音编码的封装传输方法及装置 |
US20110149999A1 (en) * | 2009-12-17 | 2011-06-23 | Fujitsu Limited | Reception apparatus, reception method, and reception program |
CN102137093A (zh) * | 2010-12-10 | 2011-07-27 | 华为技术有限公司 | 媒体流处理方法及媒体网关 |
Also Published As
Publication number | Publication date |
---|---|
CN103503402A (zh) | 2014-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6421720B2 (en) | Codec-independent technique for modulating bandwidth in packet network | |
CN109923809B (zh) | 利用前向纠错的编码和解码方法、以及编码和解码系统 | |
JP5410601B2 (ja) | パケット交換網における遅延の監視 | |
US10068581B2 (en) | Method and arrangement for providing a backwards compatible payload format | |
US20100027417A1 (en) | Method and apparatus for improving bandwith exploitation in real-time audio/video communications | |
US20100128715A1 (en) | Protocol Conversion System in Media Communication between a Packet-Switching Network and Circuit-Switiching Network | |
US9392082B2 (en) | Communication interface and method for robust header compression of data flows | |
WO2014153944A1 (fr) | Procédé et appareil de transmission de flux multimédia rtp | |
Larzon et al. | Efficient use of wireless bandwidth for multimedia applications | |
WO2012106894A1 (fr) | Procédé et dispositif de transmission de données de flux multimédia dans un système informatique en nuage | |
US9332049B1 (en) | Media compression for tunneled real-time communications | |
WO2008098509A1 (fr) | Procédé et système de négociation d'un support et procédé de transmission d'information de description de support | |
CN100579069C (zh) | 语音前向纠错信息传输在cdma2000系统中的实现方法 | |
CN102299962A (zh) | 一种基于云服务的VoIP系统、装置和方法 | |
Herrero | Integrating HEC with circuit breakers and multipath RTP to improve RTC media quality | |
RU2766274C2 (ru) | Гибридный формат полезной нагрузки rtp | |
CN117135148A (zh) | 一种基于WebRTC的音视频传输方法及系统 | |
WO2021073155A1 (fr) | Procédé, appareil et dispositif de visioconférence, et support de stockage | |
US20060133372A1 (en) | Apparatus and method for multiplexing packet in mobile communication network | |
EP1978765A1 (fr) | Plan de gestion d'énergie pour des dispositifs de communication mobiles | |
TWI519104B (zh) | 聲音資訊傳送方法以及封包通信系統 | |
WO2014071766A1 (fr) | Procédé de transmission multicode audio et appareil correspondant | |
WO2013086671A1 (fr) | Procédé et dispositif de traitement de données multimédias rtp | |
Khalifa et al. | Improved voice quality with the combination of transport layer & audio codec for wireless devices | |
CN112887497B (zh) | 通信方法、装置和计算机存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11877382 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11877382 Country of ref document: EP Kind code of ref document: A1 |