JP2019152972A - Distribution device, information processing method and program - Google Patents

Distribution device, information processing method and program Download PDF

Info

Publication number
JP2019152972A
JP2019152972A JP2018036572A JP2018036572A JP2019152972A JP 2019152972 A JP2019152972 A JP 2019152972A JP 2018036572 A JP2018036572 A JP 2018036572A JP 2018036572 A JP2018036572 A JP 2018036572A JP 2019152972 A JP2019152972 A JP 2019152972A
Authority
JP
Japan
Prior art keywords
client
time
distribution
disconnection
media data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018036572A
Other languages
Japanese (ja)
Inventor
友洋 坂井
Tomohiro Sakai
友洋 坂井
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2018036572A priority Critical patent/JP2019152972A/en
Publication of JP2019152972A publication Critical patent/JP2019152972A/en
Pending legal-status Critical Current

Links

Images

Abstract

To enable termination of distribution processing of media data after a client is disconnected from a distribution server.SOLUTION: A distribution device includes distribution means for distributing media data to a client, and detection means for detecting disconnection relating to communication with the client. The detection means determines a disconnection detection time on the basis of a unit time of media data, and detects disconnection relating to communication with the client if a media data distribution request from the client is not received for the disconnection detection time or longer. The distribution means terminates distribution when disconnection relating to communication with the client is detected by the detection means.SELECTED DRAWING: Figure 6

Description

本発明は、配信装置、情報処理方法及びプログラムに関する。   The present invention relates to a distribution device, an information processing method, and a program.

近年、映像データ又は音声データを含むメディアデータのストリームをセグメント時間(segment duration)単位のメディアセグメントに分割して配信を行う、アダプティブストリーミング技術を用いたシステムが普及している。アダプティブストリーミング技術の代表的な例としては、下記の2つがある。第1の技術は、MPEG(Moving Picture Experts Group)によって規格化されたDASH(Dynamic Adaptive Streaming over HTTP)である。第2の技術は、HLS(HTTP Live Streaming)である。
例えば、DASHの規格に基づくアダプティブストリーミングにおいては、まずクライアントは、配信サーバーが配信可能なメディアセグメントの系列の情報であるRepresentationが1つ以上記載されたMPD(Media Presentation Description)ファイルを取得する。そして、クライアントは、MPDに記載されたRepresentationの中から、クライアントの表示性能や通信状況に応じた適切なRepresentationの系列を選択する。その後、クライアントは、MPDの記載に従って、MPEG2−TS又はMP4の映像フォーマットをメディアセグメント単位でダウンロードして再生する。
一般にMPD内の1つのRepresentationに対し特定のセグメント時間が記載されている。クライアントは、そのRepresentationのセグメント時間から各メディアセグメントのダウンロードタイミングを決定し、配信サーバーに対してダウンロード要求を連続して行う。
クライアントに対する連続的なメディアデータの配信処理において、配信サーバーがメディアデータの配信処理を終了するための方法が開示されている。
特許文献1は、メディアデータの配信においてパケットロス量が相当量になった際にメディアデータの配信処理を終了する方法を開示している。
In recent years, systems using adaptive streaming technology in which a stream of media data including video data or audio data is divided into media segments in segment duration units and distributed are widely used. As typical examples of the adaptive streaming technology, there are the following two. The first technique is DASH (Dynamic Adaptive Streaming over HTTP) standardized by MPEG (Moving Picture Experts Group). The second technique is HLS (HTTP Live Streaming).
For example, in adaptive streaming based on the DASH standard, a client first obtains an MPD (Media Presentation Description) file in which one or more representations, which are media segment series information that can be distributed by a distribution server, are described. Then, the client selects an appropriate representation sequence according to the display performance and communication status of the client from among the representations described in the MPD. Thereafter, the client downloads and reproduces the MPEG2-TS or MP4 video format in units of media segments in accordance with the description of the MPD.
In general, a specific segment time is described for one representation in the MPD. The client determines the download timing of each media segment from the segment time of the representation, and continuously issues download requests to the distribution server.
In a continuous media data distribution process for a client, a method for a distribution server to end the media data distribution process is disclosed.
Japanese Patent Application Laid-Open No. 2004-228561 discloses a method of ending media data distribution processing when the amount of packet loss in media data distribution reaches a considerable amount.

特開2009−16906号公報JP 2009-16906 A

しかし、特許文献1の技術では、クライアントが配信サーバーから切断される前にメディアデータの配信処理が終了してしまい、メディアデータの再生が途切れる恐れがあった。   However, in the technique of Patent Document 1, the media data distribution process ends before the client is disconnected from the distribution server, and there is a possibility that the reproduction of the media data is interrupted.

本発明は、メディアデータをクライアントに対して配信する配信手段と、前記クライアントとの通信に係る切断を検出する検出手段と、を有し、前記検出手段は、前記メディアデータの単位時間に基づいて切断検出時間を決定し、前記クライアントからの前記メディアデータの配信要求を前記切断検出時間以上受信しない場合に、前記クライアントとの通信に係る切断を検出し、前記検出手段により前記クライアントとの通信に係る切断が検出された場合、前記配信手段は、前記配信を終了する。   The present invention includes distribution means for distributing media data to a client, and detection means for detecting disconnection related to communication with the client, wherein the detection means is based on a unit time of the media data. A disconnection detection time is determined, and when the media data delivery request from the client is not received for more than the disconnection detection time, a disconnection related to the communication with the client is detected, and the detection means communicates with the client. When the disconnection is detected, the distribution unit ends the distribution.

本発明によれば、クライアントが情報処理装置から切断された後にメディアデータの配信処理を終了可能とすることができる。   According to the present invention, it is possible to finish the distribution processing of media data after the client is disconnected from the information processing apparatus.

情報処理システムのシステム構成を示す図である。It is a figure which shows the system configuration | structure of an information processing system. 情報処理装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of information processing apparatus. 初期化セグメント及びメディアセグメントのデータ構成を説明する図である。It is a figure explaining the data structure of an initialization segment and a media segment. 情報処理装置の機能構成を示す図である。It is a figure which shows the function structure of information processing apparatus. MPDファイルの構成を示す図である。It is a figure which shows the structure of a MPD file. 配信シーケンスを示す図である。It is a figure which shows a delivery sequence. 実施形態1の通信部の配信処理を示すフローチャートである。3 is a flowchart illustrating a distribution process of a communication unit according to the first embodiment. 実施形態1の切断検出部の切断検出処理を示すフローチャートである。3 is a flowchart illustrating a cutting detection process of the cutting detection unit according to the first embodiment. テーブルを示す図である。It is a figure which shows a table. 実施形態2の通信部の配信処理を示すフローチャートである。10 is a flowchart illustrating distribution processing of a communication unit according to the second embodiment. 実施形態2の切断検出部の切断検出処理を示すフローチャートである。10 is a flowchart illustrating a cutting detection process of a cutting detection unit according to the second embodiment.

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

<実施形態1>
図1は、情報処理システムのシステム構成の一例を示す図である。情報処理システムは、情報処理装置101と、クライアント102と、ネットワーク103とを有する。情報処理装置101とクライアント102とは、ネットワーク103を介して、相互に接続され、相互に通信することができる。クライアント102は、情報処理装置101に対して、後述のMPDファイル、初期化セグメント、メディアセグメントの配信要求を含む各種リクエストコマンドを送信する。本明細書において、メディアデータは、MPDファイル、初期化セグメント、メディアセグメントを含むものとする。情報処理装置101は、それらのコマンドに対するレスポンスをクライアント102に送信する。ネットワーク103は、LAN(Local Area Network)等のIPネットワークで、Ethernet(登録商標)等の通信規格を満足する複数のルータ、スイッチ、ケーブル等を有しうる。ネットワーク103は、情報処理装置101及びクライアント102間の通信が行えるものであれば、その通信規格、規模、構成が限定されない。ネットワーク103は、インターネットから無線LANにまで適用することができる。なお、図1では、説明の簡略化のために、情報処理装置101は1台としているが、2台以上であってもよい。また、クライアント102以外にも、情報処理装置101に接続するクライアントがあってもよい。
<Embodiment 1>
FIG. 1 is a diagram illustrating an example of a system configuration of an information processing system. The information processing system includes an information processing apparatus 101, a client 102, and a network 103. The information processing apparatus 101 and the client 102 are connected to each other via the network 103 and can communicate with each other. The client 102 transmits various request commands including MPD file, initialization segment, and media segment distribution requests to be described later to the information processing apparatus 101. In this specification, the media data includes an MPD file, an initialization segment, and a media segment. The information processing apparatus 101 transmits responses to these commands to the client 102. The network 103 is an IP network such as a LAN (Local Area Network) and may include a plurality of routers, switches, cables, and the like that satisfy a communication standard such as Ethernet (registered trademark). As long as the network 103 can perform communication between the information processing apparatus 101 and the client 102, the communication standard, scale, and configuration are not limited. The network 103 can be applied from the Internet to a wireless LAN. In FIG. 1, for simplicity of explanation, the number of information processing apparatuses 101 is one, but may be two or more. In addition to the client 102, there may be a client connected to the information processing apparatus 101.

