JP6401546B2 - Content distribution server and content distribution program - Google Patents

Content distribution server and content distribution program Download PDF

Info

Publication number
JP6401546B2
JP6401546B2 JP2014168331A JP2014168331A JP6401546B2 JP 6401546 B2 JP6401546 B2 JP 6401546B2 JP 2014168331 A JP2014168331 A JP 2014168331A JP 2014168331 A JP2014168331 A JP 2014168331A JP 6401546 B2 JP6401546 B2 JP 6401546B2
Authority
JP
Japan
Prior art keywords
distribution
time
content
receiving device
delivery
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
JP2014168331A
Other languages
Japanese (ja)
Other versions
JP2016046624A (en
Inventor
壮 田中
壮 田中
敏 西村
敏 西村
遠藤 洋介
洋介 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2014168331A priority Critical patent/JP6401546B2/en
Publication of JP2016046624A publication Critical patent/JP2016046624A/en
Application granted granted Critical
Publication of JP6401546B2 publication Critical patent/JP6401546B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、コンテンツ配信サーバ、受信装置、及びコンテンツ配信プログラムに係り、特にコンテンツ配信サーバに接続された各受信装置に配信されるコンテンツの到達時間のばらつきを抑制させるためのコンテンツ配信サーバ、受信装置、及びコンテンツ配信プログラムに関する。   The present invention relates to a content distribution server, a receiving device, and a content distribution program, and in particular, a content distribution server and a receiving device for suppressing variation in arrival time of content distributed to each receiving device connected to the content distribution server. And a content distribution program.

従来、種々のコンテンツを受信装置に配信するサービスが存在する。このような配信サービスでは、コンテンツ配信サーバからユーザの受信装置に情報を直接送り届けるプッシュ型の情報配信技術が知られている。例えば、IP(Internet Protocol)コンテンツ等の配信情報としては、例えばテレビ放送番組の関連情報や個々のユーザニーズに応じた天気の最新情報、交通の最新情報、アプリケーション、又は、ユーザが要求する種々のデータが挙げられる。   Conventionally, there are services that distribute various contents to receiving apparatuses. In such a distribution service, a push-type information distribution technique is known in which information is directly delivered from a content distribution server to a user receiving device. For example, as distribution information such as IP (Internet Protocol) content, for example, information related to TV broadcast programs, the latest information on weather according to individual user needs, the latest information on traffic, applications, or various information requested by users Data.

大規模なIPコンテンツのプッシュ型情報配信サービスでは、1つのコンテンツ配信サーバに多数の受信装置が通信セッションを確立し、IPコンテンツを配信する形となる。リアルタイムに配信されるIPコンテンツに関しては、コンテンツ配信サーバから受信装置へ一斉に配信が実施される。しかしながら、コンテンツ配信サーバとセッションを確立している各受信装置は、同じ配信サーバに接続していても、それぞれの受信装置との通信距離が異なる。例えば、東京にコンテンツ配信サーバが配置される場合に、受信装置が東京、大阪、沖縄等にあれば、通信距離が異なる。したがって、コンテンツ配信サーバとの通信所要時間(例えば、RTT(Round Trip Time))が、受信装置毎に異なることになり、IPコンテンツが到達するタイミングも受信装置毎に異なる。また、各受信装置へデータを配信する際の所要時間は、通信経路の状況によって毎回変動するため、実際には一定とならない。   In a large-scale IP content push-type information distribution service, a large number of receiving devices establish communication sessions on one content distribution server and distribute IP content. With respect to IP content distributed in real time, distribution is performed simultaneously from the content distribution server to the receiving device. However, even if each receiving device that has established a session with the content distribution server is connected to the same distribution server, the communication distance with each receiving device is different. For example, when a content distribution server is arranged in Tokyo, the communication distance is different if the receiving device is in Tokyo, Osaka, Okinawa, or the like. Therefore, the time required for communication with the content distribution server (for example, RTT (Round Trip Time)) differs for each receiving device, and the timing at which IP content arrives also differs for each receiving device. In addition, since the time required for distributing data to each receiving apparatus varies every time depending on the state of the communication path, it is not actually constant.

このようなことから、コンテンツ配信サーバから一斉に配信されたIPコンテンツが、各受信装置において、到達する時間にばらつきがあり、全受信装置に配信コンテンツをばらつきなく同時に配信することが困難であった。   For this reason, there is a variation in the arrival time of IP contents distributed simultaneously from the content distribution server in each receiving device, and it is difficult to simultaneously distribute the distributed content to all receiving devices without variation. .

そこで、従来では、配信サーバに接続する多数の受信装置に対し、データの受信時刻が同じ時刻となるように、配信サーバでIPコンテンツの配信時刻を調整することにより、受信装置間のIPコンテンツの受信時刻のばらつきを軽減する手法が開示されている(例えば、非特許文献1参照)。   Therefore, conventionally, by adjusting the distribution time of IP content at the distribution server so that the reception time of data is the same for a large number of reception devices connected to the distribution server, A technique for reducing variation in reception time is disclosed (for example, see Non-Patent Document 1).

また、コンテンツ配信サーバから受信装置がIPコンテンツを受信するシステムにおいて、受信装置の設置場所や接続環境等を考慮することで、配信遅延が小さくなるよう配信ネットワークを構築する手法が開示されている(例えば、特許文献1参照)。   In addition, in a system in which a receiving apparatus receives IP content from a content distribution server, a technique for constructing a distribution network so as to reduce the distribution delay by considering the installation location of the receiving apparatus and the connection environment is disclosed ( For example, see Patent Document 1).

特開2006−332825号公報JP 2006-332825 A

田中壮他、「クライアントのRTTを考慮したプッシュ配信サーバにおける配信制御方式の検討」、2013年映像情報メディア学会年次大会18−12Takeshi Tanaka et al. “Study of delivery control method in push delivery server considering client RTT”, Annual Conference of Video Information Media Society of Japan 18-12

ところで、上述したプッシュ型情報配信サービスでは、一定周期で繰り返しデータ配信するサービスが想定される。例えば上述した非特許文献1に示すような技術では、目標の配信時刻を設定し、各受信装置の配信時刻を遅延させることによってIPコンテンツの受信時刻のばらつきを軽減しているが、受信装置のRTTが大きく、目標の配信時刻に配信時刻が収まらない場合や、配信周期毎に変動する配信所要時間の大きさによっては、配信時刻を遅延させたことによって、他の受信装置への配信が配信周期内に収まらない場合等から、配信できない受信装置が発生してしまうという問題があった。   By the way, in the push-type information distribution service described above, a service that repeatedly distributes data at a constant cycle is assumed. For example, in the technology as described in Non-Patent Document 1 described above, the target delivery time is set and the delivery time of each receiving device is delayed to reduce the variation in the reception time of the IP content. If the RTT is large and the distribution time does not fit within the target distribution time, or depending on the size of the distribution required time that fluctuates for each distribution cycle, the distribution time is delayed so that distribution to other receiving devices is distributed. There has been a problem that a receiving device that cannot be distributed may occur due to a situation that does not fit within a cycle.

また、特許文献1に示す手法は、コンテンツ配信サーバとその配信サーバに接続された受信装置における配信遅延差を考慮しておらず、接続している配信サーバが同じ受信装置にも関わらず、受信装置間で配信コンテンツ到達時間が異なるという問題があった。   In addition, the technique disclosed in Patent Document 1 does not consider the distribution delay difference between the content distribution server and the receiving device connected to the distribution server, and the reception is performed even though the connected distribution server is the same receiving device. There is a problem in that the delivery content arrival time differs between devices.

1つの側面では、本発明は、配信サーバに接続された受信装置間の配信コンテンツの到達時間のばらつきを抑制させるためのコンテンツ配信サーバ、受信装置、及びコンテンツ配信プログラムを提供することを目的とする。   In one aspect, an object of the present invention is to provide a content distribution server, a reception device, and a content distribution program for suppressing variation in arrival time of distribution content between reception devices connected to the distribution server. .

上記課題を解決するために、本発明は、以下の特徴を有する課題を解決するための手段を採用している。   In order to solve the above problems, the present invention employs means for solving the problems having the following features.

一つの態様として、本発明は、通信ネットワークを介して接続された各受信装置に対し、前記受信装置に表示させるコンテンツを所定の配信周期で配信するコンテンツ配信サーバにおいて、前記受信装置からの接続要求を受信し、前記受信装置それぞれとの間のセッションを確立するセッション制御手段と、前記セッション制御手段によりセッションを確立した受信装置に前記コンテンツを配信する前に、前記受信装置に対して遅延量確認要求を行い、前記遅延量確認要求に対する応答情報に基づいて前記受信装置の受信遅延量を計測する遅延量計測手段と、前記遅延量計測手段により得られた前記各受信装置の受信遅延量を用いて、受信遅延量が最も大きい受信装置に前記コンテンツが到達する時間に合わせて他の受信装置にも前記コンテンツが到達するように前記各受信装置に対する配信時刻を設定し、設定した配信時刻が、前記所定の配信周期の開始時刻よりも前、又は、前記所定の配信周期の終了時刻よりも後の場合に、当該配信時刻を前記所定の配信周期内に更新する配信時刻設定手段と、前記配信時刻設定手段により得られる配信時刻に基づき、前記受信装置に前記コンテンツを送信するコンテンツ送信手段とを有する。
In one embodiment, the present invention is, for each receiving device connected via a communications network, the content delivery server for delivering content to be displayed to the each receiving device at a predetermined delivery period, wherein from each reception apparatus receiving the connection request, the session control means for establishing a session between said each of the receiving device, before delivering the content to the receiving device to establish a session by the session control unit, the each reception apparatus perform delay confirmation request for the delay verify the delay amount measuring means for measuring a reception delay amounts of the respective receiving device based on the response information to the request, the delay amount measuring means and the respective receiving devices obtained by using the reception delay amount, the other receiving apparatus in accordance with the time during which the content reaches the highest reception apparatus receives delay The distribution time for each receiving device is set so that the content arrives, and the set distribution time is before the start time of the predetermined distribution cycle or after the end time of the predetermined distribution cycle A distribution time setting unit that updates the distribution time within the predetermined distribution period, and a content transmission unit that transmits the content to each receiving device based on the distribution time obtained by the distribution time setting unit. Have.

また、一つの態様として、本発明は、コンピュータを、上述したコンテンツ配信サーバが有する各手段として機能させるためのコンテンツ配信プログラムである。   Moreover, as one aspect, the present invention is a content distribution program for causing a computer to function as each unit included in the above-described content distribution server.

本発明によれば、コンテンツ配信サーバに接続された各受信装置に配信されるコンテンツの到達時間のばらつきを抑制させることができる。   ADVANTAGE OF THE INVENTION According to this invention, the dispersion | variation in the arrival time of the content delivered to each receiver connected to the content delivery server can be suppressed.

コンテンツ配信システムの概略構成例を示す図である。It is a figure which shows the schematic structural example of a content delivery system. コンテンツ配信サーバの機能構成例を示す図である。It is a figure which shows the function structural example of a content delivery server. 受信装置の機能構成例を示す図である。It is a figure which shows the function structural example of a receiver. コンテンツ配信処理の概要を説明するための図(その1)である。It is FIG. (1) for demonstrating the outline | summary of a content delivery process. コンテンツ配信処理の概要を説明するための図(その2)である。It is FIG. (2) for demonstrating the outline | summary of a content delivery process. 更新されたコンテンツ配信例を示す図である。It is a figure which shows the example of updated content delivery. 本実施形態におけるデータ例を示す図である。It is a figure which shows the example of data in this embodiment. コンテンツ配信処理の第1実施例を示すフローチャートである。It is a flowchart which shows 1st Example of a content delivery process. コンテンツ配信処理の第2実施例を示すフローチャートである。It is a flowchart which shows 2nd Example of a content delivery process.

<本実施形態について>
本実施形態では、例えばコンテンツ配信サーバから複数の受信装置へコンテンツを配信する場合に、全受信装置における配信コンテンツ到達時間を一致させ、全受信装置へコンテンツを同期配信させる。例えば、コンテンツ配信サーバからコンテンツを受信装置にプッシュ配信する際に、それぞれの受信装置におけるRTTをコンテンツ配信サーバへフィードバックし、各受信装置との受信遅延量をコンテンツ配信サーバ内で管理する。また、この受信遅延量に基づき、配信コンテンツの到達時間が最も遅い受信装置、例えばRTTの最も大きい受信装置の配信コンテンツ到達時間又は任意の配信目標時刻を算出し、その到達時間に合わせて、その他の受信装置へのコンテンツ配信時に時間調整を行って配信する。
<About this embodiment>
In the present embodiment, for example, when content is distributed from a content distribution server to a plurality of receiving devices, the distribution content arrival times in all the receiving devices are matched, and the content is synchronously distributed to all the receiving devices. For example, when the content delivery server push-distributes the content to the receiving device, the RTT in each receiving device is fed back to the content delivery server, and the reception delay amount with each receiving device is managed in the content delivery server. Also, based on this reception delay amount, the distribution content arrival time or any distribution target time of the receiving device with the latest delivery content arrival time, for example, the receiving device with the largest RTT, is calculated, and the other Time distribution when distributing content to the receiving device.

また、本実施形態は、目標の配信時刻よりも早い配信時刻となってしまう受信装置や配信時刻の調整によって配信周期に収まらない受信装置が存在する場合に、その時間分だけ、配信時刻を再調整し、全ての受信装置への配信を行う。これにより、各受信装置における配信コンテンツの到達時間のばらつきを抑制させ、より多くの各受信装置への同期したコンテンツのプッシュ配信が可能となる。以下に、コンテンツ配信サーバ、受信装置、及びコンテンツ配信プログラムを好適に実施した形態について、図面等を用いて詳細に説明する。   In addition, in the present embodiment, when there is a receiving device that has a delivery time earlier than the target delivery time or a receiving device that does not fit in the delivery cycle due to the adjustment of the delivery time, the delivery time is reset by that time. Adjust and distribute to all receiving devices. Thereby, the dispersion | distribution of the arrival time of the delivery content in each receiving device is suppressed, and the push delivery of the synchronized content to more each receiving devices is attained. Hereinafter, a preferred embodiment of a content distribution server, a receiving device, and a content distribution program will be described in detail with reference to the drawings.

<コンテンツ配信システムの概略構成例>
図1は、コンテンツ配信システムの概略構成例を示す図である。図1に示すコンテンツ配信システム10は、コンテンツ配信サーバ11と、1又は複数の受信装置12−1〜12−n(以下、必要に応じて「受信装置12」を総称する)とを有している。コンテンツ配信サーバ11と、受信装置12とは、インターネットやLAN(Local Area Network)等に代表される通信ネットワーク13によりデータの送受信が可能な状態で接続されている。
<Example of schematic configuration of content distribution system>
FIG. 1 is a diagram illustrating a schematic configuration example of a content distribution system. A content distribution system 10 illustrated in FIG. 1 includes a content distribution server 11 and one or a plurality of receiving devices 12-1 to 12-n (hereinafter, collectively referred to as “receiving device 12” as necessary). Yes. The content distribution server 11 and the receiving device 12 are connected in a state where data can be transmitted and received through a communication network 13 typified by the Internet or a LAN (Local Area Network).

コンテンツ配信サーバ11は、通信ネットワーク13を介して各受信装置12に同一のコンテンツを配信する。また、コンテンツ配信サーバ11は、配信するコンテンツ(例えば、通信ネットワーク13の一例であるIP網を介して送信されるIPパケット)を時系列に多重化して送信する。   The content distribution server 11 distributes the same content to each receiving device 12 via the communication network 13. In addition, the content distribution server 11 multiplexes and transmits the content to be distributed (for example, an IP packet transmitted via an IP network which is an example of the communication network 13) in time series.

本実施形態におけるコンテンツ配信サーバ11は、例えば汎用のサーバやPC(Personal Computer)でもよい。また、コンテンツ配信サーバ11は、1台に限定されるものではなく、複数台が異なる地点に設けられていてもよい。また、コンテンツ配信サーバ11は、例えば1以上の情報処理装置を有するクラウドコンピューティングにより構成されたクラウドサーバであってもよい。   The content distribution server 11 in this embodiment may be a general-purpose server or a PC (Personal Computer), for example. Further, the content distribution server 11 is not limited to one, and a plurality of content distribution servers 11 may be provided at different points. The content distribution server 11 may be a cloud server configured by cloud computing having one or more information processing devices, for example.

受信装置12は、例えばコンテンツ配信サーバ11から通信ネットワーク13を介して受信したコンテンツ(配信情報)を、例えば通信ネットワーク13とは異なる伝送形態(例えば、放送波)でリアルタイムに受信した放送番組等と共に画面表示する。受信装置12は、例えばスポーツ中継番組において、放送波により画面上に表示されている野球選手やサッカー選手に対し、選手名や成績等の選手に関する情報(コンテンツ)を同期させて表示したり、番組と連動したクイズの質問や回答、情報番組において画面上に表示されている店舗や商品情報、ドラマの1シーンや登場人物が話す内容に応じた情報(字幕)等のコンテンツを放送波と同期して表示したり、株のトレード情報等を他の受信装置12間で同期させて表示したりするが、これに限定されるものではない。   For example, the receiving device 12 receives content (distribution information) received from the content distribution server 11 via the communication network 13 together with a broadcast program received in real time in a transmission form (for example, broadcast wave) different from the communication network 13, for example. Display on the screen. For example, in a sports broadcast program, the receiving device 12 can display information (contents) related to players such as player names and results in synchronization with baseball players and soccer players displayed on the screen by broadcast waves, Synchronize quiz questions and answers, information on stores and product information displayed on the screen in information programs, information such as one scene of a drama or information (subtitles) spoken by the characters with broadcast waves Or stock trade information etc. are displayed in synchronism between the other receiving devices 12, but the present invention is not limited to this.

上述したような情報は、例えばテレビ放送番組の画面に、できる限りリンク(同期)して配信することが望ましく、例えばその画面が表示される前に、前もって関連する配信情報が表示されたり、すでにその配信情報に関する画面(シーン)が終了しているのに配信情報がそのまま残っていたりすると、視聴者にとっては、非常に違和感がある。   It is desirable to distribute the information as described above, for example, by linking (synchronizing) as much as possible to the screen of a TV broadcast program. For example, before the screen is displayed, related distribution information is displayed in advance or already displayed. If the distribution information remains as it is even though the screen (scene) related to the distribution information is finished, it is very uncomfortable for the viewer.

また、受信装置12は、コンテンツを受信する通信位置(設置場所)がそれぞれ異なるため、コンテンツ配信サーバ11と各受信装置12との間の受信遅延量(例えば、往復遅延時間(RTT)を1/2にした値)は、図1に示すように各受信装置12のRTTをT秒,T秒,…,T秒とすると、T/2秒,T/2秒,…,T/2秒のように、それぞれ異なるものとなる。したがって、コンテンツ配信サーバ11から配信されたコンテンツの各受信装置12への到達時刻は、各受信装置12において、ばらつきが生じてしまう。そこで、本実施形態では、例えばテレビ放送番組の画面と同期して配信情報(IPコンテンツ)が表示されるようにすると共に、各受信装置12間においてもばらつきが生じないように制御を行う。 In addition, since the receiving device 12 has different communication positions (installation locations) for receiving content, the receiving delay amount (for example, round trip delay time (RTT)) between the content distribution server 11 and each receiving device 12 is 1 /. value) is that the 2, 1 second RTT of each receiver 12, as shown in FIG. 1 T, T 2 seconds, ..., when T N seconds, T 1/2 seconds, T 2/2 seconds, ..., Each will be different, such as T N / 2 seconds. Therefore, the arrival time of the content distributed from the content distribution server 11 to each receiving device 12 varies in each receiving device 12. Therefore, in the present embodiment, for example, distribution information (IP content) is displayed in synchronization with a screen of a television broadcast program, and control is performed so that no variation occurs between the receiving apparatuses 12.

