JP7483848B2 - Video distribution system, video distribution server, video distribution method, and video distribution program - Google Patents

Video distribution system, video distribution server, video distribution method, and video distribution program Download PDF

Info

Publication number
JP7483848B2
JP7483848B2 JP2022205080A JP2022205080A JP7483848B2 JP 7483848 B2 JP7483848 B2 JP 7483848B2 JP 2022205080 A JP2022205080 A JP 2022205080A JP 2022205080 A JP2022205080 A JP 2022205080A JP 7483848 B2 JP7483848 B2 JP 7483848B2
Authority
JP
Japan
Prior art keywords
distribution
server
video
connection destination
viewer
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
JP2022205080A
Other languages
Japanese (ja)
Other versions
JP2023040056A (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.)
Pixiv Inc
Original Assignee
Pixiv Inc
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 Pixiv Inc filed Critical Pixiv Inc
Priority to JP2022205080A priority Critical patent/JP7483848B2/en
Publication of JP2023040056A publication Critical patent/JP2023040056A/en
Application granted granted Critical
Publication of JP7483848B2 publication Critical patent/JP7483848B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、動画配信システム、動画配信サーバ、動画配信方法及び動画配信プログラムに関する。 The present invention relates to a video distribution system, a video distribution server, a video distribution method, and a video distribution program.

従来から、動画の配信は、配信者がサーバに動画を保存した後、視聴者がサーバにアクセスして所望の動画を視聴することが行われていた。近年は、動画をライブで配信することも行われている。ライブ配信を行う場合、例えば、配信者は、動画を配信してからすぐにユーザの反応を受け取ることができる等、新しいコミュニケーションの場としても考えられている。また、動画のライブ配信は、いろいろな用途にも利用することができると考えられる。このため、今後は、より多くの人が動画のライブ配信を行うことができるような場を提供することも重要と考えられている。 Traditionally, video distribution has involved a distributor saving a video on a server, after which viewers access the server to watch the desired video. In recent years, video has also been distributed live. Live distribution is considered a new form of communication, for example, because the distributor can receive user reactions immediately after distributing the video. It is also thought that live video distribution can be used for a variety of purposes. For this reason, it is considered important to provide a venue where more people can live stream videos in the future.

動画のライブ配信を行えるシステムには、例えば、特許文献1に記載されるようなシステムが存在する。特許文献1に記載されたシステムは、配信者端末、配信サーバ及びユーザ端末を備える。配信サーバは、配信者端末から送信された動画を受信すると、その動画を複数の視聴者に配信する構成である。また、特許文献1に記載されたシステムは、配信者端末と、視聴者端末との間で音声を使ったコミュニケーションが取れるようになっている。 Systems capable of live streaming of video include, for example, the system described in Patent Document 1. The system described in Patent Document 1 comprises a distributor terminal, a distribution server, and a user terminal. When the distribution server receives video transmitted from the distributor terminal, it distributes the video to multiple viewers. The system described in Patent Document 1 also allows communication between the distributor terminal and the viewer terminal using voice.

特開2018-101965号公報JP 2018-101965 A

ライブ配信を行う場合、ライブ配信システムには、配信者側の端末から送信された動画を、確実に視聴者側の端末に送信することが求められる。また一方で、より多くの人にライブ配信の場を提供するためには、ライブ配信システムを使用する顧客が制御しやすいシステムを構築することが求められる。 When live streaming, the live streaming system is required to reliably transmit the video sent from the distributor's device to the viewer's device. At the same time, to provide a venue for live streaming to as many people as possible, it is necessary to build a system that is easy for customers using the live streaming system to control.

本発明は、動画のライブ配信を行える、ユーザにとって制御しやすい動画配信システム、動画配信サーバ、動画配信方法及び動画配信プログラムを提供することを目的とする。 The present invention aims to provide a video distribution system, video distribution server, video distribution method, and video distribution program that can perform live video distribution and are easy for users to control.

一態様の動画配信システムは、配信者が使用する配信者端末と、顧客サーバと、視聴者が使用する視聴者端末と、配信者端末から送信された動画データを視聴者端末にライブ配信する配信サーバと、が通信ネットワークによって接続する動画配信システムであって、顧客サーバは、配信者端末の要求に応じて、配信サーバに動画を配信するための配信リクエストを送信するリクエスト送信制御部と、配信リクエストに応じて配信サーバから応答された動画データの送信先となる配信接続先を配信者端末に通知すると共に、視聴者の視聴のための接続先となる視聴接続先を視聴者端末に通知する通知部と、を備え、配信者端末は、配信サーバとの間でデータを送受信する配信者通信部と、通知部によって通知された配信接続先に動画データを送信するよう配信者通信部を制御するデータ送信制御部と、を備え、配信サーバは、配信者端末、顧客サーバ及び視聴者端末との間でそれぞれデータを送受信するサーバ通信部と、サーバ通信部によって配信リクエストを受信すると、配信者端末から送信される動画データを配信サーバで受け付けるための配信接続先と、視聴者が動画データの配信を受けるために視聴者が配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先をサーバ通信部によって顧客サーバに返信させる接続先設定部と、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部と、配信者端末から送信された動画データをサーバ通信部で受信すると、配信設定部によって設定された配信設定に応じた配信データを生成する生成部と、生成部によって生成された配信データを視聴接続先に対応付けて配信する配信部と、を備え、視聴者端末は、配信サーバとの間でデータを送受信する視聴者通信部と、視聴者通信部を介して配信サーバの視聴接続先に接続して、配信サーバから配信された配信データに基づいて動画を表示する表示部と、を備える。 In one aspect, the video distribution system is a video distribution system in which a distributor terminal used by a distributor, a customer server, a viewer terminal used by a viewer, and a distribution server that live-distributes video data transmitted from the distributor terminal to the viewer terminal are connected via a communication network, and the customer server includes a request transmission control unit that transmits a distribution request to distribute a video to the distribution server in response to a request from the distributor terminal, and a notification unit that notifies the distributor terminal of a distribution connection destination to which the video data responded from the distribution server in response to the distribution request is to be sent, and notifies the viewer terminal of a viewing connection destination to which the viewer will view the video. The distributor terminal includes a distributor communication unit that transmits and receives data to and from the distribution server, and a data transmission control unit that controls the distributor communication unit to transmit the video data to the distribution connection destination notified by the notification unit. The distribution server includes a server that transmits and receives data between the distributor terminal, the customer server, and the viewer terminal, respectively. a server communication unit; a connection destination setting unit that, when a distribution request is received by the server communication unit, sets a distribution connection destination for the distribution server to accept video data transmitted from the distributor terminal and a viewing connection destination where the viewer connects to the distribution server to receive the video data, and causes the server communication unit to return the distribution connection destination and the viewing connection destination to the customer server; a distribution setting unit that performs distribution settings for distributing videos to viewers based on the distribution request; a generation unit that, when video data transmitted from the distributor terminal is received by the server communication unit, generates distribution data according to the distribution settings set by the distribution setting unit; and a distribution unit that distributes the distribution data generated by the generation unit by associating it with the viewing connection destination. The viewer terminal includes a viewer communication unit that transmits and receives data to and from the distribution server, and a display unit that connects to the viewing connection destination of the distribution server via the viewer communication unit and displays videos based on the distribution data distributed from the distribution server.

一態様の動画配信システムでは、生成部は、動画データをデコードするデコード部と、デコード部でデコードされた動画データに基づいて、配信設定に応じて1又は複数の配信データを生成する変換部と、を備えることとしてもよい。 In one aspect of the video distribution system, the generation unit may include a decoding unit that decodes video data, and a conversion unit that generates one or more pieces of distribution data in accordance with a distribution setting based on the video data decoded by the decoding unit.

一態様の動画配信システムでは、デコード部は、動画データを構成するフレームを時系列順に並び替えて、所定の時間毎に複数のフレームに区切る処理を行い、変換部は、デコード部によって区切られたフレームをリアルタイム配信が可能なデータに順次変換することにより、配信データを生成することとしてもよい。 In one embodiment of the video distribution system, the decoding unit may rearrange the frames constituting the video data in chronological order and divide the data into a number of frames at predetermined time intervals, and the conversion unit may generate distribution data by sequentially converting the frames divided by the decoding unit into data that can be distributed in real time.

一態様の動画配信システムでは、配信設定部は、配信設定として、配信する動画の解像度、ビットレート及びフレームレートのうち少なくとも1つの設定を行い、生成部は、配信設定に応じて1又は複数の配信データを生成することとしてもよい。 In one aspect of the video distribution system, the distribution setting unit may set at least one of the resolution, bit rate, and frame rate of the video to be distributed as the distribution setting, and the generation unit may generate one or more pieces of distribution data according to the distribution setting.

一態様の動画配信サーバは、外部に配される配信者端末から送信された動画データを外部に配される視聴者端末にリアルタイムで配信する動画配信サーバであって、配信者端末、外部に配される顧客サーバ、及び、視聴者端末との間でデータを送受信するサーバ通信部と、顧客サーバから配信リクエストを受信すると、配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先をサーバ通信部によって顧客サーバに返信させる接続先設定部と、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部と、配信者端末から送信された動画データをサーバ通信部で受信すると、配信設定部によって設定された配信設定に応じた配信データを生成する生成部と、生成部によって生成された配信データを視聴接続先に対応付けて配信する配信部と、を備える。 The video distribution server of one embodiment is a video distribution server that distributes video data transmitted from an external distributor terminal to an external viewer terminal in real time, and includes: a server communication unit that transmits and receives data between the distributor terminal, an external customer server, and the viewer terminal; a connection destination setting unit that, upon receiving a distribution request from the customer server, sets a distribution connection destination for the video distribution server to accept the video data transmitted from the distributor terminal and a viewing connection destination where the viewer connects to the video distribution server to receive the video distribution, and causes the server communication unit to return the distribution connection destination and the viewing connection destination; a distribution setting unit that sets distribution settings for distributing the video to the viewer based on the distribution request; a generation unit that, upon receiving video data transmitted from the distributor terminal at the server communication unit, generates distribution data according to the distribution settings set by the distribution setting unit; and a distribution unit that distributes the distribution data generated by the generation unit by associating it with the viewing connection destination.

一態様の動画配信プログラムでは、動画配信サーバを構成するコンピュータが、サーバ通信部によって、外部に配される配信者端末、外部に配される顧客サーバ、及び、外部に配される視聴者端末との間でデータを送受信する通信ステップと、顧客サーバから配信リクエストを受信すると、配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先をサーバ通信部によって顧客サーバに返信させる接続先設定ステップと、配信リクエストを受信すると、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定ステップと、配信者端末から送信された動画データをサーバ通信部で受信すると、配信設定ステップによって設定された配信設定に応じた配信データを生成する生成ステップと、生成ステップによって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信ステップと、を実行する。 In one aspect of the video distribution program, a computer constituting a video distribution server executes a communication step in which a server communication unit transmits and receives data between an external distributor terminal, an external customer server, and an external viewer terminal; a connection destination setting step in which, upon receiving a distribution request from the customer server, a distribution connection destination for the video distribution server to receive video data transmitted from the distributor terminal and a viewing connection destination for the viewer to connect to the video distribution server to receive the video distribution, and the server communication unit returns the distribution connection destination and the viewing connection destination to the customer server; a distribution setting step in which, upon receiving a distribution request, a distribution setting is performed to distribute the video to the viewer based on the distribution request; a generation step in which, upon receiving video data transmitted from the distributor terminal by the server communication unit, distribution data is generated according to the distribution setting set by the distribution setting step; and a distribution step in which the distribution data generated by the generation step is associated with the viewing connection destination and distributed in real time.