図2は、情報処理装置101のハードウェア構成の一例を示す図である。情報処理装置101では、CPU201、一次記憶装置202、二次記憶装置203、ネットワークインタフェース205が内部バス204を介して相互に接続されている。一次記憶装置202は、例えばRAMであり、書き込み可能な高速の記憶装置であり、OSや各種プログラム及び各種データがロードされ、またCPU201の作業領域として使用される。二次記憶装置203は、例えばフラッシュメモリ、HDD、SDカード等であり、不揮発性記憶装置であり、OSや各種プログラム及び各種データの永続的な記憶領域として使用され、短期的な各種データの記憶領域として使用される。CPU201が、二次記憶装置203に記憶されているプログラムを一次記憶装置202に展開して実行することにより、後述する図4の情報処理装置101の機能構成が実現される。また、CPU201が、二次記憶装置203に記憶されているプログラムを一次記憶装置202に展開して実行することにより、後述する図6の情報処理装置101の処理及び図7、8、10、11のフローチャートの処理が実現される。二次記憶装置203では、初期化セグメント及びメディアセグメントを保持する。ネットワークインタフェース205は、ネットワーク103を介して、情報処理装置101へ映像の要求をするクライアント102に接続するインタフェースであり、クライアント102との通信を担う。
クライアント102もハードウェア構成として、図2に示すような構成を有する。そして、クライアント102のCPUが二次記憶装置に記憶されているプログラムを一次記憶装置に展開して実行することにより、後述するクライアント102の機能及び図6のクライアント102の処理が実現される。
FIG. 2 is a diagram illustrating an example of a hardware configuration of the information processing apparatus 101. In the information processing apparatus 101, a CPU 201, a primary storage device 202, a secondary storage device 203, and a network interface 205 are connected to each other via an internal bus 204. The primary storage device 202 is, for example, a RAM, a high-speed writable storage device, and is loaded with an OS, various programs, and various data, and is used as a work area for the CPU 201. The secondary storage device 203 is, for example, a flash memory, an HDD, an SD card, and the like, and is a non-volatile storage device. The secondary storage device 203 is used as a permanent storage area for the OS, various programs, and various data, and stores various short-term data. Used as a region. The CPU 201 expands and executes the program stored in the secondary storage device 203 in the primary storage device 202, thereby realizing a functional configuration of the information processing apparatus 101 in FIG. Further, the CPU 201 expands the program stored in the secondary storage device 203 to the primary storage device 202 and executes the program, whereby the processing of the information processing apparatus 101 in FIG. 6 to be described later and FIGS. The process of the flowchart is realized. The secondary storage device 203 holds an initialization segment and a media segment. A network interface 205 is an interface connected to the client 102 that requests a video to the information processing apparatus 101 via the network 103, and is responsible for communication with the client 102.
The client 102 also has a configuration as shown in FIG. 2 as a hardware configuration. Then, the CPU of the client 102 develops and executes the program stored in the secondary storage device in the primary storage device, thereby realizing the functions of the client 102 described later and the processing of the client 102 in FIG.

図3は、初期化セグメント及びメディアセグメントのデータ構成を説明する図である。
情報処理装置101は、初期化セグメント301、メディアセグメント401を、それぞれ符号化された映像データを含むファイルとして二次記憶装置203に保持することができる。初期化セグメント301及びメディアセグメント401に含まれる映像データの符号化方式は、例えばH.264/AVC又はH.265/HEVCを用いることができる。但し、符号化方式はこれらに限らず、種々の符号化方式でよく、映像データを生成可能なものであればよい。
初期化セグメント301は、例えばSPS(Sequence Parameter Set)やPPS(Picture Parameter Set)等の映像再生を開始するために必要な映像データである映像メタデータ311を含む。
メディアセグメント401は、1つ以上の映像フレームを含むことができる。映像フレームは、映像再生時に継続して表示される映像1コマ単位の情報を示す映像データである。映像フレームには、例えば、独立フレーム又は従属フレームがある。独立フレームは、フレーム内符号化処理によって生成され、復号時に他の映像フレームの情報を必要としない映像フレームであり、いわゆるIフレームと呼ばれている。従属フレームは、フレーム間符号化処理によって生成され、他の映像フレームとの差分情報から構成される映像フレームであり、いわゆるPフレーム又はBフレームと呼ばれている。メディアセグメント401は映像フレーム501〜503を符号化順に含む。例えば、501を独立フレーム、502、503を従属フレームとすることができる。なお、メディアセグメント401の先頭の映像フレームを独立フレームとしたが、メディアセグメントの先頭の映像フレームが独立フレームでないメディアセグメントがあってもよい。情報処理装置101は、二次記憶装置203に、メディアセグメント401以外に複数のメディアセグメントを保持し、クライアント102の配信要求に応じてネットワークインタフェース205を通して配信することができる。
FIG. 3 is a diagram for explaining the data structure of the initialization segment and the media segment.
The information processing apparatus 101 can hold the initialization segment 301 and the media segment 401 in the secondary storage device 203 as files each including encoded video data. The encoding method of the video data included in the initialization segment 301 and the media segment 401 is, for example, H.264. H.264 / AVC or H.264 265 / HEVC can be used. However, the encoding method is not limited to these, and various encoding methods may be used as long as video data can be generated.
The initialization segment 301 includes video metadata 311 that is video data necessary for starting video playback, such as SPS (Sequence Parameter Set) and PPS (Picture Parameter Set).
The media segment 401 can include one or more video frames. The video frame is video data indicating information for each video frame that is continuously displayed during video playback. Video frames include, for example, independent frames or dependent frames. An independent frame is a video frame that is generated by intra-frame coding processing and does not require information on other video frames at the time of decoding, and is called a so-called I frame. The dependent frame is a video frame that is generated by inter-frame coding processing and includes difference information from other video frames, and is called a so-called P frame or B frame. The media segment 401 includes video frames 501 to 503 in the encoding order. For example, 501 can be an independent frame, and 502 and 503 can be subordinate frames. Note that although the top video frame of the media segment 401 is an independent frame, there may be a media segment in which the top video frame of the media segment is not an independent frame. The information processing apparatus 101 can hold a plurality of media segments in addition to the media segment 401 in the secondary storage device 203 and distribute them via the network interface 205 in response to a distribution request from the client 102.

図4は、情報処理装置101の機能構成の一例を示す図である。情報処理装置101は、通信部601、切断検出部602を機能構成として含む。
通信部601は、クライアント102から後述のMPDファイル、初期化セグメント、メディアセグメントの配信要求を受信し、それぞれの要求に対してMPDファイル、初期化セグメント、メディアセグメントのデータをクライアント102に対して配信する。通信部601は、クライアント102からメディアセグメントの配信要求を受信すると、切断検出部602に対してメディアセグメントの配信要求通知を送信する。
切断検出部602は、まず、MPDファイルに記載されたメディアセグメントのセグメント時間から切断検出時間を決定する。切断検出時間は、クライアント102が情報処理装置101から切断されたことを検出するための時間である。そして、切断検出部602は、クライアント102のメディアセグメントの配信要求通知を通信部601から受信する毎に、タイマのカウント値をリセットしカウントアップを開始する。切断検出部602は、タイマのカウント値が切断検出時間に達した場合に、通信部601に対し切断検出通知を送信する。
FIG. 4 is a diagram illustrating an example of a functional configuration of the information processing apparatus 101. The information processing apparatus 101 includes a communication unit 601 and a disconnection detection unit 602 as functional configurations.
The communication unit 601 receives a later-described MPD file, initialization segment, and media segment delivery request from the client 102, and delivers the MPD file, initialization segment, and media segment data to the client 102 in response to each request. To do. Upon receiving a media segment distribution request from the client 102, the communication unit 601 transmits a media segment distribution request notification to the disconnection detection unit 602.
The disconnect detection unit 602 first determines the disconnect detection time from the segment time of the media segment described in the MPD file. The disconnection detection time is a time for detecting that the client 102 has been disconnected from the information processing apparatus 101. The disconnection detection unit 602 resets the count value of the timer and starts counting up every time a media segment distribution request notification of the client 102 is received from the communication unit 601. The disconnection detection unit 602 transmits a disconnection detection notification to the communication unit 601 when the count value of the timer reaches the disconnection detection time.

図5は、情報処理装置101がクライアント102に配信するMPDファイル700の構成の一例を示す図である。
MPDファイル700は、Period701、AdaptationSet702、Representation703、SegmentTemplate704の順の要素の階層構造となっている。この階層構造によって情報処理装置101がクライアント102に配信することが可能な初期化セグメント、メディアセグメントに関する情報を定義することができる。
Period701は下位階層の要素が定義される期間の範囲を定義する。Period701では、Period701の開始時間startを0と記述し、Period701の期間であるdurationを記述しないことで、情報処理装置101が配信する初期化セグメント、メディアセグメントの全ての情報の期間を定義することができる。また、AvailabilityStartTime715は、MPDファイル700が有効となる時刻を示す。AvailabilityStartTime715にPeriod701の開始時間startの時間を加算することによって初期化セグメント及びメディアセグメントが配信可能になる時刻を算出することができる。初期化セグメント及びメディアセグメントが配信可能になる時刻と現在時刻とをクライアント102が比較することで現在配信可能な初期化セグメント及びメディアセグメントについて知ることができる。
AdaptationSet702は映像の情報を示しており、例えば同じPeriod701の期間で別の視点の映像ごとに定義することができる。
FIG. 5 is a diagram illustrating an example of the configuration of the MPD file 700 that the information processing apparatus 101 distributes to the client 102.
The MPD file 700 has a hierarchical structure of elements in the order of Period 701, Adaptation Set 702, Representation 703, and SegmentTemplate 704. With this hierarchical structure, information relating to an initialization segment and a media segment that can be distributed to the client 102 by the information processing apparatus 101 can be defined.
Period 701 defines the range of the period in which the lower layer elements are defined. In Period 701, the start time start of Period 701 is described as 0, and the duration that is the period of Period 701 is not described, so that the period of all information of the initialization segment and the media segment distributed by the information processing apparatus 101 can be defined. it can. Also, Availability StartTime 715 indicates the time when the MPD file 700 becomes valid. By adding the period 701 start time start to AvailabilityStartTime 715, the time at which the initialization segment and the media segment can be distributed can be calculated. The client 102 can know the initialization segment and the media segment that can be distributed at present by comparing the time when the initialization segment and the media segment can be distributed with the current time.
The AdaptationSet 702 indicates video information, and can be defined for each video of a different viewpoint during the same period 701, for example.

