[go: up one dir, main page]

JP2015154271A - Distribution circuit, distribution device, and distribution method - Google Patents

Distribution circuit, distribution device, and distribution method Download PDF

Info

Publication number
JP2015154271A
JP2015154271A JP2014026685A JP2014026685A JP2015154271A JP 2015154271 A JP2015154271 A JP 2015154271A JP 2014026685 A JP2014026685 A JP 2014026685A JP 2014026685 A JP2014026685 A JP 2014026685A JP 2015154271 A JP2015154271 A JP 2015154271A
Authority
JP
Japan
Prior art keywords
data
content
distribution
buffer
storage
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
JP2014026685A
Other languages
Japanese (ja)
Inventor
弘晃 福井
Hiroaki Fukui
弘晃 福井
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2014026685A priority Critical patent/JP2015154271A/en
Publication of JP2015154271A publication Critical patent/JP2015154271A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a distribution circuit capable of processing a number of content distribution requests by efficiently caching contents subjected to distribution from a back end side, a distribution apparatus and a distribution method.SOLUTION: The distribution circuit includes a receiving-time buffer control section, a data distribution section, a cache control section and a direct cache access section. The receiving-time buffer control section receives data of contents subjected to distribution and writes the received data into a buffer. The data distribution section reads the data of the contents out of the buffer and distributes the read data to a terminal device of an end user. The cache control section makes an instruction to write data of distributed contents stored in the buffer into a storage for storing contents and erases the data of the contents written into the storage from the buffer. The direct cache access section reads the data of contents of which the write is instructed from the cache control section, out of the buffer and writes the read data into the storage.

Description

本発明の実施形態は、配信回路、配信装置、及び配信方法に関する。   Embodiments described herein relate generally to a distribution circuit, a distribution device, and a distribution method.

映像素材や音声素材などのコンテンツを配信するコンテンツ配信サービスの需要が高まっている。中でも近年では、TCP/IP(Transmission Control Protocol/Internet Protocol)をベースとしたベストエフォート型のネットワーキング技術を基盤インフラとしたフィールドでの配信需要が伸びている。このフィールドにおいてコンテンツ配信サービスを提供するための実運用上、または実運用における現実的な装置の配置解の一つとして以下がある。すなわち、配信ネットワークのエッジ側に、エンドユーザの端末装置にコンテンツ配信を行う廉価的な配信装置を多数配置する。そして、配信ネットワークの中心側やバックエンド側にコンテンツの蓄積・確保を主目的として、配信装置に対してコンテンツデータを配信するコンテンツ蓄積装置を少数配置する。このような配置をとる場合、配信ネットワークのエッジ側においては圧倒的多数のコンテンツ配信要求を処理しつつ、バックエンド側から効率的にコンテンツをキャッシングすることが求められる。   The demand for content distribution services that distribute content such as video and audio materials is increasing. In particular, in recent years, there has been an increasing demand for distribution in the field based on the best-effort networking technology based on TCP / IP (Transmission Control Protocol / Internet Protocol). In this field, there is the following as one of practical device arrangement solutions in actual operation or actual operation for providing a content distribution service. That is, many inexpensive distribution apparatuses that distribute contents to end user terminal devices are arranged on the edge side of the distribution network. A small number of content storage devices that distribute content data to the distribution device are arranged mainly for the purpose of storing and securing content on the center side and back end side of the distribution network. In such an arrangement, it is required to efficiently cache content from the back end side while processing an overwhelming number of content distribution requests on the edge side of the distribution network.

特開2001−202330号公報JP 2001-202330 A

本発明が解決しようとする課題は、バックエンド側から効率的に配信対象のコンテンツをキャッシングし、多数のコンテンツ配信要求を処理することができる配信回路、配信装置、及び配信方法を提供することである。   The problem to be solved by the present invention is to provide a distribution circuit, a distribution device, and a distribution method capable of efficiently caching content to be distributed from the back end side and processing a large number of content distribution requests. is there.

実施形態の配信回路は、受信時バッファ制御部と、データ配信部と、キャッシュ制御部と、ダイレクトキャッシュアクセス部とを持つ。受信時バッファ制御部は、配信対象のコンテンツのデータを受信し、バッファに書込む。データ配信部は、バッファからコンテンツのデータを読出し、エンドユーザの端末装置へ配信する。キャッシュ制御部は、バッファに記憶されている配信済みのコンテンツのデータを、コンテンツを蓄積するストレージに書込むよう指示し、ストレージに書込まれたコンテンツのデータをバッファから消去する。ダイレクトキャッシュアクセス部は、キャッシュ制御部から書込みが指示されたコンテンツのデータをバッファから読出してストレージに書込む。   The distribution circuit according to the embodiment includes a reception buffer control unit, a data distribution unit, a cache control unit, and a direct cache access unit. The reception buffer control unit receives the data of the content to be distributed and writes it into the buffer. The data distribution unit reads the content data from the buffer and distributes the data to the end user terminal device. The cache control unit instructs to write the distributed content data stored in the buffer to the storage for storing the content, and erases the content data written in the storage from the buffer. The direct cache access unit reads the content data instructed to be written from the cache control unit from the buffer and writes it to the storage.

実施形態のコンテンツ配信システムの全体構成図。1 is an overall configuration diagram of a content distribution system according to an embodiment. 実施形態のコンテンツ配信システムにおけるコンテンツのキャッシングの流れを示すシーケンス図。FIG. 3 is a sequence diagram showing a flow of content caching in the content distribution system of the embodiment. 実施形態のコンテンツ配信システムにおけるVODストリーミング配信とキャッシングの概要図。FIG. 3 is a schematic diagram of VOD streaming distribution and caching in the content distribution system of the embodiment. 実施形態の配信装置におけるキャッシング処理の概要を示す図。The figure which shows the outline | summary of the caching process in the delivery apparatus of embodiment. 実施形態の配信装置におけるキャッシング処理の概要を示す図。The figure which shows the outline | summary of the caching process in the delivery apparatus of embodiment. 実施形態の配信装置におけるキャッシング処理の概要を示す図。The figure which shows the outline | summary of the caching process in the delivery apparatus of embodiment. 実施形態の配信装置の構成を示すブロック図。The block diagram which shows the structure of the delivery apparatus of embodiment. 実施形態の配信装置の処理フローを示す図。The figure which shows the processing flow of the delivery apparatus of embodiment. 実施形態の配信装置の処理フローを示す図。The figure which shows the processing flow of the delivery apparatus of embodiment. 実施形態の配信装置の処理フローを示す図。The figure which shows the processing flow of the delivery apparatus of embodiment. 実施形態の配信装置の処理フローを示す図。The figure which shows the processing flow of the delivery apparatus of embodiment. 従来の配信装置の構成と処理フローを示す図。The figure which shows the structure and processing flow of the conventional delivery apparatus.

