JP7310212B2 - Data relay device, data relay method and program - Google Patents

Data relay device, data relay method and program Download PDF

Info

Publication number
JP7310212B2
JP7310212B2 JP2019060992A JP2019060992A JP7310212B2 JP 7310212 B2 JP7310212 B2 JP 7310212B2 JP 2019060992 A JP2019060992 A JP 2019060992A JP 2019060992 A JP2019060992 A JP 2019060992A JP 7310212 B2 JP7310212 B2 JP 7310212B2
Authority
JP
Japan
Prior art keywords
data
relay device
unit
data relay
terminal devices
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.)
Active
Application number
JP2019060992A
Other languages
Japanese (ja)
Other versions
JP2020162039A (en
Inventor
夏季 甲斐
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2019060992A priority Critical patent/JP7310212B2/en
Publication of JP2020162039A publication Critical patent/JP2020162039A/en
Application granted granted Critical
Publication of JP7310212B2 publication Critical patent/JP7310212B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Description

本発明は、データ中継装置、データ中継方法及びプログラムに関する。 The present invention relates to a data relay device, data relay method and program.

ネットワークを介して映像データを送信する際、膨大な量の映像データをそのまま送信するのではなく、圧縮符号化を行うことによりデータ量を減らしてから送信を行う技術が知られている。この技術では、映像データ量をどの程度減らすか、映像の滑らかさをどうするか、などを決めるパラメータである圧縮符号化パラメータが用いられる。
圧縮符号化された映像データを、視聴者が視聴した場合、いずれの圧縮符号化パラメータが用いられているかにより、視聴者の体感品質は異なる。視聴者の体感品質の指標値は、映像体感品質QoE(Quality of Experience)と呼ばれる。
LTE(Long Term Evolution)や、Wi-Fiのような無線区間を含むベストエフォート型のネットワークでは、電波品質の変化や他のユーザのクロストラフィックにより、単位時間あたりに通信可能なデータ量を表す通信スループットが大きく変動する。
2. Description of the Related Art When transmitting video data via a network, there is known a technique of performing compression encoding to reduce the amount of data before transmission instead of transmitting a huge amount of video data as it is. This technique uses compression encoding parameters that determine how much the amount of video data should be reduced, how smooth the video should be, and so on.
When a viewer views compression-encoded video data, the viewer's perceived quality differs depending on which compression-encoding parameter is used. The index value of viewer's experience quality is called video experience quality QoE (Quality of Experience).
LTE (Long Term Evolution) and best-effort networks including wireless sections such as Wi-Fi, communication that expresses the amount of data that can be communicated per unit time due to changes in radio wave quality and cross-traffic from other users. Throughput fluctuates greatly.

データ配信装置が送信する映像データを、データ中継装置を介して、視聴者が用いる端末装置に配信する場合、データ配信装置とデータ中継装置との間の通信スループットの変動に合わせて、配信装置上で映像データの圧縮符号化パラメータを動的に変更する技術(QoS制御技術)が必要となる。また、データ中継装置と端末装置との間の通信品質変動に合わせてQoSを制御するために、データ中継装置上で、受信した映像データを復号して再度符号化するトランスコード処理が必要となる。
端末装置の数の増加に伴って、トランスコードによるデータ中継装置の処理負荷が増大し、データ中継装置の許容処理量を超えると、処理遅延が発生する。この処理遅延を解消するためには、演算素子を追加する必要があるが、コストが増加してしまう。
When the video data transmitted by the data distribution device is distributed to the terminal device used by the viewer via the data relay device, the Therefore, a technique (QoS control technique) for dynamically changing compression encoding parameters of video data is required. In addition, in order to control QoS according to communication quality fluctuations between the data relay device and the terminal device, the data relay device needs transcoding processing to decode and re-encode the received video data. .
As the number of terminal devices increases, the processing load on the data relay device due to transcoding increases, and when the allowable processing amount of the data relay device is exceeded, a processing delay occurs. In order to eliminate this processing delay, it is necessary to add arithmetic elements, which increases the cost.

特許文献1は、通信品質が低下した場合に、データ中継装置上で、トランスコードを行うのではなく、参照フレーム(BフレームやPフレーム)のパケットを破棄して伝送レートを制御することで、データ中継装置の処理負荷を小さくし、システム規模の増大を抑制する技術について開示している。 In Patent Document 1, when the communication quality is degraded, instead of performing transcoding on the data relay device, by discarding packets of reference frames (B frames and P frames) and controlling the transmission rate, A technique for reducing the processing load on the data relay device and suppressing an increase in system scale is disclosed.

また、非特許文献1は、IP(Internet Protocol)マルチキャスト技術を、アプリケーション層で実現したアプリケーション層マルチキャストについて開示している。このアプリケーション層マルチキャストでは、データ中継装置で、トランスコードを行なわずに、映像フレームをそのまま送受信するだけなので、端末装置の数が増加しても、データ中継端末の処理負荷の増大を抑制することができる。
アプリケーション層マルチキャストでは、データ配信装置からデータ中継装置を介した全ての端末装置までの通信品質の中で、最も低い通信品質で符号化してデータ配信装置から映像データを配信する方式が、一般的に用いられる。
Also, Non-Patent Document 1 discloses application-layer multicast that implements IP (Internet Protocol) multicast technology in the application layer. In this application layer multicast, the data relay device only transmits and receives video frames as they are without transcoding. Therefore, even if the number of terminal devices increases, it is possible to suppress an increase in the processing load on the data relay terminals. can.
In application-layer multicasting, the general method is to distribute video data from the data distribution device after encoding with the lowest communication quality among the communication qualities from the data distribution device to all terminal devices via the data relay device. Used.

特開2005-244315号公報JP 2005-244315 A

Hosseini, M. et al., “A Survey of Application Layer Multicast Protocols”, In IEEE Communications Surveys and Tutorials, vol. 9, No. 3, Sep. 27, 2007, pp. 58-74Hosseini, M. et al., "A Survey of Application Layer Multicast Protocols", In IEEE Communications Surveys and Tutorials, vol. 9, No. 3, Sep. 27, 2007, pp. 58-74

しかし、特許文献1では破棄した映像フレームが、後続の映像フレームで参照されていた場合、後続の映像フレームの復号に失敗するため、端末装置上で映像に乱れが生じる。また、破棄した映像フレームの分、遅延が発生し、リアルタイム性が損なわれる。
一方、非特許文献1のアプリケーション層マルチキャストでは、複数の端末装置に、映像データを配信する場合に、1台でも極端に通信品質が悪くなると、他の全ての端末装置も低品質な映像を視聴することになる。
そのため、データ中継装置を介して、複数の端末装置に映像データを送信する場合には、端末装置の数に応じて、データ中継装置のトランスコードによる処理負荷が増大する一方で、極端に通信品質の悪い端末装置が存在すると、全ての端末装置の映像体感品質が著しく低下する。
However, in Patent Document 1, if a discarded video frame is referenced in a subsequent video frame, decoding of the subsequent video frame fails, resulting in disturbance of the video on the terminal device. In addition, a delay occurs for the discarded video frames, impairing real-time performance.
On the other hand, in the application layer multicast of Non-Patent Document 1, when video data is distributed to multiple terminal devices, if the communication quality of even one terminal device becomes extremely poor, all other terminal devices will also view low-quality video. will do.
Therefore, when video data is transmitted to a plurality of terminal devices via a data relay device, the processing load due to transcoding of the data relay device increases according to the number of terminal devices, while the communication quality becomes extremely poor. If there is a terminal device with poor performance, the visual quality of all the terminal devices will be significantly degraded.

よって、特許文献1や、非特許文献1では、データ中継装置を介して、複数の端末装置にデータを送信する場合に、データ中継装置における処理負荷を抑制するとともに、複数の端末装置で視聴されるデータの映像品質を向上させることはできなかった。 Therefore, in Patent Document 1 and Non-Patent Document 1, when data is transmitted to a plurality of terminal devices via a data relay device, the processing load on the data relay device is reduced and the data is viewed on the plurality of terminal devices. However, it was not possible to improve the image quality of the data

そこで、この発明は、上述の課題を解決するデータ中継装置、データ中継方法及びプログラムを提供することを目的としている。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a data relay device, a data relay method, and a program that solve the above problems.

本発明のいくつかの態様は、上述の課題を解決すべくなされたものであり、本発明の第1の態様は、データ中継装置であって、前記データ中継装置に関する所定の処理負荷と、前記データ中継装置がデータ配信装置及び複数の端末装置と通信する際の通信品質と、前記複数の端末装置における映像品質とに基づいて、符号化パラメータを決定する符号化パラメータ決定部と、前記符号化パラメータ決定部が決定した前記符号化パラメータを用いて、前記データ配信装置から受信したデータであって、前記複数の端末装置に送信するデータに対して、トランスコードを行うトランスコード部と、を備える。 Several aspects of the present invention are made to solve the above-described problems. A first aspect of the present invention is a data relay device, comprising: a predetermined processing load on the data relay device; a coding parameter determination unit that determines a coding parameter based on a communication quality when a data relay device communicates with a data distribution device and a plurality of terminal devices and video quality in the plurality of terminal devices; a transcoding unit that transcodes data received from the data distribution device and to be transmitted to the plurality of terminal devices, using the encoding parameters determined by the parameter determination unit; .

また、本発明の第2の態様は、データ中継方法であって、データ中継装置に関する所定の処理負荷と、前記データ中継装置がデータ配信装置及び複数の端末装置と通信する際の通信品質と、前記複数の端末装置における映像品質とに基づいて、符号化パラメータを決定し、決定した前記符号化パラメータを用いて、前記データ配信装置から受信したデータであって、前記複数の端末装置に送信するデータに対して、トランスコードを行う。 A second aspect of the present invention is a data relay method, comprising: a predetermined processing load on a data relay device; communication quality when the data relay device communicates with a data distribution device and a plurality of terminal devices; determining an encoding parameter based on the video quality of the plurality of terminal devices, and using the determined encoding parameter to transmit the data received from the data distribution device to the plurality of terminal devices; Transcode the data.

また、本発明の第3の態様は、プログラムであって、データ中継装置のコンピュータを、前記データ中継装置に関する所定の処理負荷と、前記データ中継装置がデータ配信装置及び複数の端末装置と通信する際の通信品質と、前記複数の端末装置における映像品質とに基づいて、符号化パラメータを決定する符号化パラメータ決定手段、前記符号化パラメータ決定手段が決定した前記符号化パラメータを用いて、前記データ配信装置から受信したデータであって、前記複数の端末装置に送信するデータに対して、トランスコードを行うトランスコード手段、として機能させる。 A third aspect of the present invention is a program for causing a computer of a data relay device to perform communication with a predetermined processing load related to the data relay device, and the data relay device communicating with a data distribution device and a plurality of terminal devices. coding parameter determination means for determining a coding parameter based on the communication quality at the time and the video quality in the plurality of terminal devices; using the coding parameter determined by the coding parameter determination means, the data; It functions as transcoding means for transcoding data received from the distribution device and to be transmitted to the plurality of terminal devices.

本発明によれば、データ中継装置を介して、複数の端末装置にデータを送信する場合に、データ中継装置における処理負荷を抑制するとともに、複数の端末装置で視聴されるデータの映像品質を向上させることができる。 According to the present invention, when data is transmitted to a plurality of terminal devices via a data relay device, the processing load on the data relay device is suppressed and the image quality of the data viewed on the plurality of terminal devices is improved. can be made

本発明の第1の実施形態によるデータ中継システムの構成を示すシステム構成図である。1 is a system configuration diagram showing the configuration of a data relay system according to a first embodiment of the present invention; FIG. 本発明の第1の実施形態によるデータ中継システムを構成するデータ配信装置の構成を示すブロック図である。1 is a block diagram showing the configuration of a data distribution device that constitutes a data relay system according to a first embodiment of the present invention; FIG. 本発明の第1の実施形態によるデータ中継システムを構成するデータ中継装置の構成を示すブロック図である。1 is a block diagram showing the configuration of a data relay device that constitutes the data relay system according to the first embodiment of the present invention; FIG. 本発明の第1の実施形態による符号化パラメータ制御部の構成を示すブロック図である。4 is a block diagram showing the configuration of an encoding parameter control section according to the first embodiment of the present invention; FIG. 本発明の第1の実施形態によるデータ中継システムを構成する端末装置の構成を示すブロック図である。2 is a block diagram showing the configuration of a terminal device that constitutes the data relay system according to the first embodiment of the present invention; FIG. 本発明の第1の実施形態によるデータ中継システムで行われる処理を示すシーケンス図である。4 is a sequence diagram showing processing performed in the data relay system according to the first embodiment of the present invention; FIG. 本発明の第1の実施形態によるデータ中継装置の符号化パラメータ制御部の処理を示すフローチャートである。4 is a flow chart showing processing of an encoding parameter control unit of the data relay device according to the first embodiment of the present invention; 本発明の第1の実施形態によるデータ中継装置の符号化パラメータ制御部の第1の集合生成部の処理を示すフローチャートである。4 is a flow chart showing processing of the first set generation unit of the coding parameter control unit of the data relay device according to the first embodiment of the present invention; 本発明の第1の実施形態によるデータ中継装置の符号化パラメータ制御部の第2の集合生成部の処理を示すフローチャートである。4 is a flow chart showing processing of a second set generation unit of the coding parameter control unit of the data relay device according to the first embodiment of the present invention; 本発明の第1の実施形態によるデータ中継装置の符号化パラメータ制御部の要素選択部の処理を示すフローチャートである。4 is a flow chart showing processing of an element selection unit of the encoding parameter control unit of the data relay device according to the first embodiment of the present invention; 本発明の第1の実施形態によるデータ中継装置の符号化パラメータ制御部の符号化パラメータ決定部の処理を示すフローチャートである。4 is a flow chart showing processing of an encoding parameter determination unit of the encoding parameter control unit of the data relay device according to the first embodiment of the present invention; 本発明の第1の実施形態の具体例における通信状態の一例を示すグラフである。4 is a graph showing an example of a communication state in a specific example of the first embodiment of the present invention; 本発明の第2の実施形態によるデータ中継システムを構成するデータ中継装置の構成を示すブロック図である。FIG. 10 is a block diagram showing the configuration of a data relay device that constitutes the data relay system according to the second embodiment of the present invention; 本発明の第2の実施形態によるデータ中継装置の符号化パラメータ制御部の処理を示すフローチャートである。9 is a flow chart showing processing of an encoding parameter control unit of the data relay device according to the second embodiment of the present invention; 本発明の第2の実施形態によるデータ中継装置の符号化パラメータ制御部の第2の集合生成部の処理を示すフローチャートである。FIG. 11 is a flow chart showing processing of a second set generation unit of the coding parameter control unit of the data relay device according to the second embodiment of the present invention; FIG. 本発明の第2の実施形態によるデータ中継装置の符号化パラメータ制御部の要素選択部の処理を示すフローチャートである。FIG. 11 is a flow chart showing processing of an element selection unit of an encoding parameter control unit of the data relay device according to the second embodiment of the present invention; FIG. 本発明の第2の実施形態の具体例における通信状態の一例を示すグラフである。It is a graph which shows an example of the communication state in the example of the 2nd Embodiment of this invention. 最小構成を有するデータ中継装置の構成を示すブロック図である。1 is a block diagram showing the configuration of a data relay device having a minimum configuration; FIG. 最小構成を有するデータ中継装置の処理を示すフローチャートである。10 is a flow chart showing processing of a data relay device having a minimum configuration; データ中継装置の機能をプログラムで実現する場合におけるデータ中継装置の構成を示すブロック図である。FIG. 3 is a block diagram showing the configuration of a data relay device when the functions of the data relay device are implemented by a program;

[第1の実施形態]
始めに、本発明の第1の実施形態について説明する。
図1は、本発明の第1の実施形態によるデータ中継システム100の構成を示すシステム構成図である。データ中継システム100は、データ配信装置10、データ中継装置20、複数の端末装置30A、30B、30Cを備える。
[First embodiment]
First, a first embodiment of the present invention will be described.
FIG. 1 is a system configuration diagram showing the configuration of a data relay system 100 according to the first embodiment of the present invention. The data relay system 100 includes a data distribution device 10, a data relay device 20, and a plurality of terminal devices 30A, 30B, and 30C.

データ配信装置10は、映像データのコンテンツを有料又は無料で配信する業者が保有するPC(Personal Computer)などであり、インターネットなどのネットワークN1を介して、データ中継装置20に接続される。
データ中継装置20は、映像データのコンテンツを有料又は無料で配信する業者が保有するPCなである。データ中継装置20は、ネットワークN1を介して、データ配信装置10に接続されており、データ中継装置20から送信される映像データを受信する。また、データ中継装置20は、インターネットなどのネットワークN2を介して、複数の端末装置30A、30B、30Cに接続されており、データ中継装置20から受信した映像データを、必要に応じてトランスコードした後、複数の端末装置30A、30B、30Cに送信する。
The data distribution device 10 is a PC (Personal Computer) or the like owned by a company that distributes video data content for a fee or free of charge, and is connected to the data relay device 20 via a network N1 such as the Internet.
The data relay device 20 is a PC or the like owned by a company that distributes video data content for a fee or free of charge. The data relay device 20 is connected to the data distribution device 10 via the network N1, and receives video data transmitted from the data relay device 20. FIG. The data relay device 20 is connected to a plurality of terminal devices 30A, 30B, and 30C via a network N2 such as the Internet, and transcodes video data received from the data relay device 20 as necessary. After that, it transmits to a plurality of terminal devices 30A, 30B, and 30C.

複数の端末装置30A、30B、30Cは、映像データを視聴する視聴者が保有するPC又はスマートフォンなどであり、それぞれ、ネットワークN2に接続される。なお、図1では、端末装置が3台の場合について示しているが、これに限定されるものではなく、端末装置は3台以外であっても良い。なお、本願では、端末装置30A、30B、30C、・・・の任意のものを、端末装置30と表記することがある。 The plurality of terminal devices 30A, 30B, and 30C are PCs, smartphones, or the like owned by viewers who view the video data, and are connected to the network N2. Although FIG. 1 shows the case where the number of terminal devices is three, the number of terminal devices is not limited to three, and the number of terminal devices may be other than three. In the present application, any one of the terminal devices 30A, 30B, 30C, .

図2は、本発明の第1の実施形態によるデータ中継システム100を構成するデータ配信装置10の構成を示すブロック図である。
データ配信装置10は、符号化パラメータ受信部11、符号化パラメータ制御部12、データ記憶部13、データ圧縮符号部14、データ送信部15を備える。
符号化パラメータ受信部11は、データ配信装置10が、データ中継装置20に、映像データを送信する際に用いられる符号化パラメータを、ネットワークN1を介して、データ中継装置20から受信し、符号化パラメータ制御部12に出力する。なお、符号化パラメータには、例えば、MPEG(Moving Picture Experts Group)-1、MPEG-2、MPEG-4などがある。
FIG. 2 is a block diagram showing the configuration of the data distribution device 10 that constitutes the data relay system 100 according to the first embodiment of the present invention.
The data delivery device 10 includes an encoding parameter receiving section 11 , an encoding parameter control section 12 , a data storage section 13 , a data compression encoding section 14 and a data transmission section 15 .
The encoding parameter receiving unit 11 receives encoding parameters used when the data distribution device 10 transmits video data to the data relay device 20 from the data relay device 20 via the network N1, and encodes them. Output to the parameter control unit 12 . Coding parameters include, for example, MPEG (Moving Picture Experts Group)-1, MPEG-2, and MPEG-4.

符号化パラメータ制御部12は、データ配信装置10が映像データを、データ中継装置20に送信する際に用いられる符号化パラメータを、符号化パラメータ受信部11から入力された符号化パラメータに変更し、変更後の符号化パラメータを、データ圧縮符号部14に出力する。また、符号化パラメータ制御部12は、データ記憶部13から所定の映像データを読み出し、データ圧縮符号部14に出力する。
データ記憶部13は、ハードディスクなどの記憶装置であり、視聴者により視聴されるコンテンツの映像データを、多数、記憶しており、その中の1つの映像データを、符号化パラメータ制御部12からの指示に基づき、符号化パラメータ制御部12に出力する。
データ圧縮符号部14は、符号化パラメータ制御部12から入力される映像データを、符号化パラメータ制御部12から入力される符号化パラメータを用いて、圧縮符号化し、データ送信部15に出力する。
データ送信部15は、データ圧縮符号部14から出力される圧縮符号化された映像データを、ネットワークN1を介して、データ中継装置20に送信する。
The encoding parameter control unit 12 changes the encoding parameters used when the data distribution device 10 transmits the video data to the data relay device 20 to the encoding parameters input from the encoding parameter receiving unit 11, The changed encoding parameters are output to the data compression encoder 14 . The encoding parameter control unit 12 also reads predetermined video data from the data storage unit 13 and outputs it to the data compression encoding unit 14 .
The data storage unit 13 is a storage device such as a hard disk, and stores a large number of video data of content viewed by the viewer. Based on the instruction, it outputs to the encoding parameter control unit 12 .
The data compression encoding unit 14 compresses and encodes the video data input from the encoding parameter control unit 12 using the encoding parameters input from the encoding parameter control unit 12 and outputs the data to the data transmission unit 15 .
The data transmission unit 15 transmits the compression-encoded video data output from the data compression encoding unit 14 to the data relay device 20 via the network N1.

図3は、本発明の第1の実施形態によるデータ中継システム100を構成するデータ中継装置20の構成を示すブロック図である。
データ中継装置20は、データ受信部21、通信品質取得部22、符号化パラメータ制御部23a、トランスコード部24、データ送信部25、符号化パラメータ送信部26を備える。
FIG. 3 is a block diagram showing the configuration of the data relay device 20 that constitutes the data relay system 100 according to the first embodiment of the present invention.
The data relay device 20 includes a data receiving section 21, a communication quality acquiring section 22, an encoding parameter control section 23a, a transcoding section 24, a data transmitting section 25, and an encoding parameter transmitting section .

データ受信部21は、ネットワークN1を介して、データ配信装置10のデータ送信部15から送信される映像データを受信し、トランスコード部24又はデータ送信部25に出力する。具体的には、データ配信装置10から受信した映像データについて、符号化パラメータ制御部23aがトランスコードを行わないと判定した場合には、データ受信部21は、受信した映像データを、データ送信部25に出力する。一方、データ配信装置10から受信した映像データについて、符号化パラメータ制御部23aがトランスコードを行うと判定した場合には、データ受信部21は、受信した映像データを、トランスコード部24に出力する。 The data receiving unit 21 receives video data transmitted from the data transmitting unit 15 of the data distribution device 10 via the network N1 and outputs the video data to the transcoding unit 24 or the data transmitting unit 25 . Specifically, when the encoding parameter control unit 23a determines not to transcode the video data received from the data distribution device 10, the data reception unit 21 transmits the received video data to the data transmission unit. 25. On the other hand, when the encoding parameter control unit 23a determines that the video data received from the data distribution device 10 is to be transcoded, the data receiving unit 21 outputs the received video data to the transcoding unit 24. .

通信品質取得部22は、データ中継装置20と通信を行う複数の端末装置30A、30B、30Cのそれぞれから、ネットワークN2を介して、通信品質を取得し、符号化パラメータ制御部23aに出力する。また、通信品質取得部22は、データ中継装置20と通信を行うデータ配信装置10から、ネットワークN1を介して、通信品質を取得し、符号化パラメータ制御部23aに出力する。 The communication quality acquisition unit 22 acquires communication quality from each of the plurality of terminal devices 30A, 30B, and 30C communicating with the data relay device 20 via the network N2, and outputs the communication quality to the encoding parameter control unit 23a. Further, the communication quality acquisition unit 22 acquires communication quality from the data distribution device 10 that communicates with the data relay device 20 via the network N1, and outputs the communication quality to the encoding parameter control unit 23a.

符号化パラメータ制御部23aは、データ中継装置20における最大処理負荷と、データ中継装置20がデータ配信装置10及び複数の端末装置30A、30B、30Cと通信する際の通信品質と、複数の端末装置30A、30B、30Cにおける映像品質とに基づいて、データ中継装置20から、複数の端末装置30A、30B、30Cに送信する映像データをトランスコードする際に用いられる符号化パラメータを決定し、トランスコード部24及びデータ送信部25に出力する。 The encoding parameter control unit 23a controls the maximum processing load in the data relay device 20, the communication quality when the data relay device 20 communicates with the data distribution device 10 and the plurality of terminal devices 30A, 30B, and 30C, and the plurality of terminal devices. Based on the video quality in 30A, 30B, and 30C, the encoding parameters used when transcoding the video data to be transmitted from the data relay device 20 to the plurality of terminal devices 30A, 30B, and 30C are determined, and the transcoding is performed. It outputs to the unit 24 and the data transmission unit 25 .

トランスコード部24は、データ受信部21から出力される映像データを、符号化パラメータ制御部23aから出力される符号化パラメータを用いてトランスコードを行い、データ送信部25に出力する。
データ送信部25は、データ受信部21から出力される映像データ、又は、トランスコード部24から出力される映像データを、ネットワークN2を介して、複数の端末装置30A、30B、30Cに送信する。
The transcoding unit 24 transcodes the video data output from the data receiving unit 21 using the encoding parameters output from the encoding parameter control unit 23 a and outputs the transcoded data to the data transmitting unit 25 .
The data transmission unit 25 transmits the video data output from the data reception unit 21 or the video data output from the transcoding unit 24 to the plurality of terminal devices 30A, 30B, 30C via the network N2.

符号化パラメータ送信部26は、符号化パラメータ送信部26から出力される符号化パラメータを、ネットワークN1を介して、データ配信装置10の符号化パラメータ受信部11に送信する。
なお、符号化パラメータ送信部26は、データ中継装置20と、複数の端末装置30A、30B、30Cとの通信品質の状況に基づいて、データ配信装置10のデータ圧縮符号部14が圧縮符号化する際に用いる符号化パラメータを、符号化パラメータ受信部11に送信しても良い。例えば、データ中継装置20と、複数の端末装置30A、30B、30Cとの通信品質が向上した場合には、高い品質が得られる符号化パラメータに代えたり、データ中継装置20と、複数の端末装置30A、30B、30Cとの通信品質が劣化した場合には、低い品質が得られる符号化パラメータに代えたりするために、符号化パラメータ送信部26は、その符号化パラメータを、符号化パラメータ受信部11に送信しても良い。
The encoding parameter transmission unit 26 transmits the encoding parameters output from the encoding parameter transmission unit 26 to the encoding parameter reception unit 11 of the data distribution device 10 via the network N1.
The encoding parameter transmission unit 26 performs compression encoding by the data compression encoding unit 14 of the data distribution device 10 based on the state of communication quality between the data relay device 20 and the plurality of terminal devices 30A, 30B, and 30C. Coding parameters used at this time may be transmitted to the coding parameter receiving section 11 . For example, when the communication quality between the data relay device 20 and the plurality of terminal devices 30A, 30B, and 30C is improved, encoding parameters that provide high quality may be used instead of the data relay device 20 and the plurality of terminal devices. When the quality of communication with 30A, 30B, and 30C deteriorates, the coding parameter transmitting unit 26 transmits the coding parameters to the coding parameter receiving unit in order to replace with coding parameters that provide low quality. You can send it to 11.

図4は、本発明の第1の実施形態による符号化パラメータ制御部23aの構成を示すブロック図である。符号化パラメータ制御部23aは、第1の集合生成部231、第2の集合生成部232a、要素選択部233a、符号化パラメータ決定部234a、記憶部235を備える。
第1の集合生成部231は、通信品質取得部22から出力される通信品質に基づき、データ配信装置10からのデータの送信、及び、各端末装置30A、30B、30Cへのデータの送信に用いられている符号化パラメータの集合Pを生成し、第2の集合生成部232aに出力する。
FIG. 4 is a block diagram showing the configuration of the encoding parameter control section 23a according to the first embodiment of the present invention. The encoding parameter control unit 23a includes a first set generation unit 231, a second set generation unit 232a, an element selection unit 233a, a coding parameter determination unit 234a, and a storage unit 235.
Based on the communication quality output from the communication quality acquisition unit 22, the first set generation unit 231 is used for data transmission from the data distribution device 10 and data transmission to the terminal devices 30A, 30B, and 30C. The encoding parameter set P is generated and output to the second set generation unit 232a.

第2の集合生成部232aは、データ中継装置20について設定される最大処理負荷を、記憶部235から読み出し、その最大処理負荷を超えないように、各端末装置30A、30B、30Cに対して、集合Pの符号化パラメータを任意のパターンで割り当てた集合Λを生成し、要素選択部233aに出力する。
要素選択部233aは、集合Λの各要素において、全ての端末装置30A、30B、30Cの映像体感品質の総和が最大となる要素Λqmaxを選択し、符号化パラメータ決定部234aに出力する。
The second set generation unit 232a reads the maximum processing load set for the data relay device 20 from the storage unit 235, and performs A set Λ is generated by assigning the coding parameters of the set P in an arbitrary pattern, and is output to the element selection unit 233a.
The element selection unit 233a selects the element Λqmax that maximizes the sum of the visual quality of all the terminal devices 30A, 30B, and 30C from each element of the set Λ, and outputs the element Λqmax to the coding parameter determination unit 234a.

符号化パラメータ決定部234aは、要素選択部233aから入力される要素Λqmaxに基づき、各端末装置30A、30B、30Cに送信する映像データにトランスコードを行うか否か、トランスコードに用いる符号化パラメータを決定し、その結果を、トランスコード部24(図3)などに出力する。また、符号化パラメータ決定部234aは、データ配信装置10からデータ中継装置20に映像データを送信させる際に用いられる符号化パラメータを決定し、その決定結果を、符号化パラメータ送信部26に出力する。
記憶部235は、メモリなどであり、データ中継装置20について予め設定される最大処理負荷の値を記憶する。例えば、最大処理負荷は、データ中継装置20の管理者などにより設定され、データ中継装置20のトランスコード部24がトランスコードの処理を行う際に許容される上限の処理負荷が設定される。
Based on the element Λ qmax input from the element selection unit 233a, the coding parameter determination unit 234a determines whether or not to transcode the video data to be transmitted to each of the terminal devices 30A, 30B, and 30C. Parameters are determined, and the results are output to the transcoding unit 24 (FIG. 3) or the like. The encoding parameter determination unit 234a also determines the encoding parameters used when transmitting the video data from the data distribution device 10 to the data relay device 20, and outputs the determination result to the encoding parameter transmission unit 26. .
The storage unit 235 is a memory or the like, and stores a preset maximum processing load value for the data relay device 20 . For example, the maximum processing load is set by the administrator of the data relay device 20 or the like, and the upper limit processing load that is allowed when the transcoding unit 24 of the data relay device 20 performs transcoding processing is set.

図5は、本発明の第1の実施形態によるデータ中継システム100を構成する端末装置30Aの構成を示すブロック図である。なお、図5では、図1の端末装置30Aの構成を示しているが、図1の端末装置30B、30Cの構成も、図5の端末装置30Aの構成と同じである。
端末装置30Aは、データ受信部31、デコード部32、表示部33、通信品質測定部34、通信品質送信部35を備える。
データ受信部31は、データ中継装置20のデータ送信部25から、ネットワークN2を介して送信される映像データであって、端末装置30A用の符号化パラメータを用いてトランスコードされた映像データを受信し、デコード部32、通信品質測定部34に出力する。
FIG. 5 is a block diagram showing the configuration of the terminal device 30A that constitutes the data relay system 100 according to the first embodiment of the present invention. 5 shows the configuration of the terminal device 30A in FIG. 1, the configurations of the terminal devices 30B and 30C in FIG. 1 are the same as the configuration of the terminal device 30A in FIG.
30 A of terminal devices are provided with the data receiving part 31, the decoding part 32, the display part 33, the communication quality measurement part 34, and the communication quality transmission part 35. FIG.
The data receiving unit 31 receives video data transmitted from the data transmitting unit 25 of the data relay device 20 via the network N2 and transcoded using the encoding parameters for the terminal device 30A. and output to the decoding unit 32 and the communication quality measuring unit 34 .

デコード部32は、データ受信部31から出力される映像データであって、トランスコードされた映像データを、デコードし、表示部33に出力する。
表示部33は、ディスプレイなどの表示機器であり、デコード部32から出力される映像データを表示する。
通信品質測定部34は、データ受信部31が、データ中継装置20のデータ送信部25から受信する信号に基づき、データ中継装置20と端末装置30Aとの間の通信品質を測定し、通信品質測定部35に出力する。
なお、端末装置30Bの通信品質測定部34は、データ受信部31が、データ中継装置20のデータ送信部25から受信する信号に基づき、データ中継装置20と端末装置30Bとの間の通信品質を測定し、通信品質測定部35に出力する。また、端末装置30Cの通信品質測定部34は、データ受信部31が、データ中継装置20のデータ送信部25から受信する信号に基づき、データ中継装置20と端末装置30Cとの間の通信品質を測定し、通信品質測定部35に出力する。
通信品質送信部35は、通信品質測定部34から出力される通信品質を、ネットワークN2を介して、データ中継装置20の通信品質取得部22に送信する。
The decoding unit 32 decodes transcoded video data output from the data receiving unit 31 and outputs the decoded video data to the display unit 33 .
The display unit 33 is a display device such as a display, and displays video data output from the decoding unit 32 .
The communication quality measurement unit 34 measures the communication quality between the data relay device 20 and the terminal device 30A based on the signal received by the data reception unit 31 from the data transmission unit 25 of the data relay device 20, and performs the communication quality measurement. Output to unit 35 .
The communication quality measuring unit 34 of the terminal device 30B measures the communication quality between the data relay device 20 and the terminal device 30B based on the signal received by the data receiving unit 31 from the data transmitting unit 25 of the data relay device 20. measured and output to the communication quality measuring unit 35 . Also, the communication quality measuring unit 34 of the terminal device 30C measures the communication quality between the data relay device 20 and the terminal device 30C based on the signal received by the data receiving unit 31 from the data transmitting unit 25 of the data relay device 20. measured and output to the communication quality measuring unit 35 .
The communication quality transmission unit 35 transmits the communication quality output from the communication quality measurement unit 34 to the communication quality acquisition unit 22 of the data relay device 20 via the network N2.

次に、本発明の第1の実施形態によるデータ中継システム100で行われる処理について説明する。
図6は、本発明の第1の実施形態によるデータ中継システム100で行われる処理を示すシーケンス図である。
始めに、データ中継装置20の通信品質取得部22は、ネットワークN2を介して、端末装置30A、30B、30Cの通信品質送信部35から送信される通信品質を取得する(ステップS101、S102、S103)。
Next, processing performed in the data relay system 100 according to the first embodiment of the present invention will be described.
FIG. 6 is a sequence diagram showing processing performed in the data relay system 100 according to the first embodiment of the present invention.
First, the communication quality acquisition unit 22 of the data relay device 20 acquires the communication quality transmitted from the communication quality transmission units 35 of the terminal devices 30A, 30B, and 30C via the network N2 (steps S101, S102, S103 ).

また、データ中継装置20の通信品質取得部22は、ネットワークN1を介して、データ配信装置10から送信される信号に基づいて、データ配信装置10とデータ中継装置20との間の通信品質を測定する(ステップS104)。
そして、データ中継装置20のデータ受信部21は、ネットワークN1を介して、データ配信装置10のデータ送信部15から送信される映像データを受信する(ステップS105)。
そして、データ中継装置20の符号化パラメータ決定部234aは、各端末装置30A、30B、30Cに映像データを送信する際に用いる符号化パラメータと、データ配信装置10からデータ中継装置20に映像データを配信させる際に用いられる符号化パラメータを決定する(ステップS106)。
Also, the communication quality acquisition unit 22 of the data relay device 20 measures the communication quality between the data distribution device 10 and the data relay device 20 based on the signal transmitted from the data distribution device 10 via the network N1. (step S104).
Then, the data receiving unit 21 of the data relay device 20 receives the video data transmitted from the data transmitting unit 15 of the data distribution device 10 via the network N1 (step S105).
Then, the encoding parameter determination unit 234a of the data relay device 20 transmits the encoding parameters used when transmitting the video data to each of the terminal devices 30A, 30B, and 30C, and the video data from the data distribution device 10 to the data relay device 20. Coding parameters to be used for distribution are determined (step S106).

そして、データ中継装置200の符号化パラメータ送信部26は、符号化パラメータ決定部234aが決定したパラメータであって、データ配信装置10からデータ中継装置20に映像データを配信させる際に用いられる符号化パラメータを、データ配信装置10に送信する(ステップS107)。
そして、データ中継装置10のデータ圧縮符号部14は、データ中継装置20に送信する映像データを、ステップS107でデータ中継装置20から受信した符号化パラメータを用いて圧縮符号化し、データ送信部15から、データ中継装置20に送信する(ステップS108)。
Then, the encoding parameter transmission unit 26 of the data relay device 200 uses the parameter determined by the encoding parameter determination unit 234a, which is the encoding used when the data delivery device 10 distributes the video data to the data relay device 20. The parameters are transmitted to the data distribution device 10 (step S107).
Then, the data compression encoding unit 14 of the data relaying device 10 compresses and encodes the video data to be transmitted to the data relaying device 20 using the encoding parameter received from the data relaying device 20 in step S107. , to the data relay device 20 (step S108).

そして、データ中継装置20のトランスコード部24は、端末装置30Aについて決定された符号化パラメータを用いて、ステップS108で、データ配信装置10から受信した映像データをトランスコードし、ネットワークN2を介して、端末装置30Aのデータ受信部31に送信する(ステップS109)。
また、データ中継装置20のトランスコード部24は、ステップS108で、端末装置30Bについて決定された符号化パラメータを用いて、データ配信装置10から受信した映像データをトランスコードし、ネットワークN2を介して、端末装置30Bのデータ受信部31に送信する(ステップS110)。
Then, the transcoding unit 24 of the data relay device 20 transcodes the video data received from the data distribution device 10 in step S108 using the encoding parameters determined for the terminal device 30A, and transmits the video data via the network N2. , to the data receiving unit 31 of the terminal device 30A (step S109).
In step S108, the transcoding unit 24 of the data relay device 20 transcodes the video data received from the data distribution device 10 using the encoding parameters determined for the terminal device 30B, and transmits the video data via the network N2. , to the data receiving unit 31 of the terminal device 30B (step S110).

また、データ中継装置20のトランスコード部24は、端末装置30Cについて決定された符号化パラメータを用いて、ステップS108で、データ配信装置10から受信した映像データをトランスコードし、ネットワークN2を介して、端末装置30Cのデータ受信部31に送信する(ステップS111)。
なお、データ中継装置20からデータ中継装置20が受信した映像データで用いられている符号化パラメータと、所定の端末装置30に割り当てられた符号化パラメータとが同じである場合には、その所定の端末装置30に対しては、トランスコード部24でトランスコードを行うことなく、データ中継装置20からデータ中継装置20が受信した映像データが、その所定の端末装置30に送信される。
Also, the transcoding unit 24 of the data relay device 20 transcodes the video data received from the data distribution device 10 in step S108 using the encoding parameters determined for the terminal device 30C, and transmits the video data via the network N2. , to the data receiving unit 31 of the terminal device 30C (step S111).
Note that when the encoding parameter used in the video data received by the data relay device 20 from the data relay device 20 is the same as the encoding parameter assigned to the predetermined terminal device 30, the predetermined For the terminal device 30 , the video data received by the data relay device 20 is transmitted from the data relay device 20 to the predetermined terminal device 30 without being transcoded by the transcoding unit 24 .

図7は、本発明の第1の実施形態によるデータ中継装置20(図1)の符号化パラメータ制御部23a(図3)の処理を示すフローチャートである。
始めに、符号化パラメータ制御部23aの第1の集合生成部231は、データ配信装置10からデータ中継装置20に送信される映像データに用いられている符号化パラメータと、データ中継装置20から各端末装置30A、30B、30Cに送信される映像データの送信に用いられている符号化パラメータの集合Pを生成する(ステップS201)。
FIG. 7 is a flow chart showing processing of the encoding parameter control section 23a (FIG. 3) of the data relay device 20 (FIG. 1) according to the first embodiment of the present invention.
First, the first set generation unit 231 of the encoding parameter control unit 23a generates the encoding parameters used for the video data transmitted from the data distribution device 10 to the data relay device 20 and each A set P of encoding parameters used for transmission of video data to be transmitted to the terminal devices 30A, 30B, and 30C is generated (step S201).

次に、符号化パラメータ制御部23aの第2の集合生成部232aは、データ中継装置20に、ネットワークN2を介して、n台の端末装置30が接続されている場合には、データ中継装置20について設定され、記憶部235に予め記憶されている最大処理負荷を超えないように、各端末装置30A、30B、30Cに対して、ステップS201で生成した集合Pの符号化パラメータを任意のパターンで割り当てた集合Λを生成する(ステップS202)。
次に、符号化パラメータ制御部23aの要素選択部233aは、ステップS202で生成した集合Λの各要素において、全ての端末装置30の映像体感品質の総和が最大となる要素Λqmaxを選択する(ステップS203)。
Next, the second set generation unit 232a of the encoding parameter control unit 23a generates the data relay device 20 when n terminal devices 30 are connected to the data relay device 20 via the network N2. is set for each of the terminal devices 30A, 30B, and 30C so as not to exceed the maximum processing load pre-stored in the storage unit 235. An assigned set Λ is generated (step S202).
Next, the element selection unit 233a of the encoding parameter control unit 23a selects the element Λ qmax that maximizes the sum of the visual quality of all the terminal devices 30 from among the elements of the set Λ generated in step S202 ( step S203).

次に、符号化パラメータ制御部23aの符号化パラメータ決定部234aは、ステップS203で選択した要素Λqmaxに基づき、各端末装置30に送信する映像データにトランスコードを行うか否か、トランスコードに用いる符号化パラメータを、端末装置30ごとに決定するとともに、データ配信装置10からデータ中継装置20に映像データを送信させる際に用いられる符号化パラメータを決定する(ステップS204)。なお、ステップS204では、例えば、符号化パラメータ決定部234aは、ある端末装置30に割り当てられた符号化パラメータが、データ中継装置20がデータ配信装置10から受信した映像データで用いられている符号化データと同じである場合に、その端末装置30に送信するデータにトランスコードを行わないと決定する。また、符号化パラメータ決定部234aは、ステップS204では、ある端末装置30に割り当てられた符号化パラメータが、データ中継装置20がデータ配信装置10から受信した映像データで用いられている符号化データよりも品質が低い場合に、その端末装置30に送信するデータにトランスコードを行うと決定する。 Next, the encoding parameter determination unit 234a of the encoding parameter control unit 23a determines whether or not to transcode the video data to be transmitted to each terminal device 30 based on the element Λ qmax selected in step S203. The encoding parameters to be used are determined for each terminal device 30, and the encoding parameters to be used when transmitting video data from the data distribution device 10 to the data relay device 20 are determined (step S204). In step S204, for example, the encoding parameter determining unit 234a determines that the encoding parameter assigned to a certain terminal device 30 is the encoding used in the video data received by the data relay device 20 from the data delivery device 10. If it is the same as the data, it decides not to transcode the data to be transmitted to the terminal device 30 . Also, in step S204, the encoding parameter determination unit 234a determines that the encoding parameter assigned to a certain terminal device 30 is higher than the encoded data used in the video data received by the data relay device 20 from the data distribution device 10. If the quality is also low, it decides to transcode the data to be transmitted to the terminal device 30 .

図8は、本発明の第1の実施形態によるデータ中継装置20(図1)の符号化パラメータ制御部23a(図3)の第1の集合生成部231(図4)の処理を示すフローチャートである。図8に示すフローチャートは、図7のフローチャートのステップS201の処理を、具体的に示したものであり、第1の集合生成部231が、集合Pを生成する処理を示している。
始めに、第1の集合生成部231は、通信品質取得部22から出力される通信品質であって、データ配信装置10とデータ中継装置20との間の通信品質に基づく符号化パラメータPupを取得する(ステップS301)。
FIG. 8 is a flow chart showing the processing of the first set generation unit 231 (FIG. 4) of the encoding parameter control unit 23a (FIG. 3) of the data relay device 20 (FIG. 1) according to the first embodiment of the present invention. be. The flowchart shown in FIG. 8 specifically shows the processing of step S201 in the flowchart of FIG.
First, the first set generation unit 231 generates an encoding parameter P up based on the communication quality output from the communication quality acquisition unit 22 and the communication quality between the data distribution device 10 and the data relay device 20. Acquire (step S301).

また、第1の集合生成部231は、通信品質取得部22から出力される通信品質であって、n台の端末装置30とデータ中継装置20との間の通信品質に基づく符号化パラメータp(i=0,1,・・・,n-1)を取得する(ステップS302)。なお、変数iは、i番目の端末装置30を示す。
なお、符号化パラメータには、映像ビットレート(画質)、フレームレート(滑らかさ)、解像度などの情報が含まれており、本願では、符号化パラメータの大小を比較する際は、映像ビットレートの大小を比較する。
Also, the first set generator 231 generates coding parameters p i (i=0, 1, . . . , n−1) are obtained (step S302). Note that the variable i indicates the i-th terminal device 30 .
The encoding parameters include information such as video bit rate (image quality), frame rate (smoothness), and resolution. Compare sizes.

次に、第1の集合生成部231は、集合Pを初期化する(ステップS303)。具体的には、第1の集合生成部231は、空集合である集合Pの要素に、符号化パラメータPupを追加する。
次に、第1の集合生成部231は、n台の端末装置30の通信品質に基づく符号化パラメータを1つずつ取り出していき、次の符号化パラメータがあるか否かについて判定する(ステップS304)。ステップS304で、第1の集合生成部231が、次の符号化パラメータが無いと判定した場合には(ステップS304でNO)、第1の集合生成部231は、図8に示すフローチャートの処理を終了する。
一方、ステップS304で、第1の集合生成部231が、次の符号化パラメータが有ると判定した場合には(ステップS304でYES)、第1の集合生成部231は、ステップS305の処理を行う。
Next, the first set generator 231 initializes the set P (step S303). Specifically, the first set generator 231 adds the coding parameter P up to the elements of the set P, which is an empty set.
Next, the first set generation unit 231 extracts the coding parameters based on the communication quality of the n terminal devices 30 one by one, and determines whether or not there is the next coding parameter (step S304). ). When the first set generation unit 231 determines in step S304 that there is no next encoding parameter (NO in step S304), the first set generation unit 231 performs the processing of the flowchart shown in FIG. finish.
On the other hand, when the first set generation unit 231 determines in step S304 that there is the next encoding parameter (YES in step S304), the first set generation unit 231 performs the processing of step S305. .

