JP7201468B2 - 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
JP7201468B2
JP7201468B2 JP2019023057A JP2019023057A JP7201468B2 JP 7201468 B2 JP7201468 B2 JP 7201468B2 JP 2019023057 A JP2019023057 A JP 2019023057A JP 2019023057 A JP2019023057 A JP 2019023057A JP 7201468 B2 JP7201468 B2 JP 7201468B2
Authority
JP
Japan
Prior art keywords
distribution
server
connection destination
video
unit
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
JP2019023057A
Other languages
Japanese (ja)
Other versions
JP2020136702A (en
Inventor
俊介 道井
勇 茂木
Original Assignee
ピクシブ株式会社
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 ピクシブ株式会社 filed Critical ピクシブ株式会社
Priority to JP2019023057A priority Critical patent/JP7201468B2/en
Publication of JP2020136702A publication Critical patent/JP2020136702A/en
Priority to JP2022205080A priority patent/JP7483848B2/en
Application granted granted Critical
Publication of JP7201468B2 publication Critical patent/JP7201468B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

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

従来から、動画の配信は、配信者がサーバに動画を保存した後、視聴者がサーバにアクセスして所望の動画を視聴することが行われていた。近年は、動画をライブで配信することも行われている。ライブ配信を行う場合、例えば、配信者は、動画を配信してからすぐにユーザの反応を受け取ることができる等、新しいコミュニケーションの場としても考えられている。また、動画のライブ配信は、いろいろな用途にも利用することができると考えられる。このため、今後は、より多くの人が動画のライブ配信を行うことができるような場を提供することも重要と考えられている。 2. Description of the Related Art Conventionally, when distributing moving images, a distributor stores the moving images in a server, and then viewers access the server and view desired moving images. In recent years, live distribution of videos has also been performed. When performing live distribution, for example, the distributor can receive user's reaction immediately after distributing the moving image, and it is also considered as a new place of communication. In addition, it is conceivable that live distribution of moving images can be used for various purposes. Therefore, in the future, it is considered important to provide a place where more people can live-stream videos.

動画のライブ配信を行えるシステムには、例えば、特許文献1に記載されるようなシステムが存在する。特許文献1に記載されたシステムは、配信者端末、配信サーバ及びユーザ端末を備える。配信サーバは、配信者端末から送信された動画を受信すると、その動画を複数の視聴者に配信する構成である。また、特許文献1に記載されたシステムは、配信者端末と、視聴者端末との間で音声を使ったコミュニケーションが取れるようになっている。 A system described in Patent Document 1, for example, exists as a system capable of live distribution of moving images. The system described in Patent Literature 1 includes a distributor terminal, a distribution server, and user terminals. The distribution server is configured to receive a moving image transmitted from a distributor terminal and distribute the moving image to a plurality of viewers. In addition, the system described in Patent Document 1 enables communication using voice between the distributor terminal and the viewer terminal.

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

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

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

一態様の動画配信システムは、配信者が使用する配信者端末と、顧客サーバと、視聴者が使用する視聴者端末と、配信者端末から送信された動画データを視聴者端末にライブ配信する配信サーバと、が通信ネットワークによって接続する動画配信システムであって、顧客サーバは、配信者端末の要求に応じて、配信サーバに動画を配信するための配信リクエストを送信するリクエスト送信制御部と、配信リクエストに応じて配信サーバから応答された動画データの送信先となる配信接続先を配信者端末に通知すると共に、視聴者の視聴のための接続先となる視聴接続先を視聴者端末に通知する通知部と、を備え、配信者端末は、配信サーバとの間でデータを送受信する配信者通信部と、通知部によって通知された配信接続先に動画データを送信するよう配信者通信部を制御するデータ送信制御部と、を備え、配信サーバは、配信者端末、顧客サーバ及び視聴者端末との間でそれぞれデータを送受信するサーバ通信部と、サーバ通信部によって配信リクエストを受信すると、配信者端末から送信される動画データを配信サーバで受け付けるための配信接続先と、視聴者が動画データの配信を受けるために視聴者が配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先をサーバ通信部によって顧客サーバに返信させる接続先設定部と、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部と、配信者端末から送信された動画データをサーバ通信部で受信すると、配信設定部によって設定された配信設定に応じた配信データを生成する生成部と、生成部によって生成された配信データを視聴接続先に対応付けて配信する配信部と、を備え、視聴者端末は、配信サーバとの間でデータを送受信する視聴者通信部と、視聴者通信部を介して配信サーバの視聴接続先に接続して、配信サーバから配信された配信データに基づいて動画を表示する表示部と、を備える。 A video distribution system according to one aspect includes a distributor terminal used by a distributor, a customer server, a viewer terminal used by a viewer, and live distribution of video data transmitted from the distributor terminal to the viewer terminal. A video distribution system in which a server and a server are connected by a communication network, wherein the client server includes a request transmission control unit that transmits a distribution request for distributing a video to the distribution server in response to a request from a distributor terminal; Notifies the distributor terminal of the distribution connection destination, which is the transmission destination of the video data responded from the distribution server in response to the request, and notifies the viewer terminal of the viewing connection destination, which is the connection destination for viewing by the viewer. a notification unit, wherein the distributor terminal controls the distributor communication unit for transmitting/receiving data to/from the distribution server, and the distributor communication unit to transmit the video data to the distribution connection destination notified by the notification unit; a data transmission control unit for transmitting data to and from the distribution server; a server communication unit for transmitting and receiving data to and from each of the distributor terminal, the customer server, and the viewer terminal; Set the distribution connection destination for the distribution server to receive the video data sent from the terminal and the viewing connection destination for the viewer to connect to the distribution server to receive the distribution of the video data, and set the distribution connection destination and A connection destination setting unit that returns a viewing connection destination to a customer server by a server communication unit, a distribution setting unit that performs distribution settings for distributing a video to a viewer based on a distribution request, and a video sent from a distributor terminal When the data is received by the server communication unit, a generation unit that 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 in association with the viewing connection destination. and, the viewer terminal is connected to the viewing connection destination of the distribution server via the viewer communication unit for transmitting and receiving data with the distribution server, and the viewer terminal is distributed from the distribution server a display unit that displays a moving image based on the distribution data.

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

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

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

一態様の動画配信サーバは、外部に配される配信者端末から送信された動画データを外部に配される視聴者端末にリアルタイムで配信する動画配信サーバであって、配信者端末、外部に配される顧客サーバ、及び、視聴者端末との間でデータを送受信するサーバ通信部と、顧客サーバから配信リクエストを受信すると、配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先をサーバ通信部によって顧客サーバに返信させる接続先設定部と、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部と、配信者端末から送信された動画データをサーバ通信部で受信すると、配信設定部によって設定された配信設定に応じた配信データを生成する生成部と、生成部によって生成された配信データを視聴接続先に対応付けて配信する配信部と、を備える。 A video distribution server of one aspect is a video distribution server that distributes video data transmitted from an externally distributed distributor terminal to an externally distributed viewer terminal in real time. a server communication unit that transmits and receives data to and from a client server and a viewer terminal; and delivery for receiving video data sent from a distributor terminal at the video delivery server when a delivery request is received from the customer server. A connection destination and a viewing connection destination for a viewer to connect to a video distribution server in order for the viewer to receive a video distribution are set, and a connection destination for sending the distribution connection destination and the viewing connection destination back to the customer server by the server communication unit. A setting unit, a distribution setting unit that performs distribution settings for distributing a video to a viewer based on a distribution request, and a server communication unit that receives video data transmitted from a distributor terminal, the settings are set by the distribution setting unit. and a distribution unit that distributes the distribution data generated by the generation unit in association with a viewing connection destination.

一態様の動画配信プログラムでは、動画配信サーバを構成するコンピュータが、サーバ通信部によって、外部に配される配信者端末、外部に配される顧客サーバ、及び、外部に配される視聴者端末との間でデータを送受信する通信ステップと、顧客サーバから配信リクエストを受信すると、配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先をサーバ通信部によって顧客サーバに返信させる接続先設定ステップと、配信リクエストを受信すると、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定ステップと、配信者端末から送信された動画データをサーバ通信部で受信すると、配信設定ステップによって設定された配信設定に応じた配信データを生成する生成ステップと、生成ステップによって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信ステップと、を実行する。 In one aspect of the moving image distribution program, a computer constituting a moving image distribution server communicates with an externally arranged distributor terminal, an externally arranged customer server, and an externally arranged viewer terminal by means of a server communication unit. a communication step for transmitting and receiving data between the customer server, a distribution connection destination for receiving the video data transmitted from the distributor terminal at the video distribution server when a distribution request is received from the customer server, and a viewer receiving the distribution of the video a connection destination setting step in which a viewer sets a viewing connection destination to which a viewer connects to a moving picture distribution server for transmission, and causes a server communication unit to return the distribution connection destination and the viewing connection destination to a customer server; a delivery setting step for performing delivery settings for delivering a video to viewers based on the above; A generation step of generating distribution data and a distribution step of distributing the distribution data generated by the generation step in real time in association with a viewing connection destination are executed.

一態様の動画配信プログラムは、動画配信サーバを構成するコンピュータに、外部に配される配信者端末と、外部に配される視聴者端末と、外部に配される顧客サーバとの間でそれぞれデータを送受信する通信機能と、配信者端末から配信リクエストを受信すると、配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を通信機能によって顧客サーバに返信させる接続先設定機能と、通信機能によって配信リクエストを受信すると、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定機能と、配信者端末から送信された動画データを通信機能で受信すると、配信設定機能によって設定された配信設定に応じた配信データを生成する生成機能と、生成機能によって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信機能と、を実現させる。 A moving image distribution program of one aspect is a computer that constitutes a moving image distribution server, and data transmission between an externally arranged distributor terminal, an externally arranged viewer terminal, and an externally arranged customer server. When a delivery request is received from the distributor terminal, the distribution connection destination for receiving the video data sent from the distributor terminal at the video distribution server, and the viewing for the viewer to receive the distribution of the video The customer sets the viewing connection destination to connect to the video distribution server, and the connection destination setting function that sends the distribution connection destination and viewing connection destination back to the customer server using the communication function. When the video data sent from the distributor terminal is received by the communication function, the distribution data according to the distribution settings set by the distribution setting function and a distribution function for distributing in real time the distribution data generated by the generation function in association with a viewing connection destination.

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

一実施形態に係る動画配信システムの概略について説明するための図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a figure for demonstrating the outline of the moving image delivery system which concerns on one Embodiment. 一実施形態に係る動画配信システムについて説明するための第1のブロック図である。1 is a first block diagram for explaining a video distribution system according to one embodiment; FIG. 一実施形態に係る動画配信システムについて説明するための第2のブロック図である。FIG. 2 is a second block diagram for explaining the moving image distribution system according to one embodiment; 配信者端末及び顧客サーバの処理の流れについて説明するためのフローチャートである。FIG. 11 is a flow chart for explaining the flow of processing of a distributor terminal and a customer server; FIG. 動画配信サーバの処理の流れについて説明するためのフローチャートである。FIG. 10 is a flowchart for explaining the flow of processing by the video distribution server; FIG. 生成部の処理の流れについて説明するためのフローチャートである。8 is a flowchart for explaining the flow of processing of a generation unit; 視聴者端末の処理の流れについて説明するためのフローチャートである。4 is a flowchart for explaining the flow of processing of the viewer terminal;

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

動画配信システム1は、配信者端末10、動画配信サーバ20(配信サーバ)及び複数の視聴者端末30を備える。
配信者端末10は、例えば、被写体を撮像する撮像部(図示せず)を備える。配信者端末10は、撮像部によって被写体を撮像して動画データを生成し、その動画データを動画配信サーバ20に送信する。配信者端末10は、音声を取得するマイク部(図示せず)を備えることとしてもよい。この場合、配信者端末10は、マイク部によって取得した音声データを動画データに含ませることができる。
なお、配信者端末10で撮像する被写体は種々のものであってよい。配信者端末10は、一例として、イラストを描く時の様子を撮影することしてもよく、写真をコンピュータでレタッチする時の様子を撮影してもよい。又は、配信者端末10は、一例として、人物及び風景等を撮影することとしてもよい。
また、配信者端末10は、その配信者端末10の表示部(図示せず)に表示される画面を動画データとして生成することとしてもよい。
A video distribution system 1 includes a distributor terminal 10 , a video 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 captures an image of a subject. Distributor terminal 10 captures an image of a subject with an imaging unit to generate moving image data, and transmits the moving image data to moving image distribution server 20 . The distributor terminal 10 may include a microphone unit (not shown) that acquires voice. In this case, the distributor terminal 10 can include the audio data acquired by the microphone unit in the video data.
Various subjects may be captured by the distributor terminal 10 . For example, the distributor terminal 10 may take a picture of drawing an illustration, or may take a picture of a picture being retouched by a computer. Alternatively, the distributor terminal 10 may, for example, take pictures of people, landscapes, and the like.
Further, the distributor terminal 10 may generate a screen 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 connects to the video distribution server 20 . Thousands of viewer terminals 30 can be connected to the video distribution server 20, for example. Although two viewer terminals 30 are shown in the example shown in FIG. 1, the present invention is not limited to this example.
When the moving image distribution server 20 acquires the moving image data generated by the distributor terminal 10, the moving image distribution server 20 converts the moving image data into distribution data that can be distributed in real time, and distributes the distribution data live to the viewer terminal 30. - 特許庁The viewer terminal 30 can view the moving image generated by the distributor terminal 10 almost in real time.

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

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

顧客サーバ40は、リクエスト送信制御部41及び通知部42を備える。
リクエスト送信制御部41は、配信者端末10の要求に応じて、動画配信サーバ20に動画を配信するための配信リクエストを送信する。配信リクエストは、動画を配信するためのチャンネルの作成を要求する情報である。
The customer server 40 includes a request transmission control section 41 and a notification section 42 .
The request transmission control unit 41 transmits a distribution request for distributing a moving image to the moving image distribution server 20 in response to a request from the distributor terminal 10 . A distribution request is information requesting creation of a channel for distributing a 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 that is the transmission destination of the video data responded from the video distribution server 20 in response to the distribution request. The connection destination is notified to the viewer terminal 30 .
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 e-mail or the like describing a viewing connection destination to viewers (viewer terminals 30) registered in the customer server 40 in advance. Alternatively, the notification unit 42 can notify the distributor terminal 10 of the viewing connection destination. When receiving the viewing connection destination notification from the notification unit 42, the distributor terminal 10, for example, sends the viewing connection destination to the distributor's own web page (eg, blog, homepage, etc.), SNS (Social Networking Service), etc. By posting, the viewer is notified of the viewing connection destination.
The notification unit 42 can notify the viewer (viewer terminal 30) of the viewing connection destination by various methods other than the above example.
By accessing the viewing connection destination provided by the notification unit 42, the viewer can view the moving image transmitted from the distributor terminal 10 almost in real time.

配信者端末10は、配信者通信部11及びデータ送信制御部13を備える。
配信者通信部11は、動画配信サーバ20との間でデータを送受信する。また、配信者通信部11は、顧客サーバ40との間でデータを送受信することとしてもよい。
The distributor terminal 10 includes a distributor communication section 11 and a data transmission control section 13 .
The distributor communication unit 11 transmits and receives data to and from the video distribution server 20 . Also, the distributor communication unit 11 may 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))である。
The data transmission control unit 13 transmits, via the customer server 40, the distribution connection destination to which the moving image data responded from the moving image distribution server 20 is transmitted and the viewing connection destination to be connected for viewing by the viewer. When the video data is received by the communication unit 11, the distributor communication unit 11 is controlled to transmit the video data to the distribution connection destination. Here, the information received by the distributor communication unit 11 includes information for connecting the distributor terminal 10 to the distribution connection destination (for the distributor to use the distribution connection destination) in addition to the distribution connection destination and viewing connection destination. ) may include identification information.
When the customer server 40 transmits a distribution request to the moving picture distribution server 20 in response to a request from the distributor terminal 10, the moving picture distribution server 20 performs distribution settings based on the distribution request, and also sets a distribution connection destination and a viewer connection destination. connection information (channel information) relating to is returned to the customer server 40 .
The delivery connection destination is information for connecting to the control unit 26 of the video delivery server 20 . The distributor terminal 10 can perform real-time distribution by distributing moving images to distribution connection destinations.
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 the video distributed by the 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 to and from the distributor terminal 10, the customer server 40, and the viewer terminal 30, respectively.

