JP2024004606A - Content receiving device, content relay device, and communication control method - Google Patents

Content receiving device, content relay device, and communication control method Download PDF

Info

Publication number
JP2024004606A
JP2024004606A JP2022104287A JP2022104287A JP2024004606A JP 2024004606 A JP2024004606 A JP 2024004606A JP 2022104287 A JP2022104287 A JP 2022104287A JP 2022104287 A JP2022104287 A JP 2022104287A JP 2024004606 A JP2024004606 A JP 2024004606A
Authority
JP
Japan
Prior art keywords
stream
unit
receiving
content
control
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
Application number
JP2022104287A
Other languages
Japanese (ja)
Inventor
佑奈 重松
Yuna Shigematsu
剛 山下
Takeshi Yamashita
正敏 山下
Masatoshi Yamashita
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2022104287A priority Critical patent/JP2024004606A/en
Publication of JP2024004606A publication Critical patent/JP2024004606A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce loss of a packet containing a content.
SOLUTION: A content receiving device includes: a receiving unit that receives a stream containing a content; a processing unit that processes the stream received by the receiving unit; and a control unit that controls a communication band of the receiving unit for receiving the stream. When the receiving unit detects that a first stream according to TCP (Transmission Control Protocol) and a second stream according to UDP (User Datagram Protocol) are received in parallel, the control unit performs suppression control to suppress the communication band for receiving the first stream.
SELECTED DRAWING: Figure 4
COPYRIGHT: (C)2024,JPO&INPIT

Description

本開示は、コンテンツ受信装置、コンテンツ中継装置および通信制御方法に関する。 The present disclosure relates to a content receiving device, a content relay device, and a communication control method.

従来、TCP(Transmission Control Protocol)に従う通信の通信帯域を制御する技術が提案されている。 2. Description of the Related Art Conventionally, techniques have been proposed for controlling the communication band of communication according to TCP (Transmission Control Protocol).

たとえば、特許文献1(特開2006-173961号公報)には、以下のようなTCP輻輳制御装置が開示されている。すなわち、TCP輻輳制御装置は、通信中に通信ネットワークの帯域を測定し、測定した値から得られる、ネットワーク帯域を最大限利用できるウィンドウサイズ(以下、測定ウィンドウサイズと呼ぶ)を用いて輻輳ウィンドウサイズの増加率を大きくする方式と、測定ウィンドウサイズを利用して重複ACKにより判明するデータロス後のTCPの輻輳ウィンドウサイズおよびスロースタート閾値を設定する方式と、再送タイムアウト後にデータセグメントの確認応答であるACKセグメントのロスおよび遅延を検出することによりデータの誤再送を防ぐと共に輻輳ウィンドウサイズを減少させないことで、送信レートの低下を防ぐ方式からなる、広帯域かつ高遅延な無線ネットワークにおけるTCP通信を高速化する。 For example, Patent Document 1 (Japanese Unexamined Patent Publication No. 2006-173961) discloses the following TCP congestion control device. That is, the TCP congestion control device measures the bandwidth of the communication network during communication, and determines the congestion window size using the window size that allows maximum use of the network bandwidth (hereinafter referred to as measurement window size) obtained from the measured value. one method uses the measurement window size to set the TCP congestion window size and slow start threshold after data loss revealed by duplicate ACKs, and the other method uses the measurement window size to set the TCP congestion window size and slow start threshold after data loss is confirmed by data segment acknowledgment after retransmission timeout. Accelerates TCP communication in broadband and high-latency wireless networks by detecting ACK segment loss and delay to prevent erroneous data retransmission, and by not reducing the congestion window size to prevent a drop in transmission rate. do.

特開2006-173961号公報Japanese Patent Application Publication No. 2006-173961

特許文献1に記載の技術を超えて、コンテンツを含むパケットのロスを低減することが可能な技術が望まれる。 A technology is desired that can reduce the loss of packets containing content beyond the technology described in Patent Document 1.

本開示は、上述の課題を解決するためになされたもので、その目的は、コンテンツを含むパケットのロスを低減することが可能なコンテンツ受信装置、コンテンツ中継装置および通信制御方法を提供することである。 The present disclosure has been made to solve the above-mentioned problems, and the purpose is to provide a content receiving device, a content relay device, and a communication control method that can reduce loss of packets containing content. be.

本開示のコンテンツ受信装置は、コンテンツを含むストリームを受信する受信部と、前記受信部により受信された前記ストリームを処理する処理部と、前記ストリームを受信するための前記受信部の通信帯域を制御する制御部とを備え、前記制御部は、前記受信部がTCPに従う第1の前記ストリームおよびUDP(User Datagram Protocol)に従う第2の前記ストリームを並行して受信していることを検知した場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行う。 A content receiving device of the present disclosure includes a receiving unit that receives a stream including content, a processing unit that processes the stream received by the receiving unit, and a communication band of the receiving unit for receiving the stream. When the control unit detects that the receiving unit is receiving the first stream according to TCP and the second stream according to UDP (User Datagram Protocol) in parallel, Suppression control is performed to suppress the communication band for receiving the first stream.

本開示の一態様は、このような特徴的な処理部を備えるコンテンツ受信装置として実現され得るだけでなく、コンテンツ受信装置の一部または全部を実現する半導体集積回路として実現され得たり、コンテンツ受信装置を含むシステムとして実現され得る。 One aspect of the present disclosure can be realized not only as a content receiving device including such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes part or all of the content receiving device, It can be realized as a system including a device.

また、本開示の一態様は、このような特徴的な処理部を備えるコンテンツ中継装置として実現され得るだけでなく、コンテンツ中継装置の一部または全部を実現する半導体集積回路として実現され得たり、コンテンツ中継装置を含むシステムとして実現され得る。 Further, one aspect of the present disclosure can be realized not only as a content relay device including such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes part or all of the content relay device, It can be realized as a system including a content relay device.

本開示によれば、コンテンツを含むパケットのロスを低減することができる。 According to the present disclosure, loss of packets containing content can be reduced.

図1は、本開示の第1の実施の形態に係るコンテンツ配信システムの構成を示す図である。FIG. 1 is a diagram showing the configuration of a content distribution system according to a first embodiment of the present disclosure. 図2は、本開示の第1の実施の形態に係るSTBの構成を示す図である。FIG. 2 is a diagram showing the configuration of the STB according to the first embodiment of the present disclosure. 図3は、本開示の第1の実施の形態に係るSTBにより受信されるIPパケットのビットレートの一例を示す図である。FIG. 3 is a diagram illustrating an example of the bit rate of IP packets received by the STB according to the first embodiment of the present disclosure. 図4は、本開示の第1の実施の形態に係るSTBの構成を示す機能ブロック図である。FIG. 4 is a functional block diagram showing the configuration of the STB according to the first embodiment of the present disclosure. 図5は、本開示の第1の実施の形態に係るSTBにおけるリングバッファに保存されているIPパケットを示す図である。FIG. 5 is a diagram showing IP packets stored in the ring buffer in the STB according to the first embodiment of the present disclosure. 図6は、本開示の実施の形態に係るSTBがストリームS1を受信するための通信帯域の抑制を行う際の動作手順の一例を定めたフローチャートである。FIG. 6 is a flowchart defining an example of an operation procedure when the STB according to the embodiment of the present disclosure suppresses the communication band for receiving the stream S1. 図7は、本開示の第1の実施の形態に係るコンテンツ配信システムにおける通信のシーケンスの一例を示す図である。FIG. 7 is a diagram illustrating an example of a communication sequence in the content distribution system according to the first embodiment of the present disclosure. 図8は、本開示の第2の実施の形態に係るコンテンツ配信システムの構成を示す図である。FIG. 8 is a diagram showing the configuration of a content distribution system according to the second embodiment of the present disclosure. 図9は、本開示の第2の実施の形態に係る中継機の構成を示す図である。FIG. 9 is a diagram showing the configuration of a repeater according to the second embodiment of the present disclosure. 図10は、本開示の第2の実施の形態に係る中継機の構成を示す機能ブロック図である。FIG. 10 is a functional block diagram showing the configuration of a repeater according to the second embodiment of the present disclosure.

最初に、本開示の実施形態の内容を列記して説明する。 First, the contents of the embodiments of the present disclosure will be listed and explained.

(1)本開示の実施の形態に係るコンテンツ受信装置は、コンテンツを含むストリームを受信する受信部と、前記受信部により受信された前記ストリームを処理する処理部と、前記ストリームを受信するための前記受信部の通信帯域を制御する制御部とを備え、前記制御部は、前記受信部がTCPに従う第1の前記ストリームおよびUDPに従う第2の前記ストリームを並行して受信していることを検知した場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行う。 (1) A content receiving device according to an embodiment of the present disclosure includes a receiving unit that receives a stream including content, a processing unit that processes the stream received by the receiving unit, and a processing unit that processes the stream received by the receiving unit. a control unit that controls a communication band of the reception unit, and the control unit detects that the reception unit is receiving the first stream according to TCP and the second stream according to UDP in parallel. In this case, suppression control is performed to suppress the communication band for receiving the first stream.

このように、TCPに従う第1のストリームおよびUDPに従う第2のストリームを並行して受信している状態において、第1のストリームを受信するための通信帯域を抑制する構成により、たとえば第1のストリームを構成するパケットおよび第2のストリームを構成するパケットを保存するためのバッファのオーバーフローを抑制することができる。したがって、コンテンツを含むパケットのロスを低減することができる。 In this way, when the first stream according to TCP and the second stream according to UDP are being received in parallel, the configuration that suppresses the communication band for receiving the first stream allows, for example, the first stream It is possible to suppress overflow of the buffer for storing the packets constituting the stream and the packets constituting the second stream. Therefore, loss of packets containing content can be reduced.

(2)上記(1)において、前記制御部は、前記抑制制御として、TCPに従う通信におけるウィンドウサイズを低下させてもよい。 (2) In (1) above, the control unit may reduce the window size in communication according to TCP as the suppression control.

このような構成により、第1のストリームの送信元から1度に送信されるデータ量を低減することができるので、第1のストリームの通信レートを低減することができる。 With such a configuration, it is possible to reduce the amount of data transmitted at one time from the transmission source of the first stream, and therefore it is possible to reduce the communication rate of the first stream.

(3)上記(1)または(2)において、前記制御部は、前記抑制制御として、前記受信部による前記第1のストリームを構成するパケットに対するACKの送信を遅延させてもよい。 (3) In (1) or (2) above, the control unit may delay transmission of ACK by the reception unit to packets forming the first stream as the suppression control.

このような構成により、第1のストリームの送信元による第1のストリームの送信タイミングを遅らせることができるので、第1のストリームの通信レートを低減することができる。 With such a configuration, the transmission timing of the first stream by the transmission source of the first stream can be delayed, so the communication rate of the first stream can be reduced.

(4)上記(1)から(3)のいずれかにおいて、前記制御部は、前記受信部が前記第1のストリームおよび前記第2のストリームを並行して受信していることを検知してもよく、かつ前記第2のストリームがマルチキャストストリームである場合、前記抑制制御を行ってもよい。 (4) In any one of (1) to (3) above, the control unit may detect that the receiving unit is receiving the first stream and the second stream in parallel. If the second stream is a multicast stream, the suppression control may be performed.

