JP2007265387A - Structured data storage device, structured data storage program, and structured data storage method - Google Patents

Structured data storage device, structured data storage program, and structured data storage method Download PDF

Info

Publication number
JP2007265387A
JP2007265387A JP2006323133A JP2006323133A JP2007265387A JP 2007265387 A JP2007265387 A JP 2007265387A JP 2006323133 A JP2006323133 A JP 2006323133A JP 2006323133 A JP2006323133 A JP 2006323133A JP 2007265387 A JP2007265387 A JP 2007265387A
Authority
JP
Japan
Prior art keywords
information
structured data
index
search
reference element
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
JP2006323133A
Other languages
Japanese (ja)
Inventor
Tomohiro Asami
知弘 浅見
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2006323133A priority Critical patent/JP2007265387A/en
Publication of JP2007265387A publication Critical patent/JP2007265387A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a storage device for structured data for quickly performing the retrieval, update, and the like of structured data while maintaining its versatility and extendability. <P>SOLUTION: The storage device for structured data stores structured data in a structured data file 101 being a text file, and stores index information generated for speeding up the retrieval, update, and the like of the structured data in an index file 102 being a binary file. When the content of the structured data file 101 is updated by a general-purpose structured data processing means 103 on an external equipment side, an exclusive structured data processing means 104 detects that the structured data file 101 has been updated, and analyzes the updated structured data file 101, and generates index information relating to the structured data of the structured data file by analyzing the updated structured data file 101, and updates the index file 102 by suing the next index information. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、XML(eXtensible Markup Language)に代表される構造化されたデータのデータベースに対して、インデックス情報により高速な検索を実現するとともに、テキストファイルとして提供される構造化データを参照・編集することをも可能とする構造化データ格納装置、構造化データ格納プログラム、及び構造化データ格納方法に関するものである。   The present invention realizes a high-speed search by index information for a structured data database represented by XML (extensible Markup Language), and refers to / edits structured data provided as a text file. The present invention relates to a structured data storage device, a structured data storage program, and a structured data storage method.

汎用性・拡張性の高いデータ形式として、様々な分野においてXML形式による構造化データとしてデータが管理されることが多い。XMLは文書をタグ付けするマークアップ言語の一種であり、データを構造化して表現できるとともに、視認性が高いという特徴がある。その一方で、データを高速に検索するためには、データの格納方法を工夫する必要がある。   As a highly versatile and extensible data format, data is often managed as structured data in the XML format in various fields. XML is a kind of markup language for tagging documents, and is characterized in that data can be structured and expressed and has high visibility. On the other hand, in order to retrieve data at high speed, it is necessary to devise a data storage method.

特許第3560043号公報では、XMLデータを表形式のテーブルに格納するXMLデータの格納方法が提供されている。この方法では、XMLデータのスキーマ情報に基づいてエレメント毎に1つのテーブルを作成し、そのテーブルにエレメントの内容及び属性情報を格納するとともに、エレメントの出現順序情報及び親子関係情報をも格納している。
特許第3560043号公報
Japanese Patent No. 3560043 provides an XML data storage method for storing XML data in a tabular table. In this method, one table is created for each element based on the schema information of XML data, and the contents and attribute information of the element are stored in the table, and the appearance order information of the element and the parent-child relation information are also stored. Yes.
Japanese Patent No. 3560043

特許第3560043号公報によるXMLデータの格納方法では、XMLの構造を保ちつつ表形式のテーブルにデータを格納することにより、高速に検索を行うことができる。また、スキーマ情報に基づいてテーブルを作成するため、自由な構造のXMLデータを格納することができ、XMLの持つ拡張性の高さも失われない。しかし、検索のための専用の装置またはプログラム等が必要であるため、汎用性の高さが失われている。また、データを部分的に更新するための手段が提供されていない。   In the XML data storage method disclosed in Japanese Patent No. 3560043, data can be stored at a high speed by storing data in a table in a table format while maintaining the XML structure. Further, since the table is created based on the schema information, XML data having a free structure can be stored, and the high extensibility of XML is not lost. However, since a dedicated device or program for searching is necessary, the high versatility is lost. Also, no means for partially updating data is provided.

そこで本発明は、構造化データをその汎用性及び拡張性の高さを保ちつつ高速に検索・更新等を行うことを可能とする構造化データの格納装置、プログラム、及び方法を提供するとともに、その構造化データにアクセスして参照・編集を行うことを可能とする構造化データの格納装置、プログラム、及び方法を提供することを目的とする。   Therefore, the present invention provides a structured data storage device, program, and method capable of performing high-speed search / update etc. while maintaining high versatility and expandability of structured data, It is an object of the present invention to provide a structured data storage device, program, and method capable of accessing, referencing and editing the structured data.

そこで、上記課題を解決するために本発明は、以下の装置、プログラム、及び方法を提供するものである。
(1) 本装置内の記憶媒体に格納された構造化データファイルの閲覧・更新が外部機器から行える構造化データ格納装置において、
構造化データを有する構造化データファイルを前記記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記記憶媒体に格納する格納手段と、
前記記憶媒体内の構造化データファイルが前記外部装置により更新されたか否かを検出する検出手段と、
前記検出手段が更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記格納手段によって前記記憶媒体におけるインデックスファイルを更新させるインデックス情報生成手段と、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新手段と、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成手段は、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成する手段であり、
前記更新手段は、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納手段により再度格納させると共に、前記インデックス情報生成手段に前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させる手段である、
ことを特徴とする構造化データ格納装置。
(2) 構造化データを有する構造化データファイルを、本装置に着脱自在の第1の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを、本装置内に固定された第2の記憶媒体に格納する格納手段と、
前記第1の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出手段と、
前記検出手段が更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記格納手段によって前記第2の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成手段と、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新手段と、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成手段は、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成する手段であり、
前記更新手段は、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納手段により再度格納させると共に、前記インデックス情報生成手段に前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させる手段である、
ことを特徴とする構造化データ格納装置。
(3) 構造化データを有する構造化データファイルを本装置に着脱自在の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記記憶媒体に格納する格納手段と、
前記記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出手段と、
前記検出手段が更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記格納手段によって前記記憶媒体におけるインデックスファイルを更新させるインデックス情報生成手段と、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新手段と、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成手段は、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成する手段であり、
前記更新手段は、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納手段により再度格納させると共に、前記インデックス情報生成手段に前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させる手段である、
ことを特徴とする構造化データ格納装置。
(4) 内蔵する記憶媒体に格納された構造化データファイルの閲覧・更新が外部機器から行える構造化データ格納装置における構造化データ格納プログラムであって、
構造化データを有する構造化データファイルを前記記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記記憶媒体に格納する格納ステップと、
前記記憶媒体内の構造化データファイルが前記外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を構造化データ格納装置に実行させる構造化データ格納プログラムであり、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納プログラム。
(5) 記憶媒体に構造化データファイルの格納を行う構造化データ格納装置における構造化データ格納プログラムであって、
構造化データを有する構造化データファイルを、構造化データ格納装置に着脱自在の第1の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを、前記構造化データ格納装置に固定された第2の記憶媒体に格納する格納ステップと、
前記第1の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記第2の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を構造化データ格納装置に実行させる構造化データ格納プログラムであり、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納プログラム。
(6) 記憶媒体に構造化データファイルの格納を行う構造化データ格納装置における構造化データ格納プログラムであって、
構造化データを有する構造化データファイルを構造化データ格納装置に着脱自在の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記着脱自在の記憶媒体に格納する格納ステップと、
前記着脱自在の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記着脱自在の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を構造化データ格納装置に実行させる構造化データ格納プログラムであり、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納プログラム。
(7) 内蔵する記憶媒体に格納された構造化データファイルの閲覧・更新が外部機器から行える構造化データ格納装置における構造化データ格納方法であって、
構造化データを有する構造化データファイルを前記記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記記憶媒体に格納する格納ステップと、
前記記憶媒体内の構造化データファイルが前記外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納方法。
(8) 記憶媒体に構造化データファイルの格納を行う構造化データ格納装置における構造化データ格納方法であって、
構造化データを有する構造化データファイルを、構造化データ格納装置に着脱自在の第1の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを、前記構造化データ格納装置に固定された第2の記憶媒体に格納する格納ステップと、
前記第1の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記第2の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納方法。
(9) 記憶媒体に構造化データファイルの格納を行う構造化データ格納装置における構造化データ格納方法であって、
構造化データを有する構造化データファイルを構造化データ格納装置に着脱自在の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記着脱自在の記憶媒体に格納する格納ステップと、
前記着脱自在の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記着脱自在の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納方法。
Therefore, in order to solve the above problems, the present invention provides the following apparatus, program, and method.
(1) In a structured data storage device capable of browsing / updating a structured data file stored in a storage medium in the device from an external device,
Storage means for storing a structured data file having structured data in the storage medium, and storing an index file having index information as information for searching the structured data in the storage medium;
Detecting means for detecting whether the structured data file in the storage medium has been updated by the external device;
When the detecting means detects that there is an update, the updated structured data file is analyzed to generate new index information relating to the structured data of the structured data file, and the new index information is used. Index information generating means for updating an index file in the storage medium by the storage means;
Updating means for updating an element of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation means detects the reference element included in the structured data included in the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data of the structured data file, and Information for identifying the detected search element that is associated with the content information of the detected search element, and identifying the detected search element as the new second index component And the content information of the specified search element and the information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information A means of generating information,
The update means includes an element selection condition for specifying a search element to be searched as an update candidate, content information of the search element to be searched, and a search element to be updated in accordance with update information specified from outside. And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file associated with information that is extracted from an index component and that uniquely identifies the same reference element as the information that uniquely identifies the extracted reference element Information for identifying the reference element and information for identifying the position of the reference element are extracted from the first index component, information for identifying the extracted structured data file, and information for identifying the position of the reference element; The reference element is read from within the structured data file identified based on the element, and the content of the element that matches the element selection condition existing below the read reference element is replaced with the updated content, The storage unit stores the structured data file again, and causes the index information generation unit to analyze the updated structured data file of the element to update the index information.
A structured data storage device characterized by that.
(2) A structured data file having structured data is stored in a first storage medium detachably attached to the apparatus, and an index file having index information which is information for searching the structured data is Storage means for storing in a second storage medium fixed in the apparatus;
Detecting means for detecting whether or not the structured data file in the first storage medium has been updated by an external device;
When the detecting means detects that there is an update, the updated structured data file is analyzed to generate new index information relating to the structured data of the structured data file, and the new index information is used. Index information generating means for updating an index file in the second storage medium by the storage means;
Updating means for updating an element of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation means detects the reference element included in the structured data included in the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data of the structured data file, and Information for identifying the detected search element that is associated with the content information of the detected search element, and identifying the detected search element as the new second index component And the content information of the specified search element and the information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information A means of generating information,
The update means includes an element selection condition for specifying a search element to be searched as an update candidate, content information of the search element to be searched, and a search element to be updated in accordance with update information specified from outside. And the update contents are specified, and a set of information specifying the specified search element to be searched and contents information of search elements that match the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file associated with information that is extracted from an index component and that uniquely identifies the same reference element as the information that uniquely identifies the extracted reference element Information for identifying the reference element and information for identifying the position of the reference element are extracted from the first index component, information for identifying the extracted structured data file, and information for identifying the position of the reference element; The reference element is read from within the structured data file identified based on the element, and the content of the element that matches the element selection condition existing below the read reference element is replaced with the updated content, The storage unit stores the structured data file again, and causes the index information generation unit to analyze the updated structured data file of the element to update the index information.
A structured data storage device characterized by that.
(3) A structured data file having structured data is stored in a storage medium removable from the apparatus, and an index file having index information which is information for searching the structured data is stored in the storage medium. Storage means for
Detecting means for detecting whether the structured data file in the storage medium has been updated by an external device;
When the detecting means detects that there is an update, the updated structured data file is analyzed to generate new index information relating to the structured data of the structured data file, and the new index information is used. Index information generating means for updating an index file in the storage medium by the storage means;
Updating means for updating an element of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation means detects the reference element included in the structured data included in the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data of the structured data file, and Information for identifying the detected search element that is associated with the content information of the detected search element, and identifying the detected search element as the new second index component And the content information of the specified search element and the information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information A means of generating information,
The update means includes an element selection condition for specifying a search element to be searched as an update candidate, content information of the search element to be searched, and a search element to be updated in accordance with update information specified from outside. And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file associated with information that is extracted from an index component and that uniquely identifies the same reference element as the information that uniquely identifies the extracted reference element Information for identifying the reference element and information for identifying the position of the reference element are extracted from the first index component, information for identifying the extracted structured data file, and information for identifying the position of the reference element; The reference element is read from within the structured data file identified based on the element, and the content of the element that satisfies the element selection condition existing below the read reference element is replaced with the updated content, The storage unit stores the structured data file again, and causes the index information generation unit to analyze the updated structured data file of the element to update the index information.
A structured data storage device characterized by that.
(4) A structured data storage program in a structured data storage device capable of browsing / updating a structured data file stored in a built-in storage medium from an external device,
Storing a structured data file having structured data in the storage medium, and storing an index file having index information, which is information for searching the structured data, in the storage medium;
Detecting to detect whether the structured data file in the storage medium has been updated by the external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generating step for updating an index file in the storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
Is a structured data storage program that causes a structured data storage device to execute
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage program characterized by the above.
(5) A structured data storage program in a structured data storage device for storing a structured data file in a storage medium,
A structured data file having structured data is stored in a first storage medium detachably attached to the structured data storage device, and an index file having index information which is information for searching for the structured data, Storing in a second storage medium fixed to the structured data storage device;
A detecting step for detecting whether or not the structured data file in the first storage medium has been updated by an external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generation step of updating an index file in the second storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
Is a structured data storage program that causes a structured data storage device to execute
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from within the structured data file specified based on the above, and replacing the element contents that meet the element selection condition existing below the read reference element with the update contents, The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage program characterized by the above.
(6) A structured data storage program in a structured data storage device for storing a structured data file in a storage medium,
A structured data file having structured data is stored in a removable storage medium in the structured data storage device, and an index file having index information as information for searching the structured data is stored in the removable storage. A storing step for storing in a medium;
A detecting step for detecting whether or not the structured data file in the removable storage medium has been updated by an external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generation step of updating an index file in the removable storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
Is a structured data storage program that causes a structured data storage device to execute
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage program characterized by the above.
(7) A structured data storage method in a structured data storage device capable of browsing / updating a structured data file stored in a built-in storage medium from an external device,
Storing a structured data file having structured data in the storage medium, and storing an index file having index information, which is information for searching the structured data, in the storage medium;
Detecting to detect whether the structured data file in the storage medium has been updated by the external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generating step for updating an index file in the storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage method characterized by the above.
(8) A structured data storage method in a structured data storage device for storing a structured data file in a storage medium,
A structured data file having structured data is stored in a first storage medium detachably attached to the structured data storage device, and an index file having index information which is information for searching for the structured data, Storing in a second storage medium fixed to the structured data storage device;
A detecting step for detecting whether or not the structured data file in the first storage medium has been updated by an external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generation step of updating an index file in the second storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file is extracted from an index component and is associated with information that uniquely identifies the same reference element as the information that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage method characterized by the above.
(9) A structured data storage method in a structured data storage device for storing a structured data file in a storage medium,
A structured data file having structured data is stored in a removable storage medium in the structured data storage device, and an index file having index information as information for searching the structured data is stored in the removable storage. A storing step for storing in a medium;
A detecting step for detecting whether or not the structured data file in the removable storage medium has been updated by an external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generation step of updating an index file in the removable storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage method characterized by the above.

