JP2017200134A - Communication device, communication system, communication method, and program - Google Patents
Communication device, communication system, communication method, and program Download PDFInfo
- Publication number
- JP2017200134A JP2017200134A JP2016091605A JP2016091605A JP2017200134A JP 2017200134 A JP2017200134 A JP 2017200134A JP 2016091605 A JP2016091605 A JP 2016091605A JP 2016091605 A JP2016091605 A JP 2016091605A JP 2017200134 A JP2017200134 A JP 2017200134A
- Authority
- JP
- Japan
- Prior art keywords
- divided data
- communication
- added
- information
- communication path
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、コンテンツデータが所定の送信単位に分割された分割データを送信する技術に関する。 The present invention relates to a technique for transmitting divided data obtained by dividing content data into predetermined transmission units.
従来、カムコーダで撮像した画像などのコンテンツデータを、RTP(Real−time Transport Protocol)等のプロトコルに基づいてリアルタイムストリーミングにより送信するシステムがある。また、コンテンツデータを分割した複数の分割データ(パケットなど)を3G回線やLTE(Long Term Evolution)回線などの複数の通信経路で分散して送信することで、高い通信効率でコンテンツデータの送信を行うシステムがある。複数の通信経路を使用してコンテンツデータを分散送信するためのプロトコルとして、MPRTP(Multipath RTP)がIETF(Internet Engineering Task Force)において提案されている。MPRTPは前述のRTPを拡張したプロトコルであり、通信経路を識別するための情報や通信経路毎のシーケンス番号などをRTPパケットの拡張ヘッダに記載する構成となっている。特許文献1には、複数のネットワークインターフェイスを介してデータを送信する場合に、ネットワークの負荷状態等を考慮して各インターフェイスへ送信パケットを振分ける技術が記載されている。 Conventionally, there is a system that transmits content data such as an image captured by a camcorder by real-time streaming based on a protocol such as RTP (Real-time Transport Protocol). Also, content data can be transmitted with high communication efficiency by distributing a plurality of divided data (packets, etc.) obtained by dividing the content data through a plurality of communication paths such as 3G lines and LTE (Long Term Evolution) lines. There is a system to do. MPRTP (Multipath RTP) has been proposed in IETF (Internet Engineering Task Force) as a protocol for distributing and transmitting content data using a plurality of communication paths. MPRTP is a protocol obtained by extending the above RTP, and has a configuration in which information for identifying a communication path, a sequence number for each communication path, and the like are described in an extended header of the RTP packet. Japanese Patent Application Laid-Open No. 2004-228561 describes a technique for distributing a transmission packet to each interface in consideration of a load state of the network when data is transmitted through a plurality of network interfaces.
なお、コンテンツデータを取得する送信装置(カムコーダなど)が分散送信の機能を有さない場合などにおいては、分散送信の機能を有する中継装置に送信装置がコンテンツデータを送信し、中継装置がそのデータを受信して分散送信する構成が考えられる。 When a transmission device (such as a camcorder) that acquires content data does not have a distributed transmission function, the transmission device transmits content data to a relay device that has a distributed transmission function. Can be considered to receive and distribute transmission.
しかしながら、通信装置が他の通信装置から受信した複数の分割データを送信する処理に係る、前記通信装置の処理負荷が大きくなる場合が考えられる。例えば、送信装置がRTPに基づいて中継装置に複数のパケットを送信し、中継装置が送信装置から受信した複数のパケットのヘッダに情報を付加してMPRTPに基づいて複数の通信経路で送信する場合を考える。この場合に、中継装置が受信したRTPパケットより大きいヘッダを有するMPRTPパケットを新たに生成すると、データコピー等の処理により中継装置の処理負荷が大きくなる虞がある。 However, there may be a case where the processing load of the communication device is increased due to the processing in which the communication device transmits a plurality of pieces of divided data received from other communication devices. For example, when the transmission device transmits a plurality of packets to the relay device based on RTP, and the relay device adds information to the headers of the plurality of packets received from the transmission device and transmits the information using a plurality of communication paths based on MPRTP. think of. In this case, if an MPRTP packet having a header larger than the RTP packet received by the relay device is newly generated, there is a possibility that the processing load on the relay device may increase due to processing such as data copy.
本発明は上記課題に鑑みてなされたものであり、通信装置が他の通信装置から受信した複数の分割データを送信する処理に係る、前記通信装置の処理負荷を低減するための技術を提供することを目的とする。 The present invention has been made in view of the above problems, and provides a technique for reducing the processing load of the communication device related to a process in which the communication device transmits a plurality of pieces of divided data received from another communication device. For the purpose.
上記課題を解決するため、本発明に係る通信装置は、例えば以下の構成を有する。すなわち、コンテンツデータを取得する取得手段と、前記取得手段が取得したコンテンツデータを所定の送信単位に分割して複数の分割データを生成する生成手段であって、他の通信装置が前記複数の分割データに通信経路の識別子を含む情報を付加して送信するための情報付加領域が、前記複数の分割データそれぞれに含まれるように、前記複数の分割データを生成する生成手段と、前記生成手段が生成した前記複数の分割データを前記他の通信装置に送信する送信手段とを有する。 In order to solve the above problems, a communication apparatus according to the present invention has, for example, the following configuration. That is, an acquisition unit that acquires content data, and a generation unit that generates a plurality of divided data by dividing the content data acquired by the acquisition unit into a predetermined transmission unit, wherein another communication device is configured to generate the plurality of divisions. Generating means for generating the plurality of divided data such that an information addition area for adding information including an identifier of a communication path to data and transmitting the data is included in each of the plurality of divided data; and Transmitting means for transmitting the generated plurality of divided data to the other communication device.
本発明によれば、通信装置が他の装置から受信した複数の分割データを送信する処理に係る、前記通信装置の処理負荷を低減することができる。 ADVANTAGE OF THE INVENTION According to this invention, the processing load of the said communication apparatus which concerns on the process which a communication apparatus transmits the some division | segmentation data received from the other apparatus can be reduced.
以下、図面を参照して、本発明の実施形態について説明する。なお、以下の実施形態で説明する構成は一例であり、本発明は図示された構成に限定されるものではない。 Embodiments of the present invention will be described below with reference to the drawings. Note that the configurations described in the following embodiments are examples, and the present invention is not limited to the illustrated configurations.
[システム構成]
図1に本実施形態に係る通信システム10の全体構成を示す。通信システム10は3種の通信装置を有し、本実施形態ではそれらの通信装置を画像送信装置100(以降、送信装置100)、中継装置200及び受信装置300と区別する。送信装置100は通信路110を介して中継装置200と接続され、更に中継装置200は通信経路210−1、通信経路210−2及び通信経路210−3を介して受信装置300と接続されている。本実施形態において、特別な指定のない場合には、通信経路210−1乃至通信経路210−3を区別せず通信経路210と記載する。中継装置200は、複数の通信経路210を利用してデータを並行して送信することができる。なお、通信経路210の数は3経路に限らず、複数であればよい。
[System configuration]
FIG. 1 shows an overall configuration of a
送信装置100は、撮像して取得した画像データをパケットに分割し、通信路110を介して中継装置200にそのパケットを送信する。本実施形態において、送信装置100は、RTP(Real−time Transport Protocol)に基づくリアルタイムストリーミングにより、パケット化された画像データの送信を行う。なお、本実施形態において送信装置100が送信する画像データは動画であるものとするが、画像データは静止画であってもよい。また、送信装置100が取得して送信するコンテンツデータは画像データに限らず、例えばオーディオデータなどであってもよい。送信装置100の具体例としては、デジタルカメラ、ビデオカメラ、スマートフォン、PC、及び携帯電話などが挙げられるが、これらに限らず、後述の機能構成を有するものであればよい。通信路110の具体例としては、有線LAN(Local Area Network)や無線LANが挙げられる。なお、通信路110はLANに限らずWAN(Wide Area Network)であってもよいし、LANとWANの組み合わせであってもよい。
The
中継装置200は、送信装置100から画像データを構成する複数のパケットを受信し、受信した複数のパケットを複数の通信経路210で分散して送信する。本実施形態において中継装置200は、MPRTP(Multipath RTP)に基づいてデータを送信する。MPRTPはRTPを拡張したプロトコルであり、複数の通信経路210を使用してコンテンツデータを分散送信するためのプロトコルである。図4に、RTPパケット400とMPRTPパケット410の一例を示す。MPRTPパケット410は、RTPパケット400の拡張ヘッダに通信経路210に関する情報などが付加されたパケットである。図4の詳細については後述する。
The
各通信経路210は、無線通信回線、有線通信回線、又は無線と有線を組み合わせた通信回線であり、経路上の装置若しくは通信に使用されるプロトコル、又はその両方が通信経路210毎に異なる。通信経路210は、例えば3Gや4G、LTE(Long Term Evolution)等の携帯通信網、WiFi(Wireless Fidelity)等の無線LAN、有線LAN及びインターネット等により構成される。例えば中継装置200は、各々が異なる基地局を有する携帯通信網である複数の通信経路210を使用して、複数のパケットを並行して送信する。
Each communication path 210 is a wireless communication line, a wired communication line, or a communication line that combines wireless and wired, and a device used for the path, a protocol used for communication, or both are different for each communication path 210. The communication path 210 includes, for example, a mobile communication network such as 3G, 4G, and LTE (Long Term Evolution), a wireless LAN such as WiFi (Wireless Fidelity), a wired LAN, and the Internet. For example, the
中継装置200が複数の通信経路210で並行して送信を行うことにより、単一の通信経路210で送信を行う場合よりも通信帯域が広がり、通信の効率を高めることができる。また中継装置200は、並行して送信を行っている複数の通信経路210の何れかで障害が発生した場合などには、障害が発生した通信経路210で送信していたデータの送信を別の通信経路210に切り替える。これにより、何れかの通信経路210で障害が発生しても通信を継続することができ、通信の遅延やデータの欠落を低減することができる。
When the
中継装置200の具体例としては、ルータ、サーバ装置、スマートフォン、PC、及び携帯電話などが挙げられるが、これらに限らず、後述の機能構成を有するものであればよい。受信装置300は、中継装置200から送信された画像データを複数の通信経路210を介して受信し、画像データの表示や記憶を行う。受信装置300の具体例としては、PC、スマートフォン、テレビ、及び携帯電話などが挙げられるが、これらに限定されない。
Specific examples of the
なお、中継装置200のように画像データを構成するパケットを分散送信する機器は、特に携帯通信網などを利用して分散送信を行う場合、屋外など電波状態の良い環境に設置されることが望ましい。一方、画像データを取得するカムコーダなどの機器は、屋内などの電波状態の悪い環境で使用される場合がある。このような場合に、従来のシステムでは、携帯通信網を利用して分散送信を行う機器は電波状態の良い環境に設置し、その機器とカムコーダとをSDI(Serial Digital Interface)ケーブルで接続する構成となっていた。分散送信を行う機器は、カムコーダからSDIケーブルを介して受信した画像を、携帯通信網を利用して送信する。
It should be noted that a device that distributes and transmits packets constituting image data, such as the
しかしながら、SDIケーブルを使用した通信では、通信距離が長いほど信号は大きく減衰し、更に通信する信号量が多いほど減衰の影響が大きくなる。そのため、SDIケーブルを介して通信される画像データが高精細であるほど、その通信距離を短くする必要がある。また、SDIケーブルは同軸ケーブルであり、通信品質の良い同軸ケーブルは太くなる傾向にある為、SDIケーブルを繋いだカムコーダを移動させる場合にケーブルの取り扱いが不便であった。 However, in communication using an SDI cable, the signal is greatly attenuated as the communication distance is longer, and the influence of the attenuation is greater as the amount of signal to be communicated is larger. Therefore, the higher the image data communicated via the SDI cable, the shorter the communication distance. Also, since the SDI cable is a coaxial cable and the coaxial cable with good communication quality tends to be thick, the handling of the cable is inconvenient when the camcorder connected with the SDI cable is moved.
そこで、本実施形態の送信装置100は、画像データをパケット化して中継装置200に送信する。これにより、送信装置100と中継装置200を、SDIケーブルよりも細いEthernet(登録商標)ケーブルで直接接続したり、建物などに既に設置された有線LANネットワークを介して接続したり、無線LANにより接続したりできる。その結果、送信装置100の移動や、送信装置100と中継装置200との接続が簡便になる。また、送信装置100が画像データをパケット化して中継装置200に送信する場合、中継装置200は分散送信を行うためにパケットの変換処理を行う。そこで本実施形態の送信装置100は、中継装置200が変換処理を簡易にできるようなパケットを生成する。
Therefore, the
[機能構成]
次に、本実施形態に係る送信装置100及び中継装置200の機能構成について、図2を用いて説明する。送信装置100は、画像データ取得部101(以降、取得部101)、符号化部102、パケット生成部103、及びデータ送信部104を有する。一方、中継装置200は、データ受信部201、データ保持部202、ヘッダ変換部203、送信制御部204、通信I/F(インターフェイス)205−1、通信I/F205−2及び通信I/F205−3を有する。本実施形態において、特別な指定のない場合には、通信I/F205−1乃至通信I/F205−3を区別せず通信I/F205と記載する。中継装置200は複数の通信経路210それぞれに対応する同数の通信I/F205を有する。
[Function configuration]
Next, functional configurations of the
取得部101は、送信装置100が有するレンズや撮像センサー(不図示)を制御して撮像を行い、符号化前の画像データを取得する。符号化部102は、取得部101が取得した画像データを、例えばH.264やHEVC等の符号化方法によって符号化する。パケット生成部103は、符号化部102が符号化した符号化済み画像データを、データ送信部104がデータの送信に使用するプロトコル(例えばRTP)に応じた形式に分割してパケットを生成する。ここでパケット生成部103は、送信装置100から受信した複数のパケットを中継装置200が分散送信する処理が簡易になるように、パケットの生成を行う。パケット生成の詳細については後述する。データ送信部104は、パケット生成部103が生成したパケットを、通信路110を介して中継装置200へ送信する。
The
データ受信部201は、送信装置100から送信されたパケットを、通信路110を介して受信する。データ保持部202は、データ受信部201が受信したパケットを保持する。ヘッダ変換部203は、中継装置200がデータ送信に使用する通信経路210に関する情報を送信制御部204から取得し、その情報を基に、データ保持部202が保持しているパケットのヘッダの変換処理を行う。送信制御部204は、ヘッダ変換部203によりヘッダを変換された複数のパケットを、複数の通信I/F205を介して複数の通信経路210で受信装置300へ分散送信する。
The
[ハードウェア構成]
図3は、送信装置100のハードウェア構成を示すブロック図である。送信装置100は、CPU121、ROM122、RAM123、補助記憶装置124、表示部125、操作部126、通信部127、撮像部128及びバス129を有する。なお、中継装置200は撮像部128を有さないが、中継装置200のそれ以外の構成は送信装置100と同様である。
[Hardware configuration]
FIG. 3 is a block diagram illustrating a hardware configuration of the
CPU121は、ROM122やRAM123に格納されているコンピュータプログラムやデータを用いて送信装置100の全体を制御する。即ち、CPU121は、図3に示した各構成要素を制御して、図2に示した送信装置100の各機能部を実現する。ROM122は、変更を必要としないプログラムやパラメータを格納する。RAM123は、補助記憶装置124から供給されるプログラムやデータ、及び通信部127を介して外部から供給されるデータなどを一時記憶する。補助記憶装置124は、例えばハードディスクドライブ装置等で構成され、静止画や動画などのコンテンツデータを記憶する。
The
表示部125は、例えば液晶ディスプレイ等で構成され、ユーザが送信装置100を操作するためのGUI(Graphical User Interface)などを表示する。操作部126は、ボタンスイッチやダイヤルなどで構成され、ユーザによる操作を受けて各種の指示をCPU121に入力する。通信部127は、中継装置200などの外部の装置と通信を行う。例えば、送信装置100が外部の装置と有線で接続される場合には、LANケーブル等が通信部127に接続される。なお、送信装置100が外部の装置と無線通信する機能を有する場合、通信部127はアンテナを備える。撮像部128は、レンズや撮像センサーなどを有し、撮像を行って画像データを取得する。撮像部128により取得された画像データはRAM123や補助記憶装置124に記憶される。バス129は、送信装置100の各部を繋いで情報を伝達する。
The
なお、本実施形態ではCPU121がプログラムを実行することで通信部127を介して送信装置100と外部の装置との通信を制御するが、送信装置100と外部の装置との通信の少なくとも一部を通信部127がハードウェア処理により制御してもよい。また、本実施形態では表示部125と操作部126は送信装置100の内部に存在するが、表示部125及び操作部126の少なくとも一方が送信装置100の外部に別の装置として存在していてもよい。この場合、CPU121が、表示部125を制御する表示制御部、及び操作部126を制御する操作制御部として動作する。 さらに、撮像部128が送信装置100の外部に撮像装置として存在していてもよい。この場合、撮像装置が撮像を行って生成した画像データを通信部127が受信して取得する。
In this embodiment, the
[動作フロー]
次に、送信装置100の動作フローについて、図5を用いて説明する。図5に示した処理は、ユーザが送信装置100に撮像画像の送信を開始させるための操作を行ったタイミングで開始される。ただし、図5に示した処理の開始タイミングは上記タイミングに限定されない。図5に示した処理は、送信装置100のCPU121がROM122に格納されたプログラムをRAM123に展開して実行することで実現される。
[Operation flow]
Next, the operation flow of the
S501において、取得部101は、撮像を行って画像データを取得する。S502において、符号化部102は、取得部101が取得した画像データを符号化することで、符号化済み画像データを取得する。なお、送信装置100が取得するコンテンツデータは画像データに限らない。例えば、取得部101は集音を行ってオーディオデータを取得し、符号化部102は符号化済みオーディオデータを取得してもよい。S503において、パケット生成部103は、符号化部102が取得した符号化済み画像データを所定の送信単位に分割して、複数の分割データを生成する。本実施形態ではパケット生成部103が生成する分割データはRTPパケット400であるものとするが、これに限らず、分割データは任意のPDU(Protocol Data Unit)であってよい。S504において、データ送信部104は、パケット生成部103が生成した複数の分割データを中継装置200に送信する。分割データの送信は、例えばRTPに基づいて行われる。
In step S501, the
なお、送信装置100から送信された複数の分割データを受信した中継装置200は、それらの分割データを複数の通信経路で送信するために、各分割データに通信経路210の識別子を含む情報を付加する。具体的には、中継装置200は、送信装置100から受信したRTPパケット400を、通信経路210の識別子を含むMPRTPヘッダを付加することでMPRTPパケット410に変換し、変換後のパケットをMPRTPに基づいて分散送信する。そこで、中継装置200によるパケットの変換処理を簡易にするために、送信装置100のパケット生成部103は、複数の分割データそれぞれに通信経路210の識別子を含む情報を付加するための情報付加領域が含まれるように、分割データの生成を行う。
Note that the
ここで、本実施形態に係るパケットの変換処理について、図4を用いて説明する。図4において、RTPパケット400は、パケット生成部103において生成されるパケットであり、拡張ヘッダに情報付加領域であるダミーヘッダ401が含まれる。一方、MPRTPパケット410は、RTPパケット400が中継装置200により変換されたパケットであり、複数の通信経路210への分散送信のためのMPRTPヘッダ411が拡張ヘッダに含まれる。つまり、中継装置200のヘッダ変換部203は、RTPパケット400のダミーヘッダ401部分にMPRTPヘッダ411を上書きすることで、MPRTPパケット410を生成する。
Here, the packet conversion processing according to the present embodiment will be described with reference to FIG. In FIG. 4, an RTP packet 400 is a packet generated by the
なお、図4の例ではRTPパケット400の拡張ヘッダがダミーヘッダ401のみで構成されているが、拡張ヘッダとしてFEC(Forward Error Correction)に関する情報などダミーヘッダ401以外の情報も含まれていてよい。また、パケット生成部103が分割データとして生成するパケットは、情報付加領域がヘッダに含まれる、RTPパケット400とは異なる形式のパケットであってもよい。この場合、データ送信部104はRTPとは異なるプロトコルに基づいてデータの送信を行う。
In the example of FIG. 4, the extension header of the RTP packet 400 includes only the
RTPパケット400とMPRTPパケット410は共に拡張ヘッダを有するため、拡張ヘッダの有無を示す識別子“x”の値には共に1が設定されている。また、ダミーヘッダ401内の拡張ヘッダ識別子402には、情報付加領域であるダミーヘッダ401をRTPパケット400が有することを示す識別子が設定され、length 403にはダミー領域404の長さを示す情報が設定される。なお、ダミーヘッダ401は、MPRTPヘッダ411が付加される情報付加領域であるため、付加されるMPRTPヘッダ411と同じ長さであることが望ましい。length 403はダミー領域404の長さを32bitのブロック単位で示すものであり、図4の例では、length 403の値にはブロック2個分の長さを示す2が設定される。
Since both the RTP packet 400 and the MPRTP packet 410 have an extension header, 1 is set to the value of the identifier “x” indicating the presence or absence of the extension header. An extension header identifier 402 in the
なお、パケット生成部103は、MPRTPパケット410の送信のための通信経路210を中継装置200が決定するための補足情報を、RTPパケット400内のダミー領域404に含めてもよい。補足情報は、RTPパケット400のペイロードの内容に基づく情報であり、例えばRTPパケット400の種別に応じた情報である。具体的には、補足情報を有するRTPパケット400がフレーム間予測に基づいて符号化された画像データのフレームを構成するパケットである場合に、そのフレームのフレームタイプを示す情報などである。本実施形態におけるフレームタイプは、Iフレーム(Intra−coded Frame)、Pフレーム(Predicted Frame)及びBフレーム(Bi−directional Predicted Frame)の何れかである。このような補足情報がRTPパケット400に含まれることで、中継装置200は、Iフレームに対応するパケットなど重要度の高いパケットを信頼性の高い通信経路210で送信する制御を行うことができる。また例えば、補足情報は、その補足情報を有するRTPパケット400と、送信装置100により送信される複数のRTPパケット400に含まれる他のパケットとの関係に応じた情報でもよい。このような補足情報をダミー領域404に含めることで、送信装置100は、どのRTPパケット400を他のどのRTPパケット400と同じ通信経路210で送信すべきかなどを中継装置200に知らせることができる。なお、補足情報の内容はこれらの例に限らない。
Note that the
一方、MPRTPヘッダ411には、複数の通信経路210のうち当該パケットの送信に使用される通信経路210を識別するための識別子であるSubflow ID 412が含まれる。また、通信経路210毎に独立したシーケンス番号であるSubflow−specific Seq Number 413も含まれる。受信装置300は、中継装置200から受信した複数のMPRTPパケット410のSubflow ID 412を確認することで、それらのパケットが異なる通信経路210で送られてきたか同一の通信経路210で送られてきたかを識別することができる。また受信装置300は、連続して受信した複数のMPRTPパケット410のSubflow−specific Seq Number 413とSubflow ID 412を確認する。パケットの欠落があった場合には、そのパケットを受信するはずだった通信経路210のSubflow ID 412に対応するSubflow−specific Seq Number 413に抜けが生じる。これにより、受信装置300は、欠落したパケットがどの通信経路210に対応するパケットであるかを識別できる。
On the other hand, the
次に、中継装置200の動作フローについて、図6を用いて説明する。図6に示した処理は、送信装置100と中継装置200とが通信を開始するための処理を行ったタイミングで開始される。ただし、図6に示した処理の開始タイミングは上記タイミングに限定されない。図6に示した処理は、中継装置200のCPU121がROM122に格納されたプログラムをRAM123に展開して実行することで実現される。
Next, the operation flow of the
S601において、データ受信部201は、コンテンツデータが所定の送信単位に分割された分割データ(RTPパケット400)を受信することで取得し、取得した分割データをデータ保持部202に保持させる。S602では、ヘッダ変換部203が、データ保持部202により保持されているRTPパケット400を解析する。この解析結果に基づいて、S603において送信制御部204は、MPRTPパケット410の送信に使用する通信経路210を決定する。通信経路210の決定方法としては、例えばH.264やHEVC等のフレーム間予測に基づく符号化方式に従って符号化された画像データのフレームタイプに応じて、通信経路210を決定する方法等がある。また中継装置200は、各通信経路210の通信品質、例えばエラー率や遅延時間等に基づいてパケット毎の通信経路210を決定しても良い。
In step S <b> 601, the
なお、送信装置100がRTPパケット400のダミー領域404にペイロードの内容に基づく情報などの補足情報を含める場合、ヘッダ変換部203は、S602においてRTPパケット400のヘッダのみを解析してもよい。そして送信制御部204は、RTPパケット400のダミーヘッダ401に含まれる補足情報の内容に基づいて、MPRTPパケット410を送信する通信経路を決定してもよい。こうすることで、パケットの解析に係る中継装置200の処理負荷が低減される。
Note that when the transmitting
S604では、S602における解析結果に基づいて、ヘッダ変換部203が、データ受信部201が取得したRTPパケット400の拡張ヘッダに情報付加領域(ダミーヘッダ401)が含まれるか否かを判別する。本実施形態では、ヘッダ変換部203は、RTPパケット400の拡張ヘッダ識別子402を確認することでダミーヘッダ401が含まれるか否かを判別する。ただしこれに限らず、例えば送信装置100は、ダミーヘッダ401を含むパケットを送信することを通知するためのメッセージを中継装置200に別途送信してもよい。ダミーヘッダ401が含まれていることをヘッダ変換部203が判別した場合は、S605において、ヘッダ変換部203がRTPパケット400の拡張ヘッダをMPRTP用に書換える。具体的には、図4で説明した通り、分割データ(RTPパケット400)の情報付加領域(ダミーヘッダ401)に通信経路210の識別子を含む情報(MPRTPヘッダ411)が付加された付加済み分割データ(MPRTPパケット410)が生成される。付加されるMPRTPヘッダ411の内容は、S603において決定された通信経路210に応じて定まる。
In S <b> 604, based on the analysis result in S <b> 602, the
一方、中継装置200がダミーヘッダ401を含まないRTPパケット400を外部の装置から受信することもあり得る。この場合に中継装置200は、S605における処理のようにRTPパケット400内にMPRTPヘッダ411を直接上書きすることはできない。そのため、S604においてダミーヘッダ401が含まれていないと判別された場合は、S607へ進む。
On the other hand, the
S607において、ヘッダ変換部203は、新たにパケット生成用の記憶領域を確保する。S608において、ヘッダ変換部203は、確保した記憶領域に、データ保持部202が保持するRTPパケット400のヘッダ部分のみをコピーする。ここでヘッダ変換部203は、コピーしたヘッダにおいて拡張ヘッダの有無を示す識別子の値が0(ヘッダ拡張が無効)となっている場合には、その値を1(ヘッダ拡張が有効)に書き換える。S609において、ヘッダ変換部203は、コピーしたRTPパケット400のヘッダ部分の拡張ヘッダとして、MPRTPヘッダ411を確保された記憶領域に書きこむ。S610において、ヘッダ変換部203は、MPRTPヘッダ411に続くペイロードデータとして、データ保持部202が保持するRTPパケット400のペイロードデータを確保された記憶領域にコピーする。これにより、確保された記憶領域内にMPRTPヘッダ411を含むMPRTPパケット410が生成される。
In step S607, the
S605の処理により生成されるMPRTPパケット410とS607からS610の処理により生成されるMPRTPパケット410は同じ内容となるが、その生成に係る中継装置200の処理負荷は異なる。S605の処理は、RTPパケット400のダミーヘッダ401部分にMPRTPヘッダ411を上書きするだけなので、その処理は簡易であり中継装置200に掛かる負荷は小さい。一方、S607からS610の処理は、RTPパケット400をコピーする処理を含むため、その処理により中継装置200に掛かる負荷はS605の処理よりも大きい。また、S607からS610の処理を行う場合、中継装置200はパケットのコピー先の記憶領域を確保するため、中継装置200のメモリ資源の消費がS605の処理を行う場合よりも大きくなる。
The MPRTP packet 410 generated by the processing of S605 and the MPRTP packet 410 generated by the processing of S607 to S610 have the same contents, but the processing load of the
S606において、送信制御部204は、S605又はS610において生成されたMPRTPパケット410を、MPRTPヘッダ411の内容に応じた通信経路210で受信装置300へ送信する。すなわち、送信制御部204は、Subflow ID 502が異なる複数のMPRTPパケット410を、それぞれ異なる通信I/F205を介して分散送信する。
In S <b> 606, the
なお、上記では中継装置200が分割データとしてRTPパケット400を受信し、MPRTPパケット410を分散送信する場合について説明したが、中継装置200が受信するパケットはRTPパケット400とは異なる形式のパケットであってもよい。即ち、中継装置200は受信したパケットのヘッダに情報付加領域が含まれていることを判別した場合に、通信経路210の識別子を含む情報が付加された付加済みパケットを生成して送信すればよい。また、中継装置200が送信するパケットはMPRTPパケット410に限定されず、中継装置200はパケットに付加された識別子に応じた通信経路210で送信を行えばよい。さらに、分割データはパケットに限らず任意のPDUであってよい。
In the above description, the case where the
以上説明したように、本実施形態に係る送信装置100は、コンテンツデータを取得し、取得したコンテンツデータを所定の送信単位に分割して複数の分割データを生成する。ここで送信装置100は、中継装置200が複数の分割データに通信経路210の識別子を含む情報を付加して送信するための情報付加領域が含まれるように、上記の複数の分割データを生成する。そして送信装置100は、生成した複数の分割データを中継装置200に送信する。これにより、中継装置200が送信装置100から受信した複数の分割データを送信する場合に、中継装置200が受信した分割データを分散送信用に変換する処理が簡易になり、中継装置200の処理負荷を低減できる。また、変換処理が簡易になることで、中継装置200のメモリ資源の消費が低減され、中継装置200がデータを受信してから分散送信するまでの遅延も低減される。
As described above, the
また、本実施形態に係る中継装置200は、コンテンツデータが所定の送信単位に分割された分割データを取得し、通信経路210の識別子を含む情報を付加するための情報付加領域が取得した分割データに含まれていることを判別する。そして中継装置200は、取得した分割データに情報付加領域が含まれていることを判別した場合に、その分割データの情報付加領域に通信経路210の識別子を含む情報が付加された付加済み分割データを生成する。さらに中継装置200は、生成した付加済み分割データを、その付加済み分割データに付加された通信経路210の識別子を含む情報に応じた通信経路210で送信する。これにより、中継装置200は、取得した分割データに情報付加領域が含まれている場合に、簡易な処理によって分割データを変換することで、複数の分割データを複数の通信経路210で送信することができる。その結果、中継装置200の処理負荷を低減できる。
Also, the
なお本実施形態では、中継装置200が送信装置100から受信したRTPパケット400に通信経路210の識別子を含む情報としてMPRTPヘッダ411の全体を付加する場合について説明した。しかしこれに限らず、中継装置200が付加する通信経路210の識別子を含む情報はMPRTPヘッダ411の一部であってもよい。例えば、送信装置100は、ダミーヘッダ401内にMPRTPヘッダ411の一部が書き込まれたRTPパケット400を生成して中継装置200に送信する。そして中継装置200は、送信装置100から受信したRTPパケット400のダミーヘッダ401内にMPRTPヘッダ411のまだ書き込まれていない部分を付加してもよい。これにより、中継装置200のパケット変換処理に係る処理負荷をより大きく低減することができる。
In the present embodiment, the case has been described in which the
また本実施形態では、送信装置100が1台の中継装置200にデータを送信する場合について説明した。ただしこれに限らず、送信装置100は取得したコンテンツデータを複数の中継装置200に送信してもよい。また、送信先の複数の中継装置200には、分散送信を行う(MPRTPに基づく送信を行う)中継装置200と、分散送信を行わず単一の通信経路210でデータの送信を行う(RTPに基づく送信を行う)中継装置200とが含まれていてもよい。このような場合に、送信装置100は、各中継装置200が複数の通信経路210を用いた分散送信を行うか否かを示す情報を取得する。送信装置100はこの情報を、各中継装置200から取得してもよいし、その他の外部装置から取得してもよい。また、ユーザが送信装置100を操作することでこの情報を直接入力してもよい。
In the present embodiment, the case where the
分散送信を行うか否かを示す情報を取得した送信装置100は、ダミーヘッダ401を含む複数のRTPパケット400とダミーヘッダ401を含まない複数のRTPパケット400を同一のコンテンツデータから生成する。そして送信装置100は、複数の通信経路210でデータの送信を行う中継装置200には、ダミーヘッダ401を含む複数のRTPパケット400を送信する。また送信装置100は、単一の通信経路210でデータの送信を行う中継装置200には、ダミーヘッダ401を含まないRTPパケット400を送信する。これにより、複数の通信経路210でデータを送信する中継装置200のパケット変換処理に係る負荷を低減しつつ、単一の通信経路210でデータを送信する中継装置200が受信するパケットのデータ量が無駄に大きくなることを防ぐことができる。
The transmitting
また、本実施形態では中継装置200が複数の通信経路210で並行してデータを送信する場合を中心に説明したが、これに限らない。例えば、中継装置200は有線LANと無線LANなどの複数の通信経路210のうち何れか一つを選択してデータの送信に使用してもよい。この場合も中継装置200は、送信装置100から受信した分割データを送信する際に、送信に使用する通信経路210を識別するための情報をその分割データの情報付加領域に付加する。これにより、中継装置200からデータを受信した受信装置300は、そのデータがどのような通信経路210で伝送されたデータであるかを判断できる。
In the present embodiment, the case where the
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC等)によっても実現可能である。また、そのプログラムをコンピュータにより読み取り可能な記録媒体に記録して提供してもよい。 The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions. Further, the program may be provided by being recorded on a computer-readable recording medium.
100 送信装置
200 中継装置
210 通信経路
100
Claims (20)
コンテンツデータを取得する取得手段と、
前記取得手段が取得したコンテンツデータを所定の送信単位に分割して複数の分割データを生成する生成手段であって、他の通信装置が前記複数の分割データに通信経路の識別子を含む情報を付加して送信するための情報付加領域が、前記複数の分割データそれぞれに含まれるように、前記複数の分割データを生成する生成手段と、
前記生成手段が生成した前記複数の分割データを前記他の通信装置に送信する送信手段とを有することを特徴とする通信装置。 A communication device,
Acquisition means for acquiring content data;
A generation means for generating a plurality of divided data by dividing the content data acquired by the acquisition means into a predetermined transmission unit, and another communication device adds information including a communication path identifier to the plurality of divided data Generating means for generating the plurality of divided data such that an information addition area for transmission is included in each of the plurality of divided data;
A communication device comprising: a transmission unit configured to transmit the plurality of pieces of divided data generated by the generation unit to the other communication device.
前記送信手段は、複数の通信経路でデータの送信を行う他の通信装置には前記生成手段が生成した複数の分割データを送信し、単一の通信経路でデータの送信を行う他の通信装置には前記第2生成手段が生成した複数の分割データを送信することを特徴とする請求項1乃至4の何れか1項に記載の通信装置。 A second generation unit configured to divide the content data acquired by the acquisition unit into a predetermined transmission unit and generate a plurality of divided data not including the information addition region;
The transmission means transmits the plurality of divided data generated by the generation means to another communication apparatus that transmits data through a plurality of communication paths, and transmits the data through a single communication path. The communication apparatus according to claim 1, wherein a plurality of pieces of divided data generated by the second generation unit are transmitted.
前記送信手段は、前記生成手段が生成した前記複数の分割データをRTPに基づいて前記他の通信装置に送信し、
前記通信経路の識別子を含む情報は、MPRTP(Multipath RTP)ヘッダの全体又は一部であることを特徴とする請求項1乃至6の何れか1項に記載の通信装置。 The generation unit generates an RTP (Real-time Transport Protocol) packet in which the information addition area is included in an extension header as the divided data,
The transmission means transmits the plurality of divided data generated by the generation means to the other communication device based on RTP,
The communication apparatus according to claim 1, wherein the information including the identifier of the communication path is the whole or a part of an MPRTP (Multipath RTP) header.
通信経路の識別子を含む情報を付加するための情報付加領域が、前記取得手段が取得した分割データに含まれていることを判別する判別手段と、
前記取得手段が取得した分割データに前記情報付加領域が含まれていることを前記判別手段が判別した場合に、当該分割データの前記情報付加領域に前記通信経路の識別子を含む情報が付加された付加済み分割データを生成する生成手段と、
前記生成手段が生成した付加済み分割データを、当該付加済み分割データに付加された前記通信経路の識別子を含む情報に応じた通信経路で送信する送信手段とを有することを特徴とする通信装置。 Obtaining means for obtaining divided data obtained by dividing content data into predetermined transmission units;
A discriminating unit for discriminating that an information addition area for adding information including an identifier of a communication path is included in the divided data acquired by the acquiring unit;
When the determination unit determines that the information addition area is included in the divided data acquired by the acquisition unit, information including an identifier of the communication path is added to the information addition area of the division data. Generating means for generating added divided data;
A communication apparatus comprising: a transmission unit configured to transmit the added divided data generated by the generation unit through a communication path according to information including an identifier of the communication path added to the added divided data.
前記生成手段により生成される付加済み分割データは、前記取得手段が取得した分割データの前記情報付加領域に前記決定手段による決定に応じた前記通信経路の識別子を含む情報が付加された付加済み分割データであることを特徴とする請求項8に記載の通信装置。 Based on the supplementary information included in the information addition area of the divided data acquired by the acquisition means, the added divided data in which information including the identifier of the communication path is added to the information addition area of the divided data is transmitted. Determining means for determining a communication path;
The added divided data generated by the generating unit includes the added divided data in which information including the identifier of the communication path according to the determination by the determining unit is added to the information addition region of the divided data acquired by the acquiring unit. The communication apparatus according to claim 8, wherein the communication apparatus is data.
前記判別手段は、前記取得手段が取得したパケットのヘッダに前記情報付加領域が含まれていることを判別し、
前記生成手段は、前記取得手段が取得したパケットのヘッダに前記情報付加領域が含まれていることを前記判別手段が判別した場合に、当該パケットの前記情報付加領域に前記通信経路の識別子を含む情報が付加された付加済みパケットを生成することを特徴とする請求項8乃至11の何れか1項に記載の通信装置。 The acquisition means acquires a packet in which content data is divided into the predetermined transmission units,
The determination means determines that the information addition area is included in the header of the packet acquired by the acquisition means,
The generation unit includes the identifier of the communication path in the information addition region of the packet when the determination unit determines that the information addition region is included in the header of the packet acquired by the acquisition unit. The communication apparatus according to claim 8, wherein an added packet to which information is added is generated.
前記判別手段は、前記取得手段が取得したRTPパケットの拡張ヘッダに前記情報付加領域が含まれていることを判別し、
前記生成手段は、前記取得手段が取得したRTPパケットの拡張ヘッダに前記情報付加領域が含まれていることを前記判別手段が判別した場合に、当該RTPパケットの前記情報付加領域に前記通信経路の識別子を含む情報としてMPRTP(Multipath RTP)ヘッダの全体又は一部が付加されたMPRTPパケットを、前記付加済み分割データとして生成することを特徴とする請求項8乃至12の何れか1項に記載の通信装置。 The acquisition unit acquires an RTP (Real-time Transport Protocol) packet in which content data is divided into the predetermined transmission units,
The determination means determines that the information addition area is included in an extension header of the RTP packet acquired by the acquisition means,
When the determination unit determines that the information addition region is included in the extension header of the RTP packet acquired by the acquisition unit, the generation unit adds the communication path to the information addition region of the RTP packet. 13. The MPRTP packet to which an entire or part of an MPRTP (Multipath RTP) header is added as information including an identifier is generated as the added divided data. 13. Communication device.
前記第1通信装置は、
コンテンツデータを取得する取得手段と、
前記取得手段が取得したコンテンツデータを所定の送信単位に分割して、情報を付加するための情報付加領域が含まれる分割データを生成する生成手段と、
前記生成手段が生成した分割データを前記第2通信装置に送信する送信手段とを有し、
前記第2通信装置は、
前記送信手段により送信された分割データを取得する第2取得手段と、
前記第2取得手段が取得した分割データの前記情報付加領域に通信経路の識別子を含む情報が付加された付加済み分割データを生成する第2生成手段と、
前記第2生成手段が生成した付加済み分割データを、当該付加済み分割データに付加された前記通信経路の識別子を含む情報に応じた通信経路で送信する第2送信手段とを有する
ことを特徴とする通信システム。 A communication system having a first communication device and a second communication device,
The first communication device is
Acquisition means for acquiring content data;
Generating means for dividing the content data obtained by the obtaining means into predetermined transmission units and generating divided data including an information addition area for adding information;
Transmission means for transmitting the divided data generated by the generation means to the second communication device,
The second communication device is
Second acquisition means for acquiring the divided data transmitted by the transmission means;
Second generation means for generating added divided data in which information including a communication path identifier is added to the information addition area of the divided data acquired by the second acquisition means;
And second transmission means for transmitting the added divided data generated by the second generation means through a communication path according to information including the identifier of the communication path added to the added divided data. Communication system.
前記第2生成手段により生成される付加済み分割データは、前記第2取得手段が取得した分割データの前記情報付加領域に前記決定手段による決定に応じた前記通信経路の識別子を含む情報が付加された付加済み分割データであることを特徴とする請求項14に記載の通信システム。 The second communication device adds information including a communication path identifier to the information addition area of the divided data based on supplementary information included in the information addition area of the divided data acquired by the second acquisition unit. Determining means for determining a communication path for transmitting the added divided data;
In the added divided data generated by the second generation unit, information including the identifier of the communication path according to the determination by the determination unit is added to the information addition region of the divided data acquired by the second acquisition unit. The communication system according to claim 14, wherein the communication data is added divided data.
前記取得工程において取得されたコンテンツデータを所定の送信単位に分割して複数の分割データを生成する生成工程であって、通信装置が前記複数の分割データに通信経路の識別子を含む情報を付加して送信するための情報付加領域が、前記複数の分割データそれぞれに含まれるように、前記複数の分割データを生成する生成工程と、
前記生成工程において生成された前記複数の分割データを前記通信装置に送信する送信工程とを有することを特徴とする通信方法。 An acquisition process for acquiring content data;
A generation step of dividing the content data acquired in the acquisition step into predetermined transmission units to generate a plurality of divided data, wherein the communication device adds information including a communication path identifier to the plurality of divided data. Generating a plurality of pieces of divided data such that an information addition region for transmission is included in each of the plurality of pieces of divided data;
And a transmission step of transmitting the plurality of divided data generated in the generation step to the communication device.
通信経路の識別子を含む情報を付加するための情報付加領域が、前記取得工程において取得された分割データに含まれていることを判別する判別工程と、
前記取得工程において取得された分割データに前記情報付加領域が含まれていることが前記判別工程において判別された場合に、当該分割データの前記情報付加領域に前記通信経路の識別子を含む情報が付加された付加済み分割データを生成する生成工程と、
前記生成工程において生成された付加済み分割データを、当該付加済み分割データに付加された前記通信経路の識別子を含む情報に応じた通信経路で送信する送信工程とを有することを特徴とする通信方法。 An acquisition step of acquiring divided data obtained by dividing content data into predetermined transmission units;
A determination step of determining that an information addition region for adding information including an identifier of a communication path is included in the divided data acquired in the acquisition step;
When it is determined in the determination step that the information addition area is included in the divided data acquired in the acquisition step, information including the identifier of the communication path is added to the information addition area of the division data. Generating the generated added divided data; and
A transmission step of transmitting the added divided data generated in the generation step through a communication path according to information including the identifier of the communication path added to the added divided data. .
前記生成工程において生成される付加済み分割データは、前記取得工程において取得された分割データの前記情報付加領域に前記決定工程における決定に応じた前記通信経路の識別子を含む情報が付加された付加済み分割データであることを特徴とする請求項18に記載の通信方法。 Based on the supplementary information included in the information addition area of the divided data acquired in the acquisition step, the added divided data in which information including the identifier of the communication path is added to the information addition area of the divided data is transmitted. A determination step for determining a communication path to be performed;
The added divided data generated in the generation step is added with information including an identifier of the communication path according to the determination in the determination step added to the information addition region of the divided data acquired in the acquisition step. The communication method according to claim 18, wherein the communication method is divided data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016091605A JP2017200134A (en) | 2016-04-28 | 2016-04-28 | Communication device, communication system, communication method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016091605A JP2017200134A (en) | 2016-04-28 | 2016-04-28 | Communication device, communication system, communication method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017200134A true JP2017200134A (en) | 2017-11-02 |
Family
ID=60238309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016091605A Pending JP2017200134A (en) | 2016-04-28 | 2016-04-28 | Communication device, communication system, communication method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017200134A (en) |
-
2016
- 2016-04-28 JP JP2016091605A patent/JP2017200134A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5043132B2 (en) | Data transmission method in communication system | |
CA2985217C (en) | Media data live broadcast method, device, and system | |
JP5888417B2 (en) | Communication system, method and program | |
JP5523130B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
US20150350287A1 (en) | Method and server for sending a data stream to a client and method and client for receiving a data stream from a server | |
US20070127437A1 (en) | Medium signal transmission method, reception method, transmission/reception method, and device | |
JP4988487B2 (en) | Data transfer method, apparatus, and program | |
WO2020173165A1 (en) | Method and apparatus for simultaneously switching audio stream and video stream | |
US20140307624A1 (en) | Method and apparatus for scheduling video traffic in wireless communication system | |
JP2015138990A (en) | Receiver, transmitter and communication system | |
JP2010028378A (en) | Communication apparatus and communication method | |
KR20170134451A (en) | Multi-layer timing synchronization framework | |
JPWO2007043649A1 (en) | Relay device, communication terminal, and communication method | |
US10873408B2 (en) | Data reception apparatus, data transmission system, data reception method, and data transmission method | |
JP6237357B2 (en) | Packet transfer system and packet transfer method | |
JP2005244315A (en) | Network quality stabilizing apparatus for video streaming transmission | |
JP2021527351A (en) | Network-controlled uplink media transmission for collaborative media production in scenarios with limited network capacity | |
JP2017200134A (en) | Communication device, communication system, communication method, and program | |
JP2016149648A5 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
JP2014143496A (en) | Transmitter, control method and program of transmitter | |
US9306824B2 (en) | Communication control apparatus, communication control method, and computer-readable non-transitory recording medium | |
JP2008278261A (en) | Repeater, repeater control method, communication system and relay program | |
KR101627796B1 (en) | Device Indicator Data Transmitting Method for Network based AV System | |
JP7431207B2 (en) | Data receiving device, data receiving method, and program | |
US20230283816A1 (en) | Video distribution system, video distribution method, transmission device, and transmission program |