このような構成により、第2のストリームを構成するパケットであって、再送が行われないアプリケーションのパケットのロスを低減することができる。 With such a configuration, it is possible to reduce the loss of application packets that constitute the second stream and are not retransmitted.

(5)上記(1)から(4)のいずれかにおいて、前記制御部は、前記受信部が前記第1のストリームとしてアダプティブストリームを受信している場合、前記第1のストリームの通信レートに応じて、前記抑制制御における抑制量を調整してもよい。 (5) In any one of (1) to (4) above, when the receiving unit is receiving an adaptive stream as the first stream, the control unit may control the communication rate according to the communication rate of the first stream. Then, the amount of suppression in the suppression control may be adjusted.

このような構成により、変動し得る第1のストリームの通信レートに応じて、通信帯域の抑制量をより適切に設定することができる。 With such a configuration, it is possible to more appropriately set the amount of suppression of the communication band according to the communication rate of the first stream, which may vary.

(6)上記(1)から(5)のいずれかにおいて、前記処理部は、前記受信部により受信された前記第2のストリームにおけるパケットロスを検知してもよく、前記制御部は、前記処理部による前記パケットロスの検知結果に応じて、前記抑制制御における抑制量を調整してもよい。 (6) In any one of (1) to (5) above, the processing unit may detect a packet loss in the second stream received by the receiving unit, and the control unit may detect a packet loss in the second stream received by the receiving unit. The amount of suppression in the suppression control may be adjusted according to the detection result of the packet loss by the unit.

このような構成により、実際に発生したパケットロスの数に応じて、通信帯域の抑制量をより適切に設定することができる。 With such a configuration, it is possible to more appropriately set the communication band suppression amount according to the number of packet losses that actually occur.

(7)上記(6)において、前記処理部は、前記第2のストリームにおけるパケットロスを検知した場合、パケットの復元処理を行ってもよく、前記制御部は、前記処理部による前記復元処理の成功率に応じて、前記抑制制御における抑制量を調整してもよい。 (7) In (6) above, when the processing unit detects a packet loss in the second stream, the processing unit may perform packet restoration processing, and the control unit may perform the restoration processing by the processing unit. The amount of suppression in the suppression control may be adjusted depending on the success rate.

このような構成により、第2のストリームにおけるパケットの復元を行いながら、復元処理の成功率に応じて、通信帯域の抑制量をより適切に設定することができる。 With such a configuration, while restoring packets in the second stream, it is possible to more appropriately set the communication band suppression amount according to the success rate of the restoration process.

(8)本開示の実施の形態に係るコンテンツ中継装置は、コンテンツを含むストリームを受信する受信部と、前記受信部により受信された前記ストリームの中継処理を行う中継部と、前記ストリームを受信するための前記受信部の通信帯域を制御する制御部とを備え、前記制御部は、前記受信部がTCPに従う第1の前記ストリームおよびUDPに従う第2の前記ストリームを並行して受信していることを検知した場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行う。 (8) A content relay device according to an embodiment of the present disclosure includes a receiving unit that receives a stream including content, a relay unit that performs relay processing of the stream received by the receiving unit, and a relay unit that receives the stream. and a control unit for controlling a communication band of the receiving unit, the control unit configured to receive the first stream according to TCP and the second stream according to UDP in parallel. If detected, suppression control is performed to suppress the communication band for receiving the first stream.

このように、TCPに従う第1のストリームおよびUDPに従う第2のストリームを並行して受信している状態において、第1のストリームを受信するための通信帯域を抑制する構成により、たとえば第1のストリームを構成するパケットおよび第2のストリームを構成するパケットを保存するためのバッファのオーバーフローを抑制することができる。したがって、コンテンツを含むパケットのロスを低減することができる。 In this way, when the first stream according to TCP and the second stream according to UDP are being received in parallel, the configuration that suppresses the communication band for receiving the first stream allows, for example, the first stream It is possible to suppress overflow of the buffer for storing the packets constituting the stream and the packets constituting the second stream. Therefore, loss of packets containing content can be reduced.

(9)本開示の実施の形態に係る通信制御方法は、コンテンツ受信装置における通信制御方法であって、コンテンツを含むストリームを受信するステップと、受信した前記ストリームを処理するステップと、前記ストリームを受信するための通信帯域を制御するステップとを含み、前記通信帯域を制御するステップにおいては、TCPに従う第1の前記ストリームおよびUDPに従う第2の前記ストリームを並行して受信している場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行う。 (9) A communication control method according to an embodiment of the present disclosure is a communication control method in a content receiving device, which includes a step of receiving a stream including content, a step of processing the received stream, and a step of processing the stream. and controlling a communication band for receiving, and in the step of controlling the communication band, if the first stream according to TCP and the second stream according to UDP are being received in parallel, Suppression control is performed to suppress the communication band for receiving the first stream.

このように、TCPに従う第1のストリームおよびUDPに従う第2のストリームを並行して受信している状態において、第1のストリームを受信するための通信帯域を抑制する方法により、たとえば第1のストリームを構成するパケットおよび第2のストリームを構成するパケットを保存するためのバッファのオーバーフローを抑制することができる。したがって、コンテンツを含むパケットのロスを低減することができる。 In this way, in a state where the first stream according to TCP and the second stream according to UDP are being received in parallel, for example, the first stream can be It is possible to suppress overflow of the buffer for storing the packets constituting the stream and the packets constituting the second stream. Therefore, loss of packets containing content can be reduced.

以下、本開示の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。また、以下に記載する実施の形態の少なくとも一部を任意に組み合わせてもよい。 Embodiments of the present disclosure will be described below with reference to the drawings. In addition, the same reference numerals are attached to the same or corresponding parts in the drawings, and the description thereof will not be repeated. Furthermore, at least some of the embodiments described below may be combined arbitrarily.

<第1の実施の形態>
[構成および基本動作]
図1は、本開示の第1の実施の形態に係るコンテンツ配信システムの構成を示す図である。図1を参照して、コンテンツ配信システム401は、STB(Set Top Box)101と、HTTP(HyperText Transfer Protocol)サーバ301と、IP放送配信装置302とを備える。STB101は、コンテンツ受信装置の一例である。なお、コンテンツ配信システム401は、複数のHTTPサーバ301を備える構成であってもよいし、複数のIP放送配信装置302を備える構成であってもよい。
<First embodiment>
[Configuration and basic operation]
FIG. 1 is a diagram showing the configuration of a content distribution system according to a first embodiment of the present disclosure. Referring to FIG. 1, a content distribution system 401 includes an STB (Set Top Box) 101, an HTTP (HyperText Transfer Protocol) server 301, and an IP broadcast distribution device 302. STB 101 is an example of a content receiving device. Note that the content distribution system 401 may be configured to include a plurality of HTTP servers 301 or may be configured to include a plurality of IP broadcast distribution devices 302.

STB101は、ユーザ宅111に設けられる。HTTPサーバ301は、OTT(Over The Top)事業者の事業所311に設けられる。IP放送配信装置302は、ケーブルテレビ局の局舎312に設けられる。 The STB 101 is installed at a user's home 111. The HTTP server 301 is provided at a business office 311 of an OTT (Over The Top) business. The IP broadcast distribution device 302 is installed in a cable television station building 312.

HTTPサーバ301は、VOD(Video On Demand)のコンテンツであるVODコンテンツを配信する。より詳細には、HTTPサーバ301は、VODコンテンツを含むストリームS1をネットワーク351経由でSTB101へ送信する。ストリームS1は、第1のストリームの一例である。VODコンテンツは、音声情報、映像情報および字幕情報等を含む。 The HTTP server 301 distributes VOD content, which is VOD (Video On Demand) content. More specifically, the HTTP server 301 transmits the stream S1 including VOD content to the STB 101 via the network 351. Stream S1 is an example of a first stream. VOD content includes audio information, video information, subtitle information, and the like.

ストリームS1は、VODコンテンツが複数に分割された情報を含む複数のIPパケットP1により構成される。IPパケットP1は、TCPパケットを含む。 Stream S1 is composed of a plurality of IP packets P1 containing information on which VOD content is divided into a plurality of pieces. IP packet P1 includes a TCP packet.

IP放送配信装置302は、地上デジタル放送、BS(Broadcast Satelite)放送、CS(Communication Satellite)放送、および自主放送等のコンテンツである放送コンテンツを配信する。より詳細には、IP放送配信装置302は、放送コンテンツを含むストリームS2をネットワーク351経由でSTB101へ送信する。ストリームS2は、第2のストリームの一例である。放送コンテンツは、音声情報、映像情報、EPG(Electronic Program Guide)情報、SI情報(Service Information)および字幕情報等を含む。 The IP broadcast distribution device 302 distributes broadcast content such as terrestrial digital broadcast, BS (Broadcast Satellite) broadcast, CS (Communication Satellite) broadcast, and independent broadcast. More specifically, the IP broadcast distribution device 302 transmits a stream S2 including broadcast content to the STB 101 via the network 351. Stream S2 is an example of a second stream. Broadcast content includes audio information, video information, EPG (Electronic Program Guide) information, SI information (Service Information), subtitle information, and the like.

ストリームS2は、放送コンテンツが複数に分割された情報を含む複数のIPパケットP2により構成される。IPパケットP2は、UDPパケットを含む。以下、IPパケットP1,P2の各々をIPパケットPとも称する。 Stream S2 is composed of a plurality of IP packets P2 containing information on which broadcast content is divided into a plurality of pieces. IP packet P2 includes a UDP packet. Hereinafter, each of the IP packets P1 and P2 will also be referred to as an IP packet P.

STB101は、HTTPサーバ301により送信されたストリームS1をネットワーク351経由で受信する。また、STB101は、IP放送配信装置302により送信されたストリームS2をネットワーク351経由で受信する。なお、STB101は、複数の放送コンテンツをそれぞれ含む複数のストリームS2を並行して受信してもよい。 STB 101 receives stream S1 transmitted by HTTP server 301 via network 351. Further, the STB 101 receives stream S2 transmitted by the IP broadcast distribution device 302 via the network 351. Note that the STB 101 may receive in parallel a plurality of streams S2 each including a plurality of broadcast contents.

図2は、本開示の第1の実施の形態に係るSTBの構成を示す図である。図2を参照して、STB101は、ネットワークデバイス10と、プロセッサ20と、メモリ30とを備える。メモリ30は、たとえば不揮発性メモリである。 FIG. 2 is a diagram showing the configuration of the STB according to the first embodiment of the present disclosure. Referring to FIG. 2, STB 101 includes network device 10, processor 20, and memory 30. Memory 30 is, for example, a nonvolatile memory.

ネットワークデバイス10は、ストリームS1を構成するIPパケットP1をネットワーク351経由でHTTPサーバ301から受信する。ネットワークデバイス10は、受信したIPパケットP1をメモリ30におけるバッファに保存する。 The network device 10 receives the IP packet P1 that constitutes the stream S1 from the HTTP server 301 via the network 351. The network device 10 stores the received IP packet P1 in a buffer in the memory 30.

また、ネットワークデバイス10は、ストリームS2を構成するIPパケットP2をネットワーク351経由でIP放送配信装置302から受信する。ネットワークデバイス10は、受信したIPパケットP2をメモリ30におけるバッファに保存する。 Further, the network device 10 receives IP packets P2 constituting the stream S2 from the IP broadcast distribution apparatus 302 via the network 351. Network device 10 stores the received IP packet P2 in a buffer in memory 30.