つまり、第1の集合生成部231は、符号化パラメータpが、符号化パラメータPupよりも小さいか否かについて判定する(ステップS305)。第1の集合生成部231が、符号化パラメータpが、符号化パラメータPup以上であると判定した場合には(ステップS305でNO)、第1の集合生成部231は、上述したステップS304の処理を行う。
一方、第1の集合生成部231が、符号化パラメータpが、符号化パラメータPupよりも小さいと判定した場合には(ステップS305でYES)、第1の集合生成部231は、符号化パラメータpを、集合Pに追加し(ステップS306)、上述したステップS304の処理を行う。
図8に示すフローチャートの処理を行うことにより、データ配信装置10から送信された送信された映像データで用いられている符号化パラメータPup、及び、符号化パラメータPup未満かつ各端末装置30に映像データを送信する際に用いることができる符号化パラメータを含む集合Pが生成される。
That is, the first set generator 231 determines whether or not the encoding parameter p i is smaller than the encoding parameter P up (step S305). When the first set generation unit 231 determines that the coding parameter p i is equal to or greater than the coding parameter P up (NO in step S305), the first set generation unit 231 performs the above-described step S304. process.
On the other hand, when the first set generation unit 231 determines that the coding parameter p i is smaller than the coding parameter P up (YES in step S305), the first set generation unit 231 performs the coding The parameter p i is added to the set P (step S306), and the process of step S304 described above is performed.
By performing the processing of the flowchart shown in FIG . A set P is generated that includes encoding parameters that can be used in transmitting video data.

