WO2007115431A1 - Procédé de transmission de messages de données sur la base d'un protocole de transmission en temps réel et dispositif correspondant - Google Patents

Procédé de transmission de messages de données sur la base d'un protocole de transmission en temps réel et dispositif correspondant Download PDF

Info

Publication number
WO2007115431A1
WO2007115431A1 PCT/CN2006/000621 CN2006000621W WO2007115431A1 WO 2007115431 A1 WO2007115431 A1 WO 2007115431A1 CN 2006000621 W CN2006000621 W CN 2006000621W WO 2007115431 A1 WO2007115431 A1 WO 2007115431A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
rtp
session
port
rtp data
Prior art date
Application number
PCT/CN2006/000621
Other languages
English (en)
Chinese (zh)
Inventor
Yun Ma
Dong Guo
Cheng Chen
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Priority to PCT/CN2006/000621 priority Critical patent/WO2007115431A1/fr
Publication of WO2007115431A1 publication Critical patent/WO2007115431A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a data message transmission method and apparatus based on a real-time transmission protocol. Background of the invention
  • the two data communication devices can communicate with each other through a 10/100M Ethernet interface: Fast Ethernet (FE) port and 1000M Ethernet interface: Gigabit Ethernet (GE) port.
  • FE Fast Ethernet
  • GE Gigabit Ethernet
  • multiple FE/GE ports can be bundled into one logical port with larger bandwidth.
  • the data communication device 1 and A plurality of FE/GE ports between the data communication devices 2 are bundled into one logical port, and the data communication device 1 and the data communication device 2 communicate through the logical port.
  • the bundled logical port complies with the International Institute of Electrical and Electronics Engineers (IEEE) 802.3ad protocol.
  • IEEE International Institute of Electrical and Electronics Engineers
  • the protocol stipulates that the same session message must be sent in the same order, that is, the same session message is only Can be sent on the same physical port in the port.
  • a session packet is transmitted through a logical port, a session can be identified by using a MAC address or an IP address or an IP packet port number in the packet, and then a physical port is calculated according to the session identifier, and all the sessions are 4 ⁇ text is sent through the physical port.
  • the MAC address and IP address of the IP packets between the NGN media gateways are small, and the number of port numbers of the IP packets is small.
  • the IP address, the IP address, or the IP packet port number is used to identify the session.
  • the IP packets can be sent only on a fixed number of physical ports, so that the physical ports in the logical port are not used. Uniform, so that the bandwidth resources can not be fully utilized, reducing the bandwidth usage rate, causing waste of bandwidth resources, and failing to achieve the purpose of conserving bandwidth by bundling Ethernet ports.
  • the main object of the present invention is to provide an RTP-based data packet transmission method and apparatus, so that RTP packets are uniformly transmitted on a physical port of a logical port of a data communication device, thereby improving bandwidth utilization.
  • An RTP-based data message transmission method includes:
  • the data communication device detects that the received data packet is an RTP data packet, and determines a session random value according to the timestamp information carried in the RTP data packet.
  • the data communication device selects a physical port in its logical port according to the random value of the session
  • the data communication device transmits the RTP data on the selected physical port.
  • the session random value is an initial value of the timestamp
  • the data communication device according to step A determines the session random value according to the timestamp information carried in the data packet, including: The data communication device reads the sequence number of the session packet from the RTP data packet header, and then calculates the product of the sequence number of the session packet and the number of sampling points in the packetization duration, and finally calculates the timestamp value carried by the data packet and the product. The difference is the initial value of the timestamp.
  • the session random value is a timestamp remainder, and the data communication device in step A determines the session random value according to the timestamp information carried in the data packet.
  • the data communication device calculates the remainder obtained by dividing the timestamp value carried in the RTP data packet by the number of sampling points in the session packing duration, and uses the remainder as the timestamp remainder.
  • the step B further includes: assigning an integer between 0 and M-1 to each physical port of the logical port as the port number of each physical port, and the step B includes:
  • M is the number of physical ports included in the logical port of the data communication device.
  • the step B further includes: sequentially assigning an integer between 0 and M-1 to each physical port of the logical port as a port number of each physical port; and setting a value of the random value of the session random value as an argument a rational number function, and step B includes:
  • the session random value is substituted into the set function, and the obtained result is divided by M to obtain a remainder, and the physical port to which the port number corresponding to the value obtained by rounding the remainder belongs is used as the physical medium for transmitting the RTP data packet.
  • M is the number of physical ports included in the logical port of the data communication device.
  • the method further includes: if the data communication device detects that the received data packet is a non-RTP data packet, the non-RPT data packet is sequentially transmitted on the physical port of the logical port.
  • An RTP data message transmission device includes:
  • the RTP data packet determining module is configured to receive the data packet, and after determining that the data packet is an RTP data packet, send the RTP data packet;
  • the session random value determining module is configured to save the number of sampling points in the packetization period of the RTP session, and after receiving the RTP data packet sent by the RTP data packet determining module, according to the timestamp information carried by the RTP data packet and itself The number of sampling points in the saved packetization time is calculated as a session random value, and the session random value and the RTP data message are sent out;
  • the physical port determining module is configured to: after receiving the session random value and the RTP data packet sent by the session random value determining module, determine a physical port for transmitting the RTP data packet according to the random value of the session, and then extract the RTP data packet from the physical port The physical port is transmitted.
  • the RTP data packet judging module further includes: a polling signal output module, wherein the RTP data packet judging module is further configured to: after determining that the received data packet is a non-RTP data packet, the non-RTP data The message is sent to the physical port determination module, and a start signal is sent to the polling signal output module.
  • the polling signal output module is configured to: after receiving the start signal, send a polling transmission signal to the physical port determining module;
  • the physical port determining module is further configured to, after receiving the non-RP data packet and the rotating transmission signal, sequentially transmit the non-RTP data packet sequentially from the physical port of the logical port of the data communication device.
  • the present invention determines the physical port of the data packet to be transmitted by using the session random value corresponding to the timestamp information carried in the RTP data packet, and the data is the same as the random value of the session of the RTP data packet in the same session.
  • the physical ports of the logical port of the communication device are uniformly used, the bandwidth resources are fully utilized, and the network bandwidth usage rate is improved.
  • the RTP data packets belonging to the same session can be transmitted in an orderly manner on the same physical port, thereby The receiving end can receive the RTP data message in an orderly manner.
  • FIG. 1 is a schematic diagram of binding an FE/GE port to a logical port
  • 2 is a flow chart of a specific embodiment of transmitting an RTP data message provided by the present invention
  • FIG. 3 is a block diagram of a device for transmitting an RTP data message according to the present invention
  • FIG. 4 is a block diagram 2 of an apparatus for transmitting an RTP data message according to the present invention. Mode for carrying out the invention
  • the first RTP data of the voice session is the timestamp information in the message, that is, the initial value of the timestamp is randomly generated, but adjacent to the same two voice conversations.
  • the timestamp value in the next RTP data packet is obtained by adding the number of sampling points in the packetization time to the timestamp value of the previous RTP data packet. Therefore, it can be seen that, for the RTP data of the same voice session, the random value of the voice session, such as the initial value of the timestamp, can be obtained by using the timestamp value of each RTP data packet.
  • the core idea of the present invention is:
  • the data packet is divided into two types: an RTP data packet and a non-RTP data packet.
  • the data communication device having the logical port detects that the received data packet is an RTP data packet, Calculating a session random value of the RTP data packet according to the timestamp value in the data packet, and then selecting a physical port in the logical port to transmit the RTP data packet according to the session random value.
  • FIG. 2 is a flowchart of a specific embodiment of transmitting an RTP data packet provided by the present invention. As shown in FIG. 2, the specific steps are as follows:
  • Step 201 The data communication device receives the data.
  • the data communication device in the present invention refers to a device having multiple physical ports bundled into one logical port, which may be a media gateway, a router Ethernet switch, or the like.
  • Step 202 The data communication device determines whether the received data packet is an RTP data packet, and if yes, performs step 204; otherwise, performs step bare 203.
  • determining whether a data packet is an RTP data packet can be implemented in various manners, for example, according to a User Datagram Protocol (UDP) layer information of a data packet. Whether the UDP port number is greater than 1024 is determined. If it is greater than, the data packet is determined to be an RTP data packet; otherwise, the data packet is determined to be a non-RTP data packet.
  • UDP User Datagram Protocol
  • Step 203 The data communication device sequentially transmits the non-RTP data packets in a logical manner on the physical port of the logical port, and the process ends.
  • non-RTP data messages received by the data communication device such as data packets based on Real Time Transmission Control Protocol (RTCP) may be sequentially and uniformly transmitted on each physical port of the logical port of the digital communication device. To ensure that the network bandwidth is fully utilized.
  • RTCP Real Time Transmission Control Protocol
  • Step 204 The data communication device reads the timestamp value from the RTJP data message.
  • the format of the RTP data packet is as shown in Table 1.
  • the length of the MAC layer information is 14 bytes
  • the length of the IP layer information is 20 bytes
  • the length of the UDP layer information is 8.
  • the length of the timestamp field is 4 bytes. Therefore, reading 32-bit information from the 47th byte of the RTP data message is the timestamp value.
  • Table 1 Data packet format of a voice session based on RTP
  • the sampling rate of a voice session is 8000 samples/sec
  • the packet duration of a voice session is a multiple of 5ms, such as G.711 5ms, G.711 10ms, G. 711 20ms, G.729 20ms, G.723 30ms, etc. It can be seen that when the packet length of the voice session is 10 ms, the number of sampling points is 80, that is, the timestamp value in the next RTP data packet of the voice session is equal to the timestamp value of the previous RTP data packet plus 80.
  • the timestamp value in the two RTP data packets of the voice session is 180, and the third RTP data.
  • the timestamp value in the message is 260, and so on.
  • Step 205 The data communication device according to the read timestamp value and the packaging of the voice session The duration determines the random value of the voice session.
  • the voice session random value may be a timestamp initial value or a timestamp remainder.
  • the session message number of the RTP data packet in this session can be read from the RTR data packet header.
  • Step 206 The data communication device selects a physical port in the logical port according to the random value of the voice session.
  • the number of physical ports bundled into one logical port in the data communication device is M, and the integer value: 0 ⁇ M-1 is sequentially assigned to the VI physical ports of the logical port, as the port number of the physical port,
  • the following formula can be used to select a physical port in the logical port to transmit RTP data packets:
  • P x % M, where P is the port number of the selected physical port and X is the random value of the voice session;
  • H(x) is not limited as long as mod(H(x)%M) can be uniformly valued between 0 M-1.
  • Step 207 The data communication device transmits the RTP number on the selected physical port.
  • the RTP data packet of the same voice session received by the data communication device is sequentially and uniformly transmitted on the physical port in an orderly manner, and the RTP data message received at the receiving end is also based.
  • the order is in this order, and the receiving end can perform appropriate out-of-order adjustment on the received small number of out-of-order messages to restore the order in which the RTP data messages are sent.
  • FIG. 3 is a block diagram of a device for transmitting RTP data packets provided by the present invention, as shown in FIG. 3, which mainly includes:
  • the RTP data packet determining module 31 is configured to receive the data packet, and after detecting the data packet as the RTP data packet, send the RTP data packet to the session random value determining module 32.
  • the session random value determining module 32 is configured to save the number of sampling points in the packetization duration of the RTP session, and after receiving the RTP data packet sent by the RTP data packet determining module 31, according to the timestamp value carried in the RTP data packet.
  • the session random value is calculated from the number of sampling points in the packetization time saved by itself, and the session random value and the RTP data message are sent to the physical port determining module 33.
  • the physical port determining module 33 is configured to: after receiving the session random value and the RTP data packet sent by the session random value determining module 32, determine, according to the session random value, a physical port of the logical port of the data communication device to transmit the RTP data packet. And then transfer the RTP data message from the physical port.
  • FIG. 4 is a block diagram 2 of a device for transmitting RTP data messages provided by the present invention. As shown in FIG. 4, the device shown in FIG. 3 is compared with FIG. 3:
  • the RTP data message judging module 31 further includes: a polling signal output module 311.
  • the RTP data packet determining module 31 is further configured to: after detecting that the received data packet is a non-RTP data, send the non-RTP data packet to the physical port determining module 33, and simultaneously transmit the signal output module 311 sends a start signal;
  • the polling signal output module 311 is configured to send a polling transmission signal to the physical port determining module 33 after receiving the start signal.
  • the physical port determining module 33 is further configured to: receive the RTP data packet determining module After the non-RTP data message sent by the 31 and the polling transmission signal sent by the polling signal output module 311, the non-RTP data message is sequentially transmitted from the physical port of the logical port of the data communication device.

