JP2022038424A - Gateway device and program - Google Patents

Gateway device and program Download PDF

Info

Publication number
JP2022038424A
JP2022038424A JP2020142926A JP2020142926A JP2022038424A JP 2022038424 A JP2022038424 A JP 2022038424A JP 2020142926 A JP2020142926 A JP 2020142926A JP 2020142926 A JP2020142926 A JP 2020142926A JP 2022038424 A JP2022038424 A JP 2022038424A
Authority
JP
Japan
Prior art keywords
data
port number
address
destination port
destination
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.)
Granted
Application number
JP2020142926A
Other languages
Japanese (ja)
Other versions
JP7481957B2 (en
Inventor
悠喜 山上
Yuki Yamagami
侑輝 河村
Yuki Kawamura
裕靖 永田
Hiroyasu Nagata
知也 楠
Kazuya Kusunoki
浩一郎 今村
Koichiro Imamura
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Japan Broadcasting Corp
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 Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP2020142926A priority Critical patent/JP7481957B2/en
Priority claimed from JP2020142926A external-priority patent/JP7481957B2/en
Publication of JP2022038424A publication Critical patent/JP2022038424A/en
Application granted granted Critical
Publication of JP7481957B2 publication Critical patent/JP7481957B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To receive more reliably data of an asset that constitutes a package, transmitted by a multicast method.SOLUTION: A gateway device 10 includes a replacement unit 12 for receiving data of multiple assets in a multicast format and location information of multiple assets, converting the data to unicast data in which a destination address set in the data of the multiple assets is replaced with the address of a viewing device 20, and rewriting the location information according to the replacement and sending it to the viewing device 20 via a network.SELECTED DRAWING: Figure 1

Description

本発明は、ゲートウェイ装置およびプログラムに関する。 The present invention relates to gateway devices and programs.

4K映像および8K映像の衛星放送では、従来のデジタル放送で用いられてきたMPEG-2TSに代わり、IP(Internet Protocol)ベースのMMT(MPEG Media Transport)方式が用いられている(非特許文献1参照)。MMT方式では、1つの編成チャンネル(以下、「パッケージ」と称する。)は、複数の映像・音声などのコンポーネント(以下、「アセット」と称する。)を含むことができる。また、MMT方式では、アセットのデータとともに、アセットのデータの宛先IPアドレスおよび宛先ポート番号などのロケーション情報を記したMP(MMT Package)テーブルを含むPA(Package Access)メッセージが伝送される。テレビなどの視聴デバイスである受信装置はまず、PAメッセージを受信し、PAメッセージに含まれるロケーション情報を参照することで、図8に示すように、各アセットのデータを取得することができる。 In satellite broadcasting of 4K video and 8K video, an IP (Internet Protocol) -based MMT (MPEG Media Transport) method is used instead of the MPEG-2 TS used in conventional digital broadcasting (see Non-Patent Document 1). ). In the MMT system, one organization channel (hereinafter referred to as "package") can include a plurality of components such as video and audio (hereinafter referred to as "asset"). Further, in the MMT method, a PA (Package Access) message including an MP (MMT Package) table containing location information such as a destination IP address and a destination port number of the asset data is transmitted together with the asset data. A receiving device, which is a viewing device such as a television, first receives a PA message, and by referring to the location information included in the PA message, the data of each asset can be acquired as shown in FIG.

パッケージを構成する複数のアセットのうち、一部のアセットのデータは、放送路とは異なる伝送路である通信路(例えば、CATVなどのクローズドネットワーク)で伝送することができる。放送路および通信路を利用した放送通信連携サービスが検討されている。このような放送通信連携サービスの一例を図9に示す。 Of the plurality of assets constituting the package, the data of some of the assets can be transmitted on a communication path (for example, a closed network such as CATV) which is a transmission path different from the broadcasting channel. Broadcasting and communication cooperation services that use broadcasting channels and communication channels are being studied. An example of such a broadcast communication cooperation service is shown in FIG.

図9に示す放送通信連携サービスでは、放送路でメインコンテンツである主映像と音声とが伝送され、通信路でサブコンテンツである副映像が伝送される。図9に示す放送通信連携サービスによれば、視聴者は、主映像と副映像とを切り替えたり、同時に楽しんだりすることができる。図9に示すように、PAメッセージは放送路で伝送され、PAメッセージに含まれるMPテーブルには、放送路で伝送されるアセットおよび通信路で伝送されるアセットのロケーション情報が記される。 In the broadcast communication cooperation service shown in FIG. 9, the main video and audio, which are the main contents, are transmitted on the broadcast path, and the sub-video, which is the sub-content, is transmitted on the communication path. According to the broadcast communication cooperation service shown in FIG. 9, the viewer can switch between the main video and the sub video and enjoy them at the same time. As shown in FIG. 9, the PA message is transmitted on the broadcast path, and the location information of the asset transmitted on the broadcast path and the asset transmitted on the communication path is recorded in the MP table included in the PA message.

ARIB STD-B60、「デジタル放送におけるMMTによるメディアトランスポート方式」ARIB STD-B60, "Media Transport Method by MMT in Digital Broadcasting"

MMT方式による放送通信連携サービスでは、メインコンテンツもサブコンテンツもUDP(User Datagram Protocol)/IPマルチキャスト方式で伝送されることが想定される。また、将来の視聴スタイルとして、受信したコンテンツを宅内ネットワークに流し、宅内ネットワーク上のテレビおよびスマートフォンといった視聴デバイスで視聴するという視聴形態が検討されている。 In the broadcasting communication cooperation service by the MMT method, it is assumed that both the main content and the sub-content are transmitted by the UDP (User Datagram Protocol) / IP multicast method. Further, as a future viewing style, a viewing mode in which received content is sent to a home network and viewed on a viewing device such as a television or a smartphone on the home network is being studied.

宅内ネットワークとしては、無線LAN(Local Area Network)が用いられることが多い。無線LANは、有線LANと比べてパケットロスが頻繁に発生する。マルチキャスト方式では、無線レイヤでの誤り訂正およびパケットの再送などの処理が行われないため、上述した視聴形態において、各家庭に届いたマルチキャスト方式のデータをそのまま宅内ネットワークに流しても、視聴デバイスにおいて受信できないことがある。そこで、宅内ネットワークの入り口にゲートウェイ装置を設け、ゲートウェイ装置により、放送路および/または通信路を介して伝送されてきたマルチキャスト方式のデータを、ユニキャスト方式のデータに変換して、宅内ネットワークに流すことが考えられる。 A wireless LAN (Local Area Network) is often used as the home network. A wireless LAN has more frequent packet loss than a wired LAN. In the multicast method, processing such as error correction and packet retransmission is not performed in the wireless layer. Therefore, in the above-mentioned viewing mode, even if the multicast method data delivered to each home is sent to the home network as it is, the viewing device It may not be possible to receive. Therefore, a gateway device is installed at the entrance of the home network, and the multicast system data transmitted via the broadcast path and / or the communication path is converted into unicast system data by the gateway device and sent to the home network. Can be considered.

マルチキャスト方式では、受信しようとするコンテンツに対応するマルチキャストグループに参加することで、視聴デバイスはそのコンテンツを受信することができる。マルチキャスト方式のデータには、マルチキャストグループのIPアドレスが宛先IPアドレスとして設定される。ゲートウェイ装置は、マルチキャスト方式のデータに設定された宛先IPアドレス(マルチキャストグループアドレス)を、視聴デバイスのIPアドレスに付け替えることで、ユニキャスト方式のデータに変換することができる。ユニキャスト方式では、無線レイヤでの誤り訂正およびパケットの再送などの処理が行われるため、パケットロスが発生しても、視聴デバイスはコンテンツを受信することができる。 In the multicast method, the viewing device can receive the content by joining the multicast group corresponding to the content to be received. The IP address of the multicast group is set as the destination IP address in the data of the multicast method. The gateway device can convert the destination IP address (multicast group address) set in the multicast system data to the unicast system data by replacing it with the IP address of the viewing device. In the unicast method, processing such as error correction and packet retransmission at the wireless layer is performed, so that the viewing device can receive the content even if packet loss occurs.

しかしながら、単に、マルチキャスト方式のデータに設定された宛先IPアドレス(マルチキャストグループアドレス)を視聴デバイスのIPアドレスに付け替えるだけでは、PAメッセージのロケーション情報と不整合が生じ、視聴デバイスは、コンテンツのアセットを取得することができなくなってしまう。 However, simply replacing the destination IP address (multicast group address) set in the multicast method data with the IP address of the viewing device causes inconsistency with the location information of the PA message, and the viewing device uses the content asset. You will not be able to get it.

本発明の目的は、上述した課題を解決し、マルチキャスト方式で伝送された、パッケージを構成するアセットのデータをより確実に受信することができるゲートウェイ装置およびプログラムを提供することにある。 An object of the present invention is to solve the above-mentioned problems and to provide a gateway device and a program capable of more reliably receiving data of assets constituting a package transmitted by a multicast method.