Representation703は初期化セグメント、メディアセグメントの映像の情報として解像度やフレームレート等を定義することができる。id情報714はRepresentation703を識別するためのid情報であり、Representation703のidが1であることを示す。Representation703は、解像度情報705、フレームレート情報706を含む。解像度情報705は、メディアセグメントの映像フレームの解像度256×144を示す。フレームレート情報706は、メディアセグメントの映像の1秒当たりに生成される映像フレームの枚数25を示す。
クライアント102は、SegmentTemplate704で示す、タイムスケール情報707及びセグメント時間情報708と下記の式(1)とを用いることにより、Representation703のメディアセグメントのセグメント時間を算出することができる。
(Representation703のセグメント時間)=(セグメント時間情報708)/(タイムスケール情報707)=360/3000[秒]=3/25[秒] ・・・ 式(1)
Representation 703 can define a resolution, a frame rate, and the like as video information of an initialization segment and a media segment. The id information 714 is id information for identifying the representation 703 and indicates that the id of the representation 703 is 1. The representation 703 includes resolution information 705 and frame rate information 706. The resolution information 705 indicates the resolution 256 × 144 of the video frame of the media segment. The frame rate information 706 indicates the number 25 of video frames generated per second of the video of the media segment.
The client 102 can calculate the segment time of the media segment of the Representation 703 by using the time scale information 707 and the segment time information 708 indicated by the SegmentTemplate 704 and the following equation (1).
(Segment time of Representation 703) = (Segment time information 708) / (Time scale information 707) = 360/3000 [seconds] = 3/25 [seconds] Expression (1)

また、Representation703は、初期化セグメントURI情報709、及び、メディアセグメントURI情報710を含んでいる。クライアント102は、情報処理装置101のIPアドレスを含むMPDBaseURI情報70011、RepresentationBaseURI情報70013を使用することにより、下記のURIにアクセスすることができる。そして、クライアント102は、Representation703及びSegmentTemplate704によって定義された初期化セグメントと各メディアセグメントとの取得を行うことができる。クライアント102は、Representation703の初期化セグメントURI、及び、メディアセグメントURIを、id情報714から$RepresentationID$を1として、それぞれ式(2)、式(3)で決定することができる。
(Representation703の初期化セグメントURI)=(MPDBaseURI情報70011)+(RepresentationBaseURI情報70013)+(初期化セグメントURI情報709)="http://192.169.100.1:80/video/stream1/init1.mp4"・・・式(2)
(Representation703のメディアセグメントURI)=(MPDBaseURI情報70011)+(RepresentationBaseURI情報70013)+(メディアセグメントURI情報710)="http://192.169.100.1:80/video/stream1/media1_$Number$.m4s" ・・・式(3)
上記の式で、A+Bは、要素Aの文字列の右側に要素Bの文字列を結合すること意味する。$Number$は、テンプレート表現であり、メディアセグメントURI情報710のstartNumberの値からメディアセグメントの映像の時系列順又は符号化順に評価値がインクリメントされていく。
実際の各メディアセグメントのURIは、"http://192.169.100.1:80/video/stream1/media1_1.m4s"、"http://192.169.100.1:80/video/stream1/media1_2.m4s"・・・となる。
In addition, the representation 703 includes initialization segment URI information 709 and media segment URI information 710. The client 102 can access the following URI by using the MPDBBase URI information 70011 including the IP address of the information processing apparatus 101 and the Representation Base URI information 70013. Then, the client 102 can acquire the initialization segment defined by the representation 703 and the segment template 704 and each media segment. The client 102 can determine the initialization segment URI and the media segment URI of the representation 703 from the id information 714 using $ RepresentationID $ as 1, respectively, using the expressions (2) and (3).
(Initialization segment URI of representation 703) = (MPDBase URI information 70011) + (representation base URI information 70013) + (initialization segment URI information 709) = “http://192.169.100.1:80/video/stream1/init1” .Mp4 "... Formula (2)
(Media segment URI of Representation 703) = (MPDBBaseURI information 70011) + (RepresentationBaseURI information 70013) + (Media segment URI information 710) = “http://192.169.100.1:80/video/stream1/media1_$Number” $ .M4s "... Formula (3)
In the above formula, A + B means that the character string of element B is coupled to the right side of the character string of element A. $ Number $ is a template expression, and the evaluation value is incremented from the value of startNumber in the media segment URI information 710 in the order of time series or encoding of the video of the media segment.
The actual URI of each media segment is “http://192.168.100.1:80/video/stream1/media1_1.m4s”, “http://192.168.100.1:80/video/ stream1 / media1_2.m4s "...

通信部601が、このようなMPDファイル700を、初期化セグメントと各メディアセグメントとを配信する前にクライアント102に配信する。このことで、クライアント102は情報処理装置101に対し初期化セグメント又はメディアセグメントの配信要求を次々に行うことが可能となる。例えば、まず、クライアント102は初期化セグメントを取得し、映像再生のための初期化処理を行う。そして、クライアント102は、セグメント時間情報708に基づいたセグメント時間毎にメディアセグメントの配信要求を行って、順次、メディアセグメントを取得し映像を再生する。
クライアント102は、任意のタイミングでメディアセグメントの送信要求を行うことを中止することができる。より具体的には、メディアセグメントの送信要求を行うことを中止するタイミングの例として、Period701に基づいて情報処理装置101のメディアセグメントの配信期間の終了をクライアント102が判定したタイミングがある。また、クライアント102が備えるMPDファイル、初期化セグメント、及び、メディアセグメントに対する配信要求処理又は再生処理するプログラムが終了したタイミングでもよい。また、クライアント102がメディアセグメントを取得することができていない状態で再度同一のメディアセグメントの配信要求(リトライ処理)を所定のリトライ上限回数行ったタイミングでもよい。但し、メディアセグメントの送信要求を行うことを中止するタイミングはこれに限らない。
The communication unit 601 distributes such an MPD file 700 to the client 102 before distributing the initialization segment and each media segment. As a result, the client 102 can sequentially send an initialization segment or media segment distribution request to the information processing apparatus 101. For example, first, the client 102 acquires an initialization segment and performs initialization processing for video reproduction. Then, the client 102 issues a media segment distribution request for each segment time based on the segment time information 708, sequentially acquires the media segment, and reproduces the video.
The client 102 can cancel the transmission request for the media segment at an arbitrary timing. More specifically, as an example of the timing for stopping the transmission request for the media segment, there is a timing at which the client 102 determines the end of the distribution period of the media segment of the information processing apparatus 101 based on Period 701. Further, it may be the timing at which the program for requesting or reproducing the MPD file, initialization segment, and media segment included in the client 102 is completed. Alternatively, it may be the timing at which a delivery request (retry processing) for the same media segment is performed again a predetermined upper limit number of times in a state where the client 102 has not acquired the media segment. However, the timing for stopping the transmission request for the media segment is not limited to this.

図6は、MPDファイル、初期化セグメント、及びメディアセグメントの配信シーケンスの一例を示す図である。
図6ではクライアント102が、情報処理装置101から配信されるセグメントを受信しているシーケンスを示している。情報処理装置101の機能構成として通信部601、切断検出部602のみを記載している。
S801において、まずクライアント102は、情報処理装置101が配信可能な初期化セグメント及びメディアセグメントの情報を示すMPDファイル700の配信要求を情報処理装置101に送信する。その後、通信部601は、S802において、MPDファイル700をクライアント102に返信する。
S803において、クライアント102は、自装置のCPU能力や表示解像度等から受信するRepresentationを決定し、初期化セグメントの配信要求を情報処理装置101に送信する。本図では、クライアント102はRepresentation703を受信すると決定するものとする。通信部601は、初期化セグメントの配信要求を受信すると、S810において、切断検出部602に初期化セグメントの配信要求通知を切断検出部602に送信する。そして、切断検出部602は、切断検出処理を開始し、まずS815において、Representation703のメディアセグメントのセグメント時間に基づいて切断検出時間を決定する。S804において、通信部601は、クライアント102に初期メディアセグメントを返信する。
FIG. 6 is a diagram illustrating an example of a delivery sequence of an MPD file, an initialization segment, and a media segment.
FIG. 6 shows a sequence in which the client 102 receives a segment distributed from the information processing apparatus 101. Only the communication unit 601 and the disconnection detection unit 602 are described as the functional configuration of the information processing apparatus 101.
In step S <b> 801, the client 102 first transmits a distribution request for the MPD file 700 indicating information on initialization segments and media segments that can be distributed by the information processing apparatus 101 to the information processing apparatus 101. Thereafter, the communication unit 601 returns the MPD file 700 to the client 102 in S802.
In step S <b> 803, the client 102 determines the reception received from the CPU capability, display resolution, and the like of the own device, and transmits an initialization segment distribution request to the information processing device 101. In this figure, it is assumed that the client 102 determines to receive the representation 703. Upon receiving the initialization segment delivery request, the communication unit 601 transmits an initialization segment delivery request notification to the disconnection detection unit 602 in step S810. Then, the cut detection unit 602 starts the cut detection process. First, in S815, the cut detection unit 602 determines the cut detection time based on the segment time of the media segment of the representation 703. In step S <b> 804, the communication unit 601 returns an initial media segment to the client 102.