図9は、本発明の第1の実施形態によるデータ中継装置20(図1)の符号化パラメータ制御部23a(図3)の第2の集合生成部232a(図4)の処理を示すフローチャートである。図9に示すフローチャートは、図7のフローチャートのステップS202の処理を、具体的に示しており、第2の集合生成部232aが、集合Λを生成する処理を示している。 FIG. 9 is a flow chart showing the processing of the second set generation unit 232a (FIG. 4) of the encoding parameter control unit 23a (FIG. 3) of the data relay device 20 (FIG. 1) according to the first embodiment of the present invention. be. The flowchart shown in FIG. 9 specifically shows the process of step S202 in the flowchart of FIG. 7, and shows the process of generating the set Λ by the second set generating unit 232a.

始めに、第2の集合生成部232aは、図8のフローチャートに基づいて生成された符号化パラメータの集合Pを、第1の集合生成部231から取得する(ステップS401)。
次に、第2の集合生成部232aは、データ中継装置20で、符号化パラメータpを用いてトランスコードする場合の処理負荷L(p)を取得する(ステップS402)。例えば、処理負荷L(p)は、データ中継装置20のCPU(Central Processing Unit)使用率に基づいて算出され、予め、記憶部235に記憶され、第2の集合生成部232aにより読み出される。
First, the second set generator 232a acquires the coding parameter set P generated based on the flowchart of FIG. 8 from the first set generator 231 (step S401).
Next, the second set generation unit 232a acquires the processing load L(p) when the data relay device 20 transcodes using the encoding parameter p (step S402). For example, the processing load L(p) is calculated based on the CPU (Central Processing Unit) usage rate of the data relay device 20, stored in the storage unit 235 in advance, and read by the second set generation unit 232a.

符号化パラメータpには、映像ビットレート(画質)の他に、フレームレート(滑らかさ)fや、解像度sの情報が含まれている。予め基準となるフレームレートFと解像度Sで圧縮符号化した際のCPU使用率Lとして計測しておくことで、L(p)=((f/F)+(s/S))*Lと算出することができる。ただし、p≧Pupの場合には、データ中継装置20のトランスコード部24でのトランスコードの処理は不要となるので、L(p)=0となる。なお、本願において、記号“/”は、除算の演算子を示し、記号“*”は、乗算の演算子を示す。 The encoding parameter p includes information on the frame rate (smoothness) f and resolution s in addition to the video bit rate (image quality). By measuring in advance as the CPU usage rate L r when compression encoding is performed at the reference frame rate F r and resolution S r , L (p) = ((f / F r ) + (s / S r ))*L r . However, when p≧P up , L(p)=0 because the transcoding process in the transcoding unit 24 of the data relay device 20 is unnecessary. In the present application, the symbol "/" indicates a division operator, and the symbol "*" indicates a multiplication operator.

次に、第2の集合生成部232aは、データ中継装置20で許容される最大処理負荷Lmaxを取得する(ステップS403)。ここでは、データ中継装置20のトランスコード部24がトランスコードの処理を行う場合に許容されるデータ中継装置20の最大処理負荷Lmaxが、予め、データ中継装置20の管理者などにより設定され、記憶部235に記憶されており、第2の集合生成部232aは、最大処理負荷Lmaxを、記憶部235から読み出す。
次に、第2の集合生成部232aは、集合Λを、空集合Φを用いて初期化する(ステップS404)。
Next, the second set generation unit 232a acquires the maximum processing load L max allowed by the data relay device 20 (step S403). Here, the maximum processing load L max of the data relaying device 20 that is permitted when the transcoding unit 24 of the data relaying device 20 performs transcoding processing is set in advance by the administrator of the data relaying device 20. It is stored in the storage unit 235, and the second set generation unit 232a reads the maximum processing load L max from the storage unit 235. FIG.
Next, the second set generator 232a initializes the set Λ using the empty set Φ (step S404).

次に、第2の集合生成部232aは、n台の端末装置30に集合Pを、任意のパターンで割り当て、割当パターンを1つずつ取り出していき、次の割当パターンがあるか否かについて判定する(ステップS405)。次の割当パターンが無いと判定した場合には(ステップS405でNO)、第2の集合生成部232aは、図9に示すフローチャートの処理を終了する。一方、次の割当パターンが有ると判定した場合には(ステップS405でYES)、第2の集合生成部232aは、ステップS406の処理を行う。 Next, the second set generating unit 232a allocates the set P to the n terminal devices 30 in an arbitrary pattern, extracts the allocation patterns one by one, and determines whether or not there is the next allocation pattern. (step S405). When determining that there is no next allocation pattern (NO in step S405), the second set generation unit 232a ends the processing of the flowchart shown in FIG. On the other hand, if it is determined that there is the next allocation pattern (YES in step S405), the second set generation unit 232a performs the process of step S406.

つまり、第2の集合生成部232aは、取り出した割当パターンの処理負荷の総和ΣL(p)(p∈P)は、最大処理負荷Lmax以下か否かについて判定する(ステップS406)。総和ΣL(p)(p∈P)が、最大処理負荷Lmax以下ではない場合には(ステップS406でNO)、第2の集合生成部232aは、ステップS405の処理を行う。一方、総和ΣL(p)(p∈P)が、最大処理負荷Lmax以下である場合には(ステップS406でYES)、第2の集合生成部232aは、ステップS407の処理を行う。 In other words, the second set generating unit 232a determines whether or not the total sum Σ j L(p j ) (p j εP) of the processing loads of the extracted allocation patterns is equal to or less than the maximum processing load L max (step S406). ). If the sum Σ j L(p j ) (p j εP) is not equal to or less than the maximum processing load L max (NO in step S406), the second set generator 232a performs the process of step S405. On the other hand, if the total sum Σ j L(p j ) (p j εP) is equal to or less than the maximum processing load L max (YES in step S406), the second set generation unit 232a performs the process of step S407. conduct.

つまり、第2の集合生成部232aは、集合Λに、要素pを追加する(ステップS407)。なお、割当パターンpは、n台の端末装置30のそれぞれに対して割り当てられる符号化パラメータの集合である。
図9に示すフローチャートの処理を行うことにより、トランスコード部24のトランスコードによる処理負荷が、最大処理負荷Lmaxを超えない集合Λであって、任意の符号化パラメータの割当パターンを持つ集合Λが作成される。
That is, the second set generator 232a adds the element pj to the set Λ (step S407). Note that the allocation pattern pj is a set of coding parameters allocated to each of the n terminal devices 30 .
By performing the processing of the flowchart shown in FIG. is created.

図10は、本発明の第1の実施形態によるデータ中継装置20(図1)の符号化パラメータ制御部23a(図3)の要素選択部233a(図4)の処理を示すフローチャートである。図10に示すフローチャートは、図7のフローチャートのステップS203の処理を、具体的に示しており、要素選択部233aが、集合Λの各要素における全ての端末装置30の映像体感品質の総和が最大となる要素Λqmaxを選択する処理を示している。
始めに、要素選択部233aは、i番目の端末装置30の通信品質v(i=0,1,・・・,n-1)を、通信品質取得部22から取得する(ステップS501)。
FIG. 10 is a flow chart showing processing of the element selection unit 233a (FIG. 4) of the encoding parameter control unit 23a (FIG. 3) of the data relay device 20 (FIG. 1) according to the first embodiment of the present invention. The flowchart shown in FIG. 10 specifically shows the processing of step S203 in the flowchart of FIG. It shows the process of selecting the element Λ qmax such that .
First, the element selection unit 233a acquires the communication quality v i (i=0, 1, . . . , n−1) of the i-th terminal device 30 from the communication quality acquisition unit 22 (step S501).

次に、要素選択部233aは、通信品質Xの端末装置30について、符号化パラメータYで、映像データを送信した場合の映像体感品質Q(X,Y)を取得する(ステップS502)。映像体感品質Q(X,Y)は、映像データを視聴する視聴者による体感品質であり、映像ビットレート、フレームレート、解像度、映像の乱れなどの情報に基づき、算出される。ここでは、要素選択部233aは、ITU-T(International Telecommunication Union Telecommunication Standardization Sector)で標準化されているP.1201を用いて、映像体感品質Q(X,Y)を算出する。符号化パラメータYの映像ビットレートが高くなるほど、映像体感品質Q(X,Y)は大きくなるが、通信品質X以上の品質となる映像ビットレートで映像データを送信した場合、映像データを送信しきれずに、遅延や映像の乱れが生じ、映像体感品質Q(X,Y)は著しく低下する。 Next, the element selection unit 233a acquires the visual sensation quality Q(X, Y) when the video data is transmitted with the encoding parameter Y for the terminal device 30 with the communication quality X (step S502). The quality of experience Q(X, Y) is the quality of experience experienced by viewers viewing video data, and is calculated based on information such as video bit rate, frame rate, resolution, and video disturbance. Here, the element selection unit 233a uses the P.26 standard standardized by the ITU-T (International Telecommunication Union Telecommunication Standardization Sector). 1201 is used to calculate the visual quality Q(X, Y). The higher the video bit rate of the encoding parameter Y, the higher the visual quality Q(X, Y). Instead, delays and image disturbances occur, and the image quality Q(X, Y) is significantly degraded.