本発明によれば、上述の構成を備えた構造化データを記憶する(例えばテキストファイルとして記憶する)と共に、構造化データに関する上述の構成を備えたインデックス情報を生成してそのインデックス情報を記憶する(例えばバイナリーファイルとして記憶する)ことにより、構造化データの汎用性及び拡張性の高さを保ちつつ、構造化データを高速に検索・更新等を行うことを可能とするという効果を得ることができる。   According to the present invention, structured data having the above-described configuration is stored (for example, stored as a text file), and index information having the above-described configuration related to structured data is generated and the index information is stored. By (for example, storing as a binary file), it is possible to obtain the effect of enabling structured data to be searched / updated at high speed while maintaining high versatility and expandability of structured data. it can.

図1は、本発明の構造化データ格納装置の概念を簡略的に示す図である。
図1において、本装置では、1つまたは複数のテキストファイルである構造化データファイル101に構造化データを格納するとともに、構造化データの検索や更新等を高速化するために生成したインデックス情報をバイナリーファイルであるインデックスファイル102に格納する。
FIG. 1 is a diagram schematically showing the concept of the structured data storage device of the present invention.
In FIG. 1, this apparatus stores structured data in a structured data file 101, which is one or a plurality of text files, and generates index information generated in order to speed up searching and updating of structured data. It stores in the index file 102 which is a binary file.

外部機器側の汎用構造化データ処理手段103は、構造化データの汎用的なパーサー、汎用的な構造化データの汎用的なエディター、テキストエディター等で構成され、構造化データファイルの内容を参照・更新する機能を有する。   The general-purpose structured data processing means 103 on the external device side includes a general-purpose parser for structured data, a general-purpose editor for general-purpose structured data, a text editor, etc., and refers to the contents of the structured data file. Has a function to update.

専用構造化データ処理手段104は、構造化データファイル101を解析してその構造化データに関するインデックス情報を生成し(専用構造化データ処理手段104が構造化データを生成する場合には、その構造化データ生成と同時に構造化データに関するインデックス情報を生成する、またはその構造化データ生成の直後にその構造化データを解析してインデックス情報を生成する)、インデックスファイル102に格納する機能、構造化データファイル101及びインデックスファイル102を利用して構造化データを検索・更新する機能等を有する。   The dedicated structured data processing means 104 analyzes the structured data file 101 and generates index information relating to the structured data (if the dedicated structured data processing means 104 generates structured data, the structured data Index information about structured data is generated at the same time as data generation, or index information is generated by analyzing the structured data immediately after generation of the structured data), a function to store in the index file 102, a structured data file 101 and the index file 102 are used to search and update structured data.

また、専用構造化データ処理手段104は、外部機器側の汎用構造化データ処理手段103により構造化データファイル101の内容が更新された場合には、構造化データファイル101が更新されたことを検知し、更新された構造化データファイル101を解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いてインデックスファイル102を更新する機能を有する。
[実施例]
次に、本発明の構造化データ格納装置を適用した一実施例について説明する。
<実施例の構成>
図2は構造化データ格納装置の一実施例を示す構成図である。本実施例は、ビデオカメラに適用したものであり、メタデータ管理に応用するものである。
The dedicated structured data processing unit 104 detects that the structured data file 101 has been updated when the contents of the structured data file 101 are updated by the general-purpose structured data processing unit 103 on the external device side. And analyzing the updated structured data file 101 to generate new index information related to the structured data of the structured data file, and updating the index file 102 using the new index information. .
[Example]
Next, an embodiment to which the structured data storage device of the present invention is applied will be described.
<Configuration of Example>
FIG. 2 is a block diagram showing an embodiment of the structured data storage device. The present embodiment is applied to a video camera and is applied to metadata management.

ビデオカメラ201は、装置内固定型の記憶媒体であるハードディスク202を内蔵するものであり、動画の記録・再生等の通常のビデオカメラの機能を有するものである。レンズ、マイク等のビデオカメラとして必要な装置を備え、また、USBインターフェース209を介して外部機器であるパソコン210と接続する機能を有する。   The video camera 201 has a built-in hard disk 202 that is a fixed storage medium in the apparatus, and has functions of a normal video camera such as recording / reproduction of moving images. A device necessary as a video camera such as a lens and a microphone is provided, and a function of connecting to a personal computer 210 as an external device via the USB interface 209 is provided.

ハードディスク202は、動画データやその他の管理情報等を記録するための記憶装置である。
ビデオカメラ201により撮影された動画データは、動画ファイル203としてハードディスク202に記録される。動画ファイル203のフォーマットには、例えばMPEG−2等を用いる。
The hard disk 202 is a storage device for recording moving image data and other management information.
The moving image data shot by the video camera 201 is recorded on the hard disk 202 as a moving image file 203. For example, MPEG-2 is used as the format of the moving image file 203.

動画データに関する構造化データであるメタデータは、テキストファイルであるXML(eXtensible Markup Language)ファイル204としてハードディスク202に記録される。メタデータは構造化されたXMLデータであり、その内容としては例えばタイトル、撮影日時、ジャンル等が含まれる。   Metadata that is structured data relating to moving image data is recorded on the hard disk 202 as an XML (extensible Markup Language) file 204 that is a text file. The metadata is structured XML data, and the contents include, for example, a title, shooting date and time, genre, and the like.

XMLデータに対して高速に検索・更新等の処理を行うために、インデックス情報がバイナリーファイルであるインデックスファイル205としてハードディスク202に記録される。このインデックスファイル205は、ハードディスク202内のパソコン210からは更新できない領域に格納する。なお、このインデックスファイル205をハードディスク202内のパソコン210から更新できる領域に格納する構成にしてもよいが、その場合には、本実施例を搭載する商品の取扱説明書等にパソコン側からインデックスファイル205を更新しないようにといった説明を記載した方がよい。   Index information is recorded on the hard disk 202 as an index file 205 which is a binary file in order to perform processing such as search / update on the XML data at high speed. The index file 205 is stored in an area that cannot be updated from the personal computer 210 in the hard disk 202. The index file 205 may be stored in an area that can be updated from the personal computer 210 in the hard disk 202, but in that case, the index file from the personal computer side is added to the instruction manual of the product equipped with the present embodiment. It is better to describe such that 205 is not updated.

アプリケーションプログラム206は、ビデオカメラ201上で動作するプログラムであり、ビデオカメラ201全体の動作を制御する機能を有する。動画の記録・再生等のビデオカメラとしての通常の動作を制御するとともに、XMLファイルを新規作成するためのXMLデータをXMLDBプログラム207へ出力する機能、アプリケーションプログラム206によって生成される、またはユーザーインターフェース208より入力される動画に関するメタデータをXMLDBプログラム207へ出力する機能、ユーザーインターフェース208より入力される検索条件を用いてXMLDBプログラム207に対して検索を指示する機能、及びXMLDBプログラム207より入力される動画に関するメタデータをユーザーインターフェースへ出力する機能を有する。   The application program 206 is a program that operates on the video camera 201 and has a function of controlling the entire operation of the video camera 201. A function for controlling normal operations as a video camera such as recording / playback of moving images and outputting XML data for creating a new XML file to the XMLDB program 207, generated by the application program 206, or a user interface 208 A function for outputting metadata about a moving image input to the XML DB program 207, a function for instructing the XML DB program 207 to perform a search using a search condition input from the user interface 208, and a moving image input from the XML DB program 207 A function to output metadata about the user interface to the user interface.

XMLDBプログラム207は、XMLに基づくデータベースとして動作するプログラムであり、動画に関するメタデータを管理するものである。XMLファイル204を新規作成する機能、XMLファイル204を解析してそのXMLデータに関するインデックス情報を生成し、インデックスファイル205に格納する機能、及びアプリケーションプログラム206の指示によりXMLファイル204及びインデックスファイル205に格納されているXMLデータを検索・更新・追加する機能等を有する。   The XML DB program 207 is a program that operates as a database based on XML, and manages metadata related to moving images. A function for creating a new XML file 204, a function for analyzing the XML file 204 to generate index information relating to the XML data, storing it in the index file 205, and storing it in the XML file 204 and the index file 205 in accordance with an instruction from the application program 206 It has a function to search / update / add XML data that has been stored.

ユーザーインターフェース208は、液晶モニター及び複数個のキー等で構成される。ユーザーに動画データやメタデータ等を提示する機能、ユーザーからの撮影開始・停止等の指示を受ける機能、及びユーザーからのメタデータの表示、検索等の指示を受ける機能を有する。   The user interface 208 includes a liquid crystal monitor and a plurality of keys. It has a function of presenting moving image data, metadata, and the like to the user, a function of receiving an instruction to start / stop shooting from the user, and a function of receiving an instruction to display and search metadata from the user.

USBインターフェース209は、USBケーブルによりパソコン210と接続するための端子である。USBインターフェース209を介してビデオカメラ201とパソコン210が接続された場合に、パソコン210からハードディスク202に記録されているファイルを読み書きする機能を提供する。   The USB interface 209 is a terminal for connecting to the personal computer 210 with a USB cable. When the video camera 201 and the personal computer 210 are connected via the USB interface 209, a function of reading and writing files recorded on the hard disk 202 from the personal computer 210 is provided.

パソコン210は、USB端子を備える通常のパソコンである。USBケーブルを介してビデオカメラ201と接続されると、ビデオカメラ201に内蔵されているハードディスク202に記録されているファイルを読み書きすることができる。   The personal computer 210 is a normal personal computer equipped with a USB terminal. When connected to the video camera 201 via a USB cable, files recorded on the hard disk 202 built in the video camera 201 can be read and written.

XMLエディター211は、XMLファイルを読み書きするための汎用的なプログラムである。パソコン210とビデオカメラ202がUSBケーブルによって接続されると、ユーザーはXMLエディター211を利用してハードディスク202に記録されているXMLファイル204を読み書きすることができる。なお、XMLエディター211の代わりに、汎用的なテキストエディターや、ビデオカメラの動画データに関するメタデータを読み書きすることに特化したプログラムを利用する構成にしても良い。   The XML editor 211 is a general-purpose program for reading and writing XML files. When the personal computer 210 and the video camera 202 are connected by a USB cable, the user can read and write the XML file 204 recorded on the hard disk 202 using the XML editor 211. Instead of the XML editor 211, a configuration that uses a general-purpose text editor or a program specialized to read and write metadata about video data of a video camera may be used.

以上が本実施例の構成であるが、XMLファイル204をハードディスク202に記録し、USBインターフェース209によりパソコン210と接続する代わりに、XMLファイルをSDメモリー等のビデオカメラと着脱自在な記憶媒体に記録し、ビデオカメラから取り外した記憶媒体をパソコンに備えられた読み書き装置に装着することにより、パソコンからXMLファイルを読み書きすることが可能となるような構成にしてもよい。また、XMLファイル204と共にインデックスファイル205をもSDメモリー等の着脱自在な記憶媒体に記録するようにしても良い。この場合には、本実施例を搭載する商品の取扱説明書等にパソコンでインデックスファイル205を更新しないようにといった説明を記載した方がよい。
<XML用語の説明>
ここで、本実施例の構造化データであるXMLデータで用いるXMLの用語について簡単に説明する。
The above is the configuration of this embodiment, but the XML file 204 is recorded on the hard disk 202, and instead of being connected to the personal computer 210 via the USB interface 209, the XML file is recorded on a storage medium that can be attached to and detached from a video camera such as an SD memory. Then, the storage medium removed from the video camera may be attached to a read / write device provided in the personal computer so that the XML file can be read from and written to the personal computer. Further, the index file 205 may be recorded together with the XML file 204 on a removable storage medium such as an SD memory. In this case, it is better to describe the instruction not to update the index file 205 on the personal computer in the instruction manual of the product equipped with the present embodiment.
<Explanation of XML terms>
Here, XML terms used in the XML data that is the structured data of this embodiment will be briefly described.

XMLでは、「<」で始まり「>」で終わるタグを用いてデータを構造化する。タグには開始タグ、終了タグ及び空要素タグの種類がある。開始タグと終了タグで囲まれたデータ単位及び空要素タグで表されたデータ単位をエレメントと呼ぶ。開始タグ及び空要素タグは、その内部にアトリビュートを記述することができる。また、タグの外側に存在するテキストデータの単位をテキストノードと呼ぶ。また、「<!−−」で始まり「−−>」で終わるタグで表されたデータ単位をコメントと呼ぶ。   In XML, data is structured using tags that begin with “<” and end with “>”. The tag includes a start tag, an end tag, and an empty element tag. A data unit surrounded by a start tag and an end tag and a data unit represented by an empty element tag are called elements. The start tag and the empty element tag can describe attributes therein. A unit of text data existing outside the tag is called a text node. A data unit represented by a tag that starts with "<!-" And ends with "->" is called a comment.

XMLを構成するエレメント、アトリビュート、テキストノード、コメント等を総称してノードと呼ぶ。XMLには上記以外のノードの種類も存在するが、本発明の説明には不要であるため説明を省略する。   Elements, attributes, text nodes, comments, and the like that constitute XML are collectively referred to as nodes. Although there are other types of nodes in XML, they are not necessary for the description of the present invention, so that the description thereof is omitted.

エレメントを構成する開始・終了タグの内側に存在するノードをそのエレメントの子孫ノードと呼ぶ。ただし、子孫ノードにはアトリビュートは含まれない。特に、そのエレメントの直下に存在するノードをそのエレメントの子ノードと呼ぶ。逆に、子ノードに対してそれが属するエレメントを親エレメントと呼ぶ。また、同一の親ノードを持つノード同士を兄弟ノードと呼ぶ。
<インデックスファイルの構成>
次に、インデックスファイル205の構成について説明する。
Nodes that exist inside the start / end tags that make up an element are called descendant nodes of that element. However, the attribute is not included in the descendant node. In particular, a node immediately below the element is called a child node of the element. Conversely, an element to which a child node belongs is called a parent element. Nodes having the same parent node are called sibling nodes.
<Structure of index file>
Next, the configuration of the index file 205 will be described.

図3は、本実施例のインデックスファイルの概念的な構成図である。インデックスファイルは、概念的に、下位に位置するマップ層と上位に位置するデータベース層により構成される。   FIG. 3 is a conceptual configuration diagram of the index file of the present embodiment. The index file is conceptually composed of a map layer positioned at a lower level and a database layer positioned at an upper level.

マップ層は、キーと値の組を関連付けるものである。キー及び値は文字列のデータである。マップ層の構造は、あるキーに関連付けられた値の検索、あるキーに関連付けられた値の更新、あるキーとそれに関連付けられた値の組の削除、及びキーの昇順または降順での値の順次取得等の処理が可能なものでなければならない。また、マップ名によってキーと値の組をグループ分けする、すなわちマップ名を指定することによりそのマップに属するキーと値の組に対してのみ検索等の各種処理を行うことが可能なものでなければならない。具体的な実現手段としては、B−Tree(平衡木;Balanced Tree)を用いる。あるいは、リレーショナルデータベースを用いても良い。   The map layer associates key and value pairs. The key and value are character string data. The structure of the map layer is to find the value associated with a key, update the value associated with a key, delete a key and its associated value pair, and sequence the values in ascending or descending order of the keys It must be capable of processing such as acquisition. In addition, key / value pairs should be grouped by map name, that is, by specifying the map name, various processes such as search can be performed only for the key / value pairs belonging to the map. I must. As a specific realization means, B-Tree (balanced tree) is used. Alternatively, a relational database may be used.