初期化セグメントを受信した後、S805において、クライアント102は、最初のメディアセグメント1の配信要求を情報処理装置101に送信する。通信部601は、メディアセグメント1の配信要求を受信すると、S811において、メディアセグメント1の配信要求通知を切断検出部602に送信する。そして、S816において、切断検出部602は、S815で決定した切断検出時間のタイマカウントアップを開始する。
その後、通信部601は、S806において、メディアセグメント1をクライアント102に返信する。
そして、S807において、クライアント102は、次のメディアセグメント2の配信要求を送信する。通信部601は、メディアセグメント2の配信要求を受信すると、S812において、メディアセグメント2の配信要求通知を切断検出部602に送信する。そして、S817において、切断検出部602は、S816でカウントをしていたタイマ値をリセットし、再びタイマカウントアップを開始する。
その後、通信部601は、S808において、メディアセグメント2をクライアント102に返信する。
S809において、クライアント102は、メディアセグメントの配信要求処理を中止する。切断検出部602は、S817でカウントしていたタイマ値が切断検出時間T821に達すると、S813において、切断検出通知を通信部601に対して送信する。通信部601は、切断検出部602から切断検出通知を受信すると、S814において、配信処理を終了する。そして、S818において、切断検出部602は、切断検出処理を終了する。
図6において、T822が切断検出時間T821より短ければ、クライアント102は、メディアセグメント2の取得ができない。また、T822が切断検出時間T821より長くなるほど、通信部601はクライアントがメディアセグメントの配信要求を行わないにも関わらず処理を長く継続しなければならなくなる。そのため、切断検出時間T821を適切に決定することが重要である。
After receiving the initialization segment, in step S <b> 805, the client 102 transmits a distribution request for the first media segment 1 to the information processing apparatus 101. Upon receiving the media segment 1 distribution request, the communication unit 601 transmits a media segment 1 distribution request notification to the disconnection detection unit 602 in step S811. In step S816, the cutting detection unit 602 starts timer count-up of the cutting detection time determined in step S815.
Thereafter, the communication unit 601 returns the media segment 1 to the client 102 in S806.
In step S <b> 807, the client 102 transmits a distribution request for the next media segment 2. Upon receiving the media segment 2 distribution request, the communication unit 601 transmits a media segment 2 distribution request notification to the disconnection detection unit 602 in step S812. In step S817, the disconnection detection unit 602 resets the timer value counted in step S816, and starts timer count-up again.
Thereafter, the communication unit 601 returns the media segment 2 to the client 102 in S808.
In step S809, the client 102 stops the media segment distribution request processing. When the timer value counted in S817 reaches the disconnection detection time T821, the disconnection detection unit 602 transmits a disconnection detection notification to the communication unit 601 in S813. Upon receiving the disconnection detection notification from the disconnection detection unit 602, the communication unit 601 ends the distribution process in S814. In step S818, the cutting detection unit 602 ends the cutting detection process.
In FIG. 6, if T822 is shorter than the disconnection detection time T821, the client 102 cannot acquire the media segment 2. In addition, as T822 becomes longer than the disconnection detection time T821, the communication unit 601 has to continue processing for a longer time even though the client does not request the delivery of the media segment. Therefore, it is important to appropriately determine the cutting detection time T821.

図7は、実施形態1の通信部601の配信処理の一例を示すフローチャートである。
本実施形態において、通信部601の配信処理は、クライアント102からMPDファイルの配信要求を受信すると開始される。
S901において、通信部601は、二次記憶装置203にて保持されるMPDファイル700をクライアント102に配信する。
S902において、通信部601は、クライアント102から初期化セグメントの配信要求を受信したかどうかを判定する。通信部601は、初期化セグメントの配信要求を受信した場合にはS903に処理を進める。このとき、通信部601は、クライアント102から配信要求が行われた初期化セグメントのRepresentationのセグメント時間を一次記憶装置202に保持する。通信部601は、初期化セグメントの配信要求を受信していない場合にはS902の処理を繰り返す。
S903において、通信部601は、二次記憶装置203にて保持される初期化セグメントをクライアント102に対し配信する。
S904において、通信部601は、切断検出部602に対し切断検出処理の開始を指示する。
FIG. 7 is a flowchart illustrating an example of distribution processing of the communication unit 601 according to the first embodiment.
In the present embodiment, the distribution process of the communication unit 601 is started when an MPD file distribution request is received from the client 102.
In step S <b> 901, the communication unit 601 distributes the MPD file 700 held in the secondary storage device 203 to the client 102.
In step S <b> 902, the communication unit 601 determines whether an initialization segment distribution request has been received from the client 102. If the communication unit 601 receives an initialization segment distribution request, the communication unit 601 advances the process to step S903. At this time, the communication unit 601 holds in the primary storage device 202 the segment time of the replenishment of the initialization segment for which a delivery request has been made from the client 102. If the communication unit 601 has not received the initialization segment distribution request, the communication unit 601 repeats the processing of S902.
In step S <b> 903, the communication unit 601 distributes the initialization segment held in the secondary storage device 203 to the client 102.
In step S904, the communication unit 601 instructs the disconnection detection unit 602 to start the disconnection detection process.

S905において、通信部601は、イベントの発生を待ち、発生イベントの判定により処理動作を切り替える。通信部601は、発生イベントがメディアセグメントの配信要求であると判定した場合には、S906に処理を進める。また、通信部601は、発生イベントが切断検出部602からの切断検出通知であると判定した場合には、S910に処理を進める。
S906において、通信部601は、切断検出部602に対し、メディアセグメントの配信要求通知を送信する。
S907において、通信部601は、クライアント102から配信要求されたメディアセグメントが配信可能であるかを判定する。通信部601は、クライアント102から配信要求されたメディアセグメントが配信可能である場合にはS908に処理を進める。
S908において、通信部601は、二次記憶装置203にて保持されるメディアセグメントをクライアント102に対し配信する。
通信部601は、クライアント102から配信要求されたメディアセグメントが配信不可である場合にはS909に処理を進める。
S909において、通信部601は、クライアント102に対し例えばHTTPステータスコードの404を含むエラーレスポンスを配信する。
S910において、通信部601は、切断検出部602に対し切断検出処理の終了を指示し、図7に示す配信処理を終了する。
In step S <b> 905, the communication unit 601 waits for an event to occur and switches the processing operation depending on the determination of the event that has occurred. If the communication unit 601 determines that the generated event is a media segment delivery request, the communication unit 601 advances the process to step S906. If the communication unit 601 determines that the generated event is a disconnection detection notification from the disconnection detection unit 602, the communication unit 601 advances the process to S910.
In step S <b> 906, the communication unit 601 transmits a media segment distribution request notification to the disconnection detection unit 602.
In step S907, the communication unit 601 determines whether the media segment requested to be distributed from the client 102 can be distributed. If the media segment requested to be distributed from the client 102 can be distributed, the communication unit 601 advances the processing to S908.
In step S <b> 908, the communication unit 601 distributes the media segment held in the secondary storage device 203 to the client 102.
If the media segment requested to be distributed from the client 102 cannot be distributed, the communication unit 601 advances the processing to S909.
In step S <b> 909, the communication unit 601 delivers an error response including, for example, an HTTP status code 404 to the client 102.
In step S910, the communication unit 601 instructs the disconnection detection unit 602 to end the disconnection detection process, and ends the distribution process illustrated in FIG.

図8は、実施形態1の切断検出部602の切断検出処理の一例を示すフローチャートである。
本実施形態において、切断検出部602の切断検出処理は、S904における通信部601による開始指示が行われると開始される。
S1001において、切断検出部602は、切断検出時間を決定し、一次記憶装置202に保持する。切断検出時間は、例えば、クライアント102に対して配信するメディアセグメントのセグメント時間に比例する値として算出することができる。このとき、クライアント102に対して配信するメディアセグメントのセグメント時間の値としては、S903において一次記憶装置202に保持されているものが使用される。
FIG. 8 is a flowchart illustrating an example of the cutting detection process of the cutting detection unit 602 according to the first embodiment.
In the present embodiment, the disconnection detection process of the disconnection detection unit 602 is started when a start instruction is given by the communication unit 601 in S904.
In step S <b> 1001, the disconnection detection unit 602 determines the disconnection detection time and stores it in the primary storage device 202. The disconnection detection time can be calculated as a value proportional to the segment time of the media segment distributed to the client 102, for example. At this time, as the segment time value of the media segment distributed to the client 102, the value held in the primary storage device 202 in S903 is used.