上記課題を解決するため、本発明に係るゲートウェイ装置は、マルチキャスト方式で伝送された、パッケージを構成する複数のアセットのデータを、ネットワークを介して接続された受信装置に中継するゲートウェイ装置であって、前記マルチキャスト方式の前記複数のアセットのデータと、前記複数のアセットのロケーション情報とを受信し、前記データに設定された宛先アドレスを前記受信装置のアドレスに付け替えたユニキャスト方式のデータに変換するとともに、前記付け替えに応じて前記ロケーション情報を書き換えて、前記ネットワークを介して前記受信装置に送信する付替部を備える。 In order to solve the above problems, the gateway device according to the present invention is a gateway device that relays data of a plurality of assets constituting a package transmitted by a multicast method to a receiving device connected via a network. , The data of the plurality of assets of the multicast method and the location information of the plurality of assets are received, and the destination address set in the data is converted into the data of the unicast method in which the address of the receiving device is replaced. At the same time, it includes a replacement unit that rewrites the location information according to the replacement and transmits the location information to the receiving device via the network.

また、本発明に係るゲートウェイ装置において、前記パッケージを構成する複数のアセットのうち、一部のアセットのデータは、第1の伝送路を介して伝送され、残りのアセットのデータは、第2の伝送路を介して伝送され、前記ロケーション情報には、前記アセットのデータの宛先アドレスが含まれ、前記付替部は、前記第1の伝送路を介して伝送された第1のデータに設定された宛先アドレスおよび前記第2の伝送路を介して伝送された第2のデータに設定された宛先アドレスをそれぞれ、前記受信装置のアドレスに付け替えるとともに、前記付け替えに応じて、前記ロケーション情報に含まれる宛先アドレスを書き換えることが好ましい。 Further, in the gateway device according to the present invention, among the plurality of assets constituting the package, the data of some of the assets is transmitted via the first transmission path, and the data of the remaining assets is the second. The location information is transmitted via a transmission line, the destination address of the data of the asset is included, and the replacement unit is set to the first data transmitted through the first transmission line. The destination address and the destination address set in the second data transmitted via the second transmission path are each replaced with the address of the receiving device, and are included in the location information according to the replacement. It is preferable to rewrite the destination address.

また、本発明に係るゲートウェイ装置において、前記ロケーション情報には、前記アセットのデータを受信するための宛先ポートのポート番号である宛先ポート番号がさらに含まれ、前記第1のデータに設定された第1のポート番号と、前記第2のデータに設定された第2のポート番号とが同一である場合、前記第1のポート番号と前記第2のポート番号とを異なるポート番号に付け替えるとともに、前記付け替えに応じて、前記ロケーション情報に含まれる宛先ポート番号を書き換える。 Further, in the gateway device according to the present invention, the location information further includes a destination port number which is a port number of the destination port for receiving the data of the asset, and is set in the first data. When the port number 1 and the second port number set in the second data are the same, the first port number and the second port number are replaced with different port numbers, and the above is described. The destination port number included in the location information is rewritten according to the replacement.

また、本発明に係るゲートウェイ装置において、前記アセットのデータの宛先アドレスと、前記アセットのデータを受信するための宛先ポートの宛先ポート番号と、前記宛先ポートの代替であり、前記宛先アドレスごとに異なる代替宛先ポートのポート番号である代替宛先ポート番号とを対応付けた対応関係を記憶する制御部をさらに備え、前記付替部は、前記第1のデータと前記第2のデータとに設定された宛先アドレスが異なり、かつ、前記第1のポート番号と、前記第2のポート番号とが同一である場合、前記記憶された対応関係に基づき、前記第1のポート番号および前記第2のポート番号を、対応する前記代替宛先ポート番号に付け替える。 Further, in the gateway device according to the present invention, the destination address of the data of the asset, the destination port number of the destination port for receiving the data of the asset, and the alternative to the destination port, which are different for each destination address. A control unit for storing a correspondence relationship with an alternative destination port number, which is a port number of the alternative destination port, is further provided, and the replacement unit is set to the first data and the second data. When the destination address is different and the first port number and the second port number are the same, the first port number and the second port number are based on the stored correspondence. Is replaced with the corresponding alternative destination port number.

また、上記課題を解決するため、本発明に係るプログラムは、コンピュータを、上述したゲートウェイ装置として機能させる。 Further, in order to solve the above-mentioned problems, the program according to the present invention causes a computer to function as the above-mentioned gateway device.

本発明に係るゲートウェイ装置およびプログラムによれば、マルチキャスト方式で伝送された、パッケージを構成するデータをより確実に受信することができる。 According to the gateway device and the program according to the present invention, it is possible to more reliably receive the data constituting the package transmitted by the multicast method.

本発明の一実施形態に係るデータ通信システムの構成例を示す図である。It is a figure which shows the structural example of the data communication system which concerns on one Embodiment of this invention. 図1に示すゲートウェイ装置および視聴デバイスの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the operation of the gateway device and a viewing device shown in FIG. 1. 図1に示すゲートウェイ装置の制御部が記憶する、マルチキャストグループと、宛先ポート番号と、代替宛先ポート番号との対応関係の一例を示す図である。It is a figure which shows an example of the correspondence relationship between the multicast group, the destination port number, and the alternative destination port number stored in the control unit of the gateway apparatus shown in FIG. 1. 図1に示す付替部による宛先アドレスおよび宛先ポート番号の付け替えの一例を示す図である。It is a figure which shows an example of the replacement of the destination address and the destination port number by the replacement unit shown in FIG. 1. 図1に示すPAメッセージ書換部によるロケーション情報の書き換えの一例を示す図である。It is a figure which shows an example of the rewriting of the location information by the PA message rewriting unit shown in FIG. 1. 図1に示す付替部による宛先アドレスおよび宛先ポート番号の付け替えの他の一例を示す図である。It is a figure which shows another example of the replacement of the destination address and the destination port number by the replacement unit shown in FIG. 1. 図1に示すPAメッセージ書換部によるロケーション情報の書き換えの他の一例を示す図である。It is a figure which shows another example of the rewriting of the location information by the PA message rewriting unit shown in FIG. 1. 放送路と通信路とで異なるパッケージが伝送される放送通信連携サービスの一例を示す図である。It is a figure which shows an example of the broadcasting communication cooperation service in which a different package is transmitted in a broadcasting path and a communication path. 図6に示すPAメッセージに含まれるロケーション情報の一例を示す図である。It is a figure which shows an example of the location information included in the PA message shown in FIG. ロケーション情報の参照によるアセットのデータの取得について説明するための図である。It is a figure for demonstrating the acquisition of the data of the asset by the reference of the location information. 放送通信連携サービスの一例を示す図である。It is a figure which shows an example of a broadcast communication cooperation service.

以下、本発明の実施の形態について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係るデータ通信システム1の構成例を示す図である。 FIG. 1 is a diagram showing a configuration example of a data communication system 1 according to an embodiment of the present invention.

図1に示すように、本実施形態に係るデータ通信システム1は、ゲートウェイ装置10と、受信装置としての視聴デバイス20とを備える。視聴デバイス20は、ユーザの宅内に設置されたテレビ、スマートフォン、タブレット端末などの、コンテンツを視聴するための装置である。ゲートウェイ装置10と視聴デバイス20とは、無線LANなどの宅内ネットワークを介して接続される。 As shown in FIG. 1, the data communication system 1 according to the present embodiment includes a gateway device 10 and a viewing device 20 as a receiving device. The viewing device 20 is a device for viewing content, such as a television, a smartphone, or a tablet terminal installed in the user's home. The gateway device 10 and the viewing device 20 are connected via a home network such as a wireless LAN.

ゲートウェイ装置10は、視聴デバイス20が接続する宅内ネットワークの入り口に設けられる。ゲートウェイ装置10は、1つの編成チャンネル(パッケージ)を構成する複数のアセットのデータを受信する。具体的には、ゲートウェイ装置10は、マルチキャスト方式で、放送路(第1の伝送路)を介して伝送されてきた、パッケージのメインコンテンツを構成するアセットのデータを受信する。また、ゲートウェイ装置10は、マルチキャスト方式で、通信路(第2の伝送路)を介して伝送されてきた、パッケージのサブコンテンツを構成するアセットのデータを受信する。また、ゲートウェイ装置10は、放送路を介して伝送されてきた、パッケージを構成する複数のアセットのロケーション情報を含むPAメッセージを受信する。ロケーション情報は、アセットのデータの宛先IPアドレス、宛先ポート番号などの、アセットのデータの取得に際して参照される情報である。ゲートウェイ装置10は、受信したマルチキャスト方式のデータ(パケット)をユニキャスト方式のデータ(パケット)に変換して、宅内ネットワークを介して視聴デバイス20に送信する。また、ゲートウェイ装置10は、上述したマルチキャスト方式のデータのユニキャスト方式のデータへの変換に応じて、PAメッセージに含まれるロケーション情報を書き換えて、視聴デバイス20に送信する。 The gateway device 10 is provided at the entrance of the home network to which the viewing device 20 is connected. The gateway device 10 receives data of a plurality of assets constituting one organization channel (package). Specifically, the gateway device 10 receives data of assets constituting the main contents of the package transmitted via a broadcasting path (first transmission path) by a multicast method. Further, the gateway device 10 receives the data of the assets constituting the sub-contents of the package transmitted via the communication path (second transmission path) by the multicast method. Further, the gateway device 10 receives a PA message including location information of a plurality of assets constituting the package, which has been transmitted via the broadcasting path. The location information is information referred to when acquiring the asset data, such as the destination IP address and destination port number of the asset data. The gateway device 10 converts the received multicast data (packet) into unicast data (packet) and transmits the data to the viewing device 20 via the home network. Further, the gateway device 10 rewrites the location information included in the PA message in accordance with the conversion of the above-mentioned multicast system data into unicast system data, and transmits the location information to the viewing device 20.