接続先設定部22は、サーバ通信部21によって配信リクエストを受信すると、配信者端末10から送信される動画データを動画配信サーバ20で受け付けるための配信接続先と、視聴者が動画データの配信を受けるために視聴者が動画配信サーバ20に接続する視聴接続先とを設定する。接続先設定部22は、配信接続先及び視聴接続先をサーバ通信部21によって顧客サーバ40に返信させる。 When a distribution request is received by the server communication unit 21, the connection destination setting unit 22 sets a distribution connection destination for the video data transmitted from the distributor terminal 10 to be received by the video distribution server 20, and a distribution connection destination for the viewer to distribute the video data. A viewing connection destination to which the viewer connects to the moving picture distribution server 20 for receiving is set. 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 the distribution request transmitted from the customer server 40, the connection destination (distribution connection destination) of the moving image distribution server 20 for accepting the moving image data transmitted by the distributor terminal 10 is set. set. In addition, upon receiving a distribution request, the connection destination setting unit 22 sets the connection destination (viewing connection destination) of the video distribution server 20 to which the viewer connects to view the video. The viewing connection destination may be set according to at least one setting of the resolution, bit rate, and frame rate of the video to be distributed, which is set by the distribution setting unit 23 . The connection destination setting unit 22 transmits connection destination information as channel information to the customer server 40 after completing the setting of each of the distribution connection destination and the viewing connection destination. The connection destination information includes information regarding 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 completes the distribution setting described later.