セグメント時間に比例する算出値をそのまま切断検出時間として決定せず、切断検出時間に下限値(最短待ち時間)を設けることとしてもよい。即ち、切断検出部602は、メディアデータの単位時間に基づいて切断検出時間を求め、求めた切断検出時間が最短待ち時間以下となる場合、最短待ち時間を切断検出時間に決定する。切断検出部602は、通信部601がクライアント102からのメディアセグメントの配信要求を受信開始してからクライアント102にメディアセグメントを配信開始するまでの処理時間から最短待ち時間を算出してもよい。また、切断検出部602は、通信部601がメディアセグメントを配信してからクライアント102がメディアセグメントを受信するまでの時間から最短待ち時間を算出してもよい。また、切断検出部602は、クライアント102がメディアセグメントを受信してから通信部601がクライアント102から次にメディアセグメントの配信要求を受信するまでの時間から最短待ち時間を算出してもよい。また、切断検出部602は、クライアント102の前述のリトライ処理の処理時間から最短待ち時間を算出してもよい。また、切断検出部602は、これらの時間の任意の組合せから最短待ち時間を算出してもよい。
通信部601がクライアント102からのメディアセグメントの配信要求を受信開始してからクライアント102にメディアセグメントを配信開始するまでの処理時間は、例えば、通信部601において計測することができる。同様に、通信部601がメディアセグメントを配信してからクライアント102がメディアセグメントを受信するまでの時間については、例えば通信部601において計測することができる。また、クライアント102がメディアセグメントを受信してから通信部601がクライアント102から次にメディアセグメントの配信要求を受信するまでの時間は、例えば、通信部601が、メディアセグメントのファイルサイズを通信帯域(bps)の値で除することによって決定することができる。クライアント102の前述のリトライ処理の処理時間(リトライ処理時間)については、例えば、切断検出部602が、図9に示したクライアント102の種類とリトライ処理時間とを対応付けたテーブルから選択して決定することができる。また、例えば、クライアント102がMPDの配信要求のクエリ等に含ませることにより通信部601が取得したリトライ処理時間を一次記憶装置202に記録しておき、切断検出部602がこのリトライ処理時間を使用することとしてもよい。図9に示したテーブルは、例えば、二次記憶装置203に記憶されている。
The calculated value proportional to the segment time may not be determined as the cut detection time as it is, and a lower limit (shortest waiting time) may be provided for the cut detection time. That is, the cutting detection unit 602 obtains the cutting detection time based on the unit time of the media data, and determines the shortest waiting time as the cutting detection time when the obtained cutting detection time is equal to or shorter than the shortest waiting time. The disconnection detection unit 602 may calculate the shortest waiting time from the processing time from when the communication unit 601 starts receiving a media segment delivery request from the client 102 to when delivery of the media segment to the client 102 starts. The disconnection detection unit 602 may calculate the shortest waiting time from the time from when the communication unit 601 delivers the media segment until the client 102 receives the media segment. Further, the disconnection detection unit 602 may calculate the shortest waiting time from the time from when the client 102 receives the media segment until the communication unit 601 receives the next media segment delivery request from the client 102. In addition, the disconnection detection unit 602 may calculate the shortest waiting time from the processing time of the above-described retry processing of the client 102. Moreover, the cutting | disconnection detection part 602 may calculate the shortest waiting time from arbitrary combinations of these time.
The processing time from when the communication unit 601 starts receiving a media segment distribution request from the client 102 to when the communication unit 601 starts distributing the media segment to the client 102 can be measured by the communication unit 601, for example. Similarly, the time from when the communication unit 601 delivers a media segment to when the client 102 receives the media segment can be measured by the communication unit 601, for example. The time from when the client 102 receives the media segment until the communication unit 601 receives the next media segment distribution request from the client 102 is, for example, the communication unit 601 setting the file size of the media segment to the communication band ( by dividing by the value of bps). The processing time (retry processing time) of the above-described retry processing of the client 102 is determined by the disconnection detection unit 602, for example, by selecting from the table in FIG. 9 that associates the type of the client 102 and the retry processing time. can do. Further, for example, the retry processing time acquired by the communication unit 601 by the client 102 being included in the MPD distribution request query or the like is recorded in the primary storage device 202, and the disconnection detection unit 602 uses this retry processing time. It is good to do. The table shown in FIG. 9 is stored in the secondary storage device 203, for example.

セグメント時間に比例する算出値をそのまま切断検出時間として決定せず、切断検出時間に上限値(最長待ち時間)を設けることとしてもよい。即ち、切断検出部602は、メディアデータの単位時間に基づいて切断検出時間を求め、求めた切断検出時間が最長待ち時間以上となる場合、最長待ち時間を切断検出時間に決定する。切断検出部602は、通信部601がクライアント102に対し配信するメディアセグメントのセグメント時間から最長待ち時間を算出してもよい。また、切断検出部602は、通信部601がクライアント102からのメディアセグメントの配信要求を受信開始してからクライアント102にメディアセグメントを配信開始するまでの処理時間から最長待ち時間を算出してもよい。また、切断検出部602は、通信部601がメディアセグメントを配信してからクライアント102がメディアセグメントを受信するまでの時間から最長待ち時間を算出してもよい。また、切断検出部602は、クライアント102がメディアセグメントを受信してから通信部601が次にメディアセグメントの配信要求を受信するまでの時間から最長待ち時間を算出してもよい。また、切断検出部602は、これらの時間の任意の組合せから最長待ち時間を算出してもよい。
通信部601がクライアント102からのメディアセグメントの配信要求を受信開始してからクライアント102にメディアセグメントを配信開始するまでの処理時間は、例えば、通信部601において計測することができる。同様に、通信部601がメディアセグメントを配信してからクライアント102がメディアセグメントを受信するまでの時間については、例えば、通信部601において計測することができる。また、クライアント102がメディアセグメントを受信してから通信部601がクライアント102から次にメディアセグメントの配信要求を受信するまでの時間は、例えば、通信部601が、メディアセグメントのファイルサイズを通信帯域(bps)の値で除することによって決定することができる。
The calculated value proportional to the segment time may not be determined as the cut detection time as it is, and an upper limit (longest waiting time) may be provided for the cut detection time. That is, the cutting detection unit 602 obtains the cutting detection time based on the unit time of the media data, and determines the longest waiting time as the cutting detection time when the obtained cutting detection time is equal to or longer than the longest waiting time. The disconnection detection unit 602 may calculate the longest waiting time from the segment time of the media segment that the communication unit 601 delivers to the client 102. In addition, the disconnection detection unit 602 may calculate the longest waiting time from the processing time from when the communication unit 601 starts receiving a media segment delivery request from the client 102 to when delivery of the media segment to the client 102 starts. . The disconnection detection unit 602 may calculate the longest waiting time from the time from when the communication unit 601 delivers the media segment until the client 102 receives the media segment. The disconnection detection unit 602 may calculate the longest waiting time from the time from when the client 102 receives the media segment until the communication unit 601 receives the next media segment distribution request. Moreover, the cutting | disconnection detection part 602 may calculate the longest waiting time from arbitrary combinations of these time.
The processing time from when the communication unit 601 starts receiving a media segment distribution request from the client 102 to when the communication unit 601 starts distributing the media segment to the client 102 can be measured by the communication unit 601, for example. Similarly, the time from when the communication unit 601 distributes the media segment to when the client 102 receives the media segment can be measured by the communication unit 601, for example. The time from when the client 102 receives the media segment until the communication unit 601 receives the next media segment distribution request from the client 102 is, for example, the communication unit 601 setting the file size of the media segment to the communication band ( by dividing by the value of bps).

S1002において、切断検出部602は、タイマ値を初期化しS1001で決定した切断検出時間のタイマカウントアップを開始する。
S1003において、切断検出部602は、イベントの発生を待ち、発生イベントの判定により処理動作を切り替える。切断検出部602は、発生イベントが一次記憶装置202に保持される切断検出時間分のタイマ経過によるものであればS1004に処理を進める。切断検出部602は、発生イベントが通信部601からのメディアセグメント配信要求通知の受信であればS1002に戻る。切断検出部602は、発生イベントが通信部601からの切断検出処理終了指示であれば、図8に示す切断検出処理を終了する。
S1004において、切断検出部602は、通信部601に対して切断検出通知を送信する。
このように、切断検出部602は、少なくともクライアントに対し配信するメディアセグメントのセグメント時間に基づいて切断検出時間を決定して、クライアントからの配信要求を切断検出時間以上受信しない場合にクライアントとの通信に係る切断を検出する。
In step S1002, the disconnection detection unit 602 initializes a timer value and starts timer count-up for the disconnection detection time determined in step S1001.
In step S <b> 1003, the disconnection detection unit 602 waits for an event to occur, and switches processing operations depending on the determination of the event that has occurred. The disconnect detection unit 602 advances the process to S1004 if the generated event is due to the timer elapsed for the disconnect detection time held in the primary storage device 202. If the occurrence event is reception of a media segment distribution request notification from the communication unit 601, the disconnection detection unit 602 returns to S1002. If the generated event is a disconnection detection process end instruction from the communication unit 601, the disconnection detection unit 602 ends the disconnection detection process illustrated in FIG.
In step S <b> 1004, the disconnection detection unit 602 transmits a disconnection detection notification to the communication unit 601.
As described above, the disconnection detection unit 602 determines the disconnection detection time based on at least the segment time of the media segment distributed to the client, and communicates with the client when the distribution request from the client is not received for the disconnection detection time or longer. Detects disconnection according to.

本実施形態では、S1001において、切断検出部602は、切断検出処理が開始された直後に切断検出時間を決定するものとしたが、クライアント102に対しメディアセグメントを配信する度に切断検出時間を決定し、更新した値を使用してよい。その場合、通信部601がS906においてクライアント102からメディアセグメントの配信要求通知を送信する度に、配信要求があったメディアセグメントのセグメント時間を一次記憶装置202に保持する。そして、その後、S1002において、切断検出部602は切断検出時間を決定し更新した値を使用してタイマカウントアップを開始すればよい。その際、クライアント102がリトライ処理を行った場合とそうでない場合とで、切断検出部602は、最短待ち時間の算出にリトライ処理時間を使用するかどうかを切り替えることとしてもよい。
また、MPDファイル700ではAdaptationSet702、Representation703のみ記述したが、MPDファイル700に複数のAdaptationSet、Representationの記述がされていてもよい。その際、クライアント102が複数のAdaptationSet、及び、複数のRepresentationのメディアセグメントの中から選択しメディアセグメントの配信要求を行うものとしてもよい。
また、MPDファイル700に複数のAdaptationSet、及び、複数のRepresentationが記載されている等により、クライアント102に対し異なるセグメント時間のメディアセグメントを配信しうる場合には、最長であるセグメント時間を、切断検出時間、最長待ち時間に用いるセグメント時間として使用してもよい。
また、S910において、通信部601が、切断検出部602に対し切断検出処理の終了を指示するものとしているが、その他の機能が切断検出部602に対し切断検出処理の終了を指示するものとしてもよい。また、切断検出部602は、S1004における切断検出通知後に自身の切断検出処理を終了するものとしてもよい。
また、メディアセグメントは映像フレームのデータを含むものとしたが、音声データを含むものとしてもよい。
また、本実施形態では、二次記憶装置203にMPDファイル、初期化セグメント、メディアセグメントを予め保存しておくものとした。しかし、情報処理装置101は、撮像部、集音部等をさらに備え、MPDファイル、初期化セグメント、メディアセグメントを生成しながらクライアント102に対し配信するものとしてもよい。撮像部を有する情報処理装置101は、カメラの一例である。
また、本実施形態ではメディアセグメントの映像のフレームレート、映像フレームの解像度、及びセグメント時間は、上述のものに限らない。
In this embodiment, in S1001, the disconnection detection unit 602 determines the disconnection detection time immediately after the disconnection detection process is started. However, the disconnection detection time is determined every time a media segment is distributed to the client 102. The updated value may be used. In this case, each time the communication unit 601 transmits a media segment delivery request notification from the client 102 in step S906, the segment time of the media segment for which the delivery request has been made is held in the primary storage device 202. Thereafter, in S1002, the cut detection unit 602 may start the timer count-up using the updated value determined by determining the cut detection time. At that time, the disconnection detection unit 602 may switch whether to use the retry processing time for calculating the shortest waiting time depending on whether the client 102 performs the retry processing or not.
In addition, although only AdaptationSet 702 and Representation 703 are described in the MPD file 700, a plurality of AdaptationSets and Representations may be described in the MPD file 700. At that time, the client 102 may select a plurality of AdaptationSet and a plurality of Representation media segments and make a media segment distribution request.
In addition, when a plurality of AdaptationSets and a plurality of Representations are described in the MPD file 700, when a media segment having a different segment time can be distributed to the client 102, the longest segment time is detected by disconnection. You may use as segment time used for time and the longest waiting time.
In S910, the communication unit 601 instructs the disconnection detection unit 602 to end the disconnection detection process, but other functions may instruct the disconnection detection unit 602 to end the disconnection detection process. Good. Moreover, the cutting | disconnection detection part 602 is good also as what terminates own cutting | disconnection detection processing after the cutting | disconnection detection notification in S1004.
The media segment includes video frame data, but may include audio data.
In the present embodiment, the MPD file, the initialization segment, and the media segment are stored in the secondary storage device 203 in advance. However, the information processing apparatus 101 may further include an imaging unit, a sound collection unit, and the like, and distribute to the client 102 while generating an MPD file, an initialization segment, and a media segment. The information processing apparatus 101 having an imaging unit is an example of a camera.
In the present embodiment, the video frame rate, video frame resolution, and segment time of the media segment are not limited to those described above.