Landscapes

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

Abstract

L'invention concerne un procédé de transmission d'un message de données RTP, selon lequel un système de communication de données détecte que le message de données reçu est un message de données RTP (201, 202); puis détermine une valeur aléatoire de session sur la base de l'information d'horodateur portée par le message de données RTP (204, 205); puis sélectionne un port physique dans son port logique afin de transmettre le message de données RTP sur la base de ladite valeur aléatoire de session (206, 207). L'invention concerne également un dispositif de transmission de message de données RTP comportant un module d'évaluation de message de données RTP, un module de détermination de valeur aléatoire de session, et un module de détermination de port physique. Selon l'invention, la valeur aléatoire de session correspondant à l'information d'horodateur portée par le message de données RTP est employée pour déterminer un port physique transmettant le message de données, et chaque port physique du port logique du système de communication de données peut être employé de façon uniforme. Par ailleurs, les ressources de bande passante sont employées de façon suffisante, l'efficacité d'utilisation de la bande passante du réseau est améliorée et une transmission ordinale du message de données RTP est possible.
PCT/CN2006/000621 2006-04-07 2006-04-07 Procédé de transmission de messages de données sur la base d'un protocole de transmission en temps réel et dispositif correspondant WO2007115431A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2006/000621 WO2007115431A1 (fr) 2006-04-07 2006-04-07 Procédé de transmission de messages de données sur la base d'un protocole de transmission en temps réel et dispositif correspondant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2006/000621 WO2007115431A1 (fr) 2006-04-07 2006-04-07 Procédé de transmission de messages de données sur la base d'un protocole de transmission en temps réel et dispositif correspondant