次に、要素選択部233aは、図9に示すフローチャートの処理に基づき、第2の集合生成部232aが生成した任意の符号化パラメータの集合Λを、第2の集合生成部232aから取得する(ステップS503)。
次に、要素選択部233aは、変数である最大の映像体感品質Qmaxと、そのインデックスを初期化する(ステップS504)。つまり、要素選択部233aは、映像体感品質Qmax=0に設定するとともに、そのインデックスを0に設定する。
Next, the element selection unit 233a acquires an arbitrary encoding parameter set Λ generated by the second set generation unit 232a from the second set generation unit 232a based on the processing of the flowchart shown in FIG. step S503).
Next, the element selection unit 233a initializes the maximum visual quality Q max , which is a variable, and its index (step S504). In other words, the element selection unit 233a sets the visual quality Q max =0 and sets the index to zero.

次に、要素選択部233aは、集合Λから要素を1つずつ取り出していき、集合Λに残りの要素があるか否かについて判定する(ステップS505)。集合Λに残りの要素が無いと判定した場合には(ステップS505でNO)、要素選択部233aは、図10に示すフローチャートの処理を終了する。一方、集合Λに残りの要素が有ると判定した場合には(ステップS505でYES)、要素選択部233aは、ステップS506の処理を行う。
つまり、要素選択部233aは、Λの符号化パラメータのパターンで映像データを送信した場合の各端末装置30における映像体感品質の総和Q(Λ)=ΣQ(v,p)(j=0,1,・・・,n-1:pj∈Λ)を求める(ステップS506)。
Next, the element selection unit 233a extracts elements from the set Λ one by one, and determines whether or not there are remaining elements in the set Λ (step S505). When it is determined that there are no remaining elements in the set Λ (NO in step S505), the element selection unit 233a terminates the processing of the flowchart shown in FIG. On the other hand, when it is determined that there are remaining elements in the set Λ (YES in step S505), the element selection unit 233a performs the process of step S506.
That is, the element selection unit 233a calculates the total sum Q(Λ i )=Σ j Q(v j , p j ) of the visual quality in each terminal device 30 when the video data is transmitted in the encoding parameter pattern of Λ i . (j=0, 1, . . . , n−1: pjεΛ i ) is obtained (step S506).

そして、要素選択部233aは、映像体感品質Qmaxが、映像体感品質の総和Q(Λ)よりも小さいか否かについて判定する(ステップS507)。映像体感品質Qmaxが、映像体感品質の総和Q(Λ)以上である場合には(ステップS507でNO)、要素選択部233aは、上述したステップS505の処理を行う。
一方、映像体感品質Qmaxが、映像体感品質の総和Q(Λ)よりも小さい場合には(ステップS507でYES)、要素選択部233aは、ステップS508の処理を行う。
Then, the element selection unit 233a determines whether or not the visual quality Q max is smaller than the total visual quality Q(Λ i ) (step S507). If the visual quality Q max is equal to or greater than the total visual quality Q(Λ i ) (NO in step S507), the element selection unit 233a performs the process of step S505 described above.
On the other hand, if the visual quality Q max is smaller than the total visual quality Q(Λ i ) (YES in step S507), the element selection unit 233a performs the process of step S508.

つまり、要素選択部233aは、映像体感品質Qmaxを、Q(Λ)とし、そのインデックスを、iとする(ステップS508)。
図10のフローチャートで示す処理が行われることにより、要素選択部233aは、データ中継装置20の処理負荷が最大処理負荷Lmaxを超えず、かつ、全ての端末装置30の映像体感品質が最大となる符号化パラメータの割当パターンΛqmax=Λindexを求めることができる。
That is, the element selection unit 233a sets the visual quality Q max to Q(Λ i ) and its index to i (step S508).
By performing the processing shown in the flowchart of FIG. 10, the element selection unit 233a determines that the processing load of the data relay device 20 does not exceed the maximum processing load L max and that the image quality of all the terminal devices 30 is the maximum. A coding parameter allocation pattern Λ qmax = Λ index can be obtained.

図11は、本発明の第1の実施形態によるデータ中継装置20(図1)の符号化パラメータ制御部23a(図3)の符号化パラメータ決定部234a(図4)の処理を示すフローチャートである。図11に示すフローチャートは、図7のフローチャートのステップS204の処理を、具体的に示しており、符号化パラメータ決定部234aが、各端末装置30に映像データを送信する際にトランスコードを行うか否かや、各端末装置30に映像データを送信する際のトランスコード時に用いる符号化パラメータを決定する処理を示している。 FIG. 11 is a flow chart showing processing of the encoding parameter determination unit 234a (FIG. 4) of the encoding parameter control unit 23a (FIG. 3) of the data relay device 20 (FIG. 1) according to the first embodiment of the present invention. . The flowchart shown in FIG. 11 specifically shows the processing of step S204 in the flowchart of FIG. It shows the process of determining whether or not the video data is transmitted to each terminal device 30, and the encoding parameters used when transcoding the video data.

始めに、符号化パラメータ決定部234aは、図9のフローチャートで示す処理に基づき第2の集合生成部232aが生成した集合Λの各要素において、全ての端末装置30の映像体感品質の総和が最大となる要素Λqmaxを求める(ステップS601)。
次に、符号化パラメータ決定部234aは、要素Λqmaxの符号化パラメータの中で、最大の映像ビットレートを持つ符号化パラメータをPqmaxとする(ステップS602)。
First, the coding parameter determination unit 234a determines that the sum of the visual sensation qualities of all the terminal devices 30 is the maximum for each element of the set Λ generated by the second set generation unit 232a based on the processing shown in the flowchart of FIG. An element Λ qmax is obtained (step S601).
Next, the coding parameter determination unit 234a sets the coding parameter having the maximum video bit rate among the coding parameters of the element Λ qmax as P qmax (step S602).

次に、符号化パラメータ決定部234aは、Λqmaxから1つずつ符号化パラメータ要素を取り出していき、Λqmaxに残りの要素があるか否かについて判定する(ステップS603)。Λqmaxに残りの要素が無い場合には(ステップS603でNO)、符号化パラメータ決定部234aは、図11で示すフローチャートの処理を終了する。一方、Λqmaxに残りの要素が有る場合には(ステップS603でYES)、符号化パラメータ決定部234aは、取り出したi番目の符号化パラメータをpとし、ステップS604の処理を行う。 Next, the coding parameter determination unit 234a extracts coding parameter elements from Λ qmax one by one, and determines whether or not Λ qmax has remaining elements (step S603). If there are no remaining elements in Λ qmax (NO in step S603), the encoding parameter determination unit 234a terminates the processing of the flowchart shown in FIG. On the other hand, if there are remaining elements in Λ qmax (YES in step S603), the encoding parameter determination unit 234a sets p i as the extracted i-th encoding parameter, and performs the process of step S604.

つまり、符号化パラメータ決定部234aは、符号化パラメータpは、符号化パラメータPqmaxと等しいか否かについて判定する(ステップS604)。符号化パラメータpが、符号化パラメータPqmaxと等しい場合には(ステップS604でYES)、符号化パラメータ決定部234aは、ステップS605の処理を行う。一方、符号化パラメータpが、符号化パラメータPqmaxと等しくない場合には(ステップS604でNO)、つまり、符号化パラメータpが、符号化パラメータPqmaxよりも小さい場合には、符号化パラメータ決定部234aは、ステップS606の処理を行う。
つまり、符号化パラメータ決定部234aは、i番目の端末装置30に送信する映像データについては、トランスコードを行わず、データ配信装置10から受信した映像データを、そのままi番目の端末装置30に送信すると決定する(ステップS605)。
That is, the encoding parameter determination unit 234a determines whether or not the encoding parameter p i is equal to the encoding parameter P qmax (step S604). If the encoding parameter p i is equal to the encoding parameter P qmax (YES in step S604), the encoding parameter determination unit 234a performs the process of step S605. On the other hand, if the encoding parameter p i is not equal to the encoding parameter P qmax (NO in step S604), that is, if the encoding parameter p i is smaller than the encoding parameter P qmax , the encoding The parameter determination unit 234a performs the process of step S606.
That is, the encoding parameter determination unit 234a does not transcode the video data to be transmitted to the i-th terminal device 30, and transmits the video data received from the data distribution device 10 to the i-th terminal device 30 as it is. Then, determination is made (step S605).

一方、符号化パラメータ決定部234aは、i番目の端末装置30に送信する映像データについて、符号化パラメータpでトランスコードを行うと決定する(ステップS606)。
なお、符号化パラメータ決定部234aは、符号化パラメータ送信部26に対して、符号化パラメータPqmaxを出力する。また、符号化パラメータ決定部234aは、トランスコード部24に対して、ステップS605又はステップS606の決定結果を出力する。
On the other hand, the encoding parameter determining unit 234a determines to transcode the video data to be transmitted to the i-th terminal device 30 with the encoding parameter pi (step S606).
The coding parameter determination unit 234a outputs the coding parameter P qmax to the coding parameter transmission unit 26. FIG. Also, the encoding parameter determination unit 234a outputs the determination result of step S605 or step S606 to the transcoding unit 24. FIG.

これにより、トランスコード部24は、符号化パラメータ決定部234aによって、映像データの送信時にトランスコードを行うことが必要と決定された端末装置30に対して、ステップS606で決定された符号化パラメータを用いてトランスコード処理を行う。
第1の実施形態によるデータ中継装置20によれば、複数の端末装置30に、映像データを配信する場合に、データ中継装置20のトランスコード処理による処理負荷を抑えつつ、全ての端末装置30の映像体感品質を最大化することができる。
As a result, the transcoding unit 24 assigns the encoding parameter determined in step S606 to the terminal device 30 for which the encoding parameter determining unit 234a determines that transcoding is required when transmitting the video data. transcode processing using
According to the data relay device 20 according to the first embodiment, when distributing video data to a plurality of terminal devices 30, while suppressing the processing load due to the transcoding process of the data relay device 20, all the terminal devices 30 The visual quality can be maximized.

次に、本発明の第1の実施形態の具体例について説明する。
なお、第1の実施形態の具体例では、データ中継装置20と、データ配信装置10、端末装置30A、30B、30Cとの間の通信品質が、図12の状態である場合について説明する。また、複数の端末装置30が、3台(端末装置30A、30B、30C)の場合について説明する。
Next, a specific example of the first embodiment of the invention will be described.
In the specific example of the first embodiment, the case where the communication quality between the data relay device 20, the data delivery device 10, and the terminal devices 30A, 30B, and 30C is in the state shown in FIG. 12 will be described. Also, a case where there are three terminal devices 30 (terminal devices 30A, 30B, and 30C) will be described.

図12において、横軸は、時間を示しており、縦軸は、通信品質を示している。曲線gup1は、データ中継装置20と、データ配信装置10との間の通信品質(Cup1)を示している。また、曲線g11は、データ中継装置20と、端末装置30Aとの間の通信品質(C11)を示している。また、曲線g12は、データ中継装置20と、端末装置30Bとの間の通信品質(C12)を示している。また、曲線g13は、データ中継装置20と、端末装置30Cとの間の通信品質(C13)を示している。
図12では、任意の時刻において、通信品質C11>C12>Cup1>C13となっている。図12では、通信品質C13が、他の通信品質C11、C12、Cup1と比較して、悪くなっている。
なお、第1の実施形態の具体例では、記憶部235に予め記憶される最大処理負荷Lmaxが5である場合について説明する。
In FIG. 12, the horizontal axis indicates time, and the vertical axis indicates communication quality. A curve g up1 indicates the communication quality (C up1 ) between the data relay device 20 and the data distribution device 10 . A curve g 11 indicates the communication quality (C 11 ) between the data relay device 20 and the terminal device 30A. A curve g 12 indicates the communication quality (C 12 ) between the data relay device 20 and the terminal device 30B. A curve g 13 indicates the communication quality (C 13 ) between the data relay device 20 and the terminal device 30C.
In FIG. 12, communication quality C 11 >C 12 >C up1 >C 13 at any time. In FIG. 12, the communication quality C13 is worse than the other communication qualities C11 , C12 , and Cup1 .
In the specific example of the first embodiment, a case where the maximum processing load L max pre-stored in the storage unit 235 is 5 will be described.

始めに、図7のステップS201の処理に基づき、データ配信装置10からの映像データの送信、及び、各端末装置30A、30B、30Cへの映像データの送信に用いられている符号化パラメータの集合Pが生成される。
データ配信装置10との間の通信品質(Cup1)よりも高い品質の符号化パラメータで、トランスコード部24が圧縮符号化することによりトランスコードを行った場合、リアルタイムに映像を配信することができずに、映像再生の途絶や乱れが生じる。この問題を解決するため、データ配信装置10から、データ中継装置20を介して、各端末装置30A、30B、30Cに映像データを送信する際に用いられる符号化パラメータは、通信品質がCup1)以下の符号化パラメータを用いる。
First, based on the process of step S201 in FIG. 7, a set of encoding parameters used for transmission of video data from the data distribution device 10 and transmission of video data to each of the terminal devices 30A, 30B, and 30C. P is generated.
When the transcoding unit 24 performs compression encoding using an encoding parameter with a higher quality than the communication quality (C up1 ) with the data delivery device 10, video can be delivered in real time. As a result, video playback is interrupted or disturbed. In order to solve this problem, the encoding parameters used when transmitting the video data from the data distribution device 10 to the terminal devices 30A, 30B, and 30C via the data relay device 20 are set so that the communication quality is C up1 ). We use the following encoding parameters:

なお、ここでは、データ配信装置10からデータ中継装置20に送信されている映像データに用いられている符号化パラメータを、Pupとする。また、データ中継装置20から端末装置30Aに送信されている映像データに用いられている符号化パラメータを、pv301とする。また、データ中継装置20から端末装置30Bに送信されている映像データに用いられている符号化パラメータを、pv302とする。また、データ中継装置20から端末装置30Cに送信されている映像データに用いられている符号化パラメータを、pv303とする。
図12に示す状況の場合には、端末装置30A、30B、30Cに映像データを送信する際に用いられる符号化パラメータの集合Pは、{Pup,pv303}となる。
Here, it is assumed that the encoding parameter used for the video data transmitted from the data distribution device 10 to the data relay device 20 is Pup . Also, let pv301 be the encoding parameter used for the video data transmitted from the data relay device 20 to the terminal device 30A. Also, let pv302 be the encoding parameter used for the video data transmitted from the data relay device 20 to the terminal device 30B. Also, let pv303 be the encoding parameter used for the video data being transmitted from the data relay device 20 to the terminal device 30C.
In the situation shown in FIG. 12, the set P of encoding parameters used when transmitting video data to the terminal devices 30A, 30B, and 30C is {P up , p v303 }.

次に、図7のステップS202の処理に基づき、トランスコード部24によるトランスコードの処理負荷が、最大処理負荷Lmaxを超えない条件で、集合Pの各要素を各端末装置30A、30B、30Cに対して、任意のパターンで割り当てた集合Λを求める。
集合P={Pup,pv303}の各要素を、端末装置30A、30B、30Cに対して、任意のパターンで割り当てると、割当パターンは、(Pup,Pup,Pup)、(Pup,Pup,pv303)、(Pup,pv303,Pup)、(pv303,Pup,Pup)、(Pup,pv303,pv303)、(pv303,Pup,pv303)、(pv303,pv303,Pup)、(pv303,pv303,pv303)の計8パターンとなる。なお、例えば、割当パターン(Pup,pv303,Pup)は、端末装置30Aに、符号化パラメータPupを割り当て、端末装置30Bに、符号化パラメータpv303を割り当て、端末装置30Aに、符号化パラメータPupを割り当てることを示している。
Next, based on the processing of step S202 in FIG. 7, each element of the set P is transferred to each of the terminal devices 30A, 30B, and 30C under the condition that the processing load of transcoding by the transcoding unit 24 does not exceed the maximum processing load Lmax . , find a set Λ assigned with an arbitrary pattern.
When each element of the set P = {P up , p v303 } is assigned to the terminal devices 30A, 30B, and 30C in an arbitrary pattern, the assignment pattern is (P up , P up , P up ), (P up , P up , p v303 ), (P up , p v303 , P up ), (p v303 , P up , P up ), (P up , p v303 , p v303 ), (p v303 , P up , p v303 ), (p v303 , p v303 , P up ), and (p v303 , p v303 , p v303 ). Note that, for example, the allocation pattern (P up , p v303 , P up ) allocates the coding parameter P up to the terminal device 30A, allocates the coding parameter p v303 to the terminal device 30B, and allocates the coding parameter p v303 to the terminal device 30A. assigning the optimization parameter P_up .

ここでは、符号化パラメータpv303を用いてトランスコードする際の処理負荷L(pv303)は、3である場合について説明する。なお、符号化パラメータPupを用いてトランスコードする際の処理負荷L(Pup)は、0となる。これは、データ配信装置10から、符号化パラメータPupを用いて送信された映像データを、データ中継装置20から端末装置30に、符号化パラメータPupを用いて送信する場合には、トランスコード部24によるトランスコードの処理が不要となるためである。
次に、第2の集合生成部232aは、図9のステップS406の処理に基づき、各割当パターンの処理負荷L(p)の総和を算出する。
Here, a case where the processing load L(p v303 ) in transcoding using the encoding parameter p v303 is 3 will be described. Note that the processing load L(P up ) when transcoding using the encoding parameter P up is zero. When the video data transmitted from the data distribution device 10 using the encoding parameter P up is transmitted from the data relay device 20 to the terminal device 30 using the encoding parameter P up , transcoding is performed. This is because transcoding processing by the unit 24 becomes unnecessary.
Next, the second set generation unit 232a calculates the sum of the processing loads L(p j ) of each allocation pattern based on the process of step S406 in FIG.

例えば、割当パターン(Pup,Pup,Pup)については、最大の符号化パラメータは、Pupであるため、データ中継装置20のトランスコード部24によるトランスコードの処理は不要となる。そのため、割当パターン(Pup,Pup,Pup)を用いる場合の処理負荷の総和は、L(Pup,Pup,Pup)=L(Pup)+L(Pup)+L(Pup)=0+0+0=0となる。 For example, for the allocation pattern (P up , P up , P up ), the maximum encoding parameter is P up , so the transcoding process by the transcoding unit 24 of the data relay device 20 is unnecessary. Therefore, the total processing load when using the allocation pattern (P up , P up , P up ) is L(P up , P up , P up )=L(P up )+L(P up )+L(P up )=0+0+0=0.

次の割当パターン(Pup,Pup,pv303)については、データ中継装置20から端末装置30A及び30Bに映像データを送信する際には、符号化パラメータPupが用いられるため、トランスコードは不要となる。しかし、データ中継装置20から端末装置30Cに映像データを送信する際には、符号化パラメータpv303を用いてトランスコードを行う必要がある。そのため、割当パターン(Pup,Pup,pv303)を用いる場合の処理負荷の総和は、L(Pup,Pup,pv303)=L(Pup)+L(Pup)+L(pv303)=0+0+3=3となる。 For the following allocation pattern (P up , P up , p v303 ), the encoding parameter P up is used when transmitting video data from the data relay device 20 to the terminal devices 30A and 30B, so the transcoding is becomes unnecessary. However, when transmitting video data from the data relay device 20 to the terminal device 30C, it is necessary to transcode using the encoding parameter pv303 . Therefore, the total processing load when using the allocation pattern (P up , P up , p v303 ) is L(P up , P up , p v303 )=L(P up )+L(P up )+L(p v303 )=0+0+3=3.