視聴デバイス20は、ゲートウェイ装置10から宅内ネットワークを介して送信されてきたPAメッセージに含まれるロケーション情報を参照して、メインコンテンツおよびサブコンテンツのアセットのデータを取得し、コンテンツをユーザに提示する。 The viewing device 20 refers to the location information included in the PA message transmitted from the gateway device 10 via the home network, acquires the data of the assets of the main content and the sub-content, and presents the content to the user.

次に、ゲートウェイ装置10および視聴デバイス20の構成について、図1を参照して説明する。まず、ゲートウェイ装置10の構成について説明する。 Next, the configurations of the gateway device 10 and the viewing device 20 will be described with reference to FIG. First, the configuration of the gateway device 10 will be described.

図1に示すように、ゲートウェイ装置10は、制御部11と、付替部12とを備える。 As shown in FIG. 1, the gateway device 10 includes a control unit 11 and a replacement unit 12.

制御部11は、詳細は後述するが、視聴デバイス20が受信するコンテンツに対応するマルチキャストグループのIPアドレスIPdと、IPアドレスIPdを宛先とするデータを視聴デバイス20において受信するためのポート(宛先ポート)のポート番号である宛先ポート番号Pdと、宛先ポートの代替となるポート(代替宛先ポート)のポート番号である代替宛先ポート番号Paとを対応付けて記憶する。制御部11は、後述する視聴デバイス20の制御部21と制御信号をやり取りすることで、IPアドレスIPdと、宛先ポート番号Pdと、代替宛先ポート番号Paとの対応関係を取得する。制御部11は、記憶している対応関係に基づき、受信したマルチキャスト方式のデータに含まれる、宛先アドレス(IPアドレスIPd)および宛先ポート番号Pdの付け替えを指示する付替指示を付替部12に出力する。 Although the details will be described later, the control unit 11 has a port for receiving the IP address IP d of the multicast group corresponding to the content received by the viewing device 20 and the data destined for the IP address IP d in the viewing device 20 (the control unit 11). The destination port number P d , which is the port number of the destination port), and the alternative destination port number P a , which is the port number of the port (alternative destination port) that substitutes for the destination port, are stored in association with each other. The control unit 11 acquires a correspondence relationship between the IP address IP d , the destination port number P d , and the alternative destination port number P a by exchanging a control signal with the control unit 21 of the viewing device 20 described later. The control unit 11 replaces the replacement instruction to instruct the replacement of the destination address (IP address IP d ) and the destination port number P d included in the received multicast method data based on the stored correspondence. Output to 12.

付替部12は、視聴デバイス20が接続された宅内ネットワークの外部(放送路および通信路(例えば、CATVなどのクローズドネットワーク))を介して送信されてきた、メインコンテンツおよびサブコンテンツのアセットのデータ(パケット)を受信する。また、付替部12は、放送路を介して送信されてきた、ロケーション情報を含むPAメッセージを受信する。ロケーション情報には、1つのパッケージを構成する複数のアセットのデータの取得に際して参照される情報が含まれる。したがって、ロケーション情報には、放送路を介して伝送されるアセットだけでなく、放送路を介して伝送されるアセットと同じパッケージを構成する、通信路を介して伝送されるアセットの取得に際して参照される情報も含まれる。 The replacement unit 12 receives data (main content and sub-content asset data) transmitted via the outside of the home network (broadcast path and communication path (for example, a closed network such as CATV)) to which the viewing device 20 is connected. Packet) is received. Further, the replacement unit 12 receives the PA message including the location information transmitted via the broadcast path. The location information includes information referred to when acquiring data of a plurality of assets constituting one package. Therefore, the location information is referred to not only for the assets transmitted over the broadcast path, but also for the acquisition of the assets transmitted over the channel, which constitute the same package as the assets transmitted over the broadcast channel. Information is also included.

受信したマルチキャスト方式のデータ(パケット)には、宛先アドレスとして、視聴デバイス20が参加するマルチキャストグループのIPアドレスIPdが設定され、また、IPアドレスIPdを宛先とするデータを受信するための宛先ポートの宛先ポート番号Pdが設定されている。付替部12は、制御部11から出力された付替指示に従い、マルチキャスト方式のデータに設定された、IPアドレスIPdを視聴デバイス20のIPアドレスに付け替える。こうすることで、付替部12は、受信したマルチキャスト方式のデータを、ユニキャスト方式のデータに変換する。また、付替部12は、詳細は後述するが、必要に応じて、マルチキャスト方式のデータに設定された宛先ポート番号Pdを、宛先ポート番号Pdに対応付けられた代替宛先ポート番号Paに付け替える。 In the received multicast method data (packet), the IP address IP d of the multicast group in which the viewing device 20 participates is set as the destination address, and the destination for receiving the data destined for the IP address IP d . The destination port number Pd of the port is set. The replacement unit 12 replaces the IP address IP d set in the multicast method data with the IP address of the viewing device 20 according to the replacement instruction output from the control unit 11. By doing so, the replacement unit 12 converts the received multicast system data into unicast system data. Further, although the details will be described later, the replacement unit 12 assigns the destination port number P d set in the multicast method data to the alternative destination port number P a associated with the destination port number P d , although the details will be described later. Replace with.

また、付替部12は、PAメッセージ書換部121を備える。PAメッセージ書換部121は、上述した、マルチキャスト方式のデータに設定されたIPアドレスIPd(および宛先ポート番号Pd)の付け替えに応じて、ロケーション情報を書き換える。付替部12は、マルチキャスト方式のデータを変換して生成したユニキャスト方式のデータ、および、ロケーション情報を書き換えたPAメッセージを、宅内ネットワークを介して視聴デバイス20に送信する。 Further, the replacement unit 12 includes a PA message rewriting unit 121. The PA message rewriting unit 121 rewrites the location information according to the replacement of the IP address IP d (and the destination port number P d ) set in the multicast method data described above. The replacement unit 12 transmits the unicast system data generated by converting the multicast system data and the PA message in which the location information is rewritten to the viewing device 20 via the home network.

次に、視聴デバイス20の構成について説明する。 Next, the configuration of the viewing device 20 will be described.

図1に示すように、視聴デバイス20は、制御部21と、デコーダ22と、提示部23とを備える。 As shown in FIG. 1, the viewing device 20 includes a control unit 21, a decoder 22, and a presentation unit 23.

制御部21は、制御部11と制御信号のやり取りを行い、視聴デバイス20が参加を希望するマルチキャストグループのIPアドレスIPd、宛先ポート番号Pdおよび代替宛先ポート番号Paをゲートウェイ装置10に通知する。マルチキャストグループのIPアドレスIPdと、宛先ポート番号Pdと、代替宛先ポート番号Paとが対応付けてゲートウェイ装置10で記憶されると、制御部21は、ゲートウェイ装置10から送信されるユニキャスト方式のデータの受信および受信したデータに基づくコンテンツの提示を指示する受信・提示指示をデコーダ22に出力する。 The control unit 21 exchanges a control signal with the control unit 11 and notifies the gateway device 10 of the IP address IP d , the destination port number P d , and the alternative destination port number P a of the multicast group that the viewing device 20 wants to participate in. do. When the IP address IP d of the multicast group, the destination port number P d , and the alternative destination port number P a are stored in the gateway device 10 in association with each other, the control unit 21 is unicast transmitted from the gateway device 10. The reception / presentation instruction instructing the reception of the data of the method and the presentation of the content based on the received data is output to the decoder 22.

デコーダ22は、制御部21から受信・提示指示が出力されると、ゲートウェイ装置10から宅内ネットワークを介して送信されてきたPAメッセージに含まれるロケーション情報を参照して、ユニキャスト方式で伝送されてきたコンテンツ(メインコンテンツおよびサブコンテンツ)のデータを受信する。デコーダ22は、受信したデータを復号し、コンテンツの映像・音声信号を取得して、提示部23に出力する。 When the reception / presentation instruction is output from the control unit 21, the decoder 22 is transmitted by a unicast method with reference to the location information included in the PA message transmitted from the gateway device 10 via the home network. Receives the data of the contents (main content and sub-contents). The decoder 22 decodes the received data, acquires the video / audio signal of the content, and outputs the video / audio signal to the presentation unit 23.

提示部23は、デコーダ22から出力された映像・音声信号を再生し、コンテンツを提示する。 The presentation unit 23 reproduces the video / audio signal output from the decoder 22 and presents the content.

