JP2009038452A - Communication equipment - Google Patents
Communication equipment Download PDFInfo
- Publication number
- JP2009038452A JP2009038452A JP2007198821A JP2007198821A JP2009038452A JP 2009038452 A JP2009038452 A JP 2009038452A JP 2007198821 A JP2007198821 A JP 2007198821A JP 2007198821 A JP2007198821 A JP 2007198821A JP 2009038452 A JP2009038452 A JP 2009038452A
- Authority
- JP
- Japan
- Prior art keywords
- list
- content data
- content
- container
- hierarchical structure
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
本発明は、ネットワークを介して他の装置と通信する通信装置に関する。 The present invention relates to a communication device that communicates with other devices via a network.
近年、録画された番組(動画像データ)や撮影した写真(静止画像データ)、録音した音楽(音声データ)等を、家庭内ネットワークに接続された他の機器に配信することができるようになってきている。このための技術の1つとして、IPネットワークの機器制御のプロトコルであるUPnP(Universal Plug and Play)があり、特にAV機器向けの仕様として、UPnP AV Architectureという仕様がUPnP Forumで定義されている。業界標準団体であるDLNA(Digital Living Network Alliance)で規定された標準規格も、このUPnPをベースにしており、DLNA規格に則った製品も普及しつつある。 In recent years, it has become possible to distribute recorded programs (moving image data), taken pictures (still image data), recorded music (audio data), etc. to other devices connected to the home network. It is coming. One of the technologies for this purpose is UPnP (Universal Plug and Play), which is a device control protocol for IP networks, and a specification called UPnP AV Architecture is defined in UPnP Forum as a specification especially for AV devices. The standard defined by the industry standard group DLNA (Digital Living Network Alliance) is also based on this UPnP, and products complying with the DLNA standard are becoming widespread.
UPnP AV Architectureでは、被制御機能を実装するサーバとしてUPnP Media Server Device(以下メディアサーバとも称する)が、メディアサーバが提供/送信するコンテンツデータを再生するデバイスとしてUPnP Media Renderer(以下メディアレンダラとも称する)が、メディアサーバを制御する制御機能を実装するクライアントとしてMedia Server Control Point(以下コントロールポイントとも称する)が、其々定義されている。 In UPnP AV Architecture, UPnP Media Server Device (hereinafter also referred to as a media server) is a server that implements a controlled function, and UPnP Media Renderer (hereinafter also referred to as a media renderer) is a device that reproduces content data provided / transmitted by the media server. However, Media Server Control Point (hereinafter also referred to as a control point) is defined as a client that implements a control function for controlling the media server.
特に、メディアサーバが提供可能なコンテンツデータ(音声データや静止画像データ、動画像データ等であるAV(audio/video)データ)のリストを公開する要素技術としてUPnP CDS(Content Directory Service、例えば非特許文献1参照)が定義されている。CDSは、メディアサーバが提供可能なコンテンツデータのリストであるコンテンツリストを提供するサービスであり、UPnP CDSの規格では、コンテンツリストのフォーマットや、コントロールポイントがコンテンツリストを取得する方法等を取り決めている。 In particular, UPnP CDS (Content Directory Service, for example, non-patented) is used as an elemental technology for publishing a list of content data (audio data, still image data, moving image data, etc.) that can be provided by a media server. Reference 1) is defined. CDS is a service that provides a content list that is a list of content data that can be provided by a media server. In the UPnP CDS standard, the format of a content list, a method by which a control point acquires a content list, and the like are determined. .
CDSでは、コンテンツデータを取得するためのURI(Uniform Resource Indicator)やコンテンツのタイトル、録画時間等といったコンテンツデータのメタデータを示す情報等を、階層構造を持つXML(Extensible Markup Language)形式で公開する。このとき、CDSが公開する階層構造は、記憶媒体内に記憶されるコンテンツデータのディレクトリ構造(階層構造)と同様の階層構造とするのが通常である。
しかしながら、例えばデジタルカメラ等において、ユーザが一時に大量の写真を撮影したとすると、1つのディレクトリに多数の写真コンテンツデータが保存される。このとき、ディレクトリ構造と同じ階層構造で公開する装置では、該ディレクトリに対応するグループ(コンテナ:Containerと呼ぶ)に多数のコンテンツデータの情報が並べて公開されることとなる。このため、該CDSを実装する装置は多大な処理時間を必要とすると共に、該コンテンツリストを一時的に記憶するメモリの記憶容量も多量に必要となる。また、公開されたコンテンツリストを取得するコントロールポイントを実装する装置側においても、該リストを取得/処理するのに多大な時間を要すると共に、多大なメモリの一時記憶容量を確保する必要が生じる。 However, for example, in a digital camera or the like, if a user takes a large number of photos at a time, a large number of photo content data is stored in one directory. At this time, in an apparatus that is published in the same hierarchical structure as the directory structure, a large number of pieces of content data information are published side by side in a group (container: Container) corresponding to the directory. For this reason, an apparatus for mounting the CDS requires a large amount of processing time and also requires a large amount of memory capacity for temporarily storing the content list. Further, on the device side that implements the control point for acquiring the published content list, it takes a long time to acquire / process the list, and it is necessary to secure a large temporary storage capacity of the memory.
そこで本発明は、コンテンツデータのリストをネットワーク上に公開する際に使用するリソースを軽減することのできる通信装置を提供することを目的とする。 Accordingly, an object of the present invention is to provide a communication device that can reduce resources used when a list of content data is published on a network.
上記目的を達成するために、本発明の通信装置は、記憶媒体が記憶する1以上のコンテンツデータを、1以上の階層を持つ第1の階層構造で管理する管理手段と、前記管理手段が管理する前記記憶媒体内の前記第1の階層構造を維持しつつ、前記コンテンツデータを第2の階層構造に分類する分類手段と、前記分類手段が分類した前記第2の階層構造に従って、前記コンテンツデータのリストをネットワーク上の他の装置に公開するリスト公開手段と、前記リスト公開手段が公開する前記コンテンツデータの前記リストを一時的に記憶するメモリと、前記リスト公開手段が前記リストとして公開した前記コンテンツデータを、前記他の装置からの要求に応じて前記記憶媒体から読み込む読込手段と、前記読込手段が読み込んだ前記コンテンツデータを前記他の装置に送信する送信手段とを備えることを特徴とする。 In order to achieve the above object, a communication apparatus according to the present invention includes a management unit that manages one or more content data stored in a storage medium in a first hierarchical structure having one or more layers, and the management unit manages Maintaining the first hierarchical structure in the storage medium while classifying the content data into a second hierarchical structure, and the content data according to the second hierarchical structure classified by the classification means A list publishing means for publishing the list of the content data to the other devices on the network, a memory for temporarily storing the list of the content data published by the list publishing means, and the list published by the list publishing means as the list Reading means for reading content data from the storage medium in response to a request from the other device, and the content read by the reading means And a sending means for sending over data to the other device.
本発明によれば、コンテンツデータのリストをネットワーク上に公開する際に使用するリソースを軽減することのできる通信装置を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the communication apparatus which can reduce the resource used when publishing the list of content data on a network can be provided.
以下、本発明の通信装置について、図面を参照しながら説明する。 The communication apparatus of the present invention will be described below with reference to the drawings.
図1は、本発明の通信装置の実施例である記録装置が使用される通信システムの構成を示す図である。通信システム1は、静止画像データや動画像データ等のコンテンツデータをネットワーク越しに公開する記録装置10(通信装置)と、該コンテンツデータを受信し、再生する再生装置20及び30とから構成される。尚、記録装置10と再生装置20及び30とは、其々TCP(Transmission Control Protocol)/IP(Internet Protocol)により通信が行われるネットワーク40により接続される。
FIG. 1 is a diagram showing a configuration of a communication system in which a recording apparatus which is an embodiment of a communication apparatus of the present invention is used. The communication system 1 includes a recording device 10 (communication device) that publishes content data such as still image data and moving image data over a network, and
ここで、本実施例の記録装置10は、例えば撮像して静止画像データ及び動画像データを生成するデジタルカメラである。また、記録装置10は、撮像した静止画像データや動画像データ等のコンテンツデータ、及び該コンテンツデータに関する情報のリスト(各コンテンツデータに関する情報を項目として有するリスト。以下、コンテンツリストとも称する)をネットワーク40越しに公開する機能も有する。
Here, the
再生装置20及び30は、例えばデジタルテレビやHDDプレーヤ等である。再生装置20及び30は、記録装置10からコンテンツデータを受信し、再生して得られる映像信号の映像を、自身の持つ表示部や音声出力部、或いは外部の表示装置や音声出力装置に出力する機能を有する。また、記録装置10が提供可能なコンテンツデータのリストを記録装置10から取得する機能も有する。
The
記録装置10と、再生装置20及び30とを接続するネットワーク40は、例えばLAN(Local Area Network)等である。尚、本実施例では3つの装置でネットワーク40を構成しているが、これに限られるものではなく、記録装置10と再生装置20のみからなる構成や、4以上の装置がネットワーク40に接続されている構成であっても良い。以下、主に記録装置10と再生装置20との間について説明する。
The
ここで、記録装置10及び再生装置20は、其々UPnPに対応したAV(Audio/Video)機器である。UPnPでは、AV機器向けにUPnP AV Architectureという仕様が規定されている。このUPnP AV Architectureではネットワークの基本構成として、デバイス(Device)、サービス(Service)、コントロールポイント(Control Point)が定義されている。デバイスはUPnP AVに対応した装置であり、サービスはデバイスが提供する機能を表す最小単位である。各デバイスは、少なくとも1つのサービスを有する被制御装置である。コントロールポイントは、デバイスが有するサービスを制御し、利用するものである。1つの機器の中に複数のデバイス機能を持たせることもでき、更にコントロールポイントとデバイスとが一体となった装置も考えることができる。
Here, the
UPnP AV Architectureでは、被制御機能を実装し、コンテンツデータを提供するサーバデバイスとしてUPnP Media Service(メディアサーバ)が定義されているが、本通信システム1では、記録装置10がメディアサーバとして機能する。メディアサーバである本実施例の記録装置10は、コンテンツリストの公開を行うサービスであるCDS(Content Directory Service)を提供する。尚、CDSはUPnP AVで定義されている。
In UPnP AV Architecture, UPnP Media Service (media server) is defined as a server device that implements a controlled function and provides content data. In this communication system 1, the
また、UPnP AV Architectureでは、メディアサーバが送信するコンテンツデータを再生するデバイスとして、UPnP Media Renderer(メディアレンダラ)が定義されているが、本通信システム1では再生装置20がメディアレンダラとして機能する。
In UPnP AV Architecture, UPnP Media Renderer (media renderer) is defined as a device for playing back content data transmitted by a media server. However, in this communication system 1, the
更に、UPnP AV Architectureでは、メディアサーバが提供するサービスを制御、利用するコントロールポイントが定義されているが、本通信システム1では、再生装置20がコントロールポイントとして機能する。つまり、再生装置20はコントロールポイント及びメディアレンダラの2つの機能を実現している。
Furthermore, in UPnP AV Architecture, control points for controlling and using services provided by the media server are defined, but in the communication system 1, the
ここで、ユーザがコントロールポイントである再生装置20を使用してCDSを提供する記録装置10のコンテンツリストを取得する場合や、メディアレンダラである再生装置20を使用してメディアサーバである記録装置10からコンテンツデータを取得して再生する場合の一般的な流れについて図2を参照しながら簡単に説明する。
Here, when the user acquires a content list of the
図2(a)は、再生装置20がCDSを提供するメディアサーバである記録装置10からコンテンツリストを取得する際の処理の流れを示す図である。
まず、コントロールポイントである再生装置20はCDSを提供する記録装置10に対し、コンテンツリストの取得を要求するBrowseアクション(閲覧要求)を送信する(S21)。すると、CDSを提供する記録装置10はその応答として、コンテンツリストをBrowse Responseとして送信する(S22)。これにより再生装置20は、記録装置10が提供可能なコンテンツデータの情報(例えば、タイトル、クラス、URI(Uniform Resource Identifier)情報等)を取得することができる。
FIG. 2A is a diagram showing a flow of processing when the
First, the
ここで、CDSは階層構造でコンテンツリストを提供し、通常、一度の応答の中では、1つの階層内に含まれる子階層(ディレクトリに相当、後述するコンテナ)やコンテンツデータの情報(後述するアイテム)のみを記録装置10は送信する。本実施例では、1つのグループ(後述するコンテナ)内に含まれる項目(後述するアイテム)の数を予め定められた一定数に抑えるようにしており、これにより、コンテンツリストの提供に要するメモリや処理負荷等のリソースを軽減することができる。CDSが提供するコンテンツリストの構造等については、後に詳述する。 Here, the CDS provides a content list in a hierarchical structure. Normally, in a single response, a child hierarchy (corresponding to a directory, a container to be described later) included in one hierarchy and content data information (item to be described later) ) Only. In the present embodiment, the number of items (items to be described later) included in one group (container to be described later) is limited to a predetermined number. Resources such as processing load can be reduced. The structure of the content list provided by the CDS will be described in detail later.
尚、図2(a)の例ではコンテンツリストを取得する方法としてBrowseアクションを使用したが、再生装置20はSearchアクションでもコンテンツリストを記録装置10から取得することが可能である。以下、再生装置20がコンテンツリストを取得するアクションとしてBrowseアクションを使用するものとして説明を行うが、Searchアクションを使用しても良い。
In the example of FIG. 2A, the Browse action is used as a method for acquiring the content list. However, the
次に、再生装置20が再生のためにコンテンツデータを取得する際の処理の流れについて、図2(b)を参照しながら説明する。図2(b)は、再生装置20が記録装置10からコンテンツデータを取得する際の処理の流れを示す図である。
Next, the flow of processing when the
再生装置20は、図2(a)を参照して説明した処理により取得したコンテンツリストから、1つのコンテンツデータを選択する。メディアレンダラ且つコントロールポイントである再生装置20は、コンテンツリストのうち、選択されたコンテンツデータの項目に記載されたURIに向けて、所定の通信プロトコル(図2(b)の例ではHTTP(HyperText Transport Protocol) GET)によりコンテンツデータの取得要求を送信する(S23)。この応答として、メディアサーバである記録装置10は、当該コンテンツデータの送信を行う(S24)。これにより、再生装置20は取得したコンテンツデータを再生することができる。尚、この通信プロトコルはHTTPに限られるものではなく、RTP(Realtime Transport Protocol)等を使用することもできる。
The
次に、図3を参照しながら記録装置10の構成を説明する。図3は、記録装置10の構成を示す図である。
記録装置10は、制御部101と、撮像部102と、コンテンツ記録部103と、記憶媒体104と、コンテンツ管理部105と、仮想分類部106と、コンテンツ公開部107と、RAM108と、通信部109と、コンテンツ転送部111と、コンテンツ取得部112とから構成される。
Next, the configuration of the
The
制御部101は、記録装置10を構成する各構成要素を統括制御する。特に、例えば通信部109で受信した再生装置20からのアクション(要求)に応じてコンテンツリストの作成及び送信やコンテンツデータの伝送等を行う際に、コンテンツ管理部105、コンテンツ転送部111等の各構成に対して制御を行う。
The
撮像部102は、被写体像の光を、入射光量に応じた電気的な画素信号に変換し、この電気的な画素信号を、デジタル信号に変換して所定の符号化方式(JPG、BMP、MPEG−2等)の画像データを作成する。この画像データは静止画像データであっても動画像データであっても構わないが、本実施例では主に静止画像データであるものとする。
The
コンテンツ記録部103は、撮像部102が被写体の撮像により作成した画像データを、記憶媒体104に記録する。
記憶媒体104には、撮像部102で撮像して作成された複数の画像データ等の、複数のコンテンツデータが記憶される。該コンテンツデータは、撮像部102で撮像された静止画像データ、動画像データ等の他、音声データ等も含まれる。尚、記憶媒体104は、例えばHDD(Hard Disk Drive)やメモリカード等であり、内蔵型の記憶媒体であっても、取り外し可能な可搬性の記憶媒体であってもよい。
The
The
コンテンツ管理部105は、記憶媒体104内に記憶される各コンテンツデータの管理を行う。特に、各コンテンツデータのファイル名、記録時刻、記録時間、その他ジャンル情報等のメタデータの管理も行い、必要に応じて仮想分類部106に渡す。このとき、記憶媒体104内の各コンテンツデータはディレクトリ(フォルダと称呼することもある)と呼ばれる階層構造を持つグループで管理される。この階層構造では、各ディレクトリは、0以上のファイル(つまりコンテンツデータ)及びディレクトリを子供として持つグループとなる。本実施例のコンテンツ管理部105が管理するディレクトリ構造については、図4を参照しながら後述する。
The
仮想分類部106は、コンテンツ管理部105が管理するディレクトリ構造を元に、コンテンツリストの階層構造を作成する。CDSとして機能するコンテンツ公開部107は、仮想分類部106が分類した階層構造に従って、このコンテンツリストを公開することとなる。
The
CDSでは、コンテンツリストをコンテナ(container)とアイテム(item)とによってコンテンツデータの情報を管理する。1つのアイテムは1つのコンテンツデータに対応し、XML要素として定義される。一方コンテナは、アイテム及びコンテナを子供として持つことのできるXML要素として定義されている。即ち、一般的なファイルシステム(ディレクトリ構造)に喩えれば、コンテナはディレクトリに相当し、アイテムはファイルに相当する。 In CDS, content data information is managed by a container (container) and an item (item). One item corresponds to one content data and is defined as an XML element. On the other hand, a container is defined as an XML element that can have items and containers as children. That is, in a typical file system (directory structure), a container corresponds to a directory and an item corresponds to a file.
本実施例の仮想分類部106は、1つのコンテナ内の子供の(コンテナ及びアイテム)数が予め定められた一定数以下となるように分類を行って、コンテンツリストの階層構造(コンテナ構造)を作成する。特に、1つのコンテナのコンテンツ数が多数になる場合(所定数を越える場合)には、これを複数のコンテナに分割する。尚、分割する方法としては、予め子定数以下とよるようにしても良いし、記録時間の範囲を指定したり、ジャンル情報等を利用可能であれば、これらの情報を用いてコンテンツ数路絞りこんだりすることもできる。本実施例では、撮影日時情報で絞り込んだ後、予め定められた子定数以下となるように分類を行うものとする。
The
尚、仮想分類部106が複数のコンテナに分割した場合であっても、コンテンツ管理部105が管理する記憶媒体104内の階層構造は維持される。つまり、コンテンツデータのディレクトリ構造は、コンテンツリストの階層構造から独立して管理される。仮想分類部106が作成するコンテナ構造の詳細については、図5を参照しながら後述する。
Even when the
コンテンツ公開部107は、CDSとしてコンテンツリストを公開する機能を有し、再生装置20からのBrowseアクション(図2(a)のS21)等の要求に応じて、階層構造でコンテンツリストを送信する。この階層構造は、仮想分類部106が分類したコンテナ構造である。尚、コンテンツ公開部107が公開するコンテンツリストの詳細については、図6を参照しながら後述する。
The
RAM(Random Access Memory)108は、読込み及び書込みが可能な、一時的にデータを保持するための揮発性の記憶媒体である。特にRAM108は、コンテンツ公開部107がコンテンツリストを公開する際に、該コンテンツリストを一時的に記憶する機能を持つ。
A RAM (Random Access Memory) 108 is a volatile storage medium that can be read and written and temporarily holds data. In particular, the
通信部109は、ネットワーク40でTCP/IPにより通信するための通信インタフェースであり、再生装置20から送信される、コンテンツリストの閲覧を要求するBrowseアクション(図2(a))や、コンテンツデータの取得要求(図2(b)のS23)は、通信部109で受信する。また同様に、コンテンツリストを含むBrowse Response(図2(a)のS22)や、送信するコンテンツデータ(図2(b)のS24)は、通信部109から再生装置20へ送信される。
The
コンテンツ転送部111は、通信部109で受信したコンテンツデータの取得要求(図2(b)のS23)に応じて、要求されたコンテンツデータを伝送する処理を行う。このとき伝送するコンテンツデータは、コンテンツ取得部112が記憶媒体104から読み込む。
In response to the content data acquisition request (S23 in FIG. 2B) received by the
続いて、本実施例の再生装置20における、記憶媒体104内のコンテンツデータが管理されるディレクトリ構造と、コンテンツリストの階層構造との関係について、図4及び図5を参照しながら説明する。
Next, the relationship between the directory structure in which the content data in the
図4は、コンテンツ管理部105が記憶媒体104内のコンテンツデータを管理する際のディレクトリ構造の例を示す図である。図4のディレクトリ構造400の例では、ROOTディレクトリ401(根)は、“DCIM”という名前のディレクトリ402を子供として持つ。更に、DCIMディレクトリ402は、“100TSB”という名前のディレクトリ403、及び“101TSB”という名前のディレクトリ404を子供に持つ。
FIG. 4 is a diagram illustrating an example of a directory structure when the
“100TSB”という名前のディレクトリ403は、静止画像のコンテンツデータである“写真001.jpg”という名前の画像ファイル403A、“写真002.jpg”という名前の画像ファイル403B、“写真xxx.jpg”という名前の画像ファイル403Mを子供に持つ。このとき、ディレクトリ403が子供に持つことのできる画像ファイル数には制限は無く、多いときには数千以上にもなることがある。
A
同様に、“101TSB”という名前のディレクトリ404は、静止画像のコンテンツデータである“写真yyy.jpg”という名前の画像ファイル404A、“写真zzz.jpg”という名前の画像ファイル404Nを子供に持つ。ディレクトリ404についても同様に、子供に持つことのできる画像ファイル数には特に制限は無い。
Similarly, the
仮想分類部106は、ディレクトリ構造400で管理されるファイル/ディレクトリに対して、各グループ(ディレクトリ)の子供の数が一定数以下となるように分類してコンテンツリストのコンテナ構造を作成する。以下、仮想分類部106は、各グループの子供が10以下となるように分類するものとして説明を行う。
The
図5は、仮想分類部106が分類するコンテンツリストのコンテナ構造の例を示す図である。図5のコンテンツリスト500では、コンテナ501をルートコンテナとしている。このコンテナ501は、図4に示したディレクトリ構造400内のディレクトリ402(名前:“DCIM”)に対応する。
FIG. 5 is a diagram illustrating an example of a container structure of a content list classified by the
コンテナ501は、“101TSB”という名前のコンテナ502、及び“101TSB”という名前のコンテナ503を子供に持つ。コンテナ502は図4に示したディレクトリ構造400内のディレクトリ403(名前:100TSB)に、コンテナ503は図4に示したディレクトリ構造400内のディレクトリ404(名前:101TSB)に、其々対応する。
The
仮想分類部106は、ディレクトリ403内に格納されていたファイル403A乃至403Mが所定数(たとえば10)を超えている場合には、これらのファイルに対応するアイテムを其々子供として持つと共に、子供の数が該所定数以下となるように、コンテナ502−1乃至502−Mを作成する。写真等の静止画像データの場合には、各コンテンツデータ(ファイル)は撮像日時(作成日時)の情報をメタデータとして持っていることが多い。本実施例の仮想分類部106は、撮像日で一時分類すると共に、撮像日時で分類した後にも所定数を超えている場合には、これが所定数以下となるように分類している。
When the number of
より具体的には、“20070101−1”という名前のコンテナ502−1、及び“20070101−2”という名前のコンテナ502−2は、撮像日2007年1月1日のコンテンツデータに対応するアイテムを子供として持つものであり、其々のコンテナが子供として持つアイテム数が、予め定められた所定数である10以下となるように分類されたものである。 More specifically, the container 502-1 named “20070101-1” and the container 502-2 named “20070101-2” store items corresponding to the content data of the imaging date January 1, 2007. The items that are held as children are classified so that the number of items that each container has as children is 10 or less, which is a predetermined number.
図5の例では、コンテナ502−1は、コンテンツデータ403A(“写真001.jpg”)に対応するアイテム502−1a、コンテンツデータ403B(“写真002.jpg”)に対応するアイテム502−1b、図4に図示しないコンテンツデータ(“写真010.jpg”)に対応するアイテム502−1mを子供として持ち、これら子供の数は10以下となる。同様に、コンテナ502−2は、図4に図示しないコンテンツデータ(“写真011.jpg”)に対応するアイテム502−2a、図4に図示しないコンテンツデータ(“写真01x.jpg”)に対応するアイテム502−2nを子供として持ち、これらの子供の数は10以下となる。
In the example of FIG. 5, the container 502-1 includes an item 502-1a corresponding to the
コンテナ502−3(名前は“20070115−1”)、502−M(名前は“xxxxxxxx−x”)、及びコンテナ503(先述の通りディレクトリ404に対応、名前は“101TSB”)の子供であるコンテナ503−1(名前は“20070202−1”)についても、コンテナ502−1及び502−2と同様、これら子供の数が所定数以下となるように、仮想分類部106が分類する。
Containers that are children of containers 502-3 (name is “200701115-1”), 502-M (name is “xxxxxxxx-x”), and container 503 (corresponding to the
図6は、仮想分類部106が作成したコンテナ構造に従って、コンテンツ公開部107が公開するコンテンツリストの例を示す図である。尚、図6の例では、コンテンツリスト全体を示しているが、再生装置20から受信したBrowse要求で指定されたコンテナやアイテムだけをBrowse Responseとして送信することができる。
FIG. 6 is a diagram illustrating an example of a content list published by the
先述したように、CDSとして動作するコンテンツ公開部107は、コンテンツリスト500をXML形式で公開する。XMLの各要素(Element)がコンテナ(ディレクトリに対応)及びアイテム(コンテンツデータに対応)に対応する。コンテナ構造は、XML要素間の親子関係として反映される。
As described above, the
図6の例では、container要素として記載されるコンテナ501は、id(id属性(Attribute)として記載)として“0”を値として持ち、クラス(子要素であるupnp:class要素として記載)はobject.containerとなっている。更に、コンテナ501に対応するcontainer要素は、コンテナ502及び503に対応するcontainer要素2を子要素として持っており、これによりコンテナ501がコンテナ502及び503を子供として持っていることがわかる。
In the example of FIG. 6, a
conteiner要素として表現されるコンテナ502は、id(id属性として記載)として“1”を値として持ち、親のID(parentID属性として記載)が“0”であること、及び子供の数(childCount属性として記載)が10であることがわかる。また、該コンテナ502の名前が“100TSB”であること(子要素であるdc:title要素で記載)、及びクラス(子要素であるupnp:class要素で記載)がobject.containerであることもわかる。
The
更に、コンテナ502を示すcontainer要素は、コンテナ502−1に対応するcontainer要素及びコンテナ502−2に対応するcontainer要素を其々子要素として有している。これにより、コンテナ502はコンテナ502−1及び502−2を子供としていることがわかる。
Further, a container element indicating the
container要素として表現されるコンテナ502−1は、id(id属性として記載)として“2”を値として持ち、親のIDの値(prentID属性として記載)が“1”であり、子供の数(childCount属性として記載)が10であることを示している。更に、該コンテナ502−1の名前(子要素であるdc:title要素で記載)が“20070101−1”であること、及びクラス(子要素であるupnp:class要素で記載)がobject.containerであることも示している。 The container 502-1 represented as a container element has “2” as a value of id (described as an id attribute), a parent ID value (described as a patentID attribute) of “1”, and the number of children ( It is shown that “childCount attribute” is 10. Further, the name of the container 502-1 (described by a dc: title element that is a child element) is “20070101-1”, and a class (described by an upnp: class element that is a child element) is object. It also indicates that it is a container.
更に、コンテナ502−1を示すcontainer要素は、アイテム502−1aに対応するitem要素、アイテム502−1bに対応するitem要素、アイテム502−1mに対応するitem要素を子要素としてもっており、これにより、コンテナ502−1がアイテム502−1a、502−1b、502−1mを其々子供として持つことがわかる。 Further, the container element indicating the container 502-1 has an item element corresponding to the item 502-1a, an item element corresponding to the item 502-1b, and an item element corresponding to the item 502-1m as child elements. It can be seen that the container 502-1 has items 502-1a, 502-1b, and 502-1m as children, respectively.
アイテム502−1aを示すitem要素502−1aは、id(id属性として記載)として“2−1”を値として持ち、親のIDの値(prentID属性として記載)が“2”であることを示している。更に、該アイテム502−1aの名前(子要素であるdc:title要素として記載)が“写真001”であること、撮像日時(同じく子要素であるdc:date要素として記載)が2007−01−01T073020であること、クラス(子要素であるupnp:class要素として記載)がobject.item.imageItemであること、対応するコンテンツデータ取得のための通信プロトコル情報(子要素であるres要素内protocolInfo属性として記載)が“http−get:*:image/jpg:*”であること、対応するコンテンツデータを取得するためのURI(同じくres要素内の子テキストとして記載)が“http://192.168.0.1:58849/写真001.jpg”であること、がわかる。
The item element 502-1a indicating the item 502-1a has “2-1” as a value of id (described as an id attribute), and the value of the parent ID (described as a patentID attribute) is “2”. Show. Furthermore, the name of the item 502-1a (described as a child element dc: title element) is “
同様に、アイテム502−1bを示すitem要素502−1bは、id(id属性として記載)として“2−2”を値として持ち、親のIDの値(prentID属性として記載)が“2”であることを示している。更に、該アイテム502−1bの名前(子要素であるdc:title要素として記載)が“写真002”であること、撮像日時(同じく子要素であるdc:date要素として記載)が2007−01−01T073025であること、クラス(子要素であるupnp:class要素として記載)がobject.item.imageItemであること、対応するコンテンツデータ取得のための通信プロトコル情報(子要素であるres要素内protocolInfo属性として記載)が“http−get:*:image/jpg:*”であること、対応するコンテンツデータを取得するためのURI(同じくres要素内の子テキストとして記載)が“http://192.168.0.1:58849/写真002.jpg”であること、がわかる。 Similarly, the item element 502-1b indicating the item 502-1b has “2-2” as a value of id (described as an id attribute), and the value of the parent ID (described as a patentID attribute) is “2”. It shows that there is. Furthermore, the name of the item 502-1b (described as a child element dc: title element) is “Photo 002”, and the imaging date (also described as a child element dc: date element) is 2007-01-. 01T073025, and the class (described as a child element of upnp: class element) is object. item. imageItem, the communication protocol information for acquiring the corresponding content data (described as a protocolInfo attribute in the res element as a child element) is “http-get: *: image / jpg: *”, and the corresponding content It can be seen that the URI for obtaining the data (also described as a child text in the res element) is “http://192.168.0.1:58849/photo002.jpg”.
記載を省略している他のコンテナ、アイテムについても、コンテンツリスト500内には同様の方法でコンテンツデータの情報が記載される。
図6を見ても明らかなように、CDSでは1つのアイテムやコンテナに係る記載量が多いため、記憶媒体104内に記憶される全コンテンツデータについてのコンテンツリストを一度に送信しようとすると、RAM108に多大な一時記憶容量が必要となると共に、CPU等でも多くの計算処理等が必要となり、記憶装置10に大きなリソースを持たせる必要がある。しかしながら、本実施例では、1つのコンテナ(グループ)に含まれる子供の数を所定数以下になるように仮想分類部106で分類し、各コンテナ(グループ)毎に公開することができるため、比較的小さなリソースでも、コンテンツリストをCDSとして公開することができるようになる。
For other containers and items whose description is omitted, content data information is described in the
As is apparent from FIG. 6, since there is a large amount of description related to one item or container in the CDS, if it is attempted to transmit a content list for all content data stored in the
続いて、図7を参照しながら本実施形態にかかる記録装置10のコンテンツリスト500の作成及び送信の処理の流れについて説明する。
通信部109で再生装置30からの閲覧要求(Browseアクション)を受信すると(S701)、制御部101による制御の下、コンテンツ管理部105が管理するディレクトリ構造400に対して、仮想分類部106で各コンテナ内の子供(アイテム及びコンテナ)の数が一定数以下となるように分類し、階層構造を持つコンテナ構造を作成する(例えば、図5参照)。このとき、コンテンツ管理部105が管理する記憶媒体104内のディレクトリ構造400は維持されたままであり、ディレクトリ構造400で1つのグループであったものがコンテンツリスト500のコンテナ構造で複数に分割されたとしても、ディレクトリ構造400は変化させない。
Next, the flow of processing for creating and transmitting the
When the
コンテンツ公開部107は、仮想分類部106が作成したコンテナ構造に従って、図6に例を示したXMLの記載によりコンテンツリスト500を階層構造で公開する(S703)。このとき、先述したように、1つのコンテンツ下の子供(コンテナ/アイテム)だけを送信でき、この子供の数を所定数以下とすることができるので、記録装置10が比較的小さなリソースしか持たない場合であっても、実装することができるようになる。
The
加えて、再生装置20側においても、コンテンツリスト500の取得時間、処理時間、必要となる記憶容量等の減少を図ることができる。
また、図7に示したように、Browseアクション受信時にコンテナ構造の仮想分類を行うことにより、例えばコンテンツデータが新たに追加になっていた場合等であっても柔軟に対応することができるようになる。
In addition, on the
Also, as shown in FIG. 7, by performing virtual classification of the container structure at the time of receiving the Browse action, for example, even when content data is newly added, it is possible to flexibly cope with it. Become.
更に、本実施例のコンテンツ公開部107は撮像部102で撮像した静止画像データ等をコンテンツデータとして公開している。特に静止画像はデータ量も比較的少なく、数千の数のデータを記憶媒体104に記憶できることも少なくない。このような場合には、コンテンツ公開部107が公開するコンテンツリストの項目(アイテム)も同じ数だけ必要となるため、本実施例のように1つのグループに含まれるアイテム/コンテナの数を所定数以下とする効果は顕著となる。
Further, the
更に、音楽データ等であれば、アルバム名、アーティスト名、ジャンル等の各種情報を利用して多段階に分類して1つのグループ内の項目数を少なくすることも可能ではあるが、静止画像データの場合には撮像日時以外には分類に適した情報が特にないため、このように属性情報だけを使って分類してもグループ内の項目数を飛躍的に減らすのは困難である。本実施例では、撮像日時で分類したグループ(コンテナ)内の項目数が所定数を超えた場合には、強制的に別のグループ(コンテナ)を作成するようにしているため、一度に公開するコンテンツリスト500の項目数を確実に減らすことができる。
Furthermore, in the case of music data or the like, it is possible to classify in multiple stages using various information such as album name, artist name, genre, etc. to reduce the number of items in one group, but still image data In this case, since there is no information suitable for classification other than the imaging date and time, it is difficult to dramatically reduce the number of items in the group even if classification is performed using only attribute information. In the present embodiment, when the number of items in the group (container) classified by the shooting date and time exceeds a predetermined number, another group (container) is forcibly created, so that it is released at a time. The number of items in the
尚、図7の例ではBrowse要求受信時に仮想分類部106がコンテナ構造の仮想分類を行っていたが、これに限られるものではなく、例えば予め分類を行うようにしていても良い。その場合、Browseアクション受信時に分類作業を行わずに済むため、再生装置20に対する応答性を向上させることができるようになる。
In the example of FIG. 7, the
1・・・通信システム
10・・・記録装置
20、30・・・再生装置
40・・・ネットワーク
101・・・制御部
102・・・撮像部
103・・・コンテンツ記録部
104・・・記憶媒体
105・・・コンテンツ管理部
106・・・仮想分類部
107・・・コンテンツ公開部
108・・・RAM
109・・・通信部
111・・・コンテンツ転送部
112・・・コンテンツ取得部
400・・・ディレクトリ構造
401、402、403、404・・・ディレクトリ
403A、403B、403M、404A、404N・・・ファイル(コンテンツデータ)
501、502、502−1、502−2、502−3、502−M・・・コンテナ
502−1a、502−1b、502−1m、502−2a、502−2n・・・アイテム
DESCRIPTION OF SYMBOLS 1 ...
109:
501, 502, 502-1, 502-2, 502-3, 502-M... Container 502-1a, 502-1b, 502-1m, 502-2a, 502-2n,... Item
Claims (6)
前記管理手段が管理する前記記憶媒体内の前記第1の階層構造を維持しつつ、前記コンテンツデータを第2の階層構造に分類する分類手段と、
前記分類手段が分類した前記第2の階層構造に従って、前記コンテンツデータのリストをネットワーク上の他の装置に公開するリスト公開手段と、
前記リスト公開手段が公開する前記コンテンツデータの前記リストを一時的に記憶するメモリと、
前記リスト公開手段が前記リストとして公開した前記コンテンツデータを、前記他の装置からの要求に応じて前記記憶媒体から読み込む読込手段と、
前記読込手段が読み込んだ前記コンテンツデータを前記他の装置に送信する送信手段と
を備えることを特徴とする通信装置。 Management means for managing one or more content data stored in the storage medium in a first hierarchical structure having one or more hierarchies;
Classification means for classifying the content data into a second hierarchical structure while maintaining the first hierarchical structure in the storage medium managed by the management means;
List publishing means for publishing the list of content data to other devices on the network according to the second hierarchical structure classified by the classification means;
A memory for temporarily storing the list of the content data published by the list publication means;
Reading means for reading the content data published as the list by the list publishing means from the storage medium in response to a request from the other device;
A communication device comprising: transmission means for transmitting the content data read by the reading means to the other device.
を特徴とする請求項1記載の通信装置。 2. The communication according to claim 1, wherein the classifying unit classifies the second hierarchical structure so that the number of the content data to be released at once as the list by the list publishing unit is a predetermined number or less. apparatus.
を特徴とする請求項1記載の通信装置。 The classification means includes a plurality of pieces of one or more pieces of content data managed as one group in the first hierarchical structure in the second hierarchical structure so that the number of content data in each group is a predetermined number or less. The communication apparatus according to claim 1, wherein the communication apparatus is classified as a group.
を更に備え、
前記記憶媒体が記憶するコンテンツデータは、少なくとも前記撮像手段が撮像する画像データを含むこと
を特徴とする請求項1記載の通信装置。 It further comprises imaging means for generating image data by imaging,
2. The communication apparatus according to claim 1, wherein the content data stored in the storage medium includes at least image data captured by the imaging unit.
を更に備え、
前記分類手段は、前記受信手段が前記閲覧要求を前記他の装置から受信した際に前記第2の階層構造に分類すること
を特徴とする請求項1記載の通信装置。 Receiving means for receiving a browsing request for requesting browsing of the list from the other device;
The communication device according to claim 1, wherein the classification unit classifies the browsing request into the second hierarchical structure when the receiving unit receives the browsing request from the other device.
を更に備え、
前記リスト公開手段は、前記分類手段が予め分類した前記リストを前記他の装置に公開すること
を特徴とする請求項1記載の通信装置。 Receiving means for receiving a browsing request for requesting browsing of the list from the other device;
2. The communication apparatus according to claim 1, wherein the list disclosing means discloses the list classified in advance by the classification means to the other apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007198821A JP2009038452A (en) | 2007-07-31 | 2007-07-31 | Communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007198821A JP2009038452A (en) | 2007-07-31 | 2007-07-31 | Communication equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009038452A true JP2009038452A (en) | 2009-02-19 |
Family
ID=40440024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007198821A Pending JP2009038452A (en) | 2007-07-31 | 2007-07-31 | Communication equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009038452A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010109768A1 (en) * | 2009-03-27 | 2010-09-30 | パナソニック株式会社 | Network control device, network control system, network control method, and program |
JP2011049981A (en) * | 2009-08-28 | 2011-03-10 | Canon Inc | Image processing apparatus, method of controlling the same, and program |
JP2012129808A (en) * | 2010-12-15 | 2012-07-05 | Canon Inc | Image processing apparatus, image processing method, and program |
-
2007
- 2007-07-31 JP JP2007198821A patent/JP2009038452A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010109768A1 (en) * | 2009-03-27 | 2010-09-30 | パナソニック株式会社 | Network control device, network control system, network control method, and program |
JP5389158B2 (en) * | 2009-03-27 | 2014-01-15 | パナソニック株式会社 | Network control device, network control system, network control method and program |
JP2011049981A (en) * | 2009-08-28 | 2011-03-10 | Canon Inc | Image processing apparatus, method of controlling the same, and program |
US8407748B2 (en) | 2009-08-28 | 2013-03-26 | Canon Kabushiki Kaisha | Image processing apparatus, control method thereof |
US8966558B2 (en) | 2009-08-28 | 2015-02-24 | Canon Kabushiki Kaisha | Content processing apparatus and control method thereof for performing transmission and control of content through a communication path |
JP2012129808A (en) * | 2010-12-15 | 2012-07-05 | Canon Inc | Image processing apparatus, image processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6566330B2 (en) | Video editing method | |
JP4531696B2 (en) | Multimedia information sharing system | |
US9003301B2 (en) | Image management method and system using thumbnail in DLNA system | |
JP5540086B2 (en) | Synchronized distributed media assets | |
US7689510B2 (en) | Methods and system for use in network management of content | |
JP5027923B2 (en) | How to synchronize content between a content directory service and a control point | |
US7779097B2 (en) | Methods and systems for use in network management of content | |
US20070118606A1 (en) | Virtual content directory service | |
US20090282060A1 (en) | Representing digital content metadata | |
MXPA04007314A (en) | Image file container. | |
US8515938B2 (en) | Information processing system, collecting server, information processing method and program | |
KR100765745B1 (en) | Method and apparatus for creating MPV file, and storing media therefor | |
JP2008021293A (en) | Content management method and apparatus | |
JP2007511829A (en) | Content-based partial download | |
JP2004348455A (en) | Information processor, information processing method, and computer program | |
JP2009038452A (en) | Communication equipment | |
JP2010503063A (en) | Method and apparatus for multi-format data exchange | |
JP2007188380A (en) | Image processor and program | |
WO2006106606A1 (en) | Medium management device and medium management method | |
JP2008542901A (en) | Portable storage medium, host device, and method of accessing contents of portable storage medium by host device | |
WO2007148304A2 (en) | Representing digital content metadata | |
JP2009140257A (en) | Communication apparatus | |
JP2010191706A (en) | Distributed processing method in web system and distributed processing system in web system | |
JP2015049770A (en) | Terminal recommendation device, terminal recommendation method, and terminal recommendation program | |
JP5263399B2 (en) | Content upload system, content upload method, content transmission / reception device |