[go: up one dir, main page]

JP2003022203A - Content analysis device, content analysis method, program, and recording medium therefor - Google Patents

Content analysis device, content analysis method, program, and recording medium therefor

Info

Publication number
JP2003022203A
JP2003022203A JP2002120681A JP2002120681A JP2003022203A JP 2003022203 A JP2003022203 A JP 2003022203A JP 2002120681 A JP2002120681 A JP 2002120681A JP 2002120681 A JP2002120681 A JP 2002120681A JP 2003022203 A JP2003022203 A JP 2003022203A
Authority
JP
Japan
Prior art keywords
content
data
analysis target
analysis
target data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002120681A
Other languages
Japanese (ja)
Inventor
Naotaka Fujioka
直孝 藤岡
Tetsuji Sumida
哲二 澄田
Daisaku Suzuki
大作 鈴木
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002120681A priority Critical patent/JP2003022203A/en
Publication of JP2003022203A publication Critical patent/JP2003022203A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

(57)【要約】 【課題】 コンテンツデータを効率的にキャッシュする
コンテンツ解析装置、コンテンツ解析方法、プログラム
及びその記録媒体を提供する。 【解決手段】 コンテンツ分離手段は、取得したコンテ
ンツデータを解析対象データに分離し、コンテンツ管理
手段は分離された解析対象データをそれぞれ独立したキ
ャッシュデータとして管理するコンテンツ解析装置、コ
ンテンツ解析方法、プログラム及びその記録媒体を提供
する。
(57) [Summary] [PROBLEMS] To provide a content analysis device, a content analysis method, a program, and a recording medium for efficiently caching content data. A content separation unit separates acquired content data into analysis target data, and a content management unit manages the separated analysis target data as independent cache data, a content analysis method, a program, and a program. The recording medium is provided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークに接
続される携帯型情報端末、家電製品、パソコン等に備え
られるコンテンツ解析装置、コンテンツ解析方法、プロ
グラム及びその記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a content analysis device, a content analysis method, a program, and a recording medium for a portable information terminal, a home electric appliance, a personal computer or the like connected to a network.

【0002】[0002]

【従来の技術】近年、ネットワークの拡大と共に、様々
なクライアントがネットワークに接続されるようになっ
た。一例として、家電製品をネットワーク接続する家電
ネットワークを挙げることができる。当該家電ネットワ
ークは、家庭内の冷蔵庫等の家電製品をクライアントと
してネットワークに接続し、当該家電製品間で相互に情
報を交換することで協調動作をさせるというものであ
る。例えば、携帯電話やリモートコントローラーを利用
して、ネットワークに接続される家電製品の電源をON
/OFFしたり、消費電力を調整したりするのも上記家
電ネットワークを利用した協調動作である。
2. Description of the Related Art In recent years, with the expansion of networks, various clients have come to be connected to the networks. An example is a home appliance network that connects home appliances to a network. The home electric appliance network connects home electric appliances such as a refrigerator in the home as a client to the network, and exchanges information between the home electric appliances to perform cooperative operation. For example, using a mobile phone or remote controller, turn on the power of home appliances connected to the network.
Turning on / off and adjusting power consumption are also cooperative operations using the home appliance network.

【0003】このようなネットワークでは、各クライア
ント間で特定の通信プロトコルを使用して制御を行うも
のもあるが、この場合、家電製品と携帯電話のような異
なる業界や異なる通信機能を持ったクライアント間での
情報交換が難しいという問題がある。その問題を解決す
る方法として、XML(eXtensible Markup Language)
やHTML(Hyper Text Markup Language)に代表され
るコンテンツデータを用いて相互の通信を実現する。
In such a network, some clients perform control using a specific communication protocol, but in this case, clients having different industries such as home electric appliances and mobile phones and having different communication functions are used. There is a problem that it is difficult to exchange information between them. XML (eXtensible Markup Language) is a method to solve the problem.
And mutual communication is realized using content data represented by HTML (Hyper Text Markup Language).

【0004】この方法では、上記XMLやHTML等の
共通のフォーマットを有するコンテンツデータを送受信
することで、各クライアントに依存することなく、協調
動作や情報の伝達を実現するのである。
In this method, by transmitting / receiving the content data having a common format such as XML or HTML, the cooperative operation and the information transmission can be realized without depending on each client.

【0005】このようなコンテンツデータを扱うクライ
アントは、コンテンツ解析装置を具備することにより、
コンテンツを解析する機能を備えている。各クライアン
トは、このコンテンツ解析装置を用いてコンテンツデー
タを解釈し、当該クライアントに必要な処理を行うので
ある。
A client that handles such content data is equipped with a content analysis device,
It has a function to analyze contents. Each client interprets the content data using this content analysis device and performs the processing required by the client.

【0006】例えば、最も一般的なコンテンツ解析装置
として、携帯電話に備えられるブラウザがある。当該ブ
ラウザは、例えばインターネット上のサーバより取得し
たコンテンツデータ(HTML)を解析(解釈)した
後、その解釈に則り表示を行う。
[0006] For example, as the most common content analysis device, there is a browser included in a mobile phone. The browser analyzes (interprets) content data (HTML) acquired from a server on the Internet, for example, and then displays the content according to the interpretation.

【0007】また、例えば各家電を操作する際に、上記
XML等にて記載された命令(コンテンツデータ)を、
ネットワークを介して送信するといった方法もある。こ
こで、例えば当該命令とは、“電源=OFF”などであ
る。当該命令を受信したクライアントに備えられたコン
テンツ解析装置は、当該命令を解析した後、当該解釈に
基づいて各クライアント固有の命令に変換し、制御を行
うのである。つまり、“電源=OFF”という命令を送
信するのみで、上記コンテンツ解析装置を備えたクライ
アントは機種に関係なく電源をOFFにするのである。
これにより、多種多様のクライアントを同一のフォーマ
ットを有する命令にて操作可能となるため、クライアン
ト間の通信をシームレスに行うことが可能となる。
[0007] Further, for example, when operating each home appliance, the command (content data) described in the above XML or the like,
There is also a method of transmitting via a network. Here, for example, the instruction is “power supply = OFF” or the like. The content analysis device included in the client that receives the command analyzes the command, converts the command into a command unique to each client based on the interpretation, and controls the command. In other words, the client equipped with the content analysis device turns off the power supply only by transmitting the command “power supply = OFF”.
As a result, a wide variety of clients can be operated with commands having the same format, and communication between clients can be seamlessly performed.

【0008】ところで、このようなコンテンツ解析装置
の中には、通信回数やネットワーク接続時間を削減する
ために、取得したコンテンツデータをキャッシュメモリ
に保存する処理が行われている。上記コンテンツ解析装
置内にてキャッシュメモリ内の取得済みのコンテンツデ
ータがアクセスされた場合、当該コンテンツ解析装置
は、ネットワークから上記コンテンツデータを取得せず
に、キャッシュメモリ内のコンテンツデータを取り込
む。これにより、ネットワークと通信を行うことなくコ
ンテンツデータを解析することができるのである。
[0008] By the way, in such a content analysis device, a process of saving the acquired content data in the cache memory is performed in order to reduce the number of times of communication and the network connection time. When the acquired content data in the cache memory is accessed in the content analysis device, the content analysis device fetches the content data in the cache memory without acquiring the content data from the network. Thereby, the content data can be analyzed without communicating with the network.

【0009】従来行われているコンテンツデータのキャ
ッシュを行う処理を、図21を用いて簡単に説明する。
図21において、コンテンツ解析装置2100は、例え
ばパーソナルコンピュータに備えられるブラウザであ
る。当該コンテンツ解析装置2100は、例えばキーボ
ード等のコンテンツ取得指示手段2107より入力され
る例えばURL(Uniform Resource Locator)を受け取
る。当該URLは、ネットワーク2102上にあるサー
バ、及び当該サーバ内に格納されるコンテンツデータの
場所等を含む情報である。上記コンテンツ解析装置21
00を構成する解析対象取得手段2105は、上記UR
Lを受け取ると、まず、コンテンツ管理手段2104
に、上記URLで示されるコンテンツデータがキャッシ
ュメモリ2103内にあるか否かを問い合わせる。上記
コンテンツ管理手段2104は、上記問い合わせ、及び
URLに基づいて上記キャッシュメモリ2103を検索
し、該当するコンテンツデータの有無を確認する。
A conventional process of caching content data will be briefly described with reference to FIG.
In FIG. 21, the content analysis device 2100 is a browser included in, for example, a personal computer. The content analysis apparatus 2100 receives, for example, a URL (Uniform Resource Locator) input from the content acquisition instruction unit 2107 such as a keyboard. The URL is information including the server on the network 2102, the location of content data stored in the server, and the like. The content analysis device 21
The analysis target acquisition means 2105 constituting 00 is the UR
When receiving L, first, the content management means 2104
Is inquired whether or not the content data indicated by the URL is in the cache memory 2103. The content management means 2104 searches the cache memory 2103 based on the inquiry and the URL and confirms whether or not there is corresponding content data.

【0010】ここで、上記URLに対応するコンテンツ
データが存在しない場合、上記コンテンツ管理手段21
04は、その旨の情報を解析対象取得手段2105に通
知する。上記解析対象取得手段2105は、上記コンテ
ンツデータが存在しない旨の情報を受信すると、上記U
RLにて示されるネットワーク2102上のコンテンツ
データを、ネットワーク手段2101を介して取得す
る。
If there is no content data corresponding to the URL, the content management means 21
04 notifies the analysis target acquisition means 2105 of the information to that effect. Upon receiving the information indicating that the content data does not exist, the analysis target acquisition means 2105 receives the U
The content data on the network 2102 indicated by RL is acquired via the network means 2101.

【0011】上記解析対象取得手段2105は、このよ
うに取得した上記コンテンツデータを、コンテンツ解析
手段2106及びコンテンツ管理手段2104に送信す
る。
The analysis target acquisition means 2105 transmits the content data thus acquired to the content analysis means 2106 and the content management means 2104.

【0012】上記コンテンツ管理手段2104は、上記
解析対象取得手段2105より受信したコンテンツデー
タをすべてキャッシュメモリ2103に保存(キャッシ
ュ)し、以後の問い合わせに備える。
The content management means 2104 stores (caches) all the content data received from the analysis target acquisition means 2105 in the cache memory 2103 to prepare for the subsequent inquiry.

【0013】上記コンテンツ解析手段2106は、上記
解析対象取得手段2105より取得したコンテンツデー
タ内に記載されている内容を解析し、当該解析の結果を
制御手段2110に送信する。上記コンテンツデータ内
に記載されている内容とは、例えば文字や画像のディス
プレイへの表示等である。
The content analysis means 2106 analyzes the contents described in the content data acquired by the analysis target acquisition means 2105 and sends the result of the analysis to the control means 2110. The content described in the content data is, for example, display of characters or images on a display.

【0014】上記解析の結果を受信した制御手段211
0は、上記解析結果に応じた命令を、各制御装置211
1に送信することで、上記コンテンツデータ内に記載さ
れている内容を実現する。ここで、例えば上記制御装置
2111とは、ディスプレイや電源装置であり、上記命
令は、文字や画像の表示や、電源のON,OFFなどで
ある。
Control means 211 which has received the result of the above analysis
0 indicates an instruction corresponding to the above analysis result to each control device 211.
The content described in the above-mentioned content data is realized by transmitting the data to the content data No. 1. Here, for example, the control device 2111 is a display or a power supply device, and the command is display of characters or images, power ON / OFF, or the like.

【0015】尚、上記コンテンツ管理手段2104が上
記キャッシュメモリ2103を検索し、上記URLに対
応するコンテンツデータが存在する場合、上記コンテン
ツ管理手段2104は、当該キャッシュメモリに格納さ
れているコンテンツデータを解析対象取得手段2105
に送信する。
When the content management means 2104 searches the cache memory 2103 and content data corresponding to the URL exists, the content management means 2104 analyzes the content data stored in the cache memory. Target acquisition means 2105
Send to.

【0016】上記解析対象取得手段2105は、上記コ
ンテンツデータを上記コンテンツ管理手段2104より
取得すると、ネットワーク2102上のサーバにアクセ
スすることなく上記コンテンツデータをコンテンツ解析
手段2106に送信する。
When the analysis object acquisition means 2105 acquires the content data from the content management means 2104, the analysis object acquisition means 2105 transmits the content data to the content analysis means 2106 without accessing a server on the network 2102.

【0017】以後の処理は、ネットワーク2102上の
サーバよりコンテンツデータを取得した場合と同様であ
る。
The subsequent processing is the same as when the content data is acquired from the server on the network 2102.

【0018】以上が、従来のキャッシュを行う処理の概
要である。
The above is the outline of the conventional cache processing.

【0019】尚、上記キャッシュメモリを持つコンテン
ツ解析装置には、メモリの制約により、十分なキャッシ
ュ領域が確保できないものがある。即ち、例えば、上述
したような家電製品であって大型な物であれば、コスト
は高くなるが十分なキャッシュメモリを備えることも可
能である。しかしながら、携帯電話のような携帯型端末
等においては、物理的な制約によりキャッシュメモリを
十分に備えられないことが多い。当然、コストの面を考
慮すれば、キャッシュメモリを少なくすることが望まし
い。
Some content analyzers having the above cache memory cannot secure a sufficient cache area due to memory restrictions. That is, for example, if the home electric appliance is a large one as described above, the cost is high, but it is possible to provide a sufficient cache memory. However, in a portable terminal such as a mobile phone, a cache memory is often not sufficiently provided due to physical restrictions. Of course, in consideration of cost, it is desirable to reduce the cache memory.

【0020】このように、コスト的及び物理的に大量の
キャッシュメモリを備えることができないクライアント
においては、キャッシュメモリの効率的な利用が求めら
れる。
As described above, efficient use of the cache memory is required for a client that cannot be provided with a large amount of cache memory in terms of cost and physically.

【0021】キャッシュメモリを効率的に利用する従来
技術として、例えば、キャッシュメモリが不足した場
合、最も古いコンテンツデータを削除することで、新た
に受信したコンテンツデータのキャッシュメモリを確保
する方法がある。しかし、使用頻度が高いコンテンツデ
ータであっても、キャッシュメモリから削除されるとい
う問題があった。
As a conventional technique for efficiently using the cache memory, for example, when the cache memory becomes insufficient, there is a method of securing the cache memory of the newly received content data by deleting the oldest content data. However, there is a problem that even the frequently used content data is deleted from the cache memory.

【0022】この問題を解決するための方法として、特
開平11−120060号公報には、代表されるコンテ
ンツデータと共に有効期限を保存する技術が記載されて
いる。この方法では、キャッシュメモリからコンテンツ
データを読み込むか否かの判断を、有効期限を使用して
行い、有効期限内であれば当該キャッシュメモリを利用
し、有効期限を過ぎている場合は、ネットワークに接続
される、異なるクライアントから取得するものである。
As a method for solving this problem, Japanese Patent Laying-Open No. 11-120060 discloses a technique of storing the expiration date together with the representative content data. In this method, whether or not to read the content data from the cache memory is determined using the expiration date. If the expiration date is not reached, the cache memory is used. It is obtained from a different client that is connected.

【0023】また、別の従来技術として、最も使用頻度
が低いコンテンツデータを削除する方法がある。この場
合、古いコンテンツデータであっても、使用頻度が高け
れば、キャッシュメモリから削除されないというメリッ
トがある。
As another conventional technique, there is a method of deleting the content data that is least frequently used. In this case, even if the content data is old, if it is used frequently, there is an advantage that it is not deleted from the cache memory.

【0024】[0024]

【発明が解決しようとする課題】しかしながら、上述し
たように、コンテンツデータは様々なクライアントに共
通のフォーマットを有するデータである。このため、例
えば1つのコンテンツデータに様々なクライアントに対
する命令を含めるといった運用方法が考えられている。
しかし、この場合には、クライアントによっては不必要
な情報を含むことになるのである。例えば、表示機能を
持たないクライアントに備えられたコンテンツ解析装置
にとっては、同一コンテンツデータ内の(例えば他のク
ライアントに対応する)表示に関する命令(情報)は意
味を持たない。しかしながら、上記従来の技術では、不
要なコンテンツデータもキャッシュメモリに格納してし
まうため、大量のキャッシュメモリが必要になる。つま
り、様々なクライアントがネットワークに接続されるよ
うになり、コンテンツデータを利用した利便性の高い運
用が可能になる点と引き換えに、キャッシュメモリの大
容量化が必要となるのである。
However, as described above, the content data is data having a format common to various clients. Therefore, an operation method is considered in which, for example, one content data includes instructions for various clients.
However, in this case, some clients may include unnecessary information. For example, a command (information) related to display (corresponding to another client, for example) in the same content data has no meaning for the content analysis device provided in the client having no display function. However, in the above-mentioned conventional technique, since unnecessary content data is also stored in the cache memory, a large amount of cache memory is required. In other words, various clients will be connected to the network, and a highly convenient operation using content data will be possible, but at the same time, it is necessary to increase the capacity of the cache memory.

【0025】しかし、上述したように、クライアントに
よっては物理的に不可能である場合があり、又、コスト
面ではキャッシュメモリを少なくすることが望ましい。
However, as described above, it may be physically impossible depending on the client, and it is desirable to reduce the cache memory in terms of cost.