次に、ゲートウェイ装置10および視聴デバイス20の動作を、図2に示すシーケンス図を参照して説明する。視聴デバイス20がマルチキャストグループに参加する操作を制御するプロトコルとして、IGMP(Internet Group Management Protocol)がある。以下では、IGMPを用いた場合を例として説明する。また、以下では、IPアドレスのプロトコルとしてIPv4を用いる場合を例として説明する。IPv6を用いる場合には、MLD(Multicast Listener Discovery)というプロトコルを用いることができる。この場合、視聴デバイス20は、後述するIGMP Joinメッセージの代わりにMLD Joinメッセージを送信し、IGMP Leaveメッセージの代わりにMLD Leaveメッセージを送信する点が異なるが、他の手順は、IPv4を用いる場合と同様である。 Next, the operation of the gateway device 10 and the viewing device 20 will be described with reference to the sequence diagram shown in FIG. There is IGMP (Internet Group Management Protocol) as a protocol for controlling the operation of the viewing device 20 to join the multicast group. Hereinafter, the case where IGMP is used will be described as an example. Further, in the following, a case where IPv4 is used as an IP address protocol will be described as an example. When IPv6 is used, a protocol called MLD (Multicast Listener Discovery) can be used. In this case, the viewing device 20 sends an MLD Join message instead of the IGMP Join message described later, and sends an MLD Leave message instead of the IGMP Leave message, but the other procedure is different from the case of using IPv4. The same is true.

マルチキャストグループに参加する場合、制御部21は、マルチキャストグループへの参加を要求するIGMP Joinメッセージをゲートウェイ装置10に送信する(ステップS101)。IGMP Joinメッセージには、参加を希望するマルチキャストグループのIPアドレスIPdと、IPアドレスIPdを宛先とするデータを受信する宛先ポートの宛先ポート番号Pdとが含まれる。宛先ポート番号Pdは伝送されるコンテンツに関連付けられたポート番号であり、コンテンツが配信されるマルチキャストグループのIPアドレスIPdとともに、コンテンツの配信開始前あるいは配信開始時などに、不図示の放送局から通知される。視聴デバイス20は、IGMP Joinメッセージをゲートウェイ装置10に送信すると、宛先ポートを開いて、コンテンツのデータ(パケット)を待ち受ける。なお、視聴デバイス20は、IGMP Joinメッセージを一定時間ごとに繰り返し送信する。 When joining the multicast group, the control unit 21 sends an IGMP Join message requesting participation in the multicast group to the gateway device 10 (step S101). The IGMP Join message includes the IP address IP d of the multicast group desired to join and the destination port number P d of the destination port that receives data destined for the IP address IP d . The destination port number P d is a port number associated with the content to be transmitted, and is a broadcasting station (not shown) before or at the start of distribution of the content together with the IP address IP d of the multicast group to which the content is distributed. Will be notified from. When the viewing device 20 sends an IGMP Join message to the gateway device 10, it opens a destination port and listens for content data (packets). The viewing device 20 repeatedly transmits an IGMP Join message at regular intervals.

制御部11は、視聴デバイス20から送信されてきたIGMP Joinメッセージを受信する。視聴デバイス20が接続する宅内ネットワークがマルチキャスト方式に対応している場合、IGMPで定められた通常のシーケンスに従い、マルチキャスト方式のデータが視聴デバイス20に中継され、視聴デバイス20において受信される。 The control unit 11 receives the IGMP Join message transmitted from the viewing device 20. When the home network to which the viewing device 20 is connected supports the multicast method, the data of the multicast method is relayed to the viewing device 20 and received by the viewing device 20 according to a normal sequence defined by IGMP.

宅内ネットワークがマルチキャスト方式に対応していない場合、制御部11は、IGMP Joinメッセージを受信すると、視聴デバイス20の宛先ポートに宛てて、ユニキャスト方式で代替宛先ポート要求メッセージを送信する(ステップS102)。代替宛先ポート要求メッセージは、宛先ポートの代替となる代替宛先ポートのポート番号(代替宛先ポート番号Pa)の通知を要求するメッセージである。制御部11は、視聴デバイス20が接続する宅内ネットワークがマルチキャスト方式に対応しているか否かを予め把握することができる。 When the home network does not support the multicast method, when the control unit 11 receives the IGMP Join message, it sends an alternative destination port request message to the destination port of the viewing device 20 by the unicast method (step S102). .. The alternative destination port request message is a message requesting notification of the port number (alternative destination port number Pa) of the alternative destination port that is an alternative to the destination port. The control unit 11 can grasp in advance whether or not the home network to which the viewing device 20 is connected supports the multicast method.

制御部21は、ゲートウェイ装置10から送信されてきた代替宛先ポート要求メッセージを受信すると、空きポートの中から代替宛先ポートとするポートを選択し、代替宛先ポート返答メッセージを、ゲートウェイ装置10に送信する(ステップS103)。代替宛先ポート返答メッセージには、視聴デバイス20が参加を希望するマルチキャストグループのIPアドレスIPdと、宛先ポート番号Pdと、代替宛先ポート番号Paとが含まれる。視聴デバイス20は、後述する宛先ポート番号Pdの代替宛先ポート番号Paへの付け替えが行われる場合には、代替宛先ポートを開いて、ユニキャスト方式のデータを待ち受ける。 When the control unit 21 receives the alternative destination port request message transmitted from the gateway device 10, it selects the port to be the alternative destination port from the available ports and transmits the alternative destination port reply message to the gateway device 10. (Step S103). The alternative destination port reply message includes the IP address IP d of the multicast group that the viewing device 20 wants to join, the destination port number P d , and the alternative destination port number P a . When the destination port number P d , which will be described later, is replaced with the alternative destination port number P a , the viewing device 20 opens the alternative destination port and listens for the unicast data.

制御部11は、視聴デバイス20から送信されてきた代替宛先ポート返答メッセージを受信すると、代替宛先ポート返答メッセージに含まれる、IPアドレスIPdと、宛先ポート番号Pdと、代替宛先ポート番号Paとを対応付けて記憶する(ステップS104)。制御部11は、マルチキャストグループのIPアドレスIPdと、宛先ポート番号Pdと、代替宛先ポート番号Paとの対応付けを記憶すると、付替指示を付替部12に出力する。 When the control unit 11 receives the alternative destination port reply message transmitted from the viewing device 20, the control unit 11 includes the IP address IP d , the destination port number P d , and the alternative destination port number P a included in the alternative destination port reply message. And are stored in association with each other (step S104). When the control unit 11 stores the correspondence between the IP address IP d of the multicast group, the destination port number P d , and the alternative destination port number P a , the control unit 11 outputs a replacement instruction to the replacement unit 12.

付替指示が制御部11から出力されると、付替部12は、マルチキャスト方式で放送路を介して伝送されてきたメインコンテンツのアセットのデータ、および、マルチキャスト方式で通信路を介して伝送されてきたサブコンテンツのアセットのデータを受信する(ステップS105)。受信したマルチキャスト方式のデータには、マルチキャストグループのIPアドレスIPdと、宛先ポート番号Pdとが含まれる。 When the replacement instruction is output from the control unit 11, the replacement unit 12 has transmitted the data of the assets of the main content transmitted via the broadcast path by the multicast method and the replacement unit 12 via the communication path by the multicast method. The data of the asset of the sub-content is received (step S105). The received multicast method data includes the IP address IP d of the multicast group and the destination port number P d .

付替部12は、受信したマルチキャスト方式のデータを、ユニキャスト方式のデータに変換する。具体的には、付替部12は、マルチキャスト方式のデータに含まれる、マルチキャストグループのIPアドレスIPdを視聴デバイス20のIPアドレスに付け替える。また、付替部12は、必要に応じて、受信したマルチキャスト方式のデータに含まれる宛先ポート番号Pdを、その宛先ポート番号Pdに対応付けて制御部11に記憶されている代替宛先ポート番号Paに付け替える。また、PAメッセージ書換部121は、上述したIPアドレスIPd(および宛先ポート番号Pd)の付け替えに応じて、PAメッセージに含まれるロケーション情報を書き換える(ステップS106)。 The replacement unit 12 converts the received multicast data into unicast data. Specifically, the replacement unit 12 replaces the IP address IP d of the multicast group included in the data of the multicast method with the IP address of the viewing device 20. Further, the replacement unit 12 associates the destination port number Pd included in the received multicast method data with the destination port number Pd and stores the alternative destination port in the control unit 11 as necessary. Replace with the number P a . Further, the PA message rewriting unit 121 rewrites the location information included in the PA message according to the replacement of the IP address IP d (and the destination port number P d ) described above (step S106).

付替部12は、マルチキャスト方式のデータを変換して生成したユニキャスト方式のデータを、宅内ネットワークを介して視聴デバイス20に送信する(ステップS107)。上述したように、視聴デバイス20はIGMP Joinメッセージを一定時間ごとに繰り返し送信するが、ゲートウェイ装置10は、マルチキャスト方式のデータをユニキャスト方式のデータに変換して視聴デバイス20に送信する中継動作を開始すると、視聴デバイス20からIGMP Joinメッセージを受信しても、代替宛先ポート要求メッセージを送信しない。 The replacement unit 12 transmits the unicast system data generated by converting the multicast system data to the viewing device 20 via the home network (step S107). As described above, the viewing device 20 repeatedly transmits the IGMP Join message at regular intervals, but the gateway device 10 performs a relay operation of converting the multicast system data into unicast system data and transmitting it to the viewing device 20. When started, even if the IGMP Join message is received from the viewing device 20, the alternative destination port request message is not sent.