配信設定部23は、配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う。配信設定は、例えば、ストリーム数及び各ストリームの設定等である。各ストリームの設定は、例えば、配信する動画の解像度、ビットレート及びフレームレートのうち少なくとも1つの設定である。 The distribution setting unit 23 performs distribution settings for distributing moving images to viewers based on distribution requests. The delivery settings include, for example, the number of streams and settings for each stream. The setting for each stream is, for example, at least one setting 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 generator 24 may include a decoder 241 and a converter 242 .

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

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

変換部242は、デコード部241によって動画データを区切ることにより複数の動画セグメントが順次生成された場合、1の動画セグメントの全てを配信データに変換した後に、その配信データを配信することとしてもよい。
又は、変換部242は、デコード部241によって複数の動画セグメントが順次生成された場合、1の動画セグメントの全てが配信データに変換される前、すなわち、順次変換される配信データを順次配信することとしてもよい。すなわち、変換部242は、1の動画セグメントを順次変換して、配信が可能になるデータの単位になるまで配信データを記憶部(図示せず)に記憶し、配信データが配信可能なデータの単位になると、視聴者端末30に順次配信することとしてもよい。
生成部24は、後述する処理部243(図3参照)を備えることとしてもよい。
When a plurality of video segments are sequentially generated by segmenting the video data by the decoding unit 241, the conversion unit 242 may distribute the distribution data after converting all of one video segment into distribution data. .
Alternatively, when a plurality of moving image segments are sequentially generated by the decoding unit 241, the converting unit 242 sequentially distributes the distribution data before all of one moving image segment is converted into distribution data, that is, the distribution data that is sequentially converted. may be That is, the conversion unit 242 sequentially converts one moving image segment, stores the distribution data in a storage unit (not shown) until it becomes a distributable data unit, and converts the distribution data into a distributable data unit. When it becomes a unit, it may be delivered to the viewer terminal 30 sequentially.
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 connects the distribution data and the viewing connection destination so that the viewer terminal 30 can view the video based on the distribution data generated by the generation unit 24. Real-time distribution is performed in association with each other. When a plurality of distribution data are generated according to distribution settings in the generation unit 24, the distribution unit 25 associates the viewing connection destination according to the distribution settings with the distribution data according to the distribution settings, and performs real-time distribution. do.