このように、STB101では、共通の受信リソースすなわちネットワークデバイス10およびメモリ30におけるバッファにより、IPパケットP1,P2の受信処理が行われる。 In this way, in the STB 101, the reception processing of the IP packets P1 and P2 is performed using common reception resources, that is, the buffers in the network device 10 and the memory 30.

プロセッサ20は、ネットワークデバイス10によりメモリ30に保存されたIPパケットP1,P2を処理する。 Processor 20 processes IP packets P1, P2 stored in memory 30 by network device 10.

より詳細には、たとえば、プロセッサ20は、放送コンテンツを録画するための操作をユーザから受け付けた場合、メモリ30からIPパケットP2を取得し、取得したIPパケットP2をHDD151に保存する処理を行う。 More specifically, for example, when the processor 20 receives an operation to record broadcast content from the user, it performs a process of acquiring the IP packet P2 from the memory 30 and storing the acquired IP packet P2 in the HDD 151.

また、たとえば、プロセッサ20は、放送コンテンツを視聴するための操作をユーザから受け付けた場合、メモリ30からIPパケットP2を取得し、取得したIPパケットP2に含まれる情報等を用いて放送コンテンツを再生する処理を行い、得られた映像情報および音声情報等を表示装置161へ送信する。 Further, for example, when the processor 20 receives an operation for viewing broadcast content from the user, the processor 20 acquires the IP packet P2 from the memory 30, and reproduces the broadcast content using the information included in the acquired IP packet P2. The video information, audio information, etc. obtained are transmitted to the display device 161.

また、たとえば、プロセッサ20は、VODコンテンツを視聴するための操作をユーザから受け付けた場合、メモリ30からIPパケットP1を取得し、取得したIPパケットP1に含まれる情報等を用いてVODコンテンツを再生する処理を行い、得られた映像情報および音声情報等を表示装置161へ送信する。 Further, for example, when the processor 20 receives an operation for viewing VOD content from the user, the processor 20 acquires the IP packet P1 from the memory 30, and reproduces the VOD content using the information included in the acquired IP packet P1. The video information, audio information, etc. obtained are transmitted to the display device 161.

このように、STB101では、共通の処理リソースすなわちプロセッサ20により、ネットワークデバイス10により受信されたIPパケットP1,P2の処理が行われる。 In this way, in the STB 101, the common processing resource, ie, the processor 20, processes the IP packets P1 and P2 received by the network device 10.

[課題]
近年、OTTサービスが普及してきており、OTTの利用者およびVODコンテンツの数のさらなる増加が見込まれている。また、近年、HTTPサーバ301により送信されるストリームS1、およびIP放送配信装置302により送信されるストリームS2のビットレートは、高レート化している。
[assignment]
In recent years, OTT services have become popular, and the number of OTT users and VOD content is expected to further increase. Furthermore, in recent years, the bit rates of stream S1 transmitted by HTTP server 301 and stream S2 transmitted by IP broadcast distribution apparatus 302 have become higher.

図3は、本開示の第1の実施の形態に係るSTBにより受信されるIPパケットのビットレートの一例を示す図である。図3において、横軸は時間を示し、縦軸はビットレートを示す。図3における実線は、STB101におけるネットワークデバイス10によりHTTPサーバ301から受信されるIPパケットP1のビットレートを示す。図3における破線は、STB101におけるネットワークデバイス10によりIP放送配信装置302から受信されるIPパケットP2のビットレートを示す。 FIG. 3 is a diagram illustrating an example of the bit rate of IP packets received by the STB according to the first embodiment of the present disclosure. In FIG. 3, the horizontal axis shows time and the vertical axis shows bit rate. The solid line in FIG. 3 indicates the bit rate of the IP packet P1 received from the HTTP server 301 by the network device 10 in the STB 101. The broken line in FIG. 3 indicates the bit rate of the IP packet P2 received by the network device 10 in the STB 101 from the IP broadcast distribution apparatus 302.

図3を参照して、ネットワークデバイス10によりネットワーク351経由でIP放送配信装置302から受信されるIPパケットP2のビットレートは、時間変化が小さく、ほぼ一定である。 Referring to FIG. 3, the bit rate of IP packets P2 received by network device 10 from IP broadcast distribution apparatus 302 via network 351 changes little over time and is almost constant.

一方、ネットワークデバイス10によりネットワーク351経由でHTTPサーバ301から受信されるIPパケットP1のビットレートは、不定期に急増する場合がある。より詳細には、ストリームS1が、MPEG-DASH(Moving Pictures Expert Group-Dynamic Adaptive Streaming over HTTP)およびHLS(HTTP Live Streaming)等のアダプティブストリーミング方式に従うアダプティブストリームである場合、ネットワークデバイス10により受信されるIPパケットP1のビットレートは変動する。 On the other hand, the bit rate of the IP packet P1 received by the network device 10 from the HTTP server 301 via the network 351 may increase irregularly. More specifically, the stream S1 is an adaptive stream that follows an adaptive streaming method such as MPEG-DASH (Moving Pictures Expert Group-Dynamic Adaptive Streaming over HTTP) and HLS (HTTP Live Streaming). If the stream is a stream, it is received by the network device 10. The bit rate of IP packet P1 varies.

ところで、STB101は、ストリームS1,S2を並行して受信する場合がある。より詳細には、STB101は、たとえばユーザの操作に従って放送コンテンツの録画およびVODコンテンツの再生を並行して行う場合、ストリームS1,S2を並行して受信し、IPパケットP2をHDD151に保存しながら、IPパケットP1に含まれる情報等を用いてVODコンテンツを再生する処理を行う。 By the way, the STB 101 may receive streams S1 and S2 in parallel. More specifically, for example, when recording broadcast content and playing VOD content in parallel according to a user's operation, STB 101 receives streams S1 and S2 in parallel, and stores IP packet P2 in HDD 151. Processing for reproducing the VOD content is performed using the information contained in the IP packet P1.

STB101がストリームS1,S2を並行して受信する場合、プロセッサ20における処理負荷、およびネットワークデバイス10により受信されるIPパケットP1,P2の通信レートに応じて、メモリ30におけるバッファがオーバーフローを起こし、IPパケットP1,P2のロスが生じる場合がある。 When the STB 101 receives streams S1 and S2 in parallel, the buffer in the memory 30 overflows depending on the processing load on the processor 20 and the communication rate of the IP packets P1 and P2 received by the network device 10, and the IP Loss of packets P1 and P2 may occur.

また、STB101は、たとえばユーザの操作に従って複数の放送コンテンツの録画およびVODコンテンツの再生を並行して行う場合、ストリームS1と、当該複数の放送コンテンツをそれぞれ含む複数のストリームS2とを並行して受信する。この場合、プロセッサ20における処理負荷およびIPパケットP1,P2の通信レートが増大し、IPパケットP1,P2のロスが発生し易くなる。 Furthermore, when recording a plurality of broadcast contents and playing VOD contents in parallel according to a user's operation, the STB 101 receives stream S1 and a plurality of streams S2 each containing the plurality of broadcast contents in parallel. do. In this case, the processing load on the processor 20 and the communication rate of the IP packets P1, P2 increase, and loss of the IP packets P1, P2 is likely to occur.

HTTPサーバ301によるデータ送出量は、TCPに従ってSTB101の処理速度およびネットワーク351における輻輳状態に応じて可変制御される一方で、UDPを用いるIP放送配信装置302では、放送コンテンツをリアルタイムで送出しなければならないため、ネットワーク状態に応じた制御は行われない。 The amount of data sent by the HTTP server 301 is variably controlled according to the processing speed of the STB 101 and the congestion state in the network 351 according to TCP, while the IP broadcast distribution device 302 using UDP has to send out broadcast content in real time. Therefore, control according to the network status is not performed.

STB101は、IPパケットP1のロスが生じた場合、TCPに従ってHTTPサーバ301により再送される、ロスパケットと同じ内容のIPパケットP1を受信することができる。 When a loss of the IP packet P1 occurs, the STB 101 can receive the IP packet P1 having the same content as the lost packet, which is retransmitted by the HTTP server 301 according to TCP.

一方、STB101は、IPパケットP2のロスが生じた場合、FEC(Forward Error Correction)によるロスパケットの復元を行う。しかしながら、単位時間当たりにおけるIPパケットP2のロスパケットの数が所定値以上となった場合、一部または全部のロスパケットの復元に失敗する場合がある。STB101がロスパケットの復元に失敗した場合、対応のコンテンツをユーザが視聴する際に、映像および音声に乱れが生じてしまう。 On the other hand, when the IP packet P2 is lost, the STB 101 restores the lost packet using FEC (Forward Error Correction). However, if the number of lost packets of the IP packet P2 per unit time exceeds a predetermined value, restoration of some or all of the lost packets may fail. If the STB 101 fails to restore lost packets, the video and audio will be distorted when the user views the corresponding content.

そこで、本開示の第1の実施の形態に係るSTB101は、以下のような構成により、上記の課題を解決する。 Therefore, the STB 101 according to the first embodiment of the present disclosure solves the above problem with the following configuration.

(STBの構成)
図4は、本開示の第1の実施の形態に係るSTBの構成を示す機能ブロック図である。図4を参照して、STB101は、通信部11と、VODパケット取得部21と、放送パケット取得部22と、処理部23,24と、制御部25と、HWバッファ31と、リングバッファ32と、TCPソケットバッファ33と、UDPソケットバッファ34とを備える。通信部11は、受信部の一例である。
(STB configuration)
FIG. 4 is a functional block diagram showing the configuration of the STB according to the first embodiment of the present disclosure. Referring to FIG. 4, the STB 101 includes a communication section 11, a VOD packet acquisition section 21, a broadcast packet acquisition section 22, processing sections 23 and 24, a control section 25, a HW buffer 31, and a ring buffer 32. , a TCP socket buffer 33, and a UDP socket buffer 34. The communication unit 11 is an example of a receiving unit.

通信部11は、ネットワークデバイス10により実現される。VODパケット取得部21、放送パケット取得部22、処理部23,24および制御部25は、プロセッサ20により実現される。HWバッファ31、リングバッファ32、TCPソケットバッファ33およびUDPソケットバッファ34は、メモリ30に含まれる。 The communication unit 11 is realized by the network device 10. The VOD packet acquisition section 21, the broadcast packet acquisition section 22, the processing sections 23 and 24, and the control section 25 are realized by the processor 20. A HW buffer 31, a ring buffer 32, a TCP socket buffer 33, and a UDP socket buffer 34 are included in the memory 30.

以下、HWバッファ31のバッファサイズを「B1」とし、リングバッファ32のバッファサイズを「B2」とし、TCPソケットバッファ33のバッファサイズを「B3」とし、UDPソケットバッファ34のバッファサイズを「B4」とする。また、HWバッファ31の空き容量を「E1」とし、リングバッファ32の空き容量を「E2」とし、TCPソケットバッファ33の空き容量を「E3」とし、UDPソケットバッファ34の空き容量を「E4」とする。なお、STB101は、5つ以上のバッファを備える構成であってもよい。 Hereinafter, the buffer size of the HW buffer 31 is "B1", the buffer size of the ring buffer 32 is "B2", the buffer size of the TCP socket buffer 33 is "B3", and the buffer size of the UDP socket buffer 34 is "B4". shall be. Further, the free capacity of the HW buffer 31 is set as "E1", the free capacity of the ring buffer 32 is set as "E2", the free capacity of the TCP socket buffer 33 is set as "E3", and the free capacity of the UDP socket buffer 34 is set as "E4". shall be. Note that the STB 101 may have a configuration including five or more buffers.