本実施形態における受信装置12は、例えばPC、ノート型PC、携帯電話、スマートフォン、タブレット端末、テレビ、ゲーム機器等であり、一例としては放送波を受信し表示させる機能と、通信ネットワーク13に接続し情報の送受信を行う機能とを備える。   The receiving device 12 in the present embodiment is, for example, a PC, a notebook PC, a mobile phone, a smartphone, a tablet terminal, a television, a game device, or the like. As an example, the receiving device 12 is connected to the communication network 13 and a function for receiving and displaying broadcast waves. And a function for transmitting and receiving information.

<コンテンツ配信サーバ11の機能構成例>
次に、本実施形態におけるコンテンツ配信サーバ11の機能構成例について図を用いて説明する。図2は、コンテンツ配信サーバの機能構成例を示す図である。図2の例において、コンテンツ配信サーバ11は、制御手段20と、通信手段30と、記憶手段40とを有する。制御手段20は、セッション制御手段21と、遅延量計測手段22と、コンテンツ生成手段23と、配信時刻設定手段24と、コンテンツ送信手段25とを有する。また、記憶手段40は、セッション管理情報41と、配信時刻情報42とを有する。
<Example of Functional Configuration of Content Distribution Server 11>
Next, a functional configuration example of the content distribution server 11 in the present embodiment will be described with reference to the drawings. FIG. 2 is a diagram illustrating a functional configuration example of the content distribution server. In the example of FIG. 2, the content distribution server 11 includes a control unit 20, a communication unit 30, and a storage unit 40. The control unit 20 includes a session control unit 21, a delay amount measurement unit 22, a content generation unit 23, a distribution time setting unit 24, and a content transmission unit 25. In addition, the storage unit 40 includes session management information 41 and distribution time information 42.

セッション制御手段21は、受信装置12からの接続要求や切断要求に応じて、コンテンツ配信サーバ11と受信装置12のセッション確立や切断を制御する。例えば、セッション制御手段21は、セッション確立時には記憶手段40のセッション管理情報41に、セッション毎に付与するセッションIDを記憶する。また、セッション制御手段21は、セッション切断時に、セッション管理情報41に記憶されている切断対象のセッションIDと、セッションIDに対応付けられている各種情報、配信時刻情報42の当該レコード等を削除する。   The session control unit 21 controls session establishment and disconnection between the content distribution server 11 and the reception device 12 in response to a connection request or disconnection request from the reception device 12. For example, the session control unit 21 stores a session ID assigned to each session in the session management information 41 of the storage unit 40 when a session is established. In addition, when the session is disconnected, the session control unit 21 deletes the session ID to be disconnected stored in the session management information 41, various information associated with the session ID, the record of the distribution time information 42, and the like. .