視聴者端末30は、視聴者通信部31及び表示部32を備える。
視聴者通信部31は、動画配信サーバ20との間でデータを送受信する。
The viewer terminal 30 includes a viewer communication section 31 and a display section 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 moving image distribution server 20 via the viewer communication unit 31 and displays moving images based on the distribution data distributed from the moving image distribution server 20 . That is, when the viewer terminal 30 accesses the viewing connection destination using the viewer communication unit 31 , the viewer terminal 30 receives the distribution data distributed by the distribution unit 25 of the video distribution server 20 . The display unit 32 displays moving images 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 for explaining the moving image delivery system according to one embodiment.
In addition, in FIG. 3, the description of 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 connects to the video distribution server 20 via the customer server 40, for example.
The customer server 40 mediates communication between the distributor terminal 10 and the video distribution server 20, for example. That is, the customer server 40 is a server for connecting the distributor terminal 10 to the video distribution server 20 .
Note that one or a plurality of viewer terminals 30 may be connected to the customer server 40 in addition to the distributor terminal 10 . Upon receiving the 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 moving picture 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 processing 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. Upon receiving the distribution request, the distribution setting unit 23 performs distribution settings based on the distribution request, and stores information about the distribution settings in the 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 has a generator 24 . The generation unit 24 includes a processing unit 243 in addition to the decoding unit 241 and conversion unit 242 . The processing unit 243 is, for example, an HTTP server. The processing unit 243 (HTTP server) has 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 moving image data is input, the decoding unit 241 decodes the moving image data, rearranges the frames in chronological order, and collects the rearranged frames at predetermined time intervals to generate a moving image segment. The decoding unit 241 transmits the generated moving image segment to the converting unit 242 .

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

サービスサーバ204は、配信部25を備える。接続先設定部22から配信者端末10に送信される視聴接続先(配信URL)は、配信部25に接続するための情報である。 The service server 204 has a distribution unit 25 . The viewing connection destination (distribution URL) transmitted 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 section 25 distributes the distribution data and the playlist distributed from the processing section 243 to the viewer terminal 30 . Specifically, when the viewer terminal 30 connects to the distribution unit 25, the API server 201 reads distribution settings from the DB 27, accesses the processing unit 243 of the HLS server 203 according to the distribution settings, and reads distribution data.
Note that, when distribution data is distributed to one viewer terminal 30 by being accessed from one viewer terminal 30, the distribution unit 25 may cache the distribution data. As a result, when another viewer terminal 30 accesses, the distribution unit 25 allows the other viewer terminal 30 to have the same settings as the one viewer terminal 30 described above (for example, resolution, bit rate, frame rate, etc.). ), the cached distribution data can be transmitted to another viewer terminal 30. FIG.
Thereby, the video distribution server 20 can distribute the distribution data to the viewer terminal 30 in real time.

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

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

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

ステップST12において、配信者通信部11は、顧客サーバ40から配信接続先及び視聴接続先を受信する。すなわち、顧客サーバ40は、ステップST11で送信した配信リクエストに応じて動画配信サーバ20が返信した配信接続先及び視聴接続先を受信する。顧客サーバ40は、配信接続先及び視聴接続先のうち少なくとも配信接続先を配信者端末10に送信する。 In step ST<b>12 , the distributor communication section 11 receives the distribution connection destination and 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 transmitted 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 moving image data to the distribution connection destination (moving image distribution server 20) received in step ST12. Note that, when the identification information is transmitted from the moving image distribution server 20 , the data transmission control unit 13 transmits the identification information to the moving image distribution server 20 before transmitting the moving image data to the moving image distribution server 20 .

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

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

ステップ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 causes the customer server 40 to transmit the distribution connection destination and the viewing connection destination. The connection destination setting unit 22, for example, acquires currently unused addresses and port numbers from among a plurality of addresses and port numbers for transmitting video data to the video distribution server 20, and distributes the acquired addresses and port numbers. Set as connection destination. Further, the connection destination setting unit 22 acquires, for example, an address and a port number that are not currently used among a plurality of addresses and port numbers used when delivering moving images from the moving image delivery server 20, and stores the acquired address and port number. Set as a viewing connection destination.

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

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

ステップ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 of the generation unit 24 will be described later.

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

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

ステップST101において、デコード部241は、動画データを受け付けると、動画データを構成するフレームを時系列順に並び替える。すなわち、デコード部241は、配信者端末10から送信された動画データのフレームが時系列順に並ぶようにする。 In step ST101, when receiving moving image data, the decoding unit 241 rearranges the frames constituting the moving image data in chronological order. That is, 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 to generate moving image segments.

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

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

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

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