【0026】そこで本発明は、上記問題に鑑みてなされ
たものであって、その目的は、コンテンツデータを効率
的にキャッシュするコンテンツ解析装置、コンテンツ解
析方法、プログラム及びその記録媒体を提供することに
ある。
Therefore, the present invention has been made in view of the above problems, and an object thereof is to provide a content analysis device, a content analysis method, a program, and a recording medium thereof for efficiently caching content data. is there.

【0027】[0027]

【課題を解決するための手段】本発明は、上記目的を達
成するために以下の手段を採用している。すなわち、本
発明は、ML(Markup Language)にて記載されたコン
テンツデータをネットワークを介して取得する解析対象
取得手段と、当該コンテンツデータの内容を解析するコ
ンテンツ解析手段を具備するコンテンツ解析装置を前提
としている。ここで、コンテンツ分離手段は、取得した
コンテンツデータを、解析対象データに分離し、コンテ
ンツ管理手段は、分離された解析対象データをそれぞれ
独立したキャッシュデータとして管理する。
The present invention employs the following means in order to achieve the above object. That is, the present invention is premised on a content analysis device including an analysis target acquisition unit that acquires content data described in ML (Markup Language) via a network, and a content analysis unit that analyzes the content of the content data. I am trying. Here, the content separation unit separates the acquired content data into analysis target data, and the content management unit manages the separated analysis target data as independent cache data.

【0028】従って、上記コンテンツ解析装置では、キ
ャッシュメモリの縮小化を図ることが可能となる。ま
た、解析可能な最小単位で解析対象データを格納し、コ
ンテンツ管理手段によりそれぞれ独立して管理するた
め、コンテンツ解析手段は必要な情報のみしか受信しな
い。このため、解析速度の向上も期待できる。さらに例
えばキャッシュメモリの容量不足によりキャッシュデー
タが削除された場合でも、削除されるキャッシュデータ
は最低限ですむため、キャッシュデータがヒットする可
能性が高くなる。
Therefore, in the above content analysis device, it is possible to reduce the size of the cache memory. Further, since the data to be analyzed is stored in the smallest unit that can be analyzed and is independently managed by the content management means, the content analysis means receives only necessary information. Therefore, improvement in analysis speed can be expected. Furthermore, for example, even when cache data is deleted due to lack of the capacity of the cache memory, the cache data to be deleted can be minimized, so that the cache data is more likely to hit.

【0029】また、上記コンテンツ解析手段は、取得し
たコンテンツデータではなく、分離された解析対象デー
タを解析する構成がある。
Further, the content analysis means has a structure for analyzing separated analysis target data instead of the acquired content data.

【0030】これにより、コンテンツ解析手段は不要な
部分を解析する必要が無いため、結果として解析処理を
高速化することができる。
As a result, the content analysis means does not need to analyze unnecessary portions, and as a result, the analysis processing can be speeded up.

【0031】尚、コンテンツ分離手段が分離する解析対
象データは、カード&デッキ方式におけるカードを1単
位としてもよい。特にカード&デッキ方式は、携帯電話
などのキャッシュメモリが比較的少ない機器にて採用さ
れる方式であるため、キャッシュメモリの効率的な運用
により得られる効果が大きい。
The analysis target data separated by the content separating means may be one card in the card & deck system. In particular, the card & deck method is a method adopted in a device having a relatively small cache memory such as a mobile phone, so that the effect obtained by efficient operation of the cache memory is great.

【0032】また、カードに共通して利用される記述が
記載されるヘッダを解析対象データとするようにしても
よい。
Further, a header in which a description commonly used by the cards is described may be used as the analysis target data.

【0033】この構成では、各カードの解析に必要な情
報を複数のカードに保存する必要が無く、結果としてキ
ャッシュメモリを有効に利用することが可能となる。
With this configuration, it is not necessary to store information necessary for analyzing each card in a plurality of cards, and as a result, it is possible to effectively use the cache memory.

【0034】また、解析対象データを分離する条件を上
記コンテンツ分離手段に与える解析対象決定手段を備
え、コンテンツ分離手段は、解析対象決定手段より与え
られた条件に基づいてコンテンツデータを分離する構成
としてもよい。
Further, the content separating means is provided with an analysis target determining means for giving the content separating means a condition for separating the analysis target data, and the content separating means is configured to separate the content data based on the condition given by the analysis target determining means. Good.

【0035】尚、条件は、例えば所定の要素にて指定さ
れる記述のみを分離するようにしたり、コンテンツ解析
手段が解析可能な記述のみを分離するようにしたり、表
現に関する部分を除く記述のみ分離するようにしたりす
る条件が挙げられる。
The condition is, for example, to separate only the description specified by a predetermined element, to separate only the description that can be analyzed by the content analysis means, or to separate only the description excluding the part related to the expression. There are conditions for doing so.

【0036】また、条件を、外部からの入力により与え
られる構成としてもよい。
The condition may be given by an external input.

【0037】即ち、解析対象決定手段の命令に基づいて
コンテンツ分離手段が柔軟に解析対象データを分離する
ことで、様々な状況にあわせて必要な解析対象だけを分
離可能となり、キャッシュメモリをいっそう効率よく利
用することができる。
That is, since the content separating means flexibly separates the analysis target data based on the instruction of the analysis target determining means, only the necessary analysis target can be separated according to various situations, and the cache memory is more efficient. Can be used well.

【0038】また、コンテンツ管理手段は、キャッシュ
メモリに格納された解析対象データを、所定の優先度に
基づいて削除する構成がある。
Further, the content management means has a configuration for deleting the analysis target data stored in the cache memory based on a predetermined priority.

【0039】ここで、優先度は、解析対象データの格納
時期や、キャッシュメモリ内の解析対象データのアクセ
ス時期や、解析対象データの有効期限などに基づいて決
定することができる。
Here, the priority can be determined based on the storage time of the analysis target data, the access time of the analysis target data in the cache memory, the expiration date of the analysis target data, and the like.

【0040】また、コンテンツ管理手段は、削除した解
析対象データの情報を管理する構成としてもよい。
Further, the content management means may be configured to manage the information of the deleted analysis target data.

【0041】例えば、フラグメント識別子の一覧や削除
履歴と、キャッシュメモリ上の解析対象データの有無に
より解析対象データ(の削除)を管理することで、解析
対象データが削除された内容であるか、あるいは、存在
しない内容であるか判断できる。従って、存在しない解
析対象データが指定された場合でも、場合によってはネ
ットワークにアクセスすることなく解析対象データ(の
デフォルト内容)を利用することができる。
For example, whether or not the analysis target data has been deleted by managing the analysis target data (deletion) according to the list of fragment identifiers and the deletion history and the presence or absence of the analysis target data in the cache memory, or , It can be determined whether the content does not exist. Therefore, even if analysis target data that does not exist is specified, the analysis target data (default contents) can be used without accessing the network in some cases.

【0042】また、解析対象取得手段は、例えばフラグ
メント識別子などの識別子を用いて目的とする解析対象
データのみをネットワークを介して取得するようにして
もよい。
Further, the analysis target acquisition means may acquire only the target analysis target data via the network by using an identifier such as a fragment identifier.

【0043】この構成では、キャッシュメモリから削除
された解析対象データをネットワークを介して取得する
際に、解析対象取得手段はキャッシュメモリに保存され
ている他の内容を除いて再取得するため、ネットワーク
上の通信データを削減することができる。
With this configuration, when the analysis target data deleted from the cache memory is acquired via the network, the analysis target acquisition means re-acquires the data except the other contents stored in the cache memory. The above communication data can be reduced.

【0044】また、コンテンツデータに記述されたリン
ク情報にて指定されるサブコンテンツをキャッシュデー
タとして扱う場合に、リンク管理手段が、コンテンツデ
ータとサブコンテンツとのリンクに関する情報である関
連付情報を管理し、コンテンツ管理手段は、関連付情報
に基づいてサブコンテンツのキャッシュデータを管理
(削除)する構成がある。
Further, when the sub-content designated by the link information described in the content data is treated as cache data, the link management means manages the association information which is the information regarding the link between the content data and the sub-content. However, the content management means has a configuration for managing (deleting) cache data of sub-contents based on the association information.

【0045】この構成では、リンクの元となるコンテン
ツデータの削除に基づいて、不要なサブコンテンツを確
実に削除することが可能になる。
With this structure, unnecessary sub-contents can be surely deleted based on the deletion of the content data which is the source of the link.

【0046】また、リンク管理手段は、複数の解析対象
データにより利用されるサブコンテンツを、ヘッダに対
応する解析対象データのリンクとして扱う構成がある。
Further, the link management means has a structure in which the sub-contents used by the plurality of pieces of analysis target data are treated as links of the analysis target data corresponding to the header.

【0047】この構成では、ヘッダと同一コンテンツデ
ータを構成する解析対象データよりもヘッダが先にキャ
ッシュメモリより削除されることを防ぐことが出来る。
また、リンクを管理するための関連付情報の容量を削減
することも可能となる。
With this configuration, it is possible to prevent the header from being deleted from the cache memory earlier than the analysis target data that constitutes the same content data as the header.
Further, it is possible to reduce the capacity of the associated information for managing the link.

【0048】尚、本発明は、電気通信回線などを介して
個別に流通するプログラムとして提供されることもあ
る。このプログラムは、キャッシュメモリ等を制御する
CPUなどを備えた制御装置と協働し、この制御装置
を、上述のコンテンツ解析装置として機能させる。例え
ばこの制御装置が上記プログラムに従ってキャッシュメ
モリに対する制御を行ったり、コンテンツ解析装置が動
作したりすると、本発明は、コンテンツ解析方法として
実施される。また、上記プログラムは、CD−ROMな
どのコンピュータ読み取り可能な記録媒体に記録された
状態で流通することもある。
The present invention may be provided as a program that is individually distributed via a telecommunication line or the like. This program cooperates with a control device that includes a CPU that controls a cache memory and the like, and causes this control device to function as the content analysis device described above. For example, when the control device controls the cache memory according to the program or the content analysis device operates, the present invention is implemented as a content analysis method. The program may be distributed in a state of being recorded in a computer-readable recording medium such as a CD-ROM.

【0049】[0049]

【発明の実施の形態】以下、添付図面を参照して、本発
明の実施の形態につき説明し、本発明の理解に供する。
尚、以下の実施の形態は、本発明を具体化した一例であ
って、本発明の技術的範囲を限定する性格のものではな
い。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the accompanying drawings to provide an understanding of the present invention.
It should be noted that the following embodiment is an example in which the present invention is embodied, and does not limit the technical scope of the present invention.

【0050】(実施の形態1)具体例として、ブラウザ
を具備しネットワーク上のコンテンツデータを参照可能
な携帯電話を用いた場合の処理を説明する。尚、説明に
先立ち、近年、主に携帯電話にて利用されているカード
&デッキ方式を用いたコンテンツデータについて説明す
る。
(Embodiment 1) As a specific example, a process using a mobile phone equipped with a browser and capable of referring to content data on a network will be described. Prior to the description, content data using the card & deck method, which is mainly used in mobile phones in recent years, will be described.

【0051】パーソナルコンピュータなどでコンテンツ
データ(Webページ)を閲覧するときには、HTML
毎にダウンロードする。しかし、携帯電話向けのコンテ
ンツの場合、ディスプレイが小さいので、当該ディスプ
レイに表示可能な情報は少ない。このため、1つのHT
MLに上記ディスプレイ1画面分の情報を格納した場
合、複数ページにわたる情報を閲覧するに際して上記携
帯電話は何度もサーバにアクセスする必要が生じる。従
って、通信トラフィックとサーバへのアクセス回数が増
大し、ネットワーク及びサーバに余分な負荷を掛けるに
至ってしまう。逆に、1つのHTMLに上記複数ページ
分の情報を格納してしまうと、物理的な制限から十分な
操作性を与えられていない携帯電話にて、例えば延々と
上記HTMLをスクロールせねばならず、使い勝手が悪
いといえる。
When browsing content data (Web page) on a personal computer or the like, HTML is used.
Download each time. However, in the case of content for mobile phones, since the display is small, there is little information that can be displayed on the display. Therefore, one HT
When the information for one screen of the display is stored in the ML, the mobile phone needs to access the server many times when browsing the information over a plurality of pages. Therefore, communication traffic and the number of times of access to the server increase, and an extra load is applied to the network and the server. On the other hand, if the information for a plurality of pages is stored in one HTML, for example, the mobile phone that is not provided with sufficient operability due to physical restrictions must scroll the HTML endlessly. , It can be said that it is not easy to use.

【0052】そこで、例えば上記携帯電話に対応したコ
ンテンツデータであるWML(Wireless Markup Langua
ge)には、カード&デッキ方式のフォーマットが利用さ
れるのである。
Therefore, for example, WML (Wireless Markup Langua) which is content data corresponding to the above-mentioned mobile phone.
ge), a card & deck format is used.

【0053】上記カード&デッキ方式では、図2に示す
ように、コンテンツ201内にヘッダ203及び1つの
デッキ202と、当該デッキ202内に複数のカード2
04〜207が格納されている。上記携帯電話では、上
記カード&デッキ方式のコンテンツデータを受信する
と、まず、図2で示すカード204に従って当該コンテ
ンツデータを表示し、ユーザの例えばページ送り操作に
てカード205、カード206と順次表示する。つま
り、カードとデッキという所定の構成単位でコンテンツ
データを構成し、1画面あたり(1カードあたり)の情
報量を適量にすることで、1回のサーバへのアクセスで
複数ページ分のコンテンツデータを取得可能とすると共
に、簡単な操作でページを切り替えることが可能になる
のである。、上記ページ送り操作とは、例えばコンテ
ンツデータのヘッダに所定の記述を行うことで、カード
を順次閲覧するボタン(ページ送りボタン)等を表示さ
せたり、異なるページ(カード)へのリンク情報を各カ
ード内に記述することで実現される。
In the above card & deck system, as shown in FIG. 2, a header 203 and one deck 202 in the content 201, and a plurality of cards 2 in the deck 202.
04 to 207 are stored. In the mobile phone, when the card & deck type content data is received, first, the content data is displayed according to the card 204 shown in FIG. 2, and the card 205 and the card 206 are sequentially displayed by the user's page turning operation, for example. . In other words, by configuring content data in predetermined units of cards and decks and setting the amount of information per screen (per card) to an appropriate amount, content data for multiple pages can be accessed with one access to the server. In addition to being able to obtain it, it is possible to switch pages with a simple operation. Note that the page turning operation is, for example, by performing a predetermined description in the header of the content data to display a button for sequentially browsing the cards (page turning button) or to display link information for different pages (cards). It is realized by describing in each card.