データベース層は、マップ層の機能を利用し、XMLデータに関するインデックス情報を構成するものである。データベース層は、XML文書IDマップ、XML文書情報マップ、インデックス情報マップ、ベースエレメント値マップ、及び検索インデックスマップにより構成される。具体例は後述する図16〜図19に示す。   The database layer uses the functions of the map layer to configure index information related to XML data. The database layer includes an XML document ID map, an XML document information map, an index information map, a base element value map, and a search index map. Specific examples are shown in FIGS.

XML文書IDマップは、XML文書のファイルパスをキーとし、XML文書を一意に識別するXML文書IDを値とするマップである。
XML文書情報マップは、XML文書IDをキーとし、XML文書情報を値とするマップである。XML文書情報には、ファイルパス、ファイルサイズ、及びファイルの最終更新日時が含まれる。
The XML document ID map is a map that uses the file path of the XML document as a key and uses an XML document ID that uniquely identifies the XML document as a value.
The XML document information map is a map having an XML document ID as a key and XML document information as a value. The XML document information includes a file path, a file size, and the last update date / time of the file.

インデックス情報マップは、XML文書のエレメントを特定するXパスをキーとし、インデックス情報を値とするマップである。以下、キーとなるXパスにより指定されるエレメントをベースエレメント(基準要素)と呼ぶ。インデックス情報には、ベースエレメントの子孫ノードのうち検索に使用するノード(以下、検索ノード(検索要素)と呼ぶ)を特定するベースエレメントからの相対パスが含まれる。なお、ベースエレメントを特定するXパスは複数種類あってもよい。また、検索ノードを特定する相対パスはベースエレメントを特定するXパス毎に指定し、1種類のベースエレメントに対して複数種類の相対パスを含めてもよい。相対パスは、対応するベースエレメント毎に、指定された順番で、0から始まる非負整数のIDで識別することにする。   The index information map is a map that uses an X path that identifies an element of an XML document as a key and uses index information as a value. Hereinafter, an element designated by the X path as a key is referred to as a base element (reference element). The index information includes a relative path from the base element that identifies a node (hereinafter referred to as a search node (search element)) used for search among the descendant nodes of the base element. There may be a plurality of types of X paths for specifying the base element. Further, the relative path for specifying the search node may be specified for each X path for specifying the base element, and a plurality of types of relative paths may be included for one type of base element. The relative path is identified by a non-negative integer ID starting from 0 in the specified order for each corresponding base element.

ベースエレメント値マップ(第1のインデックス構成要素)は、ベースエレメントを一意に識別するノードID(基準要素を一意に識別する情報)をキーとし、ベースエレメント値を値とするマップである。ベースエレメント値には、そのベースエレメントを含むXML文書のXML文書ID(その一意に識別された該基準要素を備える構造化データを有する構造化データファイルを特定する情報)、そのベースエレメントのXML文書中の位置を特定するポジションパス(その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報)、及びその子孫に存在する検索ノードのノード値(該基準要素の下位に位置する各検索要素を特定する情報と、その各検索要素の内容情報)が含まれる。なお、検索ノードのノード値は、対応する検索ノードの相対パスを識別するID(検索要素を特定する情報)とともにベースエレメント値に含める。   The base element value map (first index component) is a map having a node ID (information for uniquely identifying a reference element) uniquely identifying a base element as a key and a base element value as a value. The base element value includes an XML document ID of the XML document including the base element (information for identifying a structured data file having structured data having the uniquely identified reference element), and the XML document of the base element. A position path for specifying the position in the information (information for specifying the position of the reference element in the structured data of the specified structured data file), and the node value of the search node existing in the descendant (the reference Information for specifying each search element located below the element, and content information of each search element). The node value of the search node is included in the base element value together with an ID (information specifying the search element) for identifying the relative path of the corresponding search node.

検索インデックスマップ(第2のインデックス構成要素)は、検索ノードのノード値(検索要素の内容情報)をキーとし、その検索ノードを子孫に持つベースエレメントのノードID(その内容情報を有する該検索要素を備える基準要素を一意に識別する情報)を値とするマップである。検索インデックスマップは、インデックス情報マップにおけるインデックス情報に含まれる検索ノードを特定する相対パス毎(検索要素を特定する情報毎)に1つずつ用意する。
<ポジションパスの説明>
次に、前記のベースエレメント値に含まれるポジションパスについて説明する。
The search index map (second index component) has a node value of the search node (content information of the search element) as a key, and a node ID of the base element having the search node as a descendant (the search element having the content information) Is a map whose value is information for uniquely identifying a reference element having. One search index map is prepared for each relative path (for each information for specifying a search element) that specifies a search node included in the index information in the index information map.
<Description of position path>
Next, the position path included in the base element value will be described.

ポジションパスは、XML文書中のノードを特定するための情報である。同様の機能を持つものにXパスがあるが、Xパスよりも少ない情報量で高速に処理することを目的とする。Xパスが複数のノードを同時に指定することもできるのに対して、ポジションパスでは必ず1つのノードを特定する。   The position path is information for specifying a node in the XML document. There is an X path having the same function, but the object is to perform high-speed processing with a smaller amount of information than the X path. While the X path can specify a plurality of nodes simultaneously, the position path always specifies one node.

図4は、本実施例のポジションパスのフォーマットを関数形式で表記した図である。
ポジションパスは、まずNumOfPositionsフィールドから開始される。NumOfPositionsフィールドは32ビットの非負整数であり、後に続くPositionフィールドの個数を指定する。
FIG. 4 is a diagram in which the format of the position path according to the present embodiment is expressed in a function format.
The position path is first started from the NumOfPositions field. The NumOfPositions field is a 32-bit non-negative integer, and specifies the number of Position fields that follow.

次に、NumOfPositionsフィールドで指定した数だけPositionフィールドが続く。Positionフィールドは16ビットの正数であり、あるエレメントの子供ノードのうちの1つを、そのノードが親エレメントの何番目の子供であるかという値で指定する。   Next, the Position field continues by the number specified in the NumOfPositions field. The Position field is a 16-bit positive number, and designates one of the child nodes of an element by the value of the number of children of the parent element.

NumOfPositionsフィールドが0の場合、そのポジションパスで特定されるノードはルートエレメントである。
NumOfPositionsフィールドが1以上の場合、最初のPositionフィールド(Position[0])でルートエレメントの子供ノードの1つが指定される。さらに指定された子供ノードがエレメントの場合、次のPositionフィールド(Position[1])でその子供ノードの1つが指定される。以下、同様にPositionフィールドの数だけノードをたどって行き、最後のPositionフィールド(Position[NumOfPositions−1])で指定されるノードがそのポジションパスで特定されるノードである。なお、最後のPositionフィールド以外のPositionフィールドで指定されるノードは、必ずエレメントでなければならない。
When the NumOfPositions field is 0, the node specified by the position path is a root element.
When the NumOfPositions field is 1 or more, one of the child nodes of the root element is specified in the first Position field (Position [0]). Further, when the designated child node is an element, one of the child nodes is designated in the next Position field (Position [1]). Hereinafter, the nodes are similarly traced by the number of the Position fields, and the node specified by the last Position field (Position [NumOfPositions-1]) is the node specified by the position path. Note that the node specified in the Position field other than the last Position field must be an element.

なお、本実施例のポジションパスのフォーマットではアトリビュートを特定することはできないが、本実施例のポジションパスはベースエレメントを特定するためにのみ用いられるため、特に問題とはならない。
<XMLファイル解析判断処理の流れ>
次に、本実施例のXMLDBプログラムによるXMLファイル解析判断処理の流れについて説明する。
Although the attribute cannot be specified in the position path format according to the present embodiment, the position path according to the present embodiment is used only for specifying the base element, and therefore does not cause a problem.
<Flow of XML file analysis determination processing>
Next, the flow of XML file analysis determination processing by the XML DB program of this embodiment will be described.

なお、XMLファイル解析判断処理は、アプリケーションプログラムからのXMLデータの入力によりXMLDBプログラムがXMLファイルを新規作成した後や、USBインターフェースによるビデオカメラとパソコンの接続が切断された後、また、SDメモリー等の着脱自在な記憶媒体を使用する構成の場合にはその記憶媒体がビデオカメラに装着された後など、XMLファイルが更新された可能性があるときにXMLDBプログラムによって行われる。アプリケーションプログラムがXMLDBに解析するXMLファイルのファイルパスを入力パラメーターとして渡すことにより、XMLファイル解析判断処理が行われる。   The XML file analysis / determination process is performed after the XMLDB program creates a new XML file by inputting XML data from the application program, after the video camera is disconnected from the personal computer via the USB interface, or after the SD memory, etc. In the case of the configuration using the removable storage medium, the XML file is used when there is a possibility that the XML file is updated, for example, after the storage medium is attached to the video camera. By passing the file path of the XML file analyzed by the application program to XMLDB as an input parameter, an XML file analysis determination process is performed.

図5は、XMLDBプログラムによるXMLファイル解析判断処理の流れを示す図である。
XMLファイル解析判断処理が開始される(S501)。
FIG. 5 is a diagram showing the flow of XML file analysis determination processing by the XMLDB program.
XML file analysis determination processing is started (S501).

まず、解析するXMLファイルのファイル属性を取得する(S502)。ここで取得するファイル属性は、ファイルサイズと最終更新時刻である。
次に、XML文書IDマップに登録されているキーに、解析するXMLファイルのファイルパスに一致するものが存在するか否かを判別する(S503)。解析するXMLファイルのファイルパスに一致するものが存在する場合はステップS504へ進み、存在しない場合はステップS508へ進む。
First, the file attribute of the XML file to be analyzed is acquired (S502). The file attributes acquired here are the file size and the last update time.
Next, it is determined whether there is a key registered in the XML document ID map that matches the file path of the XML file to be analyzed (S503). If there is a file that matches the file path of the XML file to be analyzed, the process proceeds to step S504, and if not, the process proceeds to step S508.

ステップS504では、解析するXMLファイルに対するXML文書IDを取得する。すなわち、XML文書IDマップから、キーとなる解析するXMLファイルのファイルパスに対応する値を取得する。   In step S504, an XML document ID for the XML file to be analyzed is acquired. That is, a value corresponding to the file path of the XML file to be analyzed as a key is acquired from the XML document ID map.

次に、XML文書情報マップよりXML文書情報を取得する(S505)。すなわち、XML文書情報マップから、キーとなるステップS504で取得したXML文書IDに対応する値を取得する。XML文書情報には、前述のとおり、ファイルサイズと最終更新時刻が含まれる。   Next, XML document information is acquired from the XML document information map (S505). That is, a value corresponding to the XML document ID acquired in step S504 as a key is acquired from the XML document information map. As described above, the XML document information includes the file size and the last update time.

次に、XML文書に更新の可能性があるか否かを判別する(S506)。具体的には、ステップS502で取得したファイル属性に含まれるファイルサイズ及び最終更新時刻と、ステップS505で取得したXML文書情報に含まれるファイルサイズ及び最終更新時刻とが完全に一致する場合のみXML文書に更新の可能性がないと判断し、それ以外の場合は更新の可能性があると判断する。   Next, it is determined whether or not there is a possibility of updating the XML document (S506). Specifically, only when the file size and the last update time included in the file attribute acquired in step S502 completely match the file size and the last update time included in the XML document information acquired in step S505. It is determined that there is no possibility of updating, otherwise it is determined that there is a possibility of updating.

XML文書に更新の可能性がある場合、XML文書情報マップを更新する(S507)。具体的には、ステップS504で取得したXML文書IDに対応するXML文書情報のファイルサイズ及び最終更新時刻を、ステップS502で取得したファイル属性に含まれるファイルサイズ及び最終更新時刻に更新する。その後、S510へ進む。   If there is a possibility of updating the XML document, the XML document information map is updated (S507). Specifically, the file size and the last update time of the XML document information corresponding to the XML document ID acquired in step S504 are updated to the file size and the last update time included in the file attribute acquired in step S502. Thereafter, the process proceeds to S510.

XML文書に更新の可能性がない場合、終了ステップS511へ進む。
ステップS508では、XML文書IDマップに解析するXMLファイルに対するXML文書IDを登録する。具体的には、既存のXML文書IDと重複しないIDを生成し、解析するXMLファイルのファイルパスをキーとし、生成したXML文書IDを値とするエントリーをXML文書IDマップに追加する。なお、XML文書IDは正数であり、その生成方法としては、例えば既存のIDの最大値に1を加えたものを選べばよい。または、XML文書IDのための初期値が1であるカウンターを別途用意し、カウンターの値をXML文書IDとして取得してからカウンターに1を加える処理を行うようにしてもよい。
If there is no possibility of updating the XML document, the process proceeds to end step S511.
In step S508, the XML document ID for the XML file to be analyzed is registered in the XML document ID map. Specifically, an ID that does not overlap with an existing XML document ID is generated, and an entry with the generated XML document ID as a value is added to the XML document ID map using the file path of the XML file to be analyzed as a key. Note that the XML document ID is a positive number, and as its generation method, for example, a value obtained by adding 1 to the maximum value of the existing ID may be selected. Alternatively, a counter with an initial value of 1 for the XML document ID may be prepared separately, and the process of adding 1 to the counter after acquiring the counter value as the XML document ID may be performed.

次に、XML文書情報マップに、解析するXMLファイルに対するXML文書情報を登録する(S509)。具体的には、解析するXMLファイルのファイルパス、及びステップS502で取得したファイルサイズと最終更新時刻によりXML文書情報を生成し、ステップS508で生成したXML文書IDをキーとし、ここで生成したXML文書情報を値とするエントリーをXML文書情報マップに追加する。その後、ステップS510へ進む。   Next, XML document information for the XML file to be analyzed is registered in the XML document information map (S509). Specifically, XML document information is generated based on the file path of the XML file to be analyzed, the file size acquired in step S502 and the last update time, and the XML document ID generated in step S508 is used as a key. An entry whose value is document information is added to the XML document information map. Thereafter, the process proceeds to step S510.

ステップS510では、XMLファイル解析処理を行う。このとき、入力パラメーターとして、解析するXMLファイルのファイルパス、及びステップS504またはステップS508で得られたXML文書IDを渡す。   In step S510, XML file analysis processing is performed. At this time, the file path of the XML file to be analyzed and the XML document ID obtained in step S504 or step S508 are passed as input parameters.

XMLファイル解析判断処理を終了する(S511)。
<XMLファイル解析処理の流れ>
次に、XMLファイル解析処理ステップS510におけるXMLファイル解析処理の流れについて説明する。
The XML file analysis determination process ends (S511).
<Flow of XML file analysis processing>
Next, the flow of the XML file analysis process in the XML file analysis process step S510 will be described.