以下、実施形態の配信回路、配信装置、及び配信方法を、図面を参照して説明する。
図1は、実施形態のコンテンツ配信システムの全体構成図である。同図に示す配信システムは、配信装置1、コンテンツ蓄積装置3、及び複数のエンドユーザの端末装置5を備えて構成される。同図においては、配信装置1を複数台示しているが、コンテンツ配信システムは、配信装置1を1台のみ備えてもよい。また、同図においては、コンテンツ蓄積装置3を1台のみ示しているが、コンテンツ配信システムは、複数台のコンテンツ蓄積装置3を備えてもよい。配信装置1と端末装置5は、IP(Internet Protocol)ネットワーク7を介して接続される。端末装置5は、有線または無線によりIPネットワーク7にアクセスする。端末装置5は、例えば、パーソナルコンピュータ(PC)、IPテレビジョン受信機(IPTV)、STB(セット・トップ・ボックス)、スマートフォン、タブレット端末などである。エンドユーザは、コンテンツの視聴者である。
Hereinafter, a distribution circuit, a distribution device, and a distribution method according to embodiments will be described with reference to the drawings.
FIG. 1 is an overall configuration diagram of a content distribution system according to an embodiment. The distribution system shown in the figure includes a distribution device 1, a content storage device 3, and a plurality of end user terminal devices 5. Although a plurality of distribution apparatuses 1 are shown in the figure, the content distribution system may include only one distribution apparatus 1. In addition, in the figure, only one content storage device 3 is shown, but the content distribution system may include a plurality of content storage devices 3. The distribution device 1 and the terminal device 5 are connected via an IP (Internet Protocol) network 7. The terminal device 5 accesses the IP network 7 by wire or wireless. The terminal device 5 is, for example, a personal computer (PC), an IP television receiver (IPTV), an STB (set top box), a smartphone, a tablet terminal, or the like. An end user is a viewer of content.

コンテンツ蓄積装置3は、コンテンツを蓄積するバックエンド側のオリジンサーバである。本実施形態のコンテンツ蓄積装置3は、SSD(Solid State Drive:ソリッドステートドライブ)をストレージに用いてコンテンツを蓄積する。配信装置1は、エッジ側のプロキシキャッシュサーバである。配信装置1は、エンドユーザへ配信するコンテンツデータをバッファリングする1以上の記憶装置(バッファ)と、コンテンツをキャッシュする1以上の記憶装置(ストレージ)とを備える。本実施形態の配信装置1は、配信するコンテンツデータをバッファリングする記憶装置として複数のSDRAM(Synchronous Dynamic Random Access Memory:シンクロナスランダムアクセスメモリ)を備える。さらに、配信装置1は、コンテンツをキャッシュする記憶装置として複数のSSDを備える。ストレージは、バッファよりもデータ記憶容量が大きい。一方、バッファは、ストレージよりもデータ転送速度が速い。   The content storage device 3 is an origin server on the back end side that stores content. The content storage device 3 of this embodiment stores content using an SSD (Solid State Drive) as a storage. The distribution apparatus 1 is an edge side proxy cache server. The distribution apparatus 1 includes one or more storage devices (buffers) that buffer content data to be distributed to end users, and one or more storage devices (storage) that cache content. The distribution device 1 of the present embodiment includes a plurality of SDRAMs (Synchronous Dynamic Random Access Memory) as storage devices for buffering content data to be distributed. Furthermore, the distribution device 1 includes a plurality of SSDs as storage devices that cache content. The storage has a larger data storage capacity than the buffer. On the other hand, the buffer has a higher data transfer rate than the storage.

配信装置1は、エンドユーザから配信が要求されたコンテンツをキャッシュしていない場合、その要求されたコンテンツをコンテンツ蓄積装置3から取得し、エンドユーザの端末装置5へ配信する。一方、配信装置1は、要求されたコンテンツをキャッシュしている場合、キャッシュしているコンテンツをエンドユーザの端末装置5へ配信する。なお、複数の配信装置1それぞれがキャッシュしているコンテンツは異なっていてもよい。これは、端末装置5から配信装置1にアクセスするエンドユーザによって、各配信装置1においてキャッシュすることが効率的なコンテンツが異なり得るためである。   When the content requested for distribution by the end user is not cached, the distribution device 1 acquires the requested content from the content storage device 3 and distributes it to the terminal device 5 of the end user. On the other hand, when the requested content is cached, the delivery device 1 delivers the cached content to the end user terminal device 5. The contents cached by each of the plurality of distribution apparatuses 1 may be different. This is because the content that can be efficiently cached in each distribution device 1 may differ depending on the end user who accesses the distribution device 1 from the terminal device 5.

配信装置一台当たりの投資コスト(メリット)はコンテンツの同時配信可能数に大きく依存する。また、コンテンツを蓄積するためのストレージデバイス自体や、それらストレージデバイスの集合体に対するコストパフォーマンスが求められている。コストパフォーマンスの代表的な要素として、「容量」と「アクセス速度(read/write性能)」が挙げられる。一般的かつ代表的なストレージデバイスには、HDD(Hard disk drive)とSSDがある。SSDは、HDDと比較して「アクセス速度(read/write性能)」の性能が高いものの高価である。そこで、図1に示すようにコンテンツ配信システムを構成することで、一台当たりの配信装置1におけるSSDの容量を抑えるとともに、同時配信可能数を抑えることができる。従って、コンテンツ配信システム全体として、コストを抑えながらも、配信ネットワークのエッジ側においては多数のコンテンツ配信要求を処理することが可能となる。   The investment cost (merit) per distribution device greatly depends on the number of contents that can be distributed simultaneously. Further, there is a demand for cost performance with respect to the storage device itself for storing contents and a collection of these storage devices. Typical factors of cost performance include “capacity” and “access speed (read / write performance)”. Common and typical storage devices include HDD (Hard disk drive) and SSD. The SSD is expensive although it has a higher “access speed (read / write performance)” performance than the HDD. Therefore, by configuring the content distribution system as shown in FIG. 1, it is possible to reduce the capacity of SSDs in the distribution apparatus 1 per unit and to reduce the number of simultaneous distributions. Therefore, as a whole content distribution system, it is possible to process a large number of content distribution requests on the edge side of the distribution network while reducing costs.

図2は、コンテンツ配信システムにおけるコンテンツのキャッシングの流れを示すシーケンス図である。同図では、2台の端末装置5をそれぞれ、端末装置5−1、端末装置5−2と記載している。
エンドユーザの端末装置5−1は、コンテンツの配信要求であるGET要求を、IPネットワーク7を介して配信装置1に送信する(ステップS1)。配信装置1は、GET要求により配信が要求されたコンテンツをキャッシュしていない場合(ステップS2)、キャッシュを実施するために、配信が要求されたコンテンツのGET要求をコンテンツ蓄積装置3へ送信する(ステップS3)。コンテンツ蓄積装置3は、GET要求への応答として、配信が要求されたコンテンツを配信装置1へ配信する(ステップS4)。配信装置1は、コンテンツ蓄積装置3から受信したコンテンツをキャッシュする(ステップS5)。配信装置1は、GET要求への応答として、キャッシュしたコンテンツを端末装置5−1へ配信する(ステップS6)。
FIG. 2 is a sequence diagram showing the flow of content caching in the content distribution system. In the figure, the two terminal devices 5 are described as a terminal device 5-1 and a terminal device 5-2, respectively.
The end user terminal device 5-1 transmits a GET request, which is a content distribution request, to the distribution device 1 via the IP network 7 (step S1). If the distribution device 1 does not cache the content requested for distribution by the GET request (step S2), the distribution device 1 transmits a GET request for the content requested for distribution to the content storage device 3 in order to perform the caching (step S2). Step S3). In response to the GET request, the content storage device 3 distributes the content requested for distribution to the distribution device 1 (step S4). The distribution device 1 caches the content received from the content storage device 3 (step S5). The distribution device 1 distributes the cached content to the terminal device 5-1 as a response to the GET request (step S6).