ステップST33において、表示部32は、ステップST32で取得された配信データに基づく動画を表示する。これにより、表示部32は、配信者端末10で取得される動画をリアルタイムで表示することができる。 In step ST33, the display unit 32 displays the moving image based on the distribution data acquired in step ST32. Thereby, the display unit 32 can 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.
A 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 moving image to the moving image distribution server 20 in response to a request from the distributor terminal 10, and a response from the moving image distribution server 20 in response to the distribution request. a notification unit that notifies the distributor terminal 10 of the distribution connection destination to which the moving image data is transmitted, and notifies the viewer terminal 30 of the viewing connection destination that is the connection destination for viewing by the viewer. The distributor terminal 10 includes a data transmission control unit 13 for transmitting moving image data to distribution connection destinations. The video distribution server 20 sets a distribution connection destination and a viewing connection destination when receiving a distribution request, and returns the distribution connection destination and the viewing connection destination to the customer server 40; to viewers, and when video data transmitted from the distributor terminal 10 is received, distribution data corresponding to the distribution settings set by the distribution setting unit 23 is generated. A generation unit 24 and a distribution unit 25 for distributing distribution data generated by the generation unit 24 in association with a viewing connection destination. The viewer terminal 30 includes a display unit 32 that connects to a viewing connection destination of the video distribution server 20 and displays a video based on distribution data distributed from the video distribution server 20 .
Thereby, the video distribution system 1 can perform live distribution of the video transmitted from the distributor terminal 10 to the viewer terminal 30 .
In addition, since the moving image distribution system 1 can set real-time distribution in the moving image distribution server 20 by transmitting a distribution request from the distributor terminal 10, it is possible to provide a system that is easy for the distributor to use. Also, the moving image distribution system 1 can provide a system that is easy to control by the user.
In addition, the moving image distribution system 1 distributes distribution data to the viewer terminal 30 by connecting the viewer terminal 30 to the moving image distribution server 20 according to the viewing connection destination. As an example, the viewer terminal 30 can receive the distribution data simply by one-clicking the viewing connection destination notified by the notification unit 42 by the viewer. Therefore, the video distribution system 1 can provide a system that is easy for viewers to use.

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

動画配信システム1では、デコード部241は、動画データを構成するフレームを時系列順に並び替えて、所定の時間毎に複数のフレームに区切る処理を行うこととしてもよい。この場合、変換部242は、デコード部241によって区切られたフレームをリアルタイム配信が可能なデータに順次変換することにより、配信データを生成することとしてもよい。
これにより、動画配信システム1は、デコード部241によって動画セグメントを生成し、変換部242によって動画セグメントに基づいてセグメントファイルを生成するので、セグメントファイルが生成される毎に配信データとして視聴者端末30に配信することができる。すなわち、動画配信システム1は、動画のライブ配信を行うことができる。
なお、実施形態によっては、動画配信システム1は、1の動画セグメントの全てがセグメントファイルとして生成された後に視聴者端末30に配信するのではなく、1の動画セグメントの全てがセグメントファイルとして生成される前に視聴者端末30に配信することとしてもよい。すなわち、動画配信システム1は、1の動画セグメントがセグメントファイルに変換される途中において、セグメントファイルが視聴者端末30に配信できる単位になると、視聴者端末30に順次配信することとしてもよい。これにより、動画配信システム1は、相対的に低遅延のライブ配信を行うことができる。
In the moving image distribution system 1, the decoding unit 241 may rearrange the frames that make up the moving image data in chronological order and divide them 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 delimited by the decoding unit 241 into data that can be distributed in real time.
As a result, the moving image distribution system 1 generates moving image segments by the decoding unit 241 and generates segment files based on the moving image segments by the converting unit 242. Therefore, each time a segment file is generated, the viewer terminal 30 is generated as distribution data. can be delivered to That is, the moving image distribution system 1 can perform live distribution of moving images.
Note that, in some embodiments, the moving image distribution system 1 does not distribute all of one moving image segment as a segment file before distributing it to the viewer terminal 30, but generates all of one moving image segment as a segment file. It may be delivered to the viewer terminal 30 before the viewing. That is, the moving image distribution system 1 may sequentially distribute the segment files to the viewer terminal 30 when the segment file becomes a unit that can be distributed to the viewer terminal 30 while one moving image segment is being converted into a segment file. As a result, the video distribution system 1 can perform live distribution with relatively low delay.

動画配信システム1では、配信設定部23は、配信設定として、配信する動画の解像度、ビットレート及びフレームレートのうち少なくとも1つの設定を行うこととしてもよい。この場合、生成部24は、配信設定に応じて1又は複数の配信データを生成することとしてもよい。
これにより、動画配信システム1は、配信者が所望する設定で動画を配信することができる。
In the moving image distribution system 1, the distribution setting unit 23 may set at least one of the resolution, bit rate, and frame rate of the moving image to be distributed as the distribution setting. In this case, the generation unit 24 may generate one or a plurality of distribution data according to distribution settings.
As a result, the moving picture distribution system 1 can distribute the moving picture 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 receives a distribution request, sets a distribution connection destination and a viewing connection destination, and returns the distribution connection destination and the viewing connection destination to the distributor terminal 10, and based on the distribution request. A distribution setting unit 23 for making distribution settings for distributing moving images to viewers, and upon receiving video data transmitted from a distributor terminal 10, generating distribution data according to the distribution settings set by the distribution setting unit 23. and a distribution unit 25 for distributing the distribution data generated by the generation unit 24 in association with the viewing connection destination.
Thereby, the video distribution server 20 can perform live distribution of the video transmitted from the distributor terminal 10 to the viewer terminal 30 .
In addition, since the moving image distribution server 20 can set real-time distribution in the moving image distribution server 20 by transmitting a distribution request from the distributor terminal 10, it is possible to provide a server that is easy for the distributor to use. Also, the moving picture distribution server 20 can provide a server that is easy to control by the user.
In addition, the moving image distribution server 20 distributes the distribution data to the viewer terminal 30 by connecting the viewer terminal 30 to the moving image distribution server 20 according to the viewing connection destination. As an example, the viewer terminal 30 can receive the distribution data simply by one-clicking the viewing connection destination notified by the notification unit 42 by the viewer. Therefore, the video distribution server 20 can provide a user-friendly server for viewers.