遅延量計測手段22は、受信装置12の受信遅延量を計測し、計測結果をセッションIDに対応付けて記憶手段40のセッション管理情報41に記憶する。例えば、遅延量計測手段22は、遅延量確認要求の一例として各受信装置12からpingコマンドを実行し、その応答情報からRTTを計測することで、受信遅延量を計測する。また、遅延量計測手段22は、例えばコンテンツ配信サーバ11と受信装置12との間の送受信をTCP(Transmission Control Protocol)で行っている場合には、コンテンツ配信サーバ11からの要求メッセージ(遅延量確認要求の一例)に対する受信装置12からのACKメッセージ(応答情報)を受信し、要求メッセージを送信した時刻と、ACKメッセージを受信した時刻との差によって、RTTを取得して受信遅延量を計測してもよい。なお、各受信装置12における受信遅延量は、往復時間を示すRTTを1/2とすることで求めることができるが、これに限定されるものではなく、例えば上りと下りで通信速度が異なる場合には、その比率に基づいて値を調整してもよい。   The delay amount measuring unit 22 measures the reception delay amount of the receiving device 12 and stores the measurement result in the session management information 41 of the storage unit 40 in association with the session ID. For example, the delay amount measuring unit 22 measures the reception delay amount by executing a ping command from each receiving device 12 as an example of the delay amount confirmation request and measuring the RTT from the response information. Further, the delay amount measuring means 22 is a request message (delay amount confirmation) from the content distribution server 11 when, for example, transmission / reception between the content distribution server 11 and the receiving device 12 is performed by TCP (Transmission Control Protocol). ACK message (response information) is received from the receiving device 12 for an example of a request), and RTT is obtained by measuring the reception delay amount by the difference between the time when the request message is transmitted and the time when the ACK message is received. May be. The reception delay amount in each receiving device 12 can be obtained by setting RTT indicating the round trip time to ½, but is not limited to this. For example, when the communication speed is different between upstream and downstream Alternatively, the value may be adjusted based on the ratio.

また、遅延量計測手段22は、例えば所定の配信周期でIPパケットを時分割送信する場合に、配信周期毎に受信遅延量を計測してもよく、また受信装置12とセッションを確立した直後、IPパケットを最初に送信するタイミング、所定時間間隔等の所定のタイミング等で受信遅延量を計測してもよい。また、遅延量計測手段22は、過去数回の受信遅延量の統計から平均値を算出し、算出した平均値をセッション管理情報41に記憶してもよい。平均値を使用することで、一時的な回線状態の不具合等による影響を軽減することができる。   In addition, the delay amount measuring unit 22 may measure the reception delay amount for each distribution cycle when, for example, an IP packet is transmitted in a time-sharing manner with a predetermined distribution cycle, and immediately after establishing a session with the receiving device 12, The reception delay amount may be measured at a timing at which the IP packet is first transmitted, a predetermined timing such as a predetermined time interval, or the like. Further, the delay amount measuring means 22 may calculate an average value from the statistics of the past several reception delay amounts, and store the calculated average value in the session management information 41. By using the average value, it is possible to reduce the influence due to a temporary line state malfunction or the like.

コンテンツ生成手段23は、受信装置12に配信するコンテンツを生成し、生成したコンテンツをコンテンツ送信手段25に出力する。なお、コンテンツとしては、例えば別の伝送形態で受信装置12に送信される放送波に関連付けられた情報(例えば、番組関連情報、表示されている人物、お店、洋服等の情報等)であるが、これに限定されるものではない。   The content generation unit 23 generates content to be distributed to the receiving device 12 and outputs the generated content to the content transmission unit 25. The content is, for example, information associated with a broadcast wave transmitted to the receiving device 12 in another transmission form (for example, program related information, information about a displayed person, shop, clothes, etc.). However, the present invention is not limited to this.

配信時刻設定手段24は、所定の配信周期におけるセッションID毎の配信順序及び配信時刻を設定する。例えば、配信時刻設定手段24は、記憶手段40のセッション管理情報41を参照し、セッション管理情報41に含まれる受信遅延量に基づいて、各セッションID(各受信装置12)に対する配信順序を設定する。配信順序は、例えば受信遅延量の大きい順(降順)に設定されるが、これに限定されるものではなく、例えば各受信装置12の処理性能等を取得している場合には、その性能に応じて処理の遅い受信装置のIPパケットを早めに送信するように配信順序の調整を行ってもよい。   The distribution time setting unit 24 sets the distribution order and distribution time for each session ID in a predetermined distribution cycle. For example, the delivery time setting unit 24 refers to the session management information 41 in the storage unit 40 and sets the delivery order for each session ID (each receiving device 12) based on the reception delay amount included in the session management information 41. . The distribution order is set in, for example, the order of descending reception delay amount (descending order), but is not limited to this. For example, when the processing performance of each receiving device 12 is acquired, the performance is reduced. Accordingly, the distribution order may be adjusted so that the IP packet of the receiving apparatus that is slow in processing is transmitted early.

また、配信時刻設定手段24は、設定した配信順序に基づき、任意の配信目標時刻の配信コンテンツ到達時間に合わせた配信時刻をセッションID毎に算出し、配信時刻情報42に記憶させる。例えば、配信時刻設定手段24は、受信遅延量が最も大きい受信装置12にIPパケット(コンテンツ)を送信し、そのコンテンツが到達するまでの時間(目的の時刻に番組を出力するために受信装置12に到達していなければならない時刻)を配信目標時刻とし、その時刻に合わせて他の受信装置12にもIPパケットが到達するように配信時刻を設定する。また、配信時刻設定手段24は、連続したコンテンツを途切れることなく、リアルタイムで各受信装置12の画面に表示させるために必要な配信間隔を配信目標時刻として1配信周期内における配信時刻を設定してもよいが、設定手法は、これらに限定されるものではない。   Further, the distribution time setting unit 24 calculates a distribution time for each session ID based on the set distribution order, and stores the distribution time in the distribution time information 42. For example, the delivery time setting unit 24 transmits an IP packet (content) to the receiving device 12 having the largest reception delay amount, and the time until the content arrives (the receiving device 12 to output a program at a target time). The time at which the IP packet must be reached) is set as the distribution target time, and the distribution time is set so that the IP packet reaches the other receiving apparatus 12 in accordance with the distribution target time. Further, the distribution time setting means 24 sets the distribution time within one distribution cycle with the distribution interval necessary for displaying the continuous content on the screen of each receiving device 12 in real time without interruption. However, the setting method is not limited to these.

本実施形態において、例えば配信するコンテンツが、外部(例えば、放送局)から放送波等により受信装置12に提供される番組に関連付けられている場合には、その番組の放送時刻のタイミングに合わせて(同期して)コンテンツが表示できるように、配信時刻が設定される。   In the present embodiment, for example, when the content to be distributed is associated with a program provided from the outside (for example, a broadcasting station) to the receiving device 12 by a broadcast wave or the like, it is matched with the broadcast time timing of the program. The delivery time is set so that the content can be displayed (in synchronization).

なお、配信時刻設定手段24は、配信時刻が配信周期からはみ出してしまうセッションID(受信装置12)が存在する場合に、配信時刻の再調整を行い、再調整した結果に基づいて全セッションIDに対し、IPパケットが配信周期内に配信されるように配信時刻を更新する。更新した配信時刻は、配信時刻情報42に記憶される。具体的な更新例については後述する。   The delivery time setting unit 24 performs readjustment of the delivery time when there is a session ID (receiving device 12) that causes the delivery time to protrude from the delivery cycle, and sets all session IDs based on the readjustment result. On the other hand, the distribution time is updated so that the IP packet is distributed within the distribution cycle. The updated delivery time is stored in the delivery time information 42. A specific update example will be described later.

コンテンツ送信手段25は、セッション管理情報41からセッションが確立されている受信装置12を取得し、取得した各受信装置12(セッションID)に対し、配信時刻設定手段24に算出され、配信時刻情報42に記憶された配信時刻に基づいて、コンテンツ生成手段23で生成されたコンテンツのIPパケットを通信手段30から送信する。なお、コンテンツ送信手段25は、コンテンツ配信サーバ11から切り離し、外部からIPコンテンツデータを入力するような構成としてもよい。   The content transmission unit 25 acquires the receiving device 12 with which the session is established from the session management information 41, and is calculated by the distribution time setting unit 24 for each acquired receiving device 12 (session ID). The communication unit 30 transmits the IP packet of the content generated by the content generation unit 23 based on the distribution time stored in the communication unit 30. The content transmitting unit 25 may be configured to be separated from the content distribution server 11 and input IP content data from the outside.

通信手段30は、受信装置12等とデータの送受信等を行う通信インターフェースである。例えば、通信手段30は、受信装置12に対する所定のアドレス情報やセッションID等に基づいて、受信装置12から接続要求やコンテンツの配信要求を受信したり、受信装置12のRTTを計測したり、コンテンツ生成手段23で生成されたコンテンツ等を送信する。   The communication means 30 is a communication interface that performs transmission / reception of data with the receiving device 12 or the like. For example, the communication unit 30 receives a connection request or a content distribution request from the receiving device 12 based on predetermined address information or a session ID for the receiving device 12, measures the RTT of the receiving device 12, The contents generated by the generating means 23 are transmitted.

記憶手段40は、上述したセッション管理情報41と配信時刻情報42とを格納する。なお、記憶手段40が記憶する情報は、これに限定されるものではなく、例えば、コンテンツの内容、コンテンツ配信結果(ログ情報)やエラー情報、受信装置12の識別情報や配信アドレス等、各種設定情報等を記憶していてもよい。   The storage unit 40 stores the session management information 41 and the distribution time information 42 described above. The information stored in the storage unit 40 is not limited to this, and various settings such as content contents, content distribution result (log information) and error information, identification information and distribution address of the receiving device 12, etc. Information or the like may be stored.

<受信装置12の機能構成例>
次に、本実施形態における受信装置12の機能構成例について図を用いて説明する。図3は、受信装置の機能構成例を示す図である。図3に示す受信装置12は、制御手段50と、通信手段60とを有する。制御手段50は、セッション制御手段51と、番組取得手段52と、コンテンツ取得手段53と、表示手段54とを有する。
<Functional Configuration Example of Receiving Device 12>
Next, a functional configuration example of the receiving device 12 in this embodiment will be described with reference to the drawings. FIG. 3 is a diagram illustrating a functional configuration example of the receiving apparatus. The receiving device 12 illustrated in FIG. 3 includes a control unit 50 and a communication unit 60. The control unit 50 includes a session control unit 51, a program acquisition unit 52, a content acquisition unit 53, and a display unit 54.

セッション制御手段51は、コンテンツ配信サーバ11にセッション要求を行い、セッションを確立する。また、セッション制御手段51は、コンテンツ配信サーバ11からのpingコマンドの実行に応じて応答したり、コンテンツ配信サーバ11からの要求メッセージに対してACKメッセージを返信する。また、セッション制御手段51は、ユーザからの指示等により確立したセッションの切断等を制御する。   The session control means 51 makes a session request to the content distribution server 11 to establish a session. The session control means 51 responds in response to the execution of the ping command from the content distribution server 11 or returns an ACK message to the request message from the content distribution server 11. The session control means 51 controls disconnection of a session established by an instruction from the user.