通信部11は、TCPに従うストリームS1を受信する。より詳細には、通信部11は、ストリームS1を構成するIPパケットP1をネットワーク351経由でHTTPサーバ301から受信し、受信したIPパケットP1をHWバッファ31に保存する。 The communication unit 11 receives the stream S1 according to TCP. More specifically, the communication unit 11 receives the IP packet P1 constituting the stream S1 from the HTTP server 301 via the network 351, and stores the received IP packet P1 in the HW buffer 31.

また、通信部11は、UDPに従うストリームS2を受信する。より詳細には、通信部11は、ストリームS2を構成するIPパケットP2をネットワーク351経由でIP放送配信装置302から受信し、受信したIPパケットP2をHWバッファ31に保存する。 The communication unit 11 also receives the stream S2 according to UDP. More specifically, the communication unit 11 receives the IP packet P2 constituting the stream S2 from the IP broadcast distribution device 302 via the network 351, and stores the received IP packet P2 in the HW buffer 31.

通信部11は、所定の読み出し周期R1に従うタイミングにおいて、HWバッファ31からIPパケットPを取得してリングバッファ32に保存する。 The communication unit 11 acquires the IP packet P from the HW buffer 31 and stores it in the ring buffer 32 at a timing according to a predetermined read cycle R1.

VODパケット取得部21は、リングバッファ32に保存されたIPパケットPのうちのIPパケットP1を取得してTCPソケットバッファ33に保存する。より詳細には、VODパケット取得部21は、所定の読み出し周期R2に従うタイミングにおいて、リングバッファ32からIPパケットP1を取得してTCPソケットバッファ33に保存する。 The VOD packet acquisition unit 21 acquires the IP packet P1 from among the IP packets P stored in the ring buffer 32 and stores it in the TCP socket buffer 33. More specifically, the VOD packet acquisition unit 21 acquires the IP packet P1 from the ring buffer 32 and stores it in the TCP socket buffer 33 at a timing according to a predetermined read cycle R2.

放送パケット取得部22は、リングバッファ32に保存されたIPパケットPのうちのIPパケットP2を取得してUDPソケットバッファ34に保存する。より詳細には、放送パケット取得部22は、読み出し周期R2に従うタイミングにおいて、リングバッファ32からIPパケットP2を取得してUDPソケットバッファ34に保存する。 The broadcast packet acquisition unit 22 acquires the IP packet P2 from among the IP packets P stored in the ring buffer 32 and stores it in the UDP socket buffer 34. More specifically, the broadcast packet acquisition unit 22 acquires the IP packet P2 from the ring buffer 32 and stores it in the UDP socket buffer 34 at a timing according to the read cycle R2.

処理部23は、通信部11により受信されたストリームS1を処理する。より詳細には、処理部23は、所定の読み出し周期R3に従うタイミングにおいて、TCPソケットバッファ33からIPパケットP1を取得し、取得したIPパケットP1を処理する。具体的には、処理部23は、IPパケットP1を復号し、復号したIPパケットP1に含まれるVODコンテンツをデコードする。処理部23は、デコードしたVODコンテンツを再生する処理を行い、得られた映像情報および音声情報等を表示装置161へ送信する。 The processing unit 23 processes the stream S1 received by the communication unit 11. More specifically, the processing unit 23 acquires the IP packet P1 from the TCP socket buffer 33 at a timing according to the predetermined read cycle R3, and processes the acquired IP packet P1. Specifically, the processing unit 23 decodes the IP packet P1 and decodes the VOD content included in the decoded IP packet P1. The processing unit 23 performs a process of playing back the decoded VOD content, and transmits the obtained video information, audio information, etc. to the display device 161.

また、処理部24は、通信部11により受信されたストリームS2を処理する。より詳細には、処理部24は、所定の読み出し周期R4に従うタイミングにおいて、UDPソケットバッファ34からIPパケットP2を取得し、取得したIPパケットP2を処理する。具体的には、処理部24は、IPパケットP2を復号し、復号したIPパケットP2をHDD151に保存する。あるいは、処理部24は、復号したIPパケットP2に含まれる放送コンテンツをデコードし、デコードした放送コンテンツを再生する処理を行い、得られた映像情報および音声情報等を表示装置161へ送信する。 Furthermore, the processing unit 24 processes the stream S2 received by the communication unit 11. More specifically, the processing unit 24 acquires the IP packet P2 from the UDP socket buffer 34 at a timing according to a predetermined read cycle R4, and processes the acquired IP packet P2. Specifically, the processing unit 24 decodes the IP packet P2 and stores the decoded IP packet P2 in the HDD 151. Alternatively, the processing unit 24 decodes the broadcast content included in the decoded IP packet P2, performs processing to reproduce the decoded broadcast content, and transmits the obtained video information, audio information, etc. to the display device 161.

制御部25は、ストリームS1を受信するための通信部11の通信帯域を制御する。制御部25は、通信部11がストリームS1,S2を並行して受信していることを検知した場合、ストリームS1を受信するための通信帯域を抑制する抑制制御を行う。 The control unit 25 controls the communication band of the communication unit 11 for receiving the stream S1. When the control unit 25 detects that the communication unit 11 is receiving streams S1 and S2 in parallel, it performs suppression control to suppress the communication band for receiving stream S1.

図5は、本開示の第1の実施の形態に係るSTBにおけるリングバッファに保存されているIPパケットを示す図である。図5を参照して、通信部11は、ストリームS1,S2を並行して受信する場合、IPパケットP1,P2をシリアルに受信する。IPパケットP1,P2は、通信部11により受信された順に従ってリングバッファ32に保存される。 FIG. 5 is a diagram showing IP packets stored in the ring buffer in the STB according to the first embodiment of the present disclosure. Referring to FIG. 5, when receiving streams S1 and S2 in parallel, communication unit 11 receives IP packets P1 and P2 serially. The IP packets P1 and P2 are stored in the ring buffer 32 in the order in which they were received by the communication unit 11.

制御部25は、リングバッファ32を監視し、監視結果に基づいて、通信部11がストリームS1,S2を並行して受信していると判断した場合、ストリームS1を受信するための通信帯域を抑制する抑制制御を行う。たとえば、ストリームS1を受信するための通信帯域[bps]は、TCPに従う通信におけるウィンドウサイズWS[byte]の8倍を、HTTPサーバ301とSTB101との間におけるRTT(Round Trip Time)で除した値により表される。 The control unit 25 monitors the ring buffer 32, and if it is determined that the communication unit 11 is receiving streams S1 and S2 in parallel based on the monitoring result, it suppresses the communication band for receiving stream S1. performs inhibitory control. For example, the communication band [bps] for receiving stream S1 is the value obtained by dividing 8 times the window size WS [byte] in communication according to TCP by the RTT (Round Trip Time) between the HTTP server 301 and STB 101. Represented by

より詳細には、制御部25は、リングバッファ32を参照し、リングバッファ32にIPパケットP1,P2が保存されている場合、通信部11がストリームS1,S2を並行して、すなわち同時に受信していると判断する。一方、制御部25は、リングバッファ32にIPパケットP1およびIPパケットP2の一方のみが保存されている場合、通信部11はストリームS1,S2を並行して受信している状態ではないと判断する。 More specifically, the control unit 25 refers to the ring buffer 32 and determines whether the communication unit 11 receives the streams S1 and S2 in parallel, that is, at the same time, if the IP packets P1 and P2 are stored in the ring buffer 32. It is determined that On the other hand, if only one of the IP packets P1 and P2 is stored in the ring buffer 32, the control unit 25 determines that the communication unit 11 is not receiving streams S1 and S2 in parallel. .

たとえば、制御部25は、通信部11がストリームS1,S2を並行して受信していることを検知し、かつストリームS2がマルチキャストストリームである場合、抑制制御を行う。 For example, when the control unit 25 detects that the communication unit 11 is receiving streams S1 and S2 in parallel and the stream S2 is a multicast stream, the control unit 25 performs suppression control.

より詳細には、制御部25は、リングバッファ32におけるIPパケットP2のヘッダに、宛先IPアドレスとしてマルチキャストアドレスが格納されている場合、ストリームS2はマルチキャストストリームであると判断する。一方、制御部25は、IPパケットP2のヘッダにマルチキャストアドレスが格納されていない場合、ストリームS2はマルチキャストストリームではないと判断する。 More specifically, if a multicast address is stored as the destination IP address in the header of the IP packet P2 in the ring buffer 32, the control unit 25 determines that the stream S2 is a multicast stream. On the other hand, if the multicast address is not stored in the header of the IP packet P2, the control unit 25 determines that the stream S2 is not a multicast stream.

制御部25は、通信部11がストリームS1,S2を並行して受信していると判断し、かつストリームS2はマルチキャストストリームであると判断した場合、抑制制御を行う。 When the control unit 25 determines that the communication unit 11 is receiving streams S1 and S2 in parallel and determines that stream S2 is a multicast stream, it performs suppression control.

一方、制御部25は、通信部11はストリームS1,S2を並行して受信している状態ではないと判断するか、またはストリームS2はマルチキャストストリームではないと判断した場合、抑制制御を行わない。 On the other hand, if the control unit 25 determines that the communication unit 11 is not receiving streams S1 and S2 in parallel, or if it determines that stream S2 is not a multicast stream, it does not perform suppression control.

たとえば、制御部25は、通信部11がストリームS1,S2を並行して受信していると判断して抑制制御を行った後、通信部11によるストリームS1およびストリームS2の少なくともいずれか一方の受信が停止した場合、抑制制御を解除する。 For example, the control unit 25 determines that the communication unit 11 is receiving streams S1 and S2 in parallel and performs suppression control, and then the communication unit 11 receives at least one of the streams S1 and S2. If the system stops, the inhibitory control is canceled.

(ウィンドウサイズWSの変更)
制御部25は、抑制制御として、TCPに従う通信におけるウィンドウサイズWSを低下させる。
(Change of window size WS)
The control unit 25 reduces the window size WS in communication according to TCP as suppression control.

より詳細には、制御部25は、現在のウィンドウサイズWSよりも小さいウィンドウサイズWSを決定する。 More specifically, the control unit 25 determines a window size WS smaller than the current window size WS.

具体的には、制御部25は、バッファサイズBx/読み出し周期Rxが最も小さい値となるxの値を特定する。ここで、xは、1から4の整数である。制御部25は、現在のウィンドウサイズWSをHTTPサーバ301およびネットワーク351におけるVODコンテンツの伝送レートで除した値V1が、読み出し周期Rxよりも小さいか否かを判断する。制御部25は、値V1が読み出し周期Rxよりも小さい場合、以下の式(1)を満たすウィンドウサイズWSを決定する。
Bx-Brat×Rx>WS ・・・ (1)
Specifically, the control unit 25 specifies the value of x that gives the smallest value of buffer size Bx/reading cycle Rx. Here, x is an integer from 1 to 4. The control unit 25 determines whether a value V1 obtained by dividing the current window size WS by the VOD content transmission rate in the HTTP server 301 and the network 351 is smaller than the read cycle Rx. When the value V1 is smaller than the read cycle Rx, the control unit 25 determines a window size WS that satisfies the following equation (1).
Bx-Brat×Rx>WS... (1)