エンドユーザの端末装置5−2は、コンテンツの配信要求であるGET要求を、IPネットワーク7を介して配信装置1に送信する(ステップS7)。配信装置1は、GET要求により配信が要求されたコンテンツをキャッシュしていると判断する(ステップS8)。配信装置1は、バックエンド側にコンテンツを要求することなく、キャッシュしているコンテンツを端末装置5−2に配信する(ステップS9)。   The end user terminal device 5-2 transmits a GET request, which is a content distribution request, to the distribution device 1 via the IP network 7 (step S7). The distribution apparatus 1 determines that the content requested for distribution by the GET request is cached (step S8). The distribution device 1 distributes the cached content to the terminal device 5-2 without requesting the content to the back end side (step S9).

図2に示すコンテンツデータのキャッシングの流れは、配信ネットワークのエッジ側に配信装置を配置し、配信ネットワークの中心側やバックエンド側にコンテンツ蓄積装置を配置した構成の従来のコンテンツ配信システムにおいても同様である。ここで、本実施形態の配信装置の技術的な特徴を明確にするために、従来のコンテンツ配信システムに用いられる配信装置について説明する。   The flow of content data caching shown in FIG. 2 is the same in the conventional content distribution system in which the distribution device is arranged on the edge side of the distribution network and the content storage device is arranged on the center side or back end side of the distribution network. It is. Here, in order to clarify the technical features of the distribution apparatus of the present embodiment, a distribution apparatus used in a conventional content distribution system will be described.

図12は、従来の配信装置9の構成とキャッシュ処理フローを示す図である。同図に示す配信装置9は、RX(受信機)11と、配信部90と、SDRAM13と、SSD14と、CPU(Central Processing Unit)15と、TX(送信機)16とを備えて構成される。
RX11は、例えば、100Gビットのイーサネット(登録商標)により、コンテンツ蓄積装置3からデータを受信する。TX16は、例えば、100Gビットのイーサネット(登録商標)により、エンドユーザの端末装置5にデータを送信する。SDRAM13は、端末装置5へ配信するコンテンツデータをバッファリングするバッファである。SSD14は、コンテンツをキャッシュするストレージである。SSD14は、セクタ単位でデータを記憶する。CPU15は、アプリケーションとオペレーティング・システム(OS)を実行する。OSは、各コンテンツのエクステント情報を取得する。エクステント情報は、コンテンツのファイルを構成するコンテンツデータのエクステントがストレージ(SSD14)のどの記憶領域に書込まれたかを示す情報である。OSは、取得したエクステント情報に基づいて、コンテンツデータをストレージから読出してSDRAM13へ転送するよう配信部90に指示する。
FIG. 12 is a diagram showing a configuration of a conventional distribution apparatus 9 and a cache processing flow. The distribution device 9 shown in the figure includes an RX (receiver) 11, a distribution unit 90, an SDRAM 13, an SSD 14, a CPU (Central Processing Unit) 15, and a TX (transmitter) 16. .
The RX 11 receives data from the content storage device 3 by, for example, 100 Gbit Ethernet (registered trademark). The TX 16 transmits data to the terminal device 5 of the end user by, for example, 100 Gbit Ethernet (registered trademark). The SDRAM 13 is a buffer that buffers content data to be distributed to the terminal device 5. The SSD 14 is a storage that caches content. The SSD 14 stores data in units of sectors. The CPU 15 executes an application and an operating system (OS). The OS acquires extent information of each content. The extent information is information indicating in which storage area of the storage (SSD 14) the extent of the content data constituting the content file is written. Based on the acquired extent information, the OS instructs the distribution unit 90 to read content data from the storage and transfer it to the SDRAM 13.

配信部90は、例えばFPGA(field-programmable gate array)により実現される配信回路である。配信部90は、CPU15を介することなく、ストレージから読み出したコンテンツデータをネットワーク処理してエンドユーザの端末装置5へ配信する。配信部90は、受信MAC(Medium Access Control)処理部20と、TOE(TCP/IP Offload Engine)91と、受信時バッファ制御部92と、SDRAM制御部23と、SATA(Serial Advanced Technology Attachment)25と、DSA(Direct Storage Access)26と、送信時バッファ制御部27と、送信MAC処理部28と、PCIe(Peripheral Component Interconnect Express)29とを備えて構成される。   The distribution unit 90 is a distribution circuit realized by, for example, an FPGA (field-programmable gate array). The distribution unit 90 performs network processing on the content data read from the storage without using the CPU 15 and distributes the content data to the terminal device 5 of the end user. The distribution unit 90 includes a reception MAC (Medium Access Control) processing unit 20, a TOE (TCP / IP Offload Engine) 91, a reception buffer control unit 92, an SDRAM control unit 23, and a SATA (Serial Advanced Technology Attachment) 25. A DSA (Direct Storage Access) 26, a transmission buffer control unit 27, a transmission MAC processing unit 28, and a PCIe (Peripheral Component Interconnect Express) 29.

受信MAC処理部20は、RX11が受信したデータ信号に対してMAC処理を行い、TOE91に出力する。TOE91は、送受信信号のTCP/IPの処理を実行するともに、配信部90内の機能部間のデータ転送をおこなう。受信時バッファ制御部92は、コンテンツ蓄積装置3から受信したデータに対する処理を行う。SDRAM制御部23は、SDRAM13に対するデータの読出しや書込みを制御する。SATA25は、SSD14に対するデータの読出しや書込みを制御する。DSA26は、SATA25がSSD14から読出したコンテンツデータをSDRAM13へ転送する。送信時バッファ制御部27は、SDRAM13にバッファリングされているコンテンツデータの配信を制御する。送信MAC処理部28は、TOE91から出力されたデータ送信信号に対してMAC処理を行い、TX16に出力する。PCIe29は、配信部90内の各部とCPU15との間のシリアルインタフェースである。   The reception MAC processing unit 20 performs MAC processing on the data signal received by the RX 11 and outputs it to the TOE 91. The TOE 91 executes TCP / IP processing of transmission / reception signals and transfers data between functional units in the distribution unit 90. The reception buffer control unit 92 performs processing on the data received from the content storage device 3. The SDRAM control unit 23 controls reading and writing of data with respect to the SDRAM 13. The SATA 25 controls reading and writing of data with respect to the SSD 14. The DSA 26 transfers the content data read from the SSD 14 by the SATA 25 to the SDRAM 13. The transmission buffer control unit 27 controls distribution of content data buffered in the SDRAM 13. The transmission MAC processing unit 28 performs MAC processing on the data transmission signal output from the TOE 91 and outputs it to the TX 16. The PCIe 29 is a serial interface between each unit in the distribution unit 90 and the CPU 15.

配信装置9における処理フローを説明する。配信装置9は、エンドユーザの端末装置5に配信するコンテンツをキャッシュしていないため、コンテンツ蓄積装置3へコンテンツを要求する(図2のステップS2、S3に相当)。コンテンツ蓄積装置3は、要求されたコンテンツのコンテンツデータD1、D2、…を配信装置9へ配信する(図2のステップS4に相当)。   A processing flow in the distribution device 9 will be described. Since the distribution device 9 does not cache the content to be distributed to the terminal device 5 of the end user, the distribution device 9 requests the content storage device 3 for content (corresponding to steps S2 and S3 in FIG. 2). The content storage device 3 distributes the content data D1, D2,... Of the requested content to the distribution device 9 (corresponding to step S4 in FIG. 2).