以上のように、少なくともクライアントに対し配信するメディアセグメントのセグメント時間に基づいて切断検出時間を決定して、クライアントからの配信要求を切断検出時間以上受信しない場合にクライアントとの通信に係る切断を検出する。このことで、クライアントが情報処理装置から切断された後にクライアントに対する配信処理を終了することができる。   As described above, the disconnection detection time is determined based on at least the segment time of the media segment distributed to the client, and the disconnection related to the communication with the client is detected when the distribution request from the client is not received for the disconnection detection time or longer. To do. Thus, the distribution process for the client can be ended after the client is disconnected from the information processing apparatus.

<実施形態2>
実施形態2では、実施形態2と実施形態1とで異なる部分について主に説明を行う。
図10は、実施形態2の通信部601の配信処理を示すフローチャートである。
本実施形態において、通信部601の配信処理は、クライアント102からMPDファイルの配信要求を受信すると開始される。
S1101において、通信部601は、二次記憶装置203にて保持されるMPDファイル700をクライアント102に配信する。
S1102において、通信部601は、配信状態をMPD配信済みとして一次記憶装置202に記憶する。
S1103において、通信部601は、切断検出部602に対し切断検出処理の開始を指示する。
<Embodiment 2>
In the second embodiment, differences between the second embodiment and the first embodiment will be mainly described.
FIG. 10 is a flowchart illustrating distribution processing of the communication unit 601 according to the second embodiment.
In the present embodiment, the distribution process of the communication unit 601 is started when an MPD file distribution request is received from the client 102.
In step S <b> 1101, the communication unit 601 distributes the MPD file 700 held in the secondary storage device 203 to the client 102.
In step S1102, the communication unit 601 stores the distribution state in the primary storage device 202 as MPD distribution completed.
In step S1103, the communication unit 601 instructs the disconnection detection unit 602 to start the disconnection detection process.

S1104において、通信部601は、イベントの発生を待ち、発生イベントの判定により処理動作を切り替える。通信部601は、発生イベントが初期化セグメントの配信要求であると判定した場合には、S1105に処理を進める。また、通信部601は、発生イベントがメディアセグメントの配信要求であると判定した場合には、S1110に処理を進める。また、通信部601は、発生イベントが切断検出部602からの切断検出通知であると判定した場合には、S1115に処理を進める。
S1105において、通信部601は、切断検出部602に対し、初期化セグメントの配信要求通知を送信する。
S1106において、通信部601は、クライアント102から配信要求された初期化セグメントが配信可能であるかを判定する。通信部601は、クライアント102から配信要求された初期化セグメントが配信可能である場合は、S1107に処理を進める。また、通信部601は、クライアント102から配信要求された初期化セグメントが配信不可である場合には、S1109に処理を進める。
S1107において、通信部601は、二次記憶装置203にて保持される初期化セグメントをクライアント102に対し配信する。
S1108において、通信部601は、配信状態を初期化セグメント配信済みとして一次記憶装置202に記憶する。
S1109において、通信部601は、クライアント102に対し例えばHTTPステータスコードの404を含むエラーレスポンスを配信する。
In step S1104, the communication unit 601 waits for an event to occur, and switches processing operations depending on the determination of the event that has occurred. If the communication unit 601 determines that the generated event is an initialization segment distribution request, the communication unit 601 advances the process to step S1105. If the communication unit 601 determines that the generated event is a media segment distribution request, the communication unit 601 advances the process to S1110. If the communication unit 601 determines that the generated event is a disconnection detection notification from the disconnection detection unit 602, the communication unit 601 advances the process to S1115.
In step S <b> 1105, the communication unit 601 transmits an initialization segment delivery request notification to the disconnection detection unit 602.
In step S <b> 1106, the communication unit 601 determines whether the initialization segment requested to be distributed from the client 102 can be distributed. If the initialization segment requested to be distributed from the client 102 can be distributed, the communication unit 601 advances the processing to S1107. If the initialization segment requested to be distributed from the client 102 cannot be distributed, the communication unit 601 advances the processing to S1109.
In step S <b> 1107, the communication unit 601 distributes the initialization segment held in the secondary storage device 203 to the client 102.
In step S1108, the communication unit 601 stores the distribution state in the primary storage device 202 as the initialization segment distribution completed.
In step S <b> 1109, the communication unit 601 delivers an error response including, for example, an HTTP status code 404 to the client 102.

S1110において、通信部601は、切断検出部602に対し、メディアセグメントの配信要求通知を送信する。
S1111において、通信部601は、クライアント102から配信要求されたメディアセグメントが配信可能であるかを判定する。通信部601は、クライアント102から配信要求されたメディアセグメントが配信可能である場合は、S1112に処理を進め、クライアント102から配信要求されたメディアセグメントが配信不可である場合は、S1114に処理を進める。
S1112において、通信部601は、二次記憶装置203にて保持されるメディアセグメントをクライアント102に対し配信する。
S1113において、通信部601は、配信状態をメディアセグメント配信済みとして一次記憶装置202に記憶する。
S1114において、通信部601は、クライアント102に対し例えばHTTPステータスコードの404を含むエラーレスポンスを配信する。
S1115において、通信部601は、切断検出部602に対し切断検出処理の終了を指示する。そして、通信部601は、図10に示す配信処理を終了する。
In step S <b> 1110, the communication unit 601 transmits a media segment distribution request notification to the disconnection detection unit 602.
In step S1111, the communication unit 601 determines whether the media segment requested to be distributed from the client 102 can be distributed. If the media segment requested to be distributed from the client 102 can be distributed, the communication unit 601 proceeds to S1112. If the media segment requested to be distributed from the client 102 cannot be distributed, the communication unit 601 proceeds to S1114. .
In step S <b> 1112, the communication unit 601 distributes the media segment held in the secondary storage device 203 to the client 102.
In step S <b> 1113, the communication unit 601 stores the distribution state in the primary storage device 202 as media segment distribution completed.
In step S <b> 1114, the communication unit 601 delivers an error response including, for example, an HTTP status code 404 to the client 102.
In step S1115, the communication unit 601 instructs the disconnection detection unit 602 to end the disconnection detection process. And the communication part 601 complete | finishes the delivery process shown in FIG.

図11は、実施形態2の切断検出部602の切断検出処理を示すフローチャートである。
本実施形態において、切断検出部602の切断検出処理は、S1103における通信部601による開始指示が行われると開始される。
S1201において、切断検出部602は、一次記憶装置202に記憶されている配信状態に基づいて切断検出時間を決定し、一次記憶装置202に保持する。
図10におけるS1101にて配信状態がMPD配信済みとして一次記憶装置202に保持された場合、切断検出部602は、通信部601がクライアント102からのMPDファイル700の配信要求を受信開始してからクライアント102にMPDファイル700を配信開始するまでの処理時間に基づき、切断検出時間を決定してもよい。また、切断検出部602は、通信部601がMPDファイル700を配信してからクライアント102がMPDファイル700を受信するまでの時間に基づき、切断検出時間を決定してもよい。また、切断検出部602は、クライアント102がMPDファイル700を受信してから通信部601がクライアント102から初期化セグメントの配信要求を受信するまでの時間に基づき、切断検出時間を決定してもよい。また、切断検出部602は、これらの時間の任意の組合せから切断検出時間を決定してもよい。
FIG. 11 is a flowchart illustrating the cutting detection process of the cutting detection unit 602 according to the second embodiment.
In the present embodiment, the disconnection detection process of the disconnection detection unit 602 is started when a start instruction is given by the communication unit 601 in S1103.
In step S <b> 1201, the disconnection detection unit 602 determines the disconnection detection time based on the distribution state stored in the primary storage device 202, and holds it in the primary storage device 202.
When the distribution state is held in the primary storage device 202 as MPD distributed in S1101 in FIG. 10, the disconnection detection unit 602 starts the client after the communication unit 601 starts receiving the MPD file 700 distribution request from the client 102. The disconnection detection time may be determined based on the processing time until distribution of the MPD file 700 to 102 starts. The disconnection detection unit 602 may determine the disconnection detection time based on the time from when the communication unit 601 delivers the MPD file 700 to when the client 102 receives the MPD file 700. Further, the disconnection detection unit 602 may determine the disconnection detection time based on the time from when the client 102 receives the MPD file 700 until the communication unit 601 receives the initialization segment delivery request from the client 102. . Moreover, the cutting | disconnection detection part 602 may determine a cutting | disconnection detection time from arbitrary combinations of these time.