番組取得手段52は、表示手段54に表示する第1情報の一例として放送波により番組等を取得する第1情報取得手段である。なお、放送波は、提供側(例えば、放送局等)からプッシュ配信されてもよく、番組取得手段52から提供側に要求することで受信してもよい。   The program acquisition unit 52 is a first information acquisition unit that acquires a program or the like by broadcast waves as an example of the first information displayed on the display unit 54. The broadcast wave may be push-distributed from the providing side (for example, a broadcasting station or the like), or may be received by requesting the providing side from the program acquisition unit 52.

番組の一例としては、例えばスポーツやニュース、バラエティ、ドラマ等があるが、これに限定されるものではない。上述したような番組の放送波は、例えば放送局等にある他の装置から配信されてもよく、コンテンツ配信サーバ11より配信されてもよい。   Examples of programs include sports, news, variety, drama, etc., but are not limited to these. The broadcast wave of the program as described above may be distributed from another device in a broadcasting station, for example, or may be distributed from the content distribution server 11.

コンテンツ取得手段53は、表示手段54に表示する第2情報の一例として、第1情報を取得した伝送形態とは異なる伝送形態(例えば、通信ネットワーク13)を介してコンテンツ配信サーバ11より配信された放送波の番組に対応付けられたコンテンツを取得する第2情報取得手段である。なお、コンテンツは、提供側(例えば、コンテンツ配信サーバ11等)からプッシュ配信されてもよく、番組取得手段52から提供側に要求することで受信してもよい。   As an example of the second information displayed on the display unit 54, the content acquisition unit 53 is distributed from the content distribution server 11 via a transmission mode (for example, the communication network 13) different from the transmission mode from which the first information is acquired. It is the 2nd information acquisition means which acquires the content matched with the program of a broadcast wave. The content may be push-distributed from the providing side (for example, the content distribution server 11), or may be received by requesting the providing side from the program acquisition means 52.

コンテンツの一例としては、上述した番組に関連する各種情報(番組内容、表示されている人物やお店、洋服等の情報)であるが、これに限定されるものではない。   An example of the content is various information related to the above-described program (program content, information about a displayed person, shop, clothes, etc.), but is not limited thereto.

表示手段54は、番組取得手段52により取得した番組及びコンテンツ取得手段53により取得したコンテンツを表示する。表示手段54は、例えばディスプレイやモニタ、タッチパネル等であるが、これに限定されるものではない。   The display unit 54 displays the program acquired by the program acquisition unit 52 and the content acquired by the content acquisition unit 53. The display unit 54 is, for example, a display, a monitor, a touch panel, or the like, but is not limited thereto.

通信手段60は、コンテンツ配信サーバ11等とデータの送受信等を行う通信インターフェースである。例えば、通信手段60は、コンテンツ配信サーバ11にセッション確立要求や切断要求をしたり、放送波を受信したり、コンテンツを受信したりすることができる。   The communication means 60 is a communication interface that performs transmission / reception of data with the content distribution server 11 and the like. For example, the communication unit 60 can make a session establishment request or a disconnection request to the content distribution server 11, receive a broadcast wave, or receive content.

本実施形態では、表示される番組とコンテンツとが同期して表示することが可能なタイミングで配信され、同一のコンテンツ配信サーバ11に接続された各受信装置12間においても同期して配信されるため、受信装置12側で特別な調整処理を行うことなく、番組及びコンテンツを同期させた視聴が可能となる。   In the present embodiment, the program to be displayed and the content are distributed at a timing at which they can be displayed synchronously, and are also distributed synchronously between the receiving devices 12 connected to the same content distribution server 11. Therefore, it is possible to view the program and the content in synchronism without performing special adjustment processing on the receiving device 12 side.

本実施形態により、コンテンツ配信サーバ11に接続された受信装置12間の配信コンテンツの到達時間のばらつきを抑制させ、配信できない受信装置12を発生させないプッシュ配信を可能にする。   According to the present embodiment, it is possible to suppress the variation in the arrival time of the distribution content between the reception devices 12 connected to the content distribution server 11 and to perform push distribution that does not generate the reception device 12 that cannot be distributed.

<コンテンツ配信処理の概要例>
次に、本実施形態におけるコンテンツ配信処理の概要例について図を用いて説明する。図4、図5は、コンテンツ配信処理の概要を説明するための図(その1,その2)である。図4、図5は、従来手法(例えば、非特許文献1に示すような手法)において配信できない2つの例(例1,例2)と、それに対する本実施形態における配信例を示している。
<Example of content distribution processing overview>
Next, an outline example of content distribution processing in the present embodiment will be described with reference to the drawings. 4 and 5 are diagrams (No. 1 and No. 2) for explaining the outline of the content distribution processing. 4 and 5 show two examples (Example 1 and Example 2) that cannot be distributed by a conventional method (for example, the method shown in Non-Patent Document 1), and a distribution example according to this embodiment.

また、図4、図5に示す丸印(○)は、各受信装置12の識別情報(番号)に対応する1配信データ(1IPパケット)を表し、その大きさ(直径)は、コンテンツ配信サーバ11が各受信装置12に対してIPパケットを出す所要時間を示している。また、配信順序において、図4、図5の例において、同一配信周期における各受信装置12における同一IPパケットの配信時間差(空き間隔)を、それぞれd、d・・・dn+1等で表している。 4 and FIG. 5 represents one distribution data (one IP packet) corresponding to the identification information (number) of each receiving device 12, and the size (diameter) is the content distribution server. Reference numeral 11 denotes a time required to issue an IP packet to each receiving device 12. Also, in the delivery order, in the example of FIGS. 4 and 5, the delivery time difference (empty interval) of the same IP packet in each receiving device 12 in the same delivery cycle is represented by d 1 , d 2 ... Dn + 1 , respectively. ing.

丸印(○)が接している部分は、空き間隔がないことを示しd=0である。また、dは、配信周期の開始時刻から、最初の受信装置12(識別番号1)に配信を開始するまでの間隔(時間)であり、dn+1は、最後の受信装置12(識別番号n)に対する配信が終了してから、配信周期の終了時刻までの間隔(時間)である。 The part in contact with the circle (o) indicates that there is no empty space, and d = 0. D 1 is an interval (time) from the start time of the distribution cycle to the start of distribution to the first receiving device 12 (identification number 1), and d n + 1 is the last receiving device 12 (identification number n). ) Is the interval (time) from the end of distribution to the end time of the distribution cycle.

コンテンツは、例えば図4、図5に示すように、コンテンツ配信サーバ11とセッションが確立されている1〜n番目の受信装置12に対し、所定の配信周期でコンテンツの配信データ(IPパケット)を所定の配信順序で時分割配信している。この場合、各受信装置12における受信遅延量を計測し、その計測結果に基づいて、各受信装置12のデータ到着時間が目標時刻に合うように各IPパケットの配信時刻が調整される。このとき、配信周期によっては、計測された受信遅延量により図4に示すように配信周期よりも早く出さなければならないIPパケットが存在する場合がある。この場合には、1配信周期で全てを配信することができない(配信できない例1)。具体的には、図4に示すように、IPパケットを配信するタイミングが配信周期の開始時刻よりも前に時間sだけはみ出してしまう。 For example, as shown in FIG. 4 and FIG. 5, the content is distributed to the 1st to n-th receiving devices 12 having a session with the content distribution server 11 and the content distribution data (IP packet) is transmitted at a predetermined distribution cycle. Time-division distribution is performed in a predetermined distribution order. In this case, the reception delay amount in each receiving device 12 is measured, and based on the measurement result, the delivery time of each IP packet is adjusted so that the data arrival time of each receiving device 12 matches the target time. At this time, depending on the distribution cycle, there may be an IP packet that must be output earlier than the distribution cycle as shown in FIG. 4 due to the measured reception delay amount. In this case, all cannot be distributed in one distribution cycle (example 1 in which distribution is not possible). Specifically, as shown in FIG. 4, the timing for delivering the IP packet protrudes by the time s f before the delivery cycle start time.

また、配信周期によっては、計測された受信遅延量により図5に示すように配信周期に収まらずに後ろにずれるIPパケットが存在する場合があり、この場合には、1配信周期で全てを配信することができない(配信できない例2)。具体的には、図5に示すように、IPパケットを配信するタイミングが配信周期の終了時刻よりも後に時間sだけはみ出してしまう。 Depending on the delivery cycle, there may be an IP packet that does not fall within the delivery cycle as shown in FIG. 5 due to the measured reception delay amount. In this case, all packets are delivered in one delivery cycle. Cannot be performed (example 2 in which distribution is not possible). Specifically, as shown in FIG. 5, the timing for distributing the IP packet protrudes by the time s b after the end time of the distribution cycle.

そこで、本実施形態では、例えば図4に示すように、全体的な配信タイミングをsだけ後ろにスライドさせることで、1配信周期で全てのIPパケットを配信可能とする。また、図5に示すように、全体的な配信タイミングにsだけ前にスライドさせることで、1配信周期で全てのIPパケットを配信可能とする。なお、上述したスライドにより、他のIPパケットがはみ出ることがないように、本実施形態では、配信時間差(空き間隔)dを利用して再調整を行う。 Therefore, in this embodiment, for example, as shown in FIG. 4, it is slid behind the overall delivery timing by s f, to be delivered to all IP packets 1 delivery period. Also, as shown in FIG. 5, all IP packets can be delivered in one delivery cycle by sliding forward by s b at the overall delivery timing. In the present embodiment, readjustment is performed using the delivery time difference (empty interval) d so that no other IP packet protrudes due to the slide described above.

例えば、配信時刻設定手段24は、上述した空き間隔の総和を(1)式により求め、その総和とsやs等とを比較し、「d+d+・・・+dn+1>s」、「d+d+・・・+dn+1>s」等である場合に配信時刻を再調整し、配信時刻を設定する。そして、コンテンツ送信手段25は、再調整により更新された配信時刻でIPパケットを配信することで、配信周期内で全ての受信装置12への配信が可能となる。 For example, the distribution time setting unit 24 obtains the total sum of the above-mentioned empty intervals by the expression (1), compares the total sum with s f , s b, etc., and “d 1 + d 2 +... + D n + 1 > s Iff ”, “d 1 + d 2 +... + dn + 1 > s b ”, etc., the delivery time is readjusted and the delivery time is set. And the content transmission means 25 becomes possible to deliver to all the receiving apparatuses 12 within a delivery period by delivering an IP packet at the delivery time updated by readjustment.

Figure 0006401546
なお、空き間隔の総和の計算において、配信周期からはみ出している部分(図4の例ではd,d、図5の例では、dn−1,d,dn+1)については、総和の計算に含めなくてもよい。つまり、一例としては、配信周期内における空き間隔の総和(配信周期内においてIPパケットを配信していない時間)を計算する。また、本実施形態においては、上述したs及びsの両方を含む場合もある。
Figure 0006401546
Incidentally, in the calculation of the sum of the free period, a portion which protrudes from the distribution period (d 1 in the example of FIG. 4, d 2, in the example of FIG. 5, d n-1, d n, d n + 1) for the sum It does not have to be included in the calculation. That is, as an example, the sum of empty intervals within the distribution cycle (time during which no IP packet is distributed within the distribution cycle) is calculated. In the present embodiment, or it may include both of s f and s b described above.