配信装置9は、コンテンツ蓄積装置3からコンテンツデータD1、D2、…が設定されたパケットをRX11により受信する。受信MAC処理部20は、受信したパケットにMAC処理を行ってTOE91に出力する。TOE91は、MAC処理が行われたパケットのTCP/IPフレームからコンテンツデータD1、D2、…を読出し、受信時バッファ制御部92に出力する。受信時バッファ制御部92は、受信したコンテンツデータD1、D2、…を、PCIe29を介してCPU15に出力する(ステップS91)。CPU15が実行するOSは、配信装置9が備えるシステムメモリ(図示せず)にコンテンツデータを記憶する。CPU15が実行するOSは、システムメモリに記憶したコンテンツデータD1、D2、…を、配信部90に出力し、ストレージへの書込みを指示する。SATA25は、コンテンツデータD1、D2、…をSSD14に書込む(ステップS92)。CPU15が実行するOSは、SATA25がコンテンツデータを書込んだ各エクステントの物理アドレスと論理アドレスをと対応付けるエクステント情報を取得する。なお、1つのエクステントに含まれるデータは、パケットで受信したコンテンツデータの単位とは一致しなくてもよい。   The distribution device 9 receives from the content storage device 3 the packet in which the content data D1, D2,. The reception MAC processing unit 20 performs MAC processing on the received packet and outputs it to the TOE 91. The TOE 91 reads the content data D1, D2,... From the TCP / IP frame of the packet on which the MAC processing has been performed, and outputs the content data D1, D2,. The reception buffer control unit 92 outputs the received content data D1, D2,... To the CPU 15 via the PCIe 29 (step S91). The OS executed by the CPU 15 stores content data in a system memory (not shown) provided in the distribution device 9. The OS executed by the CPU 15 outputs the content data D1, D2,... Stored in the system memory to the distribution unit 90 and instructs writing to the storage. The SATA 25 writes the content data D1, D2,... Into the SSD 14 (step S92). The OS executed by the CPU 15 acquires extent information that associates the physical address and logical address of each extent in which the content data is written by the SATA 25. Note that the data included in one extent does not have to match the unit of content data received in a packet.

DSA26は、SATA25にコンテンツデータの読出しを指示する。SATA25は、コンテンツデータが記憶されているSSD14のセクタからデータを読出してDSA26に出力する。DSA26は、SATA25がセクタ単位で読出したデータからコンテンツデータD1、D2、…を抽出してSDRAM制御部23へ出力し、書込みを指示する。SDRAM制御部23は、DSA26から出力されたコンテンツデータD1、D2、…をSDRAM13に書込む(ステップS93)。TOE91は、送信時バッファ制御部27からの指示を受け、配信するコンテンツデータD1、D2、…の読出しをSDRAM制御部23に指示する。TOE91は、SDRAM制御部23が読出したコンテンツデータD1、D2、…をTCP/IPのフレームに設定し、送信MAC処理部28に出力する。送信MAC処理部28は、コンテンツデータD1、D2、…が設定されたTCP/IPのフレームにMAC処理を行い、TX16からエンドユーザの端末装置5へ配信する(ステップS94)。   The DSA 26 instructs the SATA 25 to read the content data. The SATA 25 reads data from the sector of the SSD 14 in which the content data is stored and outputs it to the DSA 26. The DSA 26 extracts the content data D1, D2,... From the data read by the SATA 25 in units of sectors, outputs the contents data to the SDRAM control unit 23, and instructs writing. The SDRAM control unit 23 writes the content data D1, D2,... Output from the DSA 26 to the SDRAM 13 (step S93). The TOE 91 receives an instruction from the transmission buffer control unit 27 and instructs the SDRAM control unit 23 to read the content data D1, D2,. The TOE 91 sets the content data D1, D2,... Read by the SDRAM control unit 23 in a TCP / IP frame and outputs it to the transmission MAC processing unit 28. The transmission MAC processing unit 28 performs MAC processing on the TCP / IP frame in which the content data D1, D2,... Is set, and distributes it from the TX 16 to the end user terminal device 5 (step S94).

同図で示した通り、配信装置9におけるコンテンツデータの受信から配信までの処理パスとしてステップS91〜ステップS94の大きく4ステップが必要である。つまり、配信装置9は、一旦CPU15およびシステムメモリへコンテンツ蓄積装置3から受信したコンテンツデータを展開する。その後、配信装置9は、キャッシングのため、CPU15およびシステムメモリからストレージへコンテンツデータを格納する。配信装置9は、ストレージからコンテンツデータを読出し、バッファに格納する。配信装置9は、バッファからコンテンツを読み出し、エンドユーザの端末装置5へ配信する。   As shown in the figure, a processing path from the reception of content data to distribution in the distribution apparatus 9 requires four steps of steps S91 to S94. That is, the distribution device 9 expands the content data received from the content storage device 3 once to the CPU 15 and the system memory. Thereafter, the distribution device 9 stores the content data from the CPU 15 and the system memory to the storage for caching. The distribution device 9 reads the content data from the storage and stores it in the buffer. The distribution device 9 reads the content from the buffer and distributes it to the terminal device 5 of the end user.

図3は、本実施形態によるコンテンツ配信システムにおけるVOD(Video On Demand)ストリーミング配信とキャッシングの概要図である。コンテンツ蓄積装置3は、ストレージにSSDを使用してコンテンツを記憶している。また、配信装置1は、配信装置9と同様に、配信するコンテンツデータをバッファリングするSDRAM13と、コンテンツをキャッシュするSSD14を備える。配信装置1がVODストリーミング配信するコンテンツをキャッシングしていない場合、コンテンツ蓄積装置3は、そのコンテンツのコンテンツデータをストレージから読出し、各配信装置1に配信する。配信装置1は、コンテンツ蓄積装置3から配信されたコンテンツデータを受信する(図2のステップS4に相当)。   FIG. 3 is a schematic diagram of VOD (Video On Demand) streaming distribution and caching in the content distribution system according to the present embodiment. The content storage device 3 stores content in the storage using an SSD. Similarly to the distribution device 9, the distribution device 1 includes an SDRAM 13 that buffers content data to be distributed and an SSD 14 that caches content. When the distribution device 1 does not cache the content to be distributed by VOD streaming, the content storage device 3 reads the content data of the content from the storage and distributes it to each distribution device 1. The distribution device 1 receives the content data distributed from the content storage device 3 (corresponding to step S4 in FIG. 2).

配信装置1は、図3に示すように、コンテンツ蓄積装置3から配信されたコンテンツデータのキャッシュを、SDRAMによる一次キャッシュと、ストレージ(SSD)による二次キャッシュとにより行う。配信装置1は、このキャッシュにより、TOE及びDSAの効果及び性能を保ちつつ、キャッシュを効率的に実施し、コンテンツデータを端末装置5へ配信する。   As shown in FIG. 3, the distribution apparatus 1 caches the content data distributed from the content storage apparatus 3 by using a primary cache using SDRAM and a secondary cache using storage (SSD). The distribution apparatus 1 uses the cache to efficiently perform the cache and distribute the content data to the terminal apparatus 5 while maintaining the effects and performance of the TOE and DSA.

図4から図6は、配信装置1におけるキャッシング処理の概要を示す図である。コンテンツ蓄積装置3は、VODストリーミングが終了するまで、コンテンツを構成するコンテンツデータD1、D2、…を配信装置1に送信する。図4において、配信装置1は、コンテンツ蓄積装置3から受信したコンテンツデータD1、D2、…を、SDRAM13にキャッシュデータとして蓄積し始める。これが、SDRAMによる一次キャッシュである。   4 to 6 are diagrams showing an outline of the caching process in the distribution apparatus 1. FIG. The content storage device 3 transmits content data D1, D2,... Constituting the content to the distribution device 1 until the VOD streaming ends. 4, the distribution apparatus 1 starts to store the content data D1, D2,... Received from the content storage apparatus 3 in the SDRAM 13 as cache data. This is a primary cache based on SDRAM.