図6は、XMLDBプログラムによるXMLファイル解析処理の流れを示す図である。
XMLファイル解析処理を開始する(S601)。
入力パラメーターとして渡されたファイルパスにより特定されるXMLファイルをXMLパーサーにより解析する(S602)。XMLパーサーはXMLDBプログラムの構成要素の一つであり、XMLファイルからデータを読み込み、読み込んだXMLデータをノードに分解するXMLパーサーとしての一般的な機能を持つものである。
FIG. 6 is a diagram showing the flow of XML file analysis processing by the XMLDB program.
XML file analysis processing is started (S601).
The XML file specified by the file path passed as the input parameter is analyzed by the XML parser (S602). The XML parser is one of the components of the XMLDB program and has a general function as an XML parser that reads data from an XML file and decomposes the read XML data into nodes.

次に、XMLパーサーにより解析されたXMLデータに関して、変数nをルートエレメントとする(S603)。
次に、変数nの示すノードがベースエレメントであるか否かを判別する(S604)。判別には、XMLDBプログラムの初期設定として予め定められたベースエレメントを特定するXパスを用いる。前記変数nの示すノードが前記Xパスに合致する場合に、前記変数nの示すノードがベースエレメントであると判断する。
Next, regarding the XML data analyzed by the XML parser, the variable n is set as a root element (S603).
Next, it is determined whether or not the node indicated by the variable n is a base element (S604). For the determination, an X path that specifies a base element that is predetermined as an initial setting of the XML DB program is used. When the node indicated by the variable n matches the X path, it is determined that the node indicated by the variable n is a base element.

変数nの示すノードがベースエレメントである場合、変数nの示すノードに対してベースエレメント解析処理を行う(S605)。このとき、入力パラメーターとして、XMLファイル解析処理の入力パラメーターであるファイルパスとXML文書ID、及びステップS604で変数nの示すノードが合致したXパス、すなわちベースエレメントを特定するXパスを渡す。この後、変数nの示すノードの次に兄弟ノードがあるか否かの判別ステップS606へ進む。   If the node indicated by the variable n is a base element, base element analysis processing is performed on the node indicated by the variable n (S605). At this time, the file path and the XML document ID, which are input parameters of the XML file analysis process, and the X path that matches the node indicated by the variable n in step S604, that is, the X path that specifies the base element are passed as input parameters. Thereafter, the process proceeds to step S606 to determine whether there is a sibling node next to the node indicated by the variable n.

変数nの示すノードがベースエレメントではない場合、変数nの示すノードが子ノードを持つか否かを判別する(S606)。
変数nの示すノードが子ノードを持つ場合、変数nを変数nの最初の子ノードとして(S607)、変数nの示すノードがベースエレメントか否かの判別ステップS604へ進む。
If the node indicated by the variable n is not a base element, it is determined whether or not the node indicated by the variable n has a child node (S606).
If the node indicated by the variable n has a child node, the variable n is set as the first child node of the variable n (S607), and the process proceeds to a determination step S604 as to whether the node indicated by the variable n is a base element.

変数nの示すノードが子ノードを持たない場合、変数nの示すノードと同じ親エレメントを持つノード、すなわち変数nの示すノードの兄弟ノードのうち、変数nの示すノードの次に位置するノードが存在するか否かを判別する(S608)。すなわち、変数nの示すノードが、その親エレメントの子ノードのうち最後のノードであるか否かを判別する。   When the node indicated by the variable n does not have a child node, a node having the same parent element as the node indicated by the variable n, that is, a node positioned next to the node indicated by the variable n among the sibling nodes of the node indicated by the variable n. It is determined whether or not it exists (S608). That is, it is determined whether or not the node indicated by the variable n is the last node among the child nodes of the parent element.

変数nの示すノードの次の兄弟ノードが存在する場合、変数nを変数nの次の兄弟ノードとして(S609)、変数nの示すノードがベースエレメントか否かの判別ステップS604へ進む。   If there is a sibling node next to the node indicated by the variable n, the variable n is set as the next sibling node after the variable n (S609), and the process proceeds to a determination step S604 to determine whether the node indicated by the variable n is a base element.

変数nの示すノードの次の兄弟ノードが存在しない場合、変数nの示すノードがルートエレメントであるか否かを判別する(S610)。
変数nの示すノードがルートエレメントではない場合、変数nを変数nの親エレメントとして(S611)、変数nの示すノードの次に兄弟ノードが存在するか否かの判別ステップS608へ進む。
If there is no sibling node next to the node indicated by the variable n, it is determined whether or not the node indicated by the variable n is a root element (S610).
If the node indicated by the variable n is not the root element, the variable n is set as the parent element of the variable n (S611), and the process advances to a determination step S608 as to whether or not a sibling node exists next to the node indicated by the variable n.

変数nの示すノードがルートエレメントである場合、XMLファイル解析処理を終了する(S612)。
<ベースエレメント解析処理の流れ>
次に、前記ベースエレメント解析処理ステップS606について詳細に説明する。
If the node indicated by the variable n is the root element, the XML file analysis process ends (S612).
<Flow of base element analysis processing>
Next, the base element analysis processing step S606 will be described in detail.

図7は、XMLDBプログラムによるベースエレメント解析処理の流れを示す図である。
ベースエレメント解析処理を開始する(S701)。
FIG. 7 is a diagram showing a flow of base element analysis processing by the XMLDB program.
Base element analysis processing is started (S701).

まず、インデックス情報マップより、処理対象のベースエレメントに対応するインデックス情報を取得する(S702)。具体的には、入力パラメーターのベースエレメントを特定するXパスをキーとする値、すなわちインデックス情報をインデックス情報マップより取得する。   First, index information corresponding to the base element to be processed is acquired from the index information map (S702). Specifically, a value using the X path that specifies the base element of the input parameter as a key, that is, index information is acquired from the index information map.

次に、ベースエレメントのノードIDを取得する(S703)。ノードIDは正数であり、既存のIDと重複しないIDを選択する。より具体的には、例えば、既存IDの最大値に1を加えたものとすればよい。あるいは、ノードIDのための初期値が1であるカウンターを別途用意し、カウンターの値をノードIDとして取得してからカウンターに1を加える処理を行うようにしてもよい。   Next, the node ID of the base element is acquired (S703). The node ID is a positive number, and an ID that does not overlap with an existing ID is selected. More specifically, for example, 1 may be added to the maximum value of the existing ID. Alternatively, a counter with an initial value 1 for the node ID may be prepared separately, and the process of adding 1 to the counter after obtaining the counter value as the node ID may be performed.

次に、ベースエレメントのポジションパスを作成する(S704)。
次に、ステップS703で取得したノードID、及びステップS704で作成したポジションパスからベースノード値を作成する(S705)。ここでは検索ノードのノード値は空にしておく。
Next, a position path of the base element is created (S704).
Next, a base node value is created from the node ID acquired in step S703 and the position path created in step S704 (S705). Here, the node value of the search node is left empty.

次に、ステップS706から開始し、ステップS712で終了する処理を、入力パラメーターのベースエレメントを特定するXパスにおける検索ノードを特定する相対パス毎に繰り返す。このとき、検索ノードを特定する相対パスはステップS702で取得したインデックス情報に含まれている。この処理を繰り返し(1)とする。   Next, the process starting from step S706 and ending at step S712 is repeated for each relative path that specifies the search node in the X path that specifies the base element of the input parameter. At this time, the relative path for specifying the search node is included in the index information acquired in step S702. This process is repeated (1).

繰り返し(1)では、まず、処理対象の検索ノードを特定する相対パスにおいて、ベースエレメント以下のノードから相対パスに合致するノードを選択する(S707)。ここで、ベースエレメント以下のノードとは、ベースエレメントの子孫ノード、及びベースエレメントと子孫ノードのアトリビュートである。   In the repetition (1), first, a node that matches the relative path is selected from the nodes below the base element in the relative path that specifies the search node to be processed (S707). Here, the node below the base element is a descendant node of the base element and attributes of the base element and the descendant node.

次に、ステップS708から開始し、ステップS711で終了する処理を、ステップS707で選択されたノード毎に繰り返す。この処理を繰り返し(2)とする。
繰り返し(2)では、まず、繰り返し(1)における処理対象の検索ノードを特定する相対パスを識別するIDと、繰り返し(2)の処理対象のノードのノード値とを、ベースエレメント値に追加する(S709)。
Next, the process starting from step S708 and ending in step S711 is repeated for each node selected in step S707. This process is repeated (2).
In iteration (2), first, an ID for identifying a relative path for specifying the processing target search node in iteration (1) and the node value of the node to be processed in iteration (2) are added to the base element value. (S709).

次に、処理対象ノードのノード値とステップS703で取得したベースエレメントのノードIDを検索インデックスマップに登録する(S710)。具体的には、処理対象ノードのノード値をキーとし、ベースエレメントのノードIDを値とするエントリーを、繰り返し(1)における処理対象の検索ノードを特定する相対パスに対する検索インデックスマップに追加する。   Next, the node value of the processing target node and the node ID of the base element acquired in step S703 are registered in the search index map (S710). Specifically, an entry having the node value of the processing target node as a key and the node ID of the base element as a value is added to the search index map for the relative path for specifying the processing target search node in the repetition (1).

繰り返し(2)を終了する(S711)。
繰り返し(1)を終了する(S712)。
次に、ステップS703で取得したベースエレメントのノードIDと、ステップS705で作成し、ステップS709で更新したベースエレメント値をベースエレメント値マップに登録する(S713)。具体的には、ベースエレメントのノードIDをキーとし、ベースエレメント値を値とするエントリーを、ベースエレメント値マップに追加する。
Repeat (2) is terminated (S711).
The repetition (1) is ended (S712).
Next, the node ID of the base element acquired in step S703 and the base element value created in step S705 and updated in step S709 are registered in the base element value map (S713). Specifically, an entry having the base element node ID as a key and the base element value as a value is added to the base element value map.

ベースエレメント解析処理を終了する(S714)。
<検索処理の流れ>
次に、本実施例のXMLDBプログラムによる検索処理の流れを説明する。
The base element analysis process is terminated (S714).
<Flow of search processing>
Next, the flow of search processing by the XML DB program of this embodiment will be described.

検索処理は、アプリケーションプログラムからの指示によりXMLDBプログラムが実行する。入力パラメーターとして、ベースエレメントを特定するXパス、検索結果のノードを特定するベースエレメントからの相対パス、検索ノードを特定するベースエレメントからの相対パス、及び検索キーを渡す。検索結果として、ノードのリストがXMLDBプログラムからアプリケーションプログラムへ返される。   The search process is executed by the XML DB program according to an instruction from the application program. As input parameters, an X path for specifying a base element, a relative path from a base element for specifying a search result node, a relative path from a base element for specifying a search node, and a search key are passed. As a search result, a list of nodes is returned from the XML DB program to the application program.

図8は、XMLDBプログラムによる検索処理の流れを示す図である。
検索処理を開始する(S801)。
まず、インデックス情報マップより、入力パラメーターのベースエレメントを特定するXパスに対応するインデックス情報を取得する(S802)。具体的には、入力パラメーターのベースエレメントを特定するXパスをキーとする値、すなわちインデックス情報をインデックス情報マップより取得する。
FIG. 8 is a diagram showing the flow of search processing by the XML DB program.
Search processing is started (S801).
First, index information corresponding to the X path for specifying the base element of the input parameter is acquired from the index information map (S802). Specifically, a value using the X path that specifies the base element of the input parameter as a key, that is, index information is acquired from the index information map.

次に、入力パラメーターのベースエレメントを特定するXパスにおける入力パラメーターの検索ノードを特定する相対パスに対する検索インデックスマップから、入力パラメーターの検索キーをキーとする値、すなわちベースエレメントのノードIDを取得する(S803)。取得されるノードIDは0個の可能性もあるし、複数個の可能性もある。   Next, a value using the search key of the input parameter as a key, that is, the node ID of the base element is acquired from the search index map for the relative path that specifies the search node of the input parameter in the X path that specifies the base element of the input parameter. (S803). The acquired node ID may be zero or may be plural.

次に、ステップS804から開始され、ステップS812で終了する処理を、ステップS803で取得したノードID毎に繰り返す。S803で取得したノードIDが0個の場合は、繰り返し処理を行わずにステップS814へ進む。   Next, the process starting from step S804 and ending in step S812 is repeated for each node ID acquired in step S803. If the node ID acquired in S803 is 0, the process proceeds to step S814 without performing the repetition process.

繰り返し処理では、まず、ベースエレメント値マップに処理対象のノードIDと同じノードIDのキーが存在するか否かを判別する(S805)。存在する場合はステップS806へ進む。存在しない場合はステップS815へ進む、すなわち、次の繰り返し処理へ進む、または最後の繰り返し処理の場合は繰り返しを終了する。   In the repetitive processing, first, it is determined whether or not a key having the same node ID as the processing target node ID exists in the base element value map (S805). If it exists, the process proceeds to step S806. If it does not exist, the process proceeds to step S815, that is, proceeds to the next repetition process, or in the case of the last repetition process, the repetition ends.

ステップS806では、ベースエレメント値マップから処理対象のノードIDをキーとする値、すなわちベースエレメント値を取得する。
次に、入力パラメーターの検索結果のノードを特定する相対パスが、ステップS802で取得したインデックス情報に含まれるか否かを判別する(S807)。含まれる場合はステップS808へ進み、含まれない場合はステップS809へ進む。
In step S806, a value using the node ID to be processed as a key, that is, a base element value is acquired from the base element value map.
Next, it is determined whether or not the relative path specifying the node of the search result of the input parameter is included in the index information acquired in step S802 (S807). If it is included, the process proceeds to step S808; otherwise, the process proceeds to step S809.

ステップS808では、ステップS806で取得したベースエレメント値より入力パラメーターの検索結果のノードを特定する相対パスで特定されるノードのノード値を取得する。具体的には、検索結果のノードを特定する相対パスがステップS802で取得したインデックス情報に含まれる順番により相対パスのIDを特定し、ベースエレメント値にその相対パスIDとともに含まれているノード値を取得する。なお、取得されるノード値は0個の可能性もあるし、複数個の可能性もある。この後、ステップS814へ進む。   In step S808, the node value of the node specified by the relative path that specifies the node of the search result of the input parameter is acquired from the base element value acquired in step S806. Specifically, the relative path ID is specified based on the order in which the relative path specifying the search result node is included in the index information acquired in step S802, and the node value included in the base element value together with the relative path ID To get. The acquired node value may be zero or may be plural. Thereafter, the process proceeds to step S814.

ステップS809では、ステップS806で取得したベースエレメント値に含まれるXML文書IDとポジションパスを取得する。
次に、XML文書情報マップよりXMLファイルのファイルパスを取得する(S810)。具体的には、ステップS809で取得したXML文書IDをキーとする値、すなわちファイルパスをXML文書情報マップより取得する。
In step S809, the XML document ID and position path included in the base element value acquired in step S806 are acquired.
Next, the file path of the XML file is acquired from the XML document information map (S810). Specifically, a value using the XML document ID acquired in step S809 as a key, that is, a file path is acquired from the XML document information map.

次に、ステップS810で取得したファイルパスにより特定されるXMLファイルをXMLパーサーにより解析する(S811)。
次に、ステップS811で解析されたXMLデータから、ステップS809で取得したポジションパスで特定されるベースエレメントを選択する(S812)。なお、ここでは必ず1つのエレメントが選択される。
Next, the XML file specified by the file path acquired in step S810 is analyzed by the XML parser (S811).
Next, the base element specified by the position path acquired in step S809 is selected from the XML data analyzed in step S811 (S812). Here, one element is always selected.