【0054】上記カード&デッキ方式では、上記URL
に加えて後述するフラグメント識別子を入力すること
で、上記URLの内容の中からさらに上記フラグメント
識別子が指し示すカードを直接表示することも可能であ
る。つまり、“URL#フラグメント識別子”で示され
るフォーマット(具体的には、例えば"http://www.aaa.
bbb.co.jp/index.html#fragment")を用いて記載する
ことで、上記"fragment"にて示されるカードを表示する
ことが可能となるのである。
In the above card & deck system, the above URL
In addition to this, by inputting a fragment identifier described later, it is possible to directly display the card pointed to by the fragment identifier from the contents of the URL. That is, the format indicated by "URL # fragment identifier" (specifically, "http://www.aaa.
bbb.co.jp/index.html #fragment "), it is possible to display the card indicated by the above" fragment ".

【0055】さて、上記カード&デッキ方式のコンテン
ツデータの構成を踏まえたうえで、実施の形態1におけ
るコンテンツ解析装置について説明する。
Now, based on the structure of the content data of the card & deck system, the content analysis apparatus in the first embodiment will be described.

【0056】尚、本実施の形態1では、コンテンツ解析
装置を備えた携帯電話が、ネットワーク(無線ネットワ
ーク)を介してコンテンツデータを提供するサーバに接
続されているものとする。
In the first embodiment, it is assumed that a mobile phone equipped with a content analysis device is connected to a server that provides content data via a network (wireless network).

【0057】まず、実施の形態1に係るコンテンツ解析
装置100の機能構成を図1に示す。上記コンテンツ解
析装置100は、ネットワーク手段101、解析対象取
得手段105、コンテンツ管理手段104、キャッシュ
メモリ108、コンテンツ解析手段106、制御手段1
10を備え、さらにコンテンツ分離手段103を備え
る。また、当該コンテンツ解析装置100と連携して処
理を行う手段(装置)として、コンテンツ取得指示手段
107、制御装置111が接続される。
First, FIG. 1 shows a functional configuration of the content analysis apparatus 100 according to the first embodiment. The content analysis device 100 includes a network unit 101, an analysis target acquisition unit 105, a content management unit 104, a cache memory 108, a content analysis unit 106, and a control unit 1.
10 and further includes a content separating unit 103. Further, as a means (apparatus) for performing processing in cooperation with the content analysis apparatus 100, the content acquisition instruction means 107 and the control device 111 are connected.

【0058】尚、各手段、装置の詳細な処理については
順を追って説明する。
The detailed processing of each means and device will be described step by step.

【0059】まず、本実施の形態のコンテンツ解析装置
100における一連の流れを図3のフローチャートに沿
って説明する。
First, a series of flows in the content analysis apparatus 100 of this embodiment will be described with reference to the flowchart of FIG.

【0060】ユーザが例えば携帯電話に備えられるテン
キー等のコンテンツ取得手段107を用いて希望する情
報が格納されるURLを入力すると、当該入力されたU
RLは、上記解析対象取得手段105に送信される。
When the user inputs a URL in which desired information is stored by using the content acquisition means 107 such as a numeric keypad provided in a mobile phone, the input U is input.
The RL is transmitted to the analysis target acquisition means 105.

【0061】上記URLを受信した上記解析対象取得手
段105は、コンテンツ管理手段104に上記URLを
送信することで、上記コンテンツ管理手段104が管理
するキャッシュメモリ108内からの、上記URLに対
応する解析対象データの取得を試みる。尚、本実施の形
態1における解析対象データとは、図2にて示した各カ
ード204〜207を1単位とする。
Upon receipt of the URL, the analysis target acquisition means 105 transmits the URL to the content management means 104, so that the analysis corresponding to the URL from the cache memory 108 managed by the content management means 104. Try to get the target data. It should be noted that the analysis target data in the first embodiment includes each of the cards 204 to 207 shown in FIG. 2 as one unit.

【0062】ここでは、上記URLに対応するコンテン
ツデータの取得は初めてであるため、上記URLに対応
する解析対象データは無いものとする。従って、上記コ
ンテンツ管理手段104は、上記URLに対応する解析
対象データは無い旨の情報を上記解析対象取得手段10
5に送信する(図3:S302NO)。
Here, it is assumed that there is no analysis target data corresponding to the above URL because the content data corresponding to the above URL has been acquired for the first time. Therefore, the content management means 104 outputs information indicating that there is no analysis target data corresponding to the URL to the analysis target acquisition means 10.
5 (FIG. 3: S302 NO).

【0063】上記“解析対象データが無い旨”の情報を
受信すると、解析対象取得手段105は、上記ネットワ
ーク手段101に対して上記URLを送信することによ
り、上記ネットワーク手段101は、ネットワーク10
2上の当該URLに対応するサーバから、目的とするコ
ンテンツデータを取得してコンテンツ分離手段103に
送信する(図3:S303)。ここで、理解に供するた
め、上記URLに対応するコンテンツデータを図2に示
したコンテンツデータ201とする。
Upon receiving the information "there is no analysis target data", the analysis target acquisition means 105 transmits the URL to the network means 101, so that the network means 101 causes the network 10 to operate.
The target content data is acquired from the server corresponding to the URL in No. 2 and transmitted to the content separating unit 103 (FIG. 3: S303). Here, for the sake of understanding, the content data corresponding to the URL will be referred to as the content data 201 shown in FIG.

【0064】続いて、上記URLに対応するコンテンツ
データを取得したコンテンツ分離手段103は、当該コ
ンテンツデータから解析対象データ(ここではヘッダ2
03及びカード204〜207)を分離する。つまり、
上記コンテンツ分離手段103は、ヘッダであることを
示すタグ“<head>”及び当該タグ“<head
>”の終了を示すタグ“</head>”に基づいて、
解析対象データであるヘッダ203を分離する。同じ
く、上記コンテンツ分離手段103は、カードであるこ
とを示すタグ“<card id=”card1“>”
及び当該タグの終了を示すタグ“</card>”に基
づいて、解析対象データであるカード204を分離す
る。尚、上記タグとは、例えばコンテンツデータ内で、
ホームページの動き等をあらわす命令やコメントを書き
込むための書式である。テキストをタグではさむこと
で、ブラウザで表示するときのデザインなどが決定され
る。尚、<タグ>と</タグ>との1セットを“要素”
と称する。
Subsequently, the content separation means 103 which has acquired the content data corresponding to the above-mentioned URL extracts the analysis target data (here, the header 2 from the content data).
03 and cards 204 to 207) are separated. That is,
The content separation means 103 uses the tag “<head>” indicating that it is a header and the tag “<head”.
Based on the tag "</ head>" indicating the end of ">",
The header 203 which is the analysis target data is separated. Similarly, the content separating unit 103 uses the tag "<card id =" card1 ">" indicating that the card is a card.
And the card 204 which is the analysis target data is separated based on the tag “</ card>” indicating the end of the tag. In addition, the tag is, for example, in the content data,
This is a format for writing commands and comments that express the movement of the homepage. By sandwiching the text between tags, the design etc. when displayed in the browser are decided. In addition, one set of <tag> and </ tag> is an “element”
Called.

【0065】図4(a)は、図2に示したコンテンツデ
ータを模式的に示した図であり、図4(b)は、コンテ
ンツ分離手段103が上記コンテンツデータから目的と
する解析対象データを分離した後の結果を示すイメージ
図である。
FIG. 4A is a diagram schematically showing the content data shown in FIG. 2, and FIG. 4B shows target analysis target data from the content data by the content separating means 103. It is an image figure which shows the result after isolate | separating.

【0066】即ち、上記コンテンツ分離手段103は、
コンテンツデータ内のタグに基づいて、ヘッダ203及
び各カード204〜207をそれぞれ分離し、さらに当
該コンテンツデータの取得に利用したURLを付加する
のである(図3:S304)。これにより、図4(b)
に示されるように、複数の解析対象データを分離するこ
とができる。尚、上記URLのヘッダを除く各解析対象
データ404〜407には、上記URLに加えて、さら
にコンテンツデータのどの部分であるかを示すフラグメ
ント識別子が付加される。当該フラグメント識別子に
は、例えば上記各カードを識別するためのタグに記載さ
れるid属性が用いられる。即ち、上記解析対象データ
404のフラグメント識別子は、カードであることを示
すタグ“<card id=”card1“>”内のi
d属性である”card1“となる。上記コンテンツデ
ータ内に同一の上記フラグメント識別子が複数存在する
ことが認められていないため、フラグメント識別子を用
いることでコンテンツデータ内の所定のデータを一意に
示すことが可能になる。
That is, the content separation means 103 is
The header 203 and each of the cards 204 to 207 are separated based on the tag in the content data, and the URL used to acquire the content data is added (FIG. 3: S304). As a result, FIG.
As shown in, multiple analysis target data can be separated. In addition to the URL, a fragment identifier indicating which part of the content data is added to each of the analysis target data 404 to 407 excluding the header of the URL. For the fragment identifier, for example, the id attribute described in the tag for identifying each card is used. That is, the fragment identifier of the analysis target data 404 is i in the tag “<card id =” card1 “>” indicating that it is a card.
It becomes "card1" which is the d attribute. Since it is not permitted that the same fragment identifier exists in the content data, it is possible to uniquely indicate predetermined data in the content data by using the fragment identifier.

【0067】さて、上記コンテンツ分離手段103にて
ヘッダ及び各カード毎に分割されたコンテンツデータ
は、それぞれコンテンツ管理手段104及び解析対象取
得手段105に送信される。続いて、上記分割されたコ
ンテンツデータは、上記コンテンツ管理手段104によ
り解析対象データとしてキャッシュメモリ108に格納
され、以後独立したキャッシュデータとして扱われる
(図3:S305)。
Now, the header and the content data divided for each card by the content separation means 103 are transmitted to the content management means 104 and the analysis object acquisition means 105, respectively. Subsequently, the divided content data is stored in the cache memory 108 as analysis target data by the content management means 104, and thereafter treated as independent cache data (FIG. 3: S305).

【0068】上記キャッシュメモリ108に解析対象デ
ータを格納する処理は以上であるが、上記解析対象取得
手段105が上記コンテンツ分離手段103から解析対
象データ(ヘッダ及びカード404〜407)をそれぞ
れ取得した後、当該解析対象取得手段105は、当該解
析対象データをコンテンツ解析手段106に送信する。
ここで、上記コンテンツ解析手段106に送信されるの
は、ヘッダに対応する解析対象データ403、及びコン
テンツデータ内で先頭に記載されている解析対象データ
である解析対象データ404である。但し、上記解析対
象取得手段105への命令送信時に、URLに加えて所
定のフラグメント識別子が指定されていた場合は、上記
解析対象データ404に変えて当該所定のフラグメント
識別子に対応する解析対象データが送信される。
The processing for storing the analysis target data in the cache memory 108 is as described above, but after the analysis target acquisition means 105 acquires the analysis target data (header and cards 404 to 407) from the content separation means 103, respectively. The analysis target acquisition means 105 transmits the analysis target data to the content analysis means 106.
Here, what is transmitted to the content analysis unit 106 is the analysis target data 403 corresponding to the header and the analysis target data 404 that is the analysis target data described first in the content data. However, when a predetermined fragment identifier is specified in addition to the URL when the command is transmitted to the analysis target acquisition means 105, the analysis target data corresponding to the predetermined fragment identifier is replaced with the analysis target data 404. Sent.

【0069】上記コンテンツ解析手段106は、上記解
析対象取得手段105より取得した解析対象データ内に
記載されている内容を解析し、当該解析の結果を制御手
段110に送信する。上記コンテンツデータ内に記載さ
れている内容とは、ここでは文字や画像のディスプレイ
への表示等である(図3:S306)。
The content analysis means 106 analyzes the contents described in the analysis target data acquired by the analysis target acquisition means 105, and sends the result of the analysis to the control means 110. The content described in the content data is, for example, display of characters and images on the display (FIG. 3: S306).

【0070】上記解析の結果を受信した制御手段110
は、上記解析結果に応じた命令を、各制御装置111に
送信することで、上記コンテンツデータ内に記載されて
いる文字や画像を例えばディスプレイに表示するのであ
る(図3:S307)。
The control means 110 which has received the result of the above analysis
Sends a command according to the analysis result to each control device 111 to display the characters and images described in the content data on, for example, a display (FIG. 3: S307).

【0071】続いて、ユーザが再度上記URLにアクセ
スを試みた際の上記コンテンツ解析装置100の処理を
説明する。
Next, the processing of the content analysis apparatus 100 when the user tries to access the URL again will be described.

【0072】ユーザが、上記コンテンツ取得指示手段1
07を用いて、又は過去のURL取得の履歴を保存した
ブックマークなどを用いて再度上記URLの“card
3”に該当するコンテンツデータの取得を試みたとす
る。この場合、当該URL及びフラグメント識別子であ
る“card3”は上記解析対象取得手段105に受信
される(図3:S301)。
The user selects the content acquisition instruction means 1 described above.
07, or by using a bookmark or the like in which the history of URL acquisition in the past is saved,
It is assumed that an attempt is made to acquire content data corresponding to "3". In this case, the URL and the fragment identifier "card3" are received by the analysis target acquisition means 105 (FIG. 3: S301).

【0073】次に、当該解析対象取得手段105は、コ
ンテンツ管理装置104に対して当該URL及びフラグ
メント識別子を送信することにより、キャッシュメモリ
108内における上記URL及びフラグメント識別子に
該当する解析対象データの有無を確認する。
Next, the analysis target acquisition means 105 transmits the URL and the fragment identifier to the content management device 104, so that the analysis target data corresponding to the URL and the fragment identifier in the cache memory 108 is present. To confirm.

【0074】ここで、上記キャッシュメモリ108内に
は、上記図4(b)に示したように、各解析対象データ
403〜407単位で格納されているため、上記コンテ
ンツ管理手段104は、上記URLをキーにして、上記
URLのヘッダ部分に該当する解析対象データ403を
抽出することが可能である。また、上記URLとフラグ
メント識別子(“card3”)をキーにして解析対象
データ406を抽出することが可能である。当該抽出さ
れた解析対象データ403、406は、上記コンテンツ
管理手段104により上記解析対象取得手段105に送
信される(図3:S302YES→S306)。
Here, as shown in FIG. 4B, the analysis target data 403 to 407 are stored in the cache memory 108, so that the content management means 104 can store the URL. It is possible to extract the analysis target data 403 corresponding to the header part of the URL by using as a key. Further, the analysis target data 406 can be extracted using the URL and the fragment identifier (“card3”) as a key. The extracted analysis target data 403, 406 is transmitted to the analysis target acquisition means 105 by the content management means 104 (FIG. 3: S302 YES → S306).

【0075】以後、上記コンテンツ解析手段106にて
上記各解析対象データ403、406が解析され、制御
手段110を介してディスプレイへの表示等が行われる
のは上述した通りである(図3:S306→S30
7)。
After that, the contents analysis means 106 analyzes each of the analysis target data 403 and 406, and the display on the display or the like is performed via the control means 110 as described above (FIG. 3: S306). → S30
7).

【0076】以上のように、コンテンツデータをキャッ
シュメモリに格納する際に、必要なデータのみを解析対
象データとして格納することで、キャッシュメモリの縮
小化を図ることが可能となる。また、解析可能な最小単
位(ここではヘッダ及びカード単位)で格納し、コンテ
ンツ管理手段によりそれぞれ独立して管理することで、
コンテンツ解析手段は必要な情報のみしか受信しない。
このため、解析速度の向上も期待できる。さらに例えば
キャッシュメモリの容量不足により所定のルールに従っ
てキャッシュデータが削除された場合でも、最低限のキ
ャッシュデータの削除となるためキャッシュデータがヒ
ットする可能性が高くなる。
As described above, when the content data is stored in the cache memory, only the necessary data is stored as the analysis target data, so that the cache memory can be downsized. In addition, by storing in the smallest unit that can be analyzed (here, header and card unit), and managing each independently by the content management means,
The content analysis means receives only the necessary information.
Therefore, improvement in analysis speed can be expected. Furthermore, for example, even when cache data is deleted according to a predetermined rule due to lack of capacity of the cache memory, the minimum cache data is deleted, so that the cache data is more likely to hit.

【0077】即ち、上述したように例えば上記ユーザが
再度ブックマークを用いて上記コンテンツデータの3ペ
ージ目(カード206に該当)のアクセスを試みた場
合、従来ではキャッシュメモリが容量不足の際には上記
コンテンツデータ201がすべて削除されていたため再
度ネットワークから取得していた。しかしながら本実施
の形態1においては、各解析対象データが独立して管理
されるため、例えばカード204、207が削除されて
いてもカード206がキャッシュデータとして残ってい
る場合には、当該キャッシュデータを利用することが可
能となるのである。これは、今までに述べたコンテンツ
データのように、分割しても内容が解析可能であるデー
タを扱う解析装置、即ちコンテンツ解析装置に対して適
用可能なキャッシュメモリ(キャッシュデータ)の管理
である。
That is, as described above, for example, when the user again tries to access the third page (corresponding to the card 206) of the content data by using the bookmark again, when the cache memory has a shortage of capacity, the above-mentioned method is used. Since all the content data 201 was deleted, it was acquired again from the network. However, in the first embodiment, since each analysis target data is managed independently, if the card 206 remains as cache data even if the cards 204 and 207 are deleted, the cache data is deleted. It can be used. This is the management of a cache memory (cache data) applicable to an analysis device that handles data whose contents can be analyzed even when divided, such as the content data described above. .

【0078】尚、上記実施の形態1では、ヘッダ203
に対応する解析対象データを保存したが、当該ヘッダ
に、カード共通の情報(例えば上述したページ送りボタ
ンや、スタイルシート等)が含まれていない場合には、
必ずしもヘッダに対応する解析対象データは必要ない。
In the first embodiment, the header 203
When the analysis target data corresponding to is saved, but the header does not include information common to the card (for example, the page feed button or style sheet described above),
The analysis target data corresponding to the header is not always necessary.

【0079】続いて、解析対象データであるキャッシュ
データをさらに効率よく管理する処理について説明す
る。
Next, a process for more efficiently managing the cache data which is the analysis target data will be described.

【0080】上記WMLの規格において、「指定された
フラグメント識別子と一致するカードが無い場合は、先
頭にあるカードを表示する。」という決まりがある。
In the WML standard, there is a rule that "if there is no card that matches the designated fragment identifier, the card at the top is displayed."

【0081】つまり、例えばユーザが間違ったフラグメ
ント識別子を指定した場合、上記例ではカード204
(解析対象データ404:“card1”)が表示され
る必要がある。しかし、上述した処理では、入力された
フラグメント識別子に対応するコンテンツデータが、キ
ャッシュメモリ108内に格納されていない場合、既に
キャッシュメモリ108から削除されたのか、それとも
元から無かったのかを判断することができない。結局、
再度入力されたURL及びコンテンツ識別子を元に、ネ
ットワーク上からコンテンツデータを取得する必要が生
じるのである。
That is, for example, when the user specifies an incorrect fragment identifier, the card 204 is used in the above example.
(Analysis target data 404: “card1”) needs to be displayed. However, in the above-described processing, if the content data corresponding to the input fragment identifier is not stored in the cache memory 108, it is determined whether the content data has already been deleted from the cache memory 108 or has not existed. I can't. After all,
Therefore, it becomes necessary to acquire the content data from the network based on the URL and the content identifier input again.

【0082】そこで、この問題を解決するために、上記
コンテンツ分離手段103は以下の処理を行う。
Therefore, in order to solve this problem, the content separating means 103 carries out the following processing.

【0083】即ち、上記コンテンツ分離手段103は、
上述した「コンテンツデータから解析対象データを分離
する処理(図3:S304)」において、例えばヘッダ
が格納される解析対象データ403の最後尾に、表示や
動作等に影響を与えない記述で、当該コンテンツが含ん
でいるフラグメント識別子の例えばid属性をすべて記
述するのである。尚、この場合、例えば各id属性の順
番を判別可能に記載することで、各解析対象データ40
4〜407の順番も把握可能となる。ここで、順番を判
別可能に記載するとは、コンテンツデータに記載されて
いる順番でid属性を記載する事などが例として挙げら
れる。
That is, the content separating means 103 is
In the above-mentioned “processing for separating analysis target data from content data (FIG. 3: S304)”, for example, at the end of the analysis target data 403 in which the header is stored, a description that does not affect display or operation For example, all the id attributes of the fragment identifier included in the content are described. In this case, for example, by describing the order of each id attribute in a distinguishable manner, each analysis target data 40
The order of 4 to 407 can be grasped. Here, "discriminately describing the order" includes, for example, describing the id attributes in the order described in the content data.