次に、配信時刻の再調整による更新例について説明する。なお、以下の説明では、任意の配信目標時刻をtdef、1配信周期で配信する受信装置の配信順序を1〜n(例えば、RTT値に基づき降順に設定した順序)とし、それぞれの配信時刻をt〜t、各受信装置12に対してIPパケットを出す所要時間をL、配信周期をt、上述したs及びsに該当する受信装置数をそれぞれm、mとする。また、s及びsに該当する受信装置に対するパケット配信時の空き間隔がない場合(d=0)、s、sはそれぞれ「s=m×L」、「s=m×L」等で表される。 Next, an update example by readjustment of the delivery time will be described. In the following description, an arbitrary distribution target time is t def , and a distribution order of receiving apparatuses that distribute in one distribution cycle is 1 to n (for example, an order set in descending order based on an RTT value), and each distribution time T 1 to t n , L is the time required to issue an IP packet to each receiving device 12, t c is the delivery period, and m f and m b are the numbers of receiving devices corresponding to s f and s b described above, respectively. To do. Further, when there is no empty interval at the time of packet delivery to the receiving device corresponding to s f and s b (d = 0), s f and s b are “s f = m f × L” and “s b = m, respectively. b × L ”or the like.

<配信時刻の更新例1>
更新例1では、全体的に配信時刻をスライドさせる。例えば、上述した(1)式と、s、sとの関係が、「(1)式≧s+s」の場合には、例えば以下に示す(2)式により、更新後のt'を算出する。
<Delivery time update example 1>
In update example 1, the distribution time is slid as a whole. For example, when the relationship between the above-described expression (1) and s f and s b is “(1) expression ≧ s f + s b ”, the updated t 'Calculate n .

Figure 0006401546
Figure 0006401546

なお、上述した(2)式においてs>0の場合には、t=tdef、s>0の場合には、t=t−Lとする。つまり、「(1)式≧s+s」の場合には、例えば以下に示す(3)式で得られる値だけdを小さくし、全体的に配信時刻を短縮させることとなる。 In the above-described formula (2), when s f > 0, t 1 = t def , and when s b > 0, t n = t c −L. That is, in the case of “(1) expression ≧ s f + s b ”, for example, dn is reduced by a value obtained by the following expression (3), and the delivery time is shortened as a whole.

Figure 0006401546
また、「(1)式<s+s」となる場合には、配信周期に全ての配信データを配信しきれない状態となる。そのため、上述の条件を満たす場合には、例えば配信周期に収まらない配信データの一部又は全部を破棄する。例えば、t=tdefとし、その他の配信時刻は配信順序1番目から昇順にtに収まる配信データ分だけt=tn−1+Lで更新する。また、別の例としては、例えばt=tdef+t−Lとし、その他の配信時刻は配信順序n番目から降順にtに収まる配信データ分だけt=tn−1+Lに更新する。つまり、何れの場合にも配信周期に収まらない前方又は後方の配信データの一部又は全部を破棄する。
Figure 0006401546
Further, when “(1) expression <s f + s b ” is satisfied, it becomes a state in which all distribution data cannot be distributed in the distribution cycle. Therefore, when the above-described conditions are satisfied, for example, part or all of the distribution data that does not fit in the distribution cycle is discarded. For example, t 1 = t def and other distribution times are updated with t n = t n−1 + L for the distribution data that falls within t c in ascending order from the first distribution order. As another example, for example, t n = t def + t c −L, and other distribution times are updated to t n = t n−1 + L by the amount of distribution data that falls within t c in the descending order from the distribution order n. To do. That is, in any case, a part or all of the front or rear distribution data that does not fit in the distribution cycle is discarded.

<配信時刻の更新例2>
次に、配信時刻の更新例2について説明する。更新例2では、部分的に配信時刻をスライドさせる。例えば「(1)式≧s」の場合には、「s≧d+d+・・・d」となるfを算出し(そのときの時刻をtとする)、t=tdefとし、t〜tの配信時刻をt=tn−1+Lで更新する。また、「(1)式≧s」の場合には、「s≧d+dn−1+・・・d」となるbを算出し(そのときの時刻をtとする)、t=tdef+t−Lとし、その時刻t〜tn−1の配信時刻をt=tn−1+Lで更新する。
<Delivery time update example 2>
Next, update time 2 of the delivery time will be described. In update example 2, the distribution time is partially slid. For example, in the case of “(1) expression ≧ s f ”, f satisfying “s f ≧ d 1 + d 2 +... D f ” is calculated (the time at that time is defined as t f ), and t 1 = T def and the distribution times of t 2 to t f are updated with t n = t n−1 + L. In addition, in the case of “(1) expression ≧ s b ”, b that satisfies “s b ≧ d n + d n−1 +... D b ” is calculated (the time at that time is set to t b ). , and t n = t def + t c -L, updates the delivery time of the time t b ~t n-1 at t n = t n-1 + L.

なお、「(1)式≧sfb」及び「(1)式≧s」の場合には、t=tdefとし、t〜tに更新後、再度(1)式を求め、「(1)式≧s」の場合には、t=tdef+t−Lとし、「s≧d+dn−1+・・・d」となるbを算出し(そのときの時刻をtとする)、t〜tn−1の配信時刻をt=tn−1+Lで更新する。 In the case of “(1) expression ≧ s fb ” and “(1) expression ≧ s b ”, t 1 = t def, and after updating from t 2 to t f , the expression (1) is obtained again, in the case of "(1) ≧ s b" is set to t n = t def + t c -L, calculates b becomes "s b ≧ d n + d n -1 + ··· d b " (the time is referred to as t b of the time), the delivery time of t b ~t n-1 is updated with t n = t n-1 + L.

また、更新例2では、t〜tn−1に更新後、t〜tの順で更新してもよい。また、「(1)式<s+s」となる場合には、配信周期に全ての配信データを配信しきれない状態となる。そのため、上述の条件を満たす場合には、配信周期に収まらない配信データの一部又は全部を破棄する。例えば、t=tdefとし、その他の配信時刻は配信順序1番目から昇順にtに収まる配信データ分だけt=tn−1+Lに更新する。また、別の例としては、例えばt=tdef+t−Lとし、その他の配信時刻は配信順序n番目から降順にtに収まる配信データ分だけt=tn−1+Lに更新する。つまり、何れの場合にも、配信周期に収まらない前方又は後方の配信データの一部又は全部を破棄する。 Also, the update example 2, after updating the t b ~t n-1, may be updated in the order of t 2 ~t f. Further, when “(1) expression <s f + s b ” is satisfied, it becomes a state in which all distribution data cannot be distributed in the distribution cycle. Therefore, when the above conditions are satisfied, a part or all of the distribution data that does not fit in the distribution cycle is discarded. For example, t 1 = t def and other distribution times are updated to t n = t n−1 + L for the distribution data that falls within t c in ascending order from the first distribution order. As another example, for example, t n = t def + t c −L, and other distribution times are updated to t n = t n−1 + L by the amount of distribution data that falls within t c in the descending order from the distribution order n. To do. That is, in any case, a part or all of the front or rear distribution data that does not fit in the distribution cycle is discarded.

なお、上述した任意の配信目標時刻tdefは、各IPパケットが受信装置に到達されるべき時刻(例えば、番組が始まる時刻)であるため、厳密には、その時刻は配信周期毎に変化する。例えば、1周期目(1パケット目)に対する配信目標時刻がtdefであれば、2週期目(2パケット目)に対する配信目標時刻はtdef+tである(tは配信周期)。また、3周期目に対する配信目標時刻はtdef+t×2となり、それ以降も同様に変化する。したがって、本実施形態の説明で用いられる配信目標時刻tdefは、上述したように配信周期の回数に対応して値が変化しているものとする。 In addition, since the arbitrary delivery target time t def described above is a time at which each IP packet should reach the receiving device (for example, a time at which a program starts), strictly speaking, the time changes for each delivery cycle. . For example, if the delivery target time for the first cycle (first packet) is t def , the delivery target time for the second week (second packet) is t def + t c (t c is the delivery cycle). In addition, the distribution target time for the third period is t def + t c × 2, and changes similarly thereafter. Therefore, it is assumed that the distribution target time t def used in the description of the present embodiment changes in accordance with the number of distribution cycles as described above.

図6は、更新されたコンテンツ配信例を示す図である。まず、従来の配信例では、コンテンツ配信サーバ11において予め設定された時分割で各受信装置12に対応する複数のパケットを配信するため、図6(A)に示すように配信周期の前後で配信できないデータが発生してしまうことがあった(周期前は、受信装置1、2に対する配信データ、周期後は受信装置n−1、nに対する配信データ)。そこで、上述した各更新例1,2により配信時刻を調整する制御機能を設ける。   FIG. 6 is a diagram illustrating an example of updated content distribution. First, in the conventional distribution example, since a plurality of packets corresponding to each receiving device 12 are distributed in a time division set in advance in the content distribution server 11, distribution is performed before and after the distribution cycle as shown in FIG. In some cases, data that cannot be generated occurs (distributed data for the receiving devices 1 and 2 before the cycle, and distributed data for the receiving devices n-1 and n after the cycle). Therefore, a control function for adjusting the distribution time is provided by each of the update examples 1 and 2 described above.

上述した更新例1では、図6(B)に示すように、全ての受信装置12(1〜n)に対する配信データの配信時刻を調整する。これにより、個々の配信データ(IPパケット)は若干ずれるが、その大きさは微小であるため、違和感なく端末間で同期させることができる。   In the update example 1 described above, as shown in FIG. 6B, the distribution time of distribution data for all the receiving apparatuses 12 (1 to n) is adjusted. As a result, the individual distribution data (IP packet) is slightly shifted, but the size thereof is very small, so that it can be synchronized between terminals without a sense of incongruity.

また、上述した更新例2では、図6(C)に示すように一部分の配信データの配信時刻を調整する。図6(C)の例では、受信装置1,2,n−1,nに対する配信時刻を調整する。これにより、配信時刻を調整しなくて済む配信データは調整する必要がないため再調整処理時間を短縮でき、更に配信周期の開始と終了に近い受信装置以外は、適切に同期を取ることができる。   In the update example 2 described above, the delivery time of a part of the delivery data is adjusted as shown in FIG. In the example of FIG. 6C, the delivery time for the receiving devices 1, 2, n-1, and n is adjusted. As a result, it is not necessary to adjust the distribution data that does not require adjustment of the distribution time, so that the readjustment processing time can be shortened, and it is possible to properly synchronize other than the receiving device close to the start and end of the distribution cycle. .

<データ例>
ここで、本実施形態におけるデータ例(例えば、セッション管理情報、配信時刻情報)について図を用いて説明する。図7は、本実施形態におけるデータ例を示す図である。図7(A)は、セッション管理情報41の一例を示している。図7(B)〜(D)は、配信時刻情報42の一例を示しており、図7(C)、(D)は、上述した各更新例に基づいて、図7(B)に示す配信時間を再調整して更新したものである。
<Data example>
Here, data examples (for example, session management information and distribution time information) in the present embodiment will be described with reference to the drawings. FIG. 7 is a diagram illustrating an example of data in the present embodiment. FIG. 7A shows an example of the session management information 41. FIGS. 7B to 7D show an example of the delivery time information 42. FIGS. 7C and 7D show the delivery shown in FIG. 7B based on each update example described above. The time is re-adjusted and updated.