図5において、配信装置1は、SDRAM13にある程度コンテンツデータを蓄積すると、SDRAM13からコンテンツデータD1、D2、…を順次読出してエンドユーザの端末装置5へ配信し始める。このように配信装置1は、全てのコンテンツデータをキャッシュし終えるまで待つことなく、エンドユーザ側へ速やかに配信を行うことができる。   5, when the content data is accumulated to some extent in the SDRAM 13, the distribution device 1 sequentially reads the content data D 1, D 2,... From the SDRAM 13 and starts distributing the content data to the end user terminal device 5. In this way, the distribution apparatus 1 can quickly distribute to the end user without waiting until all the content data has been cached.

図6において、配信装置1は、エンドユーザの端末装置5へ配信を終えたコンテンツデータD1、D2、…を、SDRAM13からSSD14へ転送して蓄積し、保存し始める。なお、配信装置1は、SDRAM13による一次キャッシュのみでコンテンツデータを破棄し、二次キャッシュによるコンテンツデータの蓄積及び保存を行わないようにしてもよい。   In FIG. 6, the distribution apparatus 1 transfers the content data D1, D2,... That have been distributed to the terminal device 5 of the end user from the SDRAM 13 to the SSD 14, accumulates them, and starts to store them. The distribution apparatus 1 may discard the content data only by the primary cache by the SDRAM 13 and may not store and store the content data by the secondary cache.

図7は、本実施形態の配信装置1の構成を示すブロック図である。同図において、図12に示す従来の配信装置9と同一の部分には同一の符号を付し、その説明を省略する。同図に示す配信装置1は、RX11と、配信部12と、SDRAM13と、SSD14と、CPU15と、TX16とを備えて構成される。同図に示す配信装置1が、図12に示す従来の配信装置9と異なる点は、配信部90に代えて配信部12を備える点である。   FIG. 7 is a block diagram illustrating a configuration of the distribution apparatus 1 according to the present embodiment. In this figure, the same parts as those of the conventional distribution apparatus 9 shown in FIG. The distribution apparatus 1 shown in the figure includes an RX 11, a distribution unit 12, an SDRAM 13, an SSD 14, a CPU 15, and a TX 16. The distribution apparatus 1 shown in the figure is different from the conventional distribution apparatus 9 shown in FIG. 12 in that a distribution unit 12 is provided instead of the distribution unit 90.

配信部12は、例えばFPGAにより実現される配信回路である。配信部12は、CPU15を介することなく、ストレージから読み出したコンテンツデータをネットワーク処理してエンドユーザの端末装置5へ配信する。配信部12は、受信MAC処理部20と、TOE21と、受信時バッファ制御部22と、SDRAM制御部23と、DCA(Direct Cache Access:ダイレクトキャッシュアクセス)24と、SATA25と、DSA26と、送信時バッファ制御部27と、送信MAC処理部28と、PCIe29とを備えて構成される。同図に示す配信部12が、図12に示す従来の配信装置9の配信部90と異なる点は、TOE91、及び受信時バッファ制御部92に代えてTOE21、及び受信時バッファ制御部22を備える点、ならびに、DCA24をさらに備える点である。   The distribution unit 12 is a distribution circuit realized by, for example, an FPGA. The distribution unit 12 performs network processing on the content data read from the storage and distributes the content data to the end user terminal device 5 without using the CPU 15. The distribution unit 12 includes a reception MAC processing unit 20, a TOE 21, a reception buffer control unit 22, an SDRAM control unit 23, a DCA (Direct Cache Access) 24, a SATA 25, a DSA 26, and a transmission time. A buffer control unit 27, a transmission MAC processing unit 28, and a PCIe 29 are provided. The distribution unit 12 shown in the figure is different from the distribution unit 90 of the conventional distribution device 9 shown in FIG. 12 in that a TOE 21 and a reception buffer control unit 22 are provided instead of the TOE 91 and the reception buffer control unit 92. The point is further provided with a DCA 24.

TOE21は、送受信信号のTCP/IPの処理を実行する。TOE21は、コンテンツデータの一次キャッシュや二次キャッシュを制御するキャッシュ制御部210を備える。受信時バッファ制御部22は、コンテンツ蓄積装置3から受信したコンテンツデータをSDRAM13に格納するよう指示する。DCA24は、CPU15を介することなく、SDRAM制御部23がSDRAM13から読出したコンテンツデータをSATA25に転送し、SATA25により直接SSD14に書込ませる。DCA24は、SSD14に書込まれたコンテンツデータのエクステント情報を生成し、CPU15へ出力する。   The TOE 21 executes TCP / IP processing of transmission / reception signals. The TOE 21 includes a cache control unit 210 that controls a primary cache and a secondary cache of content data. The reception buffer control unit 22 instructs to store the content data received from the content storage device 3 in the SDRAM 13. The DCA 24 transfers the content data read from the SDRAM 13 by the SDRAM control unit 23 to the SATA 25 without using the CPU 15, and directly writes the content data to the SSD 14 by the SATA 25. The DCA 24 generates extent information of content data written in the SSD 14 and outputs it to the CPU 15.

図8から図11は、配信装置1の処理フローを示す図である。配信装置1は、エンドユーザの端末装置5に配信するコンテンツデータをキャッシュしていないため、コンテンツ蓄積装置3へコンテンツを要求する(図2のステップS2、S3に相当)。コンテンツ蓄積装置3は、要求されたコンテンツのコンテンツデータD1、D2、…を配信装置1へ配信する(図2のステップS4に相当)。   8 to 11 are diagrams illustrating a processing flow of the distribution apparatus 1. Since the distribution device 1 does not cache the content data to be distributed to the terminal device 5 of the end user, the distribution device 1 requests content from the content storage device 3 (corresponding to steps S2 and S3 in FIG. 2). The content storage device 3 distributes the content data D1, D2,... Of the requested content to the distribution device 1 (corresponding to step S4 in FIG. 2).

図8において、配信装置1は、コンテンツ蓄積装置3から送信されたコンテンツデータD1、D2、…のパケットをRX11により受信する。受信MAC処理部20は、受信したパケットにMAC処理を行ってTOE21に出力する。TOE21は、MAC処理が行われたパケットのTCP/IPフレームからコンテンツデータを読出し、受信時バッファ制御部22に出力する。受信時バッファ制御部22は、受信したコンテンツデータD1、D2、…を、TOE21のキャッシュ制御部210を介してSDRAM制御部23に出力し、書込みを指示する。SDRAM制御部23は、コンテンツデータD1、D2、…をSDRAM13に書込む。   8, the distribution apparatus 1 receives packets of content data D1, D2,... Transmitted from the content storage apparatus 3 through the RX 11. The reception MAC processing unit 20 performs MAC processing on the received packet and outputs it to the TOE 21. The TOE 21 reads the content data from the TCP / IP frame of the packet on which the MAC processing has been performed, and outputs the content data to the buffer control unit 22 upon reception. The reception buffer control unit 22 outputs the received content data D1, D2,... To the SDRAM control unit 23 via the cache control unit 210 of the TOE 21, and instructs writing. The SDRAM control unit 23 writes the content data D1, D2,... Into the SDRAM 13.