次に、ステップS812で選択されたベースエレメントに対して、入力パラメーターの検索結果のノードを特定する相対パスで特定されるノードのノード値を取得する(S813)。なお、取得されるノード値は0個の可能性もあるし、複数個の可能性もある。この後、ステップS814へ進む。   Next, for the base element selected in step S812, the node value of the node specified by the relative path that specifies the node of the input parameter search result is acquired (S813). The acquired node value may be zero or may be plural. Thereafter, the process proceeds to step S814.

ステップS814では、ステップS808またはステップS813で取得したノード値を検索結果リストに追加する。なお、取得したノード値が0個の場合は何も行わない。
繰り返し処理を終了する(S815)。
In step S814, the node value acquired in step S808 or step S813 is added to the search result list. If the obtained node value is 0, nothing is done.
The iterative process is terminated (S815).

検索処理を終了する(S816)。検索結果リストがXMLDBプログラムからアプリケーションプログラムへ返される。
<削除処理の流れ>
次に、本実施例のXMLDBプログラムによる削除処理の流れについて説明する。
The search process is terminated (S816). A search result list is returned from the XMLDB program to the application program.
<Deleting process flow>
Next, the flow of deletion processing by the XML DB program of this embodiment will be described.

削除処理は、アプリケーションプログラムからの指示によりXMLDBプログラムが実行する。入力パラメーターとして、ベースエレメントを特定するXパス、削除対象のノードを特定するベースエレメントからの相対パス、検索ノードを特定するベースエレメントからの相対パス、及び検索キーを渡す。   The deletion process is executed by the XML DB program according to an instruction from the application program. As input parameters, an X path for specifying a base element, a relative path from a base element for specifying a node to be deleted, a relative path from a base element for specifying a search node, and a search key are passed.

図9は、XMLDBプログラムによる削除処理の流れを示す図である。
削除処理を開始する(S901)。次のステップS802及びステップS803の処理は、図8のXMLDBプログラムによる検索処理の流れを示す図におけるステップS802及びステップS803と同じである。
FIG. 9 is a diagram showing a flow of deletion processing by the XML DB program.
Deletion processing is started (S901). The processing in the next step S802 and step S803 is the same as step S802 and step S803 in the flow chart showing the search processing by the XML DB program in FIG.

次に、ステップS904から開始し、ステップS916で終了する処理を、ステップS803で取得したベースエレメントのノードID毎に繰り返す。
ステップS806及びステップS809からS812の処理は、図8のXMLDBプログラムによる検索処理の流れを示す図におけるステップS806及びステップS809からS812と同じである。
Next, the process starting from step S904 and ending at step S916 is repeated for each node ID of the base element acquired at step S803.
The processing of step S806 and steps S809 to S812 is the same as step S806 and steps S809 to S812 in the flow chart showing the search processing by the XML DB program of FIG.

次に、ステップS812で選択したベースエレメント以下のノードにおいて、削除対象ノードの相対パスで特定されるノードをコメントで置換する(S913)。なお、ここではベースエレメント自体が置換される可能性もある。   Next, in the nodes below the base element selected in step S812, the node specified by the relative path of the deletion target node is replaced with a comment (S913). Here, the base element itself may be replaced.

次に、ステップS913で更新されたXMLデータをステップS811で読み込んだファイルに上書きする(S914)。
次に、削除用のベースエレメント再解析処理を行う(S915)。ここでは、入力パラメーターとして、ステップS913においてベースエレメント自体が削除(より正確には置換)されたか否か、繰り返し処理の処理対象のベースエレメントのノードID、ステップS802で取得したインデックス情報、ステップS806で取得したベースエレメント値、ステップS809で取得したXML文書ID、及びステップS812で取得したベースエレメントを渡す。
Next, the XML data updated in step S913 is overwritten on the file read in step S811 (S914).
Next, a base element reanalysis process for deletion is performed (S915). Here, as input parameters, whether or not the base element itself has been deleted (more accurately replaced) in step S913, the node ID of the base element to be processed repeatedly, the index information acquired in step S802, and in step S806. The acquired base element value, the XML document ID acquired in step S809, and the base element acquired in step S812 are passed.

繰り返し処理を終了する(S916)。
削除処理を終了する(S917)。
<削除用のベースエレメント再解析処理の流れ>
次に、ステップS915の削除用のベースエレメント再解析処理について説明する。
The iterative process is terminated (S916).
The deletion process is terminated (S917).
<Flow of base element reanalysis processing for deletion>
Next, the base element reanalysis process for deletion in step S915 will be described.

図10は、XMLDBプログラムによる削除用のベースエレメント再解析処理の流れを示す図である。
ベースエレメント再解析処理を開始する(S1001)。
FIG. 10 is a diagram showing a flow of a base element reanalysis process for deletion by the XMLDB program.
The base element reanalysis process is started (S1001).

まず、削除処理においてベースエレメント自体が削除されたか否かを判別する(S1002)。ベースエレメント自体が削除されたか否かは入力パラメーターにより判別できる。ベースエレメント自体が削除された場合はステップS1003へ進み、それ以外の場合はステップS1004へ進む。   First, it is determined whether or not the base element itself has been deleted in the deletion process (S1002). Whether or not the base element itself has been deleted can be determined from the input parameters. If the base element itself has been deleted, the process proceeds to step S1003. Otherwise, the process proceeds to step S1004.

ステップS1003では、ベースエレメント値マップから入力パラメーターのベースエレメントのノードIDをキーとするエントリーを削除する。その後、ステップS1014へ進む。   In step S1003, the entry with the node ID of the base element of the input parameter as a key is deleted from the base element value map. Thereafter, the process proceeds to step S1014.

ステップS1004では、入力パラメーターのベースエレメント値からすべての相対パスIDとノード値を削除する。
ステップS706からステップS712は、図7のベースエレメント解析処理の流れを示す図におけるステップS706からステップS712と同じである。ただし、インデックス情報、ベースエレメント、ベースエレメントのノードID、及びベースエレメント値は、入力パラメーターのものを使用する。
In step S1004, all relative path IDs and node values are deleted from the base element value of the input parameter.
Steps S706 to S712 are the same as steps S706 to S712 in the diagram showing the flow of the base element analysis processing of FIG. However, index information, base elements, node IDs of base elements, and base element values are those of input parameters.

次に、ベースエレメント値マップを更新する(S1013)。具体的には、ベースエレメント値マップにおける入力パラメーターのベースエレメントのノードIDをキーとする値を、入力パラメーターとして入力され、ステップS1004からステップS712までの処理で更新されたベースエレメント値で更新する。その後、ステップS1014へ進む。   Next, the base element value map is updated (S1013). Specifically, a value using the node ID of the base element of the input parameter in the base element value map as a key is input as an input parameter and updated with the base element value updated in the processing from step S1004 to step S712. Thereafter, the process proceeds to step S1014.

ステップS1014では、XML文書情報マップを更新する。具体的には、XML文書情報マップよりXML文書IDをキーとする値、すなわちXML文書情報を取得し、取得したXML文書情報に含まれるファイルパスの示すファイルのファイルサイズ及び最終更新時刻を取得し、取得したファイルサイズ及び最終更新時刻によりXML文書情報を更新し、更新されたXML文書情報でXML文書情報マップの前記XML文書IDをキーとする値を更新する。   In step S1014, the XML document information map is updated. Specifically, a value using the XML document ID as a key, that is, XML document information is acquired from the XML document information map, and the file size and the last update time of the file indicated by the file path included in the acquired XML document information are acquired. Then, the XML document information is updated with the acquired file size and the last update time, and the value with the XML document ID of the XML document information map as a key is updated with the updated XML document information.

削除用のベースエレメント再解析処理を終了する(S1015)。
<更新処理の流れ>
次に、本実施例のXMLDBプログラムによる更新処理の流れについて説明する。
The base element reanalysis process for deletion is terminated (S1015).
<Flow of update processing>
Next, the flow of update processing by the XML DB program of this embodiment will be described.

更新処理は、アプリケーションプログラムからの指示によりXMLDBプログラムが実行する。入力パラメーターとして、ベースエレメントを特定するXパス、更新対象のノードを特定するベースエレメントからの相対パス、更新に使用する新しいノード(以下、更新ノードと呼ぶ)、検索ノードを特定するベースエレメントからの相対パス、及び検索キーを渡す。   The update process is executed by the XML DB program according to an instruction from the application program. As input parameters, the X path that identifies the base element, the relative path from the base element that identifies the node to be updated, the new node used for the update (hereinafter referred to as the update node), and the base element that identifies the search node Pass the relative path and search key.

図11は、XMLDBプログラムによる更新処理の流れを示す図である。
更新処理を開始する(S1101)。
ステップS802及びステップS803の処理は、図8のXMLDBプログラムによる検索処理の流れを示す図におけるステップS802及びステップS803と同じである。
FIG. 11 is a diagram showing a flow of update processing by the XML DB program.
Update processing is started (S1101).
The processing in step S802 and step S803 is the same as step S802 and step S803 in the flow chart showing the search processing by the XML DB program in FIG.

次に、ステップS1104から開始し、ステップS1116で終了する処理を、ステップS803で取得したベースエレメントのノードID毎に繰り返す。
ステップS806及びステップS809からS812の処理は、図8のXMLDBプログラムによる検索処理の流れを示す図におけるステップS806及びステップS809からS812と同じである。
Next, the process starting from step S1104 and ending at step S1116 is repeated for each node ID of the base element acquired at step S803.
The processing of step S806 and steps S809 to S812 is the same as step S806 and steps S809 to S812 in the flow chart showing the search processing by the XML DB program of FIG.

次に、ステップS812で選択したベースエレメント以下のノードにおいて、更新対象ノードの相対パスで特定されるノードを更新ノードで置換する(S1113)。なお、ベースエレメント自体が更新されることはないものとする。すなわち、入力パラメーターの更新対象のノードを特定するベースエレメントからの相対パスにおいて、ベースエレメント自体を示すような相対パスが指定されることはない。   Next, in the nodes below the base element selected in step S812, the node specified by the relative path of the update target node is replaced with the update node (S1113). It is assumed that the base element itself is not updated. That is, a relative path indicating the base element itself is not specified in the relative path from the base element that specifies the node to be updated of the input parameter.

ステップS914の処理は、図9のXMLDBプログラムによる削除処理の流れを示す図におけるステップS914と同じである。
次に、更新用のベースエレメント再解析処理を行う(S1115)。ここでは、入力パラメーターとして、繰り返し処理の処理対象のベースエレメントのノードID、ステップS802で取得したインデックス情報、ステップS806で取得したベースエレメント値、ステップS809で取得したXML文書ID、及びステップS812で取得したベースエレメントを渡す。
The processing in step S914 is the same as step S914 in the flowchart showing the deletion processing flow by the XML DB program in FIG.
Next, base element reanalysis processing for update is performed (S1115). Here, as input parameters, the node ID of the base element to be processed repeatedly, the index information acquired in step S802, the base element value acquired in step S806, the XML document ID acquired in step S809, and acquired in step S812. Passed the base element.

繰り返し処理を終了する(S1116)。
更新処理を終了する(S1117)。
<更新用のベースエレメント再解析処理の流れ>
次に、ステップS1115の更新用のベースエレメント再解析処理について説明する。
The iterative process is terminated (S1116).
The update process is terminated (S1117).
<Flow of base element reanalysis processing for update>
Next, the base element reanalysis process for update in step S1115 will be described.

図12は、XMLDBプログラムによる更新用のベースエレメント再解析処理の流れを示す図である。
ベースエレメント再解析処理を開始する(S1201)。
FIG. 12 is a diagram showing the flow of base element reanalysis processing for update by the XMLDB program.
The base element reanalysis process is started (S1201).

ステップS1004、S706からS712、S1013及びS1014の処理は、図10の削除用のベースエレメント再解析処理の流れを示す図におけるステップS1004、S706からS712、S1013及びS1014と同じである。   The processes of steps S1004, S706 to S712, S1013, and S1014 are the same as steps S1004, S706 to S712, S1013, and S1014 in the flowchart showing the flow of the base element reanalysis process for deletion in FIG.

ベースエレメント再解析処理を終了する(S1215)。
<追加処理の流れ>
次に、本実施例のXMLDBプログラムによる追加処理の流れについて説明する。
The base element reanalysis process is terminated (S1215).
<Flow of additional processing>
Next, the flow of additional processing by the XML DB program of this embodiment will be described.

追加処理は、アプリケーションプログラムからの指示によりXMLDBプログラムが実行する。入力パラメーターとして、追加対象のXMLファイルを特定するファイルパス、追加対象のノードを特定するXパス、追加対象ノードに対して追加する位置を示すフラグ、及び追加に使用する新しいノード(以下、追加ノードと呼ぶ)を渡す。   The additional processing is executed by the XML DB program according to an instruction from the application program. As input parameters, a file path for specifying the XML file to be added, an X path for specifying the node to be added, a flag indicating a position to be added to the addition target node, and a new node used for addition (hereinafter referred to as an additional node) Pass).

前記の追加対象ノードに対して追加する位置を示すフラグとは、追加ノードを追加対象ノードの最後の子ノードとして追加するか(この場合、追加対象ノードはエレメントでなければならない)、あるいは追加対象ノードの直前の兄弟ノードとして追加するかを示すフラグである。   The flag indicating the position to be added to the addition target node is whether the addition node is added as the last child node of the addition target node (in this case, the addition target node must be an element) or the addition target A flag indicating whether to add as a sibling node immediately before the node.

図13は、XMLDBプログラムによる追加処理の流れを示す図である。
追加処理を開始する(S1301)。
ステップS503、S504、S508及びS509の処理は、図5のXMLファイル解析判断処理の流れを示す図におけるステップS503、S504、S508及びS509と同じである。ただし、ステップS504の後、及びステップS509の後はステップS1310へ進む。
FIG. 13 is a diagram showing a flow of additional processing by the XML DB program.
Addition processing is started (S1301).
The processes of steps S503, S504, S508, and S509 are the same as steps S503, S504, S508, and S509 in the flow chart of the XML file analysis determination process in FIG. However, after step S504 and after step S509, the process proceeds to step S1310.

ステップS1310では、入力パラメーターのファイルパスで特定されるファイルをXMLパーサーで解析する。
次に、ステップS1310で解析されたXMLデータから入力パラメーターの追加対象のノードを特定するXパスによって特定されるノードを選択する(S1311)。なお、選択されるノードは1つになるものとする。すなわち、入力パラメーターのXパスは1つのノードを特定するようなものであるとする。
In step S1310, the file specified by the file path of the input parameter is analyzed by the XML parser.
Next, a node identified by an X path that identifies a node to which an input parameter is to be added is selected from the XML data analyzed in step S1310 (S1311). Note that only one node is selected. That is, the X path of the input parameter is assumed to specify one node.

次に、ステップS1311で選択された追加対象ノードに対して、入力パラメーターの追加位置を示すフラグにより指定される位置に、入力パラメーターの追加ノードを追加する(S1312)。   Next, an input parameter addition node is added to the position specified by the flag indicating the input parameter addition position for the addition target node selected in step S1311 (S1312).