ゲートウェイ装置10は、マルチキャストグループからの離脱を要求するIGMP Leaveメッセージを視聴デバイス20から受信すると(ステップS108)、パケットの中継動作を終了する。すなわち、ゲートウェイ装置10は、IGMP Leaveメッセージを視聴デバイス20から受信するまで、上述したステップS105からステップS107の処理を繰り返す。 When the gateway device 10 receives the IGMP Leave message requesting withdrawal from the multicast group from the viewing device 20 (step S108), the gateway device 10 ends the packet relay operation. That is, the gateway device 10 repeats the processes of steps S105 to S107 described above until the IGMP Leave message is received from the viewing device 20.

視聴デバイス20におけるコンテンツの視聴形態として、マルチキャストグループのIPアドレスIPdだけが異なり、宛先ポート番号が同一であるコンテンツ(IPフロー)を同時に視聴するという視聴形態がある。このような視聴形態としては、例えば、スポーツ中継において、放送路経由でカメラの映像が伝送され、通信路(例えば、CATVなどのクローズドネットワーク)経由で別のカメラの映像が伝送され、これらの映像を視聴デバイス20で同時に視聴するという視聴形態がある。 As a viewing mode of the content in the viewing device 20, there is a viewing mode in which only the IP address IP d of the multicast group is different and the content (IP flow) having the same destination port number is simultaneously viewed. As such a viewing mode, for example, in a sports broadcast, an image of a camera is transmitted via a broadcasting path, and an image of another camera is transmitted via a communication path (for example, a closed network such as CATV), and these images are transmitted. There is a viewing mode in which the images are simultaneously viewed on the viewing device 20.

マルチキャスト方式のデータを視聴デバイス20に中継する場合、マルチキャスト方式のデータに設定されたマルチキャストグループのIPアドレスIPdを、視聴デバイス20のIPアドレスに単純に書き換える方法もある。しかしながら、この方法では、上述した視聴形態において、マルチキャストグループのIPアドレスIPdだけが異なり、宛先ポート番号Pdが同一であるIPフローを区別することができない。一方、本実施形態においては、IPフローごとに、宛先ポート番号Pdを代替宛先ポート番号Paに付け替えることができるので、上述したような視聴形態でも、各IPフローを区別することができる。 When relaying the multicast system data to the viewing device 20, there is also a method of simply rewriting the IP address IP d of the multicast group set in the multicast system data to the IP address of the viewing device 20. However, in this method, in the above-mentioned viewing mode, only the IP address IP d of the multicast group is different, and the IP flows having the same destination port number P d cannot be distinguished. On the other hand, in the present embodiment, since the destination port number P d can be replaced with the alternative destination port number P a for each IP flow, each IP flow can be distinguished even in the above-mentioned viewing mode.

次に、マルチキャスト方式のデータに設定されたIPアドレスIPd(および宛先ポート番号Pd)の付け替え、および、その付け替えに応じたロケーション情報の書き換えの具体例について説明する。なお、以下では、制御部11は、図3に示すように、マルチキャストグループのIPアドレスIPdと、宛先ポート番号Pdと、代替宛先ポート番号Paとを対応付けて記憶しているものとする。図3に示す例では、メインコンテンツのマルチキャストグループのIPアドレスIPd「224.0.0.1」と、メインコンテンツに関連付けられた宛先ポートの宛先ポート番号Pd「51216」と、代替宛先ポートの代替宛先ポート番号Pa「50000」とが対応付けられている。また、サブコンテンツのマルチキャストグループのIPアドレスIPd「224.0.0.2」と、サブコンテンツに関連付けられた宛先ポートの宛先ポート番号Pd「51216」と、代替宛先ポートの代替宛先ポート番号Pa「50001」とが対応付けられている。図3に示すように、制御部11は、マルチキャストグループアドレス(アセットのデータの宛先アドレス)と、アセットのデータを受信するための宛先ポートの宛先ポート番号Pdと、宛先ポートの代替であり、宛先アドレスごとに異なる代替宛先ポートのポート番号である代替宛先ポート番号Paとを対応付けて記憶する。 Next, a specific example of replacing the IP address IP d (and the destination port number P d ) set in the data of the multicast method and rewriting the location information according to the replacement will be described. In the following, as shown in FIG. 3, the control unit 11 stores the IP address IP d of the multicast group, the destination port number P d , and the alternative destination port number P a in association with each other. do. In the example shown in FIG. 3, the IP address IP d “224.0.0.1” of the multicast group of the main content, the destination port number P d “51216” of the destination port associated with the main content, and the alternative destination port are substituted. It is associated with the destination port number P a "50,000". Further, the IP address IP d "224.0.0.2" of the multicast group of the sub-content, the destination port number P d "51216" of the destination port associated with the sub-content, and the alternative destination port number of the alternative destination port. P a "50001" is associated with it. As shown in FIG. 3, the control unit 11 is an alternative to the multicast group address (destination address of the asset data), the destination port number Pd of the destination port for receiving the asset data, and the destination port. The alternative destination port number P a , which is the port number of the alternative destination port that differs for each destination address, is stored in association with each other.

図4Aは、付替部12の動作の一例を示す図である。図4Aでは、図の簡略化のため、制御部11、制御部21および提示部23については記載を省略している。なお、以下では、視聴デバイス20のIPアドレスは「192.168.0.100」であるとする。また、以下では、図9を参照して説明したように、1つのパッケージを構成する複数のアセットのうち、一部のアセット(メインコンテンツのアセット)のデータ(第1のデータ)は放送路(第1の伝送路)で伝送され、残りのアセット(サブコンテンツのアセット)のデータ(第2のデータ)は通信路(第2の伝送路)で伝送されるものとする。 FIG. 4A is a diagram showing an example of the operation of the replacement unit 12. In FIG. 4A, the control unit 11, the control unit 21, and the presentation unit 23 are omitted for the sake of simplification of the figure. In the following, it is assumed that the IP address of the viewing device 20 is "192.168.0.100". Further, in the following, as described with reference to FIG. 9, among the plurality of assets constituting one package, the data (first data) of some of the assets (main content assets) is the broadcasting channel (first data). It is assumed that the data (second data) of the remaining assets (sub-content assets) is transmitted on the communication path (second transmission path).

図4Aに示す例では、メインコンテンツのアセットのデータには、IPアドレスIPd「224.0.0.1」と、宛先ポート番号Pd「51216」とが設定されている。また、サブコンテンツのアセットのデータには、IPアドレスIPd「224.0.0.2」と、宛先ポート番号Pd「51216」とが設定されている。 In the example shown in FIG. 4A, the IP address IP d "224.0.0.1" and the destination port number P d "51216" are set in the data of the assets of the main content. Further, the IP address IP d "224.0.0.2" and the destination port number P d "51216" are set in the data of the assets of the sub-contents.

付替部12は、メインコンテンツのアセットのデータに設定されたIPアドレスIPd「224.0.0.1」を、視聴デバイス20のIPアドレス「192.168.0.100」に付け替える。また、付替部12は、サブコンテンツのアセットのデータに設定されたIPアドレスIPd「224.0.0.2」を、視聴デバイス20のIPアドレス「192.168.0.100」に付け替える。 The replacement unit 12 replaces the IP address IP d "224.0.0.1" set in the data of the assets of the main content with the IP address "192.168.0.100" of the viewing device 20. Further, the replacement unit 12 replaces the IP address IP d "224.0.0.2" set in the data of the asset of the sub-content with the IP address "192.168.0.100" of the viewing device 20. ..

図3を参照して説明したように、IPアドレスIPd「224.0.0.1」および宛先ポート番号Pd「51216」に対応付けて、代替宛先ポート番号Pa「50000」が記憶されている。また、IPアドレスIPd「224.0.0.2」および宛先ポート番号Pd「51216」に対応付けて、代替宛先ポート番号Pa「50001」が記憶されている。付替部12は、この対応関係に基づき、メインコンテンツのアセットのデータに設定された宛先ポート番号Pd「51216」を代替宛先ポート番号Pa「50000」に付け替え、サブコンテンツのアセットのデータに設定された宛先ポート番号Pd「51216」を代替宛先ポート番号Pa「50001」に付け替える。 As described with reference to FIG. 3, the alternative destination port number P a "50000" is stored in association with the IP address IP d "224.0.0.1" and the destination port number P d "51216". ing. Further, the alternative destination port number P a "50001" is stored in association with the IP address IP d "224.0.0.2" and the destination port number P d "51216". Based on this correspondence, the replacement unit 12 replaces the destination port number P d "51216" set in the data of the main content asset with the alternative destination port number P a "50000" and sets it in the data of the sub content asset. The destination port number P d "51216" is replaced with the alternative destination port number P a "50001".