図9において、TOE21のキャッシュ制御部210は、SDRAM制御部23にコンテンツデータD1、D2、…の読出しを指示する。SDRAM制御部23は、読出しが指示されたコンテンツデータD1、D2、…をSDRAM13から読出し、TOE21に出力する。TOE21は、SDRAM制御部23により読出されたコンテンツデータD1、D2、…をTCP/IPのフレームに設定し、送信MAC処理部28に出力する。送信MAC処理部28は、コンテンツデータD1、D2、…が設定されたTCP/IPのフレームにMAC処理を行い、TX16からエンドユーザの端末装置5へ配信する(ステップS22)。   9, the cache control unit 210 of the TOE 21 instructs the SDRAM control unit 23 to read the content data D1, D2,. The SDRAM control unit 23 reads the content data D1, D2,... Instructed to be read from the SDRAM 13 and outputs it to the TOE 21. The TOE 21 sets the content data D1, D2,... Read by the SDRAM control unit 23 in a TCP / IP frame and outputs it to the transmission MAC processing unit 28. The transmission MAC processing unit 28 performs MAC processing on the TCP / IP frame in which the content data D1, D2,... Is set, and distributes it from the TX 16 to the terminal device 5 of the end user (step S22).

図10において、TOE21のキャッシュ制御部210は、配信済みのコンテンツデータD1、D2、…をストレージに転送するようSDRAM制御部23に指示する。SDRAM制御部23は、転送が指示されたコンテンツデータD1、D2、…をSDRAM13から読出し、DCA24に出力する。DCA24は、SATA25にコンテンツデータD1、D2、…を出力し、SSD14への書込みを指示する。SATA25は、DCA24から受信したコンテンツデータD1、D2、…をSSD14に書込む(ステップS23)。   10, the cache control unit 210 of the TOE 21 instructs the SDRAM control unit 23 to transfer the distributed content data D1, D2,... To the storage. The SDRAM control unit 23 reads the content data D1, D2,... For which transfer has been instructed from the SDRAM 13 and outputs it to the DCA 24. The DCA 24 outputs content data D1, D2,... To the SATA 25 and instructs writing to the SSD 14. The SATA 25 writes the content data D1, D2,... Received from the DCA 24 to the SSD 14 (step S23).

図11において、TOE21のキャッシュ制御部210は、SSD14に書込んだコンテンツデータの破棄をSDRAM制御部23に指示する。SDRAM制御部23は、SDRAM13から破棄が指示されたコンテンツデータを、SDRAM13から消去する(ステップS24)。   In FIG. 11, the cache control unit 210 of the TOE 21 instructs the SDRAM control unit 23 to discard the content data written in the SSD 14. The SDRAM control unit 23 erases the content data instructed to be discarded from the SDRAM 13 from the SDRAM 13 (step S24).

なお、DCA24は、ステップS23において、SATA25がコンテンツデータを書込んだ各エクステントの物理アドレスと論理アドレスをと対応付けるエクステント情報を生成し、CPU15が実行するOSに出力する。エクステント情報をOSに出力することで、CPU15は、エンドユーザの端末装置5からコンテンツデータの配信要求を受信したときに、そのコンテンツデータがSSD14にキャッシングされているか否かを判断することができる。コンテンツデータがキャッシングされている場合、CPU15が実行するOSは、エクステント情報に基づいてコンテンツデータの読出し指示を配信部12に出力する。配信部12が、コンテンツデータが記憶されているSSD14のセクタからデータを読出した以降の処理は、上述した従来技術の配信装置9の処理と同様である。   In step S23, the DCA 24 generates extent information that associates the physical address and logical address of each extent in which the content data is written by the SATA 25, and outputs the extent information to the OS executed by the CPU 15. By outputting the extent information to the OS, the CPU 15 can determine whether or not the content data is cached in the SSD 14 when the content data distribution request is received from the terminal device 5 of the end user. When the content data is cached, the OS executed by the CPU 15 outputs a content data read instruction to the distribution unit 12 based on the extent information. The processing after the distribution unit 12 reads the data from the sector of the SSD 14 in which the content data is stored is the same as the processing of the above-described conventional distribution device 9.

すなわち、配信部12のDSA26は、SATA25にコンテンツデータの読出しを指示する。SATA25は、コンテンツデータが記憶されているSSD14のセクタからデータを読出してDSA26に出力する。DSA26は、SATA25がセクタ単位で読出したデータから配信対象のコンテンツデータを抽出してSDRAM制御部23へ出力し、書込みを指示する。SDRAM制御部23は、DSA26から出力されたコンテンツデータをSDRAM13に書込む。TOE11は、送信時バッファ制御部27からの指示を受け、配信するコンテンツデータの読出しをSDRAM制御部23に指示する。TOE11は、SDRAM制御部23が読出したコンテンツデータをTCP/IPのフレームに設定し、送信MAC処理部28に出力する。送信MAC処理部28は、コンテンツデータが設定されたTCP/IPのフレームにMAC処理を行い、TX16からエンドユーザの端末装置5へ配信する。   That is, the DSA 26 of the distribution unit 12 instructs the SATA 25 to read the content data. The SATA 25 reads data from the sector of the SSD 14 in which the content data is stored and outputs it to the DSA 26. The DSA 26 extracts content data to be distributed from the data read by the SATA 25 in units of sectors, outputs the content data to the SDRAM control unit 23, and instructs writing. The SDRAM control unit 23 writes the content data output from the DSA 26 into the SDRAM 13. The TOE 11 receives an instruction from the transmission buffer control unit 27 and instructs the SDRAM control unit 23 to read the content data to be distributed. The TOE 11 sets the content data read by the SDRAM control unit 23 in a TCP / IP frame and outputs it to the transmission MAC processing unit 28. The transmission MAC processing unit 28 performs MAC processing on the TCP / IP frame in which the content data is set, and distributes it from the TX 16 to the terminal device 5 of the end user.

配信装置1が受信時バッファ制御部22、キャッシュ制御部210、及びDCA24を備えることにより、コンテンツデータの受信から配信までの処理パスがステップS21からステップS23の大きく3ステップとなる。よって、従来の順序のキャッシュ処理フローと比較して1ステップ分が削減される。さらに、PCIe29のバスを経由してCPU15やシステムメモリへ受信したコンテンツデータを展開する必要がなくなるため、処理負荷も低減される。   Since the distribution apparatus 1 includes the reception buffer control unit 22, the cache control unit 210, and the DCA 24, the processing path from the reception of the content data to distribution becomes three steps from step S21 to step S23. Therefore, one step is reduced as compared with the conventional order cache processing flow. Furthermore, since it is not necessary to expand the content data received via the PCIe 29 bus to the CPU 15 or the system memory, the processing load is reduced.

なお、配信装置1は、DCA24によるストレージ(SSD14)へのコンテンツデータの二次キャッシュ(蓄積・保存)を行わず、SDRAM13に一次キャッシュしたコンテンツデータをエンドユーザへ配信した後、破棄してもよい。この場合、キャッシュ制御部210が、コンテンツデータの二次キャッシュを行うか否かを判断する。   The distribution apparatus 1 does not perform secondary caching (accumulation / storage) of content data in the storage (SSD 14) by the DCA 24, but may distribute the first cached content data to the SDRAM 13 and then discard it. . In this case, the cache control unit 210 determines whether to perform secondary caching of content data.