次の割当パターン(Pup,pv303,Pup)については、データ中継装置20から端末装置30A及び30Cに映像データを送信する際には、符号化パラメータPupが用いられるため、トランスコードは不要となる。しかし、データ中継装置20から端末装置30Bに映像データを送信する際には、符号化パラメータpv303を用いてトランスコードを行う必要がある。そのため、割当パターン(Pup,pv303,Pup)を用いる場合の処理負荷の総和は、L(Pup,Pv303,Pup)=L(Pup)+L(pv303)+L(Pup)=0+3+0=3となる。 For the following allocation patterns (P up , p v303 , P up ), the coding parameter P up is used when transmitting video data from the data relay device 20 to the terminal devices 30A and 30C, so the transcoding is becomes unnecessary. However, when transmitting video data from the data relay device 20 to the terminal device 30B, it is necessary to transcode using the encoding parameter pv303 . Therefore, the total processing load when using the allocation pattern (P up , p v303 , P up ) is L(P up , P v303 , P up )=L(P up )+L(p v303 )+L(P up )=0+3+0=3.

次の割当パターン(pv303,Pup,Pup)については、データ中継装置20から端末装置30B及び30Cに映像データを送信する際には、符号化パラメータPupが用いられるため、トランスコードは不要となる。しかし、データ中継装置20から端末装置30Aに映像データを送信する際には、符号化パラメータpv303を用いてトランスコードを行う必要がある。そのため、割当パターン(pv303,Pup,Pup)を用いる場合の処理負荷の総和は、L(pv303,Pup,Pup)=L(pv303)+L(Pup)+L(Pup)=3+0+0=3となる。 For the next allocation pattern (p v303 , P up , P up ), the coding parameter P up is used when transmitting video data from the data relay device 20 to the terminal devices 30B and 30C, so the transcoding is becomes unnecessary. However, when transmitting video data from the data relay device 20 to the terminal device 30A, it is necessary to transcode using the encoding parameter pv303 . Therefore, the total processing load when using the allocation pattern (p v303 , P up , P up ) is L(p v303 , P up , P up )=L(p v303 )+L(P up )+L(P up )=3+0+0=3.

次の割当パターン(Pup,pv303,pv303)については、データ中継装置20から端末装置30Aに映像データを送信する際には、符号化パラメータPupが用いられるため、トランスコードは不要となる。しかし、データ中継装置20から端末装置30B及び30Cに映像データを送信する際には、符号化パラメータpv303を用いてトランスコードを行う必要がある。なお、本来であれば、データ中継装置20から端末装置30B及び30Cに映像データを送信する際には、同じ符号化パラメータpv303を用いてトランスコードされるため、1回だけ、符号化パラメータpv303を用いてトランスコードを行なえば良いが、ここでは、説明を簡略化するために、端末装置30B及び30Cのそれぞれについて、符号化パラメータpv303を用いたトランスコードが行われる場合について説明する。そのため、割当パターン(Pup,pv303,pv303)を用いる場合の処理負荷の総和は、L(Pup,pv303,pv303)=L(Pup)+L(pv303)+L(pv303)=0+3+3=6となる。 For the next allocation pattern (P up , p v303 , p v303 ), the coding parameter P up is used when video data is transmitted from the data relay device 20 to the terminal device 30A, so transcoding is unnecessary. Become. However, when transmitting video data from the data relay device 20 to the terminal devices 30B and 30C, it is necessary to transcode using the encoding parameter pv303 . Originally, when video data is transmitted from the data relay device 20 to the terminal devices 30B and 30C, the same encoding parameter p v 303 is used for transcoding. v303 may be used for transcoding, but in order to simplify the explanation, a case where transcoding is performed using encoding parameter p v303 for each of the terminal devices 30B and 30C will be described here. Therefore, the total processing load when using the allocation pattern (P up , p v303 , p v303 ) is L(P up , p v303 , p v303 )=L(P up )+L(p v303 )+L(p v303 )=0+3+3=6.

次の割当パターン(pv303,Pup,pv303)については、データ中継装置20から端末装置30Bに映像データを送信する際には、符号化パラメータPupが用いられるため、トランスコードは不要となる。しかし、データ中継装置20から端末装置30A及び30Cに映像データを送信する際には、符号化パラメータpv303を用いてトランスコードを行う必要がある。なお、本来であれば、データ中継装置20から端末装置30A及び30Cに映像データを送信する際には、同じ符号化パラメータpv303を用いてトランスコードされるため、1回だけ、符号化パラメータpv303を用いてトランスコードを行なえば良いが、ここでは、説明を簡略化するために、端末装置30A及び30Cのそれぞれについて、符号化パラメータpv303を用いたトランスコードが行われる場合について説明する。そのため、割当パターン(pv303,Pup,pv303)を用いる場合の処理負荷の総和は、L(pv303,Pup,pv303)=L(pv303)+L(Pup)+L(pv303)=3+0+3=6となる。 For the next allocation pattern (p v303 , P up , p v303 ), the coding parameter P up is used when video data is transmitted from the data relay device 20 to the terminal device 30B, so transcoding is unnecessary. Become. However, when transmitting video data from the data relay device 20 to the terminal devices 30A and 30C, it is necessary to transcode using the encoding parameter pv303 . Originally, when video data is transmitted from the data relay device 20 to the terminal devices 30A and 30C, the same encoding parameter p v303 is used for transcoding. v303 may be used for transcoding, but in order to simplify the description, a case will be described where transcoding is performed using encoding parameter p v303 for each of the terminal devices 30A and 30C. Therefore, the total processing load when using the allocation pattern (p v303 , P up , p v303 ) is L(p v303 , P up , p v303 )=L(p v303 )+L(P up )+L(p v303 )=3+0+3=6.

次の割当パターン(pv303,pv303,Pup)については、データ中継装置20から端末装置30Cに映像データを送信する際には、符号化パラメータPupが用いられるため、トランスコードは不要となる。しかし、データ中継装置20から端末装置30A及び30Bに映像データを送信する際には、符号化パラメータpv303を用いてトランスコードを行う必要がある。なお、本来であれば、データ中継装置20から端末装置30A及び30Bに映像データを送信する際には、同じ符号化パラメータpv303を用いてトランスコードされるため、1回だけ、符号化パラメータpv303を用いてトランスコードを行なえば良いが、ここでは、説明を簡略化するために、端末装置30A及び30Bのそれぞれについて、符号化パラメータpv303を用いたトランスコードが行われる場合について説明する。そのため、割当パターン(pv303,pv303,Pup)を用いる場合の処理負荷の総和は、L(pv303,pv303,Pup)=L(pv303)+L(pv303)+L(Pup)=3+3+0=6となる。 For the next allocation pattern (p v303 , p v303 , P up ), the coding parameter P up is used when video data is transmitted from the data relay device 20 to the terminal device 30C, so transcoding is unnecessary. Become. However, when transmitting video data from the data relay device 20 to the terminal devices 30A and 30B, it is necessary to transcode using the encoding parameter pv303 . Originally, when video data is transmitted from the data relay device 20 to the terminal devices 30A and 30B, the same encoding parameter p v303 is used for transcoding. v303 may be used for transcoding, but for the sake of simplicity, a case will be described where transcoding is performed using encoding parameter p v303 for each of the terminal devices 30A and 30B. Therefore, the total processing load when using the allocation pattern (p v303 , p v303 , P up ) is L(p v303 , p v303 , P up )=L(p v303 )+L(p v303 )+L(P up )=3+3+0=6.

最後の割当パターン(pv303,pv303,pv303)については、データ中継装置20から端末装置30A、30B、30Cに映像データを送信する際には、符号化パラメータpv303を用いてトランスコードを行う必要がある。なお、本来であれば、データ中継装置20から端末装置30A、30B、30Cに映像データを送信する際には、同じ符号化パラメータpv303を用いてトランスコードされるため、1回だけ、符号化パラメータpv303を用いてトランスコードを行なえば良いが、ここでは、説明を簡略化するために、端末装置30A、30B、30Cのそれぞれについて、符号化パラメータpv303を用いたトランスコードが行われる場合について説明する。そのため、割当パターン(pv303,pv303,pv303)を用いる場合の処理負荷の総和は、L(pv303,pv303,pv303)=L(pv303)+L(pv303)+L(pv303)=3+3+3=9となる。 As for the last allocation pattern (p v303 , p v303 , p v303 ), when video data is transmitted from the data relay device 20 to the terminal devices 30A, 30B, and 30C, the encoding parameter p v303 is used for transcoding. There is a need to do. Originally, when video data is transmitted from the data relay device 20 to the terminal devices 30A, 30B, and 30C, the same encoding parameter pv303 is used for transcoding. Transcoding may be performed using the parameter pv303 , but for the sake of simplicity, here, for each of the terminal devices 30A, 30B, and 30C, transcoding using the encoding parameter pv303 is performed. will be explained. Therefore, the total processing load when using the allocation pattern ( pv303 , pv303 , pv303 ) is L( pv303 , pv303 , pv303 )=L( pv303 )+L( pv303 )+L( pv303 )=3+3+3=9.

記憶部235から読み出される最大処理負荷Lmaxは5であるため、図7のステップS202において、第2の集合生成部232aは、最大処理負荷Lmaxを超えない割当パターンの集合Λとして、Λ={(Pup,Pup,Pup),(Pup,Pup,pv303),(Pup,pv303,Pup),(pv303,Pup,Pup)}を生成する。 Since the maximum processing load L max read from the storage unit 235 is 5 , in step S202 of FIG. Generate {(P up , P up , P up ), (P up , P up , p v303 ), (P up , p v303 , P up ), (p v303 , P up , P up )}.

次に、図7のステップS203の処理に基づいて、要素選択部233aは、集合Λの各要素において、全ての端末装置30A、30B、30Cの映像体感品質の総和が最大となる要素Λqmaxを選択する。ここでは、端末装置30Aに、符号化パラメータPupを用いて映像データを配信する際の映像体感品質Q(v301,Pup)が4.0であり、端末装置30Aに、符号化パラメータpv303を用いて映像データを配信する際の映像体感品質Q(v301,pv303)が2.0である場合について説明する。 Next, based on the process of step S203 in FIG. 7, the element selection unit 233a selects an element Λ qmax that maximizes the total sum of the visual quality of all the terminal devices 30A, 30B, and 30C in each element of the set Λ. select. Here, the video quality Q (v301, P up ) when video data is distributed to the terminal device 30A using the coding parameter P up is 4.0, and the terminal device 30A receives the coding parameter p v303 A case will be described where the visual quality Q (v301, p v303 ) is 2.0 when distributing video data using .

また、端末装置30Bに、符号化パラメータPupを用いて映像データを配信する際の映像体感品質Q(v302,Pup)が4.0であり、端末装置30Bに、符号化パラメータpv303を用いて映像データを配信する際の映像体感品質Q(v302,pv303)が2.0である場合について説明する。
また、端末装置30Cに、符号化パラメータPupを用いて映像データを配信する際の映像体感品質Q(v303,Pup)が0.5であり、端末装置30Cに、符号化パラメータpv303を用いて映像データを配信する際の映像体感品質Q(v303,pv303)が2.0である場合について説明する。
Further, the video quality Q (v302, P up ) when video data is distributed to the terminal device 30B using the coding parameter P up is 4.0, and the coding parameter p v303 is transmitted to the terminal device 30B. A case will be described where the visual quality Q (v302, p v303 ) is 2.0 when distributing the video data using this.
Further, the video quality of experience Q (v303, P up ) when video data is distributed to the terminal device 30C using the coding parameter P up is 0.5, and the coding parameter p v303 is transmitted to the terminal device 30C. A case will be described where the visual quality Q (v303, p v303 ) is 2.0 when distributing video data.

集合Λの要素(Pup,Pup,Pup)における映像体感品質の総和Q(Λ)は、Q(Λ)=4.0+4.0+0.5=8.5となる。
集合Λの要素(Pup,Pup,pv303)における映像体感品質の総和Q(Λ)は、Q(Λ)=4.0+4.0+2.0=10.0となる。
集合Λの要素(Pup,pv303,Pup)における映像体感品質の総和Q(Λ)は、Q(Λ)=4.0+2.0+0.5=6.5となる。
集合Λの要素(pv303,Pup,Pup)における映像体感品質の総和Q(Λ)は、Q(Λ)=2.0+4.0+0.5=6.5となる。
よって、要素選択部233aは、映像体感品質の総和が最大となるQ(Λ)が得られる要素(Pup,Pup,pv303)を選択する。
The total sum Q(Λ 0 ) of the visual quality of the elements (P up , P up , P up ) of the set Λ is Q(Λ 0 )=4.0+4.0+0.5=8.5.
The total sum Q(Λ 0 ) of the visual quality of the elements (P up , P up , p v303 ) of the set Λ is Q(Λ 1 )=4.0+4.0+2.0=10.0.
The total sum Q(Λ 0 ) of the visual quality of the elements (P up , p v303 , P up ) of the set Λ is Q(Λ 2 )=4.0+2.0+0.5=6.5.
The total sum Q(Λ 0 ) of the visual quality of the elements (p v303 , P up , P up ) of the set Λ is Q(Λ 3 )=2.0+4.0+0.5=6.5.
Therefore, the element selection unit 233a selects the elements (P up , P up , p v303 ) that provide Q(Λ 1 ) that maximizes the total sum of visual quality.

次に、符号化パラメータ決定部234aは、選択されたΛqmax(ここでは、要素(Pup,Pup,pv303))から、データ配信装置10に送信する符号化パラメータと、端末装置30A、30B、30Cに対してトランスコードを行うか否かと、端末装置30A、30B、30Cに対してトランスコードを行う場合に各端末装置30A、30B、30Cに対して用いられる符号化パラメータを決定する。ここでは、Λqmaxの中で、最大の映像ビットレートを持つ符号化パラメータは、Pupである。そのため、符号化パラメータ決定部234aは、符号化パラメータ送信部26を介して、符号化パラメータPupを、データ配信装置10に送信することにより、データ配信装置10に、符号化パラメータPupを用いて圧縮符号化させ、データ中継装置20に送信させる。 Next, the coding parameter determination unit 234a selects the selected Λ qmax (here, the elements (P up , P up , p v303 )) to transmit the coding parameters to the data distribution device 10, the terminal device 30A, It determines whether or not to transcode the terminal devices 30B and 30C, and the encoding parameters to be used for the terminal devices 30A, 30B and 30C when transcoding is to be performed for the terminal devices 30A, 30B and 30C. Here, the encoding parameter with the maximum video bitrate in Λ qmax is P up . Therefore, the coding parameter determination unit 234a transmits the coding parameter P up to the data distribution device 10 via the coding parameter transmission unit 26, thereby allowing the data distribution device 10 to use the coding parameter P up . compression-encoding, and transmitted to the data relay device 20 .

一方、選択したΛqmax(ここでは、要素(Pup,Pup,pv303))では、端末装置30Aには、符号化パラメータPupが割り当てられており、データ配信装置10から受信する映像データで用いられている符号化パラメータPupがと同じであるため、データ中継装置20のトランスコード部24は、データ配信装置10から受信する映像データについて、トランスコードを行うことなく、端末装置30Aに送信する。
また、選択したΛqmaxでは、端末装置30Bには、符号化パラメータPupが割り当てられているため、データ中継装置20のトランスコード部24は、データ配信装置10から受信する映像データについて、トランスコードを行うことなく、端末装置30Bに送信する。
On the other hand, in the selected Λ qmax (here, elements (P up , P up , p v303 )), the coding parameter P up is assigned to the terminal device 30A, and the video data received from the data distribution device 10 , the transcoding unit 24 of the data relay device 20 transmits the video data received from the data distribution device 10 to the terminal device 30A without transcoding. Send.
Also, with the selected Λ qmax , the encoding parameter P up is assigned to the terminal device 30B. is transmitted to the terminal device 30B without performing

また、選択したΛqmaxでは、端末装置30Cには、符号化パラメータpv303が割り当てられているため、データ中継装置20のトランスコード部24は、データ配信装置10から受信する映像データを、符号化パラメータpv303を用いてトランスコードして、端末装置30Cに送信する。
これにより、データ中継装置20は、複数の端末装置30A、30B、30Cに、映像データを配信する場合に、データ中継装置20のトランスコード処理による処理負荷を、最大処理負荷Lmaxよりも小さくしつつ、全ての端末装置30A、30B、30Cの映像体感品質の総和Q(Λ)を最大化することができる。
In the selected Λ qmax , the encoding parameter p v 303 is assigned to the terminal device 30C. Transcode using the parameter pv303 and transmit to the terminal device 30C.
As a result, when the data relay device 20 distributes the video data to the plurality of terminal devices 30A, 30B, and 30C, the processing load due to the transcoding process of the data relay device 20 is made smaller than the maximum processing load Lmax . while maximizing the sum Q(Λ 1 ) of the visual quality of all the terminal devices 30A, 30B, and 30C.

[第2の実施形態]
次に、本発明の第2の実施形態について説明する。なお、第2の実施形態が、第1の実施形態と同様の構成を採り、又は、同様の処理を行う部分については、それらの説明を省略する。なお、第1の実施形態では、最大処理負荷Lmaxを用いて、端末装置30に映像データを送信する際に用いる符号化パラメータを決定する場合について説明したが、第2の実施形態では、最大処理負荷Lmaxではなく、独自評価値Wを用いて、符号化パラメータを決定する場合について説明する。
[Second embodiment]
Next, a second embodiment of the invention will be described. Note that descriptions of portions in which the second embodiment adopts the same configuration or performs the same processing as in the first embodiment will be omitted. In the first embodiment, the maximum processing load Lmax is used to determine the encoding parameters used when transmitting video data to the terminal device 30. However, in the second embodiment, the maximum processing load Lmax is used. A case in which the encoding parameter is determined using the unique evaluation value W instead of the load Lmax will be described.

図13は、本発明の第2の実施形態によるデータ中継システム100を構成するデータ中継装置20の構成を示すブロック図である。
第2の実施形態では、データ中継装置20が、符号化パラメータ制御部23a(図4)の代わりに、符号化パラメータ制御部23b(図13)を備えている点において、第1の実施形態と相違する。
図13に示すように、符号化パラメータ制御部23bは、第1の集合生成部231、第2の集合生成部232b、要素選択部233b、符号化パラメータ決定部234b、記憶部235を備える。
FIG. 13 is a block diagram showing the configuration of the data relay device 20 that constitutes the data relay system 100 according to the second embodiment of the present invention.
The second embodiment differs from the first embodiment in that the data relay device 20 includes an encoding parameter control unit 23b (FIG. 13) instead of the encoding parameter control unit 23a (FIG. 4). differ.
As shown in FIG. 13, the encoding parameter control unit 23b includes a first set generation unit 231, a second set generation unit 232b, an element selection unit 233b, a coding parameter determination unit 234b, and a storage unit 235.