次に、追加ノード解析処理を行う(S1313)。ここでは、入力パラメーターとして、ステップS504で取得した、またはステップS508で作成したXML文書ID、及びステップS1312で追加した追加後の追加ノードを渡す。   Next, additional node analysis processing is performed (S1313). Here, the XML document ID acquired in step S504 or created in step S508 and the added additional node added in step S1312 are passed as input parameters.

追加処理を終了する(S1314)。
<追加ノード解析処理の流れ>
次に、ステップS1313の追加ノード解析処理について説明する。
The adding process is terminated (S1314).
<Flow of additional node analysis processing>
Next, the additional node analysis process in step S1313 will be described.

図14は、XMLDBプログラムによる追加ノード解析処理の流れを示す図である。
追加ノード解析処理を開始する(S1401)。
次に、変数nを入力パラメーターの追加ノードとする(S1403)。
FIG. 14 is a diagram showing a flow of additional node analysis processing by the XML DB program.
The additional node analysis process is started (S1401).
Next, the variable n is set as an additional node of the input parameter (S1403).

ステップS604からS609及びS611の処理は、図6のXMLファイル解析処理の流れを示す図におけるステップS604からS609及びS611と同じである。ただし、ステップS608でnの次に兄弟ノードは存在しないと判断された場合はステップS1410へ進む。   The processes in steps S604 to S609 and S611 are the same as steps S604 to S609 and S611 in the flow chart of the XML file analysis process in FIG. However, if it is determined in step S608 that there is no sibling node next to n, the process proceeds to step S1410.

ステップS1410では、nが追加ノードであるか否かの判別処理を行う。nが追加ノードではないと判断された場合はステップS611へ進み、nが追加ノードであると判断された場合はステップS1412へ進む。   In step S1410, it is determined whether or not n is an additional node. If it is determined that n is not an additional node, the process proceeds to step S611. If n is determined to be an additional node, the process proceeds to step S1412.

ステップS1412では、XML文書情報マップを更新する。具体的には、XML文書情報マップより入力パラメーターのXML文書IDをキーとする値、すなわちXML文書情報を取得し、取得したXML文書情報に含まれるファイルパスの示すファイルのファイルサイズ及び最終更新時刻を取得し、取得したファイルサイズ及び最終更新時刻によりXML文書情報を更新し、更新されたXML文書情報でXML文書情報マップの前記XML文書IDをキーとする値を更新する。   In step S1412, the XML document information map is updated. Specifically, a value using the XML document ID of the input parameter as a key, that is, XML document information is acquired from the XML document information map, and the file size and the last update time of the file indicated by the file path included in the acquired XML document information , The XML document information is updated with the acquired file size and the last update time, and the value with the XML document ID of the XML document information map as a key is updated with the updated XML document information.

追加ノード解析処理を終了する(S1413)。
<XMLデータの具体例>
次に、XMLデータの具体例を用いて、本実施例の各処理をより具体的に説明する。
The additional node analysis process ends (S1413).
<Specific examples of XML data>
Next, each process of the present embodiment will be described more specifically using a specific example of XML data.

図15は、本実施例におけるXMLデータの具体例である。ただし、左側に縦に並ぶ数字は説明の便宜のために記した行番号であり、実際のXMLデータには含まれない。
本XMLデータ例は、全体が「SDVideo」という名前のエレメントになっており、これが本XMLデータ例のルートエレメントである。各XMLファイルには、1つのルートエレメントから成るXMLデータが格納される。
FIG. 15 is a specific example of XML data in the present embodiment. However, the numbers arranged vertically on the left side are line numbers for convenience of explanation and are not included in the actual XML data.
The XML data example as a whole is an element named “SDVideo”, which is the root element of the XML data example. Each XML file stores XML data composed of one root element.

2行目から6行目や7行目から11行目等の「Movie」という名前のエレメントに、ビデオカメラに格納される1つの動画ファイルに対応するメタデータが格納される。具体的には、Movieエレメント以下に動画ファイルを識別するID(idアトリビュート)、イベント種別(Eventエレメント)、画質(Qualityエレメント)、撮影日時(Dateエレメント)等のデータが格納される。本実施例では、このように同一構造のXMLデータの断片(以下、XMLデータ単位と呼ぶ)が複数存在するようなXMLデータを格納する。なお、本XMLデータ例ではXMLデータ単位は1種類であるが、XMLデータの中に複数種類のXMLデータ単位が存在してもよい。   Metadata corresponding to one moving image file stored in the video camera is stored in an element named “Movie” in the second to sixth lines, the seventh to eleventh lines, and the like. Specifically, data such as an ID (id attribute) for identifying a moving image file, an event type (Event element), an image quality (Quality element), and a shooting date (Date element) are stored below the Movie element. In this embodiment, XML data that stores a plurality of pieces of XML data having the same structure (hereinafter referred to as XML data units) is stored. In this XML data example, there is one type of XML data unit, but there may be a plurality of types of XML data units in the XML data.

XMLデータ単位の最上位に位置するMovieエレメントが、本実施例のベースエレメントに相当するものである。ベースエレメントを特定するXパスは“/SDVideo/Movie”となる。   The Movie element located at the top of the XML data unit corresponds to the base element of this embodiment. The X path for specifying the base element is “/ SDVideo / Movie”.

動画ファイルに対するイベント種別、画質等のメタデータを対象として検索等の処理を行うため、それらのデータを格納するノードが検索ノードとなる。例えば、イベント種別を格納するノードは厳密にはEventエレメントの子ノードであるテキストノードであり、検索ノードを特定するベースエレメントからの相対パスは“Event/text()”となる。また、画質を格納するノードは厳密にはQualityエレメントの子ノードであるテキストノードであり、検索ノードを特定するベースエレメントからの相対パスは“Quality/text()”となる。また、動画ファイルを識別するIDを格納するノードはidアトリビュートであり、検索ノードを特定するベースエレメントからの相対パスは“@id”となる。前記インデックスファイルにおける検索インデックスマップは、これらの検索ノードを特定する相対パス毎に1つずつ用意する。   Since processing such as searching for metadata such as event type and image quality for a moving image file is performed, a node storing these data is a search node. For example, the node that stores the event type is a text node that is a child node of the Event element, and the relative path from the base element that specifies the search node is “Event / text ()”. Strictly speaking, the node that stores the image quality is a text node that is a child node of the Quality element, and the relative path from the base element that specifies the search node is “Quality / text ()”. A node that stores an ID for identifying a moving image file is an id attribute, and a relative path from a base element that identifies a search node is “@id”. A search index map in the index file is prepared for each relative path that specifies these search nodes.

例えば、前記検索処理において、イベント種別が“11”である動画のIDを取得する場合には、検索処理の入力パラメーターとして、ベースエレメントを特定するXパス“/SDVideo/Movie”、検索結果のノードを特定するベースエレメントからの相対パス“@id”、検索ノードを特定するベースエレメントからの相対パス“Event/text()”、及び検索キー“11”を渡す。   For example, in the search process, when an ID of a moving image whose event type is “11” is acquired, an X path “/ SDVideo / Movie” for specifying a base element as an input parameter of the search process, a search result node The relative path “@id” from the base element that identifies the search node, the relative path “Event / text ()” from the base element that identifies the search node, and the search key “11” are passed.

例えば、前記削除処理において、画質が“1”である動画のメタデータ全体を削除する場合には、削除処理の入力パラメーターとしてベースエレメントを特定するXパス“/SDVideo/Movie”、削除対象のノードを特定するベースエレメントからの相対パス“.”(ベースエレメントそのものを表す)、検索ノードを特定するベースエレメントからの相対パス“Quality/text()”、及び検索キー“1”を渡す。削除対象のノードは、図15の12行目にあるようなコメントで置換される。   For example, in the deletion process, when deleting the entire metadata of a moving image whose image quality is “1”, an X path “/ SDVideo / Movie” for specifying a base element as an input parameter of the deletion process, a node to be deleted A relative path “.” (Representing the base element itself) from the base element that identifies the search node, a relative path “Quality / text ()” from the base element that identifies the search node, and the search key “1” are passed. The node to be deleted is replaced with a comment as shown in the twelfth line of FIG.

例えば、前記更新処理において、動画ファイルを識別するIDが“001−001”である動画のイベント種別を“34”に更新する場合には、更新処理の入力パラメーターとして、ベースエレメントを特定するXパス“/SDVideo/Movie”、更新対象のノードを特定するベースエレメントからの相対パス“Event/text()”、更新ノード(ノード値が“34”であるテキストノード)、検索ノードを特定するベースエレメントからの相対パス“@id”、及び検索キー“001−001”を渡す。   For example, in the update process, when the event type of the moving image whose ID for identifying the moving image file is “001-001” is updated to “34”, the X path for specifying the base element as the input parameter of the update process “/ SDVideo / Movie”, relative path “Event / text ()” from the base element that identifies the update target node, update node (text node whose node value is “34”), base element that identifies the search node The relative path “@id” and the search key “001-001” are passed.

例えば、前記追加処理において、図15のXMLデータの末尾に新たな動画ファイルのメタデータを追加する場合には、まず新たな動画ファイルのメタデータを含むMovieエレメントを最上位ノードとするXMLデータを作成し(これが追加ノードとなる)、追加処理の入力パラメーターとして、追加対象のXMLファイルを特定するファイルパス(図15のXMLデータが格納されているXMLファイルのファイルパス)、追加対象のノードを特定するXパス“/SDVideo”、追加対象ノードに対して追加する位置を示すフラグ(最後の子ノードを示すフラグ)、及び追加ノード(新たな動画ファイルのメタデータを含むXMLデータ)を渡す。   For example, in the addition process, when adding metadata of a new video file to the end of the XML data in FIG. 15, first, XML data having the Movie element including the metadata of the new video file as the highest node is used. Create this (this will be an additional node), specify the XML file to be added as an input parameter for the addition process (file path of the XML file in which the XML data in FIG. 15 is stored), and add the node to be added The specified X path “/ SDVideo”, a flag indicating the position to be added to the addition target node (flag indicating the last child node), and an additional node (XML data including metadata of the new moving image file) are passed.

また、例えば、前記追加処理において、図15のXMLデータの13行目から始まるXMLデータ単位の前に新たな動画ファイルのメタデータを追加する場合には、まず新たな動画ファイルのメタデータを含むMovieエレメントを最上位ノードとするXMLデータを作成し(これが追加ノードとなる)、追加処理の入力パラメーターとして、追加対象のXMLファイルを特定するファイルパス(図15のXMLデータが格納されているXMLファイルのファイルパス)、追加対象のノードを特定するXパス“/SDVideo/Movie[@id=‘001−003’]”、追加対象ノードに対して追加する位置を示すフラグ(直前の兄弟ノードを示すフラグ)、及び追加ノード(新たな動画ファイルのメタデータを含むXMLデータ)を渡す。
<まとめ>
以上の構成により、ビデオカメラのメタデータをXMLによる構造化されたデータとして管理することが可能となる。
Also, for example, when adding new video file metadata before the XML data unit starting from the 13th line of the XML data in FIG. 15 in the addition process, the new video file metadata is first included. XML data having the Movie element as the highest node is created (this is an additional node), and the file path for specifying the XML file to be added as an input parameter for the addition process (XML in which the XML data in FIG. 15 is stored) File path of file), X path “/ SDVideo / Movie [@ id = '001-003']” for specifying the node to be added, a flag indicating the position to be added to the node to be added (the previous sibling node is Flag) and an additional node (XML data including metadata of a new video file) Pass.
<Summary>
With the above configuration, the metadata of the video camera can be managed as structured data by XML.

また、本発明は、上記した実施例の機能をデータ格納装置に実現させるためのプログラムを含むものである。これらのプログラムは、記録媒体から読みとられてデータ格納装置に取り込まれてもよいし、通信ネットワークを介して伝送されてデータ格納装置に取り込まれてもよい。
<インデックスファイルの詳細>
次に、インデックスファイルの図3で説明したデータベース層の構成について、より詳細に説明する。
Further, the present invention includes a program for causing a data storage device to realize the functions of the above-described embodiments. These programs may be read from the recording medium and loaded into the data storage device, or may be transmitted via a communication network and loaded into the data storage device.
<Details of index file>
Next, the configuration of the database layer described in FIG. 3 of the index file will be described in more detail.

図16は、XML文書IDマップ及びXML文書情報マップの構成図である。
XML文書IDマップ1601は、XML文書のファイルパスをキーとし、XML文書IDを値とするマップである。図16の例においては、ファイルパス“file1.xml”に対してID:1、ファイルパス“file2.xml”に対してID:2がそれぞれ割り当てられている。
FIG. 16 is a configuration diagram of an XML document ID map and an XML document information map.
The XML document ID map 1601 is a map having the file path of the XML document as a key and the XML document ID as a value. In the example of FIG. 16, ID: 1 is assigned to the file path “file1.xml”, and ID: 2 is assigned to the file path “file2.xml”.

XML文書情報マップ1602は、XML文書IDをキーとし、ファイルパス、ファイルサイズ、及びファイルの最終更新日時からなるXML文書情報を値とするマップである。図16の例においては、ID:1に対してXMLファイル1603の情報が、またID:1に対してXMLファイル1604の情報がそれぞれ割り当てられている。   The XML document information map 1602 is a map having an XML document ID as a key and XML document information including a file path, a file size, and a file last update date / time as a value. In the example of FIG. 16, information of the XML file 1603 is assigned to ID: 1, and information of the XML file 1604 is assigned to ID: 1.

図17は、インデックス情報マップの構成図である。
インデックス情報マップ1701は、ベースエレメントのXパスをキーとし、インデックス情報を値とするマップである。図17の例においては、インデックス情報マップに2つのレコードがあり、それぞれベースエレメント及び検索ノードの構成1702及び1703で示される構成のインデックス情報を格納している。
FIG. 17 is a configuration diagram of the index information map.
The index information map 1701 is a map having the X path of the base element as a key and index information as a value. In the example of FIG. 17, there are two records in the index information map, and index information having configurations indicated by the configurations 1702 and 1703 of the base element and the search node are stored.

ベースエレメント及び検索ノードの構成1702に示される構成のインデックス情報においては、ルートエレメントがSDVideo、ベースエレメントがMovieであり、ベースエレメントのXパスは“/SDVideo/Movie”となる。検索ノードはMovieエレメントのidアトリビュート、及びEvent、Quality、Dateの各エレメントの子ノードとなるテキストノードであり、それらのベースエレメントMovieからの相対パスがインデックス情報に含まれる。   In the index information of the configuration shown in the configuration 1702 of the base element and search node, the root element is SDVideo, the base element is Movie, and the X path of the base element is “/ SDVideo / Movie”. The search node is an id attribute of the Movie element and a text node that is a child node of each element of Event, Quality, and Date, and a relative path from the base element Movie is included in the index information.

ベースエレメント及び検索ノードの構成1703についても同様である。
図18は、ベースエレメント値マップ(第1のインデックス構成要素)の構成図である。
The same applies to the base element and search node configuration 1703.
FIG. 18 is a configuration diagram of a base element value map (first index component).