コンテンツ蓄積装置3から配信装置1へのコンテンツデータの配信には、HTTPを用いることができる。キャッシュ制御部210は、コンテンツ蓄積装置3から受信したコンテンツデータのパケットに設定されているHTTPのヘッダ部に基づいて、二次キャッシュを行うか否かを判断する。なお、端末装置5へのコンテンツデータの配信にHTTPを用いる場合、キャッシュ制御部210は、端末装置5から受信した信号に設定されているHTTPのヘッダ部に基づいて、二次キャッシュを行うか否かを判断してもよい。HTTPのヘッダには、「Expired:YYYY」、「Content−Length:XXXXX」、「Cache:ZZZZ」の情報が含まれる。「Expired」は、コンテンツの有効期限を示す。「Content−Length」は、コンテンツデータ全体の長さ(容量)を示す。「Cache」は、キャッシュに関する情報を示す。   HTTP can be used for distributing content data from the content storage device 3 to the distribution device 1. The cache control unit 210 determines whether or not to perform secondary cache based on the HTTP header portion set in the packet of content data received from the content storage device 3. When HTTP is used for distribution of content data to the terminal device 5, the cache control unit 210 determines whether or not to perform secondary caching based on the HTTP header portion set in the signal received from the terminal device 5. It may be judged. The HTTP header includes information of “Expired: YYYY”, “Content-Length: XXXXXX”, and “Cache: ZZZ”. “Expired” indicates the expiration date of the content. “Content-Length” indicates the length (capacity) of the entire content data. “Cache” indicates information about the cache.

キャッシュ制御部210は、「Expired」の値「YYYY」が、所定の時間よりも短い場合、一次キャッシュしたコンテンツデータをエンドユーザへ配信した後、SSD14への二次キャッシュを行わずに破棄する。これは、ストレージに二次キャッシュとしてコンテンツを格納しておける期間が合理的ではないためである。   When the value “YYYY” of “Expired” is shorter than the predetermined time, the cache control unit 210 distributes the first cached content data to the end user, and then discards it without performing the second cache to the SSD 14. This is because the period during which content can be stored in the storage as a secondary cache is not reasonable.

また、キャッシュ制御部210は、「Content−Length」の値「XXXXX」が、データ量が小さいと判断する基準の所定バイト数よりも小さい場合、SSD14への二次キャッシュを行わずにコンテンツデータを破棄する。これは、ストレージに二次キャッシュとしてコンテンツを格納しておくと、細切れのデータが多く、フラグメントが多発して合理的ではないためである。加えて、データ量がある程度大きい場合はコンテンツ蓄積装置3からのコンテンツデータの読出しにかかる負荷が大きいが、データ量が小さい場合は読出しにかかる負荷が小さいためでもある。あるいは、キャッシュ制御部210は、「Content−Length」の値「XXXXX」が、データ量が大きいと判断する基準の所定バイト数よりも大きい場合、SSD14への二次キャッシュを行わずにコンテンツデータを破棄してもよい。これは、ストレージの記憶容量を圧迫するためである。   In addition, when the value “XXXX” of “Content-Length” is smaller than the reference predetermined number of bytes for determining that the data amount is small, the cache control unit 210 does not perform the secondary cache to the SSD 14 and stores the content data. Discard. This is because if content is stored in the storage as a secondary cache, there are many pieces of fragmented data, and many fragments occur, which is not rational. In addition, when the amount of data is large to some extent, the load for reading content data from the content storage device 3 is large, but when the amount of data is small, the load for reading is small. Alternatively, when the value “XXXX” of “Content-Length” is larger than a predetermined number of bytes for determining that the data amount is large, the cache control unit 210 does not perform secondary cache to the SSD 14 and stores the content data. It may be discarded. This is to reduce the storage capacity of the storage.

また、キャッシュ制御部210は、「Cache」の値「ZZZZ」が「no−cache」の様に、キャッシュし続ける事を許可しない旨を示している場合、SSD14への二次キャッシュを行わずにコンテンツデータを破棄する。これは、コンテンツ提供側の要求により、ストレージにコンテンツデータを格納し、蓄積しておくことが禁止されているためである。   Further, the cache control unit 210 does not perform the secondary cache to the SSD 14 when the value “ZZZ” of the “Cache” indicates that the cache is not allowed to continue as “no-cache”. Discard the content data. This is because it is prohibited to store and store content data in the storage according to a request from the content provider.

上記においては、コンテンツが映像コンテンツである場合を例に説明したが、静止画、音声、文書、プログラムなど任意の種類のコンテンツとすることができる。
また、上記においては、配信部12は、TOE21の内部にキャッシュ制御部210を備える構成であるが、TOE21の外部にキャッシュ制御部210を備える構成としてもよい。
また、上記実施形態の配信部12の一部または全ての機能部を、ソフトウェア機能部により実現してもよい。配信部12の一部または全ての機能部をソフトウェア機能部により実現する場合、その機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
In the above description, the case where the content is video content has been described as an example.
In the above description, the distribution unit 12 is configured to include the cache control unit 210 inside the TOE 21, but may be configured to include the cache control unit 210 outside the TOE 21.
Moreover, you may implement | achieve a part or all the function part of the delivery part 12 of the said embodiment with a software function part. When a part or all of the functional units of the distribution unit 12 are realized by a software functional unit, a program for realizing the function is recorded on a computer-readable recording medium, and the program recorded on the recording medium is recorded on the computer. You may implement | achieve by making a system read and run. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a portable medium such as a magneto-optical disk, ROM, or CD-ROM, or a hard disk built in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory inside a computer system serving as a server or a client in that case may be included and a program held for a certain period of time. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上説明した少なくともひとつの実施形態によれば、受信時バッファ制御部22、キャッシュ制御部210、及びDCA24を持つことにより、TOE及びDSAの効果及び性能を保ちつつ、バックエンド側から効率的に配信対象のデータをキャッシングし、エンドユーザからの多数のデータ配信要求を処理することができる。
また、以上説明した少なくともひとつの実施形態によれば、キャッシュ制御部210を持つことにより、キャッシュすることが効率的なコンテンツのみをストレージにキャッシュすることができる。
また、以上説明した少なくともひとつの実施形態によれば、DCA24を持つことにより、CPU15を介さずにキャッシュしたコンテンツを、ストレージから読出してエンドユーザの端末装置5へ配信することができる。
According to at least one embodiment described above, by having the reception buffer control unit 22, the cache control unit 210, and the DCA 24, efficient distribution from the back end side while maintaining the effects and performance of the TOE and DSA. Target data can be cached and multiple data delivery requests from end users can be processed.
Further, according to at least one embodiment described above, by having the cache control unit 210, it is possible to cache only content that is efficient to cache in the storage.
Further, according to at least one embodiment described above, by having the DCA 24, the cached content can be read from the storage and distributed to the end user terminal device 5 without going through the CPU 15.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are also included in the invention described in the claims and the equivalents thereof.

1…配信装置、3…コンテンツ蓄積装置、5…端末装置、7…IPネットワーク、11…RX、12…配信部(配信回路)、13…SDRAM(バッファ)、14…SSD(ストレージ)、15…CPU、16…TX、20…受信MAC処理部、21…TOE(データ配信部)、22…受信時バッファ制御部、23…SDRAM制御部、24…DCA(ダイレクトキャッシュアクセス部)、25…SATA、26…DSA(ダイレクトストレージアクセス部)、27…送信時バッファ制御部、28…送信MAC処理部(データ配信部)、29…PCIe、210…キャッシュ制御部 DESCRIPTION OF SYMBOLS 1 ... Distribution apparatus, 3 ... Content storage apparatus, 5 ... Terminal device, 7 ... IP network, 11 ... RX, 12 ... Distribution part (distribution circuit), 13 ... SDRAM (buffer), 14 ... SSD (storage), 15 ... CPU, 16 ... TX, 20 ... Reception MAC processing unit, 21 ... TOE (data distribution unit), 22 ... Reception buffer control unit, 23 ... SDRAM control unit, 24 ... DCA (direct cache access unit), 25 ... SATA, 26 ... DSA (direct storage access unit), 27 ... transmission buffer control unit, 28 ... transmission MAC processing unit (data distribution unit), 29 ... PCIe, 210 ... cache control unit