したがって、付替部12は、視聴デバイス20のIPアドレス「192.168.0.100」および代替宛先ポート番号Pa「50000」が設定された、ユニキャスト方式のメインコンテンツのアセットのデータを視聴デバイス20に送信する。また、付替部12は、視聴デバイス20のIPアドレス「192.168.0.100」および代替宛先ポート番号Pa「50001」が設定された、ユニキャスト方式のサブコンテンツのアセットのデータを視聴デバイス20に送信する。 Therefore, the replacement unit 12 views the data of the unicast main content asset in which the IP address “192.168.0.100” of the viewing device 20 and the alternative destination port number P a “50000” are set. Send to 20. Further, the replacement unit 12 views the data of the unicast sub-content asset in which the IP address “192.168.0.100” of the viewing device 20 and the alternative destination port number P a “50001” are set. Send to device 20.

PAメッセージ書換部121は、上述したIPアドレスIPdおよび宛先ポート番号Pdの付け替えに応じて、PAメッセージに含まれるロケーション情報を書き換える。PAメッセージ書換部121によるロケーション情報の書き換えについて図4Bを参照して説明する。 The PA message rewriting unit 121 rewrites the location information included in the PA message according to the replacement of the IP address IP d and the destination port number P d described above. The rewriting of the location information by the PA message rewriting unit 121 will be described with reference to FIG. 4B.

図4Bに示す例では、メインコンテンツのアセットのロケーション情報として、「location_type」が含まれる。「location_type」はロケーション情報の種類を示す。図4Bに示す例では、「location_type」として、「0x00」が設定されている。「0x00」は、ロケーション情報を記したMPテーブルを含むPAメッセージが伝送されるIPデータフローと同一のIPデータフローであることを示す。 In the example shown in FIG. 4B, "location_type" is included as the location information of the assets of the main content. "Location_type" indicates the type of location information. In the example shown in FIG. 4B, "0x00" is set as the "location_type". "0x00" indicates that the IP data flow is the same as the IP data flow in which the PA message including the MP table containing the location information is transmitted.

また、図4Bに示す例では、サブコンテンツのアセットのロケーション情報として、「location_type」と、「ipv4_src_addr」と、「ipv4_dst_addr」と、「dst_port」とが含まれる。「location_type」として、「0x01」が設定されている。「0x01」は、IPv4のデータフローであることを示す。「ipv4_src_addr」は、サブコンテンツの送信元のIPアドレスであるソースIPアドレスを示し、図4Bに示す例では、「10.0.0.1」が設定される。「ipv4_dst_addr」は、IPv4データフローの宛先アドレスを示し、サブコンテンツのアセットのデータに設定されたIPアドレスIPd「224.0.0.2」が設定される。「dst_port」は、IPv4データフローの宛先ポート番号を示し、視聴デバイス20の宛先ポートの宛先ポート番号Pd「51216」が設定される。 Further, in the example shown in FIG. 4B, "location_type", "ipv4_src_addr", "ipv4_dst_addr", and "dst_port" are included as the location information of the assets of the sub-content. "0x01" is set as "location_type". "0x01" indicates that the data flow is IPv4. “Ipv4_src_addr” indicates the source IP address which is the IP address of the source of the sub-content, and in the example shown in FIG. 4B, “10.0.0.1” is set. “Ipv4_dst_addr” indicates the destination address of the IPv4 data flow, and the IP address IP d “224.0.0.2” set in the data of the asset of the sub-content is set. “Dst_port” indicates the destination port number of the IPv4 data flow, and the destination port number P d “51216” of the destination port of the viewing device 20 is set.

上述したように、サブコンテンツのアセットのデータに設定された宛先IPアドレスIPd「224.0.0.2」は、視聴デバイス20のIPアドレス「192.168.0.100」に書き換えられる。また、サブコンテンツのアセットのデータに設定された宛先ポート番号Pd「51216」は、代替宛先ポート番号Pa「50001」に書き換えられる。したがって、PAメッセージ書換部121は、図4Bに示すように、サブコンテンツのロケーション情報に含まれる「ipv4_dst_addr」に設定された「224.0.0.2」を、「192.168.0.100」に書き換える。また、PAメッセージ書換部121は、図4Bに示すように、サブコンテンツのロケーション情報に含まれる「dst_port」に設定された「51216」を、「50001」に書き換える。 As described above, the destination IP address IP d "224.0.0.2" set in the data of the asset of the sub-content is rewritten to the IP address "192.168.0.100" of the viewing device 20. Further, the destination port number P d "51216" set in the data of the asset of the sub-content is rewritten to the alternative destination port number P a "50001". Therefore, as shown in FIG. 4B, the PA message rewriting unit 121 replaces "224.0.0.2" set in "ipv4_dst_addr" included in the location information of the sub-content with "192.168.0.100". Rewrite to. Further, as shown in FIG. 4B, the PA message rewriting unit 121 rewrites "51216" set in "dst_port" included in the location information of the sub-content to "50001".

このように、付替部12は、メインコンテンツとサブコンテンツとが1つのパッケージを構成し、メインコンテンツの宛先ポート番号Pd(第1のポート番号)と、サブコンテンツとで宛先ポート番号Pd(第2のポート番号)とが同一である場合、宛先IPアドレスIPdおよび宛先ポート番号Pdの付け替え、ならびに、ロケーション情報の書き換えを行う。 In this way, in the replacement unit 12, the main content and the sub-content form one package, and the destination port number P d (first port number) of the main content and the sub-content are the destination port number P d (first). If the port number of 2) is the same, the destination IP address IP d and the destination port number P d are replaced, and the location information is rewritten.

図5Aは、付替部12の動作の他の一例を示す図である。なお、図5Aにおいても、制御部11、制御部21および提示部23については記載を省略している。 FIG. 5A is a diagram showing another example of the operation of the replacement unit 12. Also in FIG. 5A, the description of the control unit 11, the control unit 21, and the presentation unit 23 is omitted.

図5Aに示す例では、メインコンテンツのアセットのデータには、IPアドレスIPd「224.0.0.1」と、宛先ポート番号Pd「51216」とが設定されている。また、サブコンテンツのアセットのデータには、IPアドレスIPd「224.0.0.2」と、宛先ポート番号Pd「51217」とが設定されている。 In the example shown in FIG. 5A, the IP address IP d "224.0.0.1" and the destination port number P d "51216" are set in the data of the assets of the main content. Further, the IP address IP d "224.0.0.2" and the destination port number P d "51217" are set in the data of the assets of the sub-contents.

付替部12は、メインコンテンツのアセットのデータに設定されたIPアドレスIPd「224.0.0.1」を、視聴デバイス20のIPアドレス「192.168.0.100」に付け替える。また、付替部12は、サブコンテンツのアセットのデータに設定されたIPアドレスIPd「224.0.0.2」を、視聴デバイス20のIPアドレス「192.168.0.100」に付け替える。 The replacement unit 12 replaces the IP address IP d "224.0.0.1" set in the data of the assets of the main content with the IP address "192.168.0.100" of the viewing device 20. Further, the replacement unit 12 replaces the IP address IP d "224.0.0.2" set in the data of the asset of the sub-content with the IP address "192.168.0.100" of the viewing device 20. ..

図5Aに示す例では、メインコンテンツのアセットのデータに設定された宛先ポート番号Pd「51216」と、サブコンテンツのアセットのデータに設定された宛先ポート番号Pd「51217」とが異なっている。この場合、代替宛先ポート番号Paに付け替えなくても、メインコンテンツのデータフローとサブコンテンツのデータフローとを区別することができる。そのため、付替部12は、メインコンテンツおよびサブコンテンツのアセットのデータに設定された宛先ポート番号Pdの付け替えは行わない。 In the example shown in FIG. 5A, the destination port number P d "51216" set in the data of the asset of the main content and the destination port number P d "51217" set in the data of the asset of the sub content are different. In this case, the data flow of the main content and the data flow of the sub-content can be distinguished without being replaced with the alternative destination port number P a . Therefore, the replacement unit 12 does not replace the destination port number Pd set in the data of the assets of the main content and the sub-content.

したがって、付替部12は、視聴デバイス20のIPアドレス「192.168.0.100」および宛先ポート番号Pd「51216」が設定された、ユニキャスト方式のメインコンテンツのアセットのデータを視聴デバイス20に送信する。また、付替部12は、視聴デバイス20のIPアドレス「192.168.0.100」および宛先ポート番号Pd「51217」が設定された、ユニキャスト方式のサブコンテンツのアセットのデータを視聴デバイス20に送信する。 Therefore, the replacement unit 12 uses the data of the unicast main content asset in which the IP address “192.168.0.100” and the destination port number P d “51216” of the viewing device 20 are set as the viewing device 20. Send to. Further, the replacement unit 12 views the data of the asset of the unicast sub-content in which the IP address “192.168.0.100” of the viewing device 20 and the destination port number P d “51217” are set. Send to 20.

PAメッセージ書換部121は、上述したIPアドレスIPdの付け替えに応じて、ロケーション情報を書き換える。PAメッセージ書換部121によるロケーション情報の書き換えについて図5Bを参照して説明する。 The PA message rewriting unit 121 rewrites the location information according to the above-mentioned replacement of the IP address IP d . The rewriting of the location information by the PA message rewriting unit 121 will be described with reference to FIG. 5B.