【0084】上記記述内容は、上記例では例えば“<?
?>card1, card2, card3, card4
</??>等が該当する。ここに“<??>”は、コン
テンツ解析手段106にて解析された場合にも、表示や
動作等に影響を与えない記述であるとする。
In the above example, the description content is, for example, "<?
? > Card1, card2, card3, card4
</? ? >, Etc. Here, it is assumed that “<??>” is a description that does not affect display or operation even when analyzed by the content analysis unit 106.

【0085】上記フラグメント識別子の一覧は、ヘッダ
に対応する解析対象データ403に格納されてキャッシ
ュメモリ108に格納される。
The list of fragment identifiers is stored in the analysis target data 403 corresponding to the header and stored in the cache memory 108.

【0086】次に、例えばURLと共に、あるフラグメ
ント識別子が解析対象取得手段105から送信された場
合、コンテンツ管理手段104は、URLより解析対象
データ403を読み出し、上記フラグメント識別子の一
覧を参照する。また、上記URL及びフラグメント識別
子に対応する解析対象データがキャッシュメモリ108
内に存在するかを確認する。
Next, for example, when a certain fragment identifier is transmitted from the analysis object acquisition means 105 together with the URL, the content management means 104 reads the analysis object data 403 from the URL and refers to the list of fragment identifiers. In addition, the analysis target data corresponding to the URL and the fragment identifier is the cache memory 108.
Check if it exists inside.

【0087】ここで、上記キャッシュメモリ108内に
上記フラグメント識別子に対応する解析対象データがな
い場合、上記フラグメント識別子の一覧より、既にキャ
ッシュメモリ108から削除されたのか、それとも当該
フラグメント識別子に対応する解析対象データはもとも
と存在しなかったのか、(当該フラグメント識別子が間
違いであったのか)を判断することが可能になる。
Here, when there is no analysis target data corresponding to the fragment identifier in the cache memory 108, it is already deleted from the cache memory 108 from the list of fragment identifiers or the analysis corresponding to the fragment identifier. It is possible to determine whether the target data originally did not exist (whether the fragment identifier was incorrect).

【0088】フラグメント識別子に対応する解析対象デ
ータがキャッシュメモリ108から既に削除されている
のであれば、上記コンテンツ管理手段104はその旨を
解析対象取得手段105に通知することで、ネットワー
ク102を介して該当するコンテンツデータを取得す
る。
If the analysis target data corresponding to the fragment identifier has already been deleted from the cache memory 108, the content management means 104 notifies the analysis target acquisition means 105 of that fact, and the data is transferred via the network 102. Acquire the corresponding content data.

【0089】また、当該フラグメント識別子に対応する
解析対象データがもともと存在しなかったのであれば、
上記コンテンツ管理手段104は“card1”に対応
する解析対象データ404を上記解析対象取得手段10
5に送信する。
If the analysis target data corresponding to the fragment identifier does not originally exist,
The content management means 104 stores the analysis target data 404 corresponding to “card1” in the analysis target acquisition means 10.
Send to 5.

【0090】当然、新たに上記フラグメント識別子を管
理する解析対象データを作成し、当該解析対象データに
上記コンテンツが含んでいるフラグメント識別子をすべ
て列挙してもよい。また、フラグメント識別子の一覧に
替えてキャッシュデータの削除時に削除履歴を記載する
ようにしてもよい。
Of course, it is also possible to newly create analysis target data for managing the fragment identifier and list all fragment identifiers included in the content in the analysis target data. Further, instead of the list of fragment identifiers, the deletion history may be described when the cache data is deleted.

【0091】以上のように、フラグメント識別子の一覧
や削除履歴と、キャッシュメモリ上の解析対象データの
有無により解析対象データを管理することで、解析対象
データが削除された内容であるか、あるいは、存在しな
い内容であるか判断できる。従って、存在しない解析対
象データが指定された場合でも、場合によってはネット
ワークにアクセスすることなく解析対象データ(のデフ
ォルト内容)を利用することができる。
As described above, by managing the analysis target data based on the list of fragment identifiers, the deletion history, and the presence or absence of the analysis target data in the cache memory, whether the analysis target data is the deleted contents, or You can judge whether the content does not exist. Therefore, even if analysis target data that does not exist is specified, the analysis target data (default contents) can be used without accessing the network in some cases.

【0092】また更に、上記解析対象データを一単位と
してキャッシュメモリ108に格納する例の応用とし
て、以下のような処理が挙げられる。
Furthermore, as an application of the example in which the analysis target data is stored in the cache memory 108 as one unit, the following processing can be mentioned.

【0093】通常、従来技術における解析対象取得手段
2105は、URLに加えてフラグメント識別子を指定
された場合でも、サーバへの要求はURLのみを用いて
行われる。当該URLのみで要求を送信するため、得ら
れるのはコンテンツデータすべてである。言い換える
と、ネットワーク上の通信データに無駄なデータが含ま
れることになる。
Normally, the analysis target acquisition means 2105 in the prior art makes a request to the server using only the URL even when the fragment identifier is specified in addition to the URL. Since the request is transmitted only by the URL, all the content data can be obtained. In other words, useless data is included in the communication data on the network.

【0094】そこで、上記解析対象取得手段105は、
上記URLにフラグメント識別子を付加してサーバにコ
ンテンツデータを要求する。これに対してサーバは、コ
ンテンツデータの中から上記フラグメント識別子に対応
するコンテンツのみ、上記コンテンツ解析装置100に
送信するのである。
Therefore, the analysis target acquisition means 105 is
A fragment identifier is added to the above URL to request content data from the server. On the other hand, the server transmits only the content corresponding to the fragment identifier from the content data to the content analysis apparatus 100.

【0095】上記フラグメント識別子に対応するコンテ
ンツを受け取ったコンテンツ分離手段103は、当該コ
ンテンツにURL及びフラグメント識別子を付加し解析
対象データとしてコンテンツ管理手段104に送信する
のである。これにより、削除された解析対象データのみ
がキャッシュメモリ108に加えられる。
Upon receiving the content corresponding to the fragment identifier, the content separating means 103 adds the URL and the fragment identifier to the content and transmits it as analysis target data to the content managing means 104. As a result, only the deleted analysis target data is added to the cache memory 108.

【0096】従って、以上のように、キャッシュメモリ
から削除された解析対象データをネットワークを介して
取得する際に、解析対象取得手段はキャッシュメモリに
保存されている他の内容を除いて再取得するため、ネッ
トワーク上の通信データを削減することができる。
Therefore, as described above, when the analysis target data deleted from the cache memory is acquired via the network, the analysis target acquisition means re-acquires the contents except the other contents stored in the cache memory. Therefore, communication data on the network can be reduced.

【0097】(実施の形態2)続いて、実施の形態2で
は、上記実施の形態1におけるカードに限定せず、各コ
ンテンツ解析装置が所定のキャッシュデータ単位を指定
可能にする例を挙げる。
(Second Embodiment) Next, in the second embodiment, an example in which each content analysis device is capable of designating a predetermined cache data unit is not limited to the card in the first embodiment.

【0098】当該実施の形態2では、コンテンツデータ
に、例えば家電製品等に命令を送信する際に用いられる
XMLを用いた場合を例に用いる。
In the second embodiment, the case where the content data is XML, which is used for transmitting a command to a home electric appliance or the like, is used as an example.

【0099】尚、具体的なXMLを用いたクライアント
の動作は例えば以下のようになる。即ち、図6に示すよ
うに、XMLを格納、生成するパーソナルコンピュータ
601と、クライアントとして冷蔵庫602、テレビ6
03がネットワーク510に接続されている場合を考え
る。ここで、例えば冷蔵庫602やテレビ603に所定
の命令を送信する場合、ユーザはコンピュータ601を
用いて冷蔵庫602やテレビ603に、“html://aaa.b
bb.ccc.ddd/外出.xml"というURLを送信する。ここ
に、" aaa.bbb.ccc.ddd"は、上記パーソナルコンピュー
タ601のIPアドレスである。当該送信により冷蔵庫
602は上記URLに記載された情報に基づいて上記パ
ーソナルコンピュータ601に格納される" 外出.xml"
という名称のコンテンツデータを取得する。
The operation of the client using concrete XML is as follows, for example. That is, as shown in FIG. 6, a personal computer 601 that stores and generates XML, a refrigerator 602 as a client, and a television 6
Consider the case where 03 is connected to the network 510. Here, for example, when transmitting a predetermined command to the refrigerator 602 or the television 603, the user uses the computer 601 to display “html: //aaa.b” on the refrigerator 602 or the television 603.
Send the URL "bb.ccc.ddd / outing.xml". Here, "aaa.bbb.ccc.ddd" is the IP address of the personal computer 601. Due to the transmission, the refrigerator 602 is described in the URL. "Outgoing.xml" stored in the personal computer 601 based on the obtained information
Gets the content data with the name.

【0100】ここで、上記" 外出.xml"は、例えば図7
(a)のコンテンツデータ701に示すものである。
尚、当該" 外出.xml"は、例えばユーザが外出時に、家
庭内にあるすべての家電製品に対して電源をOFFにす
るために、各クライアントに対する電源=OFFという
命令が格納されている。
Here, the above-mentioned "outgoing.xml" is, for example, as shown in FIG.
This is shown in the content data 701 of (a).
Note that the "going-out.xml" stores, for example, a command to turn off the power to each client in order to turn off all the home appliances in the home when the user goes out.

【0101】上記冷蔵庫602が上記コンテンツデータ
を取得すると、解析対象データ705に記載された“家
電id=”冷蔵庫“”という記載に基づいて当該“家電
id=”冷蔵庫“内の”動作“に記載された命令を実行
する。ここで冷蔵庫602は、”ブザー=OFF“に基
づいてブザー機能を停止し、”省エネ=ON“に基づい
て動作を省エネモードに移行するのである。また同様に
テレビ603は、“家電id=”テレビ“”内の“動
作”の記載に基づいて、表示をOFFにし、さらに電源
もOFFにする。尚、上記idとは、XMLで良く利用
される属性の一種類である。このid属性は、同一コン
テンツデータ内において一意に決定される値であるた
め、他のタグと重なる可能性がない。そのため、同一コ
ンテンツデータ内において同一のタグが複数記述されて
いた場合でも、解析対象となるタグを特定することが可
能となる。
When the refrigerator 602 acquires the content data, it is described in the “operation of the home appliance id =” refrigerator ”based on the description of“ home appliance id = ”refrigerator” described in the analysis target data 705. The refrigerator 602 stops the buzzer function based on “buzzer = OFF” and shifts the operation to the energy saving mode based on “energy saving = ON.” Similarly, the television 603. Turns off the display and also turns off the power based on the description of "operation" in "home appliance id =" TV ". The above id is one of the attributes often used in XML. Since this id attribute is a value that is uniquely determined within the same content data, there is no possibility of overlapping with other tags. Same tag Te even if it has been more described, it is possible to identify the tag to be analyzed.

【0102】以上のような運用では、1つのコンテンツ
データ、ここではコンテンツデータ701(外出.xml)
には複数のクライアントに対する命令が記載されてい
る。即ち、従来では、各クライアントに備えられたコン
テンツ解析装置は、他のクライアントに対する命令もキ
ャッシュしてしまうのである。従って、このような運用
においては特に、キャッシュメモリが無駄につかわれて
しまうことになる。
In the above operation, one content data, here content data 701 (outgoing.xml)
Contains instructions for multiple clients. That is, conventionally, the content analysis device provided in each client also caches the commands to other clients. Therefore, particularly in such an operation, the cache memory is wastefully used.

【0103】そこで、実施の形態2におけるコンテンツ
解析装置500では、図5に示すように、解析対象決定
手段501が設けられている。また、コンテンツ分離手
段503は、上記解析対象決定手段501が決定する要
素に基づいて、解析対象データを分離するが詳細は後述
する。
Therefore, in the content analysis device 500 according to the second embodiment, as shown in FIG. 5, the analysis target determining means 501 is provided. The content separation unit 503 separates the analysis target data based on the elements determined by the analysis target determination unit 501, which will be described in detail later.

【0104】続いて、以下に上記冷蔵庫602に備えら
れたコンテンツ解析装置500の処理について説明す
る。
Subsequently, the processing of the content analysis device 500 provided in the refrigerator 602 will be described below.

【0105】まず、上述したように、上記ネットワーク
510に接続されたコンピュータ601からコンテンツ
取得指示、具体的には“html://aaa.bbb.ccc.ddd/外出.
xml"というURLを受信すると、当該URLは、ネット
ワーク手段101を介して解析対象取得手段105にて
受信される。尚、例えばユーザが、冷蔵庫602に備え
られた”外出“ボタンを押下することにより、当該ボタ
ンに関連付けて記憶されている上記URLを解析対象取
得手段105に送信してもよい。
First, as described above, a content acquisition instruction is issued from the computer 601 connected to the network 510, specifically, "html: //aaa.bbb.ccc.ddd/outing.
When the URL "xml" is received, the URL is received by the analysis target acquisition unit 105 via the network unit 101. Note that, for example, when the user presses the "out" button provided in the refrigerator 602. The URL stored in association with the button may be transmitted to the analysis target acquisition means 105.

【0106】上記URLを受信することで、上記解析対
象取得手段105は、コンテンツデータを格納している
サーバのネットワーク上のアドレス、及び対象とするコ
ンテンツデータを得ることになる。尚、同一ネットワー
ク上の各コンテンツデータ毎にIDを定め、そのIDを
指定することで、IDに対応するコンテンツデータを取
得してもよい。
By receiving the URL, the analysis target acquisition means 105 obtains the address on the network of the server storing the content data and the target content data. The content data corresponding to the ID may be acquired by defining an ID for each content data on the same network and designating the ID.

【0107】上記URLを受信した解析対象取得手段1
05は、上記実施の形態1にて説明したのと同様の手順
で、上記URLを用いて該当する解析対象データの有無
をコンテンツ管理手段104に対して問い合わせる(図
8:S301→S302)。
Analysis target acquisition means 1 that has received the above URL
05 uses the above URL to inquire the presence / absence of corresponding analysis target data with respect to the content management means 104 by the same procedure as described in the first embodiment (FIG. 8: S301 → S302).

【0108】ここで、対応する解析対象データがある場
合には、当該解析対象データをキャッシュメモリ108
より取得し、コンテンツ解析手段106に送信する(図
8:S302YES)。以後は実施の形態1と同様の手
順で、処理を行い結果として冷蔵庫602のブザー機能
がOFFとなり、さらに省エネモードに移行する(図
8:S306→S307)。
If there is corresponding analysis target data, the analysis target data is stored in the cache memory 108.
It is acquired and transmitted to the content analysis means 106 (FIG. 8: S302 YES). After that, the processing is performed in the same procedure as in the first embodiment, and as a result, the buzzer function of the refrigerator 602 is turned off, and the energy saving mode is further entered (FIG. 8: S306 → S307).

【0109】ここで、対応する解析対象データが無い場
合には、上記解析対象取得手段105は、ネットワーク
手段101に対して当該コンテンツデータを取得する旨
の命令を送信する。上記命令を受信したネットワーク手
段101は、ネットワーク510を介して上記コンテン
ツデータ701を取得し、コンテンツ分離手段503に
送信する(図8:S302NO→S303)。
Here, if there is no corresponding analysis target data, the analysis target acquisition means 105 sends a command to the network means 101 to acquire the content data. Upon receiving the command, the network means 101 acquires the content data 701 via the network 510 and transmits it to the content separating means 503 (FIG. 8: S302NO → S303).

【0110】続いて上記コンテンツ分離手段503を構
成する解析対象決定手段501は、解析対象データを限
定するために、予めコンテンツ解析装置内に記憶されて
いる“要素”を用いる。当該要素とは、上述したよう
に、開始タグ及び終了タグを指し、要素に対応するコン
テンツとは、上記開始タグ及び終了タグにて挟まれてい
るコンテンツを指す。
Subsequently, the analysis target determining means 501 constituting the content separating means 503 uses the “element” stored in advance in the content analysis device in order to limit the analysis target data. As described above, the element refers to the start tag and the end tag, and the content corresponding to the element refers to the content sandwiched between the start tag and the end tag.

【0111】即ち、上記解析対象決定手段501は、キ
ャッシュをすべき特定の要素を上記コンテンツ分離手段
503に対して指定するのである。本例で使用するXM
Lで記述されたコンテンツデータ701は、図7(b)
に示すように、タグのツリー構造となっている。そのた
め、特定のタグ内には当該タグに関する情報がぶら下が
る。この特徴を利用して、解析対象決定手段501は、
予め記憶されている特定の要素(タグ)をコンテンツ分
離手段503に通知するのである(図8:S801)。
本実施例では、上記要素に「家電id=冷蔵庫」(つま
り、フラグメント識別子=冷蔵庫であるタグ)及び「動
作」タグが記憶されているものとする。
That is, the analysis target determining means 501 designates a specific element to be cached to the content separating means 503. XM used in this example
Content data 701 described in L is shown in FIG.
As shown in, it has a tree structure of tags. Therefore, information about the particular tag hangs within the particular tag. Utilizing this feature, the analysis target determining unit 501
The specific element (tag) stored in advance is notified to the content separating means 503 (FIG. 8: S801).
In the present embodiment, it is assumed that “home appliance id = refrigerator” (that is, fragment identifier = refrigerator tag) and “action” tag are stored in the above elements.