動画配信方法は、動画配信サーバ20を構成するコンピュータが、サーバ通信部21によって、外部に配される配信者端末10との間でデータを送受信すると共に、外部に配される視聴者端末30との間でデータを送受信する通信ステップと、配信者端末10から配信リクエストを受信すると配信接続先及び視聴接続先を設定し、配信接続先及び視聴接続先をサーバ通信部21によって配信者端末10に返信させる接続先設定ステップと、配信リクエストを受信すると配信設定を行う配信設定ステップと、配信者端末10から送信された動画データをサーバ通信部21で受信すると、配信設定ステップによって設定された配信設定に応じた配信データを生成する生成ステップと、生成ステップによって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信ステップと、を実行する。
これにより、動画配信方法は、配信者端末10から送信される動画を視聴者端末30にライブ配信することができる。
また、動画配信方法は、配信者端末10から配信リクエストを送信することにより、動画配信サーバ20におけるリアルタイム配信の設定を行うことができるので、配信者にとって使いやすい方法を提供することができる。また、動画配信方法は、ユーザによって制御しやすい方法を提供することができる。
また、動画配信方法は、視聴者端末30が視聴接続先に応じて動画配信サーバ20に接続することにより配信データを視聴者端末30に配信する。一例として、視聴者が通知部42によって通知される視聴接続先をワンクリックするだけで、視聴者端末30は、配信データを受信することができる。よって、動画配信方法は、視聴者にとって使いやすい方法を提供することができる。
In the moving image distribution method, a computer constituting the moving image distribution server 20 transmits and receives data to and from the externally arranged distributor terminal 10 through the server communication unit 21, and also transmits and receives data to and from the externally arranged viewer terminal 30. a communication step of transmitting and receiving data between the distributor terminal 10, setting a distribution connection destination and a viewing connection destination when a distribution request is received from the distributor terminal 10, and transmitting the distribution connection destination and the viewing connection destination to the distributor terminal 10 by the server communication unit 21; A connection destination setting step for sending a reply; a delivery setting step for performing delivery settings when a delivery request is received; and a distribution step of correlating the distribution data generated by the generation step with the viewing connection destination and distributing it in real time.
Thereby, the moving image distribution method can perform live distribution of the moving image transmitted from the distributor terminal 10 to the viewer terminal 30 .
In addition, since the moving image distribution method can set real-time distribution in the moving image distribution server 20 by transmitting a distribution request from the distributor terminal 10, it is possible to provide a method that is easy for the distributor to use. Also, the moving image distribution method can provide a method that is easy to control by the user.
In addition, the moving image distribution method distributes distribution data to the viewer terminal 30 by connecting the viewer terminal 30 to the moving image distribution server 20 according to the viewing connection destination. As an example, the viewer terminal 30 can receive the distribution data simply by one-clicking the viewing connection destination notified by the notification unit 42 by the viewer. Therefore, the moving image distribution method can provide a method that is easy for viewers to use.

動画配信プログラムは、動画配信サーバ20を構成するコンピュータに、外部に配される配信者端末10との間でデータを送受信すると共に、外部に配される視聴者端末30との間でデータを送受信する通信機能と、配信者端末10から配信リクエストを受信すると配信接続先及び視聴接続先とを設定し、配信接続先及び視聴接続先を通信機能によって配信者端末10に返信させる接続先設定機能と、通信機能によって配信リクエストを受信すると配信設定を行う配信設定機能と、配信者端末10から送信された動画データを通信機能で受信すると、配信設定に応じた配信データを生成する生成機能と、生成機能によって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信機能と、実現させる。
これにより、動画配信プログラムは、配信者端末10から送信される動画を視聴者端末30にライブ配信することができる。
また、動画配信プログラムは、配信者端末10から配信リクエストを送信することにより、動画配信サーバ20におけるリアルタイム配信の設定を行うことができるので、配信者にとって使いやすいプログラムを提供することができる。また、動画配信プログラムは、ユーザによって制御しやすいプログラムを提供することができる。
また、動画配信プログラムは、視聴者端末30が視聴接続先に応じて動画配信サーバ20に接続することにより配信データを視聴者端末30に配信する。一例として、視聴者が通知部42によって通知される視聴接続先をワンクリックするだけで、視聴者端末30は、配信データを受信することができる。よって、動画配信プログラムは、視聴者にとって使いやすいプログラムを提供することができる。
The moving image distribution program transmits and receives data to and from the computer constituting the moving image distribution server 20 with the distributor terminal 10 arranged outside, and also transmits and receives data with the viewer terminal 30 arranged outside. and 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 by the communication function. a delivery setting function for making delivery settings when a delivery request is received by the communication function; a generating function for generating delivery data according to the delivery settings when video data transmitted from the distributor terminal 10 is received by the communication function; A distribution function for distributing distribution data generated by the function in real time in association with a viewing connection destination is realized.
Thereby, the video distribution program can live-distribute the video transmitted from the distributor terminal 10 to the viewer terminal 30 .
In addition, since the moving image distribution program can set real-time distribution in the moving image distribution server 20 by transmitting a distribution request from the distributor terminal 10, it is possible to provide a program that is easy for the distributor to use. Also, the moving image distribution program can provide a program that is easy for the user to control.
Further, the moving image distribution program distributes distribution data to the viewer terminal 30 by connecting the viewer terminal 30 to the moving image distribution server 20 according to the viewing connection destination. As an example, the viewer terminal 30 can receive the distribution data simply by one-clicking the viewing connection destination notified by the notification unit 42 by the viewer. Therefore, the moving image distribution program can provide a program that is easy for viewers to use.

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

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

また、動画配信システム1は、配信者端末10から動画配信サーバ20に送信される動画データのビットレートが、動画配信サーバ20から視聴者端末30に配信される配信データのビットレートよりも低くなった場合、動画データから配信データへの変換を行わなくともよい。すなわち、動画配信システム1では、生成部24は、動画データを動画セグメントに分割して、分割した動画セグメントをセグメントファイル(配信データ)として視聴者端末30に配信することとしてもよい。これにより、動画配信システム1は、動画を配信する際の遅延を抑制することができる。 In the video distribution system 1, 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. In this case, it is not necessary to convert the video data into the distribution data. That is, in the moving image distribution system 1, the generation unit 24 may divide the moving image data into moving image segments and distribute the divided moving image segments to the viewer terminal 30 as segment files (distribution data). As a result, the moving image distribution system 1 can suppress delays when distributing moving images.