一態様の動画配信プログラムは、動画配信サーバを構成するコンピュータに、外部に配される配信者端末と、外部に配される視聴者端末と、外部に配される顧客サーバとの間でそれぞれデータを送受信する通信機能と、配信者端末から配信リクエストを受信すると、配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を通信機能によって顧客サーバに返信させる接続先設定機能と、通信機能によって配信リクエストを受信すると、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定機能と、配信者端末から送信された動画データを通信機能で受信すると、配信設定機能によって設定された配信設定に応じた配信データを生成する生成機能と、生成機能によって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信機能と、を実現させる。 In one embodiment, the video distribution program provides a computer constituting a video distribution server with a communication function for transmitting and receiving data between an external distributor terminal, an external viewer terminal, and an external customer server, a connection destination setting function for setting a distribution connection destination for the video distribution server to receive video data transmitted from the distributor terminal and a viewing connection destination for the viewer to connect to the video distribution server in order to receive the video distribution, when a distribution request is received from the distributor terminal, and for returning the distribution connection destination and the viewing connection destination to the customer server via the communication function, a distribution setting function for setting distribution settings for distributing a video to a viewer based on the distribution request, when a distribution request is received via the communication function, a generation function for generating distribution data according to the distribution settings set by the distribution setting function, when video data transmitted from the distributor terminal is received via the communication function, and a distribution function for distributing the distribution data generated by the generation function in real time by associating it with the viewing connection destination.

一態様の動画配信システムは、配信者端末、視聴者端末及び配信サーバを備え、配信サーバによって、配信リクエストを受信すると配信接続先及び視聴接続先を設定すると共に、配信設定を行い、配信者端末から動画データを受信すると配信設定に応じた配信データを生成し、その配信データを視聴接続先に対応付けて視聴者端末に配信するので、動画のライブ配信を行えるシステムを提供することができる。
また、一態様の動画配信サーバ、動画配信方法及び動画配信プログラムは、上述した一態様の動画配信システムと同様の効果を奏することができる。
One embodiment of a video distribution system includes a distributor terminal, a viewer terminal, and a distribution server. When a distribution request is received by the distribution server, the distribution connection destination and viewing connection destination are set, and distribution settings are made. When video data is received from the distributor terminal, distribution data according to the distribution settings is generated, and the distribution data is associated with the viewing connection destination and distributed to the viewer terminal, thereby providing a system capable of live video distribution.
In addition, the video distribution server, the video distribution method, and the video distribution program according to one aspect can achieve the same effects as the video distribution system according to the aspect described above.

一実施形態に係る動画配信システムの概略について説明するための図である。1 is a diagram for explaining an overview of a video distribution system according to an embodiment. 一実施形態に係る動画配信システムについて説明するための第1のブロック図である。FIG. 1 is a first block diagram for explaining a video distribution system according to an embodiment. 一実施形態に係る動画配信システムについて説明するための第2のブロック図である。FIG. 2 is a second block diagram for explaining a video distribution system according to an embodiment. 配信者端末及び顧客サーバの処理の流れについて説明するためのフローチャートである。13 is a flowchart illustrating a process flow of a distributor terminal and a customer server. 動画配信サーバの処理の流れについて説明するためのフローチャートである。11 is a flowchart illustrating a process flow of a video distribution server. 生成部の処理の流れについて説明するためのフローチャートである。13 is a flowchart illustrating a process flow of a generation unit. 視聴者端末の処理の流れについて説明するためのフローチャートである。10 is a flowchart illustrating a process flow of a viewer terminal.

以下、本発明の一実施形態について説明する。
図1は、一実施形態に係る動画配信システムの概略について説明するための図である。
Hereinafter, one embodiment of the present invention will be described.
FIG. 1 is a diagram for explaining an overview of a video distribution system according to an embodiment.

動画配信システム1は、配信者端末10、動画配信サーバ20(配信サーバ)及び複数の視聴者端末30を備える。
配信者端末10は、例えば、被写体を撮像する撮像部(図示せず)を備える。配信者端末10は、撮像部によって被写体を撮像して動画データを生成し、その動画データを動画配信サーバ20に送信する。配信者端末10は、音声を取得するマイク部(図示せず)を備えることとしてもよい。この場合、配信者端末10は、マイク部によって取得した音声データを動画データに含ませることができる。
なお、配信者端末10で撮像する被写体は種々のものであってよい。配信者端末10は、一例として、イラストを描く時の様子を撮影することしてもよく、写真をコンピュータでレタッチする時の様子を撮影してもよい。又は、配信者端末10は、一例として、人物及び風景等を撮影することとしてもよい。
また、配信者端末10は、その配信者端末10の表示部(図示せず)に表示される画面を動画データとして生成することとしてもよい。
The moving image distribution system 1 includes a distributor terminal 10, a moving image distribution server 20 (distribution server), and a plurality of viewer terminals 30.
The distributor terminal 10 includes, for example, an imaging unit (not shown) that images a subject. The distributor terminal 10 images the subject using the imaging unit to generate video data, and transmits the video data to the video distribution server 20. The distributor terminal 10 may include a microphone unit (not shown) that acquires audio. In this case, the distributor terminal 10 can include audio data acquired by the microphone unit in the video data.
The subject captured by the distributor terminal 10 may be various. For example, the distributor terminal 10 may capture the process of drawing an illustration, or the process of retouching a photo with a computer. Alternatively, for example, the distributor terminal 10 may capture people, landscapes, etc.
Furthermore, the distributor terminal 10 may generate a screen to be displayed on a display unit (not shown) of the distributor terminal 10 as video data.

視聴者端末30は複数あり、それぞれが動画配信サーバ20に接続する。視聴者端末30は、一例として、数千台が動画配信サーバ20に接続することができる。図1に示す例では、視聴者端末30を2台示しているが、この例に限定されることはない。
動画配信サーバ20は、配信者端末10で生成された動画データを取得すると、その動画データをリアルタイムで配信できる配信データに変換し、配信データを視聴者端末30にライブ配信する。視聴者端末30は、配信者端末10によって生成される動画を、ほぼリアルタイムで視聴することができる。
There are a plurality of viewer terminals 30, each of which is connected to the video distribution server 20. As an example, several thousand viewer terminals 30 can be connected to the video distribution server 20. In the example shown in Fig. 1, two viewer terminals 30 are shown, but the number of viewer terminals 30 is not limited to this example.
When the video distribution server 20 acquires the video data generated by the distributor terminal 10, the video distribution server 20 converts the video data into distribution data that can be distributed in real time, and live distributes the distribution data to the viewer terminal 30. The viewer terminal 30 can view the video generated by the distributor terminal 10 in almost real time.

次に、動画配信システム1の詳細について説明する。
図2は、一実施形態に係る動画配信システムについて説明するための第1のブロック図である。
Next, the video distribution system 1 will be described in detail.
FIG. 2 is a first block diagram illustrating a video distribution system according to an embodiment.

動画配信システム1は、顧客サーバ40、配信者端末10、視聴者端末30及び動画配信サーバ20を備える。
配信者端末10は、動画を配信する配信者が使用する。配信者端末10は、例えば、スマートフォン、タブレット及びパーソナルコンピュータ等の情報処理端末である。
視聴者端末30は、配信者が配信した動画を視聴する視聴者が使用する。視聴者端末30は、例えば、スマートフォン、タブレット及びパーソナルコンピュータ等の情報処理端末である。
動画配信サーバ20は、顧客サーバ40、配信者端末10及び複数の視聴者端末30と通信ネットワークを介して接続可能である。
The moving image distribution system 1 includes a customer server 40, a distributor terminal 10, a viewer terminal 30, and a moving image distribution server 20.
The distributor terminal 10 is used by a distributor who distributes moving images. The distributor terminal 10 is, for example, an information processing terminal such as a smartphone, a tablet, or a personal computer.
The viewer terminal 30 is used by a viewer who views a video distributed by a distributor. The viewer terminal 30 is, for example, an information processing terminal such as a smartphone, a tablet, or a personal computer.
The moving image distribution server 20 can be connected to a customer server 40, a distributor terminal 10, and a plurality of viewer terminals 30 via a communication network.

顧客サーバ40は、リクエスト送信制御部41及び通知部42を備える。
リクエスト送信制御部41は、配信者端末10の要求に応じて、動画配信サーバ20に動画を配信するための配信リクエストを送信する。配信リクエストは、動画を配信するためのチャンネルの作成を要求する情報である。
The customer server 40 includes a request transmission control unit 41 and a notification unit 42 .
The request transmission control unit 41 transmits a distribution request for distributing a video to the video distribution server 20 in response to a request from the distributor terminal 10. The distribution request is information requesting the creation of a channel for distributing the video.

通知部42は、配信リクエストに応じて動画配信サーバ20から応答された動画データの送信先となる配信接続先を配信者端末10に通知すると共に、視聴者の視聴のための接続先となる視聴接続先を視聴者端末30に通知する。
通知部42は、視聴接続先を種々の手段により、視聴接続先を視聴者(視聴者端末30)に対して提供することができる。一例として、通知部42は、視聴者が顧客サーバ40にアクセスした場合、その視聴者の視聴者端末30に視聴接続先を通知する。又は、通知部42は、一例として、顧客サーバ40に予め登録している視聴者(視聴者端末30)に対して、視聴接続先を記載したメール等を送信することとしてもよい。又は、通知部42は、視聴接続先を配信者端末10に通知することも可能である。配信者端末10は、通知部42によって視聴接続先の通知を受けた場合、例えば、配信者自身のWebページ(一例として、ブログ及びホームページ等)及びSNS(Social Networking Service)等に視聴接続先を掲示することにより、視聴者に視聴接続先を通知する。
通知部42は、上述の例示の他にも、種々の方法で視聴接続先を視聴者(視聴者端末30)に通知することが可能である。
視聴者は、通知部42によって提供された視聴接続先にアクセスすることにより、配信者端末10から送信される動画をほぼリアルタイムで視聴することができる。
The notification unit 42 notifies the distributor terminal 10 of the distribution connection destination to which the video data responded from the video distribution server 20 in response to the distribution request will be sent, and also notifies the viewer terminal 30 of the viewing connection destination to which the viewer will connect for viewing.
The notification unit 42 can provide the viewing connection destination to the viewer (viewer terminal 30) by various means. As an example, when a viewer accesses the customer server 40, the notification unit 42 notifies the viewer terminal 30 of the viewer of the viewing connection destination. Alternatively, as an example, the notification unit 42 may send an email or the like containing the viewing connection destination to a viewer (viewer terminal 30) who has been registered in advance in the customer server 40. Alternatively, the notification unit 42 can notify the distributor terminal 10 of the viewing connection destination. When the distributor terminal 10 receives the notification of the viewing connection destination from the notification unit 42, the distributor terminal 10 notifies the viewer of the viewing connection destination by, for example, posting the viewing connection destination on the distributor's own web page (for example, a blog and a homepage, etc.) and SNS (Social Networking Service), etc.
The notification unit 42 can notify the viewer (viewer terminal 30) of the viewing connection destination in various ways other than the above examples.
By accessing the viewing connection destination provided by the notification unit 42, the viewer can view the video transmitted from the distributor terminal 10 in almost real time.