図7(A)に示すセッション管理情報41の項目としては、例えば「セッションID」、「セッション情報」、そのセッションに対応した「受信遅延量(ms)」等があるが、これに限定されるものではない。   The items of the session management information 41 shown in FIG. 7A include, for example, “session ID”, “session information”, “reception delay amount (ms)” corresponding to the session, etc., but are not limited thereto. It is not a thing.

セッションIDは、アクセス中の受信装置12を識別するための情報である。セッション情報は、セッションIDが付与された受信装置の行動や操作内容、アクセス条件の管理(セッション管理)の情報である。受信遅延量は、遅延量計測手段22により計測される遅延量が格納される。   The session ID is information for identifying the receiving device 12 being accessed. The session information is information on the behavior and operation of the receiving device to which the session ID is assigned, and management of access conditions (session management). The reception delay amount stores the delay amount measured by the delay amount measuring means 22.

図7(B)〜(D)に示す配信時刻情報42の項目としては、例えば「配信順序」、「セッションID」、「セッション情報」、「配信時刻」等があるが、これに限定されるものではない。セッションID、セッション情報は、セッション管理情報41に記憶されている情報が記憶される。配信順序は、セッション管理情報41に基づいて設定されるコンテンツの配信順序であり、例えば受信遅延量の大きい順に設定されるが、これに限定されるものではない。また、配信時刻は、配信周期の開始時刻を0.0msとしたときの配信時刻である。   Examples of the items of the distribution time information 42 shown in FIGS. 7B to 7D include “distribution order”, “session ID”, “session information”, “distribution time”, and the like, but are not limited thereto. It is not a thing. As the session ID and session information, information stored in the session management information 41 is stored. The distribution order is a content distribution order set based on the session management information 41. For example, the distribution order is set in descending order of reception delay amount, but is not limited thereto. The distribution time is a distribution time when the start time of the distribution cycle is 0.0 ms.

以下に、図7のデータ例を用いて上述した更新例1,2の具体例を説明する。なお、図7(B)〜(D)では、一例として、コンテンツ配信サーバ11が各受信装置12に対してIPパケットを出す所要時間L=1ms、配信周期t=33msとする。また、一例として、配信周期内における空き間隔の総和((1)式に相当)=20msとし、s+s=2msとする。 Below, the specific example of the update examples 1 and 2 mentioned above is demonstrated using the data example of FIG. 7B to 7D, as an example, the time required for the content distribution server 11 to issue an IP packet to each receiving device 12 is L = 1 ms, and the distribution cycle t c is 33 ms. Also, as an example, the total sum of empty intervals in the distribution cycle (corresponding to equation (1)) = 20 ms, and s f + s b = 2 ms.

また、配信順序は、上述したセッション管理情報41の受信遅延量に基づいて、「ID5」→「ID2」→「ID3」→「ID1」→「ID4」→「ID0」の順にIPパケットを配信するものとする。   In addition, based on the reception delay amount of the session management information 41 described above, the IP packet is distributed in the order of “ID5” → “ID2” → “ID3” → “ID1” → “ID4” → “ID0”. Shall.

図7(B)は、従来手法による配信時刻の設定例を示しており、参考までに、各受信装置12に対するIPパケットの送信間隔(空き間隔d(ms))も示している。まず、図7(A)より、各セッションに対する理想的な配信時刻を算出する。具体的には、例えば配信目標時刻tdef=50msに対して、それぞれのセッションにおける受信遅延量の差分を算出すればよい。そのため、例えばセッション0は、t=tdef−6=44msとなる。その他のセッションについても、同様に配信時刻を求めることができる。 FIG. 7B shows an example of setting the delivery time according to the conventional method. For reference, the transmission interval (empty interval d (ms)) of the IP packet with respect to each receiving device 12 is also shown. First, from FIG. 7A, an ideal delivery time for each session is calculated. Specifically, for example, a difference in reception delay amount in each session may be calculated with respect to the distribution target time t def = 50 ms. Therefore, for example, in session 0, t 0 = t def −6 = 44 ms. The delivery time can be similarly determined for other sessions.

ここで、配信周期の開始時刻(例えば、9時00分00秒)に対する配信目標時刻tdef=50ms後だとすると、図7(A)の受信遅延量により、セッションID5は上述したs対象となり配信周期内で配信することができない(図7(B))。また、配信周期t=33msであるため、図7(A)の受信遅延量により、セッションID0は、上述したs対象となり配信周期内で配信することができない(図7(B))。その結果、配信は、セッションID1〜4のみ配信が可能となる。セッションID1〜4を降順にすると、セッションID2、ID3、ID1、ID4の順となる。配信順序が1番目のセッションID2は、受信遅延量が48.0msであるため、空き間隔dはtdef−48.0ms=2msと求めることができる。 Here, assuming that the distribution target time t def = 50 ms after the start time (for example, 9:00:00) of the distribution cycle, the session ID 5 is distributed as the above-mentioned s f due to the reception delay amount in FIG. 7A. Distribution is not possible within the period (FIG. 7B). Further, since the distribution cycle t c = 33 ms, the session ID 0 becomes the s b target described above and cannot be distributed within the distribution cycle due to the reception delay amount in FIG. 7A (FIG. 7B). As a result, only the session IDs 1 to 4 can be distributed. When the session IDs 1 to 4 are in descending order, the session IDs are ID2, ID3, ID1, and ID4. Since the session ID 2 with the first distribution order has a reception delay amount of 48.0 ms, the empty interval d 1 can be obtained as t def −48.0 ms = 2 ms.

次に、配信順序2番目のセッションID3は、受信遅延量が44.0msであり、セッションID2の配信終了時刻がt+L=3msとなるため、空き間隔dはt−3ms=3msと求めることができる。その他のdについても同様に求めることができる。 Next, the second session ID 3 in the distribution order has a reception delay amount of 44.0 ms and the distribution end time of the session ID 2 is t 1 + L = 3 ms, so the empty interval d 2 is t 2 -3 ms = 3 ms. Can be sought. The other d can be similarly obtained.

図7(C)の例は、上述した更新例1により更新された配信時刻情報42を示している。図7(B)の例では、セッションID5、セッションID0が配信できなくなってしまうため、sに該当する受信装置数m=1、sに該当する受信装置数m=1となり、s+s=2msとなる。 The example of FIG. 7C shows the distribution time information 42 updated by the update example 1 described above. In the example of FIG. 7B, since session ID 5 and session ID 0 cannot be distributed, the number of receiving devices corresponding to s f m f = 1, the number of receiving devices corresponding to s b m b = 1, and s f + s b = 2 ms.

そこで、更新例1では、上述した(2)式を適用してセッションID0〜ID5の全ての配信時刻の再調整を行い、図7(C)に示す配信時刻に更新される。これにより、配信周期内で、全ての受信装置12にIPパケットの配信が可能となる。   Therefore, in the update example 1, all the distribution times of the session IDs 0 to ID5 are readjusted by applying the above-described formula (2), and updated to the distribution times shown in FIG. As a result, the IP packet can be distributed to all the receiving devices 12 within the distribution cycle.

図7(D)の例は、上述した更新例2により更新された配信時刻情報42を示している。上述したように、図7(B)の例では、セッションID5、セッションID0が配信不可となっているため、m=1、m=1となり、s+s=2msとなる。 The example of FIG. 7D shows the distribution time information 42 updated by the update example 2 described above. As described above, in the example of FIG. 7B, since session ID 5 and session ID 0 cannot be distributed, m f = 1, m b = 1, and s f + s b = 2 ms.

そこで、上述した更新例2を適用してセッションID5、セッションID0のみの配信時刻の再調整を行い、図7(D)に示す配信時刻に更新される。これにより、配信周期内で、全ての受信装置12にIPパケットの配信が可能となる。なお、上述した更新例1及び更新例2のどちらを用いるかについては、例えば予めユーザが設定してもよく、配信されるコンテンツの内容、受信装置12間における優先度に応じて設定してもよい。   Therefore, the update time of only the session ID 5 and the session ID 0 is adjusted by applying the update example 2 described above, and updated to the distribution time shown in FIG. As a result, the IP packet can be distributed to all the receiving devices 12 within the distribution cycle. Note that whether to use update example 1 or update example 2 described above may be set in advance by the user, for example, depending on the content to be distributed and the priority between the receiving devices 12. Good.

<実行プログラム>
ここで、上述したコンテンツ配信サーバ11及び受信装置12は、例えばCPU(Central Processing Unit)、RAM(Random Access Memory)等の揮発性の記憶装置、ROM(Read Only Memory)等の不揮発性の記憶装置、マウスやキーボード、ポインティングデバイス等の入力装置、画像やデータ等を表示する表示装置、並びに外部と通信するためのインターフェース装置を備えたコンピュータによって構成することができる。
<Execution program>
Here, the content distribution server 11 and the receiving device 12 described above include, for example, a volatile storage device such as a CPU (Central Processing Unit) and a RAM (Random Access Memory), and a nonvolatile storage device such as a ROM (Read Only Memory). Further, it can be configured by a computer including an input device such as a mouse, a keyboard, and a pointing device, a display device for displaying images and data, and an interface device for communicating with the outside.

したがって、コンテンツ配信サーバ11及び受信装置12が有する上述した各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現可能となる。また、これらのプログラムは、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記録媒体に格納して頒布することもできる。   Therefore, the above-described functions of the content distribution server 11 and the receiving device 12 can be realized by causing the CPU to execute a program describing these functions. These programs can also be stored and distributed in a recording medium such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), or a semiconductor memory.

つまり、上述した各構成における処理をコンピュータに実行させるための実行プログラム(コンテンツ配信プログラム)を生成し、例えば汎用のPCやサーバ等にそのプログラムをインストールすることにより、コンテンツ配信処理を実現することができる。   That is, the content distribution process can be realized by generating an execution program (content distribution program) for causing the computer to execute the processes in the above-described configurations and installing the program in, for example, a general-purpose PC or server. it can.

<コンテンツ配信処理(第1実施例:更新例1)>
図8は、コンテンツ配信処理の第1実施例を示すフローチャートである。第1実施例では、上述した更新例1に対応する処理を示している。図8の例において、コンテンツ配信サーバ11は、1又は複数の受信装置12からの接続要求を受信し(S01)、受信装置12とセッションを確立する(S02)。
<Content distribution processing (first embodiment: update example 1)>
FIG. 8 is a flowchart showing a first embodiment of content distribution processing. In the first embodiment, processing corresponding to the update example 1 described above is shown. In the example of FIG. 8, the content distribution server 11 receives a connection request from one or a plurality of receiving devices 12 (S01), and establishes a session with the receiving device 12 (S02).

次に、コンテンツ配信サーバ11は、確立したセッション毎にセッションIDを付与し、記憶手段40のセッション管理情報に記憶する(S03)。次に、コンテンツ配信サーバ11は、受信装置12へ遅延量確認要求を送信し(S04)、その受信結果からRTTを計測し、計測結果から受信装置12との受信遅延量を取得して、セッション管理情報41に記憶する(S05)。   Next, the content distribution server 11 assigns a session ID to each established session and stores it in the session management information of the storage unit 40 (S03). Next, the content distribution server 11 transmits a delay amount confirmation request to the reception device 12 (S04), measures the RTT from the reception result, obtains the reception delay amount with the reception device 12 from the measurement result, and obtains the session. Stored in the management information 41 (S05).