通信部601がクライアント102からのMPDファイル700の配信要求を受信開始してからクライアント102にMPDファイル700を配信開始するまでの処理時間については、例えば、通信部601において計測することができる。また、通信部601がMPDファイル700を配信してからクライアント102がMPDファイル700を受信するまでの時間は、例えば、通信部601がMPDファイル700のファイルサイズを通信帯域(bps)の値で除した値を用いることによって決定することができる。また、クライアント102がMPDファイル700を受信してから通信部601がクライアント102から初期化セグメントの配信要求を受信するまでの時間は、例えば、通信部601が、前述の初期化セグメント及びメディアセグメントが配信可能になる時刻とメディアセグメントのファイルサイズを通信帯域(bps)の値で除した値とを用いることによって決定することができる。   For example, the communication unit 601 can measure the processing time from when the communication unit 601 starts receiving the MPD file 700 distribution request from the client 102 to when the MPD file 700 starts to be distributed to the client 102. The time from when the communication unit 601 delivers the MPD file 700 to when the client 102 receives the MPD file 700 is, for example, the communication unit 601 dividing the file size of the MPD file 700 by the value of the communication band (bps). Can be determined by using the value obtained. The time from when the client 102 receives the MPD file 700 to when the communication unit 601 receives the initialization segment delivery request from the client 102 is, for example, that the communication unit 601 determines that the initialization segment and the media segment described above It can be determined by using the time when delivery is possible and the value obtained by dividing the file size of the media segment by the value of the communication band (bps).

図10におけるS1108にて配信状態が初期化セグメント配信済みとして一次記憶装置202に保持された場合の切断検出時間は、実施形態1における切断検出時間の決定方法を次の部分を変更して算出すればよい。即ち、最短待ち時間の決定方法において用いられる時間のうち、通信部601がクライアント102からのメディアセグメントの配信要求を受信開始してからクライアント102にメディアセグメントを配信開始するまでの処理時間を、通信部601がクライアント102からの初期化セグメントの配信要求を受信開始してからクライアント102に初期化セグメントを配信開始するまでの処理時間と変更する。また、通信部601がメディアセグメントを配信してからクライアント102がメディアセグメントを受信するまでの時間を、通信部601が初期化セグメントを配信してからクライアント102がメディアセグメントを受信するまでの時間と変更して算出することでできる。また、最長待ち時間の決定方法において用いられる時間のうち、通信部601がクライアント102からのメディアセグメントの配信要求を受信開始してからクライアント102にメディアセグメントを配信開始するまでの処理時間を、通信部601がクライアント102からの初期化セグメントの配信要求を受信開始してからクライアント102に初期化セグメントを配信開始するまでの処理時間と変更する。また、通信部601がメディアセグメントを配信してからクライアント102がメディアセグメントを受信するまでの時間を通信部601が初期化セグメントを配信してからクライアント102が初期化セグメントを受信するまでの時間と変更して算出することでできる。
図10におけるS1113にて配信状態がメディアセグメント配信済みとして一次記憶装置202に保持された場合の切断検出時間は、実施形態1における切断検出時間の決定方法と同じ方法で決定することができる。
The disconnection detection time when the distribution state is held in the primary storage device 202 as the initialization segment distribution completed in S1108 in FIG. 10 is calculated by changing the method for determining the disconnection detection time in the first embodiment by changing the following part. That's fine. That is, of the time used in the method for determining the minimum waiting time, the processing time from when the communication unit 601 starts receiving a media segment delivery request from the client 102 to when the media segment is started to be delivered to the client 102 The processing time is changed from when the unit 601 starts receiving an initialization segment delivery request from the client 102 to when the client 102 starts delivery of the initialization segment. Also, the time from when the communication unit 601 distributes the media segment until the client 102 receives the media segment, the time from when the communication unit 601 distributes the initialization segment to when the client 102 receives the media segment, It can be calculated by changing. Among the times used in the method for determining the longest waiting time, the processing time from when the communication unit 601 starts receiving a media segment delivery request from the client 102 to when the media segment starts to be delivered to the client 102 The processing time is changed from when the unit 601 starts receiving an initialization segment delivery request from the client 102 to when the client 102 starts delivery of the initialization segment. Also, the time from when the communication unit 601 delivers the media segment to when the client 102 receives the media segment is the time from when the communication unit 601 delivers the initialization segment to when the client 102 receives the initialization segment. It can be calculated by changing.
The disconnection detection time when the distribution state is held in the primary storage device 202 as the media segment distribution completed in S1113 in FIG. 10 can be determined by the same method as the determination method of the disconnection detection time in the first embodiment.

S1202において、切断検出部602は、タイマ値を初期化しS1201で決定した切断検出時間のタイマカウントアップを開始する。
S1203において、切断検出部602は、イベントの発生を待ち、発生イベントの判定により処理動作を切り替える。切断検出部602は、発生イベントが一次記憶装置202に保持される切断検出時間分のタイマ経過によるものであれば、S1204に処理を進める。切断検出部602は、発生イベントが通信部601からのMPDファイル700、初期化セグメント、又は、メディアセグメント配信要求通知の受信であればS1201に戻る。切断検出部602は、切発生イベントが通信部601からの切断検出処理終了指示であれば、図11に示す切断検出処理を終了する。
S1204において、切断検出部602は、通信部601に対して切断検出通知を送信する。
In S1202, the disconnection detection unit 602 initializes a timer value and starts timer count-up of the disconnection detection time determined in S1201.
In step S1203, the disconnection detection unit 602 waits for an event to occur, and switches processing operations depending on the determination of the event that has occurred. The disconnection detection unit 602 advances the process to S1204 if the occurrence event is due to the timer elapsed for the disconnection detection time held in the primary storage device 202. The disconnection detection unit 602 returns to S1201 if the occurrence event is the MPD file 700, the initialization segment, or the media segment distribution request notification received from the communication unit 601. If the disconnection occurrence event is a disconnection detection process end instruction from the communication unit 601, the disconnection detection unit 602 ends the disconnection detection process illustrated in FIG.
In step S1204, the disconnection detection unit 602 transmits a disconnection detection notification to the communication unit 601.

このように、クライアントに対し直前に配信したデータの種別が、MPDファイルであるか、初期化セグメントであるか、メディアセグメントであるかに基づいて切断検出時間を決定する。そして、クライアントからの配信要求を切断検出時間以上受信しない場合にクライアントとの通信に係る切断を検出する。
本実施形態では、クライアント102に対し直前に配信したデータの種別が、MPDファイルであるか、初期化セグメントであるか、メディアセグメントであるかに基づいて切断検出時間を決定するものとした。しかし、情報処理装置101は、クライアント102に対しそれ以外の種別のデータを配信し、配信したデータの種別に基づいて切断検出時間を決定するものとしてもよい。
As described above, the disconnection detection time is determined based on whether the type of data delivered to the client immediately before is an MPD file, an initialization segment, or a media segment. Then, when the distribution request from the client is not received for the disconnection detection time or longer, disconnection related to communication with the client is detected.
In the present embodiment, the disconnection detection time is determined based on whether the type of data distributed immediately before to the client 102 is an MPD file, an initialization segment, or a media segment. However, the information processing apparatus 101 may distribute other types of data to the client 102 and determine the disconnection detection time based on the type of the distributed data.

以上のように、クライアントに対し直前に配信したデータの種別が、MPDファイルであるか、初期化セグメントであるか、メディアセグメントであるかに基づいて切断検出時間を決定する。そしてクライアントからの配信要求を切断検出時間以上受信しない場合にクライアントとの通信に係る切断を検出することで、クライアントに対するデータの配信フェーズごとに適切な切断検出時間でクライアントに対する配信処理を終了することができる。   As described above, the disconnection detection time is determined based on whether the type of data delivered to the client immediately before is an MPD file, an initialization segment, or a media segment. Then, when the distribution request from the client is not received for more than the disconnection detection time, the disconnection related to the communication with the client is detected, so that the distribution process for the client is terminated at an appropriate disconnection detection time for each data distribution phase for the client. Can do.

<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給する。そして、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium. It can also be realized by a process in which one or more processors in the computer of the system or apparatus read and execute the program. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

以上、本発明の実施形態の一例について詳述したが、本発明は係る特定の実施形態に限定されるものではない。
例えば、図4に示した情報処理装置101のソフトウェア構成の一部又は全てをハードウェア構成として情報処理装置101に実装してもよい。また、情報処理装置101のハードウェア構成としてCPU、一次記憶装置、二次記憶装置、ネットワークインタフェース等は1つである必要はない。複数のCPUがプログラムに基づき、複数の一次記憶装置、二次記憶装置に記憶されたデータ等を用いながら処理を実行するようにしてもよい。また、CPUに替えてGPU(Graphics Processing Unit)を用いることとしてもよい。
また、上述した実施形態では、DASH配信を例に説明したが、上述した構成、処理等は、HLS配信等、他のアダプティブストリーミング技術にも適用することができる。
The exemplary embodiment of the present invention has been described in detail above, but the present invention is not limited to the specific embodiment.
For example, part or all of the software configuration of the information processing apparatus 101 illustrated in FIG. 4 may be implemented in the information processing apparatus 101 as a hardware configuration. Further, the hardware configuration of the information processing apparatus 101 does not have to be one CPU, primary storage device, secondary storage device, network interface, or the like. A plurality of CPUs may execute processing based on a program using data stored in a plurality of primary storage devices and secondary storage devices. Moreover, it is good also as using GPU (Graphics Processing Unit) instead of CPU.
In the above-described embodiment, the DASH distribution has been described as an example. However, the above-described configuration, processing, and the like can be applied to other adaptive streaming techniques such as HLS distribution.