Publications (1)

Publication Number Publication Date
WO2007115431A1 true WO2007115431A1 (fr) 2007-10-18

Family

ID=38580676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/000621 WO2007115431A1 (fr) 2006-04-07 2006-04-07 Procédé de transmission de messages de données sur la base d'un protocole de transmission en temps réel et dispositif correspondant

Country Status (1)

Country Link
WO (1) WO2007115431A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904957A (zh) * 2021-12-08 2022-01-07 深圳佑驾创新科技有限公司 采样点测试方法及其系统及主控设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412984A (zh) * 2002-05-27 2003-04-23 华为技术有限公司 网络设备中基于接口的数据报类型报文的发送方法
CN1538704A (zh) * 2003-04-14 2004-10-20 华为技术有限公司 一种实时传输协议时间戳的生成方法
JP2005167897A (ja) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd Rtpパケット通信システム、rtpパケット送信装置、rtpパケット受信装置及びrtpパケット通信方法
US20050207443A1 (en) * 2004-01-30 2005-09-22 Sony Corporation Transmission apparatus and method, reception apparatus and method, communication system, recording medium, and program
CN1764153A (zh) * 2004-10-22 2006-04-26 华为技术有限公司 一种基于rtp的数据报文传输的实现方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412984A (zh) * 2002-05-27 2003-04-23 华为技术有限公司 网络设备中基于接口的数据报类型报文的发送方法
CN1538704A (zh) * 2003-04-14 2004-10-20 华为技术有限公司 一种实时传输协议时间戳的生成方法
JP2005167897A (ja) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd Rtpパケット通信システム、rtpパケット送信装置、rtpパケット受信装置及びrtpパケット通信方法
US20050207443A1 (en) * 2004-01-30 2005-09-22 Sony Corporation Transmission apparatus and method, reception apparatus and method, communication system, recording medium, and program
CN1764153A (zh) * 2004-10-22 2006-04-26 华为技术有限公司 一种基于rtp的数据报文传输的实现方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904957A (zh) * 2021-12-08 2022-01-07 深圳佑驾创新科技有限公司 采样点测试方法及其系统及主控设备
CN113904957B (zh) * 2021-12-08 2022-02-22 深圳佑驾创新科技有限公司 采样点测试方法及其系统及主控设备