また、上記実施の形態に示す動画配信システム1において、リアルタイム配信を実現できると説明しているが、変換部242による変換処理が入るため、わずかながらもタイムラグが発生する。このタイムラグを抑制する手法として上記実施の形態においては、通常セグメント単位での変換を行って、配信するようにしているところ、セグメント内の細かい単位(例えばフレーム単位)で配信するようにすることで、よりリアルタイムに近い配信を実現する例を示している。この配信の遅延を抑制する手法は、これ以外の手法を用いてもよく、他の構成を採用してもよい。 Further, although it has been described that real-time distribution can be realized in the moving image distribution system 1 shown in the above embodiment, a slight time lag occurs due to conversion processing by the conversion unit 242 . As a method for suppressing this time lag, in the above-described embodiment, conversion is normally performed in units of segments for distribution. , shows an example of realizing delivery closer to real time. A technique other than this may be used as the technique for suppressing the delivery delay, and another configuration may be adopted.

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

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 Moving image distribution system 10 Distributor terminal 11 Distributor communication unit 13 Data transmission control unit 20 Moving image 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 (7)

配信者が使用する配信者端末と、顧客サーバと、視聴者が使用する視聴者端末と、前記配信者端末から送信された動画データを前記視聴者端末にライブ配信する配信サーバと、が通信ネットワークによって接続する動画配信システムであって、
前記顧客サーバは、
前記配信者端末の要求に応じて、前記配信サーバに動画を配信するための配信リクエストを送信するリクエスト送信制御部と、
配信リクエストに応じて前記配信サーバから応答された動画データの送信先となる配信接続先を前記配信者端末に通知すると共に、視聴者の視聴のための接続先となる視聴接続先を前記視聴者端末に通知する通知部と、を備え、
前記配信者端末は、
前記配信サーバとの間でデータを送受信する配信者通信部と、
前記通知部によって通知された配信接続先に動画データを送信するよう配信者通信部を制御するデータ送信制御部と、を備え、
前記配信サーバは、
前記配信者端末、前記顧客サーバ及び前記視聴者端末との間でそれぞれデータを送受信するサーバ通信部と、
前記サーバ通信部によって前記配信リクエストを受信すると、前記配信者端末から送信される動画データを配信サーバで受け付けるための配信接続先と、視聴者が動画データの配信を受けるために視聴者が配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を前記サーバ通信部によって前記顧客サーバに返信させる接続先設定部と、
前記配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部と、
前記配信者端末から送信された動画データを前記サーバ通信部で受信すると、前記配信設定部によって設定された配信設定に応じた配信データを生成する生成部と、
前記生成部によって生成された配信データを視聴接続先に対応付けて配信する配信部と、を備え、
前記視聴者端末は、
前記配信サーバとの間でデータを送受信する視聴者通信部と、
前記視聴者通信部を介して前記配信サーバの視聴接続先に接続して、前記配信サーバから配信された配信データに基づいて動画を表示する表示部と、を備える
動画配信システム。
A communication network comprising a distributor terminal used by a distributor, a customer server, a viewer terminal used by a viewer, and a distribution server for live distribution of video data transmitted from the distributor terminal to the viewer terminal. A video distribution system connected by
The customer server
a request transmission control unit that transmits a distribution request for distributing a video to the distribution server in response to a request from the distributor terminal;
Notifying the distributor terminal of a distribution connection destination that is a transmission destination of video data responded from the distribution server in response to a distribution request, and providing a viewing connection destination that is a connection destination for viewing by the viewer. and a notification unit that notifies the terminal,
The distributor terminal is
a distributor communication unit that transmits and receives data to and from the distribution server;
a data transmission control unit that controls the distributor communication unit to transmit video data to the distribution connection destination notified by the notification unit;
The distribution server
a server communication unit that transmits and receives data to and from the distributor terminal, the customer server, and the viewer terminal;
When the server communication unit receives the distribution request, a distribution connection destination for receiving the video data transmitted from the distributor terminal at the distribution server, and a distribution server for the viewer to receive the distribution of the video data. a connection destination setting unit that sets a viewing connection destination to be connected to 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 a video to a viewer based on the distribution request;
a generating unit configured to generate distribution data according to distribution settings set by the distribution setting unit when the server communication unit receives video data transmitted from the distributor terminal;
a distribution unit that distributes distribution data generated by the generation unit in association with a viewing connection destination,
The viewer terminal is
a viewer communication unit that transmits and receives data to and from the distribution server;
a display unit connected to a viewing connection destination of the distribution server via the viewer communication unit and displaying a moving image based on distribution data distributed from the distribution server.
前記生成部は、
動画データをデコードするデコード部と、
前記デコード部でデコードされた動画データに基づいて、配信設定に応じて1又は複数の配信データを生成する変換部と、
を備える請求項1に記載の動画配信システム。
The generating unit
a decoding unit that decodes video data;
a conversion unit that generates one or a plurality of distribution data according to distribution settings based on the video data decoded by the decoding unit;
The moving image distribution system according to claim 1, comprising:
前記デコード部は、動画データを構成するフレームを時系列順に並び替えて、所定の時間毎に複数のフレームに区切る処理を行い、
前記変換部は、前記デコード部によって区切られたフレームをリアルタイム配信が可能なデータに順次変換することにより、配信データを生成する
請求項2に記載の動画配信システム。
The decoding unit rearranges the frames that make up the moving image data in chronological order and divides them into a plurality of frames at predetermined time intervals,
3. The moving image 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 the resolution, bit rate, and frame rate of a video to be distributed as distribution settings,
4. The moving image distribution system according to any one of claims 1 to 3, wherein the generation unit generates one or a plurality of distribution data according to distribution settings.
外部に配される配信者端末から送信された動画データを外部に配される視聴者端末にリアルタイムで配信する動画配信サーバであって、
前記配信者端末、外部に配される顧客サーバ、及び、前記視聴者端末との間でデータを送受信するサーバ通信部と、
前記顧客サーバから配信リクエストを受信すると、前記配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を前記サーバ通信部によって前記顧客サーバに返信させる接続先設定部と、
前記配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定部と、
前記配信者端末から送信された動画データを前記サーバ通信部で受信すると、前記配信設定部によって設定された配信設定に応じた配信データを生成する生成部と、
前記生成部によって生成された配信データを視聴接続先に対応付けて配信する配信部と、
を備える動画配信サーバ。
A video distribution server that distributes in real time video data transmitted from an externally distributed distributor terminal to an externally distributed viewer terminal,
a server communication unit that transmits and receives data to and from the distributor terminal, a customer server arranged outside, and the viewer terminal;
When a distribution request is received from the customer server, a distribution connection destination for receiving video data transmitted from the distributor terminal at the video distribution server, and a viewer connecting to the video distribution server for receiving the distribution of the video. a connection destination setting unit that sets a viewing connection destination to be connected and causes the server communication unit to return the delivery connection destination and the viewing connection destination to the customer server;
a distribution setting unit that performs distribution settings for distributing a video to a viewer based on the distribution request;
a generating unit configured to generate distribution data according to distribution settings set by the distribution setting unit when the server communication unit receives video data transmitted from the distributor terminal;
a distribution unit that distributes distribution data generated by the generation unit in association with a viewing connection destination;
Video distribution server.
動画配信サーバを構成するコンピュータが、
サーバ通信部によって、外部に配される配信者端末、外部に配される顧客サーバ、及び、外部に配される視聴者端末との間でデータを送受信する通信ステップと、
前記顧客サーバから配信リクエストを受信すると、前記配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を前記サーバ通信部によって前記顧客サーバに返信させる接続先設定ステップと、
前記配信リクエストを受信すると、前記配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定ステップと、
前記配信者端末から送信された動画データを前記サーバ通信部で受信すると、前記配信設定ステップによって設定された配信設定に応じた配信データを生成する生成ステップと、
前記生成ステップによって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信ステップと、
を実行する動画配信方法。
A computer that constitutes a video distribution server
a communication step of transmitting and receiving data to and from an externally arranged distributor terminal, an externally arranged customer server, and an externally arranged viewer terminal by a server communication unit;
When a distribution request is received from the customer server, a distribution connection destination for receiving video data transmitted from the distributor terminal at the video distribution server, and a viewer connecting to the video distribution server for receiving the distribution of the video. a connection destination setting step of setting a viewing connection destination to be connected and causing the server communication unit to return the delivery connection destination and the viewing connection destination to the customer server;
a delivery setting step of, upon receiving the delivery request, performing delivery settings for delivering a video to a viewer based on the delivery request;
a generation step of generating distribution data in accordance with the distribution settings set in the distribution setting step when the server communication unit receives video data transmitted from the distributor terminal;
a distribution step of distributing the distribution data generated in the generation step in real time in association with a viewing connection destination;
A video delivery method that performs
動画配信サーバを構成するコンピュータに、
外部に配される配信者端末と、外部に配される視聴者端末と、外部に配される顧客サーバとの間でそれぞれデータを送受信する通信機能と、
前記配信者端末から配信リクエストを受信すると、前記配信者端末から送信される動画データを動画配信サーバで受け付けるための配信接続先と、視聴者が動画の配信を受けるために視聴者が動画配信サーバに接続する視聴接続先とを設定し、配信接続先及び視聴接続先を通信機能によって前記顧客サーバに返信させる接続先設定機能と、
前記通信機能によって前記配信リクエストを受信すると、前記配信リクエストに基づいて動画を視聴者に配信するための配信設定を行う配信設定機能と、
前記配信者端末から送信された動画データを通信機能で受信すると、前記配信設定機能によって設定された配信設定に応じた配信データを生成する生成機能と、
前記生成機能によって生成された配信データを視聴接続先に対応付けてリアルタイムで配信する配信機能と、
を実現させる動画配信プログラム。
on the computer that constitutes the video distribution server,
a communication function for transmitting and receiving data among an externally arranged distributor terminal, an externally arranged viewer terminal, and an externally arranged customer server;
When a distribution request is received from the distributor terminal, a distribution connection destination for receiving video data transmitted from the distributor terminal at the video distribution server, and a video distribution server for the viewer to receive the distribution of the video. a connection destination setting function for setting a viewing connection destination to be connected to and having the distribution connection destination and the viewing connection destination returned to the customer server by a communication function;
a delivery setting function for performing delivery settings for delivering a video to a viewer based on the delivery request when the delivery request is received by the communication function;
a generation function for generating distribution data according to distribution settings set by the distribution setting function when video data transmitted from the distributor terminal is received by the communication function;
a distribution function that distributes distribution data generated by the generation function in real time in association with a viewing connection destination;
A video distribution program that realizes
JP2019023057A 2019-02-12 2019-02-12 Video distribution system, video distribution server, video distribution method and video distribution program Active JP7201468B2 (en)