図14は、本発明の第2の実施形態によるデータ中継装置20の符号化パラメータ制御部23b(図13)の処理を示すフローチャートである。
始めに、符号化パラメータ制御部23bの第1の集合生成部231は、データ配信装置10からデータ中継装置20に送信される映像データに用いられている符号化パラメータと、データ中継装置20から各端末装置30A、30B、30Cに送信される映像データの送信に用いられている符号化パラメータの集合Pを生成する(ステップS701)。
FIG. 14 is a flow chart showing processing of the encoding parameter control section 23b (FIG. 13) of the data relay device 20 according to the second embodiment of the present invention.
First, the first set generation unit 231 of the encoding parameter control unit 23b generates the encoding parameters used for the video data transmitted from the data distribution device 10 to the data relay device 20 and each A set P of encoding parameters used for transmission of video data to be transmitted to the terminal devices 30A, 30B, and 30C is generated (step S701).

次に、符号化パラメータ制御部23bの第2の集合生成部232bは、各端末装置30A、30B、30Cに対して、ステップS701で生成された集合Pの符号化パラメータを任意のパターンで割り当てた集合Λを生成する(ステップS702)。
次に、符号化パラメータ制御部23bの要素選択部233bは、ステップS702で生成された集合Λの各要素において、独自評価値Wが、最大となる要素Λwmaxを選択する(ステップS703)。
Next, the second set generation unit 232b of the coding parameter control unit 23b assigns the coding parameters of the set P generated in step S701 to each of the terminal devices 30A, 30B, and 30C in an arbitrary pattern. A set Λ is generated (step S702).
Next, the element selection unit 233b of the encoding parameter control unit 23b selects the element Λ wmax with the maximum unique evaluation value W among the elements of the set Λ generated in step S702 (step S703).

次に、符号化パラメータ制御部23bの符号化パラメータ決定部234bは、選択した要素Λwmaxに基づき、各端末装置30A、30B、30Cに送信する映像データにトランスコードを行うか否か、トランスコードに用いる符号化パラメータを決定するとともに、データ配信装置10からデータ中継装置20に映像データを送信させる際に用いられる符号化パラメータを決定する(ステップS704)。 Next, based on the selected element Λ wmax , the encoding parameter determination unit 234b of the encoding parameter control unit 23b decides whether or not to transcode the video data to be transmitted to each of the terminal devices 30A, 30B, and 30C. In addition to determining the encoding parameters used for transmission of the video data from the data delivery device 10 to the data relay device 20 (step S704).

なお、図14のステップS701の処理は、第1の実施形態における図7のステップS201の処理と同じであり、その処理の詳細は、第1の実施形態における図8と同じであるため、その説明を省略する。
また、第1の実施形態では、図7のステップS204の処理(及び、図11のフローチャートの処理)において、Λqmaxを用いていたが、第2の実施形態の図14のステップS704の処理では、Λqmaxの代わりに、Λwmaxを用いるため、図14のステップS704の処理については、詳細なフローチャートの説明を省略する。
Note that the processing in step S701 of FIG. 14 is the same as the processing of step S201 in FIG. 7 in the first embodiment, and the details of the processing are the same as in FIG. 8 in the first embodiment. Description is omitted.
In the first embodiment, Λ qmax was used in the process of step S204 in FIG. 7 (and the process of the flowchart in FIG. 11), but in the process of step S704 in FIG. 14 of the second embodiment, , Λ qmax is used instead of Λ qmax , the detailed description of the flow chart for the process of step S704 in FIG. 14 is omitted.

図15は、本発明の第2の実施形態によるデータ中継装置20の符号化パラメータ制御部23bの第2の集合生成部232b(図13)の処理を示すフローチャートである。図15に示すフローチャートは、図14のフローチャートのステップS702の処理を、具体的に示しており、第2の集合生成部232bが、集合Λを生成する処理を示している。
なお、第2の実施形態においても、第1の実施形態と同様に、符号化パラメータp(X)の大小を比較する場合は、映像ビットレートの大小を比較する場合について説明する。
FIG. 15 is a flow chart showing processing of the second set generator 232b (FIG. 13) of the encoding parameter controller 23b of the data relay device 20 according to the second embodiment of the present invention. The flowchart shown in FIG. 15 specifically shows the process of step S702 in the flowchart of FIG. 14, and shows the process of generating the set Λ by the second set generation unit 232b.
Also in the second embodiment, as in the first embodiment, when comparing the magnitude of the encoding parameter p(X), the case of comparing the magnitude of the video bit rate will be described.

始めに、第2の集合生成部232bは、図8のフローチャートに示す処理に基づいて生成された符号化パラメータの集合Pを、第1の集合生成部231から取得する(ステップS801)。
次に、第2の集合生成部232bは、集合Λを、空集合Φを用いて初期化する(ステップS802)。
First, the second set generation unit 232b acquires the coding parameter set P generated based on the processing shown in the flowchart of FIG. 8 from the first set generation unit 231 (step S801).
Next, the second set generator 232b initializes the set Λ using the empty set Φ (step S802).

次に、第2の集合生成部232bは、ステップS801で取得された集合Pの符号化パラメータを、n台の端末装置30に対して、任意のパターンで割り当てていき、割当パターンを作成する。そして、第2の集合生成部232bは、割当パターンを1つずつ取り出していき、次の割当パターンがあるか否かについて判定する(ステップS803)。次の割当パターンが無い場合には(ステップS803でNO)、第2の集合生成部232bは、図15で示すフローチャートの処理を終了する。一方、次の割当パターンが有る場合には(ステップS803でYES)、第2の集合生成部232bは、ステップS804の処理を行う。 Next, the second set generation unit 232b allocates the coding parameters of the set P obtained in step S801 to the n terminal devices 30 in arbitrary patterns to create allocation patterns. Then, the second set generation unit 232b extracts allocation patterns one by one and determines whether or not there is a next allocation pattern (step S803). If there is no next allocation pattern (NO in step S803), the second set generation unit 232b terminates the processing of the flowchart shown in FIG. On the other hand, if there is the next allocation pattern (YES in step S803), the second set generating unit 232b performs the process of step S804.

つまり、第2の集合生成部232bは、集合Λに、要素p(p∈P)を追加する(ステップS804)。
図15に示す処理を行うことにより、第1の実施形態の図7のステップS202で生成される集合Λとは異なり、全ての割当パターンを持つ集合Λが生成される。
That is, the second set generator 232b adds the element p i (p i εP) to the set Λ (step S804).
By performing the processing shown in FIG. 15, a set Λ having all allocation patterns is generated, unlike the set Λ generated in step S202 of FIG. 7 of the first embodiment.

図16は、本発明の第2の実施形態によるデータ中継装置20の符号化パラメータ制御部23bの要素選択部233b(図13)の処理を示すフローチャートである。図16に示すフローチャートは、図14のフローチャートのステップS703の処理を、具体的に示しており、要素選択部233bが、図15に示すフローチャートで生成した集合Λに基づいて、独自評価値Wが最大となる要素Λwmaxを選択する処理を示している。 FIG. 16 is a flow chart showing processing of the element selection unit 233b (FIG. 13) of the encoding parameter control unit 23b of the data relay device 20 according to the second embodiment of the present invention. The flowchart shown in FIG. 16 specifically shows the processing of step S703 in the flowchart in FIG. The process of selecting the maximum element Λ wmax is shown.

始めに、要素選択部233bは、通信品質取得部22から、i番目の端末装置30の通信品質v(i=0,1,・・・,n-1)を取得する(ステップS901)。
次に、要素選択部233bは、通信品質Xの端末装置30について、符号化パラメータYで、映像データを送信した場合の映像体感品質Q(X,Y)を取得する(ステップS902)。なお、第2の実施形態においても、映像体感品質Q(X,Y)は、第1の実施形態で説明した方法と同じ方法により算出される。
First, the element selection unit 233b acquires the communication quality v i (i=0, 1, . . . , n−1) of the i-th terminal device 30 from the communication quality acquisition unit 22 (step S901).
Next, the element selection unit 233b acquires the visual sensation quality Q(X, Y) when the video data is transmitted with the encoding parameter Y for the terminal device 30 with the communication quality X (step S902). Also in the second embodiment, the visual quality Q(X, Y) is calculated by the same method as described in the first embodiment.

次に、要素選択部233bは、第2の集合生成部232bから、任意の符号化パラメータの集合Λを取得する(ステップS903)。
次に、要素選択部233bは、データ中継装置が、符号化パラメータpを用いてトランスコードする場合の処理負荷L(p)を、記憶部235から読み出すことにより取得する(ステップS904)。なお、第2の実施形態においても、処理負荷L(p)は、第1の実施形態で説明した方法と同じ方法により算出される。
Next, the element selection unit 233b acquires an arbitrary encoding parameter set Λ from the second set generation unit 232b (step S903).
Next, the element selection unit 233b acquires the processing load L(p) when the data relay device performs transcoding using the encoding parameter p by reading it from the storage unit 235 (step S904). Also in the second embodiment, the processing load L(p) is calculated by the same method as described in the first embodiment.

次に、要素選択部233bは、処理負荷関数L’(p)=max(1,L(p))を定義する(ステップS905)。なお、トランスコード部24がトランスコードを行わない場合、処理負荷L(p)は、0となるが、処理負荷関数L’(p)は、1となる。
次に、要素選択部233bは、通信品質がXである端末装置30に対して、映像データを符号化パラメータYでトランスコードして送信する際の独自評価値W=(q/l)・Q(X,Y)/L’(Y)を定義する(ステップS906)。値q及び値lは、感度係数であり、端末装置30の視聴者から入力される値が使用される。独自評価値Wは、映像体感品質が増減するような符号化パラメータに対して比例して増減する特性を持つ。一方、独自評価値Wは、トランスコード処理負荷の増減に対しては反比例して増減する特性を持つ。
Next, the element selection unit 233b defines a processing load function L'(p)=max(1, L(p)) (step S905). When the transcoding unit 24 does not perform transcoding, the processing load L(p) is 0, but the processing load function L'(p) is 1.
Next, the element selection unit 233b determines the unique evaluation value W=(q/l)·Q when transcoding and transmitting the video data with the encoding parameter Y to the terminal device 30 whose communication quality is X. (X, Y)/L'(Y) is defined (step S906). A value q and a value l are sensitivity coefficients, and values input by the viewer of the terminal device 30 are used. The unique evaluation value W has a characteristic that it increases or decreases in proportion to the coding parameter that increases or decreases the visual quality. On the other hand, the unique evaluation value W has the characteristic of increasing or decreasing in inverse proportion to the increase or decrease of the transcoding processing load.

次に、要素選択部233bは、最大の独自評価値Wmax=0と設定するとともに、そのインデックスを0とすることにより、最大の独自評価値とそのインデックスを初期化する(ステップS907)。
次に、要素選択部233bは、ステップS903で取得した集合Λから、要素を1つずつ取り出していくことにより、残りの要素があるか否かについて判定する(ステップS908)。残りの要素が無い場合には(ステップS908でNO)、要素選択部233bは、図16に示すフローチャートの処理を終了する。一方、残りの要素が有る場合には(ステップS908でYES)、要素選択部233bは、ステップS909の処理を行う。
つまり、要素選択部233bは、独自評価値の総和W(Λ)=ΣW(v,p)(p∈Λ)を求める(ステップS909)。
Next, the element selection unit 233b sets the maximum unique evaluation value W max =0 and sets the index to 0, thereby initializing the maximum unique evaluation value and its index (step S907).
Next, the element selection unit 233b extracts elements one by one from the set Λ obtained in step S903, and determines whether or not there are remaining elements (step S908). If there are no remaining elements (NO in step S908), the element selection unit 233b terminates the processing of the flowchart shown in FIG. On the other hand, if there are remaining elements (YES in step S908), the element selection unit 233b performs the process of step S909.
In other words, the element selection unit 233b obtains the sum of unique evaluation values W(Λ i )=Σ j W(v j , p j ) (p j εΛ i ) (step S909).

そして、要素選択部233bは、Wmaxが、W(Λ)よりも小さいか否かについて判定する(ステップS910)。Wmaxが、W(Λ)以上である場合には(ステップS910でNO)、要素選択部233bは、前述したステップS908の処理を行う。一方、Wmaxが、W(Λ)よりも小さい場合には(ステップS910でYES)、要素選択部233bは、ステップS911の処理を行う。
つまり、要素選択部233bは、Wmaxを、W(Λ)とするとともに、インデックスを、iとすることにより、Wmax及びそのインデックスを更新する(ステップS911)。
Then, the element selection unit 233b determines whether or not W max is smaller than W(Λ i ) (step S910). If W max is equal to or greater than W(Λ i ) (NO in step S910), the element selection unit 233b performs the process of step S908 described above. On the other hand, when W max is smaller than W(Λ i ) (YES in step S910), the element selection unit 233b performs the process of step S911.
That is, the element selection unit 233b sets W max to W(Λ i ) and sets the index to i, thereby updating W max and its index (step S911).

図16に示すフローチャートの処理を行うことにより、独自評価値Wが最大となる割当パターン、つまり、トランスコード部24によるトランスコードの処理負荷が小さく、且つ、全ての端末装置30の映像体感品質の総和が大きくなる割当パターンΛwmax=Λindexを求めることができる。 By performing the processing of the flowchart shown in FIG. An allocation pattern Λ wmax = Λ index with a large sum can be obtained.

第2の実施形態によれば、独自評価値Wが最大となるような符号化パラメータのパターン、及び、端末装置30に送信する映像データにトランスコードを行うか否かについて決定することで、複数の端末装置30に映像データを配信する場合においても、データ中継装置20のトランスコード部24によるトランスコードの処理負荷を抑えつつ、全ての端末装置30の映像体感品質を最大化することができる。 According to the second embodiment, by determining the encoding parameter pattern that maximizes the unique evaluation value W and whether or not to transcode the video data to be transmitted to the terminal device 30, a plurality of Even when the video data is distributed to the terminal devices 30, it is possible to maximize the visual sensation quality of all the terminal devices 30 while suppressing the processing load of transcoding by the transcoding unit 24 of the data relay device 20.

次に、本発明の第2の実施形態の具体例について説明する。
なお、第2の実施形態の具体例では、データ中継装置20と、データ配信装置10、端末装置30A、30B、30Cとの間の通信品質が、図17の状態である場合について説明する。また、複数の端末装置30が、3台(端末装置30A、30B、30C)の場合について説明する。また、予め視聴者により入力される感度係数が、l=1、q=1である場合について説明する。
Next, a specific example of the second embodiment of the invention will be described.
In the specific example of the second embodiment, the case where the communication quality between the data relay device 20, the data delivery device 10, and the terminal devices 30A, 30B, and 30C is in the state shown in FIG. 17 will be described. Also, a case where there are three terminal devices 30 (terminal devices 30A, 30B, and 30C) will be described. Also, a case where the sensitivity coefficients previously input by the viewer are l=1 and q=1 will be described.

図17において、横軸は、時間を示しており、縦軸は、通信品質を示している。曲線gup2は、データ中継装置20と、データ配信装置10との間の通信品質(Cup2)を示している。また、曲線g21は、データ中継装置20と、端末装置30Aとの間の通信品質(C21)を示している。また、曲線g22は、データ中継装置20と、端末装置30Bとの間の通信品質(C22)を示している。また、曲線g23は、データ中継装置20と、端末装置30Cとの間の通信品質(C23)を示している。
図17では、任意の時刻において、通信品質Cup>C21>C22>C23となっている。図17では、通信品質Cup2が、他の通信品質C21、C22、C23と比較して、良くなっている。
In FIG. 17, the horizontal axis indicates time, and the vertical axis indicates communication quality. A curve g up2 indicates the communication quality (C up2 ) between the data relay device 20 and the data distribution device 10 . A curve g 21 indicates the communication quality (C 21 ) between the data relay device 20 and the terminal device 30A. A curve g 22 indicates the communication quality (C 22 ) between the data relay device 20 and the terminal device 30B. A curve g23 indicates the communication quality ( C23 ) between the data relay device 20 and the terminal device 30C.
In FIG. 17, the communication quality C up >C 21 >C 22 >C 23 at an arbitrary time. In FIG. 17, communication quality C up2 is better than other communication qualities C 21 , C 22 and C 23 .

始めに、図14のステップS701の処理に基づき、データ配信装置10からの映像データの送信、及び、各端末装置30A、30B、30Cへの映像データの送信に用いられている符号化パラメータの集合Pが生成される。
データ配信装置10との間の通信品質(Cup2)よりも高い品質の符号化パラメータで、トランスコード部24が圧縮符号化することによりトランスコードを行った場合、リアルタイムに映像を配信することができずに、映像再生の途絶や乱れが生じる。この問題を解決するため、データ配信装置10から、データ中継装置20を介して、各端末装置30A、30B、30Cに映像データを送信する際に用いられる符号化パラメータは、通信品質がCup2)以下の符号化パラメータを用いる。
First, based on the process of step S701 in FIG. 14, a set of encoding parameters used for transmission of video data from the data distribution device 10 and transmission of video data to each of the terminal devices 30A, 30B, and 30C. P is generated.
When the transcoding unit 24 performs compression encoding using an encoding parameter with a higher quality than the communication quality (C up2 ) with the data delivery device 10, video can be delivered in real time. As a result, video playback is interrupted or disturbed. In order to solve this problem, the encoding parameters used when transmitting the video data from the data distribution device 10 to the terminal devices 30A, 30B, and 30C via the data relay device 20 are set so that the communication quality is C up2 ). We use the following encoding parameters:

なお、ここでは、データ配信装置10からデータ中継装置20に送信されている映像データに用いられている符号化パラメータを、Pupとする。また、データ中継装置20から端末装置30Aに送信されている映像データに用いられている符号化パラメータを、Pv301とする。また、データ中継装置20から端末装置30Bに送信されている映像データに用いられている符号化パラメータを、pv302とする。また、データ中継装置20から端末装置30Cに送信されている映像データに用いられている符号化パラメータを、pv303とする。
図17に示す状況の場合には、端末装置30A、30B、30Cに映像データを送信する際に用いられる符号化パラメータの集合Pは、{Pup,pv301,pv302,pv303}となる。
Here, it is assumed that the encoding parameter used for the video data transmitted from the data delivery device 10 to the data relay device 20 is Pup . Also, let Pv301 be the encoding parameter used for the video data transmitted from the data relay device 20 to the terminal device 30A. Also, let pv302 be the encoding parameter used for the video data transmitted from the data relay device 20 to the terminal device 30B. Also, let pv303 be the encoding parameter used for the video data being transmitted from the data relay device 20 to the terminal device 30C.
In the case of the situation shown in FIG. 17, the set P of encoding parameters used when transmitting video data to the terminal devices 30A, 30B, and 30C is {P up , p v301 , p v302 , p v303 }. .