【0112】上記コンテンツデータ701を取得したコ
ンテンツ分離手段503は、上記解析対象決定手段50
1より受けた上記要素に基づいて、コンテンツデータ7
01から目的とする解析対象データを分離する(図8:
S802)。
The content separation means 503 that has acquired the content data 701 is the analysis target determination means 50.
Content data 7 based on the above elements received from 1
The target analysis target data is separated from 01 (FIG. 8:
S802).

【0113】具体的には、上記コンテンツ分離手段50
3は、上記解析対象決定手段501から受けたタグ(フ
ラグメント識別子=「冷蔵庫」)及び「動作」に基づい
て、図9の解析対象データ705に示す部分、即ち“家
電id=冷蔵庫”ツリー内の“動作”ツリーに属する部
分のみを分離し、上記URL、タグ(フラグメント識別
子)とあわせて解析対象データ901(URLは図示せ
ず)を作成して上記コンテンツ管理手段104に送信す
る。当該コンテンツ管理手段104は、受信した上記解
析対象データ901をキャッシュメモリ108に格納す
る(図8:S305)。また、上記コンテンツ分離手段
503は、上記解析対象データ901を上記解析対象取
得手段105にも送信する。
Concretely, the content separating means 50.
3 is based on the tag (fragment identifier = “refrigerator”) and “operation” received from the analysis target determining means 501, the portion shown in the analysis target data 705 of FIG. 9, that is, in the “home appliance id = refrigerator” tree. Only the part that belongs to the “motion” tree is separated, analysis target data 901 (URL is not shown) is created together with the URL and the tag (fragment identifier), and the data is transmitted to the content management means 104. The content management means 104 stores the received analysis target data 901 in the cache memory 108 (FIG. 8: S305). The content separation unit 503 also transmits the analysis target data 901 to the analysis target acquisition unit 105.

【0114】以後は実施の形態1と同様の手順で処理を
行い、結果として冷蔵庫602のブザー機能がOFFと
なり、さらに省エネモードに移行する(図8:S306
→S307)。
After that, the processing is performed in the same procedure as in the first embodiment, and as a result, the buzzer function of the refrigerator 602 is turned off, and the energy saving mode is further entered (FIG. 8: S306).
→ S307).

【0115】以上のように、解析対象決定手段が、解析
対象となる要素を通知することで、上記実施の形態1に
おけるカードに限らず、コンテンツ解析装置がキャッシ
ュとして取得する解析対象を臨機応変に変更することが
できる。
As described above, the analysis target determining means notifies the element to be analyzed, so that the analysis target to be acquired as a cache by the content analysis device is not limited to the card in the first embodiment and can be changed flexibly. Can be changed.

【0116】尚、上記解析対象決定手段が要素を通知し
ているが、コンテンツ分離手段に対して以下のような命
令を通知してもよい。
Although the analysis target determining means notifies the element, the following instruction may be notified to the content separating means.

【0117】例えば、上記コンテンツデータ701には
複数のクライアントに対する命令が含まれていたが、パ
ーソナルコンピュータ601から上記冷蔵庫602に直
接命令を送信する場合、図10のコンテンツデータ10
01に示すように、1つのクライアントに対する命令し
か含まれていない場合がある。このような場合、上記コ
ンテンツ分離手段503は、上記コンテンツデータ10
01に含まれる命令をすべて冷蔵庫602に対する命令
として、解析対象とする。具体的には、コンテンツデー
タ1001に示された命令部分、即ち解析対象1002
の部分が解析対象として選択され、URL、タグと合わ
せて解析対象データ1003(URLは図示せず)とし
て分離される。この場合、キャッシュメモリ108に占
めるコンテンツデータの容量は大幅に圧縮される。
For example, although the content data 701 includes a command for a plurality of clients, when the command is directly transmitted from the personal computer 601 to the refrigerator 602, the content data 10 shown in FIG.
As shown at 01, it may only include instructions for one client. In such a case, the content separation unit 503 causes the content data 10
All the commands included in 01 are analyzed as the commands to the refrigerator 602. Specifically, the command portion shown in the content data 1001, that is, the analysis target 1002
Is selected as an analysis target and is separated as analysis target data 1003 (URL is not shown) together with the URL and the tag. In this case, the capacity of the content data in the cache memory 108 is significantly compressed.

【0118】また、上記解析対象決定手段501が、当
該コンテンツ解析装置500が解析不可能な要素を除く
旨(解析可能な要素に属するコンテンツデータのみを分
離する旨)の命令をコンテンツ分離手段503に通知し
てもよい。例えば、冷蔵庫602では表示に関する要素
は意味を持たないことが多いため、解析可能な要素に
“表示”が含まれない。このような場合は、表示に関す
る要素がキャッシュメモリに含まれないようにできる。
Further, the analysis target determining means 501 sends to the content separating means 503 an instruction to remove the elements that the content analyzing apparatus 500 cannot analyze (separate only the content data belonging to the analyzable elements). You may notify. For example, in the refrigerator 602, since the display-related elements often have no meaning, the “display” is not included in the analyzable elements. In such a case, the display element can be prevented from being included in the cache memory.

【0119】具体的に、例えば図11のコンテンツデー
タ1101内で、上記冷蔵庫602のコンテンツ解析装
置が解釈可能な要素(タグ)1103を点線矩形で示
す。ここでは、“家電制御”、“動作”、“電源”であ
る。つまり、上記命令に基づいてコンテンツデータ11
01を分離した場合、解析対象データ1102は“家電
制御”、“動作”、“電源”に関連するコンテンツデー
タのみとなり、上記同様にキャッシュメモリ108に占
めるコンテンツデータの容量を大幅に圧縮することがで
きる。
Specifically, in the content data 1101 of FIG. 11, for example, an element (tag) 1103 that can be interpreted by the content analysis device of the refrigerator 602 is shown by a dotted rectangle. Here, it is "home appliance control", "operation", and "power supply". That is, the content data 11 based on the above command
When 01 is separated, the analysis target data 1102 is only the content data related to “home appliance control”, “operation”, and “power supply”, and the capacity of the content data in the cache memory 108 can be significantly compressed in the same manner as described above. it can.

【0120】また、所定の要素に関連する部分を削除す
る旨の命令をコンテンツ分離手段503に通知してもよ
い。これは、必ずしも必要ではないが多くのコンテンツ
データにて含まれているタグを削除する場合に有効であ
る。
Further, the content separating means 503 may be notified of an instruction to delete a portion related to a predetermined element. This is effective when deleting tags which are not always necessary but are included in many content data.

【0121】具体的には、例えば図12のコンテンツデ
ータ1201内の表現に関する記述1203にて示すよ
うに、構造記述部分に相当する部分を削除するのであ
る。本例では、表現に関する記述方法として、カスケー
ドスタイルシート言語を利用しているが、その他の記述
方法でも構わない。また、必ずしも表現に関わる必要は
無く、まったく別の種類の要素でもよい。
Specifically, for example, as shown in the description 1203 regarding the expression in the content data 1201 of FIG. 12, the part corresponding to the structure description part is deleted. In this example, the cascading style sheet language is used as a description method regarding expressions, but other description methods may be used. Also, it does not necessarily have to be related to the expression, and may be a completely different type of element.

【0122】また、例えば上記コンテンツ分離手段又は
解析対象決定手段が、外部(ネットワークを介して接続
されるコンピュータや、当該コンテンツ解析装置に設け
られた入力手段)からの命令に基づいて上述した分離処
理の内容を切り替えるようにしてもよい。上記命令と
は、具体的には例えばパーソナルコンピュータからのタ
グの指定であったり、キーボードなどからのタグの選択
等である。
Further, for example, the content separation means or the analysis target determination means described above is based on a command from the outside (a computer connected via a network or an input means provided in the content analysis apparatus) to perform the separation processing described above. The contents of may be switched. Specifically, the instruction is, for example, designation of a tag from a personal computer, selection of a tag from a keyboard, or the like.

【0123】以上のように、解析対象決定手段の命令に
基づいてコンテンツ分離手段が柔軟に解析対象データを
分離することで、様々な状況にあわせて必要な解析対象
だけを分離可能となり、キャッシュメモリをいっそう効
率よく利用することができる。また、コンテンツ解析手
段にて解析される解析対象データは、不要な部分を含ま
ないために、処理の高速化が期待できる。
As described above, since the content separating means flexibly separates the analysis target data based on the instruction of the analysis target determining means, only the necessary analysis target can be separated according to various situations, and the cache memory can be separated. Can be used more efficiently. Further, since the analysis target data analyzed by the content analysis means does not include an unnecessary portion, it is expected that the processing speed can be increased.

【0124】尚、上記実施の形態1、2では、URL及
び上記コンテンツ分離手段により分離されたデータであ
る分離データにより、解析対象データが構成されていた
が、例えばネットワークを介して受信したコンテンツデ
ータに、当該コンテンツデータの有効期限が記載されて
いる場合、解析対象データに、当該有効期限を加えても
よい。また、有効期限が含まれていない場合などは、上
記コンテンツ分離手段が受信日時等を有効期限として加
えても良い。
In the first and second embodiments, the analysis target data is composed of the URL and the separated data which is the data separated by the content separating means. However, for example, the content data received via the network is used. When the expiration date of the content data is described in, the expiration date may be added to the analysis target data. When the expiration date is not included, the content separating means may add the reception date and time as the expiration date.

【0125】また、本実施の形態2において、要素に、
解析対象データに共通して利用される記述が記載される
ヘッダを含めることで、実施の形態1と同様、各要素の
解析に関連する情報を複数の解析対象データに保存する
必要が無く、結果としてキャッシュメモリを有効に利用
することが可能となる。
In the second embodiment, the elements include
By including the header in which the description commonly used for the analysis target data is described, it is not necessary to store the information related to the analysis of each element in a plurality of analysis target data, as in the first embodiment, and the result As a result, the cache memory can be effectively used.

【0126】(実施の形態3)続いて、実施の形態3で
は、上記実施の形態1、2にて分離された解析対象デー
タの上記コンテンツ管理手段104での管理処理につい
て詳細に説明する。
(Third Embodiment) Next, in the third embodiment, the management processing of the analysis target data separated in the first and second embodiments by the content management means 104 will be described in detail.

【0127】図13は、コンテンツ管理手段104が管
理する解析対象データ1301の概略を示す一例であ
る。解析対象データ1301は、以下の情報により構成
される。URL1302は、解析対象データ1301の
基となるコンテンツデータが格納されていたネットワー
ク上のサーバのアドレス、当該サーバ内の格納場所、及
びファイル名を含む。尚、上記実施の形態1、2にて説
明したフラグメント識別子を含んでもよい。有効期限1
303は、取得時の通信プロトコルヘッダや、あるい
は、コンテンツデータ内に記述されたコンテンツデータ
の有効期限等である。分離データ1304は、解析対象
データ1301の基となるコンテンツデータから上記コ
ンテンツ分離手段103、503が分離した部分であ
り、ここに上述した命令等が含まれる。
FIG. 13 is an example showing an outline of the analysis target data 1301 managed by the content management means 104. The analysis target data 1301 is composed of the following information. The URL 1302 includes the address of the server on the network where the content data that is the base of the analysis target data 1301 was stored, the storage location in the server, and the file name. The fragment identifier described in the first and second embodiments may be included. Expiration date 1
303 is a communication protocol header at the time of acquisition, or the expiration date of the content data described in the content data. The separated data 1304 is a part separated by the content separating means 103, 503 from the content data which is the basis of the analysis target data 1301, and includes the above-mentioned commands and the like.

【0128】次に、コンテンツ管理手段104が上記解
析対象データ1301をキャッシュメモリ108に格納
する処理であるキャッシュ保存処理について図14のフ
ローチャートに沿って説明する。キャッシュメモリ10
8に格納するのは、解析対象データがない場合や、解析
対象データがあっても上記有効期限1303が満了して
いる場合などが該当する。また、解析対象データに含ま
れる上記フラグメント識別子については上記実施の形態
1、2にて十分説明を行ったため、割愛する。
Next, a cache saving process, which is a process in which the content management means 104 stores the analysis target data 1301 in the cache memory 108, will be described with reference to the flowchart of FIG. Cache memory 10
Storing in 8 corresponds to the case where there is no analysis target data, or the case where the validity period 1303 has expired even if there is analysis target data. Since the fragment identifier included in the analysis target data has been sufficiently described in the first and second embodiments, it will be omitted.

【0129】上記コンテンツ管理手段104より解析対
象データ1301が送信された場合、上記コンテンツ管
理手段104は、送信された解析対象データに含まれる
URL1302に対応する解析対象データが既にキャッ
シュメモリ108保存されているかどうか検索する(図
14:S1401)。当該検索は、上記解析対象取得手
段105より送信されたURLと、キャッシュメモリ1
08内に格納されている複数の解析対象データ1301
のURL1302を順に比較することにより行われる。
When the analysis target data 1301 is transmitted from the content management means 104, the content management means 104 determines that the analysis target data corresponding to the URL 1302 included in the transmitted analysis target data is already stored in the cache memory 108. It is searched whether there is any (FIG. 14: S1401). The search is performed by using the URL transmitted from the analysis target acquisition means 105 and the cache memory 1
Analysis target data 1301 stored in 08
The URLs 1302 are compared in order.

【0130】ここで、上記コンテンツ管理手段104
は、一致するURL1302を持つ解析対象データがあ
るかどうか判定し、一致する解析対象データがあれば削
除する(図14:S1402YES→S1403)。こ
れは、URLに対応する解析対象データがあるが、当該
解析対象データの有効期限が満了している場合などが該
当する。尚、一致する解析対象データがない場合は次の
処理を行う(図14:S1402NO→S1404)。
これは、新たなコンテンツデータを取得した場合などが
該当する。
Here, the content management means 104.
Determines whether there is analysis target data having the matching URL 1302 and deletes the matching analysis target data (FIG. 14: S1402 YES → S1403). This corresponds to the case where the analysis target data corresponding to the URL exists, but the expiration date of the analysis target data has expired. If there is no matching analysis target data, the following process is performed (FIG. 14: S1402 NO → S1404).
This is the case when new content data is acquired.

【0131】次に、上記コンテンツ分離手段103より
送信された新たな解析対象データがキャッシュメモリ1
08より大きいか判定し、当該キャッシュメモリ108
より大きい場合はキャッシュ保存処理を失敗として終了
し(図14:S1404YES→終了)、小さい場合は
次のステップに進む(図14:S1404NO→S14
05)。
Next, the new analysis target data transmitted from the content separating means 103 is the cache memory 1.
It is determined whether or not the cache memory 108 is larger than 08.
If it is larger, the cache saving process ends as a failure (FIG. 14: S1404 YES → End), and if it is smaller, the process proceeds to the next step (FIG. 14: S1404 NO → S14).
05).

【0132】続いて、上記コンテンツ分離手段103、
503より受信した解析対象データを、キャッシュメモ
リ108の先頭に保存(格納)する(図14:S140
5)。
Subsequently, the content separating means 103,
The analysis target data received from 503 is saved (stored) at the head of the cache memory 108 (FIG. 14: S140).
5).

【0133】上記解析対象データの保存に成功した場合
は処理を終了する(図14:S1406YES→終
了)。保存に失敗した場合、キャッシュメモリ108に
格納される最後尾の解析対象データを削除することで、
保存領域を確保する(図14:S1406NO→S14
07)。ここで、キャッシュメモリに格納される最後尾
の解析対象データとは、例えばキャッシュメモリ上での
アドレスが一番大きい解析対象データや、検索順序が最
後になるアドレスを有する解析対象データが該当する。
When the data to be analyzed is successfully saved, the process ends (FIG. 14: S1406 YES → end). If the saving fails, by deleting the last analysis target data stored in the cache memory 108,
Secure a storage area (FIG. 14: S1406 NO → S14
07). Here, the last analysis target data stored in the cache memory corresponds to, for example, the analysis target data having the largest address in the cache memory or the analysis target data having the address having the last search order.

【0134】以後、上記コンテンツ分離手段103、5
03より送信される複数の解析対象データがすべて格納
されるまで、上記処理S1405から処理S1407を
繰り返す。
Thereafter, the content separating means 103, 5
The above processing S1405 to processing S1407 are repeated until all the plurality of analysis target data transmitted from 03 are stored.

【0135】本例では、キャッシュメモリが一杯で保存
できない場合は、保存時期が新しい解析対象データがキ
ャッシュメモリ上の前側に保存される特徴を利用して、
最も古い時期に保存された解析対象データを優先的に削
除するようにした。ただし、以降で説明するキャッシュ
取得処理において、アクセス時期が新しい解析対象デー
タを先頭に移動することで、アクセス時期が古い保存コ
ンテンツデータが優先的に削除されるようにすることも
可能である。尚、上記アクセス時期とは、キャッシュデ
ータとして上記コンテンツ管理手段に最後に読み出され
た時期を示す。
In this example, when the cache memory is full and cannot be saved, the analysis target data with a new save time is saved on the front side of the cache memory,
The analysis target data saved in the oldest time is deleted preferentially. However, in the cache acquisition processing described below, it is also possible to preferentially delete stored content data with an old access time by moving the analysis target data with a new access time to the beginning. The access time is the time when the cache data is last read by the content management means.