ベースエレメント値マップ1801は、ベースエレメントのノードID(基準要素を一意に識別する情報)をキーとし、XML文書ID(その一意に識別された該基準要素を備える構造化データを有する構造化データファイルを特定する情報)、ポジションパス(その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報)、各検索ノードのノード値(該基準要素の下位に位置する各検索要素を特定する情報と、その各検索要素の内容情報)からなるベースエレメント値を値とするマップである。図18は、XMLデータ1802のMovieエレメントをベースエレメントとする例であり、ベースエレメント値マップ1801の各レコードがXMLデータ1802の各ベースエレメントに対応するベースエレメント値を格納する。   The base element value map 1801 uses a base element node ID (information for uniquely identifying a reference element) as a key, and an XML document ID (structured data file having structured data including the uniquely identified reference element) ), A position path (information specifying the position of the reference element in the structured data of the specified structured data file), a node value of each search node (position below the reference element) This is a map whose value is a base element value consisting of information for specifying each search element to be performed and contents information of each search element. FIG. 18 shows an example in which the Movie element of the XML data 1802 is a base element, and each record of the base element value map 1801 stores a base element value corresponding to each base element of the XML data 1802.

図19は、検索インデックスマップ(第2のインデックス構成要素)の構成図である。
検索インデックスマップ1901は、検索ノードのノード値(検索要素の内容情報)をキーとし、そのノード値を持つ検索ノードを子孫に持つベースエレメントのノードID(その内容情報を有する該検索要素を備える基準要素を一意に識別する情報)を値とするマップである。図19は検索要素を特定する情報(Event)により検索ノードがEventとして特定されるEventエレメント(正確にはEventエレメントの子ノードであるテキストノード)についての例であり、1種類のキーに対して1つまたは複数の値が格納されている。値に格納されているベースエレメントのノードIDは、ベースエレメント値マップ1902のキーに格納されているノードIDに対応する。
<本発明の応用例>
次に、実施例の具体的な応用例について説明する。
FIG. 19 is a configuration diagram of a search index map (second index component).
The search index map 1901 uses the node value of the search node (content information of the search element) as a key, and the node ID of the base element having the search node having the node value as a descendant (the reference including the search element having the content information) It is a map whose value is information that uniquely identifies an element. FIG. 19 shows an example of an Event element (a text node that is a child node of the Event element) in which a search node is specified as an Event by information (Event) that specifies a search element. One or more values are stored. The node ID of the base element stored in the value corresponds to the node ID stored in the key of the base element value map 1902.
<Application example of the present invention>
Next, a specific application example of the embodiment will be described.

図20は、一実施例を適用した構造化データ格納装置をビデオカメラに応用する例における、ビデオカメラの液晶モニターに表示されるイベント一覧画面の例である。
本応用例では、利用者が撮影を開始する前にイベント登録のためのメニュー操作を行うと、図20のように予め機器内に記憶されている「子供」「運動会」等のイベントの一覧が表示される。イベント名の代わりに、イベントの種類を示すアイコン等を表示してもよい。
FIG. 20 is an example of an event list screen displayed on the liquid crystal monitor of the video camera in an example in which the structured data storage device to which one embodiment is applied is applied to the video camera.
In this application example, if the user performs a menu operation for event registration before starting shooting, a list of events such as “children” and “athletic meet” stored in the device in advance as shown in FIG. Is displayed. Instead of the event name, an icon indicating the type of event may be displayed.

利用者が任意のイベントを選択すると、選択されたイベントが機器内に記憶される。その後、利用者が撮影を行うと、撮影された動画の属性情報のひとつとして選択されたイベントのIDが本発明の構造化データ格納装置に格納される。   When the user selects an arbitrary event, the selected event is stored in the device. Thereafter, when the user takes a picture, the ID of the event selected as one of the attribute information of the taken moving picture is stored in the structured data storage device of the present invention.

次に、利用者が撮影した動画を視聴するときには、利用者がイベント選択のためのメニュー操作を行うと、図20のように「子供」「運動会」等のイベントの一覧が表示される。   Next, when the user views a video taken by the user, if the user performs a menu operation for event selection, a list of events such as “children” and “athletic meet” is displayed as shown in FIG.

利用者が任意のイベントを選択すると、本発明の構造化データ格納装置において選択されたイベントのIDを持つ動画を検索し、検索結果として取得された動画のサムネイル(代表画像)を図21のように一覧で表示される。利用者が表示された動画サムネイルの一覧から任意の動画を選択すると、選択された動画の再生が開始される。   When the user selects an arbitrary event, the video having the ID of the selected event is searched in the structured data storage device of the present invention, and the thumbnail (representative image) of the video acquired as the search result is as shown in FIG. Are displayed in a list. When the user selects an arbitrary video from the displayed video thumbnail list, playback of the selected video is started.

本発明の構造化データ格納装置の概念を簡略的に示す図である。It is a figure which shows simply the concept of the structured data storage apparatus of this invention. 本発明の構造化データ格納装置の一実施例を示す構成図である。It is a block diagram which shows one Example of the structured data storage apparatus of this invention. 一実施例におけるインデックスファイルの概念的な構成図である。It is a notional block diagram of the index file in one Example. 一実施例におけるポジションパスのフォーマットを関数形式で表記した図である。It is the figure which expressed the format of the position path in one Example with the function form. 一実施例におけるXMLDBプログラムによるXMLファイル解析判断処理の流れを示す図である。It is a figure which shows the flow of the XML file analysis judgment process by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによるXMLファイル解析処理の流れを示す図である。It is a figure which shows the flow of the XML file analysis process by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによるベースエレメント解析処理の流れを示す図である。It is a figure which shows the flow of the base element analysis process by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによる検索処理の流れを示す図である。It is a figure which shows the flow of the search process by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによる削除処理の流れを示す図である。It is a figure which shows the flow of the deletion process by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによる削除用のベースエレメント再解析処理の流れを示す図である。It is a figure which shows the flow of the base element reanalysis process for deletion by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによる更新処理の流れを示す図である。It is a figure which shows the flow of the update process by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによる更新用のベースエレメント再解析処理の流れを示す図である。It is a figure which shows the flow of the base element reanalysis process for the update by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによる追加処理の流れを示す図である。It is a figure which shows the flow of the additional process by the XMLDB program in one Example. 一実施例におけるXMLDBプログラムによる追加ノード解析処理の流れを示す図である。It is a figure which shows the flow of the additional node analysis process by the XMLDB program in one Example. 一実施例におけるXMLデータの具体例である。It is a specific example of XML data in one embodiment. 一実施例におけるXML文書IDマップ及びXML文書情報マップの構成図である。It is a block diagram of the XML document ID map and XML document information map in one Example. 一実施例におけるインデックス情報マップの構成図である。It is a block diagram of the index information map in one Example. 一実施例におけるベースエレメント値マップの構成図である。It is a block diagram of the base element value map in one Example. 一実施例における検索インデックスマップの構成図である。It is a block diagram of the search index map in one Example. 実施例の応用例におけるイベント一覧画面の例である。It is an example of the event list screen in the application example of an Example. 実施例の応用例における動画一覧画面の例である。It is an example of the moving image list screen in the application example of an Example.

符号の説明Explanation of symbols

101 XMLファイル
102 インデックスファイル
103 汎用XML処理手段
104 専用XML処理手段
201 ビデオカメラ
202 ハードディスク
203 動画ファイル
204 XMLファイル
205 インデックスファイル
206 アプリケーションプログラム
207 XMLDBプログラム
208 ユーザーインターフェース
209 USBインターフェース
210 パソコン
211 XMLエディター
1601 XML文書IDマップ
1602 XML文書情報マップ
1603 XMLファイル
1604 XMLファイル
1701 インデックス情報マップ
1702 ベースエレメント及び検索ノードの構成
1703 ベースエレメント及び検索ノードの構成
1801 ベースエレメント値マップ
1802 XMLデータ
1901 検索インデックスマップ
1902 ベースエレメント値マップ
101 XML file 102 Index file 103 General-purpose XML processing means 104 Dedicated XML processing means 201 Video camera 202 Hard disk 203 Movie file 204 XML file 205 Index file 206 Application program 207 XMLDB program 208 User interface 209 USB interface 210 PC 211 XML editor 1601 XML document ID map 1602 XML document information map 1603 XML file 1604 XML file 1701 Index information map 1702 Base element and search node configuration 1703 Base element and search node configuration 1801 Base element value map 1802 XML data 1901 Search in Dexmap 1902 Base element value map

Claims (9)