次に、図14のステップS702の処理に基づき、第2の集合生成部232bは、第1の集合生成部231が生成した集合Pの符号化パラメータを、各端末装置30A、30B、30Cに対して、任意のパターンで割り当てた集合Λを求める。
集合P={Pup,pv301,pv302,pv303}の各要素を、端末装置30A、30B、30Cに対して、任意のパターンで割り当てた場合、割当パターンは、64通りあるが、ここでは、説明を簡略化するために、端末装置30の通信品質を超える符号化パラメータは、割り当てられない場合について説明する。
Next, based on the process of step S702 in FIG. 14, the second set generation unit 232b sends the coding parameters of the set P generated by the first set generation unit 231 to each of the terminal devices 30A, 30B, and 30C. to obtain a set Λ assigned with an arbitrary pattern.
When each element of the set P = {P up , p v301 , p v302 , p v303 } is assigned to the terminal devices 30A, 30B, and 30C in an arbitrary pattern, there are 64 assignment patterns. In order to simplify the description, a case will be described where coding parameters exceeding the communication quality of the terminal device 30 are not assigned.

例えば、割当パターン(Pup,pv302,pv303)は、端末装置30Aの通信品質C21より高品質の符号化パラメータPupが、端末装置30Aに割り当てられているため、候補から除外する。このような処理を行う理由は、通信品質より大きなビットレートで符号化しても、映像データを送信しきれずに、遅延や映像の乱れが生じ、映像体感品質を著しく低下させ、結果として、独自評価値Wも著しく低下し、その割当パターンが選択されにくくなるからである。この条件に基づけば、第2の集合生成部232bが生成する集合Λは、Λ={(pv301,pv302,pv303),(pv301,pv303,pv303),(pv302,pv302,pv303),(pv302,pv303,pv303),(pv303,pv302,pv303),(pv303,pv303,pv303)}の6通りとなる。 For example, the assignment pattern (P up , p v302 , p v303 ) is excluded from the candidates because the terminal device 30A is assigned a coding parameter P up with a higher quality than the communication quality C 21 of the terminal device 30A. The reason for performing this kind of processing is that even if the video data is encoded at a bit rate higher than the communication quality, the video data cannot be transmitted completely, causing delays and video disturbances, resulting in a significant reduction in the video experience quality. This is because the value W will also drop significantly, making it difficult for that allocation pattern to be selected. Based on this condition, the set Λ generated by the second set generation unit 232b is Λ={( pv301 , pv302 , pv303 ), ( pv301 , pv303 , pv303 ), ( pv302 , p v302 , pv303 ), ( pv302 , pv303 , pv303 ), ( pv303 , pv302 , pv303 ), ( pv303 , pv303 , pv303 )}.

次に、図14のステップS703の処理に基づき、要素選択部233bは、集合Λの各要素において、独自評価値Wが最大となる要素Λwmaxを選択する。
ここでは、端末装置30Aに、符号化パラメータpv301を用いて映像データを配信する際の映像体感品質Q(v301,pv301)が3.0であり、端末装置30Aに、符号化パラメータpv302を用いて映像データを配信する際の映像体感品質Q(v301,pv302)が2.5であり、端末装置30Aに、符号化パラメータpv303を用いて映像データを配信する際の映像体感品質Q(v301,pv303)が2.0であり、端末装置30Aに、符号化パラメータpv303を用いて映像データを配信する際の映像体感品質Q(v301,pv303)が2.0である場合について説明する。
Next, based on the process of step S703 in FIG. 14, the element selection unit 233b selects the element Λ wmax with the maximum unique evaluation value W among the elements of the set Λ.
Here, the visual quality Q (v301, p v301 ) when distributing video data to the terminal device 30A using the coding parameter p v301 is 3.0, and the terminal device 30A receives the coding parameter p v302 is 2.5 when the video data is distributed using the coding parameter pv303 , and the video quality when the video data is distributed to the terminal device 30A using the coding parameter pv303 . Q (v301, p v303 ) is 2.0, and the visual quality Q (v301, p v303 ) when distributing video data to the terminal device 30A using the coding parameter p v303 is 2.0 A case will be described.

また、符号化パラメータpv302を用いてトランスコード部24によりトランスコードを行った際の処理負荷L(pv302)が4であり、符号化パラメータpv303を用いてトランスコード部24によりトランスコードを行った際の処理負荷L(pv303)が3である場合について説明する。
要素選択部233bは、各割当パターンの独自評価値Wを、順番に計算する。割当パターンΛ=(pv301,pv302,pv303)について、最大の符号化パラメータは、pv301であり、端末装置30Bに対しては、符号化パラメータpv302を用いてトランスコードを行い、端末装置30Cに対しては、符号化パラメータpv303を用いてトランスコードを行う必要がある。
Further, the processing load L( pv302 ) when the transcoding unit 24 performs transcoding using the encoding parameter pv302 is 4, and the transcoding unit 24 performs transcoding using the encoding parameter pv303 . A case where the processing load L(p v303 ) at the time of execution is 3 will be described.
The element selection unit 233b sequentially calculates the unique evaluation value W of each allocation pattern. For the allocation pattern Λ 0 = (p v301 , p v302 , p v303 ), the maximum encoding parameter is p v301 , and the terminal device 30B is transcoded using the encoding parameter p v302 , The terminal device 30C needs to be transcoded using the encoding parameter pv303 .

要素選択部233bは、端末装置30Aに対して符号化パラメータpv301を用いる場合の独自評価値W(v301,pv301)と、端末装置30Bに対して符号化パラメータpv302を用いる場合の独自評価値W(v302,pv302)と、端末装置30Cに対して符号化パラメータpv303を用いる場合の独自評価値W(v303,pv303)とを用いて独自評価値W(Λ)を、算出する。
具体的には、要素選択部233bは、独自評価値W(Λ)を、W(Λ)=W(v301,pv301)+W(v302,pv302)+W(v303,pv303)=(3.0/1)+(2.5/4)+(2.0/3)=4.291と算出する。
The element selection unit 233b determines the unique evaluation value W(v301, p v301 ) when using the encoding parameter p v301 for the terminal device 30A and the unique evaluation value when using the encoding parameter p v302 for the terminal device 30B. Calculate the unique evaluation value W (Λ 0 ) using the value W (v302, p v302 ) and the unique evaluation value W (v303, p v303 ) when the encoding parameter p v303 is used for the terminal device 30C. do.
Specifically, the element selection unit 233b selects the original evaluation value W(Λ 0 ) as W(Λ 0 )=W(v301, p v301 )+W(v302, p v302 )+W(v303, p v303 )=( 3.0/1)+(2.5/4)+(2.0/3)=4.291.

次の割当パターンΛ=(pv301,pv303,pv303)について、最大の符号化パラメータは、pv301であり、端末装置30B、30Cに対しては、符号化パラメータpv303を用いてトランスコードを行う必要がある。なお、本来であれば、データ中継装置20から端末装置30B及び30Cに映像データを送信する際には、同じ符号化パラメータpv303を用いてトランスコードされるため、1回だけ、符号化パラメータpv303を用いてトランスコードを行なえば良いが、ここでは、説明を簡略化するために、端末装置30B及び30Cのそれぞれについて、符号化パラメータpv303を用いたトランスコードが行われる場合について説明する。 For the following allocation pattern Λ 1 =(p v301 , p v303 , p v303 ), the maximum coding parameter is p v301 , and for the terminal devices 30B and 30C, the coding parameter p v303 is used for transcoding. code needs to be done. Originally, when video data is transmitted from the data relay device 20 to the terminal devices 30B and 30C, the same encoding parameter p v 303 is used for transcoding. v303 may be used for transcoding, but in order to simplify the explanation, a case where transcoding is performed using encoding parameter p v303 for each of the terminal devices 30B and 30C will be described here.

要素選択部233bは、端末装置30Aに対して符号化パラメータpv301を用いる場合の独自評価値W(v301,pv301)と、端末装置30Bに対して符号化パラメータpv303を用いる場合の独自評価値W(v302,pv303)と、端末装置30Cに対して符号化パラメータpv303を用いる場合の独自評価値W(v303,pv303)とを用いて独自評価値W(Λ)を、算出する。
具体的には、要素選択部233bは、独自評価値W(Λ)を、W(Λ)=W(v301,pv301)+W(v302,pv303)+W(v303,pv303)=(3.0/1)+(2.0/3)+(2.0/3)=4.333と算出する。
The element selection unit 233b determines the unique evaluation value W(v301, pv301 ) when the encoding parameter pv301 is used for the terminal device 30A, and the unique evaluation value when the encoding parameter pv303 is used for the terminal device 30B. Calculate the unique evaluation value W (Λ 1 ) using the value W (v302, p v303 ) and the unique evaluation value W (v303, p v303 ) when the encoding parameter p v303 is used for the terminal device 30C. do.
Specifically, the element selection unit 233b selects the unique evaluation value W(Λ 1 ) as W(Λ 1 )=W(v301, p v301 )+W(v302, p v303 )+W(v303, p v303 )=( 3.0/1)+(2.0/3)+(2.0/3)=4.333.

次の割当パターンΛ=(pv302,pv302,pv303)について、最大の符号化パラメータは、pv302であり、端末装置30Cに対しては、符号化パラメータpv303を用いてトランスコードを行う必要がある。
要素選択部233bは、端末装置30Aに対して符号化パラメータpv302を用いる場合の独自評価値W(v301,pv302)と、端末装置30Bに対して符号化パラメータpv302を用いる場合の独自評価値W(v302,pv302)と、端末装置30Cに対して符号化パラメータpv303を用いる場合の独自評価値W(v303,pv303)とを用いて独自評価値W(Λ)を、算出する。
具体的には、要素選択部233bは、独自評価値W(Λ)を、W(Λ)=W(v301,pv302)+W(v302,pv302)+W(v303,pv303)=(2.5/1)+(2.5/1)+(2.0/3)=5.666と算出する。
For the following allocation pattern Λ 2 = (p v302 , p v302 , p v303 ), the maximum encoding parameter is p v302 , and for the terminal device 30C, transcoding is performed using the encoding parameter p v303 . There is a need to do.
The element selection unit 233b determines the unique evaluation value W(v301, pv302 ) when the encoding parameter pv302 is used for the terminal device 30A and the unique evaluation value when the encoding parameter pv302 is used for the terminal device 30B. Calculate the unique evaluation value W (Λ 2 ) using the value W (v302, p v302 ) and the unique evaluation value W (v303, p v303 ) when the encoding parameter p v303 is used for the terminal device 30C. do.
Specifically, the element selection unit 233b selects the unique evaluation value W(Λ 2 ) as W(Λ 2 )=W(v301, p v302 )+W(v302, p v302 )+W(v303, p v303 )=( 2.5/1)+(2.5/1)+(2.0/3)=5.666.

次の割当パターンΛ=(pv302,pv303,pv303)について、最大の符号化パラメータは、pv302であり、端末装置30B、30Cに対しては、符号化パラメータpv303を用いてトランスコードを行う必要がある。なお、本来であれば、データ中継装置20から端末装置30B及び30Cに映像データを送信する際には、同じ符号化パラメータpv303を用いてトランスコードされるため、1回だけ、符号化パラメータpv303を用いてトランスコードを行なえば良いが、ここでは、説明を簡略化するために、端末装置30B及び30Cのそれぞれについて、符号化パラメータpv303を用いたトランスコードが行われる場合について説明する。 For the following allocation pattern Λ 3 =(p v302 , p v303 , p v303 ), the maximum coding parameter is p v302 , and for the terminal devices 30B and 30C, the coding parameter p v303 is used for transcoding. code needs to be done. Originally, when video data is transmitted from the data relay device 20 to the terminal devices 30B and 30C, the same encoding parameter p v 303 is used for transcoding. v303 may be used for transcoding, but in order to simplify the explanation, a case where transcoding is performed using encoding parameter p v303 for each of the terminal devices 30B and 30C will be described here.

要素選択部233bは、端末装置30Aに対して符号化パラメータpv302を用いる場合の独自評価値W(v301,pv302)と、端末装置30Bに対して符号化パラメータpv303を用いる場合の独自評価値W(v302,pv303)と、端末装置30Cに対して符号化パラメータpv303を用いる場合の独自評価値W(v303,pv303)とを用いて独自評価値W(Λ)を、算出する。
具体的には、要素選択部233bは、独自評価値W(Λ)を、W(Λ)=W(v301,pv302)+W(v302,pv303)+W(v303,pv303)=(2.5/1)+(2.0/3)+(2.0/3)=3.833と算出する。
The element selection unit 233b determines the unique evaluation value W(v301, pv302 ) when using the encoding parameter pv302 for the terminal device 30A and the unique evaluation value when using the encoding parameter pv303 for the terminal device 30B. Calculate the unique evaluation value W (Λ 2 ) using the value W (v302, p v303 ) and the unique evaluation value W (v303, p v303 ) when the coding parameter p v303 is used for the terminal device 30C. do.
Specifically, the element selection unit 233b selects the original evaluation value W(Λ 2 ) as W(Λ 2 )=W(v301, p v302 )+W(v302, p v303 )+W(v303, p v303 )=( 2.5/1)+(2.0/3)+(2.0/3)=3.833.

次の割当パターンΛ=(pv303,pv302,pv303)について、最大の符号化パラメータは、pv302であり、端末装置30A、30Cに対しては、符号化パラメータpv303を用いてトランスコードを行う必要がある。なお、本来であれば、データ中継装置20から端末装置30A及び30Cに映像データを送信する際には、同じ符号化パラメータpv303を用いてトランスコードされるため、1回だけ、符号化パラメータpv303を用いてトランスコードを行なえば良いが、ここでは、説明を簡略化するために、端末装置30A及び30Cのそれぞれについて、符号化パラメータpv303を用いたトランスコードが行われる場合について説明する。 For the following allocation pattern Λ 4 =(p v303 , p v302 , p v303 ), the maximum coding parameter is p v302 , and for the terminal devices 30A and 30C, the coding parameter p v303 is used for transcoding. code needs to be done. Originally, when video data is transmitted from the data relay device 20 to the terminal devices 30A and 30C, the same encoding parameter p v303 is used for transcoding. v303 may be used for transcoding, but for the sake of simplicity, a case where transcoding is performed using encoding parameter p v303 for each of the terminal devices 30A and 30C will be described here.

要素選択部233bは、端末装置30Aに対して符号化パラメータpv303を用いる場合の独自評価値W(v301,pv303)と、端末装置30Bに対して符号化パラメータpv302を用いる場合の独自評価値W(v302,pv302)と、端末装置30Cに対して符号化パラメータpv303を用いる場合の独自評価値W(v303,pv303)とを用いて独自評価値W(Λ)を、算出する。
具体的には、要素選択部233bは、独自評価値W(Λ)を、W(Λ)=W(v301,pv303)+W(v302,pv302)+W(v303,pv303)=(2.0/3)+(2.5/1)+(2.0/3)=3.833と算出する。
The element selection unit 233b determines the unique evaluation value W(v301, pv303 ) when the encoding parameter pv303 is used for the terminal device 30A, and the unique evaluation value when the encoding parameter pv302 is used for the terminal device 30B. Calculate the unique evaluation value W (Λ 3 ) using the value W (v302, p v302 ) and the unique evaluation value W (v303, p v303 ) when the encoding parameter p v303 is used for the terminal device 30C. do.
Specifically, the element selection unit 233b selects the original evaluation value W( Λ3 ) as W( Λ3 )=W(v301, pv303 )+W(v302, pv302 )+W(v303, pv303 )=( 2.0/3)+(2.5/1)+(2.0/3)=3.833.

最後の割当パターンΛ=(pv303,pv303,pv303)について、最大の符号化パラメータは、pv303となり、端末装置30A、30B、30Cに送信する映像データについて、トランスコードは不要となる。
要素選択部233bは、端末装置30Aに対して符号化パラメータpv303を用いる場合の独自評価値W(v301,pv303)と、端末装置30Bに対して符号化パラメータpv303を用いる場合の独自評価値W(v302,pv303)と、端末装置30Cに対して符号化パラメータpv303を用いる場合の独自評価値W(v303,pv303)とを用いて独自評価値W(Λ)を、算出する。
具体的には、要素選択部233bは、独自評価値W(Λ)を、W(Λ)=W(v301,pv303)+W(v302,pv303)+W(v303,pv303)=(2.0/1)+(2.0/1)+(2.0/1)=6.0と算出する。
For the final allocation pattern Λ 5 =(p v303 , p v303 , p v303 ), the maximum encoding parameter is p v303 , and transcoding is unnecessary for the video data to be transmitted to the terminal devices 30A, 30B, and 30C. .
The element selection unit 233b determines the unique evaluation value W(v301, pv303 ) when the encoding parameter pv303 is used for the terminal device 30A and the unique evaluation value when the encoding parameter pv303 is used for the terminal device 30B. Calculate the unique evaluation value W (Λ 5 ) using the value W (v302, p v303 ) and the unique evaluation value W (v303, p v303 ) when the coding parameter p v303 is used for the terminal device 30C. do.
Specifically, the element selection unit 233b selects the unique evaluation value W( Λ5 ) as W( Λ5 )=W(v301, pv303 )+W(v302, pv303 )+W(v303, pv303 )=( 2.0/1)+(2.0/1)+(2.0/1)=6.0.

要素選択部233bは、独自評価値W(Λ)~W(Λ)の中で、最大の値であるW(Λ)に基づき、Λwmaxとして、Λ=(pv303,pv303,pv303)を選択する。
次に、符号化パラメータ決定部234bは、選択されたΛwmax(ここでは、要素(pv303,pv303,pv303))から、データ配信装置10に送信する符号化パラメータと、端末装置30A、30B、30Cに対してトランスコードを行うか否かと、端末装置30A、30B、30Cに対してトランスコードを行う場合に各端末装置30A、30B、30Cに対して用いられる符号化パラメータを決定する。
Based on W(Λ 5 ), which is the maximum value among the unique evaluation values W(Λ 0 ) to W(Λ 5 ), the element selection unit 233b sets Λ wmax as Λ 5 = (p v303 , p v303 , p v303 ).
Next, the coding parameter determination unit 234b selects the selected Λ wmax (here, the elements (p v303 , p v303 , p v303 )), the coding parameters to be transmitted to the data distribution device 10, the terminal device 30A, It determines whether or not to transcode the terminal devices 30B and 30C, and the encoding parameters to be used for the terminal devices 30A, 30B and 30C when transcoding is to be performed for the terminal devices 30A, 30B and 30C.

ここでは、Λwmaxの中で、最大の映像ビットレートを持つ符号化パラメータは、pv303である。そのため、符号化パラメータ決定部234bは、符号化パラメータ送信部26を介して、符号化パラメータpv303を、データ配信装置10に送信することにより、データ配信装置10に、符号化パラメータpv303を用いて圧縮符号化させ、データ中継装置20に送信させる。 Here, the coding parameter with the maximum video bitrate in Λ wmax is p v303 . Therefore, the coding parameter determination unit 234b transmits the coding parameter pv303 to the data distribution device 10 via the coding parameter transmission unit 26, so that the data distribution device 10 uses the coding parameter pv303 . compression-encoding, and transmitted to the data relay device 20 .