配信者端末10は、配信者通信部11及びデータ送信制御部13を備える。
配信者通信部11は、動画配信サーバ20との間でデータを送受信する。また、配信者通信部11は、顧客サーバ40との間でデータを送受信することとしてもよい。
The distributor terminal 10 includes a distributor communication unit 11 and a data transmission control unit 13 .
The distributor communication unit 11 transmits and receives data to and from the video distribution server 20. The distributor communication unit 11 may also transmit and receive data to and from the customer server 40.

データ送信制御部13は、動画配信サーバ20から応答された動画データの送信先となる配信接続先及び視聴者の視聴のための接続先となる視聴接続先を、顧客サーバ40を介して配信者通信部11によって受信すると、配信接続先に動画データを送信するよう配信者通信部11を制御する。ここで、配信者通信部11によって受信する情報は、配信接続先及び視聴接続先に加えて、配信接続先に配信者端末10が接続するための(配信接続先を配信者が利用するための)識別情報が含まれることとしてもよい。
配信者端末10の要求に応じて顧客サーバ40が動画配信サーバ20に配信リクエストを送信した場合、動画配信サーバ20は、配信リクエストに基づいて配信設定を行うと共に、配信接続先及び視聴者接続先に関する接続情報(チャンネル情報)を顧客サーバ40に返信する。
配信接続先は、動画配信サーバ20の制御部26に接続するための情報である。配信者端末10は、配信接続先に動画を配信することにより、リアルタイム配信が可能となる。
視聴接続先は、視聴者が配信者から配信される動画を視聴するために、動画配信サーバ20に接続するためのURL(Uniform Resource Locator(配信URL))である。
When the data transmission control unit 13 receives the distribution connection destination to which the video data is to be sent and the viewing connection destination to which the viewer views the video data, which are responded to from the video distribution server 20, by the distributor communication unit 11 via the customer server 40, the data transmission control unit 13 controls the distributor communication unit 11 to transmit the video data to the distribution connection destination. Here, the information received by the distributor communication unit 11 may include, in addition to the distribution connection destination and the viewing connection destination, identification information for connecting the distributor terminal 10 to the distribution connection destination (for the distributor to use the distribution connection destination).
When the customer server 40 sends a distribution request to the video distribution server 20 in response to a request from the distributor terminal 10, the video distribution server 20 performs distribution settings based on the distribution request and returns connection information (channel information) regarding the distribution connection destination and the viewer connection destination to the customer server 40.
The distribution connection destination is information for connecting to the control unit 26 of the moving image distribution server 20. The distributor terminal 10 distributes moving images to the distribution connection destination, thereby enabling real-time distribution.
The viewing connection destination is a URL (Uniform Resource Locator (distribution URL)) for connecting to the video distribution server 20 so that the viewer can view a video distributed by a distributor.

動画配信サーバ20は、サーバ通信部21、接続先設定部22、配信設定部23、生成部24、配信部25及び制御部26を備える。
サーバ通信部21は、配信者端末10、顧客サーバ40及び視聴者端末30との間でそれぞれデータを送受信する。
The video distribution server 20 includes a server communication unit 21, a connection destination setting unit 22, a distribution setting unit 23, a generation unit 24, a distribution unit 25, and a control unit 26.
The server communication unit 21 transmits and receives data between the distributor terminal 10, the customer server 40, and the viewer terminal 30, respectively.

接続先設定部22は、サーバ通信部21によって配信リクエストを受信すると、配信者端末10から送信される動画データを動画配信サーバ20で受け付けるための配信接続先と、視聴者が動画データの配信を受けるために視聴者が動画配信サーバ20に接続する視聴接続先とを設定する。接続先設定部22は、配信接続先及び視聴接続先をサーバ通信部21によって顧客サーバ40に返信させる。 When the connection destination setting unit 22 receives a distribution request via the server communication unit 21, it sets a distribution connection destination for the video distribution server 20 to accept the video data transmitted from the distributor terminal 10, and a viewing connection destination where the viewer connects to the video distribution server 20 to receive the distribution of the video data. The connection destination setting unit 22 causes the server communication unit 21 to return the distribution connection destination and the viewing connection destination to the customer server 40.

すなわち、接続先設定部22は、顧客サーバ40から送信された配信リクエストを受信すると、配信者端末10によって送信される動画データを受け付けるための、動画配信サーバ20の接続先(配信接続先)を設定する。また、接続先設定部22は、配信リクエストを受信すると、視聴者が動画を視聴するために接続する動画配信サーバ20の接続先(視聴接続先)を設定する。視聴接続先は、配信設定部23によって設定される、配信される動画の解像度、ビットレート及びフレームレートのうち少なくとも1つの設定に応じて接続先を設定することとしてもよい。接続先設定部22は、配信接続先及び視聴接続先それぞれの設定が終了すると、チャンネル情報としての接続先情報を顧客サーバ40に送信する。接続先情報は、配信接続先及び視聴接続先それぞれに関する情報を含む。
接続先設定部22は、配信設定部23によって後述する配信設定が終了した場合に、接続先情報を顧客サーバ40に送信することとしてもよい。
That is, when the connection destination setting unit 22 receives a distribution request transmitted from the customer server 40, it sets a connection destination (distribution connection destination) of the video distribution server 20 for accepting video data transmitted by the distributor terminal 10. Also, when the connection destination setting unit 22 receives a distribution request, it sets a connection destination (viewing connection destination) of the video distribution server 20 to which the viewer connects in order to view the video. The viewing connection destination may be set according to at least one of the settings of the resolution, bit rate, and frame rate of the video to be distributed, which are set by the distribution setting unit 23. When the connection destination setting unit 22 finishes setting each of the distribution connection destination and the viewing connection destination, it transmits connection destination information as channel information to the customer server 40. The connection destination information includes information on each of the distribution connection destination and the viewing connection destination.
The connection destination setting unit 22 may transmit the connection destination information to the customer server 40 when the distribution setting unit 23 has completed the distribution setting described below.

配信設定部23は、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う。配信設定は、例えば、ストリーム数及び各ストリームの設定等である。各ストリームの設定は、例えば、配信する動画の解像度、ビットレート及びフレームレートのうち少なくとも1つの設定である。 The distribution setting unit 23 performs distribution settings for distributing videos to viewers based on a distribution request. The distribution settings include, for example, the number of streams and settings for each stream. The settings for each stream include, for example, at least one of the resolution, bit rate, and frame rate of the video to be distributed.

生成部24は、配信者端末10から送信された動画データをサーバ通信部21で受信すると、配信設定部23によって設定された配信設定に応じた配信データを生成する。具体的には、生成部24は、デコード部241及び変換部242を備えることとしてもよい。 When the server communication unit 21 receives the video data transmitted from the distributor terminal 10, the generation unit 24 generates distribution data according to the distribution settings set by the distribution setting unit 23. Specifically, the generation unit 24 may include a decoding unit 241 and a conversion unit 242.