以上、上述した各実施形態によれば、クライアントが情報処理装置から切断された後にメディアデータの配信処理を終了可能とすることができる。   As described above, according to each of the above-described embodiments, it is possible to end the distribution processing of media data after the client is disconnected from the information processing apparatus.

101 情報処理装置
102 クライアント
201 CPU
101 Information processing apparatus 102 Client 201 CPU

Claims (11)

メディアデータをクライアントに対して配信する配信手段と、
前記クライアントとの通信に係る切断を検出する検出手段と、
を有し、
前記検出手段は、前記メディアデータの単位時間に基づいて切断検出時間を決定し、前記クライアントからの前記メディアデータの配信要求を前記切断検出時間以上受信しない場合に、前記クライアントとの通信に係る切断を検出し、
前記検出手段により前記クライアントとの通信に係る切断が検出された場合、前記配信手段は、前記配信を終了する配信装置。
A delivery means for delivering media data to clients;
Detecting means for detecting disconnection related to communication with the client;
Have
The detection unit determines a disconnection detection time based on a unit time of the media data, and when the media data distribution request from the client is not received for the disconnection detection time or more, disconnection related to communication with the client Detect
When the disconnection relating to the communication with the client is detected by the detection unit, the distribution unit ends the distribution.
前記検出手段は、前記メディアデータの単位時間に比例する時間として前記切断検出時間を決定する請求項1記載の配信装置。   The distribution device according to claim 1, wherein the detection unit determines the disconnection detection time as a time proportional to a unit time of the media data. 前記配信手段が異なる単位時間のメディアデータを前記クライアントに対して配信する場合、前記検出手段は、前記異なる単位時間のうち、最長の単位時間に基づいて前記切断検出時間を決定する請求項1記載の配信装置。   The said detection means determines the said cutting | disconnection detection time based on the longest unit time among the said different unit times when the said delivery means delivers the media data of a different unit time with respect to the said client. Delivery device. 前記検出手段は、前記メディアデータの単位時間に基づいて切断検出時間を求め、前記求めた切断検出時間が最短待ち時間以下となる場合、前記最短待ち時間を切断検出時間に決定する請求項1乃至3何れか1項記載の配信装置。   The detection unit obtains a cutting detection time based on a unit time of the media data, and determines the shortest waiting time as a cutting detection time when the obtained cutting detection time is equal to or shorter than a shortest waiting time. 3. The distribution device according to any one of three. 前記検出手段は、前記メディアデータの単位時間に基づいて切断検出時間を求め、前記求めた切断検出時間が最長待ち時間以上となる場合、前記最長待ち時間を切断検出時間に決定する請求項1乃至3何れか1項記載の配信装置。   The detection unit obtains a cutting detection time based on a unit time of the media data, and determines the longest waiting time as a cutting detection time when the obtained cutting detection time is equal to or longer than a longest waiting time. 3. The distribution device according to any one of three. メディアデータをクライアントに対して配信する配信手段と、
前記クライアントとの通信に係る切断を検出する検出手段と、
を有し、
前記検出手段は、前記メディアデータの配信状態に基づいて切断検出時間を決定し、前記クライアントからの前記メディアデータの配信要求を前記切断検出時間以上受信しない場合に、前記クライアントとの通信に係る切断を検出し、
前記検出手段により前記クライアントとの通信に係る切断が検出された場合、前記配信手段は、前記配信を終了する配信装置。
A delivery means for delivering media data to clients;
Detecting means for detecting disconnection related to communication with the client;
Have
The detection means determines a disconnection detection time based on a distribution state of the media data, and when the media data distribution request from the client is not received for the disconnection detection time or more, disconnection related to communication with the client Detect
When the disconnection relating to the communication with the client is detected by the detection unit, the distribution unit ends the distribution.
前記メディアデータは、MPDファイルと、初期化セグメントと、メディアセグメントと、を含み、
前記検出手段は、MPDファイルと、初期化セグメントと、メディアセグメントと、のうち、前記MPDファイルを配信済みか、前記初期化セグメントを配信済みか、前記メディアセグメントを配信済みか、に基づいて前記切断検出時間を決定する請求項6記載の配信装置。
The media data includes an MPD file, an initialization segment, and a media segment.
The detection means includes the MPD file, the initialization segment, and the media segment, based on whether the MPD file has been distributed, the initialization segment has been distributed, or the media segment has been distributed. The distribution device according to claim 6, wherein the disconnection detection time is determined.
前記配信装置は、撮像部を有するカメラである請求項1乃至7何れか1項記載の配信装置。   The distribution apparatus according to claim 1, wherein the distribution apparatus is a camera having an imaging unit. 配信装置が実行する情報処理方法であって、
メディアデータをクライアントに対して配信する配信工程と、
前記クライアントとの通信に係る切断を検出する検出工程と、
を含み、
前記検出工程では、前記メディアデータの単位時間に基づいて切断検出時間を決定し、前記クライアントからの前記メディアデータの配信要求を前記切断検出時間以上受信しない場合に、前記クライアントとの通信に係る切断を検出し、
前記検出工程により前記クライアントとの通信に係る切断が検出された場合、前記配信工程では、前記配信を終了する情報処理方法。
An information processing method executed by a distribution device,
A distribution process for distributing media data to clients;
A detecting step for detecting disconnection related to communication with the client;
Including
In the detection step, a disconnection detection time is determined based on a unit time of the media data, and when the media data distribution request from the client is not received for the disconnection detection time or more, the disconnection related to communication with the client Detect
An information processing method for ending distribution in the distribution step when a disconnection related to communication with the client is detected in the detection step.
配信装置が実行する情報処理方法であって、
メディアデータをクライアントに対して配信する配信工程と、
前記クライアントとの通信に係る切断を検出する検出工程と、
を含み、
前記検出工程では、前記メディアデータの配信状態に基づいて切断検出時間を決定し、前記クライアントからの前記メディアデータの配信要求を前記切断検出時間以上受信しない場合に、前記クライアントとの通信に係る切断を検出し、
前記検出工程により前記クライアントとの通信に係る切断が検出された場合、前記配信工程では、前記配信を終了する情報処理方法。
An information processing method executed by a distribution device,
A distribution process for distributing media data to clients;
A detecting step for detecting disconnection related to communication with the client;
Including
In the detection step, a disconnection detection time is determined based on a distribution state of the media data, and when the media data distribution request from the client is not received for the disconnection detection time or more, a disconnection related to communication with the client Detect
An information processing method for ending distribution in the distribution step when a disconnection related to communication with the client is detected in the detection step.
コンピュータを、請求項1乃至8何れか1項記載の配信装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the delivery apparatus in any one of Claims 1 thru | or 8.
JP2018036572A 2018-03-01 2018-03-01 Distribution device, information processing method and program Pending JP2019152972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018036572A JP2019152972A (en) 2018-03-01 2018-03-01 Distribution device, information processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018036572A JP2019152972A (en) 2018-03-01 2018-03-01 Distribution device, information processing method and program

Publications (1)

Publication Number Publication Date
JP2019152972A true JP2019152972A (en) 2019-09-12

Family

ID=67946380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018036572A Pending JP2019152972A (en) 2018-03-01 2018-03-01 Distribution device, information processing method and program

Country Status (1)

Country Link
JP (1) JP2019152972A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021065605A1 (en) * 2019-10-01 2021-04-08 ソニー株式会社 Information processing device and information processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021065605A1 (en) * 2019-10-01 2021-04-08 ソニー株式会社 Information processing device and information processing method

Similar Documents

Publication Publication Date Title
CA3018723C (en) Playback synchronization among adaptive bitrate streaming clients
KR101510822B1 (en) Adaptive trick play streaming
KR102133207B1 (en) Communication apparatus, communication control method, and communication system
JP6861484B2 (en) Information processing equipment and its control method, computer program
JP6541309B2 (en) Transmission apparatus, transmission method, and program
JPWO2009119394A1 (en) Video acquisition method, video acquisition device, video acquisition system, and video acquisition program
JP6116240B2 (en) Transmission device, transmission method, and program
JP5394307B2 (en) Synchronized playback system, synchronized playback method, and synchronized playback program
JP6609468B2 (en) Receiving device, reproduction time control method, and program
CN104581340A (en) Client-side, streaming media data receiving method and streaming media data transmission system
JP2019152972A (en) Distribution device, information processing method and program
JP6513054B2 (en) Client device of content delivery system, method and program for acquiring content
EP2651123A1 (en) Personal client video recording device, personal network video recording device and methods for operation of a personal client video recording device and a personal network video recording device.
JP2015104075A (en) Medium reproduction control device, medium reproduction control method and program
JP2017098706A (en) Receiving device, segment acquisition method and program
JP7229696B2 (en) Information processing device, information processing method, and program
JP2016091436A (en) Communication device, communication method, and program
JP6890977B2 (en) Transmitter, transmission method, and program
CN114417055A (en) Video playing method and device, computer equipment and storage medium
US20170070565A1 (en) Information device
JP6327809B2 (en) Reception device, control method, and program
JP6400163B2 (en) Reception device, reception method, transmission device, transmission method, and program
JP6294527B2 (en) Transmission device, transmission method, reproduction device, and reproduction method
JP2016021778A (en) Streaming media reproduction device, streaming media reproduction method and program
KR20110129064A (en) Content virtual segmentation method, and method and system for providing streaming service using the same