図5Aに示す例では、IPアドレスIPdの付け替えのみが行われ、宛先ポート番号Pdの付け替えは行われていない。したがって、PAメッセージ書換部121は、サブコンテンツのアセットのロケーション情報に含まれる「ipv4_dst_addr」に設定された「224.0.0.2」を、「192.168.0.100」に書き換える。PAメッセージ書換部121は、図5Bに示すように、サブコンテンツのロケーション情報に含まれる「dst_port」については書き換えを行わず、「51217」のままとする。 In the example shown in FIG. 5A, only the IP address IP d is replaced, and the destination port number P d is not replaced. Therefore, the PA message rewriting unit 121 rewrites "224.0.0.2" set in "ipv4_dst_addr" included in the location information of the sub-content asset to "192.168.0.100". As shown in FIG. 5B, the PA message rewriting unit 121 does not rewrite the "dst_port" included in the location information of the sub-content, and leaves it as "51217".

このように、付替部12は、メインコンテンツとサブコンテンツとで宛先ポート番号Pdが異なる場合、宛先IPアドレスIPdの付け替えおよびロケーション情報の書き換えを行う。 As described above, when the destination port number P d is different between the main content and the sub content, the replacement unit 12 replaces the destination IP address IP d and rewrites the location information.

なお、図6に示すように、放送路と通信路とで異なるパッケージを構成するアセットが伝送されることがある。この場合、伝送路ごとに、当該伝送路で伝送されるパッケージを構成するアセットのロケーション情報を記したMPテーブルを含むPAメッセージが伝送される。 As shown in FIG. 6, assets constituting different packages may be transmitted on the broadcasting channel and the communication channel. In this case, a PA message including an MP table describing the location information of the assets constituting the package transmitted on the transmission line is transmitted for each transmission line.

伝送路ごとに異なるパッケージのアセットが伝送される例として、図4Aに示すように、メインコンテンツを構成するアセットのデータに設定された宛先ポート番号Pdと、メインコンテンツとは異なるパッケージのサブコンテンツを構成するアセットに設定された宛先ポート番号Pdとが異なる場合がある。また、別の例として、図5Aに示すように、メインコンテンツを構成するアセットのデータに設定された宛先ポート番号Pdと、メインコンテンツとは異なるパッケージのサブコンテンツを構成するアセットに設定された宛先ポート番号Pdとが同一である場合がある。いずれの場合においても、付替部12による宛先IPアドレスIPd(および宛先ポート番号Pd)の付け替えの動作は、図4A,5Aを参照して説明した動作と同じである。 As an example in which assets of different packages are transmitted for each transmission path, as shown in FIG. 4A, the destination port number Pd set in the data of the assets constituting the main content and the sub- contents of the package different from the main content are configured. The destination port number Pd set for the asset to be used may be different. Further, as another example, as shown in FIG. 5A, the destination port number Pd set in the data of the asset constituting the main content and the destination port set in the asset constituting the sub- content of the package different from the main content. It may be the same as the number P d . In any case, the operation of replacing the destination IP address IP d (and the destination port number P d ) by the replacement unit 12 is the same as the operation described with reference to FIGS. 4A and 4A.