Similar Documents

Publication Publication Date Title
Xu et al. CMT-NC: improving the concurrent multipath transfer performance using network coding in wireless networks
US7738383B2 (en) Traceroute using address request messages
US20210211937A1 (en) Data Transmission Method, Apparatus, and System
JP2006261873A (ja) パケット転送装置およびその転送制御方式
WO2007033542A1 (fr) Procede permettant de tester la capacite de reseau et le dispositif correspondant
WO2010022653A1 (fr) Procédé de détection pour transfert de dossiers et terminal associé
CN101854286B (zh) 基于用户数据报协议的数据流发送、接收方法及装置
US11502962B2 (en) Method, apparatus, and system for implementing data transmission
CN108075949B (zh) 一种vpws环境实现rfc2544的方法及设备
US20100020682A1 (en) Communication device, communication method, and recording medium
JP2006229985A (ja) イーサネット・ベースのネットワーク内の擬似ワイヤ・ピア・アドレスの自動検出
WO2013044827A1 (fr) Procédé de test pour déterminer le chemin suivi par un paquet (traceroute) et système, appareil et dispositif correspondants
CN104852855B (zh) 拥塞控制方法、装置及设备
WO2012060992A1 (fr) Tunnellisation de paquet de protocole de transport en temps réel
EP3369212B1 (fr) Contrôle de longueur pour échantillonnage d'en-tête de paquet
JP4551804B2 (ja) 伝送システム、中継機器及び制御方法
CN110474721A (zh) 视频数据传输方法、装置及计算机可读存储介质
CN108400911B (zh) 一种实现Micro-BFD协议的装置及方法
WO2010139237A1 (fr) Procédé et dispositif d'inspection profonde de paquet
CN114827292A (zh) 工业异构协议高速转换优化处理方法及系统
WO2009026824A1 (fr) Procédé, dispositif et système pour transférer des messages multiplex
CN114793210B (zh) 一种数据报文多发选收发送、接收方法、装置及系统
WO2007115431A1 (fr) Procédé de transmission de messages de données sur la base d'un protocole de transmission en temps réel et dispositif correspondant
Parrott et al. Experimental determination of network quality of service in Ethernet: UDP, OPC, and VPN
JP2006253867A (ja) フレーム伝送システム及びフレーム伝送方法

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: 06722273

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: 06722273

Country of ref document: EP

Kind code of ref document: A1