ここで、Bratは、ストリームS1のビットレートである。 Here, Brat is the bit rate of stream S1.

制御部25は、決定したウィンドウサイズWSを示す抑制指示A1を通信部11へ出力する。 The control unit 25 outputs a suppression instruction A1 indicating the determined window size WS to the communication unit 11.

通信部11は、制御部25から抑制指示A1を受けた場合、受けた抑制指示A1が示すウィンドウサイズWSをHTTPサーバ301に通知する。より詳細には、通信部11は、抑制指示A1が示すウィンドウサイズWSを含むACKパケットを、IPパケットに含めてネットワーク351経由でHTTPサーバ301へ送信する。 When receiving the suppression instruction A1 from the control unit 25, the communication unit 11 notifies the HTTP server 301 of the window size WS indicated by the received suppression instruction A1. More specifically, the communication unit 11 includes an ACK packet including the window size WS indicated by the suppression instruction A1 in an IP packet and transmits it to the HTTP server 301 via the network 351.

(ACKの遅延)
制御部25は、抑制制御として、通信部11によるストリームS1を構成するIPパケットP1に対するACKの送信を遅延させる。
(ACK delay)
As suppression control, the control unit 25 delays transmission of ACK by the communication unit 11 to the IP packet P1 that constitutes the stream S1.

より詳細には、制御部25は、TCPに従うACKパケットであって、HTTPサーバ301へ送信すべきACKパケットの遅延時間DTを決定する。 More specifically, the control unit 25 determines the delay time DT of the ACK packet according to TCP and to be transmitted to the HTTP server 301.

具体的には、制御部25は、空き容量Exが最も小さい値となるxの値を特定する。制御部25は、空き容量Exが、ストリームS1のビットレートBratと読み出し周期Rxとの積に所定のマージン値を加えた閾値TH1よりも小さい場合、読み出し周期Rxを遅延時間DTとして決定する。 Specifically, the control unit 25 specifies the value of x for which the free capacity Ex is the smallest value. When the free capacity Ex is smaller than a threshold value TH1 obtained by adding a predetermined margin value to the product of the bit rate Brat of the stream S1 and the read cycle Rx, the control unit 25 determines the read cycle Rx as the delay time DT.

制御部25は、決定した遅延時間DTを示す抑制指示A2を通信部11へ出力する。 The control unit 25 outputs a suppression instruction A2 indicating the determined delay time DT to the communication unit 11.

通信部11は、制御部25から抑制指示A2を受けた場合、HTTPサーバ301へ送信すべきACKパケットを、受けた抑制指示A2が示す遅延時間DT保持してからHTTPサーバ301へ送信する。 When the communication unit 11 receives the suppression instruction A2 from the control unit 25, the communication unit 11 transmits the ACK packet to the HTTP server 301 after holding the delay time DT indicated by the received suppression instruction A2.

(抑制制御の他の例1)
たとえば、通信部11は、MPEG-DASHに従い、たとえばネットワーク351の通信帯域およびSTB101の仕様に応じて、HTTPサーバ301において用意されているビットレートの異なる複数のリプリゼンテーション(Representation)のうちの取得すべきリプリゼンテーションを選択し、選択したリプリゼンテーションを含むストリームS1を受信する。通信部11は、取得すべきリプリゼンテーションを動的に変更することが可能である。
(Other example 1 of inhibitory control)
For example, the communication unit 11 acquires one of a plurality of representations with different bit rates prepared in the HTTP server 301 according to MPEG-DASH, for example, according to the communication band of the network 351 and the specifications of the STB 101. Stream S1 containing the selected Representation is received. The communication unit 11 can dynamically change the representation to be acquired.

制御部25は、通信部11がストリームS1としてアダプティブストリームを受信している場合、ストリームS1の通信レートに応じて、抑制制御における抑制量を調整する。 When the communication unit 11 receives the adaptive stream as the stream S1, the control unit 25 adjusts the amount of suppression in the suppression control according to the communication rate of the stream S1.

より詳細には、通信部11は、取得しているリプリゼンテーション、および選択可能な他のリプリゼンテーションを示すMPD(Meida Presentation Description)ファイルを保持している。 More specifically, the communication unit 11 holds an MPD (Meida Presentation Description) file that indicates the acquired representation and other selectable representations.

制御部25は、通信部11が保持しているMPDファイルを参照し、通信部11が現在取得しているリプリゼンテーション(Representation)、および当該リプリゼンテーションのビットレートを確認する。 The control unit 25 refers to the MPD file held by the communication unit 11 and checks the representation currently acquired by the communication unit 11 and the bit rate of the representation.

たとえば、制御部25は、MPDが示す選択可能な他のリプリゼンテーションとして、通信部11が現在取得しているリプリゼンテーションのビットレートよりも低いビットレートのリプリゼンテーションが存在する場合、抑制制御において、ウィンドウサイズWSの低下量をより大きな値に設定する。 For example, if there is a Representation with a lower bit rate than the bit rate of the Representation currently acquired by the communication unit 11 as another selectable Representation indicated by the MPD, the control unit 25 suppresses the Representation. In the control, the amount of decrease in the window size WS is set to a larger value.

一方、制御部25は、MPDが示す選択可能な他のリプリゼンテーションとして、通信部11が現在取得しているリプリゼンテーションのビットレートよりも低いビットレートのリプリゼンテーションが存在しない場合、抑制制御において、ウィンドウサイズWSの低下量をより小さな値に設定する。 On the other hand, if there is no Representation with a bit rate lower than the bit rate of the Representation currently acquired by the communication unit 11 as another selectable Representation indicated by the MPD, the control unit 25 suppresses the Representation. In the control, the amount of decrease in the window size WS is set to a smaller value.

あるいは、制御部25は、MPDが示す選択可能な他のリプリゼンテーションとして、通信部11が現在取得しているリプリゼンテーションのビットレートよりも低いビットレートのリプリゼンテーションが存在する場合、抑制制御において、遅延時間DTをより大きな値に決定する。 Alternatively, if there is a Representation with a bit rate lower than the bit rate of the Representation currently acquired by the communication unit 11 as another selectable Representation indicated by the MPD, the control unit 25 suppresses the Representation. In the control, the delay time DT is determined to be a larger value.

一方、制御部25は、MPDが示す選択可能な他のリプリゼンテーションとして、通信部11が現在取得しているリプリゼンテーションのビットレートよりも低いビットレートのリプリゼンテーションが存在しない場合、抑制制御において、遅延時間DTをより小さな値に決定する。 On the other hand, if there is no Representation with a bit rate lower than the bit rate of the Representation currently acquired by the communication unit 11 as another selectable Representation indicated by the MPD, the control unit 25 suppresses the Representation. In the control, the delay time DT is determined to be a smaller value.

(抑制制御の他の例2)
処理部24は、通信部11により受信されたストリームS2におけるパケットロスを検知する。処理部24は、ストリームS2におけるパケットロスを検知した場合、IPパケットP2の復元処理を行う。処理部24は、定期的または不定期に、パケットロスの検知結果およびIPパケットP2の復元処理の結果を制御部25へ通知する。
(Other example 2 of inhibitory control)
The processing unit 24 detects packet loss in the stream S2 received by the communication unit 11. When the processing unit 24 detects a packet loss in the stream S2, it performs a restoration process on the IP packet P2. The processing unit 24 regularly or irregularly notifies the control unit 25 of the packet loss detection result and the result of the restoration process of the IP packet P2.

制御部25は、処理部24によるパケットロスの検知結果に応じて、抑制制御における抑制量を調整する。たとえば、制御部25は、処理部24による復元処理の成功率に応じて、抑制制御における抑制量を調整する。 The control unit 25 adjusts the amount of suppression in the suppression control according to the packet loss detection result by the processing unit 24 . For example, the control unit 25 adjusts the amount of suppression in suppression control according to the success rate of the restoration process by the processing unit 24.

より詳細には、制御部25は、処理部24がIPパケットP2の復元に失敗しており、かつ所定長の期間における空き容量E3の最小値E3minが現在のウィンドウサイズWSよりも小さい場合、最小値E3minと現在のウィンドウサイズWSとの差分D1を算出する。制御部25は、現在のウィンドウサイズWSから差分D1を差し引いた値を、新たなウィンドウサイズWSとして決定する。 More specifically, if the processing unit 24 has failed to restore the IP packet P2 and the minimum value E3min of the free capacity E3 during a predetermined period is smaller than the current window size WS, the control unit 25 A difference D1 between the value E3min and the current window size WS is calculated. The control unit 25 determines the value obtained by subtracting the difference D1 from the current window size WS as the new window size WS.

一方、制御部25は、処理部24がIPパケットP2の復元に失敗しており、かつ所定長の期間における空き容量E3の最小値E3minが現在のウィンドウサイズWS以上である場合、ウィンドウサイズWSの変更を行わない。 On the other hand, if the processing unit 24 has failed to restore the IP packet P2 and the minimum value E3min of the free capacity E3 during the predetermined length period is greater than or equal to the current window size WS, the control unit 25 controls the window size WS. No changes made.

また、制御部25は、処理部24がIPパケットP2の復元に所定回数以上成功しているかまたは処理部24が復元処理を行っておらず、かつ所定長の期間における空き容量E3の最大値E3MAXおよび所定長の期間における空き容量E1の最大値E1MAXが現在のウィンドウサイズWSよりも大きい場合、現在のウィンドウサイズWSに所定値を加えた値を、新たなウィンドウサイズWSとして決定する。 In addition, the control unit 25 determines whether the processing unit 24 has successfully restored the IP packet P2 a predetermined number of times or more, or the processing unit 24 has not performed the restoration process, and the maximum value E3MAX of the free capacity E3 during a period of a predetermined length is If the maximum value E1MAX of the free capacity E1 during a period of a predetermined length is larger than the current window size WS, a value obtained by adding a predetermined value to the current window size WS is determined as the new window size WS.

一方、制御部25は、処理部24がIPパケットP2の復元に所定回数以上成功していないか、最大値E3MAXが現在のウィンドウサイズWSよりも小さいか、または最大値E1MAXが現在のウィンドウサイズWSよりも小さい場合、ウィンドウサイズWSの変更を行わない。 On the other hand, the control unit 25 determines whether the processing unit 24 has not succeeded in restoring the IP packet P2 a predetermined number of times or more, the maximum value E3MAX is smaller than the current window size WS, or the maximum value E1MAX is smaller than the current window size WS. If it is smaller than , the window size WS is not changed.

[動作の流れ]
図6は、本開示の実施の形態に係るSTBがストリームS1を受信するための通信帯域の抑制を行う際の動作手順の一例を定めたフローチャートである。
[Flow of operation]
FIG. 6 is a flowchart defining an example of an operation procedure when the STB according to the embodiment of the present disclosure suppresses the communication band for receiving the stream S1.