【0136】また、解析対象データの並びを変更する際
に、実データを移動すると書き込みが頻繁に発生するた
め、解析対象データの並びを管理する別情報を用意する
か、あるいは、データと管理情報を別々に管理する実装
方法の方が良い。また、削除する解析対象データの判定
は、解析対象データの並びからではなく、保存時期や、
最近アクセスした時期を上記有効期限として解析対象デ
ータ内に保存することで、削除する解析対象データを決
定する実装方法などもある。
Further, when changing the arrangement of the analysis target data, writing frequently occurs when the actual data is moved. Therefore, separate information for managing the arrangement of the analysis target data is prepared, or the data and the management information are changed. It is better to implement it separately. Also, the judgment of the analysis target data to be deleted is not based on the arrangement of the analysis target data,
There is also an implementation method in which the analysis target data to be deleted is determined by storing the time of recent access as the expiration date in the analysis target data.

【0137】また、キャッシュメモリが不足した場合
に、有効な解析対象データが削除されることを軽減する
ために、優先度が低い解析対象データを削除する前に、
すべての解析対象データの有効期限1303をチェック
し、当該有効期限外の解析対象データを予め削除しても
よい。
Further, in order to reduce the deletion of valid analysis target data when the cache memory becomes insufficient, before deleting the analysis target data of low priority,
You may check the expiration date 1303 of all the analysis target data, and delete the analysis target data outside the expiration date in advance.

【0138】次に、解析対象取得手段105よりURL
が送信されることにより、コンテンツ管理手段104が
上記解析対象データ1301をキャッシュメモリ108
から取得する際の処理について図15のフローチャート
に沿って説明する。
[0138] Next, the URL from the analysis target acquisition means 105
Is transmitted, the content management unit 104 stores the analysis target data 1301 in the cache memory 108.
The process of acquiring from will be described with reference to the flowchart of FIG.

【0139】まず、上記コンテンツ管理手段104は、
上記解析対象取得手段105より送信されたURLに基
づいて、上記キャッシュメモリ108内の該当する解析
対象データを検索する(図15:S1501)。
First, the content management means 104
Based on the URL transmitted from the analysis target acquisition means 105, the corresponding analysis target data in the cache memory 108 is searched (FIG. 15: S1501).

【0140】ここで、上記URLに対応する解析対象デ
ータがない場合、キャッシュ取得処理を失敗として終了
する(図15:S1502NO→終了)。
If there is no data to be analyzed corresponding to the above URL, the cache acquisition process ends as a failure (FIG. 15: S1502 NO → end).

【0141】ここで、上記URLに対応する解析対象デ
ータがある場合、続いて上記コンテンツ管理手段104
は、解析対象データ内の有効期限1303をチェック
し、有効期限内か否かを判定する(図15:S1502
YES→S1503)。
Here, if there is analysis target data corresponding to the URL, then the content management means 104 is executed.
Checks the expiration date 1303 in the analysis target data and determines whether it is within the expiration date (FIG. 15: S1502).
YES → S1503).

【0142】ここで、有効期限内と判定した場合、上記
コンテンツ管理手段104は、解析対象データを読み出
し、上記解析対象取得手段105に送信する(図15:
S1503YES→S1504)。また、読み出した解
析対象データをキャッシュメモリの先頭に移動し、キャ
ッシュ取得処理を終了する(図15:S1505→終
了)。
If it is determined that the validity period has expired, the contents management means 104 reads out the analysis target data and sends it to the analysis target acquisition means 105 (FIG. 15:
S1503 YES → S1504). Further, the read analysis target data is moved to the head of the cache memory, and the cache acquisition processing is ended (FIG. 15: S1505 → end).

【0143】尚、有効期限内ではないと判断した場合、
該当する解析対象データを削除し、キャッシュ取得処理
を失敗として終了する(図15:S1503NO→S1
506→終了)。
If it is determined that the validity period has not expired,
The corresponding analysis target data is deleted, and the cache acquisition process ends as a failure (FIG. 15: S1503 NO → S1).
506 → end).

【0144】図15における処理S1505は、上記キ
ャッシュ保存処理で説明したように、アクセス頻度が高
い解析対象データをキャッシュメモリの前側に移動する
ために行っている。当然、当該処理を行わない場合は、
保存時期順に解析対象データが並ぶため、保存時期が古
い解析対象データが優先的に削除される。つまり本処理
を行うことにより、アクセス時期順に解析対象データが
並ぶため、アクセス時期が古い保存コンテンツデータ2
01が優先的に削除される。
The process S1505 in FIG. 15 is performed to move the analysis target data having a high access frequency to the front side of the cache memory, as described in the cache saving process. Of course, if you do not do the process,
Since the analysis target data are arranged in the order of the storage time, the analysis target data with the old storage time is preferentially deleted. In other words, by performing this processing, the analysis target data are arranged in the order of access time, so that the stored content data 2 with an old access time
01 is deleted preferentially.

【0145】また、有効期限内ではない解析対象データ
を削除するタイミングは、取得時以外で有効期限を超え
たと判断できるケースがあれば削除しても構わないし、
一定の時間間隔をもって有効期限を判定するようにして
もよい。また、必ずしも有効期限を判定する必要はな
く、例えば特定の条件下では有効期限を無視するとして
もよい。
Further, the analysis target data which is not within the expiration date may be deleted at a timing other than the time of acquisition as long as it can be determined that the expiration date has been exceeded.
The expiration date may be determined at regular time intervals. Further, it is not always necessary to determine the expiration date, and the expiration date may be ignored under a specific condition, for example.

【0146】(実施の形態4)続いて、本実施の形態4
において、上記実施の形態1〜3にて触れなかったサブ
コンテンツに対する処理について述べる。
(Fourth Embodiment) Next, a fourth embodiment will be described.
In the following, processing for sub-contents not mentioned in the first to third embodiments will be described.

【0147】従来では、上述したML(マークアップ言
語)にて記載されるコンテンツデータには、当該コンテ
ンツデータ内に記載されるテキストデータ以外に、当該
コンテンツデータからのリンクにて指定されるイメージ
ファイルや、スタイルシートファイル、スクリプトファ
イル等のサブコンテンツが含まれる。ここで、当該サブ
コンテンツに対し、上記コンテンツデータ(ファイル)
をメインコンテンツと称すると、上記サブコンテンツと
は、上記メインコンテンツからリンクされている別ファ
イルと定義することができる。上記サブコンテンツは、
上記メインコンテンツからのリンクがなくなると、参照
されることがないのである。
Conventionally, in the content data described in the above-mentioned ML (markup language), in addition to the text data described in the content data, an image file designated by a link from the content data is specified. And sub-contents such as style sheet files and script files. Here, the content data (file) for the sub-content
Is referred to as main content, the sub-content can be defined as another file linked from the main content. The above sub contents are
If there is no link from the main content, it will not be referenced.

【0148】ところで、上記サブコンテンツは、キャッ
シュデータとしては上記メインコンテンツと独立して管
理されている。つまり、リンクを有するメインコンテン
ツがキャッシュメモリから削除されているにもかかわら
ず、サブコンテンツはキャッシュメモリに格納されたま
まという場合が発生するのである。ここで、上記サブコ
ンテンツ、特にイメージファイルは、テキストにて構成
されるメインコンテンツよりもサイズが大きくなる傾向
がある。つまり、無用なサブコンテンツが残っている場
合、このようなサブコンテンツはメインコンテンツより
もキャッシュメモリを圧迫する可能性が高いのである。
The sub contents are managed as cache data independently of the main contents. In other words, even if the main content having the link is deleted from the cache memory, the sub-content may remain stored in the cache memory. Here, the size of the sub-content, especially the image file, tends to be larger than that of the main content composed of text. In other words, if there is useless sub-content left, such sub-content is more likely to squeeze the cache memory than the main content.

【0149】そこで、本実施の形態4では、上記リンク
を細かく管理することにより、無用なサブコンテンツを
確実に削除するものである。
Therefore, in the fourth embodiment, by managing the links in detail, useless sub-contents are surely deleted.

【0150】まず、図16に示すように、本実施の形態
4に係るコンテンツ管理手段1601はさらにリンク管
理手段1602を備える。尚、コンテンツ分離手段10
3、503、及びコンテンツ管理手段1601以外の各
手段は、上記実施の形態1〜3と同様である。さらに、
上記実施の形態1〜3にて示したコンテンツ分離手段1
03(503)は、上記コンテンツ(メインコンテン
ツ)の記述に基づいてサブコンテンツを受信した際に、
当該サブコンテンツ(ファイル)を上記コンテンツ管理
手段104に送信するものとする。
First, as shown in FIG. 16, the content management means 1601 according to the fourth embodiment further includes a link management means 1602. The content separating means 10
3, 503 and each means other than the content management means 1601 are the same as in the first to third embodiments. further,
Content separation means 1 shown in the first to third embodiments
03 (503), when the sub content is received based on the description of the content (main content),
It is assumed that the sub-content (file) is transmitted to the content management means 104.

【0151】また、ここで、理解に供するため、メイン
コンテンツの一例を図17に示す。図17に示したコン
テンツデータ1701(メインコンテンツ)には、カー
ド1(1703)にサブコンテンツへのリンク1702
が記載されている。尚、カード1(1703)内に記載
されたリンク1702は、当該カード1703にのみ関
連するリンクであり、イメージファイル等が該当する。
Here, for the sake of understanding, an example of the main contents is shown in FIG. In the content data 1701 (main content) shown in FIG. 17, the card 1 (1703) has a link 1702 to the sub-content.
Is listed. The link 1702 described in the card 1 (1703) is a link related only to the card 1703 and corresponds to an image file or the like.

【0152】続いて、図18を用いて、コンテンツ分離
手段103(503)及びコンテンツ管理手段1601
が上記コンテンツデータ1701を受信した際の動作を
説明する。
Then, with reference to FIG. 18, the content separation means 103 (503) and the content management means 1601.
The operation when the above contents data 1701 is received will be described.

【0153】まず、上記コンテンツ分離手段103(5
03)が上記コンテンツデータ1701及び当該コンテ
ンツデータ1701よりリンクにて示されているサブコ
ンテンツ1810を受信すると(図18:取得コンテン
ツ1850−フェーズ1)、上記コンテンツデータ17
01については上記実施の形態1にて示した処理を行
う。即ち、カード1(1703)、カード2(170
4)をそれぞれ分離し、URLと当該カードを示すフラ
グメント識別子を付加するのである(図4参照)。以上
のように分離され、解析対象データとされたCARD1
(1811)、CARD2(1812)は、上記コンテ
ンツ管理手段1601に送信される。また、上記サブコ
ンテンツ1810はそのままコンテンツ管理手段160
1に送信される。
First, the content separation means 103 (5
03) receives the content data 1701 and the sub-content 1810 indicated by a link from the content data 1701 (FIG. 18: acquired content 1850-Phase 1), the content data 17
For 01, the processing described in the first embodiment is performed. That is, the card 1 (1703) and the card 2 (170
4) are separated from each other, and the URL and the fragment identifier indicating the card are added (see FIG. 4). CARD1 separated as described above and used as analysis target data
(1811) and CARD2 (1812) are transmitted to the content management means 1601. In addition, the sub-content 1810 is the content management means 160 as it is.
Sent to 1.

【0154】上記解析対象データとされたメインコンテ
ンツ、即ちCARD1(1811)、CARD2(18
12)、及びサブコンテンツ1810は、キャッシュメ
モリ108に格納される。但し、この際に、上記リンク
管理手段1602は上記メインコンテンツとサブコンテ
ンツとの関連情報(リンク情報)を解析する。
[0154] The main contents which are the analysis target data, that is, CARD1 (1811) and CARD2 (18)
12) and the sub-content 1810 are stored in the cache memory 108. However, at this time, the link management unit 1602 analyzes the related information (link information) between the main content and the sub content.

【0155】具体的には、まず、上記リンク管理手段1
602は、上記CARD1(1811)の“サブコンテ
ンツへのリンク”1702を解析することで、サブコン
テンツ1810とCARD1(1811)がリンク関係
を有していると判断する。
Specifically, first, the link managing means 1
The 602 analyzes the “link to sub-content” 1702 of the CARD1 (1811) to determine that the sub-content 1810 and the CARD1 (1811) have a link relationship.

【0156】従って、サブコンテンツ1810とCAR
D1(1811)が関連付けられる。
Therefore, the sub-content 1810 and the CAR
D1 (1811) is associated.

【0157】以上の処理により、メインコンテンツ、サ
ブコンテンツは、キャッシュメモリ108に格納され、
さらに各メインコンテンツとサブコンテンツとの関連付
情報が例えばリンク管理手段1602内の所定のメモリ
に格納される。尚、メインコンテンツ、サブコンテンツ
がキャッシュメモリ108に格納されているイメージ
を、図18のフェーズ1におけるメインコンテンツキャ
ッシュ状態1851、及びサブコンテンツキャッシュ状
態1852に示す。つまり、CARD1(1811)、
CARD2(1812)、及びサブコンテンツ1810
がキャッシュメモリ108に格納され、上記関連付情報
の内容が各サブコンテンツの上部に矢印1809で示さ
れている。但し、上記関連付情報については、例えば上
記サブコンテンツ1809のURLと、当該サブコンテ
ンツ1809が1つのリンクを有していることを示す数
値“1”とを対応付けて格納するのみでよい。
By the above processing, the main contents and the sub contents are stored in the cache memory 108,
Further, the association information between each main content and sub-content is stored in, for example, a predetermined memory in the link management means 1602. An image in which the main content and the sub content are stored in the cache memory 108 is shown in the main content cache state 1851 and the sub content cache state 1852 in phase 1 of FIG. That is, CARD1 (1811),
CARD2 (1812) and sub-contents 1810
Is stored in the cache memory 108, and the content of the above-mentioned association information is indicated by an arrow 1809 above each sub-content. However, for the association information, for example, the URL of the sub-content 1809 and the numerical value “1” indicating that the sub-content 1809 has one link may be stored in association with each other.

【0158】尚、理解に供するため、メインコンテン
ツ、サブコンテンツを同じキャッシュメモリ108内に
格納したが、格納先は特に限定しない。つまり、上記メ
インコンテンツ及びサブコンテンツを別々のメモリに格
納しても構わない。また、上記関連付情報の保持の方法
は、上記メインコンテンツ及びサブコンテンツがそれぞ
れ関連付けられていることさえ分かればどのような方法
でも構わない。
For the sake of understanding, the main contents and the sub contents are stored in the same cache memory 108, but the storage destination is not particularly limited. That is, the main content and the sub-content may be stored in different memories. The method of holding the association information may be any method as long as it is known that the main content and the sub content are associated with each other.

【0159】次に、上記コンテンツ分離手段103(5
03)が、図18におけるフェーズ2−取得コンテンツ
で示したコンテンツデータ1821を取得したと仮定す
る。当該コンテンツデータ1821は、CARD3(1
822)、CARD4(1823)を有し、さらに当該
CARD4(1823)は上記サブコンテンツ1810
へのリンクを有する。
Next, the content separating means 103 (5
03) has acquired the content data 1821 shown in the phase 2-acquired content in FIG. The content data 1821 is CARD3 (1
822) and CARD4 (1823), and the CARD4 (1823) further includes the sub-content 1810.
With a link to.

【0160】上記コンテンツデータ1821がコンテン
ツ分離手段103(503)に取得されると、解析対象
データとしてCARD3(1822)及びCARD4
(1823)が作成され、コンテンツ管理手段1601
に送信される。
When the content data 1821 is acquired by the content separating means 103 (503), CARD3 (1822) and CARD4 are analyzed as data to be analyzed.
(1823) is created, and content management means 1601
Sent to.

【0161】上記コンテンツ管理手段1601が上記解
析対象データを受信すると、リンク管理手段1602
は、まず上記CARD3(1822)を解析する。ここ
で、上記CARD3(1822)はリンクを有さないた
め、当該CARD3(1822)の解析では、上記関連
付情報を変更しない。また、キャッシュメモリ108に
空き容量があるため、上記CARD3(1822)がキ
ャッシュメモリ108に格納される。
When the content management means 1601 receives the analysis target data, the link management means 1602
First analyzes the CARD3 (1822). Here, since the CARD3 (1822) has no link, the association information is not changed in the analysis of the CARD3 (1822). Since the cache memory 108 has free space, the CARD3 (1822) is stored in the cache memory 108.

【0162】次に、上記コンテンツ管理手段1601
は、上記CARD4(1823)を解析する。ここで、
当該CARD4(1823)は、上記サブコンテンツ1
810へのリンクを有するため、上記リンク管理手段1
602は、上記関連付情報内の上記サブコンテンツ18
10に対応する数値“1”に“1”を加算して“2”と
する。
Next, the content management means 1601.
Analyzes the CARD4 (1823). here,
The CARD4 (1823) is the sub content 1 described above.
Since it has a link to 810, the link management means 1
Reference numeral 602 denotes the sub-content 18 in the association information.
"1" is added to the numerical value "1" corresponding to 10 to obtain "2".