次に、コンテンツ配信サーバ11は、セッション管理情報41を参照し、受信遅延量に基づく配信順序と、配信順序に基づく配信時刻とを算出し、配信時刻情報42に記憶する(S06)。ここで、コンテンツ配信サーバ11は、配信周期の開始時刻よりも前にはみ出した時間sと、配信周期の終了時刻よりも後にはみ出した時間sとの関係から、「s+s>0」となるか否かを判断し(S07)、「s+s>0」となる場合(S07において、YES)、上述した(1)式に示すような配信周期内における空き間隔の総和(ここでは「Σd」と表記する)との関係から、「Σd≧s+s」の条件を満たすか否かを判断する(S08)。 Next, the content distribution server 11 refers to the session management information 41, calculates the distribution order based on the reception delay amount, and the distribution time based on the distribution order, and stores them in the distribution time information 42 (S06). Here, the content distribution server 11 determines that “s f + s b > 0 from the relationship between the time s f that protrudes before the start time of the distribution cycle and the time s b that protrudes after the end time of the distribution cycle. Is determined (S07), and if “s f + s b > 0” (YES in S07), the sum of the empty intervals within the distribution cycle as shown in the above equation (1) ( In this case, it is determined whether or not the condition “Σd ≧ s f + s b ” is satisfied (S08).

コンテンツ配信サーバ11は、「Σd≧s+s」の条件を満たさない場合(S08において、NO)、配信時刻情報42のtを、最初に配信する時刻t=tdefとし、その他の配信時刻は配信順序1番目から昇順にtに収まる配信データ分だけt=tn−1+Lに更新する。または、t=tdef+t−Lとし、その他の配信時刻は配信順序n番目から降順にtに収まる配信データ分だけt=tn−1+Lに更新する(S09)。S09の処理では、配信周期に収まらない前方又は後方の配信データに対して収まる配信データ分だけ更新が行われる。なお、上述した「t=tdef」とは、tがtdefに基づいて設定されることを意味する。したがって、例えば、図7(C)等に示すように、最初のセッションIDに対応する受信装置12の配信時刻tは、配信開始時刻を基準にtdefに基づいて設定される。 When the condition of “Σd ≧ s f + s b ” is not satisfied (NO in S08), the content distribution server 11 sets t n of the distribution time information 42 as the first distribution time t 1 = t def , The delivery time is updated to t n = t n-1 + L for the delivery data that falls within t c in ascending order from the first delivery order. Alternatively, t n = t def + t c −L, and other distribution times are updated to t n = t n−1 + L by the amount of distribution data that falls within t c in descending order from the distribution order n (S09). In the process of S09, the update is performed only for the distribution data that fits the front or rear distribution data that does not fit in the distribution cycle. Note that “t 1 = t def ” described above means that t 1 is set based on t def . Therefore, for example, as shown in FIG. 7C and the like, the delivery time t 1 of the receiving device 12 corresponding to the first session ID is set based on t def with reference to the delivery start time.

また、コンテンツ配信サーバ11は、「Σd≧s+s」の条件を満たす場合(S08において、YES)、「s>0」の条件を満たすか否かを判断する(S10)。コンテンツ配信サーバ11は、「s>0」の条件を満たす場合(S10において、YES)、最初に配信する時刻tをt=tdefとし(S11)、その他の受信装置12に対する配信時刻tを上述した(2)式を用いて更新する(S12)。また、コンテンツ配信サーバ11は、「s>0」の条件を満たさない場合(S10において、NO)、全てt=tdef+t−Lに更新する(S13)。 In addition, when the condition of “Σd ≧ s f + s b ” is satisfied (YES in S08), the content distribution server 11 determines whether the condition of “s f > 0” is satisfied (S10). When the condition of “s f > 0” is satisfied (YES in S10), the content distribution server 11 sets the first distribution time t 1 to t 1 = t def (S11), and the distribution time to other receiving devices 12 t n is updated using the above-described equation (2) (S12). Further, when the condition of “s f > 0” is not satisfied (NO in S10), the content distribution server 11 updates all to t n = t def + t c −L (S13).

コンテンツ配信サーバ11は、S07の処理において、「s+s>0」の条件を満たさない場合(S07において、NO)、S09、S12、又はS13の処理後、配信時刻情報42を参照し、設定された配信順序及び配信時刻でコンテンツ(その配信周期に対応するIPパケット)を配信する(S14)。 If the condition of “s f + s b > 0” is not satisfied in the process of S07 (NO in S07), the content distribution server 11 refers to the distribution time information 42 after the process of S09, S12, or S13, Content (IP packet corresponding to the distribution cycle) is distributed in the set distribution order and distribution time (S14).

次に、コンテンツ配信サーバ11は、配信を終了するか否かを判断し(S15)、配信を終了しない場合(S15において、NO)、S04の処理に戻る。なお、S04の処理は、接続開始直後は必ず実施し、その後のループ処理では必ずしも毎回行わなくてもよく、例えば任意のタイミングで実施したり、定期的に実施してもよい。   Next, the content distribution server 11 determines whether or not to end the distribution (S15). When the distribution is not ended (NO in S15), the process returns to S04. Note that the process of S04 is always performed immediately after the start of connection, and does not necessarily have to be performed every time in the subsequent loop process. For example, it may be performed at an arbitrary timing or periodically.

また、コンテンツ配信サーバ11は、配信を終了する場合(S15において、YES)、例えば受信装置12からの切断要求を受信して配信を終了する(S16)。また、コンテンツ配信サーバ11は、切断要求を受信したセッションのセッション管理情報41及び配信時刻情報42の当該レコードを削除し(S17)、処理を終了する。   Further, when the content distribution server 11 ends the distribution (YES in S15), for example, the content distribution server 11 receives a disconnection request from the receiving device 12 and ends the distribution (S16). Further, the content distribution server 11 deletes the record of the session management information 41 and the distribution time information 42 of the session that has received the disconnection request (S17), and ends the process.

なお、上述したS15〜S17の処理においては、例えば、複数の受信装置12でセッションが確立している状態で、そのうちの1つの受信装置12からの切断要求があった場合、全ての受信装置12に対する配信が終了していないため、S04の処理に戻るが、その場合に、S17の処理に示すように、切断要求を受信したセッションのセッション管理情報41及び配信時刻情報42における当該レコードは削除される。   In the above-described processing of S15 to S17, for example, when a session is established with a plurality of receiving devices 12, and there is a disconnection request from one of the receiving devices 12, all the receiving devices 12 are set. However, in this case, as shown in the process of S17, the record in the session management information 41 and the distribution time information 42 of the session that has received the disconnection request is deleted. The

<コンテンツ配信処理(第2実施例:更新例2)>
図9は、コンテンツ配信処理の第2実施例を示すフローチャートである。第2実施例では、上述した更新例2に対応する処理を示している。図9の例において、コンテンツ配信サーバ11は、1又は複数の受信装置12からの接続要求を受信し(S21)、受信装置12とセッションを確立する(S22)。次に、コンテンツ配信サーバ11は、確立したセッション毎にセッションIDを付与し、記憶手段40のセッション管理情報41に記憶する(S23)。
<Content distribution processing (second embodiment: update example 2)>
FIG. 9 is a flowchart showing a second embodiment of the content distribution process. In the second embodiment, processing corresponding to the update example 2 described above is shown. In the example of FIG. 9, the content distribution server 11 receives a connection request from one or a plurality of receiving devices 12 (S21), and establishes a session with the receiving device 12 (S22). Next, the content distribution server 11 assigns a session ID to each established session and stores it in the session management information 41 of the storage means 40 (S23).

次に、コンテンツ配信サーバ11は、受信装置12へ遅延量確認要求を送信し(S24)、その受信結果からRTTを計測し、計測結果から受信装置12との受信遅延量を取得して、セッション管理情報41に記憶する(S25)。   Next, the content distribution server 11 transmits a delay amount confirmation request to the reception device 12 (S24), measures the RTT from the reception result, obtains the reception delay amount with the reception device 12 from the measurement result, and obtains the session. Stored in the management information 41 (S25).

次に、コンテンツ配信サーバ11は、セッション管理情報41を参照し、受信遅延量に基づく配信順序と、配信順序に基づく配信時刻とを算出して配信時刻情報42に記憶する(S26)。ここで、コンテンツ配信サーバ11は、「s>0」の条件を満たすか否かを判断し(S27)、「s>0」の条件を満たす場合(S27において、YES)、次に上述した(1)式に示すような配信周期内における空き間隔の総和(ここでは「Σd」と表記する)との関係から、「Σd≧s」の条件を満たすか否かを判断する(S28)。 Next, the content distribution server 11 refers to the session management information 41, calculates the distribution order based on the reception delay amount and the distribution time based on the distribution order, and stores them in the distribution time information 42 (S26). Here, the content distribution server 11 determines whether or not the condition of “s f > 0” is satisfied (S27). If the condition of “s f > 0” is satisfied (YES in S27), then the above-mentioned Whether or not the condition of “Σd ≧ s f ” is satisfied is determined from the relationship with the sum of the empty intervals in the distribution cycle as shown in the expression (1) (here, expressed as “Σd”) (S28). ).

コンテンツ配信サーバ11は、「Σd≧s」の条件を満たさない場合(S28において、NO)、配信時刻情報42のtを、最初に配信する時刻t=tdefとし、その他の配信時刻は配信順序1番目から昇順にtに収まる配信データ分だけt=tn−1+Lに更新する(S29)。つまり、配信しきれない後ろのパケットは切り捨てることになる。また、コンテンツ配信サーバ11は、「Σd≧s」の条件を満たす場合(S28において、YES)、配信時刻情報42のtを、t=tdefとし、t〜tをt=tn−1+Lで更新する(S30)。 When the content distribution server 11 does not satisfy the condition of “Σd ≧ s f ” (NO in S28), t n of the distribution time information 42 is set to the first distribution time t 1 = t def and other distribution times Is updated to t n = t n-1 + L by the amount of distribution data that falls within t c in ascending order from the first distribution order (S29). In other words, the subsequent packets that cannot be delivered are discarded. When the condition of “Σd ≧ s f ” is satisfied (YES in S28), the content distribution server 11 sets t n of the distribution time information 42 to t 1 = t def and sets t 2 to t f to t n. = T n-1 + L is updated (S30).

ここで、S27の処理において、「s>0」の条件を満たさない場合(S27において、NO)、S29又はS30の処理後、コンテンツ配信サーバ11は、「s>0」の条件を満たすか否かを判断する(S31)。「s>0」の条件を満たす場合(S31において、YES)、次に「Σd≧s」の条件を満たすか否かを判断する(S32)。「Σd≧s」の条件を満たさない場合(S32において、NO)、配信時刻情報42のtを、最後に配信する時刻t=tdef+t−Lとし、その他の配信時刻は配信順序n番目から降順にtに収まる配信データ分だけt=tn−1+Lに更新する(S33)。つまり、配信しきれない前のパケットは切り捨てることになる。また、コンテンツ配信サーバ11は、「Σd≧s」の条件を満たす場合(S32において、YES)、配信時刻情報42のt〜tn−1をt=tn−1+Lで更新する(S34)。 Here, in the process of S27, when the condition of “s f > 0” is not satisfied (NO in S27), the content distribution server 11 satisfies the condition of “s b > 0” after the process of S29 or S30. Whether or not (S31). When the condition of “s b > 0” is satisfied (YES in S31), it is next determined whether or not the condition of “Σd ≧ s b ” is satisfied (S32). When the condition of “Σd ≧ s b ” is not satisfied (NO in S32), t n of the distribution time information 42 is set to the last distribution time t n = t def + t c −L, and other distribution times are distribution. only distribution data content fits into t c of order n-th in descending order is updated to t n = t n-1 + L (S33). That is, the previous packet that cannot be delivered is discarded. Further, when the condition of “Σd ≧ s b ” is satisfied (YES in S32), the content distribution server 11 updates t b to t n −1 of the distribution time information 42 with t n = t n−1 + L. (S34).