デコード部241は、動画データをデコードする。具体的には、デコード部241は、配信者端末10から送信された動画データを構成するフレームを時系列順に並び替えて、所定の時間毎に複数のフレームに区切る処理を行う。配信者端末10から動画配信サーバ20に動画データが送信される場合、データ送信の形式によってはフレームが時系列順に送信されないことがある。このため、デコード部241は、フレームが時系列順に並ぶようにフレームを並び替える。また、デコード部241は、すなわち、時系列順に並ぶ複数のフレームを所定時間毎(例えば、1秒とか2秒単位長さであってもよいし、フレーム数の所定枚数(例えば、48フレーム単位など)にまとめる処理を行う。デコード部241は、複数のフレームをまとめることとして、配信者端末10から送信される動画データを所定時間毎に区切ることにより複数の動画セグメントを順次生成する。 The decoding unit 241 decodes the video data. Specifically, the decoding unit 241 performs a process of rearranging the frames constituting the video data transmitted from the distributor terminal 10 in chronological order and dividing the video data into multiple frames every predetermined time. When video data is transmitted from the distributor terminal 10 to the video distribution server 20, the frames may not be transmitted in chronological order depending on the data transmission format. For this reason, the decoding unit 241 rearranges the frames so that they are arranged in chronological order. In addition, the decoding unit 241 performs a process of grouping multiple frames arranged in chronological order into a predetermined time (for example, the length may be in units of 1 second or 2 seconds, or a predetermined number of frames (for example, in units of 48 frames). The decoding unit 241 performs a process of grouping multiple frames into a predetermined time, and sequentially generates multiple video segments by dividing the video data transmitted from the distributor terminal 10 into a predetermined time.

変換部242は、デコード部241でデコードされた動画データに基づいて、配信設定に応じて1又は複数の配信データを生成する。具体的には、変換部242は、デコード部241によってまとめられた複数のフレームをリアルタイム配信が可能なデータに順次変換することにより、配信データを生成する。変換部242は、一例として、配信設定として複数の解像度が設定されている場合、それぞれの解像度毎に配信データを生成する。また、変換部242は、一例として、配信設定として複数のビットレートが設定されている場合、それぞれのビットレート毎に配信データに変換する。また、変換部242は、一例として、配信設定として複数のフレームレートが設定されている場合、それぞれのフレームレート毎に配信データを生成する。また、変換部242は、配信設定として、解像度、ビットレート及びフレームレートの少なくとも1つについて複数の設定がされていない場合(一例として、解像度について1つの設定のみされている場合)、1つの設定に応じて1つの配信データを生成することとしてもよい。
具体的な一例として、変換部242は、配信者端末10から送信される動画データの解像度が3840×2160のサイズの場合、配信設定に応じて、1920×1080、1280×720及び640×360それぞれのサイズの配信データに変換する。
The conversion unit 242 generates one or more pieces of distribution data according to the distribution settings based on the video data decoded by the decoding unit 241. Specifically, the conversion unit 242 generates distribution data by sequentially converting a plurality of frames compiled by the decoding unit 241 into data that can be distributed in real time. As an example, when a plurality of resolutions are set as the distribution settings, the conversion unit 242 generates distribution data for each resolution. Also, as an example, when a plurality of bit rates are set as the distribution settings, the conversion unit 242 converts into distribution data for each bit rate. Also, as an example, when a plurality of frame rates are set as the distribution settings, the conversion unit 242 generates distribution data for each frame rate. Also, when a plurality of settings are not set for at least one of the resolution, bit rate, and frame rate as the distribution settings (as an example, when only one setting is set for the resolution), the conversion unit 242 may generate one piece of distribution data according to one setting.
As a specific example, when the resolution of video data sent from the distributor terminal 10 is 3840×2160, the conversion unit 242 converts it into distribution data of each size of 1920×1080, 1280×720, and 640×360 depending on the distribution settings.

変換部242は、デコード部241によって動画データを区切ることにより複数の動画セグメントが順次生成された場合、1の動画セグメントの全てを配信データに変換した後に、その配信データを配信することとしてもよい。
又は、変換部242は、デコード部241によって複数の動画セグメントが順次生成された場合、1の動画セグメントの全てが配信データに変換される前、すなわち、順次変換される配信データを順次配信することとしてもよい。すなわち、変換部242は、1の動画セグメントを順次変換して、配信が可能になるデータの単位になるまで配信データを記憶部(図示せず)に記憶し、配信データが配信可能なデータの単位になると、視聴者端末30に順次配信することとしてもよい。
生成部24は、後述する処理部243(図3参照)を備えることとしてもよい。
When multiple video segments are generated sequentially by dividing the video data by the decoding unit 241, the conversion unit 242 may convert all of one video segment into distribution data and then distribute the distribution data.
Alternatively, when a plurality of video segments are sequentially generated by the decoding unit 241, the conversion unit 242 may sequentially distribute the distribution data before all of one video segment is converted into distribution data, that is, the sequentially converted distribution data. That is, the conversion unit 242 may sequentially convert one video segment, store the distribution data in a storage unit (not shown) until the distribution data becomes a unit of data that can be distributed, and sequentially distribute the distribution data to the viewer terminal 30 when the distribution data becomes a unit of data that can be distributed.
The generation unit 24 may include a processing unit 243 (see FIG. 3) which will be described later.

配信部25は、生成部24によって生成された配信データを視聴接続先に対応付けて配信する。すなわち、配信部25は、視聴者端末30が視聴接続先に接続すると、生成部24によって生成された配信データに基づく動画を視聴者端末30で視聴できるように、配信データと視聴接続先とを対応づけてリアルタイム配信する。配信部25は、生成部24において配信設定に応じて複数の配信データが生成されている場合、配信設定に応じた視聴接続先と、配信設定に応じた配信データとを対応付けて、リアルタイム配信する。 The distribution unit 25 distributes the distribution data generated by the generation unit 24 in association with the viewing connection destination. That is, when the viewer terminal 30 connects to the viewing connection destination, the distribution unit 25 distributes the distribution data in real time in association with the viewing connection destination so that the video based on the distribution data generated by the generation unit 24 can be viewed on the viewer terminal 30. When multiple pieces of distribution data are generated in the generation unit 24 according to the distribution settings, the distribution unit 25 distributes the distribution data in real time in association with the viewing connection destination according to the distribution settings.

視聴者端末30は、視聴者通信部31及び表示部32を備える。
視聴者通信部31は、動画配信サーバ20との間でデータを送受信する。
The viewer terminal 30 includes a viewer communication unit 31 and a display unit 32 .
The viewer communication unit 31 transmits and receives data to and from the video distribution server 20 .

表示部32は、視聴者通信部31を介して動画配信サーバ20の視聴接続先に接続して、動画配信サーバ20から配信された配信データに基づいて動画を表示する。すなわち、視聴者端末30は、視聴者通信部31を用いて視聴接続先にアクセスすると、動画配信サーバ20の配信部25によって配信される配信データを受信する。表示部32は、配信データに基づく動画をリアルタイムで表示する。 The display unit 32 connects to the viewing connection destination of the video distribution server 20 via the viewer communication unit 31, and displays video based on the distribution data distributed from the video distribution server 20. That is, when the viewer terminal 30 accesses the viewing connection destination using the viewer communication unit 31, it receives the distribution data distributed by the distribution unit 25 of the video distribution server 20. The display unit 32 displays video based on the distribution data in real time.

次に、動画配信システム1の具体的な一例について説明する。
図3は、一実施形態に係る動画配信システムについて説明するための第2のブロック図である。
なお、図3では、動画配信サーバ20に配される「サーバ通信部21」の記載を省略する。
Next, a specific example of the video distribution system 1 will be described.
FIG. 3 is a second block diagram illustrating the video distribution system according to an embodiment.
In addition, in FIG. 3, the "server communication unit 21" arranged in the video distribution server 20 is omitted.

配信者端末10は、例えば、顧客サーバ40を介して動画配信サーバ20に接続する。
顧客サーバ40は、例えば、配信者端末10と動画配信サーバ20との間の通信を仲介する。すなわち、顧客サーバ40は、配信者端末10を動画配信サーバ20に接続させるためのサーバである。
なお、顧客サーバ40には、配信者端末10の他に、1又は複数の視聴者端末30が接続することとしてもよい。顧客サーバ40は、動画配信サーバ20から視聴者接続先を受信すると、その視聴者接続先を視聴者端末30に送信することとしてもよい。
The distributor terminal 10 is connected to the moving image distribution server 20 via a customer server 40, for example.
The customer server 40, for example, mediates communication between the distributor terminal 10 and the moving image distribution server 20. That is, the customer server 40 is a server for connecting the distributor terminal 10 to the moving image distribution server 20.
In addition to the distributor terminal 10, one or more viewer terminals 30 may be connected to the customer server 40. When the customer server 40 receives a viewer connection destination from the video distribution server 20, the customer server 40 may transmit the viewer connection destination to the viewer terminal 30.

動画配信サーバ20は、例えば、API(Application Programming Interface)サーバ201、DB(Database)サーバ202、HLS(HTTP Live Streaming)サーバ203及びサービスサーバ204を備える。 The video distribution server 20 includes, for example, an API (Application Programming Interface) server 201, a DB (Database) server 202, an HLS (HTTP Live Streaming) server 203, and a service server 204.

APIサーバ201は、接続先設定部22、配信設定部23及び制御部26を備える。
制御部26は、一例として、サーバを経由してWebRTC(Web Real-Time Communication)を行うための処理を実行する機能である。
接続先設定部22は、配信者が配信用の動画データをアップロードするためのアドレスを送信する。配信設定部23は、配信リクエストを受信すると、その配信リクエストに基づいて配信設定を行い、その配信設定に関する情報をDBサーバ202のDB(Database)27に記憶する。
The API server 201 includes a connection destination setting unit 22, a distribution setting unit 23, and a control unit 26.
The control unit 26 is, for example, a function that executes a process for performing WebRTC (Web Real-Time Communication) via a server.
The connection destination setting unit 22 transmits an address for the distributor to upload video data for distribution. When the distribution request is received, the distribution setting unit 23 performs distribution setting based on the distribution request, and stores information about the distribution setting in a DB (database) 27 of the DB server 202.

HLSサーバ203は、生成部24を備える。生成部24は、デコード部241及び変換部242に加えて、処理部243を備える。処理部243は、一例として、HTTPサーバである。処理部243(HTTPサーバ)は、配信データを配信するための機能を備える。
デコード部241は、DB27に記憶される配信設定に応じて変換部242を設定する。デコード部241は、動画データが入力されると、動画データをデコードした後、フレームを時系列順に並び替え、並び替えたフレームを所定時間毎にまとめて動画セグメントを生成する。デコード部241は、生成した動画セグメントを変換部242に送信する。
The HLS server 203 includes a generation unit 24. The generation unit 24 includes a processing unit 243 in addition to a decoding unit 241 and a conversion unit 242. The processing unit 243 is, for example, an HTTP server. The processing unit 243 (HTTP server) includes a function for distributing distribution data.
The decoding unit 241 sets the conversion unit 242 according to the distribution settings stored in the DB 27. When the decoding unit 241 receives video data, it decodes the video data, rearranges the frames in chronological order, and generates video segments by collecting the rearranged frames at predetermined time intervals. The decoding unit 241 transmits the generated video segments to the conversion unit 242.

変換部242は、動画セグメントを受け付けると、配信設定に応じて配信データ(セグメントファイル)に変換して出力する。また、変換部242は、配信データの出力結果をデコード部241に送信する。デコード部241は、その出力結果を受け付けると、配信データの配信に関するプレイリストを更新する。
処理部243は、変換部242から出力される配信データと、デコード部241において更新されるプレイリストとを視聴者端末30に配信する。
When the conversion unit 242 receives a video segment, it converts it into distribution data (segment file) in accordance with the distribution settings and outputs it. The conversion unit 242 also transmits the output result of the distribution data to the decoding unit 241. When the decoding unit 241 receives the output result, it updates a playlist related to the distribution of the distribution data.
The processing unit 243 distributes the distribution data output from the conversion unit 242 and the playlist updated in the decoding unit 241 to the viewer terminal 30.

サービスサーバ204は、配信部25を備える。接続先設定部22から配信者端末10に送信される視聴接続先(配信URL)は、配信部25に接続するための情報である。 The service server 204 includes a distribution unit 25. The viewing connection destination (distribution URL) sent from the connection destination setting unit 22 to the distributor terminal 10 is information for connecting to the distribution unit 25.

視聴者端末30は、視聴接続先に基づいて配信部25に接続する。
配信部25は、視聴者端末30が接続すると、処理部243から配信される配信データ及びプレイリストを視聴者端末30に配信する。具体的には、視聴者端末30が配信部25に接続すると、APIサーバ201はDB27から配信設定を読み出し、配信設定に応じたHLSサーバ203の処理部243にアクセスし、配信データを読み出す。
なお、配信部25は、1の視聴者端末30からアクセスされることにより1の視聴者端末30に配信データを配信している場合、その配信データをキャッシュすることとしてもよい。これにより、配信部25は、他の視聴者端末30がアクセスした場合において、他の視聴者端末30が上述した1の視聴者端末30と同じ設定(一例として、解像度、ビットレート及びフレームレート等)で動画の配信を受ける際には、キャッシュしている配信データを他の視聴者端末30に送信することができる。
これにより、動画配信サーバ20は、配信データを視聴者端末30にリアルタイム配信することができる。
The viewer terminal 30 connects to the distribution unit 25 based on the viewing connection destination.
When the viewer terminal 30 is connected, the distribution unit 25 distributes the distribution data and the playlist distributed from the processing unit 243 to the viewer terminal 30. Specifically, when the viewer terminal 30 is connected to the distribution unit 25, the API server 201 reads the distribution setting from the DB 27, accesses the processing unit 243 of the HLS server 203 according to the distribution setting, and reads the distribution data.
Note that the distribution unit 25 may cache the distribution data when it is being accessed from one viewer terminal 30 and distributing the distribution data to the one viewer terminal 30. In this way, when another viewer terminal 30 accesses the distribution unit 25, the distribution unit 25 can transmit the cached distribution data to the other viewer terminal 30 when the other viewer terminal 30 receives video distribution with the same settings (e.g., resolution, bit rate, frame rate, etc.) as the one viewer terminal 30 described above.
This allows the video distribution server 20 to distribute the distribution data to the viewer terminal 30 in real time.

なお、上述した動画配信システム1の各部は、コンピュータの処理装置の一機能として実現されてもよい。すなわち、動画配信システム1の各部は、コンピュータによって実行されるプログラムによって、処理装置の一機能として実現されることとしてもよい。プログラムは、例えば、外部メモリ及び光ディスク等の記録媒体に記録されることとしてもよい。 Note that each part of the video distribution system 1 described above may be realized as a function of a processing device of a computer. In other words, each part of the video distribution system 1 may be realized as a function of a processing device by a program executed by a computer. The program may be recorded, for example, in an external memory, an optical disc, or other recording medium.

次に、一実施形態に係る動画配信方法について説明する。
まず、配信者端末10及び顧客サーバ40の処理の流れについて説明する。
図4は、配信者端末及び顧客サーバの処理の流れについて説明するためのフローチャートである。
Next, a video distribution method according to an embodiment will be described.
First, the process flow of the distributor terminal 10 and the customer server 40 will be described.
FIG. 4 is a flowchart for explaining the flow of processing in the distributor terminal and the customer server.

ステップST11において、リクエスト送信制御部41は、配信者端末10の要求に応じて、動画配信サーバ20に動画を配信するための配信リクエストを動画配信サーバ20に送信する。 In step ST11, the request transmission control unit 41 transmits a distribution request to the video distribution server 20 in response to a request from the distributor terminal 10 to distribute a video to the video distribution server 20.

ステップST12において、配信者通信部11は、顧客サーバ40から配信接続先及び視聴接続先を受信する。すなわち、顧客サーバ40は、ステップST11で送信した配信リクエストに応じて動画配信サーバ20が返信した配信接続先及び視聴接続先を受信する。顧客サーバ40は、配信接続先及び視聴接続先のうち少なくとも配信接続先を配信者端末10に送信する。 In step ST12, the distributor communication unit 11 receives the distribution connection destination and the viewing connection destination from the customer server 40. That is, the customer server 40 receives the distribution connection destination and the viewing connection destination returned by the video distribution server 20 in response to the distribution request sent in step ST11. The customer server 40 transmits at least the distribution connection destination of the distribution connection destination and the viewing connection destination to the distributor terminal 10.

ステップST13において、通知部42は、視聴接続先を視聴者端末30に通知する。 In step ST13, the notification unit 42 notifies the viewer terminal 30 of the viewing connection destination.

ステップST14において、データ送信制御部13は、ステップST12で受信した配信接続先(動画配信サーバ20)に対して動画データを送信する。なお、データ送信制御部13は、動画配信サーバ20から識別情報が送信されている場合には、動画データを動画配信サーバ20に送信する前に識別情報を動画配信サーバ20に送信する。 In step ST14, the data transmission control unit 13 transmits the video data to the distribution connection destination (video distribution server 20) received in step ST12. If identification information has been transmitted from the video distribution server 20, the data transmission control unit 13 transmits the identification information to the video distribution server 20 before transmitting the video data to the video distribution server 20.

次に、動画配信サーバ20の処理の流れについて説明する。
図5は、動画配信サーバの処理の流れについて説明するためのフローチャートである。
Next, the flow of processing by the video distribution server 20 will be described.
FIG. 5 is a flowchart for explaining the flow of processing by the video distribution server.

ステップST21において、サーバ通信部21は、図4に示すST11において顧客サーバ40から送信された配信リクエストを受信する。 In step ST21, the server communication unit 21 receives the distribution request sent from the customer server 40 in ST11 shown in FIG. 4.

ステップST22において、接続先設定部22は、配信接続先及び視聴接続先を設定し、配信接続先及び視聴接続先を顧客サーバ40に送信させる。接続先設定部22は、例えば、動画配信サーバ20へ動画データを送信する際の複数のアドレスとポート番号のうち現在使用されていないアドレスとポート番号を取得し、取得したアドレスとポート番号を配信接続先として設定する。また、接続先設定部22は、例えば、動画配信サーバ20から動画を配信する際の複数のアドレスとポート番号のうち現在使用されていないアドレスとポート番号を取得し、取得したアドレスとポート番号を視聴接続先として設定する。 In step ST22, the connection destination setting unit 22 sets the distribution connection destination and the viewing connection destination, and transmits the distribution connection destination and the viewing connection destination to the customer server 40. The connection destination setting unit 22, for example, acquires an address and a port number that are not currently in use from among multiple addresses and port numbers used when transmitting video data to the video distribution server 20, and sets the acquired address and port number as the distribution connection destination. In addition, the connection destination setting unit 22, for example, acquires an address and a port number that are not currently in use from among multiple addresses and port numbers used when distributing videos from the video distribution server 20, and sets the acquired address and port number as the viewing connection destination.

ステップST23において、配信設定部23は、配信設定を行う。配信設定は、例えば、ストリーム数及び各ストリームの設定等である。各ストリームの設定は、例えば、配信する動画の解像度、ビットレート及びフレームレートのうち少なくとも1つの設定である。
なお、ステップST22とステップST23との処理の順番は、逆になっていてもよい。すなわち、ステップST23の処理の後にステップST22の処理が行われてもよい。又は、接続先設定部22は、その接続先設定部22において配信接続先及び視聴接続先の設定が終了すると共に、配信設定部23において配信設定が終了した後に、配信接続先及び視聴接続先を顧客サーバ40に送信することとしてもよい。
In step ST23, the distribution setting unit 23 performs distribution setting. The distribution setting is, for example, the number of streams and the setting of each stream. The setting of each stream is, for example, at least one setting of the resolution, the bit rate, and the frame rate of the video to be distributed.
The order of the processes in steps ST22 and ST23 may be reversed. That is, the process in step ST22 may be performed after the process in step ST23. Alternatively, the connection destination setting unit 22 may transmit the distribution connection destination and the viewing connection destination to the customer server 40 after the connection destination setting unit 22 has completed setting the distribution connection destination and the viewing connection destination and after the distribution setting unit 23 has completed distribution setting.

ステップST24において、サーバ通信部21は、図4に示すステップST14において配信者端末10から送信された動画データを受信する。 In step ST24, the server communication unit 21 receives the video data transmitted from the distributor terminal 10 in step ST14 shown in FIG. 4.

ステップST25において、生成部24は、ステップST24で受信された動画データに基づいて配信データを生成する。生成部24の処理の詳細については後述する。 In step ST25, the generation unit 24 generates distribution data based on the video data received in step ST24. Details of the processing by the generation unit 24 will be described later.

ステップST26において、配信部25は、ステップST25で生成された配信データを視聴者端末30に送信する。 In step ST26, the distribution unit 25 transmits the distribution data generated in step ST25 to the viewer terminal 30.

次に、動画配信サーバ20の生成部24の具体的な処理の流れについて説明する。
図6は、生成部の処理の流れについて説明するためのフローチャートである。
Next, a specific process flow of the generation unit 24 of the video distribution server 20 will be described.
FIG. 6 is a flowchart for explaining the flow of processing by the generation unit.

ステップST101において、デコード部241は、動画データを受け付けると、動画データを構成するフレームを時系列順に並び替える。すなわち、デコード部241は、配信者端末10から送信された動画データのフレームが時系列順に並ぶようにする。 In step ST101, when the decoding unit 241 receives video data, it rearranges the frames that make up the video data in chronological order. In other words, the decoding unit 241 arranges the frames of the video data transmitted from the distributor terminal 10 in chronological order.

ステップST102において、デコード部241は、ステップST101で並び替えられたフレームを所定時間毎に区切り、動画セグメントを生成する。 In step ST102, the decoding unit 241 divides the frames rearranged in step ST101 into predetermined time intervals and generates video segments.

ステップST103において、変換部242は、ステップST102で生成された動画セグメントに基づいて配信データ(セグメントファイル)を生成する。 In step ST103, the conversion unit 242 generates distribution data (segment files) based on the video segments generated in step ST102.

次に、視聴者端末30の処理の流れについて説明する。
図7は、視聴者端末の処理の流れについて説明するためのフローチャートである。
Next, the flow of processing in the viewer terminal 30 will be described.
FIG. 7 is a flowchart for explaining the flow of processing at the viewer terminal.

ステップST31において、視聴者端末30は、視聴接続先を取得する。例えば、図4に示すステップST13において通知される視聴接続先を視聴者端末30が取得する。 In step ST31, the viewer terminal 30 acquires the viewing connection destination. For example, the viewer terminal 30 acquires the viewing connection destination notified in step ST13 shown in FIG. 4.

ステップST32において、視聴者通信部31は、ステップTS31で取得された視聴接続先にアクセスして、配信データを取得する。 In step ST32, the viewer communication unit 31 accesses the viewing connection destination acquired in step TS31 and acquires the distribution data.

ステップST33において、表示部32は、ステップST32で取得された配信データに基づく動画を表示する。これにより、表示部32は、配信者端末10で取得される動画をリアルタイムで表示することができる。 In step ST33, the display unit 32 displays a video based on the distribution data acquired in step ST32. This allows the display unit 32 to display the video acquired by the distributor terminal 10 in real time.

次に、本実施形態の効果について説明する。
動画配信システム1は、配信者端末10、顧客サーバ40、視聴者端末30及び動画配信サーバ20を備える。顧客サーバ40は、配信者端末10の要求に応じて、動画配信サーバ20に動画を配信するための配信リクエストを送信するリクエスト送信制御部41と、配信リクエストに応じて動画配信サーバ20から応答された動画データの送信先となる配信接続先を配信者端末10に通知すると共に、視聴者の視聴のための接続先となる視聴接続先を視聴者端末30に通知する通知部と、を備える。配信者端末10は、配信接続先に動画データを送信させるデータ送信制御部13を備える。動画配信サーバ20は、配信リクエストを受信すると配信接続先及び視聴接続先とを設定し、配信接続先及び視聴接続先を顧客サーバ40に返信させる接続先設定部22と、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部23と、配信者端末10から送信された動画データを受信すると、配信設定部23によって設定された配信設定に応じた配信データを生成する生成部24と、生成部24によって生成された配信データを視聴接続先に対応付けて配信する配信部25と、を備える。視聴者端末30は、動画配信サーバ20の視聴接続先に接続して、動画配信サーバ20から配信された配信データに基づいて動画を表示する表示部32と、を備える。
これにより、動画配信システム1は、配信者端末10から送信される動画を視聴者端末30にライブ配信することができる。
また、動画配信システム1は、配信者端末10から配信リクエストを送信することにより、動画配信サーバ20におけるリアルタイム配信の設定を行うことができるので、配信者にとって使いやすいシステムを提供することができる。また、動画配信システム1は、ユーザによって制御しやすいシステムを提供することができる。
また、動画配信システム1は、視聴者端末30が視聴接続先に応じて動画配信サーバ20に接続することにより配信データを視聴者端末30に配信する。一例として、視聴者が通知部42によって通知される視聴接続先をワンクリックするだけで、視聴者端末30は、配信データを受信することができる。よって、動画配信システム1は、視聴者にとって使いやすいシステムを提供することができる。
Next, the effects of this embodiment will be described.
The video distribution system 1 includes a distributor terminal 10, a customer server 40, a viewer terminal 30, and a video distribution server 20. The customer server 40 includes a request transmission control unit 41 that transmits a distribution request for distributing a video to the video distribution server 20 in response to a request from the distributor terminal 10, and a notification unit that notifies the distributor terminal 10 of a distribution connection destination to which video data responded from the video distribution server 20 in response to the distribution request is to be sent, and notifies the viewer terminal 30 of a viewing connection destination to which the viewer will connect for viewing. The distributor terminal 10 includes a data transmission control unit 13 that causes the video data to be transmitted to the distribution connection destination. The video distribution server 20 includes a connection destination setting unit 22 that sets a distribution connection destination and a viewing connection destination when a distribution request is received and returns the distribution connection destination and the viewing connection destination to the customer server 40, a distribution setting unit 23 that performs distribution settings for distributing a video to a viewer based on the distribution request, a generation unit 24 that generates distribution data according to the distribution settings set by the distribution setting unit 23 when video data transmitted from the distributor terminal 10 is received, and a distribution unit 25 that distributes the distribution data generated by the generation unit 24 in association with the viewing connection destination. The viewer terminal 30 includes a display unit 32 that connects to the viewing connection destination of the video distribution server 20 and displays a video based on the distribution data distributed from the video distribution server 20.
This allows the video distribution system 1 to live-distribute the video transmitted from the distributor terminal 10 to the viewer terminal 30.
Moreover, the video distribution system 1 can provide a system that is easy for distributors to use because real-time distribution can be set in the video distribution server 20 by transmitting a distribution request from the distributor terminal 10. Moreover, the video distribution system 1 can provide a system that is easy for users to control.
Furthermore, the video distribution system 1 distributes distribution data to the viewer terminal 30 by having the viewer terminal 30 connect to the video distribution server 20 according to the viewing connection destination. As an example, the viewer can receive the distribution data by simply clicking once on the viewing connection destination notified by the notification unit 42. Thus, the video distribution system 1 can provide a system that is easy for the viewer to use.

動画配信システム1では、生成部24は、動画データをデコードするデコード部241と、デコード部241でデコードされた動画データに基づいて、配信設定に応じて1又は複数の配信データを生成する変換部242と、を備えることとしてもよい。
これにより、動画配信システム1は、動画のライブ配信を行うための配信データを生成することができる。
In the video distribution system 1, the generation unit 24 may include a decoding unit 241 that decodes video data, and a conversion unit 242 that generates one or more distribution data in accordance with a distribution setting based on the video data decoded by the decoding unit 241.
This enables the video distribution system 1 to generate distribution data for live distribution of videos.

動画配信システム1では、デコード部241は、動画データを構成するフレームを時系列順に並び替えて、所定の時間毎に複数のフレームに区切る処理を行うこととしてもよい。この場合、変換部242は、デコード部241によって区切られたフレームをリアルタイム配信が可能なデータに順次変換することにより、配信データを生成することとしてもよい。
これにより、動画配信システム1は、デコード部241によって動画セグメントを生成し、変換部242によって動画セグメントに基づいてセグメントファイルを生成するので、セグメントファイルが生成される毎に配信データとして視聴者端末30に配信することができる。すなわち、動画配信システム1は、動画のライブ配信を行うことができる。
なお、実施形態によっては、動画配信システム1は、1の動画セグメントの全てがセグメントファイルとして生成された後に視聴者端末30に配信するのではなく、1の動画セグメントの全てがセグメントファイルとして生成される前に視聴者端末30に配信することとしてもよい。すなわち、動画配信システム1は、1の動画セグメントがセグメントファイルに変換される途中において、セグメントファイルが視聴者端末30に配信できる単位になると、視聴者端末30に順次配信することとしてもよい。これにより、動画配信システム1は、相対的に低遅延のライブ配信を行うことができる。
In the video distribution system 1, the decoding unit 241 may perform a process of rearranging frames constituting the video data in chronological order and dividing the data into a plurality of frames at predetermined time intervals. In this case, the conversion unit 242 may generate distribution data by sequentially converting the frames divided by the decoding unit 241 into data that can be distributed in real time.
As a result, the video distribution system 1 generates video segments by the decoding unit 241 and generates segment files based on the video segments by the conversion unit 242, so that each time a segment file is generated, it can be distributed as distribution data to the viewer terminal 30. In other words, the video distribution system 1 can perform live distribution of videos.
In some embodiments, the video distribution system 1 may distribute one video segment to the viewer terminal 30 before the entire video segment is generated as a segment file, rather than distributing the entire video segment to the viewer terminal 30 after the entire video segment has been generated as a segment file. In other words, while one video segment is being converted into a segment file, the video distribution system 1 may sequentially distribute the segment file to the viewer terminal 30 when the segment file reaches a unit that can be distributed to the viewer terminal 30. This allows the video distribution system 1 to perform live distribution with relatively low latency.

動画配信システム1では、配信設定部23は、配信設定として、配信する動画の解像度、ビットレート及びフレームレートのうち少なくとも1つの設定を行うこととしてもよい。この場合、生成部24は、配信設定に応じて1又は複数の配信データを生成することとしてもよい。
これにより、動画配信システム1は、配信者が所望する設定で動画を配信することができる。
In the video distribution system 1, the distribution setting unit 23 may set at least one of the resolution, the bit rate, and the frame rate of the video to be distributed as the distribution setting. In this case, the generation unit 24 may generate one or more pieces of distribution data according to the distribution setting.
This allows the video distribution system 1 to distribute videos with settings desired by the distributor.

動画配信サーバ20は、配信リクエストを受信すると配信接続先及び視聴接続先とを設定し、配信接続先及び視聴接続先を配信者端末10に返信させる接続先設定部22と、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部23と、配信者端末10から送信された動画データを受信すると、配信設定部23によって設定された配信設定に応じた配信データを生成する生成部24と、生成部24によって生成された配信データを視聴接続先に対応付けて配信する配信部25と、を備える。
これにより、動画配信サーバ20は、配信者端末10から送信される動画を視聴者端末30にライブ配信することができる。
また、動画配信サーバ20は、配信者端末10から配信リクエストを送信することにより、動画配信サーバ20におけるリアルタイム配信の設定を行うことができるので、配信者にとって使いやすいサーバを提供することができる。また、動画配信サーバ20は、ユーザによって制御しやすいサーバを提供することができる。
また、動画配信サーバ20は、視聴者端末30が視聴接続先に応じて動画配信サーバ20に接続することにより配信データを視聴者端末30に配信する。一例として、視聴者が通知部42によって通知される視聴接続先をワンクリックするだけで、視聴者端末30は、配信データを受信することができる。よって、動画配信サーバ20は、視聴者にとって使いやすいサーバを提供することができる。
The video distribution server 20 comprises a connection destination setting unit 22 that sets a distribution connection destination and a viewing connection destination upon receiving a distribution request and returns the distribution connection destination and the viewing connection destination to the distributor terminal 10, a distribution setting unit 23 that performs distribution settings for distributing a video to a viewer based on the distribution request, a generation unit 24 that generates distribution data according to the distribution settings set by the distribution setting unit 23 upon receiving video data transmitted from the distributor terminal 10, and a distribution unit 25 that distributes the distribution data generated by the generation unit 24 in association with the viewing connection destination.
This allows the video distribution server 20 to live-distribute the video transmitted from the distributor terminal 10 to the viewer terminal 30.
Moreover, the video distribution server 20 can provide a server that is easy for distributors to use because real-time distribution can be set in the video distribution server 20 by transmitting a distribution request from the distributor terminal 10. Moreover, the video distribution server 20 can provide a server that is easy for users to control.
Furthermore, the video distribution server 20 distributes distribution data to the viewer terminal 30 by the viewer terminal 30 connecting to the video distribution server 20 in accordance with the viewing connection destination. As an example, the viewer can receive the distribution data by simply one-clicking on the viewing connection destination notified by the notification unit 42. Thus, the video distribution server 20 can provide a server that is easy for the viewer to use.

動画配信方法は、動画配信サーバ20を構成するコンピュータが、サーバ通信部21によって、外部に配される配信者端末10との間でデータを送受信すると共に、外部に配される視聴者端末30との間でデータを送受信する通信ステップと、配信者端末10から配信リクエストを受信すると配信接続先及び視聴接続先を設定し、配信接続先及び視聴接続先をサーバ通信部21によって配信者端末10に返信させる接続先設定ステップと、配信リクエストを受信すると配信設定を行う配信設定ステップと、配信者端末10から送信された動画データをサーバ通信部21で受信すると、配信設定ステップによって設定された配信設定に応じた配信データを生成する生成ステップと、生成ステップによって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信ステップと、を実行する。
これにより、動画配信方法は、配信者端末10から送信される動画を視聴者端末30にライブ配信することができる。
また、動画配信方法は、配信者端末10から配信リクエストを送信することにより、動画配信サーバ20におけるリアルタイム配信の設定を行うことができるので、配信者にとって使いやすい方法を提供することができる。また、動画配信方法は、ユーザによって制御しやすい方法を提供することができる。
また、動画配信方法は、視聴者端末30が視聴接続先に応じて動画配信サーバ20に接続することにより配信データを視聴者端末30に配信する。一例として、視聴者が通知部42によって通知される視聴接続先をワンクリックするだけで、視聴者端末30は、配信データを受信することができる。よって、動画配信方法は、視聴者にとって使いやすい方法を提供することができる。
The video distribution method includes a communication step in which a computer constituting the video distribution server 20 transmits and receives data to and from an externally located distributor terminal 10 and transmits and receives data to and from an externally located viewer terminal 30 via a server communication unit 21; a connection destination setting step in which, upon receiving a distribution request from the distributor terminal 10, a distribution connection destination and a viewing connection destination are set and the server communication unit 21 returns the distribution connection destination and the viewing connection destination to the distributor terminal 10; a distribution setting step in which, upon receiving a distribution request, distribution settings are made; a generation step in which, upon receiving video data transmitted from the distributor terminal 10 by the server communication unit 21, distribution data corresponding to the distribution settings set by the distribution setting step is generated; and a distribution step in which the distribution data generated by the generation step is associated with the viewing connection destination and distributed in real time.
In this way, the video distribution method enables the video transmitted from the distributor terminal 10 to be live distributed to the viewer terminal 30.
Moreover, the video distribution method can provide a method that is easy for distributors to use because real-time distribution can be set in the video distribution server 20 by transmitting a distribution request from the distributor terminal 10. Furthermore, the video distribution method can provide a method that is easy for users to control.
Moreover, in the video distribution method, the viewer terminal 30 connects to the video distribution server 20 in accordance with the viewing connection destination, thereby distributing distribution data to the viewer terminal 30. As an example, the viewer can receive the distribution data by simply clicking once on the viewing connection destination notified by the notification unit 42. Thus, the video distribution method can provide a method that is easy for the viewer to use.

動画配信プログラムは、動画配信サーバ20を構成するコンピュータに、外部に配される配信者端末10との間でデータを送受信すると共に、外部に配される視聴者端末30との間でデータを送受信する通信機能と、配信者端末10から配信リクエストを受信すると配信接続先及び視聴接続先とを設定し、配信接続先及び視聴接続先を通信機能によって配信者端末10に返信させる接続先設定機能と、通信機能によって配信リクエストを受信すると配信設定を行う配信設定機能と、配信者端末10から送信された動画データを通信機能で受信すると、配信設定に応じた配信データを生成する生成機能と、生成機能によって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信機能と、実現させる。
これにより、動画配信プログラムは、配信者端末10から送信される動画を視聴者端末30にライブ配信することができる。
また、動画配信プログラムは、配信者端末10から配信リクエストを送信することにより、動画配信サーバ20におけるリアルタイム配信の設定を行うことができるので、配信者にとって使いやすいプログラムを提供することができる。また、動画配信プログラムは、ユーザによって制御しやすいプログラムを提供することができる。
また、動画配信プログラムは、視聴者端末30が視聴接続先に応じて動画配信サーバ20に接続することにより配信データを視聴者端末30に配信する。一例として、視聴者が通知部42によって通知される視聴接続先をワンクリックするだけで、視聴者端末30は、配信データを受信することができる。よって、動画配信プログラムは、視聴者にとって使いやすいプログラムを提供することができる。
The video distribution program provides the computer constituting the video distribution server 20 with the following: a communication function for transmitting and receiving data with an external distributor terminal 10 and transmitting and receiving data with an external viewer terminal 30; a connection destination setting function for setting a distribution connection destination and a viewing connection destination when a distribution request is received from the distributor terminal 10 and returning the distribution connection destination and the viewing connection destination to the distributor terminal 10 via the communication function; a distribution setting function for setting distribution when a distribution request is received via the communication function; a generation function for generating distribution data according to the distribution settings when video data transmitted from the distributor terminal 10 is received via the communication function; and a distribution function for matching the distribution data generated by the generation function to the viewing connection destination and distributing it in real time.
This allows the video distribution program to live-distribute the video transmitted from the distributor terminal 10 to the viewer terminal 30.
Moreover, the video distribution program can provide an easy-to-use program for distributors because real-time distribution can be set in the video distribution server 20 by transmitting a distribution request from the distributor terminal 10. Moreover, the video distribution program can provide a program that is easy for users to control.
Furthermore, the video distribution program distributes distribution data to the viewer terminal 30 by the viewer terminal 30 connecting to the video distribution server 20 in accordance with the viewing connection destination. As an example, the viewer can receive the distribution data by simply clicking once on the viewing connection destination notified by the notification unit 42. Thus, the video distribution program can provide a program that is easy for the viewer to use.

なお、本発明は、上述した実施形態に限定されることはなく、種々の変形が可能である。
例えば、動画配信システム1は、APIサーバ201とHLSサーバ203とを相対的に高速なネットワークにより接続することができる。この場合、動画配信システム1は、配信者端末10と、その配信者端末10に地理的に最も近いAPIサーバ201とを接続させることにより、より安定した動画のリアルタイム配信を実現することができる。
The present invention is not limited to the above-described embodiment, and various modifications are possible.
For example, the video distribution system 1 can connect the API server 201 and the HLS server 203 via a relatively high-speed network. In this case, the video distribution system 1 can realize more stable real-time video distribution by connecting the distributor terminal 10 to the API server 201 that is geographically closest to the distributor terminal 10.

また、動画配信システム1は、配信者端末10から動画配信サーバ20に動画データを送信する場合、WebRTCを用いて動画データを送信することができる。この場合、動画配信システム1では、動画配信サーバ20は、WebRTCで動画データを送信する際の解像度、ビットレート及びパケットロス率等の情報のうち少なくとも1つを取得することができる。動画配信システム1では、動画配信サーバ20は、配信者端末10から送信される動画データの解像度が低下した場合、又は、パケットロス率が高くなった場合、配信者端末10に配信する配信データのビットレートを低くすることにより、転送量を抑えて配信データを配信することができる。 When transmitting video data from the distributor terminal 10 to the video distribution server 20, the video distribution system 1 can transmit the video data using WebRTC. In this case, in the video distribution system 1, the video distribution server 20 can acquire at least one of information such as the resolution, bit rate, and packet loss rate when transmitting video data by WebRTC. In the video distribution system 1, when the resolution of the video data transmitted from the distributor terminal 10 decreases or the packet loss rate increases, the video distribution server 20 can distribute the distribution data with reduced transfer volume by lowering the bit rate of the distribution data distributed to the distributor terminal 10.

また、動画配信システム1は、配信者端末10から動画配信サーバ20に送信される動画データのビットレートが、動画配信サーバ20から視聴者端末30に配信される配信データのビットレートよりも低くなった場合、動画データから配信データへの変換を行わなくともよい。すなわち、動画配信システム1では、生成部24は、動画データを動画セグメントに分割して、分割した動画セグメントをセグメントファイル(配信データ)として視聴者端末30に配信することとしてもよい。これにより、動画配信システム1は、動画を配信する際の遅延を抑制することができる。 Furthermore, the video distribution system 1 may not need to convert the video data to distribution data when the bit rate of the video data transmitted from the distributor terminal 10 to the video distribution server 20 is lower than the bit rate of the distribution data distributed from the video distribution server 20 to the viewer terminal 30. That is, in the video distribution system 1, the generation unit 24 may divide the video data into video segments and distribute the divided video segments to the viewer terminal 30 as segment files (distribution data). This allows the video distribution system 1 to reduce delays when distributing videos.

また、上記実施の形態に示す動画配信システム1において、リアルタイム配信を実現できると説明しているが、変換部242による変換処理が入るため、わずかながらもタイムラグが発生する。このタイムラグを抑制する手法として上記実施の形態においては、通常セグメント単位での変換を行って、配信するようにしているところ、セグメント内の細かい単位(例えばフレーム単位)で配信するようにすることで、よりリアルタイムに近い配信を実現する例を示している。この配信の遅延を抑制する手法は、これ以外の手法を用いてもよく、他の構成を採用してもよい。 In addition, while it has been described that the video distribution system 1 shown in the above embodiment can achieve real-time distribution, a slight time lag occurs due to the conversion process performed by the conversion unit 242. As a method for suppressing this time lag, the above embodiment shows an example in which, while conversion is normally performed on a segment basis and then distributed, distribution is performed in finer units within a segment (for example, frame units), thereby achieving distribution closer to real-time. Other methods for suppressing delays in this distribution may also be used, and other configurations may be adopted.

また、動画配信システム1は、配信者端末10から動画配信サーバ20に送られてくる映像や音声のフレームがネットワークの都合などにより遅延する場合、動画配信サーバ20から視聴者端末30へ配信する配信フレームも同時に遅延させることにより、スムーズな動画配信を行うこととしてもよい。
動画配信サーバ20が受信したフレームを配信する際、どのくらい遅延させれば良いかを計算する方法として、例えば、動画配信サーバ20が受信したフレームに所定の遅延を加えた状態でリアルタイムに再生した場合に、フレーム未受信によるフレームスキップ率が閾値以下になるように、時系列順に並び替えた後に遅延を加える、という方式を採用することとしてもよい。
これにより、動画配信システム1は、配信者端末10と動画配信サーバ20の間のネットワークの速度が速い時は自動で遅延が少なく配信することができ、同時に配信者端末10と動画配信サーバ20の間のネットワークの速度が遅いときは自動で「ネットワーク速度が遅いことによるフレーム未到達が原因のフレームスキップにより動画がスムーズに再生できない」状態を避けることができる最低限の遅延を自動で設定することで、動画再生の遅延をできるだけ減らすことができる。
In addition, when video or audio frames sent from the distributor terminal 10 to the video distribution server 20 are delayed due to network conditions or the like, the video distribution system 1 may simultaneously delay the distribution frames distributed from the video distribution server 20 to the viewer terminal 30, thereby ensuring smooth video distribution.
As a method for calculating how much delay should be applied when the video distribution server 20 distributes received frames, for example, a method may be adopted in which the frames are rearranged in chronological order and then a delay is applied so that when the frames received by the video distribution server 20 are played back in real time with a predetermined delay applied, the frame skip rate due to non-received frames is below a threshold value.
As a result, the video distribution system 1 can automatically distribute video with little delay when the network speed between the distributor terminal 10 and the video distribution server 20 is fast, and at the same time, when the network speed between the distributor terminal 10 and the video distribution server 20 is slow, it can reduce delays in video playback as much as possible by automatically setting a minimum delay that can avoid a situation where "video cannot be played smoothly due to frame skipping caused by frames not arriving due to a slow network speed."

1 動画配信システム
10 配信者端末
11 配信者通信部
13 データ送信制御部
20 動画配信サーバ(配信サーバ)
21 サーバ通信部
22 接続先設定部
23 配信設定部
24 生成部
241 デコード部
242 変換部
243 処理部
25 配信部
26 制御部
27 DB
30 視聴者端末
31 視聴者通信部
32 表示部
201 APIサーバ
202 DBサーバ
203 HLSサーバ
204 サービスサーバ
40 顧客サーバ
41 リクエスト送信制御部
42 通知部
1 Video distribution system 10 Distributor terminal 11 Distributor communication unit 13 Data transmission control unit 20 Video distribution server (distribution server)
21 Server communication unit 22 Connection destination setting unit 23 Distribution setting unit 24 Generation unit 241 Decoding unit 242 Conversion unit 243 Processing unit 25 Distribution unit 26 Control unit 27 DB
30 Viewer terminal 31 Viewer communication unit 32 Display unit 201 API server 202 DB server 203 HLS server 204 Service server 40 Customer server 41 Request transmission control unit 42 Notification unit

Claims (6)

配信者が使用する配信者端末と、顧客サーバと、視聴者が使用する視聴者端末と、前記配信者端末から送信された動画データを前記視聴者端末にライブ配信する配信サーバと、が通信ネットワークによって接続する動画配信システムであって、
前記顧客サーバは、
前記配信者端末の要求に応じて、前記配信サーバに動画を配信するための配信リクエストを送信するリクエスト送信制御部と、
配信リクエストに応じて前記配信サーバから応答された動画データの送信先となる配信接続先を前記配信者端末に通知すると共に、視聴者の視聴のための接続先となる視聴接続先を前記視聴者端末に通知する通知部と、を備え、
記配信サーバは、
前記配信者端末、前記顧客サーバ及び前記視聴者端末との間でそれぞれデータを送受信するサーバ通信部と、
前記サーバ通信部によって前記配信リクエストを受信すると、前記配信者端末から送信される動画データを配信サーバで受け付けるための配信接続先と、視聴者が動画データの配信を受けるために視聴者が配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を前記サーバ通信部によって前記顧客サーバに返信させる接続先設定部と、
前記配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部と、
前記配信者端末から送信された動画データを前記サーバ通信部で受信すると、前記配信設定部によって設定された配信設定に応じた配信データを生成する生成部と、
前記生成部によって生成された配信データを視聴接続先に対応付けて配信する配信部と、
前記配信接続先となる前記配信サーバに対して、WebRTCを行う処理を実行する制御部と、
を備える動画配信システム。
A video distribution system in which a distributor terminal used by a distributor, a customer server, a viewer terminal used by a viewer, and a distribution server that live-distributes video data transmitted from the distributor terminal to the viewer terminal are connected via a communication network,
The customer server,
a request transmission control unit that transmits a distribution request for distributing a moving image to the distribution server in response to a request from the distributor terminal;
a notification unit that notifies the distributor terminal of a distribution connection destination to which video data responded from the distribution server in response to a distribution request is to be transmitted, and that notifies the viewer terminal of a viewing connection destination to which the viewer is to view the video data ,
The distribution server includes:
a server communication unit for transmitting and receiving data between the distributor terminal, the customer server, and the viewer terminal;
a connection destination setting unit which, when receiving the distribution request by the server communication unit, sets a distribution connection destination for receiving the video data transmitted from the distributor terminal at the distribution server and a viewing connection destination by which the viewer connects to the distribution server to receive the distribution of the video data, and causes the server communication unit to return the distribution connection destination and the viewing connection destination to the customer server;
a distribution setting unit that performs distribution settings for distributing the video to viewers based on the distribution request;
a generation unit that generates distribution data according to the distribution settings set by the distribution setting unit when the video data transmitted from the distributor terminal is received by the server communication unit;
a distribution unit that distributes the distribution data generated by the generation unit in association with a viewing connection destination;
A control unit that executes a process of performing WebRTC on the distribution server that is the distribution connection destination;
A video distribution system comprising :
前記生成部は、
動画データをデコードするデコード部と、
前記デコード部でデコードされた動画データに基づいて、配信設定に応じて1又は複数の配信データを生成する変換部と、
を備える請求項1に記載の動画配信システム。
The generation unit is
A decoding unit that decodes video data;
a conversion unit that generates one or more pieces of distribution data in accordance with a distribution setting based on the video data decoded by the decoding unit;
The video distribution system according to claim 1 .
前記デコード部は、動画データを構成するフレームを時系列順に並び替えて、所定の時間毎に複数のフレームに区切る処理を行い、
前記変換部は、前記デコード部によって区切られたフレームをリアルタイム配信が可能なデータに順次変換することにより、配信データを生成する
請求項2に記載の動画配信システム。
the decoding unit performs a process of rearranging frames constituting the video data in chronological order and dividing the frames into a plurality of frames at predetermined time intervals;
The video distribution system according to claim 2 , wherein the conversion unit generates distribution data by sequentially converting the frames delimited by the decoding unit into data that can be distributed in real time.
前記配信設定部は、配信設定として、配信する動画の解像度、ビットレート及びフレームレートのうち少なくとも1つの設定を行い、
前記生成部は、配信設定に応じて1又は複数の配信データを生成する
請求項1~3のいずれか1に記載の動画配信システム。
The distribution setting unit sets at least one of a resolution, a bit rate, and a frame rate of a video to be distributed as a distribution setting,
4. The video distribution system according to claim 1, wherein the generation unit generates one or more pieces of distribution data in accordance with a distribution setting.
配信者が使用する配信者端末と、顧客サーバと、視聴者が使用する視聴者端末と、前記配信者端末から送信された動画データを前記視聴者端末にライブ配信する配信サーバと、が通信ネットワークによって接続する動画配信システムにおいて実行される動画配信方法であって、A video distribution method executed in a video distribution system in which a distributor terminal used by a distributor, a customer server, a viewer terminal used by a viewer, and a distribution server that live-distributes video data transmitted from the distributor terminal to the viewer terminal are connected via a communication network, comprising:
前記顧客サーバは、The customer server,
前記配信者端末の要求に応じて、前記配信サーバに動画を配信するための配信リクエストを送信するリクエスト送信制御ステップと、a request transmission control step of transmitting a distribution request for distributing a moving image to the distribution server in response to a request from the distributor terminal;
配信リクエストに応じて前記配信サーバから応答された動画データの送信先となる配信接続先を前記配信者端末に通知すると共に、視聴者の視聴のための接続先となる視聴接続先を前記視聴者端末に通知する通知ステップと、を実行し、a notification step of notifying the distributor terminal of a distribution connection destination to which the video data responded from the distribution server in response to a distribution request is to be transmitted, and notifying the viewer terminal of a viewing connection destination to which the viewer is to view the video data,
前記配信サーバは、The distribution server includes:
前記配信者端末、前記顧客サーバ及び前記視聴者端末との間でそれぞれデータを送受信する通信ステップと、a communication step of transmitting and receiving data between the distributor terminal, the customer server, and the viewer terminal;
前記配信リクエストを受信すると、前記配信者端末から送信される動画データを配信サーバで受け付けるための配信接続先と、視聴者が動画データの配信を受けるために視聴者が配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を前記顧客サーバに返信させる接続先設定ステップと、a connection destination setting step of, when receiving the distribution request, setting a distribution connection destination for receiving the video data transmitted from the distributor terminal at the distribution server and a viewing connection destination for the viewer to connect to the distribution server in order to receive the distribution of the video data, and returning the distribution connection destination and the viewing connection destination to the customer server;
前記配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定ステップと、a distribution setting step of performing distribution setting for distributing the video to a viewer based on the distribution request;
前記配信者端末から前記配信サーバに対して、WebRTCを行う処理を実行する制御ステップと、A control step of executing a process of performing WebRTC from the distributor terminal to the distribution server;
前記配信者端末から送信された動画データを受信すると、前記配信設定ステップによって設定された配信設定に応じた配信データを生成する生成ステップと、a generating step of generating distribution data according to the distribution settings set by the distribution setting step when the video data transmitted from the distributor terminal is received;
前記生成ステップによって生成された配信データを視聴接続先に対応付けて配信する配信ステップと、a distribution step of distributing the distribution data generated by the generation step in association with a viewing connection destination;
を実行する動画配信方法。A video distribution method that:
配信者が使用する配信者端末と、顧客サーバと、視聴者が使用する視聴者端末と、前記配信者端末から送信された動画データを前記視聴者端末にライブ配信する配信サーバと、が通信ネットワークによって接続する動画配信システムにおいて実行される動画配信プログラムであって、A video distribution program executed in a video distribution system in which a distributor terminal used by a distributor, a customer server, a viewer terminal used by a viewer, and a distribution server that live-distributes video data transmitted from the distributor terminal to the viewer terminal are connected via a communication network, the program comprising:
前記顧客サーバに、The customer server,
前記配信者端末の要求に応じて、前記配信サーバに動画を配信するための配信リクエストを送信するリクエスト送信制御機能と、a request transmission control function that transmits a distribution request for distributing a video to the distribution server in response to a request from the distributor terminal;
配信リクエストに応じて前記配信サーバから応答された動画データの送信先となる配信接続先を前記配信者端末に通知すると共に、視聴者の視聴のための接続先となる視聴接続先を前記視聴者端末に通知する通知機能と、を実現させ、a notification function of notifying the distributor terminal of a distribution connection destination to which video data responded from the distribution server in response to a distribution request is to be sent, and of notifying the viewer terminal of a viewing connection destination to which the viewer is to view the video data,
前記配信サーバに、The distribution server,
前記配信者端末、前記顧客サーバ及び前記視聴者端末との間でそれぞれデータを送受信するサーバ通信機能と、a server communication function for transmitting and receiving data between the distributor terminal, the customer server, and the viewer terminal;
前記サーバ通信機能によって前記配信リクエストを受信すると、前記配信者端末から送信される動画データを配信サーバで受け付けるための配信接続先と、視聴者が動画データの配信を受けるために視聴者が配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を前記サーバ通信機能によって前記顧客サーバに返信させる接続先設定機能と、a connection destination setting function that, when receiving the distribution request by the server communication function, sets a distribution connection destination for receiving the video data transmitted from the distributor terminal at the distribution server and a viewing connection destination for the viewer to connect to the distribution server in order to receive the distribution of the video data, and returns the distribution connection destination and the viewing connection destination to the customer server by the server communication function;
前記配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定機能と、a distribution setting function for performing distribution settings for distributing a video to a viewer based on the distribution request;
前記配信者端末から送信された動画データを前記サーバ通信機能で受信すると、前記配信設定機能によって設定された配信設定に応じた配信データを生成する生成機能と、a generation function that, when the video data transmitted from the distributor terminal is received by the server communication function, generates distribution data according to the distribution settings set by the distribution setting function;
前記生成機能によって生成された配信データを視聴接続先に対応付けて配信する配信機能と、a distribution function that distributes the distribution data generated by the generation function in association with a viewing connection destination;
前記視聴者端末と前記配信接続先となる前記配信サーバの間で、WebRTCを行う処理を実行する制御機能と、A control function for executing a process of performing WebRTC between the viewer terminal and the distribution server that is the distribution connection destination;
を実現させる動画配信プログラム。A video distribution program that makes this possible.
JP2022205080A 2019-02-12 2022-12-22 Video distribution system, video distribution server, video distribution method, and video distribution program Active JP7483848B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022205080A JP7483848B2 (en) 2019-02-12 2022-12-22 Video distribution system, video distribution server, video distribution method, and video distribution program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019023057A JP7201468B2 (en) 2019-02-12 2019-02-12 Video distribution system, video distribution server, video distribution method and video distribution program
JP2022205080A JP7483848B2 (en) 2019-02-12 2022-12-22 Video distribution system, video distribution server, video distribution method, and video distribution program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019023057A Division JP7201468B2 (en) 2019-02-12 2019-02-12 Video distribution system, video distribution server, video distribution method and video distribution program

Publications (2)

Publication Number Publication Date
JP2023040056A JP2023040056A (en) 2023-03-22
JP7483848B2 true JP7483848B2 (en) 2024-05-15

Family

ID=72263692

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019023057A Active JP7201468B2 (en) 2019-02-12 2019-02-12 Video distribution system, video distribution server, video distribution method and video distribution program
JP2022205080A Active JP7483848B2 (en) 2019-02-12 2022-12-22 Video distribution system, video distribution server, video distribution method, and video distribution program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2019023057A Active JP7201468B2 (en) 2019-02-12 2019-02-12 Video distribution system, video distribution server, video distribution method and video distribution program

Country Status (1)

Country Link
JP (2) JP7201468B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002262259A (en) 2001-03-01 2002-09-13 Pixela Corp System for distributing moving picture in real time
JP2006191427A (en) 2005-01-07 2006-07-20 Mitsubishi Electric Corp Video distribution system
JP2010177876A (en) 2009-01-28 2010-08-12 Kyocera Corp Video distribution server, and mobile terminal
JP2014086850A (en) 2012-10-23 2014-05-12 Kddi Corp Video content distribution device
JP2018181310A (en) 2018-03-12 2018-11-15 株式会社ドワンゴ Application program for terminal equipment, control method for terminal equipment, terminal equipment, and program for live broadcast distribution server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002262259A (en) 2001-03-01 2002-09-13 Pixela Corp System for distributing moving picture in real time
JP2006191427A (en) 2005-01-07 2006-07-20 Mitsubishi Electric Corp Video distribution system
JP2010177876A (en) 2009-01-28 2010-08-12 Kyocera Corp Video distribution server, and mobile terminal
JP2014086850A (en) 2012-10-23 2014-05-12 Kddi Corp Video content distribution device
JP2018181310A (en) 2018-03-12 2018-11-15 株式会社ドワンゴ Application program for terminal equipment, control method for terminal equipment, terminal equipment, and program for live broadcast distribution server

Also Published As

Publication number Publication date
JP2023040056A (en) 2023-03-22
JP7201468B2 (en) 2023-01-10
JP2020136702A (en) 2020-08-31

Similar Documents

Publication Publication Date Title
JP6570646B2 (en) Audio video file live streaming method, system and server
US11871088B2 (en) Systems, apparatus, and methods for providing event video streams and synchronized event information via multiple Internet channels
WO2018027237A1 (en) Systems, apparatus, and methods for scalable low-latency viewing of broadcast digital content streams of live events
US20170048446A1 (en) Remote Controlled Studio Camera System
CN106713936B (en) Live video matching method and system
CN110493657A (en) OnStream intelligent online steaming media platform system
US11825146B2 (en) System and method for storing multimedia files using an archive file format
CN102158344B (en) Parallel multicasting network file system
CN114501052B (en) Live broadcast data processing method, cloud platform, computer equipment and storage medium
US20150109403A1 (en) Selective recording of high quality media in a videoconference
Pan et al. OJUMP: Optimization for joint unicast‐multicast panoramic VR live streaming system
JP7483848B2 (en) Video distribution system, video distribution server, video distribution method, and video distribution program
JP7164856B1 (en) Server and method
US10904590B2 (en) Method and system for real time switching of multimedia content
KR102492014B1 (en) Method, Apparatus and System of managing contents in Multi-channel Network
JP7292901B2 (en) Transmission device, transmission method, and program
CN111837401B (en) Information processing apparatus, information processing method, and computer readable medium
JP6258897B2 (en) Content acquisition device, content acquisition method, metadata distribution device, and metadata distribution method
KR20220071057A (en) Apparatus for media streaming control and method therefor
CN113301365A (en) Media resource processing method, device, equipment and storage medium
Panchenko et al. Routing and switching a significant number of television signals covering large areas
EP3062210A1 (en) Method and server for the storage of multimedia content and its delivery in adaptive streaming systems
CN106326238A (en) Page classification display method and system
JP2010245806A (en) Method, system and server for converting moving image with voice, and computer readable program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230123

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240201

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240501

R150 Certificate of patent or registration of utility model

Ref document number: 7483848

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150