本装置内の記憶媒体に格納された構造化データファイルの閲覧・更新が外部機器から行える構造化データ格納装置において、
構造化データを有する構造化データファイルを前記記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記記憶媒体に格納する格納手段と、
前記記憶媒体内の構造化データファイルが前記外部装置により更新されたか否かを検出する検出手段と、
前記検出手段が更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記格納手段によって前記記憶媒体におけるインデックスファイルを更新させるインデックス情報生成手段と、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新手段と、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成手段は、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成する手段であり、
前記更新手段は、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納手段により再度格納させると共に、前記インデックス情報生成手段に前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させる手段である、
ことを特徴とする構造化データ格納装置。
In the structured data storage device in which the structured data file stored in the storage medium in the device can be viewed and updated from an external device,
Storage means for storing a structured data file having structured data in the storage medium, and storing an index file having index information as information for searching the structured data in the storage medium;
Detecting means for detecting whether or not the structured data file in the storage medium has been updated by the external device;
When the detecting means detects that there is an update, the updated structured data file is analyzed to generate new index information relating to the structured data of the structured data file, and the new index information is used. Index information generating means for updating an index file in the storage medium by the storage means;
Updating means for updating an element of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation means detects the reference element included in the structured data included in the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data of the structured data file, and Information for identifying the detected search element that is associated with the content information of the detected search element, and identifying the detected search element as the new second index component And the content information of the specified search element and the information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information A means of generating information,
The update means includes an element selection condition for specifying a search element to be searched as an update candidate, content information of the search element to be searched, and a search element to be updated in accordance with update information specified from outside. And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file associated with information that is extracted from an index component and that uniquely identifies the same reference element as the information that uniquely identifies the extracted reference element Information for identifying the reference element and information for identifying the position of the reference element are extracted from the first index component, information for identifying the extracted structured data file, and information for identifying the position of the reference element; The reference element is read from within the structured data file identified based on the element, and the content of the element that satisfies the element selection condition existing below the read reference element is replaced with the updated content, The storage unit stores the structured data file again, and causes the index information generation unit to analyze the updated structured data file of the element to update the index information.
A structured data storage device characterized by that.
構造化データを有する構造化データファイルを、本装置に着脱自在の第1の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを、本装置内に固定された第2の記憶媒体に格納する格納手段と、
前記第1の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出手段と、
前記検出手段が更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記格納手段によって前記第2の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成手段と、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新手段と、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成手段は、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成する手段であり、
前記更新手段は、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納手段により再度格納させると共に、前記インデックス情報生成手段に前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させる手段である、
ことを特徴とする構造化データ格納装置。
A structured data file having structured data is stored in a first storage medium detachably attached to the apparatus, and an index file having index information which is information for searching the structured data is stored in the apparatus. Storage means for storing in a second storage medium fixed to
Detecting means for detecting whether or not the structured data file in the first storage medium has been updated by an external device;
When the detecting means detects that there is an update, the updated structured data file is analyzed to generate new index information relating to the structured data of the structured data file, and the new index information is used. Index information generating means for updating an index file in the second storage medium by the storage means;
Updating means for updating an element of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation means detects the reference element included in the structured data included in the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data of the structured data file, and Information for identifying the detected search element that is associated with the content information of the detected search element, and identifying the detected search element as the new second index component And the content information of the specified search element and the information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information A means of generating information,
The update means includes an element selection condition for specifying a search element to be searched as an update candidate, content information of the search element to be searched, and a search element to be updated in accordance with update information specified from outside. And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file associated with information that is extracted from an index component and that uniquely identifies the same reference element as the information that uniquely identifies the extracted reference element Information for identifying the reference element and information for identifying the position of the reference element are extracted from the first index component, information for identifying the extracted structured data file, and information for identifying the position of the reference element; The reference element is read from within the structured data file identified based on the element, and the content of the element that satisfies the element selection condition existing below the read reference element is replaced with the updated content, The storage unit stores the structured data file again, and causes the index information generation unit to analyze the updated structured data file of the element to update the index information.
A structured data storage device characterized by that.
構造化データを有する構造化データファイルを本装置に着脱自在の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記記憶媒体に格納する格納手段と、
前記記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出手段と、
前記検出手段が更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記格納手段によって前記記憶媒体におけるインデックスファイルを更新させるインデックス情報生成手段と、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新手段と、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成手段は、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成する手段であり、
前記更新手段は、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納手段により再度格納させると共に、前記インデックス情報生成手段に前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させる手段である、
ことを特徴とする構造化データ格納装置。
Storage means for storing a structured data file having structured data in a storage medium detachably attached to the apparatus, and storing an index file having index information as information for searching the structured data in the storage medium When,
Detecting means for detecting whether the structured data file in the storage medium has been updated by an external device;
When the detecting means detects that there is an update, the updated structured data file is analyzed to generate new index information relating to the structured data of the structured data file, and the new index information is used. Index information generating means for updating an index file in the storage medium by the storage means;
Updating means for updating an element of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation means detects the reference element included in the structured data included in the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data of the structured data file, and Information for identifying the detected search element that is associated with the content information of the detected search element, and identifying the detected search element as the new second index component And the content information of the specified search element and the information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information A means of generating information,
The update means includes an element selection condition for specifying a search element to be searched as an update candidate, content information of the search element to be searched, and a search element to be updated in accordance with update information specified from outside. And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file associated with information that is extracted from an index component and that uniquely identifies the same reference element as the information that uniquely identifies the extracted reference element Information for identifying the reference element and information for identifying the position of the reference element are extracted from the first index component, information for identifying the extracted structured data file, and information for identifying the position of the reference element; The reference element is read from within the structured data file identified based on the element, and the content of the element that satisfies the element selection condition existing below the read reference element is replaced with the updated content, The storage unit stores the structured data file again, and causes the index information generation unit to analyze the updated structured data file of the element to update the index information.
A structured data storage device characterized by that.
内蔵する記憶媒体に格納された構造化データファイルの閲覧・更新が外部機器から行える構造化データ格納装置における構造化データ格納プログラムであって、
構造化データを有する構造化データファイルを前記記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記記憶媒体に格納する格納ステップと、
前記記憶媒体内の構造化データファイルが前記外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を構造化データ格納装置に実行させる構造化データ格納プログラムであり、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納プログラム。
A structured data storage program in a structured data storage device capable of browsing / updating a structured data file stored in a built-in storage medium from an external device,
Storing a structured data file having structured data in the storage medium, and storing an index file having index information, which is information for searching the structured data, in the storage medium;
Detecting to detect whether the structured data file in the storage medium has been updated by the external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generating step for updating an index file in the storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
Is a structured data storage program that causes a structured data storage device to execute
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage program characterized by the above.
記憶媒体に構造化データファイルの格納を行う構造化データ格納装置における構造化データ格納プログラムであって、
構造化データを有する構造化データファイルを、構造化データ格納装置に着脱自在の第1の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを、前記構造化データ格納装置に固定された第2の記憶媒体に格納する格納ステップと、
前記第1の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記第2の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を構造化データ格納装置に実行させる構造化データ格納プログラムであり、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納プログラム。
A structured data storage program in a structured data storage device for storing a structured data file in a storage medium,
A structured data file having structured data is stored in a first storage medium detachably attached to the structured data storage device, and an index file having index information which is information for searching for the structured data, Storing in a second storage medium fixed to the structured data storage device;
A detecting step for detecting whether or not the structured data file in the first storage medium has been updated by an external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generation step of updating an index file in the second storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
Is a structured data storage program that causes a structured data storage device to execute
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage program characterized by the above.
記憶媒体に構造化データファイルの格納を行う構造化データ格納装置における構造化データ格納プログラムであって、
構造化データを有する構造化データファイルを構造化データ格納装置に着脱自在の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記着脱自在の記憶媒体に格納する格納ステップと、
前記着脱自在の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記着脱自在の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を構造化データ格納装置に実行させる構造化データ格納プログラムであり、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納プログラム。
A structured data storage program in a structured data storage device for storing a structured data file in a storage medium,
A structured data file having structured data is stored in a removable storage medium in the structured data storage device, and an index file having index information as information for searching the structured data is stored in the removable storage. A storing step for storing in a medium;
A detecting step for detecting whether or not the structured data file in the removable storage medium has been updated by an external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generation step of updating an index file in the removable storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
Is a structured data storage program that causes a structured data storage device to execute
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage program characterized by the above.
内蔵する記憶媒体に格納された構造化データファイルの閲覧・更新が外部機器から行える構造化データ格納装置における構造化データ格納方法であって、
構造化データを有する構造化データファイルを前記記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記記憶媒体に格納する格納ステップと、
前記記憶媒体内の構造化データファイルが前記外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納方法。
A structured data storage method in a structured data storage device capable of browsing / updating a structured data file stored in a built-in storage medium from an external device,
Storing a structured data file having structured data in the storage medium, and storing an index file having index information, which is information for searching the structured data, in the storage medium;
Detecting to detect whether the structured data file in the storage medium has been updated by the external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generating step for updating an index file in the storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage method characterized by the above.
記憶媒体に構造化データファイルの格納を行う構造化データ格納装置における構造化データ格納方法であって、
構造化データを有する構造化データファイルを、構造化データ格納装置に着脱自在の第1の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを、前記構造化データ格納装置に固定された第2の記憶媒体に格納する格納ステップと、
前記第1の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記第2の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納方法。
A structured data storage method in a structured data storage device for storing a structured data file in a storage medium,
A structured data file having structured data is stored in a first storage medium detachably attached to the structured data storage device, and an index file having index information which is information for searching for the structured data, Storing in a second storage medium fixed to the structured data storage device;
A detecting step for detecting whether or not the structured data file in the first storage medium has been updated by an external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generation step of updating an index file in the second storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information specifying the position of the reference element in the structured data included in the structured data file, and the subordinates of the reference element Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file is extracted from an index component and is associated with information that uniquely identifies the same reference element as the information that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage method characterized by that.
記憶媒体に構造化データファイルの格納を行う構造化データ格納装置における構造化データ格納方法であって、
構造化データを有する構造化データファイルを構造化データ格納装置に着脱自在の記憶媒体に格納すると共に、前記構造化データの検索のための情報であるインデックス情報を有するインデックスファイルを前記着脱自在の記憶媒体に格納する格納ステップと、
前記着脱自在の記憶媒体内の構造化データファイルが外部装置により更新されたか否かを検出する検出ステップと、
前記検出ステップが更新有りと検出した場合に、更新された構造化データファイルを解析してその構造化データファイルの有する構造化データに関する新たなインデックス情報を生成し、その新たなインデックス情報を用いて前記着脱自在の記憶媒体におけるインデックスファイルを更新させるインデックス情報生成ステップと、
外部から指定される更新情報に応じて、前記構造化データの要素の更新を行う更新ステップと、
を備え、
前記構造化データは階層構造の要素を備えた同一構成のデータ単位を複数有するものであり、各前記データ単位は各データ単位の最上位に位置する要素である基準要素と、その基準要素の下位に位置し検索対象となる要素である検索要素とを備えてなる構造化データであり、
前記インデックス情報は第1のインデックス構成要素と第2のインデックス構成要素とを備え、
前記第1のインデックス構成要素は、前記基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する各前記検索要素を特定する情報と、その各検索要素の内容情報とを関連付けて有する情報であり、
前記第2のインデックス構成要素は、前記検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記基準要素を特定するための前記基準要素を一意に識別する情報とを関連付けて有する情報であり、
前記インデックス情報生成ステップは、前記更新された構造化データファイルの解析を、前記更新された構造化データファイルの有する構造化データに含まれる基準要素を検出し、その検出した前記基準要素以下に存在する検索要素を検出して行い、新たな第1のインデックス構成要素と新たな第2のインデックス構成要素とを備えた前記新たなインデックス情報を生成するものであり、前記新たな第1のインデックス構成要素として、前記検出した基準要素を一意に識別する情報と、その一意に識別された該基準要素を備える前記構造化データを有する前記更新された構造化データファイルを特定する情報と、その特定された該構造化データファイルの有する該構造化データにおける該基準要素の位置を特定する情報と、該基準要素の下位に位置する前記検出した検索要素を特定する情報と、前記検出した検索要素の内容情報とを関連付けて有する情報を生成し、前記新たな第2のインデックス構成要素として、前記検出した検索要素を特定する情報と、その特定された該検索要素の内容情報と、その内容情報を有する該検索要素を備える前記検出した基準要素を特定するための前記検出した基準要素を一意に識別する情報とを関連付けて有する情報を生成するステップであり、
前記更新ステップは、前記外部から指定される更新情報に応じて、更新候補として検索対象となる検索要素、該検索対象となる検索要素の内容情報、更新対象となる検索要素を指定する要素選択条件、及び更新内容を指定し、指定された前記検索対象となる検索要素を特定する情報と指定された前記内容情報に適合する検索要素の内容情報との組を前記第2のインデックス構成要素から抽出して、抽出された前記検索要素を特定する情報とその検索要素の内容情報との組に関連付けられている前記基準要素を特定するための前記基準要素を一意に識別する情報を前記第2のインデックス構成要素から抽出し、その抽出された前記基準要素を一意に識別する情報と同一の基準要素を一意に識別する情報と関連付けられている前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とを前記第1のインデックス構成要素から抽出し、抽出された前記構造化データファイルを特定する情報と前記基準要素の位置を特定する情報とに基づき特定される該構造化データファイル内から該基準要素を読み込み、読み込んだ該基準要素以下に存在する前記要素選択条件に適合する要素の内容を前記更新内容により置換して、要素更新後の構造化データファイルを前記格納ステップにより再度格納させると共に、前記インデックス情報生成ステップに前記要素の更新された構造化データファイルを解析させて前記インデックス情報を更新させるステップである、
ことを特徴とする構造化データ格納方法。
A structured data storage method in a structured data storage device for storing a structured data file in a storage medium,
A structured data file having structured data is stored in a removable storage medium in the structured data storage device, and an index file having index information as information for searching the structured data is stored in the removable storage. A storing step for storing in a medium;
A detecting step for detecting whether or not the structured data file in the removable storage medium has been updated by an external device;
When the detection step detects that there is an update, the updated structured data file is analyzed to generate new index information related to the structured data included in the structured data file, and the new index information is used. An index information generation step of updating an index file in the removable storage medium;
An update step for updating the elements of the structured data in accordance with update information designated from the outside;
With
The structured data includes a plurality of data units having the same configuration including hierarchical elements, and each data unit is a reference element that is an element positioned at the top of each data unit, and subordinates of the reference element. And structured data comprising search elements that are elements to be searched and located at
The index information comprises a first index component and a second index component;
The first index component includes information for uniquely identifying the reference element, information for identifying the structured data file having the structured data including the uniquely identified reference element, and identification thereof Information for specifying the position of the reference element in the structured data included in the structured data file, information for specifying each search element positioned below the reference element, and contents information of each search element Information associated with
The second index component includes information for specifying the search element, content information of the specified search element, and the reference for specifying the reference element including the search element having the content information Information associated with information that uniquely identifies an element,
The index information generation step detects the reference element included in the structured data of the updated structured data file, analyzes the updated structured data file, and exists below the detected reference element The new index information is generated by detecting a search element to be generated, and generating the new index information including a new first index component and a new second index component, and the new first index component Information that uniquely identifies the detected reference element as elements, information that identifies the updated structured data file having the structured data that includes the uniquely identified reference element, and Information for specifying the position of the reference element in the structured data included in the structured data file; Generate information that associates the information that identifies the detected search element that is located with the content information of the detected search element, and specifies the detected search element as the new second index component Information, content information of the specified search element, and information for uniquely identifying the detected reference element for specifying the detected reference element including the search element having the content information Generating information having,
The updating step includes a search element to be searched as an update candidate according to update information specified from the outside, content information of the search element to be searched, element selection condition for specifying a search element to be updated And the update contents are specified, and a set of information specifying the specified search element to be searched and content information of search elements matching the specified content information is extracted from the second index component Information for uniquely identifying the reference element for specifying the reference element associated with the set of the information for specifying the extracted search element and the content information of the search element. The structured data file that is extracted from an index component and associated with information that uniquely identifies the same reference element that uniquely identifies the extracted reference element. Information for identifying a file and information for identifying the position of the reference element are extracted from the first index component, and information for identifying the extracted structured data file and information for identifying the position of the reference element After reading the reference element from the structured data file specified based on the above, and replacing the element contents that match the element selection condition existing below the read reference element with the update contents The structured data file is stored again by the storing step, and the index information generating step is configured to analyze the structured data file updated of the element and update the index information.
A structured data storage method characterized by the above.
JP2006323133A 2006-01-31 2006-11-30 Structured data storage device, structured data storage program, and structured data storage method Pending JP2007265387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006323133A JP2007265387A (en) 2006-01-31 2006-11-30 Structured data storage device, structured data storage program, and structured data storage method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006023129 2006-01-31
JP2006052135 2006-02-28
JP2006323133A JP2007265387A (en) 2006-01-31 2006-11-30 Structured data storage device, structured data storage program, and structured data storage method

Publications (1)

Publication Number Publication Date
JP2007265387A true JP2007265387A (en) 2007-10-11

Family

ID=38638266

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006323133A Pending JP2007265387A (en) 2006-01-31 2006-11-30 Structured data storage device, structured data storage program, and structured data storage method

Country Status (1)

Country Link
JP (1) JP2007265387A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007265386A (en) * 2006-01-31 2007-10-11 Victor Co Of Japan Ltd Structured data storage device, structured data storing program, and structured data storage method
JP2007265385A (en) * 2006-01-31 2007-10-11 Victor Co Of Japan Ltd Structured data storage device, structured data storage program, and structured data storage method
CN110929308A (en) * 2018-09-18 2020-03-27 中国南方电网有限责任公司 Reading and storing algorithm of DXT file based on PSD-BPA application software

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09204442A (en) * 1996-01-24 1997-08-05 Dainippon Screen Mfg Co Ltd Document data retrieval system
JP2000148796A (en) * 1998-09-03 2000-05-30 Jisedai Joho Hoso System Kenkyusho:Kk Video retrieving method using video index information, sound retrieving method using sound index information, and video retrieval system
JP2001195406A (en) * 2000-01-06 2001-07-19 Media Fusion Co Ltd Database management system
JP2001325293A (en) * 2000-05-15 2001-11-22 Nippon Telegr & Teleph Corp <Ntt> Method and device for retrieving whole sentences and storage medium with stored whole-sentence retrieval program
JP2002132551A (en) * 2000-10-18 2002-05-10 Nec Corp Database system
JP2002318720A (en) * 2001-04-19 2002-10-31 Oki Electric Ind Co Ltd Contents delivery management system
JP2003323427A (en) * 2002-05-02 2003-11-14 Nippon Telegr & Teleph Corp <Ntt> Xml information retrieving device and method, program for executing method, and recording medium for recording program for executing method
JP2004228780A (en) * 2003-01-21 2004-08-12 Canon Inc Information processor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09204442A (en) * 1996-01-24 1997-08-05 Dainippon Screen Mfg Co Ltd Document data retrieval system
JP2000148796A (en) * 1998-09-03 2000-05-30 Jisedai Joho Hoso System Kenkyusho:Kk Video retrieving method using video index information, sound retrieving method using sound index information, and video retrieval system
JP2001195406A (en) * 2000-01-06 2001-07-19 Media Fusion Co Ltd Database management system
JP2001325293A (en) * 2000-05-15 2001-11-22 Nippon Telegr & Teleph Corp <Ntt> Method and device for retrieving whole sentences and storage medium with stored whole-sentence retrieval program
JP2002132551A (en) * 2000-10-18 2002-05-10 Nec Corp Database system
JP2002318720A (en) * 2001-04-19 2002-10-31 Oki Electric Ind Co Ltd Contents delivery management system
JP2003323427A (en) * 2002-05-02 2003-11-14 Nippon Telegr & Teleph Corp <Ntt> Xml information retrieving device and method, program for executing method, and recording medium for recording program for executing method
JP2004228780A (en) * 2003-01-21 2004-08-12 Canon Inc Information processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007265386A (en) * 2006-01-31 2007-10-11 Victor Co Of Japan Ltd Structured data storage device, structured data storing program, and structured data storage method
JP2007265385A (en) * 2006-01-31 2007-10-11 Victor Co Of Japan Ltd Structured data storage device, structured data storage program, and structured data storage method
CN110929308A (en) * 2018-09-18 2020-03-27 中国南方电网有限责任公司 Reading and storing algorithm of DXT file based on PSD-BPA application software
CN110929308B (en) * 2018-09-18 2022-12-02 中国南方电网有限责任公司 DXT file reading and storing algorithm based on PSD-BPA application software

Similar Documents

Publication Publication Date Title
JP2007265384A (en) Structured data storage device, structured data storage program, and structured data storage method
US8078627B2 (en) File management apparatus, method for controlling file management apparatus, computer program, and storage medium
JP4072302B2 (en) Data processing method and apparatus, and storage medium
JPWO2006098031A1 (en) Keyword management device
JP2010134920A (en) Image storage apparatus and program
JP5988798B2 (en) Image display apparatus, control method therefor, program, and storage medium
US20080208829A1 (en) Method and apparatus for managing files and information storage medium storing the files
JP2007265383A (en) Structured data storage device, structured data storage program, and structured data storage method
JP2012064297A (en) Content file classification device and content file classification method
JP2002189757A (en) Device and method for data retrieval
US9626445B2 (en) Search results modulator
JP2007265387A (en) Structured data storage device, structured data storage program, and structured data storage method
JP2006050469A (en) Content generating apparatus, content generating method, program and recording medium
Echavarria et al. Semantically rich 3D documentation for the preservation of tangible heritage
JP2007265385A (en) Structured data storage device, structured data storage program, and structured data storage method
JP2007265386A (en) Structured data storage device, structured data storing program, and structured data storage method
JP2005244614A (en) Electronic camera device and recording medium
JP2004062216A (en) Method and device for data filing, storage medium, and program
JP6753190B2 (en) Document retrieval device and program
KR102507487B1 (en) Electronic apparatus which generates the dedicated document file for supporting fast editing of the pages comprising of a document, and the operating method thereof
Decusatis et al. Methodology for an open digital forensics model based on CAINE
JP5617535B2 (en) Information processing apparatus, information processing apparatus processing method, and program.
KR102119602B1 (en) Automatically create method for a child node of a USD formet file in a special effect production software environment and computer readable storage medium of recording the method
Gruenpeter et al. Software Stories for landmark legacy code
JP5169505B2 (en) Document composition system and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110311

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110712