一方、選択したΛwmax(ここでは、要素(pv303,pv303,pv303))では、端末装置30A、30B、30Cのいずれにも、符号化パラメータ送信部26からデータ配信装置10に通知される符号化パラメータpv303と同じ符号化パラメータpv303が割り当てられるため、データ中継装置20のトランスコード部24は、データ配信装置10から受信する映像データについて、トランスコードを行うことなく、端末装置30A、30B、30Cに送信する。
これにより、独自評価値Wが最大となるように、データ中継装置20は、複数の端末装置30A、30B、30Cに対して、映像データを配信することができる。
On the other hand, in the selected Λ wmax (here, elements (p v303 , p v303 , p v303 )), all of the terminal devices 30A, 30B, and 30C are notified from the coding parameter transmission unit 26 to the data distribution device 10. Since the same encoding parameter pv303 as the encoding parameter pv303 is assigned to the terminal device 30A, the transcoding unit 24 of the data relay device 20 does not transcode the video data received from the data distribution device 10. , 30B and 30C.
As a result, the data relay device 20 can distribute the video data to the plurality of terminal devices 30A, 30B, and 30C so that the unique evaluation value W is maximized.

図18は、最小構成を有するデータ中継装置200の構成を示すブロック図である。データ中継装置200は、符号化パラメータ決定部201、トランスコード部202を備えている。 FIG. 18 is a block diagram showing the configuration of data relay device 200 having the minimum configuration. The data relay apparatus 200 includes an encoding parameter determining section 201 and a transcoding section 202 .

図19は、データ中継装置200の処理を示すフローチャートである。
符号化パラメータ決定部201は、前記データ中継装置に関する所定の処理負荷Lmaxと、データ中継装置200がデータ配信装置10及び複数の端末装置30A、30B、30Cと通信する際の通信品質Cup1、C11、C12、C13と、複数の端末装置30A、30B、30Cにおける映像品質Q(X,Y)とに基づいて、符号化パラメータを決定する。
トランスコード部202は、符号化パラメータ決定部201が決定した符号化パラメータを用いて、データ配信装置10から受信したデータであって、複数の端末装置30A、30B、30Cに送信するデータに対して、トランスコードを行う。
FIG. 19 is a flow chart showing the processing of the data relay device 200. As shown in FIG.
The coding parameter determination unit 201 determines a predetermined processing load L max for the data relay device, communication quality C up1 when the data relay device 200 communicates with the data distribution device 10 and the plurality of terminal devices 30A, 30B, and 30C, Coding parameters are determined based on C 11 , C 12 , C 13 and video quality Q(X, Y) in the plurality of terminal devices 30A, 30B, 30C.
Transcoding section 202 uses the encoding parameters determined by encoding parameter determining section 201 to convert the data received from data distribution device 10 to the plurality of terminal devices 30A, 30B, and 30C. , transcoding.

なお、図2~5、13、18における各部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。 2 to 5, 13, and 18 can be recorded in a computer-readable recording medium, and the program recorded in the recording medium can be read and executed by a computer system. Each part may be processed by . It should be noted that the "computer system" referred to here includes hardware such as an OS and peripheral devices. Also, the "computer system" includes a WWW system provided with a home page providing environment (or display environment). The term "computer-readable recording medium" refers to portable media such as flexible discs, magneto-optical discs, ROMs and CD-ROMs, and storage devices such as hard discs incorporated in computer systems. In addition, "computer-readable recording medium" means a volatile memory (RAM) inside a computer system that acts as a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. , includes those that hold the program for a certain period of time.

例えば、本願のデータ中継装置の機能を実現するためのプログラムを、コンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムを、データ中継装置のコンピュータに読み込ませて実現する場合には、図20に示すような構成が用いられる。 For example, when a program for realizing the functions of the data relay device of the present application is recorded in a computer-readable recording medium, and the program recorded in the recording medium is read by the computer of the data relay device. , a configuration as shown in FIG. 20 is used.

図20は、上述したデータ中継装置の機能をプログラムで実現する場合におけるデータ中継装置300の構成を示すブロック図である。
データ中継装置300は、図7~11に示すフローチャートの処理、図14~16に示すフローチャートの処理、又は、図19に示すフローチャートの処理を、プログラムにより実行する。
データ中継装置300は、CPU301、主記憶装置302、補助記憶装置303、インタフェース304、バス305を備える。
CPU301は、データ中継装置300を構成する各部を制御する。例えば、CPU301は、主記憶装置302に記憶されているプログラムであって、上述したデータ中継装置20又はデータ中継装置200の機能を実現するためのプログラムを、主記憶装置302から読み出す。また、CPU301は、プログラムの実行中に取得したデータを、補助記憶装置303に記憶させ、必要に応じて、そのデータを読み出して利用する。
主記憶装置302は、HDD(Hard Disk Drive)などの大容量の記憶装置である。
補助記憶装置303は、メモリなどの小容量の記憶装置である。
インタフェース304は、データ中継装置と、データ配信装置10及び端末装置30との間で、データを送受信する。
バス305は、データ中継装置300を構成する各部に接続され、データ中継装置300を構成する各部の間で、データのやり取りを行う際に用いられる。
FIG. 20 is a block diagram showing the configuration of the data relay device 300 when the functions of the data relay device described above are implemented by a program.
The data relay device 300 executes the processes of the flowcharts shown in FIGS. 7 to 11, the processes of the flowcharts shown in FIGS. 14 to 16, or the processes of the flowchart shown in FIG. 19 by a program.
The data relay device 300 includes a CPU 301 , a main storage device 302 , an auxiliary storage device 303 , an interface 304 and a bus 305 .
The CPU 301 controls each unit that configures the data relay device 300 . For example, the CPU 301 reads from the main storage device 302 a program stored in the main storage device 302 for realizing the functions of the data relay device 20 or the data relay device 200 described above. In addition, the CPU 301 causes the auxiliary storage device 303 to store data acquired during execution of the program, and reads and uses the data as necessary.
The main storage device 302 is a large-capacity storage device such as an HDD (Hard Disk Drive).
The auxiliary storage device 303 is a small-capacity storage device such as a memory.
The interface 304 transmits and receives data between the data relay device, the data delivery device 10 and the terminal device 30 .
The bus 305 is connected to each component of the data relay device 300 and used to exchange data between the components of the data relay device 300 .

本発明の一態様は、データ中継装置を介して、複数の端末装置にデータを送信する場合に、データ中継装置における処理負荷を抑制するとともに、複数の端末装置で視聴されるデータの映像品質を向上させることが必要なデータ中継装置、データ中継方法及びプログラムなどに適用することができる。 According to one aspect of the present invention, when data is transmitted to a plurality of terminal devices via a data relay device, the processing load on the data relay device is suppressed and the video quality of the data viewed on the plurality of terminal devices is reduced. It can be applied to a data relay device, a data relay method, a program, etc. that need to be improved.

10・・・データ配信装置
11・・・符号化パラメータ受信部
12・・・符号化パラメータ制御部
13・・・データ記憶部
14・・・データ圧縮符号部
15・・・データ送信部
20・・・データ中継装置
21・・・データ受信部
22・・・通信品質取得部
23a・・・符号化パラメータ制御部
23b・・・符号化パラメータ制御部
24・・・トランスコード部
25・・・データ送信部
26・・・符号化パラメータ送信部
30、30A、30B、30C・・・端末装置
31・・・データ受信部
32・・・デコード部
33・・・表示部
34・・・通信品質測定部
35・・・通信品質送信部
100・・・データ中継システム
200・・・データ中継装置
201・・・符号化パラメータ決定部
202・・・トランスコード部
231・・・第1の集合生成部
232a・・・第2の集合生成部
232b・・・第2の集合生成部
233a、233b・・・要素選択部
234a、234b・・・符号化パラメータ決定部
235・・・記憶部
300・・・データ中継装置
301・・・CPU
302・・・主記憶装置
303・・・補助記憶装置
304・・・インタフェース
305・・・バス
N1・・・ネットワークN1
N2・・・ネットワークN2
Reference Signs List 10 Data delivery device 11 Encoding parameter receiving unit 12 Encoding parameter control unit 13 Data storage unit 14 Data compression encoding unit 15 Data transmission unit 20 Data relay device 21 Data receiving unit 22 Communication quality acquiring unit 23a Encoding parameter control unit 23b Encoding parameter control unit 24 Transcoding unit 25 Data transmission Unit 26 Encoding parameter transmission units 30, 30A, 30B, 30C Terminal device 31 Data reception unit 32 Decoding unit 33 Display unit 34 Communication quality measurement unit 35 ...communication quality transmission unit 100...data relay system 200...data relay device 201...encoding parameter determination unit 202...transcode unit 231...first set generation unit 232a... Second set generation unit 232b Second set generation units 233a, 233b Element selection units 234a, 234b Encoding parameter determination unit 235 Storage unit 300 Data relay device 301 CPU
302 Main storage device 303 Auxiliary storage device 304 Interface 305 Bus N1 Network N1
N2: Network N2

Claims (10)

データ中継装置であって、
前記データ中継装置で符号化パラメータを用いてトランスコードする場合の処理負荷と、前記データ中継装置がデータ配信装置及び複数の端末装置と通信する際の通信品質と、前記複数の端末装置における映像品質とに基づいて、符号化パラメータを決定する符号化パラメータ決定部と、
前記符号化パラメータ決定部が決定した前記符号化パラメータを用いて、前記データ配信装置から受信したデータであって、前記複数の端末装置に送信するデータに対して、トランスコードを行うトランスコード部と、
を備えるデータ中継装置。
A data relay device,
Processing load when the data relay device transcodes using the encoding parameter , communication quality when the data relay device communicates with the data distribution device and a plurality of terminal devices, and video quality in the plurality of terminal devices and a coding parameter determination unit that determines coding parameters based on
a transcoding unit that uses the encoding parameters determined by the encoding parameter determination unit to transcode the data received from the data distribution device and to be transmitted to the plurality of terminal devices; ,
A data relay device comprising:
前記符号化パラメータ決定部が決定した前記符号化パラメータに基づいて、前記データ配信装置が前記データ中継装置にデータを送信する際に用いられる符号化パラメータを決定し、その符号化パラメータを、前記データ配信装置に送信する送信部を、
更に備える請求項1に記載のデータ中継装置。
Based on the encoding parameters determined by the encoding parameter determining unit, the encoding parameters used when the data distribution device transmits data to the data relay device are determined, and the encoding parameters are used to transmit the data. A transmission unit that transmits to the distribution device,
2. The data relay device according to claim 1, further comprising:
前記符号化パラメータ決定部は、前記トランスコード部が前記トランスコードを行う際の処理負荷が、前記処理負荷を超えないように、かつ、前記映像品質が最大となるように、前記符号化パラメータを決定する
請求項1に記載のデータ中継装置。
The encoding parameter determination unit performs the encoding so that the processing load when the transcoding unit performs the transcoding does not exceed the processing load and the video quality is maximized. The data relay device according to claim 1, wherein the parameter is determined.
前記符号化パラメータ決定部は、前記処理負荷と前記映像品質とに基づいて、独自評価値を算出し、前記独自評価値が最大となるように、前記符号化パラメータを決定する
請求項1に記載のデータ中継装置。
2. The encoding parameter determination unit calculates a unique evaluation value based on the processing load and the video quality, and determines the encoding parameter so as to maximize the unique evaluation value. The data relay device according to .
前記符号化パラメータ決定部は、前記複数の端末装置ごとに、前記符号化パラメータを決定し、
前記トランスコード部は、前記複数の端末装置ごとに、前記符号化パラメータ決定部により決定された前記符号化パラメータを用いて、前記データをトランスコードする
請求項1から4のいずれかに記載のデータ中継装置。
The coding parameter determination unit determines the coding parameter for each of the plurality of terminal devices,
The data according to any one of claims 1 to 4, wherein the transcoding unit transcodes the data using the coding parameter determined by the coding parameter determining unit for each of the plurality of terminal devices. Relay device.
前記複数の端末装置ごとに決定された前記符号化パラメータを用いて、前記トランスコード部によりトランスコードされた前記データを、前記複数の端末装置に送信する送信部を更に備える
請求項1に記載のデータ中継装置。
2. The transmission unit according to claim 1, further comprising a transmission unit that transmits the data transcoded by the transcoding unit to the plurality of terminal devices using the encoding parameters determined for each of the plurality of terminal devices. Data relay device.
前記符号化パラメータ決定部は、前記データ配信装置から送信されるデータで用いられている符号化パラメータを超えないように、前記トランスコード部がトランスコードを行う際に用いる前記符号化パラメータを決定する
請求項1から6のいずれかに記載のデータ中継装置。
The encoding parameter determination unit determines the encoding parameters used when the transcoding unit performs transcoding so as not to exceed the encoding parameters used in the data transmitted from the data distribution device. The data relay device according to any one of claims 1 to 6.
前記符号化パラメータ決定部が決定し、前記複数の端末装置の少なくとも1つに割り当てられた符号化パラメータが、前記データ配信装置から送信されたデータで用いられている符号化パラメータと同じである場合には、前記トランスコード部は、前記データについてトランスコードを行うことなく、前記複数の端末装置の少なくとも1つに、前記データを送信する
請求項1から6のいずれかに記載のデータ中継装置。
the coding parameter determined by the coding parameter determination unit and assigned to at least one of the plurality of terminal devices is the same as the coding parameter used in the data transmitted from the data distribution device; 7. The data relay device according to any one of claims 1 to 6, wherein said transcoding unit transmits said data to at least one of said plurality of terminal devices without transcoding said data.
データ中継装置で符号化パラメータを用いてトランスコードする場合の処理負荷と、前記データ中継装置がデータ配信装置及び複数の端末装置と通信する際の通信品質と、前記複数の端末装置における映像品質とに基づいて、符号化パラメータを決定し、
決定した前記符号化パラメータを用いて、前記データ配信装置から受信したデータであって、前記複数の端末装置に送信するデータに対して、トランスコードを行う
データ中継方法。
The processing load when the data relay device transcodes using the encoding parameter , the communication quality when the data relay device communicates with the data distribution device and the plurality of terminal devices, and the video quality in the plurality of terminal devices determine the encoding parameters based on
A data relay method comprising: transcoding data received from the data delivery device and to be transmitted to the plurality of terminal devices, using the determined encoding parameter.
データ中継装置のコンピュータを、
前記データ中継装置で符号化パラメータを用いてトランスコードする場合の処理負荷と、前記データ中継装置がデータ配信装置及び複数の端末装置と通信する際の通信品質と、前記複数の端末装置における映像品質とに基づいて、符号化パラメータを決定する符号化パラメータ決定手段、
前記符号化パラメータ決定手段が決定した前記符号化パラメータを用いて、前記データ配信装置から受信したデータであって、前記複数の端末装置に送信するデータに対して、トランスコードを行うトランスコード手段、
として機能させるプログラム。
the computer of the data relay device,
Processing load when the data relay device transcodes using the encoding parameter , communication quality when the data relay device communicates with the data distribution device and a plurality of terminal devices, and video quality in the plurality of terminal devices Coding parameter determining means for determining coding parameters based on
Transcoding means for transcoding data received from the data distribution device and transmitted to the plurality of terminal devices, using the coding parameters determined by the coding parameter determination means;
A program that acts as
JP2019060992A 2019-03-27 2019-03-27 Data relay device, data relay method and program Active JP7310212B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019060992A JP7310212B2 (en) 2019-03-27 2019-03-27 Data relay device, data relay method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019060992A JP7310212B2 (en) 2019-03-27 2019-03-27 Data relay device, data relay method and program

Publications (2)

Publication Number Publication Date
JP2020162039A JP2020162039A (en) 2020-10-01
JP7310212B2 true JP7310212B2 (en) 2023-07-19

Family

ID=72640034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019060992A Active JP7310212B2 (en) 2019-03-27 2019-03-27 Data relay device, data relay method and program

Country Status (1)

Country Link
JP (1) JP7310212B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002044622A (en) 2000-03-13 2002-02-08 Sony Corp Method and device for supplying contents, recording medium, method and device for generating signal, method and device for conversion, and play-back terminal and its method
JP2004254248A (en) 2003-02-21 2004-09-09 Toshiba Corp Moving image conversion apparatus and monitoring system
WO2009122925A1 (en) 2008-03-31 2009-10-08 日本電気株式会社 Dynamic image conversion device, dynamic image delivery system, method for converting dynamic image and program
JP2012050085A (en) 2010-08-30 2012-03-08 Hitachi Ltd Administrative server, image distribution control system, image distribution control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002044622A (en) 2000-03-13 2002-02-08 Sony Corp Method and device for supplying contents, recording medium, method and device for generating signal, method and device for conversion, and play-back terminal and its method
JP2004254248A (en) 2003-02-21 2004-09-09 Toshiba Corp Moving image conversion apparatus and monitoring system
WO2009122925A1 (en) 2008-03-31 2009-10-08 日本電気株式会社 Dynamic image conversion device, dynamic image delivery system, method for converting dynamic image and program
JP2012050085A (en) 2010-08-30 2012-03-08 Hitachi Ltd Administrative server, image distribution control system, image distribution control method

Also Published As

Publication number Publication date
JP2020162039A (en) 2020-10-01

Similar Documents

Publication Publication Date Title
US11310546B2 (en) Distributed multi-datacenter video packaging system
KR101894420B1 (en) Adaptive video transcoding method and its system for maximizing transcoding server capacity
US8176199B2 (en) Content delivery system, communicating apparatus, communicating method, and program
EP2612495B1 (en) Adaptive streaming of video at different quality levels
US20140181266A1 (en) System, streaming media optimizer and methods for use therewith
Reznik et al. Optimal design of encoding profiles for ABR streaming
US10148990B2 (en) Video streaming resource optimization
ITTO20090486A1 (en) DYNAMIC CONTROLLER OF INDEPENDENT TRANSMISSION SPEED FROM THE GROUP OF IMAGES
US10491911B2 (en) Transcoding on-the-fly (TOTF)
US11218663B2 (en) Video chunk combination optimization
JP2008524893A (en) Variable bit rate transmission method for solving transmission channel
CN114845106A (en) Video coding method, video coding device, storage medium and electronic equipment
Yao et al. Video streaming adaptation strategy for multiview navigation over DASH
Li et al. Towards an automatic parameter-tuning framework for cost optimization on video encoding cloud
WO2014066975A1 (en) Methods and systems for controlling quality of a media session
Fu et al. QoE-based SVC layer dropping in LTE networks using content-aware layer priorities
JP7310212B2 (en) Data relay device, data relay method and program
JP5956316B2 (en) Subjective image quality estimation apparatus, subjective image quality estimation method, and program
WO2017018072A1 (en) Delivery rate selection device, delivery rate selection method, and program
Yang et al. Sur-driven video coding rate control for jointly optimizing perceptual quality and buffer control
US11871061B1 (en) Automated adaptive bitrate encoding
WO2022185534A1 (en) Coding parameter derivation device, coding parameter derivation method, and program
Song et al. Towards user-oriented live video streaming
JP6231046B2 (en) Video data distribution management device, video data distribution management method, and program
Kamiss et al. Mpeg-Dash System via HTTP2 Protocol with HEVC Encoder for Video Streaming Services

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230418

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230606

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230619

R151 Written notification of patent or utility model registration

Ref document number: 7310212

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151