次に、コンテンツ配信サーバ11は、配信時刻情報42を参照し、設定された配信順序及び配信時刻でコンテンツ(その配信周期に対応するIPパケット)を配信する(S35)。   Next, the content distribution server 11 refers to the distribution time information 42 and distributes the content (IP packet corresponding to the distribution cycle) in the set distribution order and distribution time (S35).

次に、コンテンツ配信サーバ11は、配信を終了するか否かを判断し(S36)、配信を終了しない場合(S36において、NO)、S24の処理に戻る。なお、S24の処理は、接続開始直後は必ず実施し、その後のループ処理では必ずしも毎回行わなくてもよく、例えば任意のタイミングで実施したり、定期的に実施してもよい。   Next, the content distribution server 11 determines whether or not to end the distribution (S36). If the distribution is not ended (NO in S36), the process returns to S24. Note that the process of S24 is always performed immediately after the start of connection, and does not necessarily have to be performed every time in the subsequent loop process. For example, it may be performed at an arbitrary timing or periodically.

また、コンテンツ配信サーバ11は、配信を終了する場合(S36において、YES)、例えば受信装置12より切断要求を受信して配信を終了する(S37)。また、コンテンツ配信サーバ11は、切断要求を受信したセッションのセッション管理情報41及び配信時刻情報42の当該レコードを削除し(S38)、処理を終了する。   In addition, when the content distribution server 11 ends the distribution (YES in S36), for example, the content distribution server 11 receives a disconnection request from the receiving device 12 and ends the distribution (S37). Further, the content distribution server 11 deletes the record of the session management information 41 and the distribution time information 42 of the session that has received the disconnection request (S38), and ends the process.

上述したように本実施形態によれば、コンテンツ配信サーバ11に接続された各受信装置12に配信されるコンテンツの到達時間のばらつきを抑制させることができる。また、配信できない受信装置12を発生させないプッシュ配信を可能とする。   As described above, according to the present embodiment, it is possible to suppress variations in the arrival time of content distributed to each receiving device 12 connected to the content distribution server 11. Further, it is possible to perform push distribution without generating the receiving device 12 that cannot be distributed.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形、変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims. Can be changed.

10 コンテンツ配信システム
11 コンテンツ配信サーバ
12 受信装置
13 通信ネットワーク
20,50 制御手段
21,51 セッション制御手段
22 遅延量計測手段
23 コンテンツ生成手段
24 配信時刻設定手段
25 コンテンツ送信手段
30,60 通信手段
40 記憶手段
41 セッション管理情報
42 配信時刻情報
52 番組取得手段(第1情報取得手段)
53 コンテンツ取得手段(第2情報取得手段)
54 表示手段
DESCRIPTION OF SYMBOLS 10 Content distribution system 11 Content distribution server 12 Receiving device 13 Communication network 20, 50 Control means 21, 51 Session control means 22 Delay amount measurement means 23 Content generation means 24 Distribution time setting means 25 Content transmission means 30, 60 Communication means 40 Storage Means 41 Session management information 42 Distribution time information 52 Program acquisition means (first information acquisition means)
53 Content acquisition means (second information acquisition means)
54 Display means

Claims (4)

通信ネットワークを介して接続された各受信装置に対し、前記受信装置に表示させるコンテンツを所定の配信周期で配信するコンテンツ配信サーバにおいて、
前記受信装置からの接続要求を受信し、前記受信装置それぞれとの間のセッションを確立するセッション制御手段と、
前記セッション制御手段によりセッションを確立した受信装置に前記コンテンツを配信する前に、前記受信装置に対して遅延量確認要求を行い、前記遅延量確認要求に対する応答情報に基づいて前記受信装置の受信遅延量を計測する遅延量計測手段と、
前記遅延量計測手段により得られた前記各受信装置の受信遅延量を用いて、受信遅延量が最も大きい受信装置に前記コンテンツが到達する時間に合わせて他の受信装置にも前記コンテンツが到達するように前記各受信装置に対する配信時刻を設定し、設定した配信時刻が、前記所定の配信周期の開始時刻よりも前、又は、前記所定の配信周期の終了時刻よりも後の場合に、当該配信時刻を前記所定の配信周期内に更新する配信時刻設定手段と、
前記配信時刻設定手段により得られる配信時刻に基づき、前記受信装置に前記コンテンツを送信するコンテンツ送信手段とを有することを特徴とするコンテンツ配信サーバ。
For each receiving apparatus connected via a communication network, the content delivery server for delivering content to be displayed to the each receiving device at a predetermined delivery period,
Session control means for receiving a connection request from each receiving device and establishing a session with each receiving device;
Before delivering the content to the receiving device to establish a session by the session control unit, the performs delay confirmation request to each reception device, wherein the receiving device based on the response information in response to said delay amount confirmation request A delay amount measuring means for measuring the reception delay amount,
Using the reception delay amount of each receiving device obtained by the delay amount measuring means, the content reaches another receiving device in accordance with the time when the content reaches the receiving device having the largest receiving delay amount. If the distribution time for each of the receiving devices is set, and the set distribution time is before the start time of the predetermined distribution cycle or after the end time of the predetermined distribution cycle, the distribution is performed. Distribution time setting means for updating the time within the predetermined distribution cycle ;
A content distribution server comprising: content transmission means for transmitting the content to each receiving device based on the distribution time obtained by the distribution time setting means.
前記配信時刻設定手段は、
前記受信遅延量を用いて得られた配信時刻が、前記所定の配信周期の開始時刻よりも前、又は、前記所定の配信周期の終了時刻よりも後の場合に、配信する全ての受信装置の配信時刻を更新することを特徴とする請求項1に記載のコンテンツ配信サーバ。
The delivery time setting means includes:
Delivery time obtained using the reception delay amount, before the start time of the predetermined delivery period, or, if later than the end time of the predetermined delivery period, all of the receiving apparatuses to be distributed The content distribution server according to claim 1, wherein the distribution time is updated.
前記配信時刻設定手段は、
前記受信遅延量を用いて得られた配信時刻が、前記所定の配信周期の開始時刻よりも前、又は、前記所定の配信周期の終了時刻よりも後の場合に、当該配信時刻のみを更新することを特徴とする請求項1に記載のコンテンツ配信サーバ。
The delivery time setting means includes:
Delivery time obtained using the reception delay amount, before the start time of the predetermined delivery period, or, if later than the end time of the predetermined delivery period, updating only the distribution time The content distribution server according to claim 1, wherein:
コンピュータを、請求項1乃至の何れか1項に記載のコンテンツ配信サーバが有する各手段として機能させるためのコンテンツ配信プログラム。
The content delivery program for functioning a computer as each means which the content delivery server of any one of Claims 1 thru | or 3 has.
JP2014168331A 2014-08-21 2014-08-21 Content distribution server and content distribution program Active JP6401546B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014168331A JP6401546B2 (en) 2014-08-21 2014-08-21 Content distribution server and content distribution program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014168331A JP6401546B2 (en) 2014-08-21 2014-08-21 Content distribution server and content distribution program

Publications (2)

Publication Number Publication Date
JP2016046624A JP2016046624A (en) 2016-04-04
JP6401546B2 true JP6401546B2 (en) 2018-10-10

Family

ID=55636813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014168331A Active JP6401546B2 (en) 2014-08-21 2014-08-21 Content distribution server and content distribution program

Country Status (1)

Country Link
JP (1) JP6401546B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018142515A1 (en) * 2017-02-01 2018-08-09 マクセル株式会社 Content delivery method, content acquisition method and information processing terminal
JP6537007B1 (en) * 2019-03-11 2019-07-03 TechnoProducer株式会社 Information distribution server, information distribution method and information distribution program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3248055B2 (en) * 1996-02-26 2002-01-21 株式会社日立製作所 Asynchronous transmission method and asynchronous transmission device
JP2004536491A (en) * 2001-04-24 2004-12-02 プレディウェイブ・コーポレイション Data-on-demand digital broadcasting system using prefetch data transmission
SE0203362D0 (en) * 2002-11-13 2002-11-13 Reddo Networks Ab A method and apparatus for transferring data packets in a router
JP3856135B2 (en) * 2003-03-31 2006-12-13 日本電気株式会社 Stream converting / sending device
JP3848639B2 (en) * 2003-06-23 2006-11-22 アンリツ株式会社 Packet conditioner
JP4668270B2 (en) * 2005-07-08 2011-04-13 シャープ株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, AND ITS RECORDING MEDIUM
JP4936542B2 (en) * 2007-08-14 2012-05-23 キヤノン株式会社 COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMPUTER PROGRAM
JP2009260888A (en) * 2008-04-21 2009-11-05 Mitsubishi Electric Corp Communication apparatus

Also Published As

Publication number Publication date
JP2016046624A (en) 2016-04-04

Similar Documents

Publication Publication Date Title
US10412695B2 (en) Methods and apparatus for synchronized viewing experience across multiple devices
US9143564B2 (en) Concert server incorporating front-end and back-end functions to cooperate with an app to provide synchronized messaging to multiple clients
US10887646B2 (en) Live streaming with multiple remote commentators
US9813475B1 (en) Delivering a video stream
EP3373588A1 (en) Fast channel switching method and server, and iptv system
US20120316965A1 (en) Dynamic targeted advertising in client-server topology
WO2014186662A1 (en) Method and system for displaying speech to text converted audio with streaming video content data
US10673609B2 (en) Synchronization device, method, program and system
JP4848727B2 (en) Video distribution system, video distribution method, and video synchronization sharing apparatus
US20170353747A1 (en) Quality of Media Synchronization
US9826283B2 (en) Apparatus and method for inserting advertisement in a broadcasting system
GB2549943A (en) Data delivery system and method
JP6401546B2 (en) Content distribution server and content distribution program
KR102202597B1 (en) A method and apparatus for providing a broadcast service based on a heterogenous network
JP6223151B2 (en) Distribution server distribution system, distribution server management device, and reception device
JP2014212506A (en) Content distribution server, content distribution system, and content distribution program
KR102271686B1 (en) Multi-media resource synchronization push method based on heterogeneous networks
KR102051985B1 (en) Synchronization of Media Rendering in Heterogeneous Networking Environments
CN107017978B (en) Information synchronization method and device between terminal devices
US11652860B2 (en) Synchronization of streaming content using live edge offsets
BE1027862B1 (en) METHOD AND INFRASTRUCTURE FOR DISPLAYING CONTENT
JP6210719B2 (en) CONTENT DISTRIBUTION SERVER AND ITS PROGRAM, CONTENT RECEIVING DEVICE AND ITS PROGRAM
JP2020031262A (en) Processor, processing program, and processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170626

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180731

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180907

R150 Certificate of patent or registration of utility model

Ref document number: 6401546

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250