図6を参照して、STB101において、制御部25は、通信部11がストリームS1,S2を並行して受信するのを待ち受け(ステップS11でNO)、通信部11がストリームS1,S2を並行して受信し(ステップS11でYES)、かつ通信部11により受信されるストリームS2がマルチキャストストリームである場合(ステップS12でYES)、ストリームS1を受信するための通信帯域を抑制する抑制制御を行う(ステップS13)。 Referring to FIG. 6, in STB 101, control unit 25 waits for communication unit 11 to receive streams S1 and S2 in parallel (NO in step S11), and waits for communication unit 11 to receive streams S1 and S2 in parallel. If the stream S2 received by the communication unit 11 is a multicast stream (YES in step S12), suppression control is performed to suppress the communication band for receiving the stream S1 (YES in step S11). Step S13).

次に、制御部25は、通信部11によるストリームS1およびストリームS2の少なくともいずれか一方の受信が停止するのを待ち受け(ステップS14でNO)、通信部11によるストリームS1およびストリームS2の少なくともいずれか一方の受信が停止した場合(ステップS14でYES)、抑制制御を解除する(ステップS15)。 Next, the control unit 25 waits until the communication unit 11 stops receiving at least one of the stream S1 and the stream S2 (NO in step S14), and waits until the communication unit 11 stops receiving at least one of the stream S1 and the stream S2. If one of the receptions has stopped (YES in step S14), the suppression control is canceled (step S15).

次に、制御部25は、通信部11が再びストリームS1,S2を並行して受信するのを待ち受ける(ステップS11でNO)。 Next, the control unit 25 waits for the communication unit 11 to receive the streams S1 and S2 in parallel again (NO in step S11).

図7は、本開示の第1の実施の形態に係るコンテンツ配信システムにおける通信のシーケンスの一例を示す図である。 FIG. 7 is a diagram illustrating an example of a communication sequence in the content distribution system according to the first embodiment of the present disclosure.

図7を参照して、まず、HTTPサーバ301は、ストリームS1をSTB101へ送信する(ステップS21)。 Referring to FIG. 7, first, HTTP server 301 transmits stream S1 to STB 101 (step S21).

次に、STB101は、ネットワーク351経由でHTTPサーバ301からストリームS1を受信し、受信したストリームS1に対するACKパケットをIPパケットに含めてHTTPサーバ301へ送信する(ステップS22)。 Next, the STB 101 receives the stream S1 from the HTTP server 301 via the network 351, includes an ACK packet for the received stream S1 in an IP packet, and transmits the IP packet to the HTTP server 301 (step S22).

次に、IP放送配信装置302は、STB101へのストリームS2の送信を開始する(ステップS23)。 Next, the IP broadcast distribution device 302 starts transmitting the stream S2 to the STB 101 (step S23).

次に、STB101は、ストリームS1,S2を並行して受信しているので、ストリームS1を受信するための通信帯域を抑制する抑制制御を行う。たとえば、STB101は、現在のウィンドウサイズWSよりも小さいウィンドウサイズWSを決定し、決定したウィンドウサイズWSを含むACKパケットを、IPパケットに含めてHTTPサーバ301へ送信する(ステップS24)。 Next, since the STB 101 receives streams S1 and S2 in parallel, it performs suppression control to suppress the communication band for receiving stream S1. For example, the STB 101 determines a window size WS smaller than the current window size WS, and transmits an ACK packet including the determined window size WS to the HTTP server 301 in an IP packet (step S24).

次に、HTTPサーバ301は、ネットワーク351経由でSTB101からACKパケットを受信し、受信したACKパケットに含まれるウィンドウサイズWSが示すデータ量のストリームS1をSTB101へ送信する(ステップS25)。 Next, the HTTP server 301 receives the ACK packet from the STB 101 via the network 351, and transmits the stream S1 of the amount of data indicated by the window size WS included in the received ACK packet to the STB 101 (step S25).

なお、本開示の第1の実施の形態に係るコンテンツ配信システム401は、IP放送配信装置302を備える構成であるとしたが、これに限定するものではない。コンテンツ配信システム401は、IP放送配信装置302を備えない構成であってもよい。この場合、STB101における通信部11は、ストリームS2の代わりに、たとえばVoIP(Voice over Internet Protocol)の音声コンテンツを含むストリームS3を受信する。ストリームS3は、音声情報を含む。制御部25は、通信部11がストリームS1,S3を並行して受信していることを検知した場合、ストリームS1を受信するための通信帯域を抑制する抑制制御を行う。 Note that although the content distribution system 401 according to the first embodiment of the present disclosure has a configuration including the IP broadcast distribution device 302, the present disclosure is not limited to this. The content distribution system 401 may have a configuration that does not include the IP broadcast distribution device 302. In this case, the communication unit 11 in the STB 101 receives, for example, a stream S3 including VoIP (Voice over Internet Protocol) audio content instead of the stream S2. Stream S3 includes audio information. When the control unit 25 detects that the communication unit 11 is receiving streams S1 and S3 in parallel, it performs suppression control to suppress the communication band for receiving stream S1.

また、本開示の第1の実施の形態に係るSTB101では、制御部25は、通信部11がストリームS1,S2を並行して受信している状態ではないと判断するか、またはストリームS2はマルチキャストストリームではないと判断した場合、抑制制御を行わない構成であるとしたが、これに限定するものではない。制御部25は、通信部11がストリームS1,S2を並行して受信していると判断した場合において、ストリームS2がマルチキャストストリームであるか否かに関わらず、抑制制御を行う構成であってもよい。 Furthermore, in the STB 101 according to the first embodiment of the present disclosure, the control unit 25 determines that the communication unit 11 is not receiving streams S1 and S2 in parallel, or that stream S2 is multicast. Although the configuration is such that suppression control is not performed when it is determined that the stream is not a stream, the present invention is not limited to this. When the control unit 25 determines that the communication unit 11 is receiving streams S1 and S2 in parallel, the control unit 25 may perform suppression control regardless of whether stream S2 is a multicast stream. good.

また、本開示の第1の実施の形態に係るSTB101では、制御部25は、抑制制御として、ウィンドウサイズWSを低下させること、およびIPパケットP1に対するACKの送信を遅延させることを行う構成であるとしたが、これに限定するものではない。制御部25は、ウィンドウサイズWSを低下させること、およびIPパケットP1に対するACKの送信を遅延させることのいずれか一方を行わない構成であってもよい。 Further, in the STB 101 according to the first embodiment of the present disclosure, the control unit 25 is configured to reduce the window size WS and delay the transmission of ACK to the IP packet P1 as suppression control. However, it is not limited to this. The control unit 25 may have a configuration in which it does not reduce the window size WS or delay the transmission of ACK to the IP packet P1.

また、本開示の第1の実施の形態に係るSTB101では、制御部25は、ストリームS1のビットレートに応じて、抑制制御における抑制量を調整する構成であるとしたが、これに限定するものではない。制御部25は、ストリームS1のフレームレート等に応じて、抑制制御における抑制量を調整する構成であってもよい。また、制御部25は、ストリームS1の通信レートに関わらず、所定の抑制量の抑制制御を行う構成であってもよい。 Further, in the STB 101 according to the first embodiment of the present disclosure, the control unit 25 is configured to adjust the amount of suppression in the suppression control according to the bit rate of the stream S1, but the present disclosure is not limited to this. isn't it. The control unit 25 may be configured to adjust the amount of suppression in suppression control depending on the frame rate of stream S1 and the like. Further, the control unit 25 may be configured to perform suppression control of a predetermined suppression amount regardless of the communication rate of the stream S1.

また、本開示の第1の実施の形態に係るSTB101では、制御部25は、処理部24によるパケットロスの検知結果に応じて、抑制制御における抑制量を調整する構成であるとしたが、これに限定するものではない。制御部25は、処理部24によるパケットロスの検知結果に関わらず、所定の抑制量の抑制制御を行う構成であってもよい。 Further, in the STB 101 according to the first embodiment of the present disclosure, the control unit 25 is configured to adjust the amount of suppression in the suppression control according to the packet loss detection result by the processing unit 24. It is not limited to. The control unit 25 may be configured to perform suppression control by a predetermined amount of suppression regardless of the packet loss detection result by the processing unit 24.

また、本開示の第1の実施の形態に係るSTB101では、制御部25は、処理部24による復元処理の成功率に応じて、抑制制御における抑制量を調整する構成であるとしたが、これに限定するものではない。制御部25は、処理部24による復元処理の成功率に関わらず、所定の抑制量の抑制制御を行う構成であってもよい。 Further, in the STB 101 according to the first embodiment of the present disclosure, the control unit 25 is configured to adjust the suppression amount in suppression control according to the success rate of the restoration process by the processing unit 24. It is not limited to. The control unit 25 may be configured to perform suppression control of a predetermined suppression amount regardless of the success rate of the restoration process by the processing unit 24.

次に、本開示の他の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。 Next, other embodiments of the present disclosure will be described using the drawings. In addition, the same reference numerals are attached to the same or corresponding parts in the drawings, and the description thereof will not be repeated.

<第2の実施の形態>
本実施の形態は、第1の実施の形態に係るコンテンツ配信システム401と比べて、中継機201が抑制制御を行うコンテンツ配信システム402に関する。以下で説明する内容以外は第1の実施の形態に係るコンテンツ配信システム401と同様である。
<Second embodiment>
This embodiment relates to a content distribution system 402 in which the relay machine 201 performs suppression control, compared to the content distribution system 401 according to the first embodiment. The content distribution system 401 is the same as the content distribution system 401 according to the first embodiment except for the contents described below.

図8は、本開示の第2の実施の形態に係るコンテンツ配信システムの構成を示す図である。図8を参照して、コンテンツ配信システム402は、コンテンツ配信システム401と比べて、STB101の代わりにSTB102A,102Bを備え、中継機201をさらに備える。以下、STB102A,102Bの各々をSTB102とも称する。中継機201およびSTB102は、ユーザ宅111に設けられる。STB102は、中継機201に接続されている。中継機201は、たとえばルータである。なお、コンテンツ配信システム402は、3つ以上のSTB102を備える構成であってもよい。 FIG. 8 is a diagram showing the configuration of a content distribution system according to the second embodiment of the present disclosure. Referring to FIG. 8, compared to content distribution system 401, content distribution system 402 includes STBs 102A and 102B instead of STB 101, and further includes relay machine 201. Hereinafter, each of STBs 102A and 102B will also be referred to as STB 102. The repeater 201 and STB 102 are provided at the user's home 111. STB 102 is connected to repeater 201. Relay machine 201 is, for example, a router. Note that the content distribution system 402 may have a configuration including three or more STBs 102.

中継機201は、HTTPサーバ301により送信されたストリームS1をネットワーク351経由で受信する。また、中継機201は、IP放送配信装置302により送信されたストリームS2をネットワーク351経由で受信する。 Relay device 201 receives stream S1 transmitted by HTTP server 301 via network 351. Further, the relay device 201 receives the stream S2 transmitted by the IP broadcast distribution device 302 via the network 351.

図9は、本開示の第2の実施の形態に係る中継機の構成を示す図である。図9を参照して、中継機201は、ネットワークデバイス40,70と、プロセッサ50と、メモリ60とを備える。メモリ60は、たとえば不揮発性メモリである。 FIG. 9 is a diagram showing the configuration of a repeater according to the second embodiment of the present disclosure. Referring to FIG. 9, relay machine 201 includes network devices 40 and 70, a processor 50, and memory 60. Memory 60 is, for example, a nonvolatile memory.