【0163】続いて、上記CARD4(1823)は、
キャッシュメモリ108に格納されるが、この際、当該
キャッシュメモリ108に十分な空き容量がない場合、
例えばCARD1(1811)がキャッシュメモリ10
8より削除される。尚、削除の詳細については、上記実
施の形態3にて述べた処理と同様である。
Then, the CARD4 (1823) is
It is stored in the cache memory 108. At this time, if there is not enough free space in the cache memory 108,
For example, CARD1 (1811) is the cache memory 10
It will be deleted from 8. The details of the deletion are the same as the processing described in the third embodiment.

【0164】又、キャッシュメモリ108からメインコ
ンテンツを削除する際には、上記リンク管理手段160
2は当該削除するメインコンテンツの内容を解析する。
具体的には、上記CARD1(1811)に記載され
る、サブコンテンツ1810へのリンク情報に基づい
て、上記関連付情報内の上記サブコンテンツ1810に
対応する数値“2”から“1”を減算して“1”とす
る。
Further, when deleting the main contents from the cache memory 108, the link management means 160 is used.
2 analyzes the content of the main content to be deleted.
Specifically, "1" is subtracted from the numerical value "2" corresponding to the sub-content 1810 in the association information, based on the link information to the sub-content 1810 described in the CARD1 (1811). And set it to "1".

【0165】以上の処理を終えた状態が、図18のフェ
ーズ2における、キャッシュ状態1851、1852で
ある。つまり、キャッシュメモリ108には、CARD
4(1823)、CARD3(1822)、CARD2
(1812)が格納され、さらにサブコンテンツ181
0が、CARD4(1823)からのリンクを有してい
るのが判る。
The states in which the above processing is completed are the cache states 1851 and 1852 in phase 2 of FIG. That is, the CARD is stored in the cache memory 108.
4 (1823), CARD3 (1822), CARD2
(1812) is stored, and the sub content 181 is further stored.
It can be seen that 0 has a link from CARD4 (1823).

【0166】次に、上記コンテンツ分離手段103(5
03)が、図18におけるフェーズ3−取得コンテンツ
で示したコンテンツデータ1831を取得したと仮定す
る。当該コンテンツデータ1831は、CARD6(1
832)、CARD7(1833)、CARD8(18
34)、を有する。
Next, the content separating means 103 (5
03) has acquired the content data 1831 shown in the phase 3-acquired content in FIG. The content data 1831 is CARD6 (1
832), CARD7 (1833), CARD8 (18
34).

【0167】上記コンテンツデータ1831がコンテン
ツ分離手段103(503)に取得されると、解析対象
データとしてCARD6(1832)、CARD7(1
833)、CARD8(1834)が作成され、コンテ
ンツ管理手段1601に送信される。
When the content data 1831 is acquired by the content separating means 103 (503), CARD6 (1832) and CARD7 (1) are analyzed as data to be analyzed.
833) and CARD8 (1834) are created and transmitted to the content management means 1601.

【0168】上記コンテンツ管理手段1601が上記解
析対象データを受信すると、上記リンク管理手段160
2は、まず上記CARD6(1832)を解析する。こ
こで、上記CARD6(1832)はリンクを有さない
ため、当該CARD6(1832)の解析では、上記関
連付情報を変更しない。但し、キャッシュメモリ108
に十分な空き容量が無いため、上記CARD2(181
2)を削除する。尚、当該CARD2(1812)はリ
ンクを有さないため、関連付情報は変更されない。
When the content management means 1601 receives the analysis target data, the link management means 160
2 first analyzes CARD6 (1832). Here, since the CARD6 (1832) has no link, the association information is not changed in the analysis of the CARD6 (1832). However, the cache memory 108
Since there is not enough free space in CARD2 (181
2) is deleted. Since the CARD2 (1812) does not have a link, the related information is not changed.

【0169】続いて、上記リンク管理手段1602は、
上記CARD7(1833)を解析する。ここで、上記
CARD7(1833)はリンクを有さないため、当該
CARD7(1833)の解析では、上記関連付情報を
変更しない。但し、キャッシュメモリ108に十分な空
き容量が無いため、上記CARD3(1822)を削除
する。尚、当該CARD3(1822)はリンクを有さ
ないため、関連付情報は変更されない。
Next, the link management means 1602
The above CARD7 (1833) is analyzed. Here, since the CARD 7 (1833) does not have a link, the association information is not changed in the analysis of the CARD 7 (1833). However, since there is not enough free space in the cache memory 108, the CARD3 (1822) is deleted. Since the CARD3 (1822) does not have a link, the association information is not changed.

【0170】続いて、上記リンク管理手段1602は、
上記CARD8(1834)を解析する。ここで、上記
CARD8(1834)はリンクを有さないため、当該
CARD8(1834)の解析では、上記関連付情報を
変更しない。但し、キャッシュメモリ108に十分な空
き容量が無いため、上記CARD4(1823)を削除
する。この際、当該CARD4(1823)はサブコン
テンツ1810に対するリンクを有するため、上記関連
付情報内の上記サブコンテンツ1810に対応する数値
“1”から“1”を減算して“0”とする。次に、上記
リンク管理手段1602は、上記サブコンテンツ181
0に対応する数値が“0”であることに基づいて、当該
サブコンテンツ1810をキャッシュメモリ108より
削除する。
Next, the link management means 1602
The above CARD8 (1834) is analyzed. Here, since the CARD 8 (1834) has no link, the association information is not changed in the analysis of the CARD 8 (1834). However, since there is not enough free space in the cache memory 108, the CARD4 (1823) is deleted. At this time, since the CARD 4 (1823) has a link to the sub-content 1810, “1” is subtracted from the numerical value “1” corresponding to the sub-content 1810 in the association information to obtain “0”. Next, the link management unit 1602 causes the sub-contents 181.
Based on that the numerical value corresponding to 0 is “0”, the sub-content 1810 is deleted from the cache memory 108.

【0171】以上の処理を終えた状態が、図18のフェ
ーズ3である。つまり、キャッシュメモリ108には、
CARD8(1834)、CARD7(1833)、C
ARD6(1832)が格納され、サブコンテンツが削
除されたことが判る。
The state in which the above processing is completed is phase 3 in FIG. That is, in the cache memory 108,
CARD8 (1834), CARD7 (1833), C
It can be seen that ARD6 (1832) is stored and the sub-content is deleted.

【0172】以上のように、リンク管理手段がコンテン
ツデータ(メインコンテンツ)と当該コンテンツデータ
よりリンクされているサブコンテンツとのリンク情報を
管理することにより、不要なサブコンテンツを確実に削
除することが可能になる。
As described above, the link management means manages the link information between the content data (main content) and the sub-content linked from the content data, whereby the unnecessary sub-content can be surely deleted. become.

【0173】(実施の形態5)続いて、実施の形態5に
て、図19に示すように、ヘッダ1903にサブコンテ
ンツへのリンク1902を含むコンテンツデータ190
1を受信した場合について説明する。尚、上記実施の形
態4にて説明した点については説明を省略する。
(Fifth Embodiment) Next, in the fifth embodiment, as shown in FIG. 19, a content data 190 including a link 1902 to a sub-content in a header 1903.
The case where 1 is received will be described. The description of the points described in the fourth embodiment will be omitted.

【0174】当該ヘッダ1903にリンク情報を含む場
合、図20に示すように、当該リンクの対象となるサブ
コンテンツ2010は、全てのカード(ここではCRA
D1(1904)、CARD2(1905))が利用す
ることを意味し、例えばスタイルシートファイル等が該
当する。
When the header 1903 includes link information, as shown in FIG. 20, the sub-contents 2010 to be linked are all cards (here, CRA).
D1 (1904), CARD2 (1905)) means that it is used, for example, a style sheet file or the like.

【0175】このような場合には、以下のように関連付
情報を管理する。
In such a case, the association information is managed as follows.

【0176】即ち、当該コンテンツデータ1901がコ
ンテンツ分離手段103(503)にて分離され、コン
テンツ管理手段1601に送信された場合、当該リンク
管理手段1602は、関連付情報のサブコンテンツ20
10に対応する数値に“1”を記録する。但し、この数
値はHEAD2011からのリンクであることを意味す
る。また、関連付情報のHEAD2011に対応する数
値に“2”を記録する。当該数値“2”は、CARD1
(2012)及びCARD2(2013)からのリンク
を意味する。つまり、上記リンク管理手段1602は、
ヘッダに対するリンクの数も管理するのである。
That is, when the content data 1901 is separated by the content separating means 103 (503) and transmitted to the content managing means 1601, the link managing means 1602 determines the sub-content 20 of the associated information.
Record "1" in the numerical value corresponding to 10. However, this numerical value means that it is a link from HEAD2011. Also, "2" is recorded in the numerical value corresponding to HEAD2011 of the association information. The numerical value “2” is CARD1.
(2012) and CARD2 (2013). That is, the link management means 1602
It also manages the number of links to the header.

【0177】続いて、図20のフェーズ2−取得コンテ
ンツ2050に示すように、コンテンツデータ2020
を取得したとする。当該コンテンツデータ2020は、
CARD3(2021)、CARD4(2022)を含
む。
Subsequently, as shown in the phase 2-acquired content 2050 of FIG. 20, the content data 2020
Is acquired. The content data 2020 is
It includes CARD3 (2021) and CARD4 (2022).

【0178】この場合、キャッシュメモリ108に十分
な空き容量が無いため、CARD1(2012)が削除
される。この際、CARD1(2012)はHEAD2
011と同一コンテンツデータであることより、上記関
連付情報のHEAD2011に対応する数値“2”より
“1”を減算して“1”とする。尚、同一コンテンツデ
ータであることは、当該HEAD2011(解析対象デ
ータ)のURL及び、当該CARD1(2012)(解
析対象データ)のURLより判断することが出来る。
In this case, since there is not enough free space in the cache memory 108, CARD1 (2012) is deleted. At this time, CARD1 (2012) is HEAD2
Since the content data is the same as 011, “1” is subtracted from the numerical value “2” corresponding to the HEAD 2011 of the association information to obtain “1”. The same content data can be determined from the URL of the HEAD 2011 (data to be analyzed) and the URL of the CARD1 (2012) (data to be analyzed).

【0179】次に、図20のフェーズ3−取得コンテン
ツ2050に示すように、コンテンツデータ2030を
取得したとする。当該コンテンツデータ2030は、C
ARD5(2031)を含む。
Next, it is assumed that the content data 2030 is acquired as shown in the phase 3-acquired content 2050 of FIG. The content data 2030 is C
ARD5 (2031) is included.

【0180】この場合、キャッシュメモリ108に十分
な空き容量が無いため、CARD2(2022)が削除
される。この際、CARD2(2022)はHEAD2
011と同一コンテンツデータであることより、上記関
連付情報のHEAD2011に対応する数値“1”より
“1”を減算して“0”とする。次に、上記リンク管理
手段1602は、上記関連付情報のHEAD2011に
対応する数値“0”に基づいて、HEAD2011を削
除する。また、この際、当該HEAD2011に記載さ
れているリンク情報(サブコンテンツへのリンク190
2)より、上記関連付情報のサブコンテンツ2010に
対応する数値“1”より“1”を減算して“0”とす
る。また、上記リンク管理手段1602は、上記関連付
情報のサブコンテンツ2010に対応する数値“0”に
基づいて、サブコンテンツ2010を削除する。
In this case, since there is not enough free space in the cache memory 108, CARD2 (2022) is deleted. At this time, CARD2 (2022) is HEAD2
Since the content data is the same as 011, "1" is subtracted from the numerical value "1" corresponding to HEAD2011 of the above-mentioned association information to obtain "0". Next, the link management unit 1602 deletes the HEAD2011 based on the numerical value "0" corresponding to the HEAD2011 of the association information. In addition, at this time, the link information (link 190 to the sub-contents) described in the HEAD 2011 is displayed.
From 2), "1" is subtracted from the numerical value "1" corresponding to the sub-content 2010 of the above-mentioned association information to obtain "0". Further, the link management means 1602 deletes the sub-content 2010 based on the numerical value “0” corresponding to the sub-content 2010 of the association information.

【0181】以上の処理を終えた状態が、図20のフェ
ーズ3における、キャッシュ状態2051、2052で
ある。
The states in which the above processing is completed are the cache states 2051 and 2052 in phase 3 of FIG.

【0182】以上のように、ヘッダ(に対応する解析対
象データ)を、関連付情報への記録の対象とすること
で、当該ヘッダと同一コンテンツデータを構成する解析
対象データよりもヘッダが先にキャッシュメモリより削
除されることを防ぐことが出来る。また、リンクを管理
するための関連付情報を削減することが可能となる。
As described above, by making the header (corresponding analysis target data) to be recorded in the association information, the header precedes the analysis target data forming the same content data as the header. It can be prevented from being deleted from the cache memory. Further, it becomes possible to reduce the associated information for managing the link.

【0183】[0183]

【発明の効果】コンテンツデータをキャッシュメモリに
格納する際に、必要なデータのみを解析対象データとし
て格納することで、キャッシュメモリの縮小化を図るこ
とが可能となる。
When the content data is stored in the cache memory, only the necessary data is stored as the analysis target data, so that the cache memory can be downsized.

【0184】また、解析可能な最小単位で解析対象デー
タを格納し、コンテンツ管理手段によりそれぞれ独立し
て管理することで、コンテンツ解析手段は必要な情報の
みしか受信しない。このため、解析速度の向上も期待で
きる。さらに例えばキャッシュメモリの容量不足により
所定のルールに従ってキャッシュデータが削除された場
合でも、最低限のキャッシュデータの削除となるためキ
ャッシュデータがヒットする可能性が高くなる。
Further, by storing the analysis target data in the smallest unit that can be analyzed and independently managing them by the content management means, the content analysis means receives only necessary information. Therefore, improvement in analysis speed can be expected. Furthermore, for example, even when cache data is deleted according to a predetermined rule due to lack of capacity of the cache memory, the minimum cache data is deleted, so that the cache data is more likely to hit.

【0185】また、フラグメント識別子の一覧や削除履
歴と、キャッシュメモリ上の解析対象データの有無によ
り解析対象データを管理することで、解析対象データが
削除された内容であるか、あるいは、存在しない内容で
あるか判断できる。従って、存在しない解析対象データ
が指定された場合でも、場合によってはネットワークに
アクセスすることなく解析対象データ(のデフォルト内
容)を利用することができる。
By managing the analysis target data based on the list of fragment identifiers and the deletion history, and the presence or absence of the analysis target data in the cache memory, the analysis target data has been deleted or does not exist. You can judge whether it is. Therefore, even if analysis target data that does not exist is specified, the analysis target data (default contents) can be used without accessing the network in some cases.

【0186】また更に、キャッシュメモリから削除され
た解析対象データをネットワークを介して取得する際
に、解析対象取得手段はキャッシュメモリに保存されて
いる他の内容を除いて再取得するため、ネットワーク上
の通信データを削減することができる。
Furthermore, when the analysis target data deleted from the cache memory is acquired via the network, the analysis target acquisition means re-acquires the analysis target data excluding other contents stored in the cache memory. Communication data can be reduced.

【0187】また更に、解析対象決定手段の命令に基づ
いてコンテンツ分離手段が柔軟に解析対象データを分離
することで、様々な状況にあわせて必要な解析対象だけ
を分離可能となり、キャッシュメモリをいっそう効率よ
く利用することができる。
[0187] Furthermore, the content separating means flexibly separates the analysis target data based on the instruction of the analysis target determining means, so that only the necessary analysis target can be separated according to various situations, and the cache memory can be further improved. It can be used efficiently.

【0188】また更に、リンク管理手段がコンテンツデ
ータ(メインコンテンツ)と当該コンテンツデータより
リンクされているサブコンテンツとのリンク情報を管理
することにより、不要なサブコンテンツを確実に削除す
ることが可能になる。
Furthermore, the link management means manages the link information between the content data (main content) and the sub-contents linked from the content data, whereby unnecessary sub-contents can be surely deleted. .

【0189】また更に、ヘッダ(に対応する解析対象デ
ータ)を、関連付情報への記録の対象とすることで、当
該ヘッダと同一コンテンツデータを構成する解析対象デ
ータよりもヘッダが先にキャッシュメモリより削除され
ることを防ぐことが出来る。また、リンクを管理するた
めの関連付情報の容量を削減することが可能となる。
Furthermore, by making the header (analysis target data corresponding thereto) the target of recording in the association information, the header is cached earlier than the analysis target data constituting the same content data as the header. It can be prevented from being deleted more. Further, it becomes possible to reduce the capacity of the associated information for managing the link.

【図面の簡単な説明】[Brief description of drawings]

【図1】実施の形態1におけるコンテンツ解析装置の機
能構成図。
FIG. 1 is a functional configuration diagram of a content analysis device according to a first embodiment.

【図2】カード&デッキ方式を用いたコンテンツデータ
の一例。
FIG. 2 is an example of content data using a card & deck method.

【図3】実施の形態1におけるコンテンツ解析装置の処
理を示すフローチャート。
FIG. 3 is a flowchart showing processing of the content analysis device according to the first embodiment.

【図4】コンテンツデータから目的とする解析対象デー
タを分離したイメージ図。
FIG. 4 is an image diagram in which target analysis target data is separated from content data.

【図5】実施の形態2におけるコンテンツ解析装置の機
能構成図。
FIG. 5 is a functional configuration diagram of the content analysis device according to the second embodiment.

【図6】家電をネットワークに接続した際のイメージ
図。
FIG. 6 is an image diagram when connecting a home appliance to a network.

【図7】家電を制御する命令を含むXMLの一例及びツ
リー構造を示す図。
FIG. 7 is a diagram illustrating an example of XML including a command for controlling a home appliance and a tree structure.