Claims (6)

配信対象のコンテンツのデータを受信し、バッファに書込む受信時バッファ制御部と、
前記バッファから前記コンテンツのデータを読出し、エンドユーザの端末装置へ配信するデータ配信部と、
前記バッファに記憶されている配信済みの前記コンテンツのデータを、コンテンツを蓄積するストレージに書込むよう指示し、前記ストレージに書込まれた前記コンテンツのデータを前記バッファから消去するキャッシュ制御部と、
前記キャッシュ制御部から書込みが指示された前記コンテンツのデータを前記バッファから読出して前記ストレージに書込むダイレクトキャッシュアクセス部と、
を備える配信回路。
A reception buffer control unit that receives data of content to be distributed and writes it to the buffer;
A data distribution unit that reads the data of the content from the buffer and distributes the data to an end user terminal device;
A cache control unit for instructing to write the data of the distributed content stored in the buffer to a storage for storing the content, and erasing the data of the content written in the storage from the buffer;
A direct cache access unit that reads the data of the content instructed to be written from the cache control unit from the buffer and writes the data to the storage;
A distribution circuit comprising:
前記キャッシュ制御部は、前記コンテンツのデータを蓄積するか否かを前記データに付加された有効期限、前記コンテンツのデータ全体の長さ、または、キャッシュに関する情報に基づいて判断し、蓄積しないと判断した場合に、配信済みの前記コンテンツのデータを前記バッファから消去する請求項1に記載の配信回路。   The cache control unit determines whether to store the content data based on an expiration date added to the data, the entire length of the content data, or information about the cache, and determines not to store the content data. The distribution circuit according to claim 1, wherein, in a case where the content data has been distributed, the data of the distributed content is deleted from the buffer. 前記ダイレクトキャッシュアクセス部は、前記ストレージに書込んだ前記コンテンツのデータの書込み領域を管理する情報を生成し、
前記ダイレクトキャッシュアクセス部により生成された前記情報に基づいて配信対象のコンテンツのデータが前記ストレージに記憶されていると判断されたとき、前記ストレージから配信対象の前記コンテンツのデータを読出して前記バッファに書込むダイレクトストレージアクセス部をさらに備える請求項1または請求項2に記載の配信回路。
The direct cache access unit generates information for managing a data writing area of the content written in the storage,
When it is determined that the content data to be distributed is stored in the storage based on the information generated by the direct cache access unit, the content data to be distributed is read from the storage and stored in the buffer. The distribution circuit according to claim 1, further comprising a direct storage access unit for writing.
コンテンツを蓄積するストレージと、
配信対象のコンテンツのデータを記憶するバッファと、
請求項1から請求項3のいずれか1項に記載の配信回路と、
を備える配信装置。
Storage to store content,
A buffer for storing data of contents to be distributed;
The distribution circuit according to any one of claims 1 to 3,
A distribution device comprising:
前記バッファは、前記ストレージよりもデータ転送速度が速く、
前記ストレージは、前記バッファよりもデータ記憶容量が大きい請求項4に記載の配信装置。
The buffer has a higher data transfer rate than the storage,
The distribution device according to claim 4, wherein the storage has a data storage capacity larger than that of the buffer.
配信回路が実行する配信方法であって、
受信時バッファ制御部が、配信対象のコンテンツのデータを受信し、バッファに書込む一次キャッシュ過程と、
データ配信部が、前記バッファから前記コンテンツのデータを読出し、エンドユーザの端末装置へ配信するデータ配信過程と、
キャッシュ制御部が、前記バッファに記憶されている配信済みの前記コンテンツのデータを、コンテンツを蓄積するストレージに書込むよう指示するキャッシュ制御過程と、
ダイレクトキャッシュアクセス部が、前記キャッシュ制御過程において書込みが指示された前記コンテンツのデータを前記バッファから読出して前記ストレージに書込む二次キャッシュ過程と、
前記キャッシュ制御部が、前記二次キャッシュ過程において前記ストレージに書込まれた前記コンテンツのデータを前記バッファから消去する一次キャッシュ消去過程と、
を有する配信方法。
A distribution method executed by a distribution circuit,
When receiving, the buffer control unit receives the data of the content to be distributed and writes it into the buffer,
A data distribution process in which a data distribution unit reads the data of the content from the buffer and distributes the data to an end user terminal device;
A cache control process in which a cache control unit instructs to write the data of the distributed content stored in the buffer to a storage for storing the content;
A secondary cache process in which the direct cache access unit reads the data of the content instructed to be written in the cache control process from the buffer and writes the data to the storage;
A primary cache erase process in which the cache controller erases the data of the content written in the storage from the buffer in the secondary cache process;
Having a delivery method.
JP2014026685A 2014-02-14 2014-02-14 Distribution circuit, distribution device, and distribution method Pending JP2015154271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014026685A JP2015154271A (en) 2014-02-14 2014-02-14 Distribution circuit, distribution device, and distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014026685A JP2015154271A (en) 2014-02-14 2014-02-14 Distribution circuit, distribution device, and distribution method

Publications (1)

Publication Number Publication Date
JP2015154271A true JP2015154271A (en) 2015-08-24

Family

ID=53896121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014026685A Pending JP2015154271A (en) 2014-02-14 2014-02-14 Distribution circuit, distribution device, and distribution method

Country Status (1)

Country Link
JP (1) JP2015154271A (en)

Similar Documents

Publication Publication Date Title
CN103457993B (en) Local caching device and method for providing content caching service
US8717890B2 (en) Application, usage and radio link aware transport network scheduler
US9781224B2 (en) Content transmitting system, method for optimizing network traffic in the system, central control device and local caching device
CN110022482B (en) Video broadcasting method, video service system and storage medium
CN108063769A (en) A kind of implementation method of content service, device and content delivery network node
CN103455439B (en) Local cache device and for providing the system and method for content caching service
US10404828B2 (en) Streaming apparatus, streaming method, and streaming service system using the streaming apparatus
US12052302B2 (en) Data distribution method and network device
CN110445723A (en) A kind of network data dispatching method and fringe node
WO2017125017A1 (en) Method for adjusting cache content, device, and system
CN102291629B (en) A P2P proxy on-demand system and implementation method applied to IPTV
US8812622B2 (en) Application optimization in a network system
CN104641655A (en) Terminal cache method, terminal and server
US11082474B2 (en) Data buffering method and apparatus in adaptive streaming service
JP2014002634A (en) Communication control system, aggregation server and communication control method
US9294821B2 (en) Scrubbing noise remover and methods for use therewith
KR20220158275A (en) A method for playing content streamed over a network in a player on a client device
JP5729659B2 (en) Media streaming method and media controller
JP2015170323A (en) Distribution device and distribution method
CN105900433B (en) Method and corresponding cache for providing content parts of multimedia content to client terminals
JP2015154271A (en) Distribution circuit, distribution device, and distribution method
KR102519390B1 (en) Method for distributing a content and apparatus thereof
CN104469539A (en) A cooperation buffering method, streaming media managing subsystem and server
KR101971595B1 (en) Method for providing content caching service in adapted streaming service and local caching device thereof
JP2017175334A (en) CONTENT DISTRIBUTION CONTROL DEVICE, CONTENT DISTRIBUTION CONTROL METHOD, AND PROGRAM