ネットワークデバイス40は、ストリームS1を構成するIPパケットP1をネットワーク351経由でHTTPサーバ301から受信する。ネットワークデバイス40は、受信したIPパケットP1をメモリ60におけるバッファに保存する。 The network device 40 receives IP packets P1 constituting the stream S1 from the HTTP server 301 via the network 351. Network device 40 stores the received IP packet P1 in a buffer in memory 60.

また、ネットワークデバイス40は、ストリームS2を構成するIPパケットP2をネットワーク351経由でIP放送配信装置302から受信する。ネットワークデバイス40は、受信したIPパケットP2をメモリ60におけるバッファに保存する。 Further, the network device 40 receives IP packets P2 constituting the stream S2 from the IP broadcast distribution apparatus 302 via the network 351. Network device 40 stores the received IP packet P2 in a buffer in memory 60.

このように、中継機201では、共通の受信リソースすなわちネットワークデバイス40およびメモリ60におけるバッファにより、IPパケットP1,P2の受信処理が行われる。 In this way, in the relay device 201, the reception processing of the IP packets P1 and P2 is performed using common reception resources, that is, the buffers in the network device 40 and the memory 60.

プロセッサ50は、ネットワークデバイス40によりメモリ60に保存されたIPパケットP1,P2を処理する。 Processor 50 processes IP packets P1, P2 stored in memory 60 by network device 40.

より詳細には、たとえば、プロセッサ50は、メモリ30からIPパケットP1を取得し、取得したIPパケットP1を、IPパケットP1の宛先IPアドレスに従ってネットワークデバイス70経由でSTB102へ送信する中継処理を行う。 More specifically, for example, the processor 50 performs a relay process of acquiring the IP packet P1 from the memory 30 and transmitting the acquired IP packet P1 to the STB 102 via the network device 70 according to the destination IP address of the IP packet P1.

また、たとえば、プロセッサ50は、メモリ30からIPパケットP2を取得し、取得したIPパケットP2を、IPパケットP2の宛先IPアドレスに従ってネットワークデバイス70経由でSTB102へ送信する中継処理を行う。 Further, for example, the processor 50 performs a relay process of acquiring the IP packet P2 from the memory 30 and transmitting the acquired IP packet P2 to the STB 102 via the network device 70 according to the destination IP address of the IP packet P2.

このように、中継機201では、共通の処理リソースすなわちプロセッサ50により、IPパケットP1,P2の中継処理が行われる。 In this way, in the relay device 201, the relay processing of the IP packets P1 and P2 is performed by the common processing resource, that is, the processor 50.

[課題]
ところで、中継機201は、ストリームS1,S2を並行して受信する場合がある。より詳細には、中継機201は、STB102AへのストリームS1の中継処理およびSTB102BへのストリームS2の中継処理を並行して行う場合、ストリームS1,S2を並行して受信し、STB102AへのIPパケットP1の中継処理を行いながら、STB102BへのIPパケットP2の中継処理を行う。また、中継機201は、中継機201に接続されるSTB102の数に応じて、複数のストリームS1および複数のストリームS2を並行して受信する場合がある。
[assignment]
By the way, the relay device 201 may receive streams S1 and S2 in parallel. More specifically, when performing relay processing of stream S1 to STB 102A and relay processing of stream S2 to STB 102B in parallel, relay device 201 receives streams S1 and S2 in parallel, and transmits IP packets to STB 102A. While performing relay processing of P1, relay processing of IP packet P2 to STB 102B is performed. Further, the relay device 201 may receive multiple streams S1 and multiple streams S2 in parallel depending on the number of STBs 102 connected to the relay device 201.

したがって、中継機201では、第1の実施の形態に係るSTB101と同様に、IPパケットP1,P2のロスが生じる場合がある。 Therefore, in the relay device 201, similarly to the STB 101 according to the first embodiment, loss of IP packets P1 and P2 may occur.

そこで、本開示の第2の実施の形態に係る中継機201は、以下のような構成により、上記の課題を解決する。 Therefore, the repeater 201 according to the second embodiment of the present disclosure solves the above problem with the following configuration.

(中継機の構成)
図10は、本開示の第2の実施の形態に係る中継機の構成を示す機能ブロック図である。図10を参照して、中継機201は、通信部41,71と、パケット取得部51と、処理部53と、制御部55と、HWバッファ61と、リングバッファ62と、ソケットバッファ63とを備える。通信部41は、受信部の一例である。処理部53は、中継部の一例である。
(Relay machine configuration)
FIG. 10 is a functional block diagram showing the configuration of a repeater according to the second embodiment of the present disclosure. Referring to FIG. 10, relay device 201 includes communication units 41 and 71, packet acquisition unit 51, processing unit 53, control unit 55, HW buffer 61, ring buffer 62, and socket buffer 63. Be prepared. The communication unit 41 is an example of a receiving unit. The processing unit 53 is an example of a relay unit.

通信部41は、ネットワークデバイス40により実現される。通信部71は、ネットワークデバイス70により実現される。パケット取得部51、処理部53および制御部55は、プロセッサ50により実現される。HWバッファ61、リングバッファ62およびソケットバッファ63は、メモリ60に含まれる。 The communication unit 41 is realized by the network device 40. The communication unit 71 is realized by the network device 70. The packet acquisition section 51, the processing section 53, and the control section 55 are realized by the processor 50. HW buffer 61, ring buffer 62, and socket buffer 63 are included in memory 60.

通信部41は、TCPに従うストリームS1を受信する。より詳細には、通信部41は、ストリームS1を構成するIPパケットP1をネットワーク351経由でHTTPサーバ301から受信し、受信したIPパケットP1をHWバッファ61に保存する。また、通信部41は、UDPに従うストリームS2を受信する。より詳細には、通信部41は、ストリームS2を構成するIPパケットP2をネットワーク351経由でIP放送配信装置302から受信し、受信したIPパケットP2をHWバッファ61に保存する。通信部41の動作および処理は、STB101における通信部11の動作および処理と同様である。 The communication unit 41 receives the stream S1 according to TCP. More specifically, the communication unit 41 receives the IP packet P1 constituting the stream S1 from the HTTP server 301 via the network 351, and stores the received IP packet P1 in the HW buffer 61. Furthermore, the communication unit 41 receives the stream S2 according to UDP. More specifically, the communication unit 41 receives the IP packet P2 constituting the stream S2 from the IP broadcast distribution device 302 via the network 351, and stores the received IP packet P2 in the HW buffer 61. The operation and processing of the communication unit 41 are similar to the operation and processing of the communication unit 11 in the STB 101.

パケット取得部51は、所定の読み出し周期R2に従うタイミングにおいて、リングバッファ62からIPパケットPを取得してソケットバッファ63に保存する。 The packet acquisition unit 51 acquires the IP packet P from the ring buffer 62 and stores it in the socket buffer 63 at a timing according to a predetermined read cycle R2.

処理部53は、通信部41により受信されたストリームS1,S2の中継処理を行う。より詳細には、処理部53は、所定の読み出し周期R5に従うタイミングにおいて、ソケットバッファ63からIPパケットPを取得し、取得したIPパケットPを通信部71経由でSTB102へ送信する。 The processing unit 53 performs relay processing on the streams S1 and S2 received by the communication unit 41. More specifically, the processing unit 53 acquires the IP packet P from the socket buffer 63 at a timing according to the predetermined read cycle R5, and transmits the acquired IP packet P to the STB 102 via the communication unit 71.

STB102Aは、中継機201から受信したIPパケットPを処理する。より詳細には、STB102Aは、中継機201からIPパケットP1を受信し、受信したIPパケットP1に含まれる情報等を用いてVODコンテンツを再生する処理を行い、得られた映像情報および音声情報等を図示しない表示装置へ送信する。 The STB 102A processes the IP packet P received from the relay device 201. More specifically, the STB 102A receives the IP packet P1 from the relay device 201, performs a process of reproducing the VOD content using the information included in the received IP packet P1, and reproduces the obtained video information, audio information, etc. is transmitted to a display device (not shown).

また、STB102Bは、中継機201から受信したIPパケットPを処理する。より詳細には、STB102Bは、中継機201からIPパケットP2を受信し、受信したIPパケットP2に含まれる情報等を用いて放送コンテンツを再生する処理を行い、得られた映像情報および音声情報等を図示しない表示装置へ送信する。 Furthermore, the STB 102B processes the IP packet P received from the relay device 201. More specifically, the STB 102B receives the IP packet P2 from the repeater 201, performs a process of reproducing the broadcast content using the information included in the received IP packet P2, and reproduces the obtained video information, audio information, etc. is transmitted to a display device (not shown).

制御部55は、ストリームS1を受信するための通信部41の通信帯域を制御する。制御部55は、通信部41がストリームS1,S2を並行して受信していることを検知した場合、ストリームS1を受信するための通信帯域を抑制する抑制制御を行う。制御部55の動作および処理は、STB101における制御部25の動作および処理と同様である。 The control unit 55 controls the communication band of the communication unit 41 for receiving the stream S1. When the control unit 55 detects that the communication unit 41 is receiving streams S1 and S2 in parallel, it performs suppression control to suppress the communication band for receiving stream S1. The operation and processing of the control unit 55 are similar to the operation and processing of the control unit 25 in the STB 101.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The above embodiments should be considered to be illustrative in all respects and not restrictive. The scope of the present invention is indicated by the claims rather than the above description, and it is intended that all changes within the meaning and range equivalent to the claims are included.