Priority Applications (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) 2022-12-22 Video distribution system, video distribution server, video distribution method, and video distribution program

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2020136702A JP2020136702A (en) 2020-08-31
JP7201468B2 true JP7201468B2 (en) 2023-01-10

Family

ID=72263692

Family Applications (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 (1) JP7201468B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

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

Similar Documents

Publication Publication Date Title
US11871088B2 (en) Systems, apparatus, and methods for providing event video streams and synchronized event information via multiple Internet channels
US11770591B2 (en) Systems, apparatus, and methods for rendering digital content streams of events, and synchronization of event information with rendered streams, via multiple internet channels
US10187668B2 (en) Method, system and server for live streaming audio-video file
WO2012135019A2 (en) Video encoding system and method
CN106713936B (en) Live video matching method and system
CN110493657A (en) OnStream intelligent online steaming media platform system
CN111818383B (en) Video data generation method, system, device, electronic equipment and storage medium
US9832422B2 (en) Selective recording of high quality media in a videoconference
KR102090070B1 (en) Streaming server, client terminal and audio/video live streaming system using the same
JP2005223430A (en) Image communication system, image distributing server, client terminal, image communication method, and program
JP7201468B2 (en) Video distribution system, video distribution server, video distribution method and video distribution program
JP7483848B2 (en) Video distribution system, video distribution server, video distribution method, and video distribution program
Pan et al. OJUMP: Optimization for joint unicast‐multicast panoramic VR live streaming system
JP7164856B1 (en) Server and method
US10904590B2 (en) Method and system for real time switching of multimedia content
WO2017071524A1 (en) Multimedia resource publishing method and apparatus
KR102392908B1 (en) Method, Apparatus and System for Providing of Free Viewpoint Video Service
CN113301365B (en) Media resource processing method, device, equipment and storage medium
JP7292901B2 (en) Transmission device, transmission method, and program
EP3796661A1 (en) Media pipeline system for dynamic responsive visualization of video streams
JP2010245806A (en) Method, system and server for converting moving image with voice, and computer readable program
JP2015095812A (en) Video distribution apparatus, video reproducer and program
JP2015222957A (en) Content acquisition device, content acquisition method, meta data distribution device, and meta data distribution method
JP2007158709A (en) Blog distribution system
KR20070111646A (en) Method of recording realtime multi-user video data and system for enabling the method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221109

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221222

R150 Certificate of patent or registration of utility model

Ref document number: 7201468

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150