したがって、図4Aに示すように、メインコンテンツを構成するアセットのデータに設定された宛先ポート番号Pdと、サブコンテンツを構成するアセットに設定された宛先ポート番号Pdとが同じである場合には、付替部12は、アセットのデータに設定された宛先IPアドレスIPd(「224.0.0.1」および「224.0.0.2」)を、視聴デバイス20のIPアドレス(「192.168.0.100」)に付け替える。また、付替部12は、アセットのデータに設定された宛先ポート番号Pd(「51216」および「51217」)を、代替宛先ポート番号Pa(「50000」および「50001」)に付け替える。 Therefore, as shown in FIG. 4A, when the destination port number P d set in the data of the assets constituting the main content and the destination port number P d set in the assets constituting the sub contents are the same. , The replacement unit 12 uses the destination IP address IP d ("224.0.0.1" and "224.0.0.2") set in the asset data as the IP address of the viewing device 20 ("" Replace with 192.168.0.100 "). Further, the replacement unit 12 replaces the destination port number P d (“51216” and “51217”) set in the data of the asset with the alternative destination port number Pa (“50000” and “50001”).

また、図5Aに示すように、メインコンテンツを構成するアセットのデータに設定された宛先ポート番号Pdと、サブコンテンツを構成するアセットに設定された宛先ポート番号Pdとが異なる場合には、付替部12は、アセットのデータに設定された宛先IPアドレスIPd(「224.0.0.1」および「224.0.0.2」)を、視聴デバイス20のIPアドレス(「192.168.0.100」)に付け替える。 Further, as shown in FIG. 5A, if the destination port number P d set in the data of the asset constituting the main content and the destination port number P d set in the asset constituting the sub content are different, the attachment is added . The replacement unit 12 uses the destination IP address IP d (“224.0.0.1” and “224.0.0.2”) set in the asset data as the IP address of the viewing device 20 (“192. 168.0.100 ").

メインコンテンツを構成するアセットのデータに設定された宛先ポート番号Pdと、メインコンテンツとは異なるパッケージのサブコンテンツを構成するアセットに設定された宛先ポート番号Pdとが、異なる場合であっても、同一である場合であっても、メインコンテンツおよびサブコンテンツのアセットのロケーション情報は、図7に示すように、「0x00」を示す「location_type」のみとなる。したがって、PAメッセージ書換部121は、メインコンテンツおよびサブコンテンツそれぞれのロケーション情報を書き換えることなく、そのまま視聴デバイス20に中継する。 Even if the destination port number Pd set in the data of the assets that make up the main content and the destination port number Pd set in the assets that make up the sub- contents of a package different from the main content are different, they are the same. Even in the case of, the location information of the assets of the main content and the sub-content is only "location_type" indicating "0x00" as shown in FIG. 7. Therefore, the PA message rewriting unit 121 relays the location information of the main content and the sub-content to the viewing device 20 as it is without rewriting the location information.

なお、本実施形態においては、ゲートウェイ装置10には2つのコンテンツ(メインコンテンツおよびサブコンテンツ)のアセットが入力される例を用いて説明したが、これに限られるものではない。ゲートウェイ装置10に3以上のコンテンツのアセットが入力される場合でも、付替部12およびPAメッセージ書換部121は、本実施形態で説明したのと同様の処理により、宛先IPアドレスIPdおよび宛先ポート番号Pdの付け替え、ならびに、ロケーション情報の書き換えを行う。 In the present embodiment, the description has been given using an example in which assets of two contents (main content and sub-content) are input to the gateway device 10, but the present invention is not limited to this. Even when three or more content assets are input to the gateway device 10, the replacement unit 12 and the PA message rewriting unit 121 perform the same processing as described in the present embodiment to perform the destination IP address IP d and the destination port. The number P d is replaced and the location information is rewritten.

このように本実施形態においては、ゲートウェイ装置10は、マルチキャスト方式で伝送された複数のアセットのデータと、複数のアセットのロケーション情報とを受信すると、複数のアセットのデータに設定されたIPアドレスIPdを視聴デバイス20のアドレスに付け替えたユニキャスト方式のデータに変換する付替部12を備える。付替部12は、その付け替えに応じてロケーション情報を書き換えて、ネットワークを介して視聴デバイス20に送信する。 As described above, in the present embodiment, when the gateway device 10 receives the data of the plurality of assets transmitted by the multicast method and the location information of the plurality of assets, the IP address IP set in the data of the plurality of assets is IP. A replacement unit 12 for converting d into unicast data in which d is replaced with the address of the viewing device 20 is provided. The replacement unit 12 rewrites the location information according to the replacement and transmits the location information to the viewing device 20 via the network.

マルチキャスト方式で伝送された複数のアセットのデータの、ユニキャスト方式のデータへの変換に伴う宛先アドレスの付け替えに応じてロケーション情報を書き換えることで、ロケーション情報に不整合が生じることがなくなる。そのため、視聴デバイス20において、マルチキャスト方式で伝送されたパッケージのアセットのデータをより確実に受信することができる。 By rewriting the location information according to the replacement of the destination address accompanying the conversion of the data of multiple assets transmitted by the multicast method to the data of the unicast method, the location information will not be inconsistent. Therefore, the viewing device 20 can more reliably receive the data of the package assets transmitted by the multicast method.

上述した実施形態においては、宅内ネットワークに接続する視聴デバイス20が1つである例を示しているが、本発明はこれに限られるものではなく、宅内ネットワークに複数の視聴デバイス20が接続されていてもよい。この場合、ゲートウェイ装置10は、それぞれの視聴デバイス20からの要求に応じて、マルチキャスト方式で伝送されたデータの中継を行う。 In the above-described embodiment, an example in which one viewing device 20 is connected to the home network is shown, but the present invention is not limited to this, and a plurality of viewing devices 20 are connected to the home network. You may. In this case, the gateway device 10 relays the data transmitted by the multicast method in response to the request from each viewing device 20.

なお、実施形態では特に触れていないが、コンピュータを、ゲートウェイ装置10として機能させるプログラムが提供されてもよい。また、プログラムは、コンピュータ読取り可能媒体に記録されていてもよい。コンピュータ読取り可能媒体を用いれば、コンピュータにインストールすることが可能である。ここで、プログラムが記録されたコンピュータ読取り可能媒体は、非一過性の記録媒体であってもよい。非一過性の記録媒体は、特に限定されるものではないが、例えば、CD-ROM、DVD-ROMなどの記録媒体であってもよい。 Although not particularly mentioned in the embodiment, a program that causes the computer to function as the gateway device 10 may be provided. The program may also be recorded on a computer-readable medium. It can be installed on a computer using a computer-readable medium. Here, the computer-readable medium on which the program is recorded may be a non-transient recording medium. The non-transient recording medium is not particularly limited, but may be, for example, a recording medium such as a CD-ROM or a DVD-ROM.

あるいは、ゲートウェイ装置10が行う各処理を実行するためのプログラムを記憶するメモリ、および、メモリに記憶されたプログラムを実行するプロセッサによって構成され、ゲートウェイ装置10に搭載されるチップが提供されてもよい。 Alternatively, a chip configured by a memory for storing a program for executing each process performed by the gateway device 10 and a processor for executing the program stored in the memory and mounted on the gateway device 10 may be provided. ..

上述の実施形態は代表的な例として説明したが、本発明の趣旨および範囲内で、多くの変更および置換が可能であることは当業者に明らかである。したがって、本発明は、上述の実施形態によって制限するものと解するべきではなく、特許請求の範囲から逸脱することなく、種々の変形および変更が可能である。例えば、実施形態の構成図に記載の複数の構成ブロックを1つに組み合わせたり、あるいは1つの構成ブロックを分割したりすることが可能である。 Although the above embodiments have been described as representative examples, it will be apparent to those skilled in the art that many modifications and substitutions are possible within the spirit and scope of the invention. Therefore, the invention should not be construed as limiting by the embodiments described above, and various modifications and modifications can be made without departing from the claims. For example, it is possible to combine a plurality of the constituent blocks described in the configuration diagram of the embodiment into one, or to divide one constituent block into one.

1 データ通信システム
10 ゲートウェイ装置
11 制御部
12 付替部
121 PAメッセージ書換部
20 視聴デバイス(受信装置)
21 制御部
22 デコーダ
23 提示部
1 Data communication system 10 Gateway device 11 Control unit 12 Replacement unit 121 PA message rewriting unit 20 Viewing device (receiver)
21 Control unit 22 Decoder 23 Presentation unit

Claims (5)

マルチキャスト方式で伝送された、パッケージを構成する複数のアセットのデータを、ネットワークを介して接続された受信装置に中継するゲートウェイ装置であって、
前記マルチキャスト方式の前記複数のアセットのデータと、前記複数のアセットのロケーション情報とを受信し、前記データに設定された宛先アドレスを前記受信装置のアドレスに付け替えたユニキャスト方式のデータに変換するとともに、前記付け替えに応じて前記ロケーション情報を書き換えて、前記ネットワークを介して前記受信装置に送信する付替部を備える、ゲートウェイ装置。
A gateway device that relays the data of multiple assets that make up a package transmitted by the multicast method to a receiving device connected via a network.
The data of the plurality of assets of the multicast method and the location information of the plurality of assets are received, and the destination address set in the data is converted into the data of the unicast method in which the address of the receiving device is replaced. , A gateway device including a replacement unit that rewrites the location information according to the replacement and transmits the location information to the receiving device via the network.
請求項1に記載のゲートウェイ装置において、
前記パッケージを構成する複数のアセットのうち、一部のアセットのデータは、第1の伝送路を介して伝送され、残りのアセットのデータは、第2の伝送路を介して伝送され、
前記ロケーション情報には、前記アセットのデータの宛先アドレスが含まれ、
前記付替部は、前記第1の伝送路を介して伝送された第1のデータに設定された宛先アドレスおよび前記第2の伝送路を介して伝送された第2のデータに設定された宛先アドレスをそれぞれ、前記受信装置のアドレスに付け替えるとともに、前記付け替えに応じて、前記ロケーション情報に含まれる宛先アドレスを書き換える、ゲートウェイ装置。
In the gateway device according to claim 1,
Of the plurality of assets constituting the package, the data of some assets is transmitted through the first transmission line, and the data of the remaining assets is transmitted through the second transmission line.
The location information includes the destination address of the data of the asset.
The replacement unit is a destination address set for the first data transmitted via the first transmission line and a destination set for the second data transmitted via the second transmission line. A gateway device that replaces each address with the address of the receiving device and rewrites the destination address included in the location information according to the replacement.
請求項2に記載のゲートウェイ装置において、
前記ロケーション情報には、前記アセットのデータを受信するための宛先ポートのポート番号である宛先ポート番号がさらに含まれ、
前記第1のデータに設定された第1のポート番号と、前記第2のデータに設定された第2のポート番号とが同一である場合、前記第1のポート番号と前記第2のポート番号とを異なるポート番号に付け替えるとともに、前記付け替えに応じて、前記ロケーション情報に含まれる宛先ポート番号を書き換える、ゲートウェイ装置。
In the gateway device according to claim 2,
The location information further includes a destination port number, which is the port number of the destination port for receiving the data of the asset.
When the first port number set in the first data and the second port number set in the second data are the same, the first port number and the second port number are used. A gateway device that replaces and with a different port number and rewrites the destination port number included in the location information according to the replacement.
請求項3に記載のゲートウェイ装置において、
前記アセットのデータの宛先アドレスと、前記アセットのデータを受信するための宛先ポートの宛先ポート番号と、前記宛先ポートの代替であり、前記宛先アドレスごとに異なる代替宛先ポートのポート番号である代替宛先ポート番号とを対応付けた対応関係を記憶する制御部をさらに備え、
前記付替部は、前記第1のデータと前記第2のデータとに設定された宛先アドレスが異なり、かつ、前記第1のポート番号と、前記第2のポート番号とが同一である場合、前記記憶された対応関係に基づき、前記第1のポート番号および前記第2のポート番号を、対応する前記代替宛先ポート番号に付け替える、ゲートウェイ装置。
In the gateway device according to claim 3,
An alternative destination that is the destination address of the data of the asset, the destination port number of the destination port for receiving the data of the asset, and the port number of the alternative destination port that is an alternative to the destination port and is different for each destination address. It also has a control unit that stores the correspondence with the port number.
When the destination address set in the first data and the second data is different from the replacement unit, and the first port number and the second port number are the same, the replacement unit is used. A gateway device that replaces the first port number and the second port number with the corresponding alternative destination port number based on the stored correspondence.
コンピュータを、請求項1から4のいずれか一項に記載のゲートウェイ装置として機能させるためのプログラム。 A program for operating a computer as the gateway device according to any one of claims 1 to 4.
JP2020142926A 2020-08-26 Gateway device and program Active JP7481957B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020142926A JP7481957B2 (en) 2020-08-26 Gateway device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020142926A JP7481957B2 (en) 2020-08-26 Gateway device and program

Publications (2)

Publication Number Publication Date
JP2022038424A true JP2022038424A (en) 2022-03-10
JP7481957B2 JP7481957B2 (en) 2024-05-13

Family

ID=

Similar Documents

Publication Publication Date Title
US6584082B1 (en) Apparatus, method and article of manufacture for transmitting data over a satellite
JP4635983B2 (en) COMMUNICATION PROCESSING DEVICE, DATA COMMUNICATION SYSTEM AND METHOD, AND COMPUTER PROGRAM
JP4200160B2 (en) Apparatus and method for providing broadcast channel information in an internet protocol-based digital broadcast system
US20090022154A1 (en) Reception device, reception method, and computer-readable medium
JP4955699B2 (en) Digital TV service transmission method, corresponding gateway and network
US9571895B2 (en) Load balancing multicast network traffic using virtual channels
JP2006521041A (en) Network routing based on PID filter
JP4764509B2 (en) Communication apparatus and communication resource management method
US20120320757A1 (en) Method and Node in an Internet Protocol Television (IPTV) Network
JP7481957B2 (en) Gateway device and program
JP2022038424A (en) Gateway device and program
JP2019201309A (en) Ip video router, broadcast station system, ip video transfer method, and program
JP2011010208A (en) Multicast transmission mode in wireless section
JP2021190865A (en) Gateway device, receiving device, data communication system, and program
JP2008294663A (en) Receiving device, receiving method, program, and data stream transmission and reception system
KR101368247B1 (en) System and method for internet protocol television tunnelling service
CN112771848B (en) Receiving apparatus
EP3595254A1 (en) Multicast signal transmission/reception method and device
JP7401097B2 (en) IP broadcast system, IP gateway device, management node device, client device and method
JP2006333309A (en) Data communications system and method therefor
JP2021114795A (en) Content distribution system, content distribution device, and method
JPWO2018180572A1 (en) Information processing apparatus, receiving apparatus, and information processing method
JP2001197472A (en) Transmitting device using cable tv network
JP2009218816A (en) Video system, video receiving terminal, and video display terminal
JP2008263489A (en) Multicast distributor, and multicast receiver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240315

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240402

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240426