上述の実施形態の各処理(各機能)は、1または複数のプロセッサを含む処理回路(Circuitry)により実現される。上記処理回路は、上記1または複数のプロセッサに加え、1または複数のメモリ、各種アナログ回路、各種デジタル回路が組み合わされた集積回路等で構成されてもよい。上記1または複数のメモリは、上記各処理を上記1または複数のプロセッサに実行させるプログラム(命令)を格納する。上記1または複数のプロセッサは、上記1または複数のメモリから読み出した上記プログラムに従い上記各処理を実行してもよいし、予め上記各処理を実行するように設計された論理回路に従って上記各処理を実行してもよい。上記プロセッサは、CPU(Central Processing Unit)、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、FPGA(Field Programmable Gate Array)、およびASIC(Application Specific Integrated Circuit)等、コンピュータの制御に適合する種々のプロセッサであってよい。なお、物理的に分離した上記複数のプロセッサが互いに協働して上記各処理を実行してもよい。たとえば、物理的に分離した複数のコンピュータのそれぞれに搭載された上記プロセッサがLAN(Local Area Network)、WAN (Wide Area Network)、およびインターネット等のネットワークを介して互いに協働して上記各処理を実行してもよい。上記プログラムは、外部のサーバ装置等から上記ネットワークを介して上記メモリにインストールされても構わないし、CD-ROM(Compact Disc Read Only Memory)、DVD-ROM(Digital Versatile Disk Read Only Memory)、および半導体必須メモリ等の記録媒体に格納された状態で流通し、上記記録媒体から上記メモリにインストールされても構わない。 Each process (each function) of the above-described embodiment is realized by a processing circuit (Circuitry) including one or more processors. In addition to the one or more processors, the processing circuit may include an integrated circuit or the like in which one or more memories, various analog circuits, and various digital circuits are combined. The one or more memories store programs (instructions) that cause the one or more processors to execute each of the above processes. The one or more processors may execute each of the above processes according to the program read from the one or more memories, or may execute each of the above processes according to a logic circuit designed in advance to execute each of the above processes. May be executed. The above processor includes a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), and an FPGA (Field Programmable Gate Array). ray), and ASIC (Application Specific Integrated Circuit), which are compatible with computer control. processor. Note that the plurality of physically separated processors may cooperate with each other to execute each of the above processes. For example, the processors installed in each of a plurality of physically separated computers cooperate with each other via networks such as a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet to perform each of the above processes. May be executed. The program may be installed in the memory from an external server device or the like via the network, or may be installed on a CD-ROM (Compact Disc Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a semiconductor device. The information may be distributed in a state stored in a recording medium such as an essential memory, and may be installed into the memory from the recording medium.

以上の説明は、以下に付記する特徴を含む。
[付記1]
コンテンツを含むストリームを受信する受信部と、
前記受信部により受信された前記ストリームを処理する処理部と、
前記ストリームを受信するための前記受信部の通信帯域を制御する制御部とを備え、
前記制御部は、前記受信部がTCPに従う第1の前記ストリームおよびUDPに従う第2の前記ストリームを並行して受信していることを検知した場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行い、
前記第1のストリームは、VODコンテンツを含み、
前記第2のストリームは、放送コンテンツを含む、コンテンツ受信装置。
The above description includes the features noted below.
[Additional note 1]
a receiving unit that receives a stream containing content;
a processing unit that processes the stream received by the receiving unit;
and a control unit that controls a communication band of the receiving unit for receiving the stream,
When the control unit detects that the reception unit is receiving the first stream according to TCP and the second stream according to UDP in parallel, the control unit controls the communication for receiving the first stream. Performs suppression control to suppress the bandwidth,
the first stream includes VOD content;
The content receiving device, wherein the second stream includes broadcast content.

[付記2]
処理回路を備え、
前記処理回路は、
コンテンツを含むストリームを受信し、
前記受信部により受信された前記ストリームを処理し、
前記ストリームを受信するための前記受信部の通信帯域を制御し、
TCPに従う第1の前記ストリームおよびUDPに従う第2の前記ストリームを並行して受信している場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行う、コンテンツ受信装置。
[Additional note 2]
Equipped with a processing circuit,
The processing circuit includes:
receive a stream containing content,
processing the stream received by the receiving unit;
controlling a communication band of the receiving unit for receiving the stream;
A content receiving device that performs suppression control to suppress the communication band for receiving the first stream when receiving the first stream according to TCP and the second stream according to UDP in parallel.

10,40,70 ネットワークデバイス
11,41,71 通信部
20,50 プロセッサ
21,51 VODパケット取得部
22 放送パケット取得部
23,24,53 処理部
25,55 制御部
30,60 メモリ
31,61 HWバッファ
32,62 リングバッファ
33 TCPソケットバッファ
34 UDPソケットバッファ
51 パケット取得部
63 ソケットバッファ
101,102,102A,102B STB
111 ユーザ宅
151 HDD
161 表示装置
201 中継機
301 HTTPサーバ
311 事業所
302 IP放送配信装置
312 局舎
351 ネットワーク
401,402 コンテンツ配信システム
10, 40, 70 Network device 11, 41, 71 Communication unit 20, 50 Processor 21, 51 VOD packet acquisition unit 22 Broadcast packet acquisition unit 23, 24, 53 Processing unit 25, 55 Control unit 30, 60 Memory 31, 61 HW Buffer 32, 62 Ring buffer 33 TCP socket buffer 34 UDP socket buffer 51 Packet acquisition section 63 Socket buffer 101, 102, 102A, 102B STB
111 User's home 151 HDD
161 Display device 201 Relay machine 301 HTTP server 311 Office 302 IP broadcast distribution device 312 Station building 351 Network 401,402 Content distribution system

Claims (9)

コンテンツを含むストリームを受信する受信部と、
前記受信部により受信された前記ストリームを処理する処理部と、
前記ストリームを受信するための前記受信部の通信帯域を制御する制御部とを備え、
前記制御部は、前記受信部がTCP(Transmission Control Protocol)に従う第1の前記ストリームおよびUDP(User Datagram Protocol)に従う第2の前記ストリームを並行して受信していることを検知した場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行う、コンテンツ受信装置。
a receiving unit that receives a stream containing content;
a processing unit that processes the stream received by the receiving unit;
and a control unit that controls a communication band of the receiving unit for receiving the stream,
When the control unit detects that the reception unit is receiving the first stream according to TCP (Transmission Control Protocol) and the second stream according to UDP (User Datagram Protocol) in parallel, the control unit A content receiving device that performs suppression control to suppress the communication band for receiving one stream.
前記制御部は、前記抑制制御として、TCPに従う通信におけるウィンドウサイズを低下させる、請求項1に記載のコンテンツ受信装置。 The content receiving device according to claim 1, wherein the control unit reduces a window size in communication according to TCP as the suppression control. 前記制御部は、前記抑制制御として、前記受信部による前記第1のストリームを構成するパケットに対するACKの送信を遅延させる、請求項1または請求項2に記載のコンテンツ受信装置。 The content receiving device according to claim 1 or 2, wherein the control unit delays transmission of ACK by the receiving unit to packets forming the first stream as the suppression control. 前記制御部は、前記受信部が前記第1のストリームおよび前記第2のストリームを並行して受信していることを検知し、かつ前記第2のストリームがマルチキャストストリームである場合、前記抑制制御を行う、請求項1または請求項2に記載のコンテンツ受信装置。 The control unit is configured to perform the suppression control when detecting that the reception unit is receiving the first stream and the second stream in parallel, and when the second stream is a multicast stream. The content receiving device according to claim 1 or 2, wherein the content receiving device performs the following. 前記制御部は、前記受信部が前記第1のストリームとしてアダプティブストリームを受信している場合、前記第1のストリームの通信レートに応じて、前記抑制制御における抑制量を調整する、請求項1または請求項2に記載のコンテンツ受信装置。 2. The control unit according to claim 1, wherein when the receiving unit receives an adaptive stream as the first stream, the control unit adjusts the amount of suppression in the suppression control according to the communication rate of the first stream. The content receiving device according to claim 2. 前記処理部は、前記受信部により受信された前記第2のストリームにおけるパケットロスを検知し、
前記制御部は、前記処理部による前記パケットロスの検知結果に応じて、前記抑制制御における抑制量を調整する、請求項1または請求項2に記載のコンテンツ受信装置。
The processing unit detects packet loss in the second stream received by the reception unit,
The content receiving device according to claim 1 or 2, wherein the control unit adjusts the amount of suppression in the suppression control according to the detection result of the packet loss by the processing unit.
前記処理部は、前記第2のストリームにおけるパケットロスを検知した場合、パケットの復元処理を行い、
前記制御部は、前記処理部による前記復元処理の成功率に応じて、前記抑制制御における抑制量を調整する、請求項6に記載のコンテンツ受信装置。
When the processing unit detects a packet loss in the second stream, the processing unit performs a packet restoration process,
The content receiving device according to claim 6, wherein the control unit adjusts the amount of suppression in the suppression control according to the success rate of the restoration process by the processing unit.
コンテンツを含むストリームを受信する受信部と、
前記受信部により受信された前記ストリームの中継処理を行う中継部と、
前記ストリームを受信するための前記受信部の通信帯域を制御する制御部とを備え、
前記制御部は、前記受信部がTCPに従う第1の前記ストリームおよびUDPに従う第2の前記ストリームを並行して受信していることを検知した場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行う、コンテンツ中継装置。
a receiving unit that receives a stream containing content;
a relay unit that performs relay processing of the stream received by the reception unit;
and a control unit that controls a communication band of the receiving unit for receiving the stream,
When the control unit detects that the reception unit is receiving the first stream according to TCP and the second stream according to UDP in parallel, the control unit controls the communication for receiving the first stream. A content relay device that performs suppression control to suppress bandwidth.
コンテンツ受信装置における通信制御方法であって、
コンテンツを含むストリームを受信するステップと、
受信した前記ストリームを処理するステップと、
前記ストリームを受信するための通信帯域を制御するステップとを含み、
前記通信帯域を制御するステップにおいては、TCPに従う第1の前記ストリームおよびUDPに従う第2の前記ストリームを並行して受信している場合、前記第1のストリームを受信するための前記通信帯域を抑制する抑制制御を行う、通信制御方法。
A communication control method in a content receiving device, the method comprising:
receiving a stream containing the content;
processing the received stream;
controlling a communication band for receiving the stream,
In the step of controlling the communication band, when the first stream according to TCP and the second stream according to UDP are being received in parallel, the communication band for receiving the first stream is suppressed. A communication control method that performs suppression control.
JP2022104287A 2022-06-29 2022-06-29 Content receiving device, content relay device, and communication control method Pending JP2024004606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022104287A JP2024004606A (en) 2022-06-29 2022-06-29 Content receiving device, content relay device, and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022104287A JP2024004606A (en) 2022-06-29 2022-06-29 Content receiving device, content relay device, and communication control method

Publications (1)

Publication Number Publication Date
JP2024004606A true JP2024004606A (en) 2024-01-17

Family

ID=89540039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022104287A Pending JP2024004606A (en) 2022-06-29 2022-06-29 Content receiving device, content relay device, and communication control method

Country Status (1)

Country Link
JP (1) JP2024004606A (en)

Similar Documents

Publication Publication Date Title
US9565482B1 (en) Adaptive profile switching system and method for media streaming over IP networks
JP4690280B2 (en) Method, system and client device for streaming media data
US9781488B2 (en) Controlled adaptive rate switching system and method for media streaming over IP networks
EP1786136B1 (en) Packet retransmission apparatus, communication system and program
CN101203827B (en) Flow control for media streaming
US8175036B2 (en) Multimedia wireless distribution systems and methods
US20110179455A1 (en) DYNAMIC QoS IN A NETWORK DISTRIBUTING STREAMED CONTENT
JP4699187B2 (en) Receiving device, communication system, and control program for receiving device
US11949512B2 (en) Retransmission of data in packet networks
US20090295988A1 (en) Transmission apparatus, transmission method, and reception apparatus
US9124520B2 (en) Reducing buffer bloat while probing for additional bandwidth in an adaptive bitrate network
JP2005110244A (en) System and method for multimedia streaming service
Kalman et al. Adaptive playout for real-time media streaming
JP2007150859A5 (en)
Liang et al. TCP-RTM: Using TCP for real time multimedia applications
Sanson et al. PR-SCTP for real time H. 264/AVC video streaming
US20060230171A1 (en) Methods and apparatus for decreasing latency in A/V streaming systems
JP2010161550A (en) Image content reception device and image content reception method
JP2024004606A (en) Content receiving device, content relay device, and communication control method
EP2218256A1 (en) Device for the continuous reception of audio and/or video data packets
JP4445012B2 (en) Packet distribution bandwidth control method, distribution apparatus, and video distribution system
JP2006222908A (en) Retransmission method
KR100631516B1 (en) Streaming system and adaptive band allocation method
JP2005348015A (en) Real time streaming data receiver
JP2005197988A (en) Communication system, receiving apparatus and method, transmitting apparatus and method, recording medium, and program