【図8】実施の形態2におけるコンテンツ解析装置の処
理を示すフローチャート。
FIG. 8 is a flowchart showing processing of the content analysis device according to the second embodiment.

【図9】コンテンツ分離手段による解析対象データの分
離を示す第1のイメージ図。
FIG. 9 is a first image diagram showing separation of analysis target data by content separation means.

【図10】コンテンツ分離手段による解析対象データの
分離を示す第2のイメージ図。
FIG. 10 is a second image diagram showing separation of analysis target data by the content separation means.

【図11】コンテンツ分離手段による解析対象データの
分離を示す第3のイメージ図。
FIG. 11 is a third image diagram showing separation of analysis target data by the content separation means.

【図12】コンテンツ分離手段による解析対象データの
分離を示す第4のイメージ図。
FIG. 12 is a fourth image diagram showing separation of analysis target data by the content separation means.

【図13】解析対象データの構造を示す概略図。FIG. 13 is a schematic diagram showing the structure of analysis target data.

【図14】コンテンツ管理手段によるキャッシュ保存処
理のフローチャート。
FIG. 14 is a flowchart of cache storage processing by the content management means.

【図15】コンテンツ管理手段によるキャッシュ取得処
理のフローチャート。
FIG. 15 is a flowchart of cache acquisition processing by the content management means.

【図16】実施の形態4、5におけるコンテンツ分離手
段・コンテンツ管理手段の概略図。
FIG. 16 is a schematic diagram of content separation means / content management means in the fourth and fifth embodiments.

【図17】カードにリンク情報を含むコンテンツデータ
の一例。
FIG. 17 is an example of content data including link information on a card.

【図18】実施の形態4における各コンテンツデータ受
信時のキャッシュメモリと関連付情報のイメージ図。
FIG. 18 is an image diagram of cache memory and associated information at the time of receiving each content data according to the fourth embodiment.

【図19】ヘッダにリンク情報を含むコンテンツデータ
の一例。
FIG. 19 is an example of content data including link information in a header.

【図20】実施の形態5における各コンテンツデータ受
信時のキャッシュメモリと関連付情報のイメージ図。
FIG. 20 is an image diagram of cache memory and associated information at the time of receiving each content data according to the fifth embodiment.

【図21】従来のコンテンツ解析装置におけるキャッシ
ュを説明するための図。
FIG. 21 is a diagram for explaining a cache in a conventional content analysis device.

【符号の説明】[Explanation of symbols]

100 コンテンツ解析装置 101 ネットワーク手段 102 ネットワーク 103 コンテンツ分離手段 104 コンテンツ管理手段 105 解析対象取得手段 106 コンテンツ解析手段 107 コンテンツ取得指示手段 108 キャッシュメモリ 110 制御手段 111 制御装置 100 Content analysis device 101 Network means 102 network 103 content separation means 104 content management means 105 Analysis target acquisition means 106 content analysis means 107 content acquisition instruction means 108 cache memory 110 control means 111 Control device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鈴木 大作 東広島市鏡山3丁目10番18号株式会社松下 電器情報システム広島研究所内 Fターム(参考) 5B082 HA02 HA07 HA08 5B089 GA23 GA25 GB04 JA33 JA35 JB02 JB10 KA11 KD06    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Daisaku Suzuki             3-10-18 Kagamiyama, Higashihiroshima-shi Matsushita Co., Ltd.             Electric Appliance Information System Hiroshima Laboratory F-term (reference) 5B082 HA02 HA07 HA08                 5B089 GA23 GA25 GB04 JA33 JA35                       JB02 JB10 KA11 KD06

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 ML(Markup Language)にて記載され
たコンテンツデータをネットワークを介して取得する解
析対象取得手段と、当該コンテンツデータの内容を解析
するコンテンツ解析手段とを具備するコンテンツ解析装
置において、 上記取得したコンテンツデータを、上記コンテンツ解析
手段にて解析可能な単位である解析対象データに分離す
るコンテンツ分離手段と、 上記コンテンツ分離手段により分離された解析対象デー
タをキャッシュメモリに格納すると共にそれぞれ独立し
たキャッシュデータとして管理するコンテンツ管理手段
と、 を具備することを特徴とするコンテンツ解析装置。
1. A content analysis device comprising: an analysis target acquisition means for acquiring content data described in ML (Markup Language) via a network; and a content analysis means for analyzing the content of the content data. A content separating unit that separates the acquired content data into analysis target data that is a unit that can be analyzed by the content analyzing unit, and stores the analysis target data separated by the content separating unit in a cache memory and independently of each other. Content management means for managing the cached data as the cache data, and a content analysis device.
【請求項2】 上記コンテンツ解析手段は、上記分離さ
れた解析対象データを解析する請求項1に記載のコンテ
ンツ解析装置。
2. The content analysis device according to claim 1, wherein the content analysis means analyzes the separated analysis target data.
【請求項3】 上記コンテンツ分離手段が分離する解析
対象データは、カード&デッキ方式におけるカードを1
単位として構成される請求項1に記載のコンテンツ解析
装置。
3. The analysis target data separated by the content separating unit is a card in the card & deck system.
The content analysis device according to claim 1, wherein the content analysis device is configured as a unit.
【請求項4】 さらに、上記カードに共通して利用され
る記述が記載されるヘッダを解析対象データとする請求
項3に記載のコンテンツ解析装置。
4. The content analysis device according to claim 3, wherein a header in which a description commonly used by the card is described is analysis target data.
【請求項5】 さらに、上記解析対象データを分離する
条件を上記コンテンツ分離手段に与える解析対象決定手
段を備えると共に、 上記コンテンツ分離手段は、上記解析対象決定手段より
与えられた条件に基づいて上記コンテンツデータを分離
する請求項1に記載のコンテンツ解析装置。
5. The method further comprises an analysis target determining means for giving the content separating means a condition for separating the analysis target data, and the content separating means is based on the condition given by the analysis target determining means. The content analysis device according to claim 1, wherein the content data is separated.
【請求項6】 上記条件は、所定の要素にて指定される
記述の分離である請求項5に記載のコンテンツ解析装
置。
6. The content analysis apparatus according to claim 5, wherein the condition is separation of descriptions specified by a predetermined element.
【請求項7】 上記要素は、上記解析対象データに共通
して利用される記述が記載されるヘッダを含む請求項6
に記載のコンテンツ解析装置。
7. The element includes a header in which a description commonly used for the analysis target data is described.
The content analysis device described in 1.
【請求項8】 上記条件は、上記コンテンツ解析手段が
解析可能な記述のみの分離である請求項5に記載のコン
テンツ解析装置。
8. The content analysis apparatus according to claim 5, wherein the condition is separation of only descriptions that can be analyzed by the content analysis unit.
【請求項9】 上記条件は、表現に関する部分を除く記
述の分離である請求項5に記載のコンテンツ解析装置。
9. The content analysis device according to claim 5, wherein the condition is separation of descriptions excluding a portion related to expressions.
【請求項10】 上記条件は、外部からの入力により与
えられる請求項5に記載のコンテンツ解析装置。
10. The content analysis apparatus according to claim 5, wherein the condition is given by an external input.
【請求項11】 上記コンテンツ管理手段は、キャッシ
ュメモリに格納された上記解析対象データを、所定の優
先度に基づいて削除する請求項1に記載のコンテンツ解
析装置。
11. The content analysis apparatus according to claim 1, wherein the content management unit deletes the analysis target data stored in the cache memory based on a predetermined priority.
【請求項12】 上記優先度は、上記格納時期に基づい
て決定される請求項11に記載のコンテンツ解析装置。
12. The content analysis device according to claim 11, wherein the priority is determined based on the storage time.
【請求項13】 上記優先度は、上記キャッシュメモリ
内の上記解析対象データのアクセス時期に基づいて決定
される請求項11に記載のコンテンツ解析装置。
13. The content analysis device according to claim 11, wherein the priority is determined based on an access time of the analysis target data in the cache memory.
【請求項14】 上記コンテンツ分離手段は、上記解析
対象データに当該解析対象データの有効期限を格納する
と共に、 上記優先度は、上記有効期限に基づいて決定される請求
項11に記載のコンテンツ解析装置。
14. The content analysis according to claim 11, wherein the content separating unit stores an expiration date of the analysis target data in the analysis target data, and the priority is determined based on the expiration date. apparatus.
【請求項15】 上記コンテンツ管理手段は、所定のタ
イミングにて上記有効期限が満了した解析対象データを
削除する請求項14に記載のコンテンツ解析装置。
15. The content analysis apparatus according to claim 14, wherein the content management unit deletes the analysis target data whose expiration date has expired at a predetermined timing.
【請求項16】 上記コンテンツ管理手段は、上記削除
した解析対象データの情報を管理する請求項11に記載
のコンテンツ解析装置。
16. The content analysis apparatus according to claim 11, wherein the content management unit manages information on the deleted analysis target data.
【請求項17】 上記解析対象取得手段は、所定の識別
子を用いて目的とする解析対象データのみをネットワー
クを介して取得する請求項1に記載のコンテンツ解析装
置。
17. The content analysis apparatus according to claim 1, wherein the analysis target acquisition means acquires only target analysis target data via a network using a predetermined identifier.
【請求項18】 上記コンテンツデータに記述されたリ
ンク情報にて指定されるサブコンテンツをキャッシュデ
ータとして扱うに際して、 上記コンテンツデータと、上記サブコンテンツとのリン
クに関する情報である関連付情報を管理するリンク管理
手段を備え、 上記コンテンツ管理手段は、上記関連付情報に基づいて
上記サブコンテンツのキャッシュデータを管理する請求
項1に記載のコンテンツ解析装置。
18. A link for managing association information, which is information regarding a link between the content data and the sub-content, when the sub-content specified by the link information described in the content data is treated as cache data. The content analysis device according to claim 1, further comprising management means, wherein the content management means manages cache data of the sub-contents based on the association information.
【請求項19】 上記リンク管理手段は、 複数の上記解析対象データから利用されるサブコンテン
ツを、上記解析対象データに共通して利用される記述が
記載されるヘッダに対応する解析対象データのリンクと
して扱う請求項18に記載のコンテンツ解析装置。
19. The link management means links a sub-content used from a plurality of pieces of the analysis target data to a piece of analysis target data corresponding to a header in which a description commonly used for the analysis target data is described. The content analysis device according to claim 18, which is treated as.
【請求項20】 MLにて記載されたコンテンツデータ
をネットワークを介して取得し、当該コンテンツデータ
の内容を解析するコンテンツ解析方法において、 上記取得したコンテンツデータを、所定の解析可能な単
位である解析対象データに分離するコンテンツ分離ステ
ップと、 上記コンテンツ分離ステップにて分離された解析対象デ
ータをキャッシュメモリに格納すると共にそれぞれ独立
したキャッシュデータとして管理するコンテンツ管理ス
テップと、 を具備することを特徴とするコンテンツ解析方法。
20. A content analysis method for acquiring content data described in ML via a network and analyzing the content of the content data, wherein the acquired content data is an analysis unit that is a predetermined analyzable unit. A content separation step of separating the data into target data; and a content management step of storing the analysis target data separated in the content separation step in a cache memory and managing the data as independent cache data, respectively. Content analysis method.
【請求項21】 MLにて記載されたコンテンツデータ
をネットワークを介して取得し、当該コンテンツデータ
の内容を解析するコンピュータに、 上記取得したコンテンツデータを、所定の解析可能な単
位である解析対象データに分離するコンテンツ分離ステ
ップと、 上記コンテンツ分離ステップにて分離された解析対象デ
ータをキャッシュメモリに格納すると共にそれぞれ独立
したキャッシュデータとして管理するコンテンツ管理ス
テップとを実行させるプログラム。
21. An analysis target data, which is a predetermined analyzable unit of the acquired content data, to a computer which acquires the content data described in ML via a network and analyzes the content of the content data. And a content management step of storing the analysis target data separated in the content separation step in a cache memory and managing the data as independent cache data.
【請求項22】 MLにて記載されたコンテンツデータ
をネットワークを介して取得し、当該コンテンツデータ
の内容を解析するコンピュータに、 上記取得したコンテンツデータを、所定の解析可能な単
位である解析対象データに分離するコンテンツ分離ステ
ップと、 上記コンテンツ分離ステップにて分離された解析対象デ
ータをキャッシュメモリに格納すると共にそれぞれ独立
したキャッシュデータとして管理するコンテンツ管理ス
テップとを実行させるプログラムを記録したコンピュー
タ読み取り可能記録媒体。
22. Analysis target data, which is a unit capable of analyzing the acquired content data, in a computer that acquires the content data described in ML via a network and analyzes the content of the content data. A computer-readable record that records a program for executing a content separation step of separating the content into a cache memory and a content management step of storing the analysis target data separated in the content separation step in a cache memory and managing the data as independent cache data. Medium.
JP2002120681A 2001-04-27 2002-04-23 Content analysis device, content analysis method, program, and recording medium therefor Pending JP2003022203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002120681A JP2003022203A (en) 2001-04-27 2002-04-23 Content analysis device, content analysis method, program, and recording medium therefor

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-131406 2001-04-27
JP2001131406 2001-04-27
JP2002120681A JP2003022203A (en) 2001-04-27 2002-04-23 Content analysis device, content analysis method, program, and recording medium therefor

Publications (1)

Publication Number Publication Date
JP2003022203A true JP2003022203A (en) 2003-01-24

Family

ID=26614395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002120681A Pending JP2003022203A (en) 2001-04-27 2002-04-23 Content analysis device, content analysis method, program, and recording medium therefor

Country Status (1)

Country Link
JP (1) JP2003022203A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010512589A (en) * 2006-12-14 2010-04-22 アリババ グループ ホールディング リミテッド Web page display method and system
JP2012141960A (en) * 2011-12-05 2012-07-26 Toshiba Corp Content cache device, content cache method, and computer program
JP2013528844A (en) * 2010-08-24 2013-07-11 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Method and system for presenting forwarded messages
JP2013537665A (en) * 2010-07-12 2013-10-03 アリババ・グループ・ホールディング・リミテッド Method and apparatus for handling nested fragment caching of web pages
JP2015135690A (en) * 2010-10-04 2015-07-27 クアルコム,インコーポレイテッド System and method for managing memory resources of wireless handheld computing device
JP2015228140A (en) * 2014-05-30 2015-12-17 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing system, information processing method, and program
JP2019049988A (en) * 2018-10-10 2019-03-28 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing system, information processing method, and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010512589A (en) * 2006-12-14 2010-04-22 アリババ グループ ホールディング リミテッド Web page display method and system
JP2013537665A (en) * 2010-07-12 2013-10-03 アリババ・グループ・ホールディング・リミテッド Method and apparatus for handling nested fragment caching of web pages
US9195638B2 (en) 2010-07-12 2015-11-24 Alibaba Group Holding Limited Method and apparatus of processing nested fragment caching of a web page
JP2016035764A (en) * 2010-07-12 2016-03-17 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Method and apparatus of processing nested fragment caching of web page
JP2013528844A (en) * 2010-08-24 2013-07-11 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Method and system for presenting forwarded messages
JP2015135690A (en) * 2010-10-04 2015-07-27 クアルコム,インコーポレイテッド System and method for managing memory resources of wireless handheld computing device
JP2012141960A (en) * 2011-12-05 2012-07-26 Toshiba Corp Content cache device, content cache method, and computer program
JP2015228140A (en) * 2014-05-30 2015-12-17 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing system, information processing method, and program
JP2019049988A (en) * 2018-10-10 2019-03-28 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing system, information processing method, and program

Similar Documents

Publication Publication Date Title
US6389422B1 (en) Method of relaying file object, distributed file system, computer readable medium recording a program of file object relay method and gateway computer, allowing reference of one same file object among networks
US20130268843A1 (en) Method, Apparatus And System For Rendering Web Page
JP2004127133A (en) Image forming apparatus and image formation control method
US20110093801A1 (en) Application extension system, extension method, extension program
JP2009003802A (en) Information display device and information display method
CN105069011A (en) Webpage favorite management method, device and system
JP2001154903A (en) Wireless network communication system
JP5863388B2 (en) Information processing system, control method therefor, and program
JP2011141867A (en) Data display device and server device
US8220061B2 (en) Method for making contents public or private, information providing system, and information providing program
JP2003022203A (en) Content analysis device, content analysis method, program, and recording medium therefor
JP2000222088A (en) Information providing server, mediation server, and viewing terminal
JPH11134273A (en) Communication control method, communication control system, and recording medium storing program for realizing the same
JP2011028387A (en) Image delivery system, image delivery device, image delivery method, and program
JPH11296428A (en) Method and device for checking update of home page and readable recording medium storing control program for update check
US20020049800A1 (en) Content retrieval device
JP2000311108A (en) System and method for loading home page
JPWO2004003765A1 (en) Seamless system, recording medium, and computer system processing continuation method
JP2000057041A (en) Proxy server and LAN system
JP3843390B2 (en) Web page browsing method and web page browsing program
JPH10307746A (en) Hypertext processing device and medium storing hypertext processing device control program
US8078991B2 (en) Electric appliance, image display controlling method, and computer-controlled readable recording medium storing image display controlling program
KR20010035158A (en) Apparatus and method for translating web information
JP2006031125A (en) Communication terminal and address access method
JP2003248613A (en) Information distribution system and distribution information generation device used therefor