JP2002297601A - Method and device for structured document management, and program - Google Patents

Method and device for structured document management, and program

Info

Publication number
JP2002297601A
JP2002297601A JP2001098179A JP2001098179A JP2002297601A JP 2002297601 A JP2002297601 A JP 2002297601A JP 2001098179 A JP2001098179 A JP 2001098179A JP 2001098179 A JP2001098179 A JP 2001098179A JP 2002297601 A JP2002297601 A JP 2002297601A
Authority
JP
Japan
Prior art keywords
document
structured document
structured
logical
search
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.)
Granted
Application number
JP2001098179A
Other languages
Japanese (ja)
Other versions
JP3842572B2 (en
Inventor
Masakazu Hattori
雅一 服部
Takuya Kanewa
拓也 金輪
Katsuhiko Nonomura
克彦 野々村
Hiroshi Niina
博 新名
Shozo Isobe
庄三 磯部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001098179A priority Critical patent/JP3842572B2/en
Publication of JP2002297601A publication Critical patent/JP2002297601A/en
Application granted granted Critical
Publication of JP3842572B2 publication Critical patent/JP3842572B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method and a device for structured document management which unitedly manage documents based upon various document structure definitions together with structured documents whose document structures are not defined while maintaining the identity of document structures predetermined corresponding to the kinds of the document and also easily perform document retrieval over a wide range unlimited to specific document structures. SOLUTION: A structured document is stored in a logical area of a structured database specified according to the logical structure and the respective constitution elements of the structure document are managed as constitution elements forming the logical structure; and a schemer document as a structured document whose document structure is defined corresponding to the logical area is stored in the logical area specified according to the logical structure to set different document structures on the logical structure and in the logical area where the document structure is set, only a structured document having the document structure matching the document structure corresponding to the area is stored.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、異なる文書構造の
複数の構造化文書を、階層化された論理構造を持つ構造
化文書データベースで管理する構造化文書管理方法およ
び構造化文書管理装置および構造化文書管理システムに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a structured document management method, a structured document management apparatus and a structured document management method for managing a plurality of structured documents having different document structures in a structured document database having a hierarchical logical structure. Related to the chemical document management system.

【0002】[0002]

【従来の技術】現在、IT(情報技術)の進化により、
莫大な量の情報が容易に入手できるようになった。その
一方で必要な情報が大量のデータに埋没してしまい、十
分に活用できないという弊害も発生している。情報が大
量に存在していても、それをうまく活用できなければ意
味がない。
2. Description of the Related Art At present, with the evolution of IT (information technology),
An enormous amount of information has become readily available. On the other hand, there is also a problem that necessary information is buried in a large amount of data and cannot be fully utilized. Even if there is a large amount of information, it is meaningless if it cannot be used effectively.

【0003】そこで、特定の個人や部門が保有するノウ
ハウや業務データのうち企業の経営に重要なものを蓄積
して、「経営資産」として活用しようとする活動、すな
わち、ナレッジマネージメントが提唱されている。
[0003] Therefore, an activity of accumulating know-how and business data possessed by a specific individual or department that is important for the management of a company and utilizing it as "management assets", that is, knowledge management has been proposed. I have.

【0004】例えば、特許明細書や、週報など、文書の
種類によっては、その書式が予め定められて、1つの書
式に統一されているのが一般的である。1つの書式に統
一された文書もあれば、全く書式のない自由書式の文書
も数多く存在する。
For example, depending on the type of a document such as a patent specification or a weekly report, the format is generally predetermined and unified into one format. While some documents are unified in one format, many free-form documents have no format at all.

【0005】従って、ナレッジマネージメントを実現す
るためには、このような文書構造が予め定められている
ような文書も、それ以外の自由書式の文書も全て格納管
理できるデータベースが必要となる。
Therefore, in order to realize knowledge management, a database is required which can store and manage all such documents having a predetermined document structure and other free-form documents.

【0006】次世代のナレッジマネージメントの中核技
術として期待されている技術がXMLである。XML
(Extesible Markup Languag
e)は柔軟な拡張性と連携性を備えた標準のドキュメン
ト記述言語であり、主要ベンダーからのサポートも約束
されている。
[0006] XML is a technology expected as a core technology of next generation knowledge management. XML
(Extensible Markup Language)
e) is a standard document description language with flexible extensibility and coordination, and has been promised support from major vendors.

【0007】構造化文書データベースとしては、RDB
(Relational DataBese)により構
造化文書を格納する方式があるが、この場合、1つのス
キーマ(データ構造定義)に従った文書構造の構造化文
書群しか格納できす、また、文書構造はそのまま表形式
に変換することは困難であり、RDBをそのまま構造化
文書データベースとして用いることはできない。
[0007] As a structured document database, RDB
There is a method of storing a structured document by (Relational DataBese). In this case, only a structured document group having a document structure according to one schema (data structure definition) can be stored. It is difficult to convert to RDB, and the RDB cannot be used as it is as a structured document database.

【0008】また、構造化文書は階層的な構造をもつた
め、構造化文書を構成する書く構成要素をオブジェクト
とみなしたOODB(オブジェクト指向データベース)
と親和性が高いと考えられる。しかし、OODBでは、
文書構造は予めスキーマにより決定されていなければな
らず、子要素の任意繰り返しなど、オブジェクトモデル
でモデル化するのは困難であり、OODBをそのまま構
造化文書データベースとして用いることはできない。
[0008] Further, since a structured document has a hierarchical structure, an OODB (Object-Oriented Database) in which constituent elements to be written constituting the structured document are regarded as objects.
And high affinity. However, in OODB,
The document structure must be determined in advance by a schema, and it is difficult to model with an object model such as arbitrary repetition of child elements, and OODB cannot be used as it is as a structured document database.

【0009】XML文書はツリー構造を持ったデータで
ある。近年、このようなXML文書を蓄積、管理するX
MLデータベースが脚光を浴びている。
An XML document is data having a tree structure. In recent years, X that stores and manages such XML documents
The ML database is in the spotlight.

【0010】XMLデータベースは、管理対象の複数の
構造化文書の各構成要素を1つの巨大な構造化文書の文
書構造を構成する構成要素として管理するXML特化の
ツリー状の階層的なデータ構造を持つ。階層的な構造上
の構成要素は「パス」により特定される。パスは、XM
Lデータベース上の特定のエリアを指し示すための手段
である。
[0010] The XML database is an XML-specific tree-like hierarchical data structure that manages the components of a plurality of structured documents to be managed as components constituting the document structure of one huge structured document. have. A component in the hierarchical structure is specified by a “path”. The path is XM
This is a means for indicating a specific area on the L database.

【0011】XMLデータベースに格納されるXML文
書群はツリー状の1つの巨大なXML文書として構成さ
れる。部分的なXML文書をアクセスするには、XML
文書に対するパスというアクセス手段を用いる。このよ
うな特徴により、幅広くXML文書を検索したり加工す
ることが可能となる。
An XML document group stored in an XML database is configured as one large XML document in a tree shape. To access a partial XML document, use XML
An access means called a path to the document is used. With such features, it is possible to search and process XML documents widely.

【0012】XMLデータベースで格納されるXML文
書の文書構造は、必ずしもスキーマが定義されている必
要はないが、スキーマを定義するとしたら、1つのデー
タベースに1つのスキーマしか許容されていない。すな
わち、スキーマを用いなければ、異なる文書構造の文書
を混在させて格納・管理することができるが、スキーマ
を1つ設定したら、それとは異なる文書構造の文書は混
在させることはできない。
A document structure of an XML document stored in an XML database does not necessarily need to have a schema defined. However, if a schema is defined, only one schema is allowed in one database. That is, if a schema is not used, documents having different document structures can be stored and managed in a mixed manner. However, if one schema is set, documents having a different document structure cannot be mixed.

【0013】XMLデータベースに1つのスキーマを設
定して、この設定されたスキーマに適合する文書のみを
格納・管理する方式を提案しているものに、特開平7−
56786号公報「構造化文書管理装置」がある。
Japanese Patent Application Laid-Open No. 7-210 proposes a method of setting one schema in an XML database and storing and managing only documents conforming to the set schema.
Japanese Patent No. 56786 discloses a “structured document management device”.

【0014】[0014]

【発明が解決しようとする課題】異なる文書構造の膨大
な数の構造化文書をデータベース上で格納・管理するに
は、ある特定の種類の文書に特定の文書構造が予め定め
られている場合、そのような種類の文書は、全て同じ文
書構造に統一されている方が、後に、検索等の操データ
操作の際に都合がよい。
In order to store and manage an enormous number of structured documents having different document structures on a database, when a specific document structure is predetermined for a certain type of document, It is more convenient for all such types of documents to have the same document structure in later operation data operations such as retrieval.

【0015】しかし、従来のXMLデータベースでは、
1つのデータべース上で種類の違いにより異なる文書構
造の文書をそれぞれの種類対応の文書構造で統一性を保
持しながら、格納、管理できるものはなかった。すなわ
ち、1つのスキーマに適合した文書の格納・管理はでき
ても、複数のスキーマを混在させてスキーマ対応してい
ない文書とともに、各スキーマ対応の文書の格納・管理
はできなかった。
However, in the conventional XML database,
There is no document that can store and manage documents having different document structures due to different types on a single database while maintaining uniformity in the document structure corresponding to each type. That is, even if a document conforming to one schema can be stored and managed, a plurality of schemas cannot be mixed and stored together with a document that does not correspond to the schema, and a document corresponding to each schema cannot be stored and managed.

【0016】複数のスキーマのそれぞれに対応する複数
のデータベースを設けることも考えられるが、この場
合、スキーマが異なればアクセスするデータベースも異
なる。そのため、多種多様な文書構造の膨大な数の文書
へのアクセスが統一的でなく、多種多様な膨大な情報の
中から関連する情報群を検索・抽出することが困難であ
った。
It is conceivable to provide a plurality of databases corresponding to each of the plurality of schemas. In this case, however, different databases access different databases. Therefore, access to an enormous number of documents having various document structures is not uniform, and it has been difficult to search and extract a related information group from an enormous variety of information.

【0017】このように、従来は、多種多様な文書構造
定義に従った文書を、その文書の種類対応に予め定めら
れた文書構造の同一性を保持しながら、文書構造の定義
がなされていない構造化文書とともに一元管理すること
ができないがため、多種多様な文書構造の文書に対し、
統一的なアクセスにて、多種多様な膨大な情報の中から
関連する情報群を特定の文書構造に限定されずに検索・
抽出することができなかった。
As described above, conventionally, a document according to a variety of document structure definitions is not defined while maintaining the same document structure predetermined for the type of the document. Because it cannot be centrally managed together with structured documents, documents with various document structures
With unified access, it is possible to search and retrieve related information groups from a huge variety of information without being limited to a specific document structure.
Could not be extracted.

【0018】そこで、本発明は、上記問題点に鑑み、多
種多様な文書構造定義に従った文書を、その文書の種類
対応に予め定められた文書構造の同一性を保持しなが
ら、文書構造の定義がなされていない構造化文書ととも
に一元管理するとともに、特定の文書構造に限定されな
い広域な文書検索が容易に行える構造化文書管理方法お
よびそれを用いた構造化文書管理装置を提供することを
目的とする。
Accordingly, the present invention has been made in view of the above-described problems, and has been developed in accordance with the present invention to convert a document conforming to a variety of document structure definitions into a document structure while maintaining the same document structure predetermined for the type of document. An object of the present invention is to provide a structured document management method and a structured document management apparatus using the same, which can be centrally managed together with undefined structured documents and can easily search a wide area document that is not limited to a specific document structure. And

【0019】[0019]

【課題を解決するための手段】本発明は、異なる文書構
造の複数の構造化文書を、階層化された論理構造を持つ
構造化文書データベースで管理するためのものであっ
て、前記構造化文書は少なくとも1つの構成要素からな
り、前記構造化文書を前記論理構造に従って指定される
前記構造化データベースの論理的なエリアに格納して、
前記構造化文書の各構成要素を前記論理構造を形成する
構成要素として管理し、前記論理構造に従って指定され
る論理的なエリアに、該論理的なエリア対応の文書構造
を定義した前記構造化文書としての文書構造定義情報
(スキーマ)を格納することによって、前記論理構造上
に異なる複数の文書構造を設定し、前記文書構造の設定
された前記論理的なエリアには、該エリア対応の文書構
造と一致する文書構造をもつ構造化文書のみを格納する
ことを特徴とする。
SUMMARY OF THE INVENTION The present invention is intended to manage a plurality of structured documents having different document structures in a structured document database having a hierarchical logical structure. Comprising at least one component, storing the structured document in a logical area of the structured database specified according to the logical structure,
The structured document which manages each component of the structured document as a component forming the logical structure, and defines a document structure corresponding to the logical area in a logical area specified according to the logical structure. A plurality of different document structures are set on the logical structure by storing the document structure definition information (schema) as the document structure. The logical area in which the document structure is set has a document structure corresponding to the area. Characterized in that only structured documents having a document structure that matches are stored.

【0020】本発明によれば、多種多様な文書構造定義
に従った構造化文書(スキーマ文書、クエリ文書、その
他、特許情報、週報、など多種多様な文書構造を持つコ
ンテンツ文書)を、その文書の種類対応に予め定められ
た文書構造の同一性を保持しながら、文書構造の定義が
なされていない構造化文書とともに一元管理するととも
に、特定の文書構造に限定されない広域な文書検索が容
易に行える。
According to the present invention, a structured document (schema document, query document, and other content documents having various document structures such as patent information, weekly report, etc.) according to various document structure definitions is converted into the document. While preserving the identity of the document structure that is predetermined for each type, it can be centrally managed together with structured documents that have no defined document structure, and can easily search a wide area document that is not limited to a specific document structure .

【0021】具体的には、多種多様な文書構造をもつ膨
大な構造化文書を1つの巨大な構造化文書として、一元
管理するとともに、特定の文書構造に限定されない広域
な文書検索が容易に行える構造化文書データベースが容
易に構築できる。
More specifically, an enormous structured document having various document structures is centrally managed as one huge structured document, and a wide area document search that is not limited to a specific document structure can be easily performed. A structured document database can be easily constructed.

【0022】構造化文書データベース上の各構造化文書
の存在する論理的なエリアは、構造化文書パスを用いて
指定する。
The logical area where each structured document exists on the structured document database is specified using a structured document path.

【0023】(取得したスキーマによる文書作成支援)
また、前記論理構造に従って指定された論理的なエリア
から前記文書構造定義情報(スキーマ)を取得し、この
取得した文書構造定義情報に記述された文書構造に基づ
き作成された新たな構造化文書を、前記論理的なエリア
に格納することにより、指定された構造化文書パスの示
す論理的なエリアから取得した文書構造定義情報を用い
て、同一種類の文書に文書構造の同一性を保持するため
の、文書の種類対応に予め定められた文書構造の文書の
作成支援が容易に行える。
(Document creation support using acquired schema)
The document structure definition information (schema) is acquired from a logical area designated according to the logical structure, and a new structured document created based on the document structure described in the acquired document structure definition information is acquired. , By using the document structure definition information acquired from the logical area indicated by the designated structured document path, by storing the document structure in the logical area to maintain the same document structure in the same type of document. In this case, it is possible to easily support creation of a document having a document structure predetermined in correspondence with the type of document.

【0024】(スキーマの検索)また、前記構造化文書
を構成する構成要素のうちユーザにより指定された特定
の構成要素を文書構造中に定義している前記文書構造定
義情報の検索要求に基づき、前記構造化文書データベー
スに対し検索を行い、検索結果として得られた文書構造
定義情報(スキーマ)を参照することにより、例えば、
ユーザがこれから格納しようとしている文書の文書構造
に類似する文書構造が、構造化文書データベースに格納
されているか文書の中に存在するかどうか、存在すると
したら、どいのような文書構造であるかを確認できると
ともに、ユーザがこれから格納しようとしている文書
は、構造化文書データベース上ではどのような文書構造
で格納すべきかを確認することができる。また、検索結
果として得られた文書構造定義情報を必要に応じて変更
することもできる。
(Schema Search) Further, based on a search request for the document structure definition information defining a specific component specified by a user in a document structure among the components constituting the structured document, By performing a search on the structured document database and referring to document structure definition information (schema) obtained as a search result, for example,
Determine whether a document structure similar to the document structure of the document that the user is about to store is stored in the structured document database or exists in the document, and if so, what kind of document structure is present. In addition to the confirmation, it is possible to confirm the document structure to be stored in the structured document database of the document that the user intends to store. Further, the document structure definition information obtained as a search result can be changed as needed.

【0025】(文書検索)また、前記構造化文書を構成
する構成要素のうちユーザにより指定された特定の構成
要素を含む構造化文書の検索要求、あるいは、前記特定
の構成要素の値にユーザにより指定された特定の文字列
が含まれる構造化文書(スキーマ、クエリを含むあらゆ
る種類の構造化文書)の検索要求(クエリ)に基づき、
前記構造化文書データベースに対し検索を行うことによ
り、多種多様な文書構造定義に従った膨大な数の構造化
文書にまたがった広域な検索が、その構造化文書の文書
構造に依存しない、構造化文書データベースの論理構造
を形成する各構成要素に基づく検索という、特定の文書
構造に限定されない1つの統一的な検索条件の指定に
て、容易にしかも高速に行える。
(Document Retrieval) In addition, a search request for a structured document including a specific component specified by the user among the components constituting the structured document, or a value of the specific component by the user. Based on a search request (query) for structured documents (all types of structured documents, including schemas and queries) that contain the specified specified string,
By performing a search on the structured document database, an extensive search over a large number of structured documents according to a variety of document structure definitions can be performed independently of the document structure of the structured document. By specifying one unified search condition, which is not limited to a specific document structure, that is, a search based on each component forming the logical structure of the document database, the search can be performed easily and at high speed.

【0026】(スキーマを検索して、文書作成支援)ま
た、前記構造化文書を構成する構成要素のうちユーザに
より指定された特定の構成要素を文書構造中に定義して
いる前記文書構造定義情報の検索要求に基づき、前記構
造化文書データベースに対し検索を行い、得られた文書
構造定義情報に記述された文書構造に基づき作成された
新たな構造化文書を、前記論理的なエリアに格納するこ
とにより、検索により得られた文書構造定義情報を用い
て、同一種類の文書に文書構造の同一性を保持するため
の、文書の種類対応に予め定められた文書構造の文書の
作成支援が容易に行える。
(Schema search for document creation support) Also, the document structure definition information which defines, in the document structure, a specific component designated by the user among the components constituting the structured document. Based on the search request, and searches the structured document database, and stores a new structured document created based on the document structure described in the obtained document structure definition information in the logical area. This makes it easy to support the creation of a document having a predetermined document structure corresponding to the document type so as to maintain the same document structure for the same type of document using the document structure definition information obtained by the search. Can be done.

【0027】(検索結果)なお、前記構造化文書の格納
されている論理的なエリアを示す情報の一覧を検索結果
として求めることもできる。
(Search Result) A list of information indicating a logical area where the structured document is stored can be obtained as a search result.

【0028】(検索範囲の指定)また、前記検索要求に
て、検索範囲として前記論理構造上の論理的なエリアが
指定されているとき、この指定された論理的なエリアの
中から検索を行うことにより、構造化文書データベース
に格納されている多種多様な文書構造の膨大な数の構造
化文書の中から、検索範囲を予め限定して検索を行うこ
ともでき、検索処理の高速化が図れる。
(Specification of Search Range) When a logical area on the logical structure is specified as a search range in the search request, a search is performed from the specified logical area. As a result, it is possible to perform a search with a limited search range in advance from an enormous number of structured documents of various document structures stored in the structured document database, and to speed up the search process. .

【0029】(構造化文書のクエリ)また、前記検索要
求は、予め定義された文書構造に従って記述された構造
化文書であって、前記検索要求を受け付けたとき、この
検索要求の記述された構造化文書としての検索要求文を
前記論理構造上の予め定められた論理的なエリアに格納
することにより、検索要求の記述された構造化文書も構
造化文書データベースに格納して、他の構造化文書と同
様、検索対象とすることができる。
(Query for Structured Document) The search request is a structured document described in accordance with a predefined document structure. When the search request is received, the structure in which the search request is described is described. By storing a search request sentence as a structured document in a predetermined logical area on the logical structure, a structured document describing the search request is also stored in the structured document database, and other structured documents are stored. Like documents, they can be searched.

【0030】(クエリの再利用)また、前記検索要求
は、予め定義された文書構造に従って記述された構造化
文書であって、前記検索要求を受け付けたとき、この検
索要求の記述された構造化文書としての検索要求文を前
記論理構造上の予め定められた論理的なエリアに格納
し、前記予め定められた論理的なエリアを検索範囲とし
た前記検索要求文の検索要求に基づき前記構造化文書デ
ータベースに対し検索を行い、得られた検索要求文に基
づき作成された新たな検索要求文による検索要求を受け
て前記構造化文書データベースに対し検索を行うことに
より、検索要求の記述された構造化文書も構造化文書デ
ータベースに格納して、他の構造化文書と同様、検索対
象とし、検索の結果、得られた検索要求の構造化文書中
の検索条件の記述部分を変更して新たな検索要求を行う
といった検索要求の再利用と、検索条件の入力支援が可
能となる。
(Reuse of Query) The search request is a structured document described in accordance with a predefined document structure. When the search request is received, the structured request in which the search request is described is described. A search request sentence as a document is stored in a predetermined logical area on the logical structure, and the structuring is performed based on a search request for the search request sentence with the predetermined logical area as a search range. By performing a search on the document database, receiving a search request based on a new search request sentence created based on the obtained search request sentence, and performing a search on the structured document database, the structure in which the search request is described The structured document is also stored in the structured document database, and is searched as well as other structured documents. As a result of the search, the description part of the search condition in the structured document of the obtained search request is obtained. And re-use of the search, such as performing a new search request request to change, it is possible to input support of search criteria.

【0031】[0031]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0032】構造化文書として、XMLやSGMLなど
で記述した文書が挙げられる。SGML(Standa
rd Generalized Markup Lan
guage)とは、ISO(国際標準化機構)で定めら
れた規格である。XML(eXtensible Ma
rkup Language)とは、W3C(Worl
d Wide Web Consortium)にて定
められた規格である。それぞれ文書を構造化することを
可能とする構造化文書規約である。
As a structured document, a document described in XML, SGML, or the like can be given. SGML (Standard
rd Generalized Markup Lan
“gage” is a standard defined by ISO (International Organization for Standardization). XML (extensible Ma)
rkup Language) is W3C (World)
d Wide Web Consortium). These are structured document rules that enable each document to be structured.

【0033】以下、構造化文書として、XMLにて記述
された文書を例に説明を進める。構造化文書の文書構造
を定義したデータ(文書構造定義データ)をスキーマと
呼ぶ。XMLではそのスキーマを定義するためにXML
−SchemaやXDR(XML Data Redu
ced)などのスキーマ言語が提案されている。ここで
は、例えば、XDRでのスキーマを記述する場合を例に
とり説明する。
Hereinafter, a description will be given by taking a document described in XML as an example of a structured document. Data defining the document structure of the structured document (document structure definition data) is called a schema. XML uses XML to define its schema.
-Schema and XDR (XML Data Redu
ced) and other schema languages have been proposed. Here, for example, a case of describing a schema in XDR will be described as an example.

【0034】スキーマも、本発明の構造化文書管理シス
テムの管理対象の構造化文書であり、従って、スキーマ
文書と呼ぶことがある。スキーマ文書と区別するため
に、特許明細書やメール、週報、広告などの種々雑多な
内容を有す文書をコンテンツ文書と呼ぶこともある。
The schema is also a structured document to be managed by the structured document management system of the present invention, and may be called a schema document. In order to distinguish it from a schema document, a document having various contents such as a patent specification, an e-mail, a weekly report, and an advertisement may be referred to as a content document.

【0035】本発明の構造化文書管理システムでは、上
記スキーマ文書、上記コンテンツ文書、さらに、後述す
るようなユーザからの検索要求内容を記述したクエリ、
すなわち、クエリ文書も管理対象とし、これらを総称し
て「文書」と呼ぶ。
In the structured document management system according to the present invention, the schema document, the content document, and a query describing the contents of a search request from a user, as described later,
That is, query documents are also managed, and these are collectively referred to as “documents”.

【0036】以下、特にことわりがない場合、「文書」
と呼ぶときは、コンテンツ文書、スキーマ文書、クエリ
文書を全て指すものとする。
Hereinafter, unless otherwise specified, "document"
Is used to refer to all of the content document, schema document, and query document.

【0037】まず、実施形態の説明を前に、XMLにつ
いて簡単に説明する。
First, XML will be briefly described before describing the embodiment.

【0038】図3は、XMLで記述された構造化文書の
一例として、「特許」情報の例を示したものである。X
MLやSGMLは、文書の構造の表現にタグが用いられ
る。タグには、開始タグと終了タグがあり、文書構造情
報の構成要素を開始タグと終了タグで囲むことにより、
文書中の文字列(テキスト)区切りと、そのテキストが
構造上どの構成要素に属するのかを明確に記述すること
ができる。
FIG. 3 shows an example of "patent" information as an example of a structured document described in XML. X
In ML and SGML, tags are used to represent the structure of a document. The tag has a start tag and an end tag. By surrounding the components of the document structure information with the start tag and the end tag,
It is possible to clearly describe a character string (text) delimiter in a document and to which structural element the text belongs.

【0039】ここで開始タグとは要素名称を記号
「<」、「>」で閉じたものであり、終了タグとは要素
名称を記号「</」と「>」で閉じたものである。タグ
に続く構成要素の内容が、テキスト(文字列)または子
供の構成要素の繰り返しである。また開始タグには「<
要素名称 属性=“属性値”>」などのように属性情報
を設定することができる。「<特許DB></特許DB
>」のようにテキストを含まない構成要素は、簡易記法
として「<特許DB/>」のように表わすこともでき
る。
Here, the start tag means that the element name is closed by symbols "<" and ">", and the end tag means that the element name is closed by symbols "<//" and ">". The content of the component following the tag is a text (character string) or a repetition of the child component. In addition, the start tag is "<
Attribute information can be set such as “element name attribute =“ attribute value ”>”. "<Patent DB></ Patent DB
A component that does not include text, such as ">", can also be represented as "<Patent DB />" as a simple notation.

【0040】図3に示した文書は、「特許」タグから始
まる要素をルート(根)とし、その子要素として「タイト
ル」、「出願日」、「出願者」、「要約」タグから始ま
る要素集合が存在する。また、例えば、「タイトル」タ
グから始まる要素には「XMLデータベース」といっ
た、1つのテキスト(文字列)が存在する。
The document shown in FIG. 3 has an element beginning with a “patent” tag as a root, and an element set starting with “title”, “filing date”, “applicant”, and “abstract” tags as its child elements. Exists. Also, for example, one text (character string) such as “XML database” exists in an element starting with a “title” tag.

【0041】XMLなどの構造化文書は、任意の構成要
素を繰り返し含んでいたり、さらには文書構造があらか
じめ決まっていない(RDB(リレーショナルデータベ
ース)やOODB(オブジェクト指向データベース)の
スキーマでは定義できない)のが普通である。
A structured document such as XML repeatedly includes arbitrary constituent elements, and further has a document structure that is not predetermined (cannot be defined by a schema of RDB (relational database) or OODB (object-oriented database)). Is common.

【0042】図3に示したような構造化文書を論理的に
表現するために、図4に示すようなツリー表現が用いら
れる。ツリーは、ノード(番号が付され、円形で示され
たもの)とアーク(ノードを表す円形間をつなぐデータ
付き線)と四角形で囲まれたテキストから構成されてい
る。
In order to logically represent a structured document as shown in FIG. 3, a tree representation as shown in FIG. 4 is used. The tree is composed of nodes (numbered and indicated by a circle), arcs (data-attached lines connecting the circles representing the nodes), and text surrounded by rectangles.

【0043】ノードは文書オブジェクトに対応し、ノー
ドからタグ名や属性名に相当するラベルが付与された複
数のアークが出てきている。そのアークの先は、ノード
または要素値としての文字列(テキスト)である。ノー
ドの中に記載されている英数字(#0、#49)などは
オブジェクトIDである。
A node corresponds to a document object, and a plurality of arcs from the node to which labels corresponding to tag names and attribute names are given. The tip of the arc is a character string (text) as a node or element value. Alphanumeric characters (# 0, # 49) described in the nodes are object IDs.

【0044】図4に示したツリー構造を図3に示した構
造化文書の文書オブジェクトツリーと呼ぶ。
The tree structure shown in FIG. 4 is called a document object tree of the structured document shown in FIG.

【0045】図1は、本実施形態に係る構造化文書管理
システムの構成例を示したものである。図1において、
構造化文書管理システムは、大きく分けて、要求制御部
1、アクセス要求処理部2、検索要求処理部3、データ
アクセス部4、文書記憶部5、インデックス記憶部6か
ら構成されている。文書記憶部5、インデックス記憶部
6は例えば、外部記憶装置を用いて構成される。
FIG. 1 shows an example of the configuration of a structured document management system according to this embodiment. In FIG.
The structured document management system is roughly composed of a request control unit 1, an access request processing unit 2, a search request processing unit 3, a data access unit 4, a document storage unit 5, and an index storage unit 6. The document storage unit 5 and the index storage unit 6 are configured using, for example, an external storage device.

【0046】図1のシステム構成は、ソフトウエアを用
いて実現可能である。
The system configuration shown in FIG. 1 can be realized using software.

【0047】要求制御部1は、要求受付部11と結果処
理部12から構成されている。要求受付部11は、ユー
ザからの文書格納や文書取得、文書検索などの要求を受
け付けて、アクセス要求処理部2を呼び出す。結果処理
部12は、アクセス要求処理部2が処理した結果を要求
元のユーザに返す処理を行う。
The request control section 1 comprises a request receiving section 11 and a result processing section 12. The request receiving unit 11 receives a request from a user for storing a document, acquiring a document, searching for a document, and the like, and calls the access request processing unit 2. The result processing unit 12 performs a process of returning a result processed by the access request processing unit 2 to the requesting user.

【0048】アクセス要求処理部2は、ユーザからの文
書格納や文書取得などの要求に対応した複数の処理部か
ら構成されている。つまり、文書格納部21、文書取得
部22、文書削除部23から構成されている。
The access request processing unit 2 is composed of a plurality of processing units that respond to requests from the user for storing and obtaining documents. That is, it is configured by a document storage unit 21, a document acquisition unit 22, and a document deletion unit 23.

【0049】文書格納部21は、文書記憶部5中の論理
的な指定エリアに文書を格納する処理を行う。
The document storage section 21 performs processing for storing a document in a logically designated area in the document storage section 5.

【0050】文書取得部22は、文書記憶部5中の論理
的なエリアが指定されたときに、その指定エリアに存在
する文書を取得する処理を行う。
When a logical area in the document storage unit 5 is specified, the document obtaining unit 22 performs a process of obtaining a document existing in the specified area.

【0051】文書削除部23は、文書記憶部5中の論理
的な指定エリアに存在する文書を削除する処理を行う。
The document deletion unit 23 performs a process of deleting a document existing in a logical designated area in the document storage unit 5.

【0052】文書記憶部5は、構造化文書データベース
であり、例えば、図8に示すように、文書をUNIX
(登録商標)のディレクトリ構造のように階層的にツリ
ー構造状に格納している。
The document storage unit 5 is a structured document database. For example, as shown in FIG.
(Registered trademark) in a hierarchical tree structure like a directory structure.

【0053】図8に示すように、構造化文書データベー
スは、図4に示したような1つの構造化文書のツリー構
造と同様に表現できる。すなわち、任意のノード以下の
部分階層木(部分ツリー)は、構造化文書データベース
から切り出された構造化文書であり、ここでは、これを
文書オブジェクトツリーと呼ぶ。各ノードにはオブジェ
クトIDが割り当てられている。オブジェクトIDは、
構造化文書データベース内ではユニークな数値を持つも
のとする。
As shown in FIG. 8, the structured document database can be expressed in the same manner as the tree structure of one structured document as shown in FIG. That is, a partial hierarchical tree (partial tree) below an arbitrary node is a structured document cut out from the structured document database, and is called a document object tree here. Each node is assigned an object ID. The object ID is
It shall have a unique numerical value in the structured document database.

【0054】階層木のルートとなるノードには、それが
ルートノードであることを特定するためのオブジェクト
ID「#0」が割り当てられるものとする。
It is assumed that the node which is the root of the hierarchical tree is assigned an object ID "# 0" for specifying that it is the root node.

【0055】ルートノード、すなわち、「#0」のノー
ドからは「root」タグを先頭に持つ「#1」のノー
ドへリンクが張られている。「#1」のノードからは、
「特許DB」タグを先頭にもつ「#2」ノードへのリン
クが張られている。「#2」ノードからは、「特許」タ
グを先頭に持つ「#42」ノード、「#52」ノード、
「#62」ノードへのリンクがそれぞれ張られている。
A link is provided from the root node, that is, the node of “# 0” to the node of “# 1” having a “root” tag at the top. From the node "# 1",
A link to a “# 2” node having a “patent DB” tag at the top is provided. From the “# 2” node, a “# 42” node, a “# 52” node having a “patent” tag at the top,
A link to the “# 62” node is provided.

【0056】図3に示した「特許」情報は、「#42」
ノード以下の部分ツリーに対応している。このノードか
らは「タイトル」タグ、「出願者」タグ、「要約」タグ
などを先頭にもつノードへリンクが張られ、末端のノー
ドからは、「XMLデータベース」、「T社」。「XM
Lを統一的に管理するデータベースを提供する…」など
の文字列(要素値)へのリンクが張られている。
The “patent” information shown in FIG. 3 is “# 42”
It corresponds to the partial tree below the node. From this node, a link is provided to a node having a "title" tag, an "applicant" tag, a "summary" tag, and the like at the beginning, and from the terminal node, "XML database" and "T company". "XM
A link to a character string (element value) is provided.

【0057】「#52」ノード以下の部分ツリー、「#
62」ノード以下の部分ノードも1つの「特許」情報に
対応する部分である。
A partial tree below the "# 52" node, "# 52"
Partial nodes below the "62" node are also parts corresponding to one piece of "patent" information.

【0058】ところで、例えば、「#43」ノードにリ
ンクされた「XMLデータベース」という要素値は、
「#43」ノードと「#value」という特殊なタグ
名で接続されている。このタグ名は、「#」で始まるた
めXML規格においては標準的なタグ名として利用する
ことはできない。
By the way, for example, the element value of “XML database” linked to the “# 43” node is:
It is connected to the “# 43” node with a special tag name “#value”. Since this tag name starts with “#”, it cannot be used as a standard tag name in the XML standard.

【0059】このような構造化文書データベースの特定
ノードを指定するために構造化文書パスを用いる。構造
化文書パスは「uix://root」から始まる文字
列である。uix(Universal Identi
fier for XML)は構造化文書パスであるこ
とを示す前置文字列である。
A structured document path is used to specify a specific node in such a structured document database. The structured document path is a character string starting with “uix: // root”. ix (Universal Identity)
“fier for XML) is a prefix character string indicating a structured document path.

【0060】例えば、「uix://root/特許D
B」は、「#1」ノードから「特許DB」が付与された
アークが指し示すノード、つまり「#2」ノードに対応
する。このように「root」から「/」で区切られた
部分文字列をタグ名とみなすことで「#0」ノードから
タグ名の並びに沿って対応するアークを下っていき、そ
の最後のアークが指すノードが、パスの場所を指し示
す。
For example, “uiix: // root / Patent D
“B” corresponds to the node indicated by the arc to which “patent DB” is assigned from the “# 1” node, that is, the “# 2” node. In this way, by regarding the partial character string delimited by “/” from “root” as a tag name, the corresponding arc descends from the “# 0” node along the tag name sequence, and the last arc indicates the same. A node points to the location of the path.

【0061】例えば、「uix://root/特許D
B/特許」は、「#42」ノード、「uix://ro
ot/特許DB/出願日/年」は、「#45」ノードを
指し示す。
For example, “uiix: // root / Patent D
B / Patent ”is a“ # 42 ”node,“ ux: // ro
“ot / patent DB / application date / year” indicates the “# 45” node.

【0062】「#2」ノード以下に、すなわち、「特許
DB」に、複数の「特許」情報を格納する場合には、個
々の「特許」情報を識別するために、構造化文書パスに
インデックス表現が可能である。
When a plurality of pieces of “patent” information are stored under the “# 2” node, that is, in the “patent DB”, an index is added to the structured document path to identify each piece of “patent” information. Expression is possible.

【0063】「特許DB」の最初の「特許」情報であれ
ば、「uix://root/特許DB/特許[0]」
となるが、これは「uix://root/特許DB/
特許」と同じとみなす。
If it is the first “patent” information of “patent DB”, “uix: // root / patent DB / patent [0]”
This is "uiix: // root / patent DB /
Patent ".

【0064】「特許DB」の2番目の「特許」情報であ
れば、「uix://root/特許DB/特許[1]
DB」の5番目の「特許」情報であれば、「uix:/
/root/特許DB/特許[4]」となる。
If it is the second “patent” information of “patent DB”, “uix: // root / patent DB / patent [1]”
If it is the fifth “patent” information of “DB”, “uix: //
/ Root / patent DB / patent [4] ".

【0065】インデックス記憶部6には検索時に用い
る、要素名称生起インデックスとデータ生起インデック
スが記憶されている。
The index storage unit 6 stores an element name occurrence index and a data occurrence index used at the time of retrieval.

【0066】要素名生起インデックスとは構造化文書デ
ータベースに格納されている要素名称のリストと、各要
素名称が先頭にある構造化文書(文書オブジェクトツリ
ー)の位置とを関連付けてインデックスファイル化した
ものである。例えば、図8の構造化文書データベースの
ように、(「特許」情報に対応する)「特許」という要
素名称が「#42」ノード以下の構造化文書、「#5
2」ノード以下の構造化文書、「#62」ノード以下の
構造化文書に存在する場合、これらをインデックス化す
ると、図9に示すように、それらの親ノード、「#2」
ノードが、要素名称生起インデックスファイルに「特
許」キーからのチェーンで格納される。
The element name occurrence index is an index file in which a list of element names stored in the structured document database is associated with the position of the structured document (document object tree) in which each element name is at the head. It is. For example, as shown in the structured document database of FIG. 8, a structured document in which the element name “patent” (corresponding to “patent” information) is a node “# 42” or less, “# 5”
If there is a structured document under the “2” node and a structured document under the “# 62” node, these are indexed, and their parent nodes, “# 2”, as shown in FIG.
The nodes are stored in the element name occurrence index file in a chain from the “patent” key.

【0067】このように、親ノードでインデックス化す
ると、インデックスファイルを圧縮することができる。
すなわち、親ノードでインデックス化すれば、子ノード
が増大しようとも、親ノードで代用しているので、チェ
ーンサイズは増大しない。これに対し、実ノードをイン
デックス化すれば「特許」情報の格納数の増大とともに
チェーンサイズはそれに比例して増加してしまう。
As described above, when indexing is performed at the parent node, the index file can be compressed.
In other words, if indexing is performed using the parent node, even if the number of child nodes increases, the size of the chain does not increase because the parent node is used instead. On the other hand, if real nodes are indexed, the chain size increases in proportion to the number of stored "patent" information.

【0068】データ生起インデックスとは、構造化文書
データベースに格納されている文字列データのリストと
各文字列データがある構造化文書(文書オブジェクトツ
リー)の位置とを関連付けてインデックスファイル化し
たものである。例えば、図8の構造化文書データベース
のように、「XML」という文字列データ(および、
「XML」という文字列を含む文字列)が「#43」ノ
ード以下の構造化文書、「#49」ノード以下の構造化
文書に存在する場合、これらをインデックス化すると、
図10に示すように、「#43」ノード、「#49」ノ
ードが、データ生起インデックスファイルに「XML」
キーからのチェーンで格納される。
The data occurrence index is an index file in which a list of character string data stored in the structured document database is associated with the position of a structured document (document object tree) in which each character string data is located. is there. For example, as shown in the structured document database of FIG. 8, character string data of "XML" (and
If a character string including a character string “XML” exists in a structured document under the “# 43” node and a structured document under the “# 49” node, these are indexed.
As shown in FIG. 10, the “# 43” node and the “# 49” node add “XML” to the data occurrence index file.
Stored in a chain from the key.

【0069】なお、逆階層インデックスなど、その他の
インデックスファイルを用いてもよい。逆階層インデッ
クスとは、あるノードとその親ノードとの対応を格納し
たものである(あるノードからその親ノードを求めるこ
とができる)。
It is to be noted that another index file such as an inverted hierarchical index may be used. The inverted hierarchical index stores a correspondence between a certain node and its parent node (the parent node can be obtained from a certain node).

【0070】文書記憶部5中の論理的な指定エリアと
は、ユーザにより構造化文書パスを用いて指定された文
書の格納場所を指す。構造化文書パスは、ユーザにとっ
て認識可能な表現である。
The logical designation area in the document storage unit 5 indicates a storage location of a document designated by a user using a structured document path. The structured document path is an expression that can be recognized by the user.

【0071】図1の説明に戻る。Returning to the description of FIG.

【0072】データアクセス部4は、文書記憶部5をア
クセスする基本インターフェイスの集合である。データ
アクセス部4は、文書オブジェクトツリー格納部47、
文書オブジェクトツリー削除部48、文書オブジェクト
ツリー取得部49、文書文字列取得部44、パスから文
書オブジェクトツリー取得部45、文書パーサ部46、
合成文書作成部47、インデックス更新部48から構成
される。
The data access unit 4 is a set of basic interfaces for accessing the document storage unit 5. The data access unit 4 includes a document object tree storage unit 47,
A document object tree deletion unit 48, a document object tree acquisition unit 49, a document character string acquisition unit 44, a path-based document object tree acquisition unit 45, a document parser unit 46,
It is composed of a composite document creating section 47 and an index updating section 48.

【0073】文書オブジェクトツリー格納部41は、文
書記憶部5中の物理的な指定エリアに文書オブジェクト
ツリーを格納する処理を行う。
The document object tree storage section 41 performs processing for storing the document object tree in a physically designated area in the document storage section 5.

【0074】文書オブジェクトツリー削除部42は、文
書記憶部5中の物理的な指定エリアに存在する文書オブ
ジェクトツリーを削除する処理を行う。
The document object tree deletion section 42 deletes a document object tree existing in a physically designated area in the document storage section 5.

【0075】文書オブジェクトツリー取得部43は、文
書記憶部5中の物理的な指定エリアに存在する文書オブ
ジェクトツリーを取得する処理を行う。
The document object tree acquisition section 43 performs a process of acquiring a document object tree existing in a physically designated area in the document storage section 5.

【0076】文書文字列取得部44は、文書オブジェク
トツリーを構造化文書(XML文書)に変換する処理を
行う。
The document character string acquisition unit 44 performs a process of converting a document object tree into a structured document (XML document).

【0077】パスから文書オブジェクトツリー取得部4
5は、構造化文書パスを解析して文書記憶部5中の物理
的なエリアを特定して、そのエリアに存在する文書オブ
ジェクトツリーを取り出す処理を行う。
Document Object Tree Acquisition Unit 4 from Path
Reference numeral 5 performs a process of analyzing a structured document path, specifying a physical area in the document storage unit 5, and extracting a document object tree existing in the area.

【0078】文書パーサ部46は、ユーザにより入力さ
れた構造化文書を読み込んで構文解析して整合性の検査
を行い、さらに文書構造定義データであるスキーマが存
在すれば構造的に妥当かどうかの検証を行う。出力結果
は文書オブジェクトツリーとなる。文書パーサは、通
常、lex(lexical analyzer ge
nerator)といったレキシカルアナライザ(字句
解析を行い,トークンに分解する)とyacc(yet
another compiler compile
r)といったパーサジェネレータを組み合わせて構築す
ることができる。
The document parser unit 46 reads the structured document input by the user, parses the structured document, checks the consistency, and further checks whether a schema, which is document structure definition data, is structurally valid. Perform verification. The output result is a document object tree. Document parsers are typically lex (lexical analyzer geo)
lexical analyzer (performs lexical analysis and decomposes into tokens) such as
another compiler compile
r) can be constructed in combination.

【0079】合成文書作成部47は、文書格納や文書削
除などをする際に、スキーマに合致しているかどうか検
査しなければならないが、この検査時に必要となるデー
タを作成して出力する。
When storing a document, deleting a document, or the like, the synthetic document creating section 47 must check whether or not the document matches the schema. However, the synthetic document creating section 47 creates and outputs data necessary for the checking.

【0080】インデックス更新部48は、文書格納や文
書削除などにより、構造化文書データベースの格納内容
が更新されるたびに、図9、図10に示した要素名称生
起インデックスとデータ生起インデックスを更新する。
The index updating unit 48 updates the element name occurrence index and the data occurrence index shown in FIGS. 9 and 10 each time the storage content of the structured document database is updated due to document storage or document deletion. .

【0081】文書記憶部5中の物理的な指定エリアと
は、ファイルオフセットやオブジェクトIDなどの構造
化文書データベース内ではユニークな文書データの存在
場所を指し示す内部データである。ユーザにとっては認
識不能なデータである。
The physically designated area in the document storage unit 5 is internal data indicating a unique document data location in a structured document database such as a file offset and an object ID. The data cannot be recognized by the user.

【0082】文書記憶部5中に格納された文書を検索す
る処理を行う。要求制御部1の要求受付部11でユーザ
からの文書検索の要求が受け付けられると、検索要求処
理部3には、要求受付部11からクエリ言語で記述され
たクエリ文書が入力する。そしてデータアクセス部4を
通してインデックス記憶部6,文書記憶部5にアクセス
し、検索要求に合致する文書集合を取得して、その結果
を結果処理部12を介して出力する。
A process for searching for a document stored in the document storage unit 5 is performed. When the request receiving unit 11 of the request control unit 1 receives a document search request from a user, the search request processing unit 3 receives a query document described in a query language from the request receiving unit 11. Then, it accesses the index storage unit 6 and the document storage unit 5 through the data access unit 4 to acquire a document set that matches the search request, and outputs the result via the result processing unit 12.

【0083】図2は、図1に示した構造化文書管理シス
テムの一利用形態を示したもので、図2では、WWW
(World Wide Web)のバックエンドで、
図1に示した構成の構造化文書管理システム100が動
作している場合を示している。
FIG. 2 shows one use form of the structured document management system shown in FIG. 1. In FIG.
(World Wide Web) backend,
2 shows a case where the structured document management system 100 having the configuration shown in FIG. 1 is operating.

【0084】複数(ここでは、例えば3つ)のクライア
ント端末(例えばパーソナルコンピュータ、携帯通信端
末など)102のそれぞれでWWWブラウザ103が動
作している。ユーザは、各クライアント端末からWWW
サーバ101にアクセスすることにより、構造化文書管
理システム100にアクセスすることができる。WWW
ブラウザ103とWWWサーバ101とは、HTTP
(Hyper TextTransfer Proto
col)で通信している。また、WWWサーバ101と
構造化文書管理システム100とは、CGI(Comm
on Gateway Interface)またはC
OM(Component Object Mode
l)などで通信している。
A WWW browser 103 operates on each of a plurality of (here, for example, three) client terminals (for example, personal computers, portable communication terminals, etc.) 102. Users can access WWW from each client terminal.
By accessing the server 101, the structured document management system 100 can be accessed. WWW
The browser 103 and the WWW server 101 are HTTP
(Hyper TextTransfer Proto
col). Further, the WWW server 101 and the structured document management system 100 communicate with each other by CGI (Comm.
on Gateway Interface) or C
OM (Component Object Mode)
1) and so on.

【0085】ユーザからの文書格納、文書取得、文書検
索などの要求は、WWWブラウザ103から送信され
て、WWWサーバ101を通して構造化文書管理システ
ム100にて受け付けられ、処理された結果は、WWW
サーバ101を通して要求元のWWWブラウザ103へ
返信される。
Requests such as document storage, document acquisition, and document search from the user are transmitted from the WWW browser 103 and received by the structured document management system 100 through the WWW server 101.
The request is returned to the requesting WWW browser 103 through the server 101.

【0086】以下、図1の構造化文書管理システムの
(1)格納機能、(2)検索機能について詳細に説明す
る。そして、(3)適用例では、概念検索を用いた特許
調査の場合を例にとり説明する。
Hereinafter, (1) the storage function and (2) the search function of the structured document management system of FIG. 1 will be described in detail. In (3) Application Example, a case of patent search using concept search will be described as an example.

【0087】(1) 格納機能 図1の構造化文書管理システムにおける格納系のコマン
ドには以下のものがある。
(1) Storage Function The storage commands in the structured document management system of FIG. 1 include the following.

【0088】 insertXML(パス、N番目、XML):文書格納 appendXML(パス、XML) :文書格納 getXML(パス) :文書取得 removeXML(パス) :文書削除 setSchema(パス、スキーマ) :スキーマ格納 getSchema(パス) :スキーマ取得 「insertXML」は、( )内に指定した構造化
文書パス以下のN番目に文書を挿入するコマンド(以
下、簡単に挿入コマンドと呼ぶ)である。
InsertXML (path, Nth, XML): document storage appendXML (path, XML): document storage getXML (path): document acquisition removeXML (path): document deletion setSchema (path, schema): schema storage getSchema ): Schema acquisition “insertXML” is a command for inserting a document at the Nth position below the structured document path specified in parentheses (hereinafter simply referred to as an insert command).

【0089】「appendXML」は、( )内に指
定した構造化文書パス以下の最後に文書を挿入するコマ
ンド(以下、簡単に追加コマンドと呼ぶ)である。
“AppendXML” is a command for inserting a document at the end below the structured document path specified in parentheses (hereinafter simply referred to as an additional command).

【0090】「getXML」は、( )内に指定した
構造化文書パス以下の文書を取り出すコマンド(以下、
簡単に取得コマンドと呼ぶ)である。
“GetXML” is a command (hereinafter, referred to as a command) for retrieving documents below the structured document path specified in parentheses.
(Referred to simply as an acquisition command).

【0091】「removeXML」は、( )内に指
定した構造化文書パス以下の文書(スキーマ文書以外の
文書で、主に、コンテンツ文書)を削除するコマンド
(以下、簡単に削除コマンドと呼ぶ)である。
“RemoveXML” is a command (hereinafter simply referred to as a delete command) for deleting a document (a document other than a schema document, mainly a content document) below the structured document path specified in parentheses. is there.

【0092】「setSchema」は、( )内に指
定した構造化文書パスにスキーマを設定するコマンド
(以下、簡単にスキーマ格納コマンドと呼ぶ)である。
"SetSchema" is a command for setting a schema in the structured document path specified in parentheses (hereinafter simply referred to as a schema storage command).

【0093】「getSchema」は、( )内に指
定した構造化文書パスに設定されているスキーマを取り
出すコマンド(以下、簡単にスキーマ取得コマンドと呼
ぶ)である。
“GetSchema” is a command for extracting the schema set in the structured document path specified in parentheses (hereinafter simply referred to as a schema acquisition command).

【0094】上記コマンドのうち、挿入コマンド、追加
コマンド、スキーマ格納コマンドについての処理はアク
セス要求処理部2の文書格納部21で実行され、取得コ
マンド、スキーマ取得コマンドについての処理は文書取
得部22で実行され、削除コマンドについての処理は文
書削除部23で実行される。
Of the above commands, the processing for the insertion command, the addition command, and the schema storage command is executed by the document storage unit 21 of the access request processing unit 2, and the processing for the acquisition command and the schema acquisition command is performed by the document acquisition unit 22. The processing for the executed deletion command is executed by the document deletion unit 23.

【0095】図5を参照して、構造化文書データベース
の初期状態(図5(a)参照)において、追加コマンド
を実行する場合について説明する。
Referring to FIG. 5, a case where an additional command is executed in the initial state of the structured document database (see FIG. 5A) will be described.

【0096】図5(a)に示すように、「#0」ノード
と「#1」ノードが「root」アークで接続されてい
る初期状態に対して、「appendXML(“ui
x://root”,“<特許DB/>”)」を実行し
た結果、図5(b)に示すように、「#2」ノードと
「特許DB」アークが作成される。
As shown in FIG. 5 (a), for the initial state in which the “# 0” node and the “# 1” node are connected by a “root” arc, “appendXML (“ ui
As a result of executing “x: // root”, “<patent DB />”), a “# 2” node and a “patent DB” arc are created as shown in FIG. 5B.

【0097】図5(b)に示した状態の構造化文書デー
タベースに対して、取得コマンドを実行する場合につい
て説明する。
A case where an acquisition command is executed on the structured document database in the state shown in FIG. 5B will be described.

【0098】例えば、「getXML(“uix://
root”)」を実行すると、図5(b)の「roo
t」アークが示す「#0」ノード以下の文書オブジェク
トツリーが取り出され、それをXMLの文字列表現に変
換する。その結果、図6に示すように、「<root>
<特許DB/></root>」なる文字列が取り出さ
れる。取得コマンドの処理は、アクセス要求処理部2の
文書取得部22にて実行される。
For example, “getXML (“ uix: ///
When “root”) is executed, “root” in FIG.
The document object tree below the “# 0” node indicated by the “t” arc is extracted, and is converted into an XML character string representation. As a result, as shown in FIG. 6, “<root>
A character string "<patent DB // </ root>" is extracted. The processing of the acquisition command is executed by the document acquisition unit 22 of the access request processing unit 2.

【0099】次に、図5(b)に示した状態の構造化文
書データベースに対して、図3に示すようなコンテンツ
文書(XML文書)としての「特許」情報を格納するた
めの追加コマンドを実行する場合について説明する。す
なわち、この場合、「appendXML(“uix:
//root/特許DB”,“<特許>…</特許
>”)」を実行する。このコマンド中「“<特許>…<
/特許>”」が、図3に示した「特許」情報に対応す
る。
Next, an additional command for storing “patent” information as a content document (XML document) as shown in FIG. 3 is added to the structured document database in the state shown in FIG. 5B. The case of execution will be described. That is, in this case, “append XML (“ uix:
/// root / patent DB ”,“ <patent>... </ Patent> ”)”. In this command, ""<Patent> ... <
/ Patent>"" corresponds to the "patent" information shown in FIG.

【0100】上記追加コマンドの処理が実行されると、
図7に示すように、「#2」ノード以下に「#42」ノ
ードをトップとする文書オブジェクトツリー(図4に対
応)が追加される。
When the processing of the additional command is executed,
As shown in FIG. 7, a document object tree (corresponding to FIG. 4) having the "# 42" node at the top is added below the "# 2" node.

【0101】図5(b)に示した状態の構造化文書デー
タベースに対して、次に示すような追加コマンドを3回
繰り返して実行したとする。
It is assumed that the following additional command is repeatedly executed three times on the structured document database in the state shown in FIG. 5B.

【0102】「appendXML(“uix://r
oot/特許DB”,“<特許>…</特許>”)」 上記コマンド中、「<特許>…</特許>」は、図3に
示した文書構造のコンテンツ文書に対応する。
"Append XML (" uix: // r
out / patent DB ","<patent> ... </ patent>")] In the above command,"<patent> ... </ patent>"corresponds to the content document having the document structure shown in FIG.

【0103】すると、図8に示すように、「#2」ノー
ド以下に「#42」ノード、「#52」ノード、「#6
2」ノードをトップとする文書オブジェクトツリーが追
加される。
Then, as shown in FIG. 8, the “# 42” node, the “# 52” node, the “# 6” node
A document object tree with the "2" node at the top is added.

【0104】次に、図8に示した状態の構造化文書デー
タベースに対して、3つの「特許」情報を取り出すため
の取得コマンドを実行した場合について説明する。この
場合、「getXML(“uix://root/特許
DB”)」を実行する。すると、「特許DB」アークが
示す「#2」ノード以下の文書オブジェクトツリーが取
り出され、それをXMLの文字列表現(XML文書)に
変換する。その結果、図11に示すように、「<特許D
B><特許>…</特許><特許>…</特許><特許
>…</特許></特許DB>」なる文字列が取り出さ
れる。
Next, a case where an acquisition command for extracting three pieces of “patent” information is executed on the structured document database in the state shown in FIG. 8 will be described. In this case, “getXML (“ uix: // root / patent DB ”)” is executed. Then, a document object tree below the “# 2” node indicated by the “patent DB” arc is extracted, and converted into an XML character string expression (XML document). As a result, as shown in FIG.
B><patent>...</Patent><patent>...</Patent><patent>...</Patent></ patent DB>

【0105】構造化文書データベースでは、上記の「特
許」情報などのコンテンツ文書(XML文書)の文書構
造を定義したデータ、すなわち、スキーマも管理対象と
する。
In the structured document database, data defining the document structure of a content document (XML document) such as the above-mentioned “patent” information, that is, a schema is also managed.

【0106】図12は、XML文書の文書構造を定義す
るスキーマの一例を示したものである。ここでは、XM
Lの文書構造定義言語の一つであるXDR(XML−D
ata Reduced)を取り上げる。もちろん、X
ML−Schemaなど他の文書構造定義言語を用いて
もかまわない。
FIG. 12 shows an example of a schema that defines the document structure of an XML document. Here, XM
XDR (XML-D
data Reduced). Of course, X
Another document structure definition language such as ML-Schema may be used.

【0107】図12に示したスキーマは、図3に示した
「特許」情報の文書構造をXDRで定義したものであ
る。図12からも容易に分かるとおり、スキーマもXM
L形式の構造化文書である。「Schema」タグから
始まる構成要素から始まり、その子要素として、「El
ementType」タグから始まる要素集合が存在す
る。
The schema shown in FIG. 12 defines the document structure of the “patent” information shown in FIG. 3 by XDR. As can be easily understood from FIG. 12, the schema is also XM
This is a structured document in the L format. It starts with a component that starts with a “Schema” tag, and has “El” as its child element.
There is an element set starting with the “elementType” tag.

【0108】図12に示したスキーマにおいて、例え
ば、最初の「ElementType」タグから始まる
子要素は以下の情報を意味している。
In the schema shown in FIG. 12, for example, a child element starting from the first “ElementType” tag means the following information.

【0109】・「特許」タグを持つ要素の文書構造定義
(「ElementType name=”特許”」)
である。
Document definition of an element having a “patent” tag (“ElementType name =“ patent ”)”
It is.

【0110】・子要素は要素だけ(「content
=”eltOnly”」)である。
The child element is only an element (“content
= "EltOnly"").

【0111】・「タイトル」、「出願日」、「要約」タ
グから始まる子要素から構成される(「element
type=”タイトル”、…」)。さらに、その順番
は一意に決まっている(「order=”se
q”」)。
It is composed of child elements starting with “title”, “filing date” and “summary” tags (“element
type = “title”,... Further, the order is uniquely determined (“order =” se
q ")).

【0112】・上記「特許」タグから始まる要素の文書
構造定義の他に、「タイトル」「出願者」「要約」
「年」「月」「日」「出願日」の文書構造定義を記述し
ている。すなわち、「出願日」を除く、「タイトル」
「出願者」「要約」「年」「月」「日」タグから始まる
構成要素の子要素はテキストだけと定義されている
(「content=”textOnly”」)。
[0112] In addition to the document structure definition of the element starting from the "patent" tag, "title", "applicant", "summary"
It describes the document structure definition of "year", "month", "day" and "filing date". That is, excluding the “filing date”, the “title”
The child element of the component starting from the tags of “applicant”, “summary”, “year”, “month” and “day” is defined as text only (“content =“ textOnly ””).

【0113】・「出願日」タグから始まる構成要素の子
要素は、「年」、「月」、「日」の並びである。
The child elements of the constituent elements starting from the “application date” tag are a sequence of “year”, “month”, and “day”.

【0114】図8に示した状態の構造化文書データベー
スに対して、図12に示したスキーマ文書を格納するた
めのスキーマ格納コマンドを実行する場合について説明
する。この場合、「setSchema(“uix:/
/root/特許DB”,“<Schema>…</S
chema>”)」を実行する。このコマンド中、
「“<Schema>…</Schema>”」」が図
12に示したスキーマ文書に対応する。
A case where a schema storage command for storing the schema document shown in FIG. 12 is executed on the structured document database in the state shown in FIG. 8 will be described. In this case, "setSchema (" uix: /
/ Root / patent DB ","<Schema> ... <// S
chema> ”)”. In this command,
“<Schema>... </ Schema>” ”corresponds to the schema document shown in FIG.

【0115】上記コマンドの実行により、図13に示す
ように、「#2」ノード以下に「#schema」アー
クが追加され、その先には、「#3」ノードをトップノ
ードとする文書オブジェクトツリーが追加される。スキ
ーマ自身がXML文書表現になっているため、前述した
「特許」情報のようなコンテンツ文書格納のケースと同
様にツリー展開可能である。
By executing the above command, as shown in FIG. 13, a “#schema” arc is added below the “# 2” node, and after that, a document object tree having the “# 3” node as the top node Is added. Since the schema itself is expressed in an XML document, the tree can be expanded similarly to the case of storing the content document such as the “patent” information described above.

【0116】図13において、「@name」など
「@」で始まるアークは属性に対応する。タグ名「#s
chema」も「#」、「@」で始まるためXML規格
においては標準的なタグ名として利用することはできな
い。
In FIG. 13, arcs starting with "@" such as "@name" correspond to attributes. Tag name "#s
Since “chema” also starts with “#” and “$”, it cannot be used as a standard tag name in the XML standard.

【0117】「#2」ノード下に図12に示したスキー
マ文書が格納されたことにより、以後、「#2」ノード
以下にこれから格納される文書の文書構造は、図12に
示したスキーマ文書により定義された文書構造に適合す
ることが要求される。すなわち、「#2」ノード以下に
図12に示したスキーマが設定されることになる。
Since the schema document shown in FIG. 12 is stored under the “# 2” node, the document structure of a document to be stored under the “# 2” node is changed to the schema document shown in FIG. It is required to conform to the document structure defined by That is, the schema shown in FIG. 12 is set below the “# 2” node.

【0118】「#2」ノード以下に図12に示したスキ
ーマが設定されると、図14に示すように、「#2」ノ
ードの文書オブジェクトのファイルには、「#2」ノー
ド以下の文書オブジェクトツリーには、当該スキーマが
存在する旨の属性値がセットされる。
When the schema shown in FIG. 12 is set below the “# 2” node, as shown in FIG. 14, the document object file of the “# 2” node contains the document of the “# 2” node and below. An attribute value indicating that the schema exists is set in the object tree.

【0119】「#2」ノード以下に図12に示したスキ
ーマが設定された後に、このスキーマで定義された文書
構造に一致する図3に示したような「特許」情報を、図
14に示したように、文書オブジェクトツリーとして構
造化文書データベースに格納したとき、この文書の文書
構造には図12に示したスキーマが存在する旨の属性値
が、当該文書オブジェクトツリーを構成する各文書オブ
ジェクトにセットされる。例えば、当該文書オブジェク
トツリーを構成する各文書オブジェクトのファイルに対
して、スキーマが存在している旨の属性値((例えば、
「スキーマ適合有無」)に「1」がセットされる。図1
4では、スキーマに適合している各文書オブジェクト
(ノード)は2重丸で示している。2重丸で示した各文
書オブジェクトには、その文書オブジェクトに対応した
文書構造定義が存在することになる。
After the schema shown in FIG. 12 is set under the “# 2” node, “patent” information as shown in FIG. 3 that matches the document structure defined by this schema is shown in FIG. As described above, when stored in the structured document database as a document object tree, the document structure of this document includes an attribute value indicating that the schema shown in FIG. Set. For example, for each document object file constituting the document object tree, an attribute value indicating that a schema exists ((for example,
“1” is set in “schema conformance”. Figure 1
In FIG. 4, each document object (node) conforming to the schema is indicated by a double circle. Each document object indicated by a double circle has a document structure definition corresponding to the document object.

【0120】図15は、各文書オブジェクトのファイル
の内容を概念的に示したもので、例えば、オブジェクト
IDが「#42」の文書オブジェクトのファイルには、
その文書オブジェクトにリンクされている他の文書オブ
ジェクトに関する情報(例えば、アークや、リンク先の
文書オブジェクトへのポインタ値など)とともに、上記
属性値が記述されている。なお、当該文書オブジェクト
に適用するスキーマが存在しないときは、「スキーマ適
合有無」の値は「0」となる。
FIG. 15 conceptually shows the contents of the file of each document object. For example, the file of the document object having the object ID “# 42” includes
The attribute value is described together with information (for example, an arc, a pointer value to a linked document object, and the like) related to another document object linked to the document object. When there is no schema to be applied to the document object, the value of “schema conformance” is “0”.

【0121】図16、図17は、図1の構造化文書管理
システムで、必要に応じて検索で使用される概念階層を
構造化文書で表現した例を示す。図16、図17に示す
「概念」情報はXMLで記述したコンテンツ文書であ
る。
FIGS. 16 and 17 show examples in which the concept hierarchy used in the search is represented by a structured document in the structured document management system of FIG. 1 as needed. The “concept” information shown in FIGS. 16 and 17 is a content document described in XML.

【0122】図16に示した「概念」情報の例は、いわ
ゆる特許調査における特許文書の内容を分類するための
1つの分類軸として用いる「情報モデル」を概念階層で
表現している。「概念」タグで囲まれた「概念」情報
は、入れ子構造を持った文書構造をもっている。つま
り、図16の例では、概念「情報モデル」の子供概念と
して、概念「ドキュメント」、概念「リレーション」、
概念「オブジェクト」が存在している。また、概念「ド
キュメント」の子供概念として、概念「構造化訴求メン
ト」、概念「非構造化ドキュメント」が存在し、さら
に、概念「構造化ドキュメント」の子供概念として、概
念「XML」、概念「SGML」が存在している。
The example of “concept” information shown in FIG. 16 expresses an “information model” used as one classification axis for classifying the contents of a patent document in a so-called patent search in a concept hierarchy. “Concept” information surrounded by “concept” tags has a document structure having a nested structure. That is, in the example of FIG. 16, the concept “document”, the concept “relation”,
The concept "object" exists. In addition, as a child concept of the concept “document”, there are a concept “structured appeal” and a concept “unstructured document”. Further, as a child concept of the concept “structured document”, the concept “XML” and the concept “ SGML "exists.

【0123】図17に示す「概念」情報の記述例は、図
16とは異なる分類軸「情報操作」を概念階層で表現し
ている。図17の例では、概念「情報操作」の子供概念
として、概念「検索」、概念「格納」、概念「加工」、
概念「流通」が存在している。
The description example of the “concept” information shown in FIG. 17 expresses a classification axis “information operation” different from that in FIG. 16 in a concept hierarchy. In the example of FIG. 17, as the child concepts of the concept "information operation", the concept "search", the concept "storage", the concept "processing",
The concept "distribution" exists.

【0124】図16,図17に示したような「概念」情
報も、前述の「特許」情報と同様にして、構造化文書デ
ータベース内に格納することができる。すなわち、例え
ば、まず、図8に示した状態の構造化文書データベース
に対して、「appendXML(“uix://ro
ot”,“<概念DB/>”)」を実行して、図18に
示すように、「#201」ノードと「概念DB」アーク
が作成される。この状態において、図16に示した「概
念」情報を格納する場合には、「appendXML
(“uix://root/概念DB”,“<概念名前
>…</概念>”)」を実行する。このコマンド中
「“<概念名前>…</概念>”」が、図16に示した
「概念」情報に対応する。
The “concept” information as shown in FIGS. 16 and 17 can be stored in the structured document database in the same manner as the “patent” information described above. That is, for example, first, for the structured document database in the state shown in FIG. 8, “appendXML (“ uix: // ro
ot ”,“ <concept DB / >> ”)”, a “# 201” node and a “concept DB” arc are created as shown in FIG. In this state, when the “concept” information shown in FIG. 16 is stored, “appendXML” is used.
(“Uix: // root / concept DB”, “<concept name>... </ Concept>”)). In this command, "<concept name> ... </ concept>" corresponds to the "concept" information shown in FIG.

【0125】上記追加コマンドの処理が実行されると、
図19に示すように、「#201」ノード以下に「#2
02」ノードをトップとする文書オブジェクトツリーが
追加される。
When the processing of the additional command is executed,
As shown in FIG. 19, “# 2” is placed under the “# 201” node.
A document object tree with the “02” node at the top is added.

【0126】以上説明したように、図1の構造化文書管
理システムでは、構造化文書データベース上に登録され
る文書構造が異なる膨大な数のXML文書群(コンテン
ツ文書、スキーマ文書、クエリ文書など)を、図18,
図19に示すように、「root」タグを先頭に持つツ
リー状の1つの巨大なXML文書として取り扱う。その
ため、部分的なXML文書をアクセスするには巨大なX
ML文書に対するパスという文書構造に依存しない統一
的なアクセス手段を用いることにより、幅広くXML文
書を検索したり加工したりすることが可能になる。
As described above, in the structured document management system of FIG. 1, a huge number of XML documents (content documents, schema documents, query documents, etc.) having different document structures registered in the structured document database From FIG. 18,
As shown in FIG. 19, it is handled as one huge XML document in a tree shape having a “root” tag at the top. Therefore, to access a partial XML document, a huge X
By using a unified access means that does not depend on a document structure such as a path to the ML document, it is possible to search and process the XML document widely.

【0127】また、構造化文書データベース上の一部に
スキーマを設定することで、格納しようとする文書の文
書構造がそのスキーマにより定義されている文書構造に
一致するか否かの妥当性のチェックが自動的に行なえる
(後述)。
Also, by setting a schema in a part of the structured document database, it is possible to check whether the document structure of the document to be stored matches the document structure defined by the schema. Can be automatically performed (described later).

【0128】(1−1)文書格納処理 次に、図1の構造化文書管理システムの文書格納処理動
作について、図20に示すフローチャートを参照して説
明する。
(1-1) Document Storage Processing Next, the document storage processing operation of the structured document management system of FIG. 1 will be described with reference to the flowchart shown in FIG.

【0129】クライアント端末から構造化文書管理シス
テムに対し、文書格納要求として、挿入コマンド、追加
コマンド、スキーマ格納コマンドのうちのいずれかが送
信されて、要求受付部11にて受け付けられたとき、図
20に示した処理動作を行う。
When any one of an insert command, an add command, and a schema storage command is transmitted as a document storage request from the client terminal to the structured document management system, and is received by the request receiving unit 11, FIG. The processing operation shown in FIG.

【0130】クライアント端末の所定の表示装置には、
構造化文書管理システム100(の例えば、要求制御部
1)から提供された、例えば、図31に示すようなユー
ザインターフェイスとしての画面が表示されている。
A predetermined display device of the client terminal includes:
For example, a screen as a user interface as shown in FIG. 31 provided by the structured document management system 100 (for example, the request control unit 1) is displayed.

【0131】図31に示す画面には、構造化文書管理シ
ステム100への操作項目の一覧(メニュー)が表示さ
れている。操作項目として、「XML登録/削除」、
「スキーマ設定」、「XML検索」とがある。
On the screen shown in FIG. 31, a list (menu) of operation items for the structured document management system 100 is displayed. As operation items, “XML registration / deletion”,
There are “schema setting” and “XML search”.

【0132】ユーザが例えば、この画面上で「XML登
録/削除」をマウス等のポインティングデバイスなどを
用いて選択すると、図32に示したような文書の格納/
削除を行うためのユーザインタフェースとしての画面が
表示される。
When the user selects “XML registration / deletion” on this screen by using a pointing device such as a mouse, for example, the document storage / deletion as shown in FIG.
A screen as a user interface for performing deletion is displayed.

【0133】図32において、領域W1には、文書構造
化文書データベースの現在のツリー構造の要素名(タグ
名)がユーザが理解可能なように簡略的に表示されてい
る。なお、図32では、上位階層の要素名のみを表示し
ているが、末端の要素名まで表示可能である。また、領
域W2は、構造化文書パスの入力領域であり、領域W1
の表示内容に従って、構造化文書パスを入力するように
なっている。また、領域W3は、格納する文書を入力し
たり、取得した文書を表示するようになっている。
In FIG. 32, in the area W1, the element names (tag names) of the current tree structure of the document structured document database are simply displayed so that the user can understand them. In FIG. 32, only the element names in the upper hierarchy are displayed, but up to the terminal element names can be displayed. An area W2 is an input area of a structured document path, and an area W1
The structured document path is input in accordance with the display contents of. In the area W3, a document to be stored is input, and the acquired document is displayed.

【0134】例えば、構造化文書パスとして「roo
t」を入力する場合には、領域W1の「root」をマ
ウス等で選択すればよい。すると、図32に示すよう
に、領域W2の構造化文書パスの入力領域に「uix:
//root」と表示される。また、新たに、「特許D
B」という要素を追加する場合は、図32に示すよう
に、領域W3に、「特許DB」を入力する。そして、
「登録」ボタンB1を選択すると、クライアント端末か
らappendXML(“uix://root”,
“<特許DB/>”)」なる追加コマンドが構造化文書
管理システムへ送信される。構造化文書管理システムで
は、上記追加コマンドを受け、後述するような処理を実
行した結果、例えば、図5(b)に示すように、「#
2」ノードと「特許DB」アークが作成される。また、
領域W1には、図33に示すように、「root」の下
に「特許DB」が追加表示される。
For example, as a structured document path, “root
When inputting "t", "root" in the area W1 may be selected with a mouse or the like. Then, as shown in FIG. 32, "uix:" is displayed in the input area of the structured document path in the area W2.
// root "is displayed. In addition, newly, "Patent D
To add an element "B", "patent DB" is input in the area W3 as shown in FIG. And
When the “Registration” button B1 is selected, an appendXML (“uix: // root”,
An additional command “<patent DB />”) is transmitted to the structured document management system. The structured document management system receives the additional command and executes a process as described below. As a result, for example, as shown in FIG.
A “2” node and a “patent DB” arc are created. Also,
As shown in FIG. 33, “patent DB” is additionally displayed under “root” in the area W1.

【0135】さて、ユーザが図34に示したような文書
の格納/削除画面上の領域W3に、例えば、文書「<A
>データ</A>」を入力し(あるいはCD−ROM等
の所定の記録媒体等から読み込むことにより入力し)、
領域W1の「特許[0]」をマウス等で選択すると、構
造化文書パスの入力領域W2に、「uix://roo
t/特許DB/特許[0]」と表示される。そして、
「登録」ボタンB1を選択すると、クライアント端末か
らappendXML(“uix://root”,
“<特許DB/>”)」なる追加コマンドが構造化文書
管理システムへ送信される。
Now, for example, when the user places a document “<A” in an area W3 on the document storage / deletion screen as shown in FIG.
> Data </A> ”(or input by reading from a predetermined recording medium such as a CD-ROM),
When "Patent [0]" in the area W1 is selected with a mouse or the like, "ux: /// root" is displayed in the input area W2 of the structured document path.
t / Patent DB / Patent [0] "is displayed. And
When the “Registration” button B1 is selected, an appendXML (“uix: // root”,
An additional command “<patent DB />”) is transmitted to the structured document management system.

【0136】ここでは、例えば、構造化文書データベー
スが、図14に示した状態のときに、「appendX
ML(“uix://root/特許DB/特許
[0]”,“<A>データ</A>”)」なる追加コマ
ンドを受け付けた場合を例にとり説明する。
Here, for example, when the structured document database is in the state shown in FIG. 14, “appendX
An example in which an additional command ML (“uix: // root / patent DB / patent [0]”, “<A> data </A>”) ”is received will be described.

【0137】要求受付部11は、上記追加コマンドを受
け付けると、上記追加コマンド中の2つのパラメータで
ある構造化文書パス「uix://root/特許DB
/特許[0]」と文書「<A>データ</A>」(以
下、格納文書と呼ぶ)とを文書格納部21へ渡す(ステ
ップS1)。
Upon receiving the additional command, the request receiving unit 11 receives the structured document path “uix: // root / patent DB”, which is two parameters in the additional command.
/ Patent [0] "and the document"<A> data </A>"(hereinafter referred to as a stored document) to the document storage unit 21 (step S1).

【0138】まず、文書格納部21は、文書パーサ部4
6に格納文書を渡す。文書パーサ部46は、格納文書を
読み込んで、構文解析を行い、当該格納文書の文書構造
がXMLにて規定された正しい形式であるか否かの整合
性の検査を行う(ステップS2)。
First, the document storage section 21 stores the document parser section 4
6 to pass the stored document. The document parser unit 46 reads the stored document, performs syntax analysis, and checks whether the document structure of the stored document is in a correct format defined by XML (step S2).

【0139】この整合性の検査でエラーが見つかれば
(ステップS3)、文書格納部21,結果処理部12を
介して、クライアント端末に「文書格納失敗」の旨のメ
ッセージを返す(ステップS4)。
If an error is found in the consistency check (step S3), a message indicating "document storage failure" is returned to the client terminal via the document storage unit 21 and the result processing unit 12 (step S4).

【0140】整合性の検査でエラーが見つからなけれ
ば、次に、文書格納部21は、パスから文書オブジェク
トツリー取得部45へ構造化文書パスを渡す。パスから
文書オブジェクトツリー取得部45は、構造化文書パス
から文書記憶部5中の物理的なエリアを特定することに
より、そのエリアに存在する構造化文書パスにて表され
たノード(文書オブジェクトOx0)を含む文書オブジ
ェクトツリーを取り出す(ステップS5)。構造化文書
パスの指定が正しければ、文書オブジェクトOx0のオ
ブジェクトIDを取得することができるので(ステップ
S6)、その場合は、ステップS8へ進む。
If no error is found in the consistency check, the document storage unit 21 passes the structured document path from the path to the document object tree acquisition unit 45. From the path, the document object tree acquisition unit 45 specifies a physical area in the document storage unit 5 from the structured document path, and thereby a node (document object Ox0) represented by the structured document path existing in that area. ) Is extracted (step S5). If the specification of the structured document path is correct, the object ID of the document object Ox0 can be acquired (step S6). In that case, the process proceeds to step S8.

【0141】例えば、上記追加コマンドの場合、「#4
2」ノードが文書オブジェクトOx0となるので、その
オブジェクトIDとして、「#42」を取得するととも
に、この「#42」ノードを含む文書オブジェクトツリ
ー(例えば、「#42」ノードの全ての子孫ノードと
「#42」ノードと同じ階層にある全ての(兄弟)ノー
ドと、「#42」ノードの親ノードである「#2」ノー
ドとからなる文書オブジェクトツリー)を取得する。
For example, in the case of the above additional command, “# 4
Since the “2” node becomes the document object Ox0, “# 42” is acquired as the object ID, and a document object tree including this “# 42” node (for example, all descendant nodes of the “# 42” node and The document object tree including all (sibling) nodes in the same hierarchy as the “# 42” node and the “# 2” node that is the parent node of the “# 42” node is acquired.

【0142】指定された構造化文書パスからそれに対応
する文書オブジェクトOx0が見つからなければ、エラ
ーとなり(ステップS6)、文書格納部21,結果処理
部12を介して、クライアント端末に「文書格納失敗」
の旨のメッセージを返す(ステップS7)。
If the corresponding document object Ox0 is not found from the designated structured document path, an error occurs (step S6), and the "document storage failure" is sent to the client terminal via the document storage unit 21 and the result processing unit 12.
Is returned (step S7).

【0143】例えば、構造化文書データベースが、図1
8に示した状態のときに、追加コマンドのパラメータと
して、構造化文書パスが「uix://root/その
他」と表されていたとき、これに対応する文書オブジェ
クトは存在しないので、ステップS6でエラーとなり、
ステップS7へ進む。
For example, if the structured document database is the one shown in FIG.
In the state shown in FIG. 8, when the structured document path is expressed as “ux: // root / other” as a parameter of the additional command, there is no corresponding document object, so that in step S6 Error
Proceed to step S7.

【0144】次に、ステップS8では、文書オブジェク
トOx0にスキーマが存在するか否かを検査する。この
検査は、前述したように、各文書オブジェクトのファイ
ルに属性値が記述されているので、この値をチェックす
ればよい。文書オブジェクトOx0のもつ「スキーマ適
合有無」の値が「1」のときは、ステップS9へ進む。
Next, in step S8, it is checked whether or not a schema exists in the document object Ox0. In this inspection, as described above, since the attribute value is described in the file of each document object, this value may be checked. If the value of “schema conformance” of the document object Ox0 is “1”, the process proceeds to step S9.

【0145】以下、図20のステップS9の処理(合成
文書作成部47の処理)について、図21に示すフロー
チャートを参照して詳細に説明する。
Hereinafter, the process of step S9 in FIG. 20 (the process of the composite document creating unit 47) will be described in detail with reference to the flowchart shown in FIG.

【0146】文書格納部21は、ステップS5で取得し
た文書オブジェクトツリーを合成文書作成部47へ渡
す。
The document storage unit 21 passes the document object tree obtained in step S5 to the composite document creation unit 47.

【0147】合成文書作成部47は、この文書オブジェ
クトツリーを文書オブジェクトOx0から遡り、「Sc
hema」タグを子要素として持つ文書オブジェクトO
x1を検索する(ステップS21)。
The synthetic document creating section 47 traces this document object tree back from the document object Ox0 and returns “Sc
document object O having a "hema" tag as a child element
x1 is searched (step S21).

【0148】例えば、図14に示した構造化文書データ
ベースでは、文書オブジェクトOx0としての「#4
2」ノードの親ノードである「#2」ノードから「Sc
hema」タグをトップ(先頭)にもつノード(「#
3」ノード)へのリンクが張られているので(「Sch
ema」タグを子要素として持つので)、この「#2」
ノードが文書オブジェクトOx1となる。よって、ステ
ップS22をスキップして、ステップS23へ進む。
For example, in the structured document database shown in FIG. 14, “# 4” as the document object Ox0
From the “# 2” node, which is the parent node of the “2” node, “Sc”
hema "tag ("#
3 "node) (" Sch
ema "tag as a child element).
The node becomes the document object Ox1. Therefore, the process skips step S22 and proceeds to step S23.

【0149】この文書オブジェクトOx1から文書オブ
ジェクトOx0、さらに文書オブジェクトOx0からア
ークを辿って、その下流にある、文書オブジェクトの属
性値の値が「1」である全ての子ノードからなる文書オ
ブジェクトツリーOt1を取り出す(ステップS2
3)。
The document object Ox1 to the document object Ox0, and further tracing an arc from the document object Ox0, a document object tree Ot1 downstream of the document object consisting of all the child nodes whose attribute value is "1". (Step S2)
3).

【0150】例えば、上記追加コマンド中のパラメータ
の構造化文書パスが「uix://root/特許DB
/特許[0]」と指定されているとき、文書オブジェク
トツリーOt1は、「#42」ノード〜「#49」ノー
ドから構成されたものとなる(図14参照)。
For example, if the structured document path of the parameter in the above-mentioned additional command is “ux: // root / patent DB”
/ Patent [0] ", the document object tree Ot1 is composed of nodes"# 42 "to"# 49 "(see FIG. 14).

【0151】次に、ステップS25へ進む。Next, the process proceeds to a step S25.

【0152】ステップS25では、文書オブジェクトツ
リーOt1に格納文書の文書オブジェクトツリーを文書
オブジェクトOx0の子ノードとして挿入する。その結
果得られた新たな文書オブジェクトツリーを文書オブジ
ェクトツリーOt2とする。
In the step S25, the document object tree of the stored document is inserted into the document object tree Ot1 as a child node of the document object Ox0. The resulting new document object tree is referred to as a document object tree Ot2.

【0153】この文書オブジェクトツリーOt2をXM
L文書に変換し、それをテンポラリファイルAに出力す
る(ステップS27)。
The document object tree Ot2 is converted to an XM
The document is converted into an L document and output to a temporary file A (step S27).

【0154】例えば、上記追加コマンド中のパラメータ
の格納文書「<A>データ</A>」の文書オブジェク
トツリー(この場合は、1つの文書オブジェクト)を
「#42」ノード〜「#49」ノードで構成された文書
オブジェクトツリーOt1に「#42」ノードの子ノー
ドとして挿入して得られた合成文書の文書オブジェクト
ツリーOt2をXML文書に変換した結果を図22に示
す。この合成文書は、もともとある「特許」情報に「<
A>データ</A>」というデータを追加したものとな
っている。
For example, the document object tree (in this case, one document object) of the stored document “<A> data </A>” of the parameter in the above-mentioned additional command is changed from the “# 42” node to the “# 49” node. FIG. 22 shows the result of converting the document object tree Ot2 of the composite document obtained by inserting it as a child node of the "# 42" node into the document object tree Ot1 composed of XML documents into an XML document. This composite document contains “<
A> data </A> ”.

【0155】図22に示したXML文書、すなわち、合
成文書がテンポラリファイルAに出力され、テンポラリ
ファイルAに一時格納される。
The XML document shown in FIG. 22, ie, the synthesized document, is output to the temporary file A and temporarily stored in the temporary file A.

【0156】一方、スキーマタグ以下の文書オブジェク
トツリーOt3をXML文書に変換して、それをテンポ
ラリファイルBに出力する(ステップS28)。すなわ
ち、テンポラリファイルBには、スキーマ文書が一時格
納されることになる。
On the other hand, the document object tree Ot3 below the schema tag is converted into an XML document, and is output to the temporary file B (step S28). That is, the schema document is temporarily stored in the temporary file B.

【0157】例えば、文書オブジェクトツリーOt3で
ある「#3」ノードをトップノードとする文書オブジェ
クトツリーをXML文書に変換した結果を図23に示
す。図23に示したXML文書がテンポラリファイルB
に出力され、テンポラリファイルBに一時格納される。
For example, FIG. 23 shows a result obtained by converting a document object tree having the “# 3” node which is the document object tree Ot3 as a top node into an XML document. The XML document shown in FIG.
And temporarily stored in a temporary file B.

【0158】図22に示すように、テンポラリファイル
A(「tmp000.xml」)には、もともとある
「特許」情報の要素の他に、格納文書、すなわち、ここ
では、例えば、「<A>データ</A>」が挿入されて
いる。また、「xmlns=”x−schema:tm
p001.xml”」という、テンポラリファイルB
(「tmp001.xml」)へのリンク情報の記述が
ある。この記述は、「特許」情報に適用されるスキーマ
が出力されているテンポラリファイルBを指定してい
る。
As shown in FIG. 22, the temporary file A (“tmp000.xml”) includes, in addition to the original “patent” information element, a stored document, that is, for example, “<A> data”. </A> ”is inserted. Also, "xmlns =" x-schema: tm
p001. xml ””, a temporary file B
(“Tmp001.xml”). This description specifies the temporary file B to which the schema applied to the “patent” information is output.

【0159】次に、図20の説明に戻る。Next, the description returns to FIG.

【0160】ステップS10では、文書格納部21は文
書パーサ部46に、合成文書のテンポラリファイルAと
スキーマのテンポラリファイルBとを与えて、合成文書
の文書構造の妥当性をチェックする。すなわち、文書パ
ーサ部46は、合成文書のテンポラリファイルAとスキ
ーマのテンポラリファイルBとを読み込み、合成文書の
文書構造が、スキーマにより定義されている文書構造に
一致するか否かをチェックする。
In step S10, the document storage section 21 provides the document parser section 46 with the temporary file A of the composite document and the temporary file B of the schema, and checks the validity of the document structure of the composite document. That is, the document parser unit 46 reads the temporary file A of the synthetic document and the temporary file B of the schema, and checks whether or not the document structure of the synthetic document matches the document structure defined by the schema.

【0161】例えば、図22に示した合成文書と、図2
3に示したスキーマとで妥当性のチェックを行った場
合、合成文書には、スキーマにより定義されていない
「A」という要素が存在するため、図23の合成文書
は、妥当性のチェックでエラーとなる(ステップS1
1)。この場合、文書格納部21,結果処理部12を介
して、クライアント端末に「文書格納失敗」の旨のメッ
セージを返す(ステップS12)。
For example, the composite document shown in FIG.
When the validity check is performed with the schema shown in FIG. 3, an element “A” not defined by the schema exists in the synthetic document. (Step S1
1). In this case, a message indicating "document storage failure" is returned to the client terminal via the document storage unit 21 and the result processing unit 12 (step S12).

【0162】例えば、クライアント端末の所定の表示装
置には、図35に示すようなメッセージが表示される。
For example, a message as shown in FIG. 35 is displayed on a predetermined display device of the client terminal.

【0163】次に、構造化文書データベースが、図14
に示した状態のときに、「appendXML(“ui
x://root/特許DB”,“<特許>…</特許
>”)」なる追加コマンドを受け付けた場合について、
図20を参照して説明する。前述同様にして、文書オブ
ジェクトOx0のオブジェクトID「#2」を取得する
(ステップS5)、この文書オブジェクトには、スキー
マが存在するので(ステップS8)、ステップS9にお
いて合成文書を作成する。
Next, the structured document database shown in FIG.
In the state shown in FIG. 5, "append XML (" ui
x: / root / patent DB ","<patent> ... </ patent>")"
This will be described with reference to FIG. In the same manner as described above, the object ID “# 2” of the document object Ox0 is acquired (step S5). Since a schema exists in this document object (step S8), a composite document is created in step S9.

【0164】この場合、文書オブジェクトOx0である
「#2」ノード自体から「Schema」タグをトップ
(先頭)にもつノード(「#3」ノード)へのリンクが
張られているので、この「#2」ノードが文書オブジェ
クトOx1となる(図21のステップS21)。すなわ
ち、文書オブジェクトOx0と文書オブジェクトOx1
が同じなので(ステップS22)、ステップS29へ進
み、格納文書「<特許>…</特許>」の文書オブジェ
クトツリーをXML文書に変換し、テンポラリファイル
Aに出力する(ステップS29)。
In this case, since the link from the “# 2” node itself, which is the document object Ox0, to the node (“# 3” node) having the “Schema” tag at the top (top) is established, The “2” node becomes the document object Ox1 (step S21 in FIG. 21). That is, the document object Ox0 and the document object Ox1
Are the same (step S22), the process proceeds to step S29, where the document object tree of the stored document “<patent>... </ Patent>” is converted into an XML document and output to the temporary file A (step S29).

【0165】例えば、図24に示すように、テンポラリ
ファイルA(「tmp000.xml」)には、格納文
書である「特許」情報、すなわち、ここでは、「<特許
>…</特許>」が出力されている。また、「xmln
s=”x−schema:tmp001.xml”」と
いう、テンポラリファイルB(「tmp001.xm
l」)へのリンク情報の記述がある。
For example, as shown in FIG. 24, the temporary file A (“tmp000.xml”) contains “patent” information as a stored document, that is, here, “<patent>... </ Patent>”. Has been output. Also, "xmln
s = “x-schema: tmp001.xml” ”and a temporary file B (“ tmp001.xml
l)).

【0166】次に、ステップS28へ進む。図25に示
すように、テンポラリファイルBには、「#3」ノード
をトップノードとするスキーマの文書オブジェクトツリ
ーをXML文書に変換した結果が出力されている。
Next, the process proceeds to a step S28. As shown in FIG. 25, a result obtained by converting the document object tree of the schema having the “# 3” node as the top node into an XML document is output to the temporary file B.

【0167】図20のステップS10で、図24に示し
た合成文書と、図25に示したスキーマとで妥当性のチ
ェックを行ったとき、合成文書の文書構造と、スキーマ
により定義されている文書構造とは一致する、この場
合、ステップS11からステップS13へ進む。
In step S10 in FIG. 20, when the validity of the composite document shown in FIG. 24 and the schema shown in FIG. 25 are checked, the document structure of the composite document and the document defined by the schema are checked. The structure matches. In this case, the process proceeds from step S11 to step S13.

【0168】ステップS13では、格納文書の文書オブ
ジェクトツリーが、文書オブジェクトOx0下に追加さ
れる。すなわち、文書格納部21により、格納文書の文
書オブジェクトツリーを構成する各文書オブジェクト
(のファイル)にオブジェクトIDが与えられ、文書オ
ブジェクトOx0から格納文書の文書オブジェクトツリ
ーの先頭の文書オブジェクトへリンクが張られる。そし
て、文書オブジェクトツリー格納部41により、格納文
書の文書オブジェクトツリーを構成する各文書オブジェ
クト(のファイル)が文書記憶部5に格納される。
In step S13, the document object tree of the stored document is added below the document object Ox0. That is, the document storage unit 21 assigns an object ID to each of the document objects (files) constituting the document object tree of the stored document, and links the document object Ox0 to the first document object of the document object tree of the stored document. Can be Then, the document objects (files) constituting the document object tree of the stored document are stored in the document storage unit 5 by the document object tree storage unit 41.

【0169】次に、ステップS14へ進み、インデック
ス記憶部6のインデックスを更新する。
Then, the process proceeds to a step S14, wherein the index in the index storage unit 6 is updated.

【0170】なお、ステップS8で、文書オブジェクト
Ox0のもつ属性値の値が「0」のときは、上述したス
キーマを用いた合成文書の文書構造の妥当性のチェック
を行わずに、そのままマステップS13へ進み、格納文
書の文書オブジェクトツリーを、文書オブジェクトOx
0下に追加し(ステップS13)、それに伴い、インデ
ックス記憶部6のインデックスを更新する(ステップS
14)。
If the attribute value of the document object Ox0 is “0” in step S8, the validity of the document structure of the composite document using the above-described schema is not checked, and the Proceeding to S13, the document object tree of the stored document is stored in the document object Ox.
0 (step S13), and the index in the index storage unit 6 is updated accordingly (step S13).
14).

【0171】(1−2)文書取得処理 次に、図1の構造化文書管理システムの文書取得処理動
作について、図26に示すフローチャートを参照して説
明する。
(1-2) Document Acquisition Processing Next, the document acquisition processing operation of the structured document management system of FIG. 1 will be described with reference to the flowchart shown in FIG.

【0172】クライアント端末から構造化文書管理シス
テムに対し、文書取得要求として、取得コマンド、スキ
ーマ取得コマンドのうちのいずれかが送信されて、要求
受付部11にて受け付けられたとき、図26に示した処
理動作を行う。
FIG. 26 shows a case where one of an acquisition command and a schema acquisition command is transmitted as a document acquisition request from the client terminal to the structured document management system and accepted by the request accepting unit 11. Perform the processing operation.

【0173】例えば、ユーザが図36に示したような文
書の格納/削除画面上の領域W1の「特許DB」をマウ
ス等で選択すると(クリックすると)、構造化文書パス
の入力領域W2に、「uix://root/特許D
B」と表示されとともに、「getXML(“uix:
//root/特許DB”)」なる取得コマンドが構造
化文書管理システムへ送信される。
For example, when the user selects (clicks on) “Patent DB” in the area W1 on the document storage / deletion screen as shown in FIG. 36 with a mouse or the like, the input area W2 of the structured document path becomes "Ux: // root / Patent D
B "and" getXML ("uix:
/// root / patent DB ")" is transmitted to the structured document management system.

【0174】ここでは、例えば、構造化文書データベー
スが、図8に示した状態のときに、「getXML
(“uix://root/特許DB”)」なる取得コ
マンドを受け付けた場合を例にとり説明する。
Here, for example, when the structured document database is in the state shown in FIG.
(“Ux: // root / patent DB”) ”will be described as an example.

【0175】要求受付部11は、上記取得コマンドを受
け付けると、上記取得コマンド中のパラメータである構
造化文書パス「uix://root/特許DB」を文
書取得部22へ渡す(ステップS31)。
Upon receiving the acquisition command, the request receiving unit 11 passes the structured document path “uix: // root / patent DB”, which is a parameter in the acquisition command, to the document acquisition unit 22 (step S31).

【0176】文書取得部22は、パスから文書オブジェ
クトツリー取得部45へ構造化文書パスを渡す。パスか
ら文書オブジェクトツリー取得部45は、構造化文書パ
スから文書記憶部5中の物理的なエリアを特定すること
により、そのエリアに存在する構造化文書パスにて表さ
れたノード(文書オブジェクトOx5)を取り出す(ス
テップS32)。構造化文書パスの指定が正しければ、
文書オブジェクトOx5のオブジェクトIDを取得する
ことができるので(ステップS33)、その場合は、ス
テップS35へ進む。
The document acquisition unit 22 passes the structured document path from the path to the document object tree acquisition unit 45. From the path, the document object tree acquisition unit 45 specifies a physical area in the document storage unit 5 from the structured document path, and thereby a node (document object Ox5) represented by the structured document path existing in that area. ) Is taken out (step S32). If the specification of the structured document path is correct,
Since the object ID of the document object Ox5 can be obtained (step S33), in that case, the process proceeds to step S35.

【0177】例えば、上記取得コマンドの場合、「#
2」ノードが文書オブジェクトOx5となるので、その
オブジェクトIDとして、「#2」を取得するととも
に、この「#2」ノード以下の文書オブジェクトツリー
Ot5(「#2」ノード、「#42」ノード〜「#4
9」ノード、「#52」ノード以下、「#62」ノード
以下)を取得する(ステップS35)。
For example, in the case of the above acquisition command, "#
Since the “2” node is the document object Ox5, “# 2” is acquired as the object ID, and the document object tree Ot5 (“# 2” node, “# 42” node to “# 42” node) below this “# 2” node is acquired. "# 4
9 "node,"# 52 "node or less,"# 62 "node or less) are acquired (step S35).

【0178】ステップS32において、指定された構造
化文書パスからそれに対応する文書オブジェクトOx5
が見つからなければ、エラーとなり(ステップS3
3)、文書取得部22,結果処理部12を介して、クラ
イアント端末に「文書取得失敗」の旨のメッセージを返
す(ステップS34)。
At step S32, the designated document object Ox5 is extracted from the designated structured document path.
If not found, an error occurs (step S3).
3) Return a message indicating "document acquisition failed" to the client terminal via the document acquisition unit 22 and the result processing unit 12 (step S34).

【0179】ステップS35で取得した文書オブジェク
トツリーOt5は、文書文字列取得部44でXML文書
に変換される。例えば、上記取得コマンドの場合、取得
したXML文書は、図11に示すような3つの「特許」
情報のXML文書となる。
The document object tree Ot5 obtained in step S35 is converted into an XML document by the document character string obtaining unit 44. For example, in the case of the above acquisition command, the acquired XML document includes three “patents” as shown in FIG.
It becomes an XML document of information.

【0180】文書取得部22は、結果処理部12を介し
て、図11に示したようなXML文書を(例えば、XS
L(eXtensible Style Langua
ge)といった所定のスタイルシートとともに)、クラ
イアント端末へ返す(ステップS37)。
The document acquiring section 22 outputs the XML document as shown in FIG.
L (extensible Style Langua)
ge)) and returns it to the client terminal (step S37).

【0181】クライアント端末では、図11に示したX
ML文書を、スタイルシートを用いてHTMLデータに
変換して、例えば、図36に示すように、領域W2に表
示する。
At the client terminal, X shown in FIG.
The ML document is converted into HTML data using a style sheet, and is displayed in an area W2, for example, as shown in FIG.

【0182】XSLを利用すると、XML文書を様々な
形に変換することが出来る。違う構文書造のXML文書
に変換することも出来るし、XML文書からHTMLペ
ージを生成することも出来る。
By using XSL, an XML document can be converted into various forms. It can be converted to an XML document with a different syntax, and an HTML page can be generated from the XML document.

【0183】(1−3)文書削除処理 次に、図1の構造化文書管理システムの文書削除処理動
作について、図27に示すフローチャートを参照して説
明する。
(1-3) Document Deletion Processing Next, the document deletion processing operation of the structured document management system of FIG. 1 will be described with reference to the flowchart shown in FIG.

【0184】クライアント端末から構造化文書管理シス
テムに対し、文書削除要求として、削除コマンドが送信
されて、要求受付部11にて受け付けられたとき、図2
7に示した処理動作を行う。
When a deletion command is transmitted from the client terminal to the structured document management system as a document deletion request and is received by the request receiving unit 11, FIG.
The processing operation shown in FIG.

【0185】例えば、ユーザが図36に示したような文
書の格納/削除画面上の領域W1の「特許DB」をマウ
ス等で選択すると(クリックすると)、構造化文書パス
の入力領域W2に、「uix://root/特許D
B」と表示され、さらに、「削除」ボタンB2を選択す
ると「removeXML(“uix://root/
特許DB”)」なる削除コマンドが構造化文書管理シス
テムへ送信される。
For example, when the user selects (clicks) “Patent DB” in the area W1 on the document storage / deletion screen as shown in FIG. 36 with a mouse or the like, the structured document path input area W2 becomes "Ux: // root / Patent D
B "is displayed, and when the" delete "button B2 is selected," removeXML ("uix: // root /
A patent DB “)” delete command is transmitted to the structured document management system.

【0186】ここでは、例えば、構造化文書データベー
スが、図14に示した状態のときに、「removeX
ML(“uix://root/特許DB/特許[0]
/出願日”)」なる削除コマンドを受け付けた場合を例
にとり説明する。
Here, for example, when the structured document database is in the state shown in FIG. 14, “removeX
ML ("uix: // root / patent DB / patent [0]
An example in which a delete command “/ application date“) ”is received will be described.

【0187】要求受付部11は、上記削除コマンドを受
け付けると、上記削除コマンド中のパラメータである構
造化文書パス「uix://root/特許DB/特許
[0]/出願日」を文書削除部23へ渡す(ステップS
41)。
Upon receiving the deletion command, the request receiving unit 11 copies the structured document path “uix: // root / patent DB / patent [0] / filing date”, which is a parameter in the deletion command, to the document deleting unit. 23 (Step S
41).

【0188】次に、文書削除部23は、パスから文書オ
ブジェクトツリー取得部45へ構造化文書パスを渡す。
パスから文書オブジェクトツリー取得部45は、構造化
文書パスから文書記憶部5中の物理的なエリアを特定す
ることにより、そのエリアに存在する構造化文書パスに
て表されたノード(文書オブジェクトOx0)を含む文
書オブジェクトツリーを取り出す(ステップS42)。
構造化文書パスの指定が正しければ、文書オブジェクト
Ox0のオブジェクトIDを取得することができるので
(ステップS43)、その場合は、ステップS45へ進
む。
Next, the document deletion unit 23 passes the structured document path from the path to the document object tree acquisition unit 45.
From the path, the document object tree acquisition unit 45 specifies a physical area in the document storage unit 5 from the structured document path, and thereby a node (document object Ox0) represented by the structured document path existing in that area. ) Is extracted (step S42).
If the specification of the structured document path is correct, the object ID of the document object Ox0 can be obtained (step S43). In that case, the process proceeds to step S45.

【0189】例えば、上記削除コマンドの場合、「#4
4」ノードが文書オブジェクトOx0となるので、その
オブジェクトIDとして、「#44」を取得するととも
に、この「#44」ノードを含む文書オブジェクトツリ
ー(例えば、「#44」ノードの全ての子孫ノードと
「#44」ノードと同じ階層にある全ての(兄弟)ノー
ドと、「#44」ノードの親ノードである「#42」ノ
ード、その親ノードである「#2」ノードとからなる文
書オブジェクトツリー)を取得する。
For example, in the case of the above delete command, “# 4
Since the “4” node is the document object Ox0, “# 44” is acquired as the object ID, and a document object tree including this “# 44” node (for example, all descendant nodes of the “# 44” node and A document object tree including all (sibling) nodes in the same hierarchy as the “# 44” node, a “# 42” node that is a parent node of the “# 44” node, and a “# 2” node that is the parent node ) To get.

【0190】指定された構造化文書パスからそれに対応
する文書オブジェクトOx0が見つからなければ、エラ
ーとなり(ステップS43)、文書格納部21,結果処
理部12を介して、クライアント端末に「文書削除失
敗」の旨のメッセージを返す(ステップS44)。
If the corresponding document object Ox0 is not found from the designated structured document path, an error occurs (step S43), and the client terminal via the document storage unit 21 and the result processing unit 12 sends a "document deletion failure". Is returned (step S44).

【0191】次に、ステップS45では、文書オブジェ
クトOx0にスキーマが存在するか否かを検査する。こ
の検査は、前述したように、各文書オブジェクトのファ
イルに属性値が記述されているので、この値をチェック
すればよい。文書オブジェクトOx0のもつ属性値の値
が「1」のときは、ステップS46へ進む。
Next, in a step S45, it is checked whether or not a schema exists in the document object Ox0. In this inspection, as described above, since the attribute value is described in the file of each document object, this value may be checked. If the attribute value of the document object Ox0 is “1”, the process proceeds to step S46.

【0192】以下、図27のステップS46の処理(合
成文書作成部47の処理(削除コマンド用))につい
て、図28に示すフローチャートを参照して詳細に説明
する。
Hereinafter, the processing of step S46 in FIG. 27 (the processing of the composite document creation unit 47 (for the delete command)) will be described in detail with reference to the flowchart shown in FIG.

【0193】なお、図28において、図21と同一部分
は同一符号を付している。
In FIG. 28, the same parts as those in FIG. 21 are denoted by the same reference numerals.

【0194】文書格納部21は、ステップS42で取得
した文書オブジェクトツリーを合成文書作成部47へ渡
す。
The document storage unit 21 passes the document object tree obtained in step S42 to the composite document creation unit 47.

【0195】合成文書作成部47は、この文書オブジェ
クトツリーを文書オブジェクトOx0から遡り、「Sc
hema」タグを子要素として持つ文書オブジェクトO
x1を検索する(ステップS21)。
The synthetic document creating section 47 traces this document object tree back from the document object Ox0, and returns “Sc
document object O having a "hema" tag as a child element
x1 is searched (step S21).

【0196】例えば、図14に示した構造化文書データ
ベースでは、文書オブジェクトOx0としての「#4
4」ノードの上流にある「#2」ノードから「Sche
ma」タグをトップ(先頭)にもつノード(「#3」ノ
ード)へのリンクが張られているので(「Schem
a」タグを子要素として持つので)、この「#2」ノー
ドが文書オブジェクトOx1となる。
For example, in the structured document database shown in FIG. 14, “# 4” as the document object Ox0
From the "# 2" node upstream of the "4" node
Since the link to the node (“# 3” node) having the “ma” tag at the top (top) is provided (“Schem”).
The “# 2” node becomes the document object Ox1 because the “a” tag is included as a child element).

【0197】この文書オブジェクトOx1から文書オブ
ジェクトOx0、さらに文書オブジェクトOx0からア
ークを辿って、その下流にある、文書オブジェクトの属
性値の値が「1」である全ての子ノードからなる文書オ
ブジェクトツリーOt1を取り出す(ステップS2
3)。
The document object Ox1 to the document object Ox0, and further tracing an arc from the document object Ox0, a document object tree Ot1 downstream of the document object consisting of all the child nodes whose attribute value of the document object is "1". (Step S2)
3).

【0198】例えば、上記追加コマンド中のパラメータ
の構造化文書パスが「uix://root/特許DB
/特許[0]/出願日」と指定されているとき、文書オ
ブジェクトツリーOt1は、「#42」ノード〜「#4
9」ノードから構成されたものとなる(図14参照)。
For example, the structured document path of the parameter in the additional command is “ux: // root / patent DB”
/ Patent [0] / filed date ", the document object tree Ot1 includes nodes"# 42 "to"# 4 ".
9 "node (see FIG. 14).

【0199】次に、ステップS26ヘ進み、文書オブジ
ェクトツリーOt1から文書オブジェクトOx0以下の
文書オブジェクトツリーを削除する。その結果得られた
新たな文書オブジェクトツリーを文書オブジェクトツリ
ーOt2とする。
Then, the process proceeds to a step S26 to delete the document object tree below the document object Ox0 from the document object tree Ot1. The resulting new document object tree is referred to as a document object tree Ot2.

【0200】この文書オブジェクトツリーOt2をXM
L文書に変換し、それをテンポラリファイルAに出力す
る(ステップS27)。
The document object tree Ot2 is converted to an XM
The document is converted into an L document and output to a temporary file A (step S27).

【0201】例えば、上記削除コマンド中のパラメータ
の構造化文書パス「uix://root/特許DB/
特許[0]/出願日」が指し示す「#44」ノード以下
の文書オブジェクトツリーを「#42」ノード〜「#4
9」ノードで構成された文書オブジェクトツリーOt1
から削除することにより得られた合成文書の文書オブジ
ェクトツリーOt2をXML文書に変換した結果を図2
9に示す。この合成文書は、もともとある「特許」情報
から「<出願日>…</出願日>」というデータを削除
したものとなっている。
For example, the structured document path “uix: // root / patent DB /
The document object tree below the “# 44” node indicated by “Patent [0] / filing date” is changed from “# 42” node to “# 4”.
Document object tree Ot1 composed of "9" nodes
FIG. 2 shows the result of converting the document object tree Ot2 of the composite document obtained by deleting the
It is shown in FIG. This synthetic document is obtained by deleting data of “<application date>... </ Application date>” from the original “patent” information.

【0202】図29に示したXML文書、すなわち、合
成文書がテンポラリファイルAに出力され、テンポラリ
ファイルAに一時格納される。
The XML document shown in FIG. 29, that is, the synthesized document is output to the temporary file A, and is temporarily stored in the temporary file A.

【0203】一方、スキーマタグ以下の文書オブジェク
トツリーOt3をXML文書に変換して、それをテンポ
ラリファイルBに出力する(ステップS28)。すなわ
ち、テンポラリファイルBには、スキーマ文書が一時格
納されることになる。
On the other hand, the document object tree Ot3 below the schema tag is converted into an XML document and output to a temporary file B (step S28). That is, the schema document is temporarily stored in the temporary file B.

【0204】例えば、文書オブジェクトツリーOt3で
ある「#3」ノードをトップノードとする文書オブジェ
クトツリーをXML文書に変換した結果を図30に示
す。図30に示したXML文書がテンポラリファイルB
に出力され、テンポラリファイルBに一時格納される。
For example, FIG. 30 shows a result obtained by converting a document object tree having the “# 3” node, which is the document object tree Ot3, as a top node into an XML document. The XML document shown in FIG.
And temporarily stored in a temporary file B.

【0205】次に、図27の説明に戻る。Next, the description returns to FIG.

【0206】ステップS47では、文書削除部21は文
書パーサ部46に、合成文書のテンポラリファイルAと
スキーマのテンポラリファイルBとを与えて、文書格納
処理の場合と同様にして、合成文書の文書構造の妥当性
をチェックする。
In step S47, the document deleting section 21 provides the document parser section 46 with the temporary file A of the composite document and the temporary file B of the schema, and executes the document structure of the composite document in the same manner as in the document storing process. Check the validity of

【0207】例えば、図29に示した合成文書と、図3
0に示したスキーマとで妥当性のチェックを行った場
合、合成文書には、スキーマにより定義されている「出
願日」という要素が存在しないため、図29の合成文書
は、妥当性のチェックでエラーとなる(ステップS4
8)。この場合、文書削除部21,結果処理部12を介
して、クライアント端末に「文書削除失敗」の旨のメッ
セージを返す(ステップS49)。
For example, the composite document shown in FIG.
When the validity check is performed with the schema shown in FIG. 0, there is no element called “filing date” defined by the schema in the synthetic document. An error occurs (step S4
8). In this case, a message indicating "document deletion failed" is returned to the client terminal via the document deletion unit 21 and the result processing unit 12 (step S49).

【0208】なお、構造化文書データベースが、図14
に示した状態のときに、「removeXML(“ui
x://root/特許DB/特許[0]”)」なる削
除コマンドを、図27に従って処理を行うと、図28の
ステップS27において、図24に示したような合成文
書がテンポラリファイルAに出力される。テンポラリフ
ァイルBは、図30と同様である。
Note that the structured document database corresponds to FIG.
In the state shown in, “removeXML (“ ui
When the delete command “x: // root / patent DB / patent [0]”) ”is processed according to FIG. 27, the combined document as shown in FIG. Is output. The temporary file B is the same as in FIG.

【0209】このとき、図24に示した合成文書と、図
30に示したスキーマとで妥当性のチェックを行った場
合、合成文書の文書構造と、スキーマにより定義されて
いる文書構造とは一致するので、ステップS48からス
テップS50へ進む。
At this time, when the validity of the composite document shown in FIG. 24 and the schema shown in FIG. 30 are checked, the document structure of the composite document matches the document structure defined by the schema. Therefore, the process proceeds from step S48 to step S50.

【0210】ステップS50では、文書オブジェクトO
x0以下の文書オブジェクトツリーを削除する。すなわ
ち、文書オブジェクトツリー削除部42により、文書オ
ブジェクトOx0以下の文書オブジェクトツリーを構成
する各文書オブジェクト(のファイル)が文書記憶部5
から削除される。例えば、「#2」ノードから「#4
2」ノード以下の文書オブジェクトのファイルが削除さ
れる。
In step S50, the document object O
Delete the document object tree below x0. That is, the document object tree deletion unit 42 stores (the files of) each document object constituting the document object tree of the document object Ox0 or lower in the document storage unit 5.
Removed from. For example, from “# 2” node to “# 4”
The file of the document object under the "2" node is deleted.

【0211】次に、ステップS51へ進み、インデック
ス記憶部6のインデックスを更新する。また、クライア
ント端末の図36に示したような表示画面の領域W1に
は、「特許[0]」が表示さなくなる。
Then, the flow advances to a step S51 to update the index in the index storage unit 6. Further, “Patent [0]” is not displayed in the area W1 of the display screen of the client terminal as shown in FIG.

【0212】なお、ステップS45で、文書オブジェク
トOx0のもつ属性値の値が「0」のときは、上述した
スキーマを用いた合成文書の文書構造の妥当性のチェッ
クを行わずに、そのままマステップS50へ進み、文書
オブジェクトOx0以下の文書オブジェクトツリーを削
除し(ステップS50)、それに伴う、インデックス記
憶部6のインデックスを更新する(ステップS51)。
If the value of the attribute value of the document object Ox0 is “0” in step S45, the validity of the document structure of the composite document using the above-described schema is not checked, and the Proceeding to S50, the document object tree below the document object Ox0 is deleted (step S50), and the index in the index storage unit 6 is updated accordingly (step S51).

【0213】(1−4)スキーマの設定、スキーマを用
いた文書格納 図31に示した画面上で、ユーザが「Schema設定
Win」をマウス等のポインティングデバイスなどを用
いて選択すると、図37に示したようなスキーマの設定
を行うためのユーザインタフェースとしての画面が表示
される。
(1-4) Schema Setting, Document Storage Using Schema When the user selects “Schema setting Win” on the screen shown in FIG. 31 using a pointing device such as a mouse, etc., FIG. A screen as a user interface for setting the schema as shown is displayed.

【0214】ユーザが、領域W3に、例えば、図12に
示したような「特許」情報のスキーマを入力し、この入
力したスキーマを「特許DB」以下のノードに設定する
場合には、領域W1から「特許DB」をマウス等でクリ
ックして選択した後(領域W2には、「uix://r
oot/特許DB」が表示される)、「スキーマ設定」
ボタンB3を選択する。すると、「setSchema
(“uix://root/特許DB”,“<Sche
ma>…</Schema>”)」なるスキーマ格納コ
マンドが構造化文書管理システムへ送信される。このコ
マンドの処理は前述した文書格納処理動作と同様であ
る。
When the user inputs, for example, a schema of “patent” information as shown in FIG. 12 in the area W3 and sets the input schema in a node under “patent DB”, the area W1 From the “Patent DB” by clicking with a mouse or the like (in the area W2, “uiix: // r
"Oot / Patent DB" is displayed), "Schema setting"
Select button B3. Then, "setSchema
(“Ux: // root / patent DB”, “<Sche
ma> ... </ Schema>")" is transmitted to the structured document management system. The processing of this command is the same as the document storage processing operation described above.

【0215】次に、「uix://root/特許D
B」の下に「特許」情報を格納しようとするとき、「特
許DB」以下のノードに既に設定されているスキーマを
用いて「特許」情報を入力する場合について説明する。
Next, "uiix: // root / Patent D"
A case where “patent” information is to be stored under “B” by inputting “patent” information using a schema that has already been set in nodes below “patent DB” will be described.

【0216】まず、スキーマを取得する。例えば、図3
8に示すような文書の格納/削除を行うための画面の領
域W1から「スキーマ」をマウス等を用いて選択する
と、文書パスの入力領域W2に、「uix://roo
t/特許DB/#Schema」と表示されとともに、
「getXML(“uix://root/特許DB/
Schema”)」なるスキーマ取得コマンドが構造化
文書管理システムへ送信される。
First, a schema is obtained. For example, FIG.
When a “schema” is selected from a region W1 of the screen for storing / deleting a document as shown in FIG. 8 using a mouse or the like, “uiix: /// root” is displayed in a document path input region W2.
t / Patent DB / # Schema "
"GetXML (" uix: // root / patent DB /
A schema acquisition command “Schema”) is transmitted to the structured document management system.

【0217】このコマンドの処理は、前述した文書取得
処理と同様である。構造化文書管理システムから返され
るXML文書は、図38の画面の領域W3に表示され
る。
The processing of this command is the same as the above-described document acquisition processing. The XML document returned from the structured document management system is displayed in the area W3 on the screen in FIG.

【0218】図38に示すように、領域R3には、「特
許」情報のデータ入力領域が各要素毎に設定されて表示
されている。この表示に従って、ユーザは、データを入
力すればよい。例えば、「タイトル」、「年」などのデ
ータ入力領域が階層的に配置され、表示されている。ユ
ーザは、このデータ入力領域にデータを入力すること
で、スキーマにより定義された文書構造の格納文書が容
易に作成することができる。
As shown in FIG. 38, in a region R3, a data input region of “patent” information is set and displayed for each element. In accordance with this display, the user may input data. For example, data input areas such as "title" and "year" are hierarchically arranged and displayed. The user can easily create a stored document having a document structure defined by the schema by inputting data into the data input area.

【0219】また、領域W3に入力した「特許」情報の
格納先として、領域W1で「特許DB」をマウス等を用
いて選択すると、領域W2に構造化文書パスとして、
「uix://root/特許DB」が表示される。そ
の後、「登録」ボタンB1を選択すると、「appen
dXML(“uix://root/特許DB”,“<
特許>…</特許>”)」なる追加コマンドが構造化文
書管理システムへ送信される。
When "patent DB" is selected in the area W1 using a mouse or the like as a storage destination of the "patent" information input in the area W3, a structured document path is stored in the area W2 as a structured document path.
“Uix: // root / patent DB” is displayed. After that, when the “register” button B1 is selected, “appen
dXML (“uix: // root / patent DB”, “<
An additional command "patent> ... </ patent>") "is transmitted to the structured document management system.

【0220】この場合、格納文書は、予めスキーマに従
って入力されたものなので、図20のステップS10の
妥当性チェックでエラーとなることはない。
In this case, since the stored document is input in advance according to the schema, no error occurs in the validity check in step S10 in FIG.

【0221】(2)検索機能 図1の構造化文書管理システムにおける検索系のコマン
ドには以下のものがある。
(2) Search Function Search commands in the structured document management system of FIG. 1 include the following.

【0222】query(ql) 「query」は、パラメータとして( )内のクエリ
qlを実行し、その結果のXML文書を取得するコマン
ド(以下、検索コマンドと呼ぶ)である。
Query (ql) "query" is a command (hereinafter referred to as a search command) for executing the query ql in parentheses as a parameter and obtaining the resulting XML document.

【0223】クエリは、図39に示すように、SQL
(Structured QueryLanguag
e)に似た形式の言語により、検索位置、検索条件、情
報抽出部分などを記述した、構造化されたXML文書で
ある。クエリ文書も本発明の構造化文書管理システムの
管理対象である。
As shown in FIG. 39, the query is SQL
(Structured QueryLanguag
This is a structured XML document that describes search positions, search conditions, information extraction parts, and the like in a language similar to e). Query documents are also managed by the structured document management system of the present invention.

【0224】「kf:from」タグから始まる要素に
は、検索位置の指定と文書要素の値に変数を対応付ける
記述があり、「kf:where」タグのから始める要
素には、変数に関する条件づけの記述があり、「kf:
select」タグから始まる要素には、検索結果の出
力形式が記述される。
[0224] The element starting from the "kf: from" tag has a description for specifying a search position and associating a variable with the value of a document element. The element starting from the "kf: where" tag includes a description of a condition relating to the variable. There is a description, "kf:
The element starting with the “select” tag describes the output format of the search result.

【0225】検索には、単純検索と概念検索とがある。
単純検索とは、クエリ中に指定された検索条件を満たす
情報を検索・抽出するものであり、概念検索とは、クエ
リ中に指定された概念情報を利用して、クエリ中に指定
された検索条件を満たす情報を検索・抽出するものであ
る。
The search includes a simple search and a concept search.
Simple search is to search and extract information that satisfies the search condition specified in the query. Concept search is the search specified in the query using the concept information specified in the query. It searches and extracts information that satisfies the conditions.

【0226】図40は、単純検索のクエリの例を示した
ものである。図40のクエリは、例えば、図14に示し
たような状態の構造化文書データベースに対し、「特許
DB」アークが示すノード以下に格納されている「特
許」情報の文書群において、「1999年でかつ、「P
C」のような内容の「要約」という要素をもつ文書
(「特許」情報)の「タイトル」を列挙せよ」という検
索要求を意味している。
FIG. 40 shows an example of a simple search query. The query in FIG. 40 is, for example, in the structured document database in a state as shown in FIG. 14, in the document group of “patent” information stored under the node indicated by the “patent DB” arc, “1999” And "P
C "means a search request to enumerate the" title "of a document (" patent "information) having an element of" summary "such as" C ".

【0227】「kf:from」タグから始まる要素の
記述により、変数「$t」、「$y」、「$s」に、そ
れぞれ「特許」情報の「タイトル」、「年」、「要約」
という文書要素の値が代入される。
According to the description of the element starting from the “kf: from” tag, the “title”, “year”, and “summary” of the “patent” information are added to the variables “$ t”, “$ y”, and “$ s”, respectively.
Is assigned.

【0228】「kf:where」タグから始める要素
の記述により、変数「$y」=「1999」という比較
がなされる。また、コンポーネント「MyLike」は
変数「$s」と「PC」を引数として、「PC」と類似
する値の変数「$s」を検知するための関数である。
With the description of the element starting from the “kf: where” tag, a comparison is made that the variable “$ y” = “1999”. The component “MyLike” is a function for detecting a variable “$ s” having a value similar to “PC” using the variables “$ s” and “PC” as arguments.

【0229】「kf:from」タグから始まる要素の
記述により、変数「$t」が出力値として利用される。
By describing the element starting from the “kf: from” tag, the variable “$ t” is used as an output value.

【0230】なお、「kf:star」タグは構造の曖
昧表現であり、例えば「<特許><kf:star><
年>」は「タグ名が「特許」である要素の子孫の要素と
していずれかに存在し、タグ名が「年」である要素」を
意味する。
The “kf: star” tag is an ambiguous expression of the structure, for example, “<patent><kf:star><
"Year>" means "an element which exists as a descendant element of an element whose tag name is" patent "and whose tag name is" year "".

【0231】図41に図40の単純検索のクエリを用い
た検索結果を示す。この検索結果もXML文書である。
FIG. 41 shows a search result using the simple search query shown in FIG. This search result is also an XML document.

【0232】図42は、概念検索のクエリの例を示した
ものである。図42のクエリは、例えば図18,図19
に示すような状態の構造化文書データベースに対し、
「特許DB」アークが示すノード以下に格納されている
「特許」情報の文書群に対し、「概念DB」アークが示
すノード以下に格納されている「概念」情報を利用して
検索するための検索要求である。ここで、概念「周辺装
置」の値をもつタグの子要素の値には、概念「SCS
I」、「メモリ」、「HDD」などがあるものとする。
また、図18には示していないが、各「特許」情報の構
成要素には、「キーワード」タグから始める要素も存在
するものとする。
FIG. 42 shows an example of a concept search query. The query shown in FIG.
The structured document database in the state shown in
For searching for a document group of "patent" information stored under the node indicated by the "patent DB" arc using "concept" information stored under the node indicated by the "concept DB" arc Search request. Here, the value of the child element of the tag having the value of the concept “peripheral device” includes the concept “SCS”.
I "," memory "," HDD ", and the like.
Although not shown in FIG. 18, it is assumed that each component of the “patent” information includes an element starting with a “keyword” tag.

【0233】すなわち、図42のクエリは、「概念「周
辺装置」以下の概念のいずれかを「キーワード」という
要素の値にもつ文書(「特許」情報)の「タイトル」を
列挙せよ」という検索要求を意味している。
That is, the query in FIG. 42 is a search for “enumerate the“ titles ”of documents (“ patent ”information) having any of the concepts below the concept“ peripheral device ”in the value of the element“ keyword ”. Means request.

【0234】「kf:from」タグから始まる要素の
記述により、変数「$t」、変数「$k」に、それぞ
れ、「特許」情報の「タイトル」、「キーワード」とい
う要素の値が代入される。また、変数「$x」は「概
念」情報として「周辺装置」の値をもつタグの子要素の
値(「SCSI」、「メモリ」、「HDD」など)が代
入される。
According to the description of the element starting from the “kf: from” tag, the values of the “title” and “keyword” elements of the “patent” information are substituted into the variable “$ t” and the variable “$ k”, respectively. You. The value of the child element of the tag having the value of “peripheral device” (“SCSI”, “memory”, “HDD”, etc.) is substituted for the variable “$ x” as “concept” information.

【0235】「kf:where」タグから始める要素
の記述により、「$k」=「周辺装置」もしくは「$
k」=「$x」という比較がなされる。
According to the description of the element starting from the “kf: where” tag, “$ k” = “peripheral device” or “$
A comparison is made that “k” = “$ x”.

【0236】次に、図1の構造化文書管理システムの文
書検索処理動作について、図43に示すフローチャート
を参照して説明する。
Next, the document search processing operation of the structured document management system of FIG. 1 will be described with reference to the flowchart shown in FIG.

【0237】図31に示した画面上で、ユーザが「XM
L検索Win」をマウス等のポインティングデバイスな
どを用いて選択すると、図44に示すような文書検索を
行うためのユーザインタフェースとしての画面が表示さ
れる。
[0237] On the screen shown in FIG.
When "L search Win" is selected using a pointing device such as a mouse, a screen as a user interface for performing a document search as shown in FIG. 44 is displayed.

【0238】図44の検索画面において、領域W1に
は、前述同様、構造化文書データベースの現在のツリー
構造の要素名(タグ名)がユーザが理解可能なように簡
略的に表示されてている。
In the search screen of FIG. 44, the element name (tag name) of the current tree structure of the structured document database is simply displayed in the area W1 so that the user can understand it, as described above. .

【0239】領域W2は、検索対象の範囲(ツリー構造
上の検索範囲)や、検索条件などを入力するための領域
である。領域W3には、検索結果が表示される。
The area W2 is an area for inputting a search target range (a search range in a tree structure), a search condition, and the like. The search result is displayed in the area W3.

【0240】例えば、「「uix://root」以下
の「特許」を先頭タグに持つ文書の中から、「タイト
ル」タグに「文書」という文字列を含み、「1998」
年以降に作成された文書を検索せよ」という検索要求の
場合には、領域W1から「root」をマウス等で選択
して検索対象の範囲として、構造化文書パスを入力す
る。そして、トップノードとして、「特許」を入力する
(この場合、領域W1から「特許」をマウス等で選択す
ることにより入力してもよい)。また、検索条件とし
て、「「タイトル」という要素の値に「文書」という文
字列を含む」「「年」という要素の値が「1998」以
上である」という内容を予め設定されたデータ入力領域
に入力すればよい。
For example, among documents having a heading of “patent” under “ux: // root”, a character string “document” is included in a “title” tag, and “1998”
In the case of a search request of "search for documents created after the year", "root" is selected from the area W1 with a mouse or the like, and a structured document path is input as a search target range. Then, "patent" is input as the top node (in this case, "patent" may be input by selecting the "patent" from the area W1 with a mouse or the like). In addition, as a search condition, the contents of “the value of the element“ title ”includes the character string of“ document ”” and “the value of the element“ year ”is“ 1998 ”or more” are set in the preset data input area. Should be entered.

【0241】その後、「検索」ボタンB21を選択する
ことにより、例えば、図45に示すようなクエリが、当
該クエリを構造化文書データベース上に格納するための
追加コマンドとともに構造化文書管理システムへ送信さ
れる。クエリの格納場所は、予め定められており、シス
テム側が自動的に、この追加コマンドのパラメータを設
定することとなる。例えば、構造化文書データベースが
図18に示した状態のとき、当該クエリの格納場所を表
すパラメータとしての構造化文書パスは、「uix:/
/root/クエリDB」となる。また、追加コマンド
のもう一方のパラメータは、当該クエリ文書である。
Then, by selecting the "search" button B21, for example, a query as shown in FIG. 45 is transmitted to the structured document management system together with an additional command for storing the query in the structured document database. Is done. The storage location of the query is determined in advance, and the system automatically sets the parameters of this additional command. For example, when the structured document database is in the state shown in FIG. 18, the structured document path as a parameter indicating the storage location of the query is “uix: //
/ Root / query DB ". The other parameter of the additional command is the query document.

【0242】要求受付部11は、上記クエリを受け付け
ると(ステップS101)、当該クエリを検索要求処理
部3へ渡す。そして、当該クエリ文書を格納するための
追加コマンドのパラメータを文書格納部21へ渡す。こ
の追加コマンドの処理を、前述同様に行って、当該クエ
リは、文書記憶部5に格納される。
Upon receiving the above query (step S101), the request receiving unit 11 passes the query to the search request processing unit 3. Then, the parameter of the additional command for storing the query document is passed to the document storage unit 21. This additional command is processed in the same manner as described above, and the query is stored in the document storage unit 5.

【0243】例えば、図42に示すようなクエリの場
合、構造化文書データベースには、図46に示すように
展開されて、構造化文書パス「uix://root/
クエリDB」の示す「#301」ノード以下にリンクさ
れる。
For example, in the case of a query as shown in FIG. 42, it is expanded in the structured document database as shown in FIG. 46, and the structured document path “uix: // root /
It is linked to a node under “# 301” node indicated by “query DB”.

【0244】一方、検索要求処理部3では、受け取った
クエリを基に、データアクセス部4を通してインデック
ス記憶部6,文書記憶部5にアクセスし、検索要求に合
致する文書集合などを取得して、クエリの中で要求され
た情報を抽出して結果処理部12を介して出力する。
On the other hand, the search request processing unit 3 accesses the index storage unit 6 and the document storage unit 5 through the data access unit 4 based on the received query, and obtains a document set matching the search request. The information requested in the query is extracted and output via the result processing unit 12.

【0245】例えば、上記クエリの場合、まず、「「タ
イトル」タグに「文書」という文字列を含む」という条
件に合致するものを検索することが検索対象を絞り込む
上で効率がよい。そこで、図10に示したようなデータ
生起インデックスを用いて、「文書」という文字列にリ
ンクされているノード(文書オブジェクト)のオブジェ
クトIDを得る。そして、そのそれぞれについて、文書
オブジェクトツリーを上流側に1つ遡り、「タイトル」
というタグ名にたどり着いたときは、更に上流に辿って
いき、「特許」というタグ名にたどり着いたときは、そ
のノード以下の文書オブジェクトツリーOt11を抽出
する。
For example, in the case of the above-described query, it is efficient to first search for a query that satisfies the condition that “the character string“ document ”is included in the“ title ”tag”. Therefore, the object ID of the node (document object) linked to the character string “document” is obtained using the data occurrence index as shown in FIG. Then, for each of them, the document object tree is traced back to the upstream side by one, and “Title”
When it reaches the tag name of "patent", the document object tree Ot11 below that node is extracted when it reaches the tag name of "patent".

【0246】次に、この抽出された複数の文書オブジェ
クトツリーOt11の中から、さらに、「年」という要
素の値が「1998」年以上の文書オブジェクトツリー
Ot12を抽出する。
Next, from the plurality of extracted document object trees Ot11, a document object tree Ot12 in which the value of the element “year” is “1998” or more is further extracted.

【0247】この文書オブジェクトツリーOt12が上
記クエリの内容に適合する文書となる。さらに上記クエ
リの要求内容に従えば、各文書オブジェクトツリーOt
12のトップノードへの構造化文書パスを求める(ステ
ップS102)。
This document object tree Ot12 is a document that matches the contents of the above query. Further, according to the request contents of the above query, each document object tree Ot
Then, a structured document path to the top node No. 12 is obtained (step S102).

【0248】なお、上記検索処理は、上記した方法に限
るものではなく、インデックス情報を用いた様々な効率
のよい検索方法が可能である。
Note that the above-described search processing is not limited to the above-described method, and various efficient search methods using index information are possible.

【0249】検索要求処理部3は、ステップS102で
得られた結果を統合して、検索結果としてのXML文書
を作成する(ステップS103)。
The search request processing section 3 integrates the results obtained in step S102 and creates an XML document as a search result (step S103).

【0250】例えば、検索結果のXML文書は、 <out> <result> uix://root/特許DB/特許[0] </result> <result> uix://root/特許DB/特許[2] </result> </out> となる。For example, the XML document of the search result is as follows: <out> <result> ux: // root / patent DB / patent [0] </ result> <result> uix: // root / patent DB / patent [2] </ Result> </ out>

【0251】検索要求処理部3は、検索結果処理部12
を介して、上記XML文書をスタイルシートとともに、
要求元のクライアント端末に返す(ステップS10
4)。
The search request processing unit 3 includes the search result processing unit 12
Through the XML document with the style sheet,
Return to the requesting client terminal (step S10
4).

【0252】クライアント端末では、図11に示したX
ML文書を、スタイルシートを用いてHTMLデータに
変換して、例えば、図44に示すように、領域W12に
表示する。
In the client terminal, X shown in FIG.
The ML document is converted into HTML data using a style sheet, and is displayed in the area W12, for example, as shown in FIG.

【0253】同様にして、スキーマの検索も行える。Similarly, a schema search can be performed.

【0254】例えば、「「uix://root」以下
の「schema」を先頭タグに持つ文書の中から、
「特許」と「要約」というタグ名を持つスキーマを検索
せよ」という検索要求の場合には、図47に示すよう
に、領域W1から「root」をマウス等で選択して検
索対象の範囲として、構造化文書パスを入力する。そし
て、トップノードとして、「#schema」を入力す
る。また、検索条件として、「要素の属性名に「特許」
という文字列を含む」「要素の属性名に「要約」という
文字列を含む」という内容を予め設定されたデータ入力
領域に入力すればよい。
For example, from among documents having a head tag of “schema” under “uiix: // root”,
In the case of a search request of "search for a schema having tag names of" patent "and" summary "", as shown in FIG. 47, "root" is selected from the area W1 with a mouse or the like and set as a search target range. , Enter the structured document path. Then, “#schema” is input as the top node. In addition, as a search condition, "patent"
What is necessary is to input the content "includes the character string""and" includes the character string "abstract" in the attribute name of the element "into the preset data input area.

【0255】その後、「検索」ボタンB21を選択する
ことにより、上記検索要求を記述したクエリ(図48参
照)が、当該クエリを構造化文書データベース上に格納
するための追加コマンドとともに構造化文書管理システ
ムへ送信される。
Then, by selecting the "search" button B21, the query describing the search request (see FIG. 48) is added to the structured document management together with an additional command for storing the query in the structured document database. Sent to the system.

【0256】さて、上記クエリの場合、例えば、「「#
schema」を先頭タグに持つ」という条件に合致す
るものを検索する。そこで、図9に示したような要素名
称生起インデックスを用いて、「#schema」とい
う要素にリンクされているノードの(文書オブジェク
ト)のオブジェクトIDを得る。そして、そのそれぞれ
について、文書オブジェクトツリーを下流側にアークを
辿っていき、属性名が「特許」と「要約」という要素に
たどり着いたときは、当該「#schema」を先頭タ
グにもつ文書オブジェクトツリーOt21を抽出する。
この文書オブジェクトツリーOt21が上記クエリの内
容に適合する文書となる。さらに、図48に示したクエ
リの要求内容に従えば、各文書オブジェクトツリーOt
21のトップノードへの構造化文書パスを求める。
Now, in the case of the above query, for example, "[#
A search that matches the condition of “having“ schema ”as the first tag” ”is performed. Then, the object ID of the node (document object) linked to the element “#schema” is obtained using the element name occurrence index as shown in FIG. Then, for each of them, the document object tree is traced to the downstream side, and when the attribute name reaches the element of “patent” and “summary”, the document object tree having “#schema” at the top tag Extract Ot21.
The document object tree Ot21 is a document that matches the content of the query. Further, according to the request content of the query shown in FIG. 48, each document object tree Ot
The structured document path to the top node 21 is determined.

【0257】検索要求処理部3は、文書オブジェクトツ
リーOt21が複数あれば、それぞれのトップノードへ
の構造化文書パスをまとめて、検索結果としてのXML
文書を作成し、検索結果処理部12を介して、上記XM
L文書をスタイルシートとともに、要求元のクライアン
ト端末に返す。
If there are a plurality of document object trees Ot21, the search request processing unit 3 puts together the structured document paths to the respective top nodes, and outputs XML as a search result.
A document is created, and the above-mentioned XM
The L document is returned to the requesting client terminal together with the style sheet.

【0258】クライアント端末では、検索結果として受
け取ったXML文書を、スタイルシートを用いてHTM
Lデータに変換して、例えば、図44に示すように、領
域W12に表示する。
In the client terminal, the XML document received as a search result is converted into an HTM using a style sheet.
The data is converted into L data and displayed in the area W12, for example, as shown in FIG.

【0259】クライアント端末では、検索結果の中の1
つのスキーマを選択して、表示させると、例えば、図3
8に示すような文書の格納/削除を行うための画面とと
もに、その領域W3に、「特許」情報のデータ入力領域
が各要素毎に設定されて表示される。
At the client terminal, one of the search results
When one schema is selected and displayed, for example, FIG.
Along with a screen for storing / deleting a document as shown in FIG. 8, a data input area of “patent” information is set and displayed for each element in the area W3.

【0260】ユーザは、このデータ入力領域にデータを
入力することで、スキーマにより定義された文書構造の
格納文書が容易に作成することができる。
The user can easily create a stored document having the document structure defined by the schema by inputting data into this data input area.

【0261】例えば、図38の領域W3に入力した「特
許」情報の格納先として、領域W1で「特許DB」をマ
ウス等を用いて選択すると、領域W2に構造化文書パス
として、「uix://root/特許DB」が表示さ
れる。その後、「登録」ボタンB1を選択すると、「a
ppendXML(“uix://root/特許D
B”,“<特許>…</特許>”)」なる追加コマンド
が構造化文書管理システムへ送信される。
For example, when "patent DB" is selected in the area W1 using a mouse or the like as a storage destination of the "patent" information input in the area W3 in FIG. 38, "uix: // root / patent DB "is displayed. After that, when the “register” button B1 is selected, “a”
ppendXML ("uix: // root / Patent D
B ","<patent> ... </ patent>")" are transmitted to the structured document management system.

【0262】この場合、格納文書は、予めスキーマに従
って入力されたものなので、図20のステップS10の
妥当性チェックでエラーとなることはない。
In this case, since the stored document has been input according to the schema in advance, no error occurs in the validity check in step S10 in FIG.

【0263】同様にして、クエリの検索も行える。クエ
リを検索して、検索結果として得られた既存のクエリを
加工して、再利用することもできる(クエリの再利
用)。
Similarly, a query can be searched. By searching for a query, an existing query obtained as a search result can be processed and reused (query reuse).

【0264】クエリの検索は、前述したような構造化文
書の検索と同様にして行われ、その検索範囲は、クエリ
群の格納されている構造化データベース上の一部の文書
オブジェクトツリーとなる。
The retrieval of the query is performed in the same manner as the retrieval of the structured document as described above, and the retrieval range is a part of the document object tree on the structured database in which the query group is stored.

【0265】例えば、図18に示したような状態の構造
化文書データベースから、「kf:from」タグに
「特許DB」を含むクエリを検索する場合について説明
する。そのような検索要求を記述したクエリを図49に
示す。
For example, a case will be described in which a query including “patent DB” in the “kf: from” tag is searched from the structured document database in the state as shown in FIG. FIG. 49 shows a query describing such a search request.

【0266】図49に示すクエリは、「「uix://
root/クエリDB」の示す「#301」ノード以下
に存在するクエリの中から「kf:from」タグに
「特許DB」を含むクエリを検索し、その内容(タグ名
が「query」である要素以下の文書オブジェクトツ
リーの文書)を列挙せよ」を意味するものである。
The query shown in FIG. 49 is ““ ux: ///
A query that includes “patent DB” in the “kf: from” tag is searched from among the queries existing under the “# 301” node indicated by the “root / query DB”, and the content (the element whose tag name is “query”) is searched. Enumerate the following document object tree).

【0267】なお、「kf:as」タグの内容で変数
「$elt」に、「kf:from」タグに「特許D
B」を含むクエリのタグ名が「query」である要素
以下の文書オブジェクトツリーが代入される。
Note that the content of the “kf: as” tag contains the variable “$ elt” and the “kf: from” tag contains “patent D
The document object tree below the element whose tag name of the query including "B" is "query" is substituted.

【0268】このクエリを検索要求処理部3が処理する
際には、前述同様にして、例えば、図9に示したような
要素名称生起インデックスを用いて、「kf:fro
m」という要素にリンクされているノードの(文書オブ
ジェクト)のオブジェクトIDを得る。そして、そのそ
れぞれについて、文書オブジェクトツリーを下流側にア
ークを辿っていき、「特許」というタグ名にたどり着い
たときは、さらに、上流側にアークを辿って「quer
y」というタグ名に辿りついたとき、当該「quer
y」を先頭タグにもつ文書オブジェクトツリーOt31
を抽出する。この文書オブジェクトツリーOt31が上
記クエリの内容に適合する文書となる。
When the query is processed by the search request processing unit 3, similarly to the above, for example, using the element name occurrence index as shown in FIG.
The object ID of the (document object) of the node linked to the element "m" is obtained. Then, for each of them, the document object tree is traced downstream to the arc, and when the tag name "patent" is reached, the arc is further traced upstream to "quer".
When the tag name "y" is reached,
document object tree Ot31 having "y" as the first tag
Is extracted. This document object tree Ot31 is a document that matches the content of the query.

【0269】複数の文書オブジェクトツリーOt31が
検索されたら、それらを統合して、XML文書を作成し
て、それをスタイルシートとともにクライアント端末へ
返す。
When a plurality of document object trees Ot31 are retrieved, they are integrated to create an XML document, and return it to the client terminal together with the style sheet.

【0270】クライアント端末では、検索結果の中の1
つのクエリを選択して、表示させると、例えば、図44
に示した検索画面の領域W11に、各データ入力領域に
データの入力された状態で、当該クエリに記述された検
索要求の内容が表示される。
In the client terminal, one of the search results
When one query is selected and displayed, for example, FIG.
The content of the search request described in the query is displayed in the area W11 of the search screen shown in (1) in a state where data is input to each data input area.

【0271】ユーザは、この状態から、「「uix:/
/root」以下の「特許」を先頭タグに持つ文書の中
から、「タイトル」タグに「文書」という文字列を含
み、「1998」年以降に作成された文書を検索せよ」
という当該クエリに記述された検索要求中の「文書」を
「XML」に変更して、「検索」ボタンB21を選択す
れば、「「uix://root」以下の「特許」を先
頭タグに持つ文書の中から、「タイトル」タグに「XM
L」という文字列を含み、「1998」年以降に作成さ
れた文書を検索せよ」という意味のクエリが構造化文書
管理システムへ送信される。
[0271] From this state, the user selects "" ux: //
Search for documents created after "1998" that contain the character string "document" in the "title" tag from among the documents having "patent" at the top tag under "/ root". "
"Document" in the search request described in the query is changed to "XML" and the "Search" button B21 is selected. Then, "Patent" under "uix: // root" is set as the first tag. From the documents you have, add "XM
A query including a character string "L" and meaning "search for documents created after 1998" is transmitted to the structured document management system.

【0272】以上説明したように、図1の構造化文書管
理システムでは、構造化文書データベース上に登録され
る文書構造が異なる膨大な数のXML文書群(コンテン
ツ文書、スキーマ文書、クエリ文書など)を、図18,
図19に示すように、「root」タグを先頭に持つツ
リー状の1つの巨大なXML文書として取り扱う。従っ
て、文書構造が異なる、様々なスキーマを持つ膨大な数
の文書の中から検索条件に合致する文書を容易に検索で
きる。
As described above, in the structured document management system shown in FIG. 1, a huge number of XML documents (content documents, schema documents, query documents, etc.) having different document structures registered in the structured document database From FIG. 18,
As shown in FIG. 19, it is handled as one huge XML document in a tree shape having a “root” tag at the top. Therefore, it is possible to easily search for a document that meets the search condition from a vast number of documents having various schemas and different document structures.

【0273】また、検索に用いるクエリも構造化文書で
あるので、構造化文書データベースにログとして格納す
ることにより、過去のクエリを再利用するようなアプリ
ケーションも容易に構築することができる。
Also, since the query used for the search is also a structured document, by storing it as a log in the structured document database, an application that reuses a past query can be easily constructed.

【0274】(3)適用例 次に、上記概念検索の特許調査への適用例について説明
する。
(3) Application Example Next, an application example of the above-described concept search to a patent search will be described.

【0275】図50は、特許調査における構造化文書デ
ータベースの一例であり、「特許」情報の他に、「概
念」情報も格納している。
FIG. 50 shows an example of a structured document database in patent search, which stores "concept" information in addition to "patent" information.

【0276】特許調査において、最も重要となってくる
作業は、関連する「特許」情報を収集し、「特許」情報
を様々な観点から分析し、特許マップ(図54参照)を
作成することである。特許マップを作成するために、従
来、特許マップにおける縦軸、横軸を予め決定し、それ
に従い、縦軸に並ぶ任意の項目と横軸に並ぶ任意の項目
とを検索条件とした検索を逐次行うという方法がとら
れ、この部分に非常に莫大なコストがかかっていた。し
かし、本発明の構造化文書管理システムを用いること
で、この部分のコストを大幅に減少させることが可能と
なる。
The most important task in the patent search is to collect related “patent” information, analyze the “patent” information from various viewpoints, and create a patent map (see FIG. 54). is there. Conventionally, in order to create a patent map, the vertical axis and the horizontal axis in the patent map are determined in advance, and accordingly, a search is sequentially performed using any item on the vertical axis and any item on the horizontal axis as search conditions. It was done in a way that was very costly. However, by using the structured document management system of the present invention, it is possible to greatly reduce the cost of this part.

【0277】なお、ここで、マップとは、縦軸(y軸)
に並ぶ任意の項目と横軸(x軸)に並ぶ任意の項目とを
検索条件とした検索結果をx軸とy軸とを分類軸として
分類整理するものである。
Here, the map means a vertical axis (y-axis).
Are sorted and arranged using the x-axis and the y-axis as the classification axes, with the search result using the arbitrary items arranged in a row and the arbitrary items arranged in the horizontal axis (x-axis) as search conditions.

【0278】本発明の構造化文書管理システムで、クラ
イアント端末のユーザが図54に示すような特許マップ
を作成しようとする場合、ユーザは、クライアント端末
上の表示装置に表示される図50に示すような構造化文
書データベースの現在のツリー構造を参照して、図51
に示すような検索画面上に、分析対象の範囲とする「特
許」情報のパスと、分析の軸(例えば、x軸、y軸)と
なる要素を、それぞれ領域W21、W22に入力する。
分析の軸となる要素は、構造化文書データベース内の
「特許」情報の要素、「概念」情報の要素のいずれであ
ってもよい。
In the structured document management system of the present invention, when the user of the client terminal intends to create a patent map as shown in FIG. 54, the user is displayed on the display device on the client terminal as shown in FIG. Referring to the current tree structure of such a structured document database, FIG.
On the search screen as shown in FIG. 5, the path of the "patent" information to be analyzed and the elements serving as the axes of analysis (for example, the x-axis and the y-axis) are input to the areas W21 and W22, respectively.
The element serving as the axis of the analysis may be either the element of “patent” information or the element of “concept” information in the structured document database.

【0279】例えば、図51では、x軸に「機能」、y
軸に「技術」という「概念」情報の要素を入力してい
る。
For example, in FIG. 51, “function” and y are plotted on the x-axis.
The element of "concept" information called "technology" is input to the axis.

【0280】その後、ユーザは、「実行」ボタンB31
を選択すると、クライアント端末から図1の構造化文書
管理システムへ、図52に示したようなクエリが送出さ
れる。
After that, the user presses the “execute” button B31.
When is selected, a query as shown in FIG. 52 is sent from the client terminal to the structured document management system of FIG.

【0281】この場合のクエリには、「「特許DB」ア
ークが示すノード以下に格納されている「特許」情報の
文書群の中から、「概念DB」アークが示すノード以下
に格納されている、概念「機能」の子要素のいずれかと
概念「技術」の子要素のいずれかとを、「キーワード」
や「要約」などの要素の値に含む「特許」情報を検索せ
よ。検索結果として、「機能」の子要素と「技術」の子
要素と、それらに対応する「特許」情報の「公開番号」
との組を列挙せよ。」という意味の検索要求である。
In the query in this case, from the document group of the “patent” information stored under the node indicated by the “patent DB” arc, the query is stored under the node indicated by the “concept DB” arc. , One of the child elements of the concept "function" and one of the child elements of the concept "technology"
Search for "patent" information that is included in the value of elements such as and "summary". As the search result, the child element of "function" and the child element of "technology" and the "public number" of the "patent" information corresponding to them
List the pairs with Is a search request.

【0282】概念「機能」には、「検索」「格納」…
「分析支援」という子要素があり、概念「技術」には、
「実装データベース」「反構造データベース」「自然言
語処理」…という子要素があるものとする。
The concepts “function” include “search”, “store”, and so on.
There is a child element called "analysis support", and the concept "technology"
It is assumed that there are child elements such as “implementation database”, “anti-structure database”, and “natural language processing”.

【0283】上記クエリを受けた構造化文書検索システ
ムの検索要求処理部3では、例えば、図10に示したよ
うなデータ生起インデックスを用いて、概念「機能」の
各子要素(文字列)にリンクされているノード(文書オ
ブジェクト)のオブジェクトIDを得る。そして、その
それぞれについて、文書オブジェクトツリーを上流側に
遡り、「特許」というタグにたどり着いたときは、さら
に、そのノード以下の文書オブジェクトツリーを下流側
に辿って概念「技術」の子要素(文字列)のいずれかに
リンクされているタグ名にたどり着いたときは、当該文
書オブジェクトツリーと、その「公開番号」タグにリン
クされている文字列(要素値)を抽出する。このように
して、抽出された「特許」情報のそれぞれについて、対
応の「機能」の子要素と「技術」の子要素と「公開番
号」との組を統合して、図53に示すような検索結果と
してのXML文書を作成、要求元のクライアント端末
へ、所定のスタイルシートとともに返す。
The search request processing unit 3 of the structured document search system that has received the above query uses, for example, a data occurrence index as shown in FIG. 10 to convert each child element (character string) of the concept “function”. The object ID of the linked node (document object) is obtained. Then, for each of them, when the document object tree is traced upstream to the tag “patent”, the document object tree below that node is traced downstream, and the child element (character) of the concept “technology” is further traced. When the tag name linked to any of the columns is reached, the document object tree and the character string (element value) linked to the “public number” tag are extracted. In this way, for each of the extracted “patent” information, the corresponding set of the child element of “function”, the child element of “technology” and the “public number” is integrated as shown in FIG. An XML document as a search result is created and returned to the requesting client terminal together with a predetermined style sheet.

【0284】これらを受け取ったクライアント端末の表
示装置には、図54に示したような表形式の特許マップ
が表示されることになる。
[0284] The display device of the client terminal receiving these displays a patent map in a table format as shown in FIG.

【0285】このように、所望の概念を「軸」として指
定するだけで、構造化文書データベースに蓄積された情
報を「軸」として指定された概念に基づき集計・分類し
て、マップ表示するこたが容易に行える。すなわち、構
造化文書データベースに蓄積された情報を、「概念」情
報を用いて様々な観点で集計・分類することが容易に行
える。
As described above, by simply designating a desired concept as an “axis”, information accumulated in the structured document database is tabulated and classified based on the concept designated as an “axis” and displayed on a map. But can be done easily. That is, the information stored in the structured document database can be easily tabulated and classified from various viewpoints using the “concept” information.

【0286】なお、本発明の実施の形態に記載した本発
明の手法は、コンピュータに実行させることのできるプ
ログラムとして、磁気ディスク(フロッピー(登録商
標)ディスク、ハードディスクなど)、光ディスク(C
D−ROM、DVDなど)、半導体メモリなどの記録媒
体に格納して頒布することもできる。
The method of the present invention described in the embodiment of the present invention can be implemented as a program that can be executed by a computer, such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (C
D-ROMs, DVDs, etc.) and storage media such as semiconductor memories for distribution.

【0287】また、本発明は、上記実施形態に限定され
るものではなく、実施段階ではその要旨を逸脱しない範
囲で種々に変形することが可能である。さらに、上記実
施形態には種々の段階の発明は含まれており、開示され
る複数の構成用件における適宜な組み合わせにより、種
々の発明が抽出され得る。例えば、実施形態に示される
全構成要件から幾つかの構成要件が削除されても、発明
が解決しようとする課題の欄で述べた課題(の少なくと
も1つ)が解決でき、発明の効果の欄で述べられている
効果(のなくとも1つ)が得られる場合には、この構成
要件が削除された構成が発明として抽出され得る。
The present invention is not limited to the above-described embodiment, and can be variously modified in the implementation stage without departing from the gist of the invention. Furthermore, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriate combinations of a plurality of disclosed configuration requirements. For example, even if some components are deleted from all the components shown in the embodiments, (at least one of) the problems described in the column of the problem to be solved by the invention can be solved, and the effect of the invention can be solved. If at least one of the effects described in (1) is obtained, a configuration from which this component is deleted can be extracted as an invention.

【0288】[0288]

【発明の効果】以上説明したように、本発明によれば、
多種多様な文書構造定義に従った文書を、その文書の種
類対応に予め定められた文書構造の同一性を保持しなが
ら、文書構造の定義がなされていない構造化文書ととも
に一元管理するとともに、特定の文書構造に限定されな
い広域な文書検索が容易に行える。
As described above, according to the present invention,
Documents that conform to a variety of document structure definitions are centrally managed together with structured documents that have no document structure defined, while maintaining the same document structure that is predetermined for the type of document, and specified. A wide area document search that is not limited to the document structure of the above can be easily performed.

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

【図1】本発明の実施形態に係る構造化文書管理システ
ムの構成例を示した図。
FIG. 1 is a diagram showing a configuration example of a structured document management system according to an embodiment of the present invention.

【図2】図1に示した構造化文書管理システムの一利用
形態を示したもので、WWWのバックエンドで、構造化
文書管理システムが動作している場合を示した図。
FIG. 2 is a diagram showing one use form of the structured document management system shown in FIG. 1, showing a case where the structured document management system is operating on the back end of WWW.

【図3】XMLで記述された構造化文書の一例を示した
図。
FIG. 3 is a diagram showing an example of a structured document described in XML.

【図4】図3の構造化文書の文書構造を模式的に示した
図。
FIG. 4 is a diagram schematically showing a document structure of the structured document of FIG. 3;

【図5】追加コマンドの機能を説明するための図で、構
造化文書データベースの初期状態に追加コマンドを実行
した場合について示している。
FIG. 5 is a diagram for explaining the function of the additional command, and shows a case where the additional command is executed in an initial state of the structured document database.

【図6】図5(b)に示した状態の構造化文書データベ
ースに対し、取得コマンドを実行した場合の処理結果を
示した図。
FIG. 6 is a view showing a processing result when an acquisition command is executed on the structured document database in the state shown in FIG. 5B;

【図7】図5(b)に示した状態の構造化文書データベ
ースに対し、追加コマンドを実行して1つの「特許」情
報の文書オブジェクトツリーを追加した場合を示してい
る。
FIG. 7 illustrates a case where a document object tree of one “patent” information is added by executing an addition command to the structured document database in the state illustrated in FIG. 5B.

【図8】図5(b)に示した状態の構造化文書データベ
ースに対し、追加コマンドを実行して3つの「特許」情
報の文書オブジェクトツリーを追加した場合を示してい
る。
FIG. 8 shows a case where an add command is executed to add a document object tree of three pieces of “patent” information to the structured document database in the state shown in FIG. 5B.

【図9】要素名生起インデックスの格納例を示した図。FIG. 9 is a diagram showing a storage example of an element name occurrence index.

【図10】データ生起インデックスの格納例を示した
図。
FIG. 10 is a diagram showing a storage example of a data occurrence index.

【図11】図8に示した状態の構造化文書データベース
に対して、3つの「特許」情報を取り出すための取得コ
マンドを実行した場合の実行結果を示した図。
FIG. 11 is a view showing an execution result when an acquisition command for extracting three pieces of “patent” information is executed on the structured document database in the state shown in FIG. 8;

【図12】XML文書の文書構造を定義するスキーマの
一例を示した図。
FIG. 12 is a diagram showing an example of a schema that defines the document structure of an XML document.

【図13】図8に示した状態の構造化文書データベース
に、スキーマ格納コマンドを実行して、図12に示した
スキーマを追加格納(設定)した場合を示した図。
13 is a diagram illustrating a case where a schema storage command is executed in the structured document database in the state illustrated in FIG. 8 to additionally store (set) the schema illustrated in FIG. 12;

【図14】スキーマが設定されて、スキーマが存在して
いる旨の属性値のセットされた文書オブジェクトツリー
を示した図。
FIG. 14 is a view showing a document object tree in which a schema is set and an attribute value indicating that the schema exists is set.

【図15】各オブジェクトファイルに、スキーマが存在
している旨の属性値が格納されている様子を概念的に示
した図。
FIG. 15 is a diagram conceptually showing a state in which an attribute value indicating that a schema exists is stored in each object file.

【図16】必要に応じて検索で使用される概念階層を構
造化文書で表現した例を示した図。
FIG. 16 is a diagram showing an example in which a concept hierarchy used in a search is represented by a structured document as needed.

【図17】必要に応じて検索で使用される概念階層を構
造化文書で表現した例を示した図。
FIG. 17 is a diagram showing an example in which a concept hierarchy used in a search is represented by a structured document as needed.

【図18】図8に示した状態の構造化文書データベース
に対し、追加コマンドを実行して、図16,図17に示
した「概念」情報の文書オブジェクトツリーを追加した
場合を示した図。
FIG. 18 is a diagram showing a case where an addition command is executed on the structured document database in the state shown in FIG. 8 to add a document object tree of “concept” information shown in FIGS. 16 and 17;

【図19】図8に示した状態の構造化文書データベース
に対し、追加コマンドを実行して、図16,図17に示
した「概念」情報の文書オブジェクトツリーを追加した
場合を示した図。
19 is a diagram showing a case where an addition command is executed on the structured document database in the state shown in FIG. 8 to add a document object tree of “concept” information shown in FIGS. 16 and 17;

【図20】図1の構造化文書管理システムの文書格納処
理動作について説明するためのフローチャート。
FIG. 20 is a flowchart for explaining a document storage processing operation of the structured document management system of FIG. 1;

【図21】図20のステップS9の処理(合成文書作成
部の処理)について説明するためのフローチャート
FIG. 21 is a flowchart for explaining the processing of step S9 in FIG. 20 (processing by the composite document creating unit);

【図22】追加コマンド中のパラメータの格納文書の文
書オブジェクトツリーを構造化文書データベースから取
得した文書オブジェクトツリーに挿入して得られた合成
文書の文書オブジェクトツリーをXML文書に変換した
結果であって、テンポラリファイルAに格納される合成
文書の一例を示した図。
FIG. 22 shows a result of converting a document object tree of a synthesized document obtained by inserting a document object tree of a document storing a parameter in an additional command into a document object tree obtained from a structured document database into an XML document. FIG. 3 is a diagram showing an example of a composite document stored in a temporary file A.

【図23】テンポラリファイルBに格納される、構造化
文書データベースから取得されたスキーマ文書の一例を
示した図。
FIG. 23 is a view showing an example of a schema document stored in a temporary file B and acquired from a structured document database.

【図24】テンポラリファイルAに格納される合成文書
の他の例を示した図。
FIG. 24 is a diagram showing another example of the composite document stored in the temporary file A.

【図25】テンポラリファイルBに格納される、構造化
文書データベースから取得されたスキーマ文書の一例を
示した図。
FIG. 25 is a view showing an example of a schema document stored in a temporary file B and acquired from a structured document database.

【図26】図1の構造化文書管理システムの文書取得処
理動作について説明するためのフローチャート。
FIG. 26 is a flowchart for explaining a document acquisition processing operation of the structured document management system of FIG. 1;

【図27】図1の構造化文書管理システムの文書削除処
理動作について説明するためのフローチャート。
FIG. 27 is a flowchart for explaining a document deletion processing operation of the structured document management system of FIG. 1;

【図28】図27のステップS46の処理(合成文書作
成部の処理(削除コマンド用))について説明するため
のフローチャート。
FIG. 28 is a flowchart for explaining the processing of step S46 in FIG. 27 (processing by the synthetic document creation unit (for a delete command));

【図29】テンポラリファイルAに格納される合成文書
のさらに他の例であって、削除コマンドの実行時に作成
される合成文書の一例を示した図。
FIG. 29 is a view showing still another example of the composite document stored in the temporary file A, which is an example of the composite document created when the delete command is executed.

【図30】テンポラリファイルBに格納される、構造化
文書データベースから取得されたスキーマ文書の一例を
示した図。
FIG. 30 is a diagram showing an example of a schema document stored in a temporary file B and acquired from a structured document database.

【図31】ユーザインタフェースとしての画面の表示例
を示した図。
FIG. 31 is a view showing a display example of a screen as a user interface.

【図32】文書の格納/削除を行うためのユーザインタ
フェースとしての画面の表示例を示した図。
FIG. 32 is a diagram showing a display example of a screen as a user interface for storing / deleting a document.

【図33】文書の格納/削除を行うためのユーザインタ
フェースとしての画面の表示例を示した図。
FIG. 33 is a view showing a display example of a screen as a user interface for storing / deleting a document.

【図34】文書の格納/削除を行うためのユーザインタ
フェースとしての画面の表示例を示した図。
FIG. 34 is a view showing a display example of a screen as a user interface for storing / deleting a document.

【図35】妥当性のチェックでエラーとなっときにクラ
イアント端末へ返すメッセージの表示例を表示例を示し
た図。
FIG. 35 is a view showing a display example of a display example of a message returned to the client terminal when an error occurs in the validity check.

【図36】文書の格納/削除を行うためのユーザインタ
フェースとしての画面の表示例を示したもので、文書取
得動作を説明するための図。
FIG. 36 is a diagram illustrating a display example of a screen as a user interface for storing / deleting a document, and illustrating a document acquisition operation.

【図37】スキーマの設定を行うためのユーザインタフ
ェースとしての画面の表示例を示したもので、スキーマ
の設定動作を説明するための図。
FIG. 37 is a diagram illustrating a display example of a screen as a user interface for setting a schema, and illustrating a schema setting operation.

【図38】スキーマの取得するためのユーザインタフェ
ースとしての画面の表示例を示したもので、取得された
スキーマの表示例を示している。
FIG. 38 illustrates a display example of a screen as a user interface for acquiring a schema, and illustrates a display example of an acquired schema.

【図39】クエリ(XML文書)の一例を示した図。FIG. 39 is a view showing an example of a query (XML document).

【図40】単純検索のクエリ(XML文書)の一例を示
した図。
FIG. 40 is a diagram showing an example of a simple search query (XML document).

【図41】図40の単純検索のクエリを用いた検索結果
(XML文書)を示した図。
FIG. 41 is a diagram showing a search result (XML document) using the simple search query of FIG. 40;

【図42】概念検索のクエリ(XML文書)の一例を示
した図。
FIG. 42 is a view showing an example of a query (XML document) for concept search.

【図43】図1の構造化文書管理システムの文書検索処
理動作について説明するためのフローチャート。
FIG. 43 is a flowchart for explaining a document search processing operation of the structured document management system of FIG. 1;

【図44】文書検索を行うためのユーザインタフェース
としての画面の表示例を示した図。
FIG. 44 is a view showing a display example of a screen as a user interface for performing a document search.

【図45】図44に示した画面上から入力された情報に
基づき作成されるクエリを示した図。
FIG. 45 is an exemplary view showing a query created based on information input from the screen shown in FIG. 44;

【図46】図42に示したクエリの構造化文書データベ
ース内における格納例を示した図。
FIG. 46 is a view showing a storage example of the query shown in FIG. 42 in the structured document database.

【図47】文書検索を行うためのユーザインタフェース
としての画面の表示例であって、スキーマの検索処理動
作を説明するための図。
FIG. 47 is a display example of a screen as a user interface for performing a document search, and is a diagram for explaining a schema search processing operation.

【図48】スキーマ検索のクエリの一例を示した図。FIG. 48 is a diagram showing an example of a schema search query.

【図49】クエリを検索するためのクエリの一例を示し
た図。
FIG. 49 is a diagram showing an example of a query for searching for a query.

【図50】特許調査における構造化文書データベースの
一例を示した図。
FIG. 50 is a diagram showing an example of a structured document database in a patent search.

【図51】概念検索のための入力画面の表示例を示した
図。
FIG. 51 is a view showing a display example of an input screen for concept search.

【図52】図51に示した入力画面上の入力情報に対応
するクエリを示した図。
FIG. 52 is a view showing a query corresponding to input information on the input screen shown in FIG. 51;

【図53】図52に示したクエリに対応する検索結果と
してのXML文書を示した図。
FIG. 53 is a view showing an XML document as a search result corresponding to the query shown in FIG. 52;

【図54】特許マップの一例を示した図。FIG. 54 is a diagram showing an example of a patent map.

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

1…要求制御部 2…アクセス要求処理部 3…検索要求処理部 4…データアクセス部 5…文書記憶部 6…インデックス記憶部 11…受付要求部 12…結果処理部 21…文書格納部 22…文書取得部 23…文書削除部 41…文書オブジェクトツリー格納部 42…文書オブジェクトツリー削除部 43…文書オブジェクトツリー取得部 44…文書文字列取得部 45…パスから文書オブジェクトツリー取得部 46…文書パーサ 47…合成文書作成部 48…インデックス更新部 100…構造化文書管理システム 101…WWWサーバ 102…クライアント端末 103…WWWブラウザ DESCRIPTION OF SYMBOLS 1 ... Request control part 2 ... Access request processing part 3 ... Search request processing part 4 ... Data access part 5 ... Document storage part 6 ... Index storage part 11 ... Reception request part 12 ... Result processing part 21 ... Document storage part 22 ... Document Acquisition unit 23 Document deletion unit 41 Document object tree storage unit 42 Document object tree deletion unit 43 Document object tree acquisition unit 44 Document character string acquisition unit 45 Document object tree acquisition unit from path 46 Document parser 47 Synthetic document creation unit 48 Index update unit 100 Structured document management system 101 WWW server 102 Client terminal 103 WWW browser

───────────────────────────────────────────────────── フロントページの続き (72)発明者 野々村 克彦 神奈川県川崎市幸区小向東芝町1番地 株 式会社東芝研究開発センター内 (72)発明者 新名 博 神奈川県川崎市幸区小向東芝町1番地 株 式会社東芝研究開発センター内 (72)発明者 磯部 庄三 神奈川県川崎市幸区小向東芝町1番地 株 式会社東芝研究開発センター内 Fターム(参考) 5B075 ND35 NR03  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Katsuhiko Nonomura 1 Tokoba, Komukai Toshiba-cho, Saisaki-ku, Kawasaki-shi, Kanagawa Prefecture (72) Inventor Hiroshi Niina Komukai, Koyuki-ku, Kawasaki-shi, Kanagawa No. 1 Toshiba-cho, Toshiba R & D Center (72) Inventor Shozo Isobe No. 1, Komukai Toshiba-cho, Koyuki-ku, Kawasaki-shi, Kanagawa F-term (reference) 5B075 ND35 NR03

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 異なる文書構造の複数の構造化文書を、
階層化された論理構造を持つ構造化文書データベースで
管理するための構造化文書管理方法において、 前記構造化文書は少なくとも1つの構成要素からなり、
前記構造化文書を前記論理構造に従って指定される前記
構造化文書データベースの論理的なエリアに格納して、
前記構造化文書の各構成要素を前記論理構造を形成する
構成要素として管理し、 前記論理構造に従って指定される論理的なエリアに、該
論理的なエリア対応の文書構造を定義した前記構造化文
書としての文書構造定義情報を格納することによって、
前記論理構造上に異なる複数の文書構造を設定し、 前記文書構造の設定された前記論理的なエリアには、該
エリア対応の文書構造と一致する文書構造をもつ構造化
文書のみを格納することを特徴とする構造化文書管理方
法。
Claims 1. A plurality of structured documents having different document structures,
In a structured document management method for managing in a structured document database having a hierarchical logical structure, the structured document includes at least one component,
Storing the structured document in a logical area of the structured document database specified according to the logical structure,
The structured document which manages each component of the structured document as a component forming the logical structure, and defines a document structure corresponding to the logical area in a logical area specified according to the logical structure. By storing the document structure definition information as
A plurality of different document structures are set on the logical structure, and only the structured document having a document structure matching the document structure corresponding to the area is stored in the logical area where the document structure is set. A structured document management method characterized by the following.
【請求項2】 前記論理構造に従って指定された論理的
なエリアから前記文書構造定義情報を取得し、この取得
した文書構造定義情報に記述された文書構造に基づき作
成された新たな構造化文書を、前記論理的なエリアに格
納することを特徴とする請求項1記載の構造化文書管理
方法。
2. The document structure definition information is acquired from a logical area designated according to the logical structure, and a new structured document created based on the document structure described in the acquired document structure definition information is obtained. 2. The structured document management method according to claim 1, wherein the structured document is stored in the logical area.
【請求項3】 前記構造化文書を構成する構成要素のう
ちユーザにより指定された特定の構成要素を文書構造中
に定義している前記文書構造定義情報の検索要求に基づ
き、前記構造化文書データベースに対し検索を行うこと
を特徴とする請求項1記載の構造化文書管理方法。
3. The structured document database based on a search request for the document structure definition information that defines a specific component designated by a user among the components constituting the structured document in a document structure. 2. The structured document management method according to claim 1, further comprising:
【請求項4】 前記構造化文書を構成する構成要素のう
ちユーザにより指定された特定の構成要素を含む構造化
文書の検索要求、あるいは、前記特定の構成要素の値に
ユーザにより指定された特定の文字列が含まれる構造化
文書の検索要求に基づき、前記構造化文書データベース
に対し検索を行うことを特徴とする請求項1記載の構造
化文書管理方法。
4. A search request for a structured document including a specific component specified by a user among components configuring the structured document, or a specification specified by a user in a value of the specific component. 2. The structured document management method according to claim 1, wherein the structured document database is searched on the basis of a structured document search request including the character string.
【請求項5】 前記構造化文書を構成する構成要素のう
ちユーザにより指定された特定の構成要素を文書構造中
に定義している前記文書構造定義情報の検索要求に基づ
き、前記構造化文書データベースに対し検索を行い、得
られた文書構造定義情報に記述された文書構造に基づき
作成された新たな構造化文書を、前記論理的なエリアに
格納することを特徴とする請求項1記載の構造化文書管
理方法。
5. The structured document database based on a search request for the document structure definition information that defines a specific component specified by a user among the components constituting the structured document in a document structure. 2. A structure according to claim 1, wherein a search is performed on the document structure, and a new structured document created based on the document structure described in the obtained document structure definition information is stored in the logical area. Document management method.
【請求項6】 前記構造化文書の格納されている論理的
なエリアを示す情報の一覧を検索結果として求めること
を特徴とする請求項3〜5のいずれか1つに記載の構造
化文書管理方法。
6. The structured document management according to claim 3, wherein a list of information indicating a logical area in which the structured document is stored is obtained as a search result. Method.
【請求項7】 前記検索要求にて、検索範囲として前記
論理構造上の論理的なエリアが指定されているとき、こ
の指定された論理的なエリアの中から検索を行うことを
特徴とする請求項3〜5のいずれか1つに記載の構造化
文書管理方法。
7. When the search request specifies a logical area on the logical structure as a search range, the search is performed from the specified logical area. Item 6. The structured document management method according to any one of Items 3 to 5.
【請求項8】 前記検索要求は、予め定義された文書構
造に従って記述された構造化文書であって、 前記検索要求を受け付けたとき、この検索要求の記述さ
れた構造化文書としての検索要求文を前記論理構造上の
予め定められた論理的なエリアに格納することを特徴と
する請求項3〜5のいずれか1つに記載の構造化文書管
理方法。
8. The search request is a structured document described according to a document structure defined in advance, and when the search request is received, a search request statement as a structured document describing the search request The structured document management method according to any one of claims 3 to 5, wherein is stored in a predetermined logical area on the logical structure.
【請求項9】 前記検索要求は、予め定義された文書構
造に従って記述された構造化文書であって、 前記検索要求を受け付けたとき、この検索要求の記述さ
れた構造化文書としての検索要求文を前記論理構造上の
予め定められた論理的なエリアに格納し、 前記予め定められた論理的なエリアを検索範囲とした前
記検索要求文の検索要求に基づき前記構造化文書データ
ベースに対し検索を行い、得られた検索要求文に基づき
作成された新たな検索要求文による検索要求を受けて前
記構造化文書データベースに対し検索を行うことを特徴
とする請求項4記載の構造化文書管理方法。
9. The search request is a structured document described according to a document structure defined in advance, and when the search request is received, a search request statement as a structured document describing the search request Is stored in a predetermined logical area on the logical structure, and a search is performed on the structured document database based on a search request of the search request sentence with the predetermined logical area as a search range. 5. The structured document management method according to claim 4, wherein the structured document database is searched in response to a search request based on a new search request sentence created based on the obtained search request sentence.
【請求項10】 異なる文書構造の複数の構造化文書
を、階層化された論理構造を持つ構造化文書データベー
スで管理する構造化文書管理装置において、 前記構造化文書は少なくとも1つの構成要素からなり、
前記構造化文書を前記論理構造に従って指定される前記
構造化データベースの論理的なエリアに格納して、前記
構造化文書の各構成要素を前記論理構造を形成する構成
要素として管理する管理手段と、 前記論理構造に従って指定される論理的なエリアに、該
エリア対応の文書構造を定義した前記構造化文書として
の文書構造定義情報を格納することによって、前記論理
構造上に異なる複数の文書構造を設定する設定手段と、 前記論理構造上の指定された論理的なエリアに新たな構
造化文書を格納する格納手段と、 を具備し、 前記格納手段は、前記指定された論理的なエリアに該エ
リア対応の文書構造が設定されているとき、該エリアに
は該エリア対応の文書構造と一致する文書構造をもつ構
造化文書のみを格納することを特徴とする構造化文書管
理装置。
10. A structured document management apparatus which manages a plurality of structured documents having different document structures by a structured document database having a hierarchical logical structure, wherein the structured document includes at least one component. ,
Management means for storing the structured document in a logical area of the structured database specified according to the logical structure, and managing each component of the structured document as a component forming the logical structure; A plurality of different document structures are set on the logical structure by storing document structure definition information as the structured document that defines a document structure corresponding to the area in a logical area specified according to the logical structure. Setting means, and storage means for storing a new structured document in a designated logical area on the logical structure, wherein the storage means stores the area in the designated logical area. When a corresponding document structure is set, the area stores only a structured document having a document structure that matches the area corresponding document structure. Document management device.
【請求項11】 前記論理構造に従って指定された論理
的なエリアから前記文書構造定義情報を取得する取得手
段をさらに具備し、 この取得手段で取得された文書構造定義情報に記述され
た文書構造に基づき作成された新たな構造化文書を、前
記論理的なエリアに格納することを特徴とする請求項1
0記載の構造化文書管理装置。
11. An apparatus according to claim 11, further comprising: an acquisition unit configured to acquire the document structure definition information from a logical area designated according to the logical structure, wherein the document structure described in the document structure definition information acquired by the acquisition unit is provided. 2. A new structured document created based on the logical area is stored in the logical area.
0. A structured document management device according to item 0.
【請求項12】 前記構造化文書を構成する構成要素の
うちのユーザにより指定された特定の構成要素を文書構
造中に定義している前記文書構造定義情報の検索要求に
基づき、前記構造化文書データベースに対し検索を行う
第1の検索手段をさらに具備したことを特徴とする請求
項10記載の構造化文書管理装置。
12. The structured document according to a search request for the document structure definition information defining a specific component designated by a user among the components constituting the structured document in a document structure. 11. The structured document management apparatus according to claim 10, further comprising a first search unit that searches a database.
【請求項13】 前記構造化文書を構成する構成要素の
うちのユーザにより指定された特定の構成要素を含む構
造化文書の検索要求、あるいは、前記特定の構成要素の
値にユーザにより指定された特定の文字列が含まれる構
造化文書の検索要求に基づき、前記構造化文書データベ
ースに対し検索を行う第2の検索手段をさらに具備した
ことを特徴とする請求項10記載の構造化文書管理装
置。
13. A search request for a structured document including a specific component specified by a user among the components configuring the structured document, or a value specified by the user for the value of the specific component. 11. The structured document management apparatus according to claim 10, further comprising a second search unit that searches the structured document database based on a structured document search request including a specific character string. .
【請求項14】 前記構造化文書を構成する構成要素の
うちのユーザにより指定された特定の構成要素を文書構
造中に定義している前記文書構造定義情報の検索要求に
基づき、前記構造化文書データベースに対し検索を行う
第1の検索手段を具備し、 この第1の検索手段で得られた文書構造定義情報に記述
された文書構造に基づき作成された新たな構造化文書
を、前記論理的なエリアに格納することを特徴とする請
求項10記載の構造化文書管理装置。
14. The structured document according to a search request for the document structure definition information defining a specific component designated by a user among the components constituting the structured document in a document structure. A first search unit for searching the database; and a new structured document created based on the document structure described in the document structure definition information obtained by the first search unit. 11. The structured document management device according to claim 10, wherein the structured document management device stores the structured document in a safe area.
【請求項15】 前記構造化文書の格納されている論理
的なエリアを示す情報の一覧を検索結果として求めるこ
とを特徴とする請求項12〜14のいずれか1つに記載
の構造化文書管理装置。
15. The structured document management according to claim 12, wherein a list of information indicating a logical area in which the structured document is stored is obtained as a search result. apparatus.
【請求項16】 前記検索要求にて、検索範囲として前
記論理構造上の論理的なエリアが指定されているとき、
この指定された論理的なエリアの中から検索を行うこと
を特徴とする請求項12〜14のいずれか1つに記載の
構造化文書管理装置。
16. When a logical area on the logical structure is specified as a search range in the search request,
15. The structured document management apparatus according to claim 12, wherein a search is performed from the designated logical area.
【請求項17】 前記検索要求は、予め定義された文書
構造に従って記述された構造化文書であって、 前記検索要求を受け付けたとき、この検索要求の記述さ
れた構造化文書としての検索要求文を前記論理構造上の
予め定められた論理的なエリアに格納することを特徴と
する請求項12〜14のいずれか1つに記載の構造化文
書管理装置。
17. The search request is a structured document described according to a document structure defined in advance, and when the search request is received, a search request statement as the structured document describing the search request 15. The structured document management apparatus according to claim 12, wherein is stored in a predetermined logical area on the logical structure.
【請求項18】 前記検索要求は、予め定義された文書
構造に従って記述された構造化文書であって、 前記検索要求を受け付けたとき、この検索要求の記述さ
れた構造化文書としての検索要求文を前記論理構造上の
予め定められた論理的なエリアに格納し、 前記予め定められた論理的なエリアを検索範囲とした前
記検索要求文の検索要求に基づき前記構造化文書データ
ベースに対し検索を行い、得られた検索要求文に基づき
作成された新たな検索要求文による検索要求を受けて前
記構造化文書データベースに対し検索を行うことを特徴
とする請求項13記載の構造化文書管理装置。
18. The search request is a structured document described according to a document structure defined in advance, and when the search request is received, a search request statement as a structured document describing the search request Is stored in a predetermined logical area on the logical structure, and a search is performed on the structured document database based on a search request of the search request sentence with the predetermined logical area as a search range. 14. The structured document management device according to claim 13, wherein the structured document management apparatus performs a search on the structured document database in response to a search request based on a new search request sentence created based on the obtained search request sentence.
【請求項19】 異なる文書構造の複数の構造化文書
を、階層化された論理構造を持つ構造化文書データベー
スで管理するための処理をコンピュータに実行させるた
めのプログラムであって、 前記構造化文書は少なくとも1つの構成要素からなり、
前記構造化文書を前記論理構造に従って指定される前記
構造化データベースの論理的なエリアに格納して、前記
構造化文書の各構成要素を前記論理構造を形成する構成
要素として管理するための管理処理と、 前記論理構造に従って指定される論理的なエリアに、該
エリア対応の文書構造を定義した前記構造化文書として
の文書構造定義情報を格納することによって、前記論理
構造上に異なる複数の文書構造を設定するための設定処
理と、 前記論理構造上の指定された論理的なエリアに新たな構
造化文書を格納するための格納処理と、 を有し、 前記格納処理は、前記指定された論理的なエリアに該エ
リア対応の文書構造が設定されているとき、該エリアに
は該エリア対応の文書構造と一致する文書構造をもつ構
造化文書のみを格納することを特徴とするプログラム。
19. A program for causing a computer to execute a process for managing a plurality of structured documents having different document structures in a structured document database having a hierarchical logical structure, the program comprising: Consists of at least one component,
Management processing for storing the structured document in a logical area of the structured database specified according to the logical structure, and managing each component of the structured document as a component forming the logical structure And storing, in a logical area designated according to the logical structure, document structure definition information as the structured document defining a document structure corresponding to the area, a plurality of different document structures on the logical structure And a storing process for storing a new structured document in a specified logical area on the logical structure. The storing process includes: When a document structure corresponding to the area is set in a typical area, it is necessary to store only a structured document having a document structure that matches the document structure corresponding to the area in the area. Features program.
JP2001098179A 2001-03-30 2001-03-30 Structured document management method, structured document management apparatus and program Expired - Lifetime JP3842572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001098179A JP3842572B2 (en) 2001-03-30 2001-03-30 Structured document management method, structured document management apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001098179A JP3842572B2 (en) 2001-03-30 2001-03-30 Structured document management method, structured document management apparatus and program

Publications (2)

Publication Number Publication Date
JP2002297601A true JP2002297601A (en) 2002-10-11
JP3842572B2 JP3842572B2 (en) 2006-11-08

Family

ID=18951855

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001098179A Expired - Lifetime JP3842572B2 (en) 2001-03-30 2001-03-30 Structured document management method, structured document management apparatus and program

Country Status (1)

Country Link
JP (1) JP3842572B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072924A (en) * 2004-09-06 2006-03-16 Toshiba Corp Portable electronic device
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
WO2011089807A1 (en) * 2010-01-21 2011-07-28 日本電気株式会社 Data information management device, data information management system, and data information management method
JPWO2011111426A1 (en) * 2010-03-11 2013-06-27 日本電気株式会社 Terminal apparatus, setting method thereof, and communication system
WO2017099059A1 (en) * 2015-12-08 2017-06-15 日本電気株式会社 Document processing device, method and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072924A (en) * 2004-09-06 2006-03-16 Toshiba Corp Portable electronic device
JP4621459B2 (en) * 2004-09-06 2011-01-26 株式会社東芝 Portable electronic device
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
WO2011089807A1 (en) * 2010-01-21 2011-07-28 日本電気株式会社 Data information management device, data information management system, and data information management method
JPWO2011111426A1 (en) * 2010-03-11 2013-06-27 日本電気株式会社 Terminal apparatus, setting method thereof, and communication system
WO2017099059A1 (en) * 2015-12-08 2017-06-15 日本電気株式会社 Document processing device, method and storage medium

Also Published As

Publication number Publication date
JP3842572B2 (en) 2006-11-08

Similar Documents

Publication Publication Date Title
JP3842573B2 (en) Structured document search method, structured document management apparatus and program
JP3842577B2 (en) Structured document search method, structured document search apparatus and program
JP3754253B2 (en) Structured document search method, structured document search apparatus, and structured document search system
US20110087708A1 (en) Business object based operational reporting and analysis
US20080183689A1 (en) Search method and apparatus for plural databases
US7844633B2 (en) System and method for storage, management and automatic indexing of structured documents
JP2001167087A (en) Device and method for retrieving structured document, program recording medium for structured document retrieval and index preparing method for structured document retrieval
Shestakov et al. DEQUE: querying the deep web
JP3914081B2 (en) Access authority setting method and structured document management system
Liu et al. An XML-enabled data extraction toolkit for web sources
JP3842572B2 (en) Structured document management method, structured document management apparatus and program
JP5056384B2 (en) Search program, method and apparatus
Paradis et al. A language for publishing virtual documents on the Web
Yu et al. Metadata management system: design and implementation
JPH10187680A (en) Document repository device managed by word, sentence and grain degree of part
JP2002297662A (en) Method and device for editing structured document, terminal, and program
JP3842574B2 (en) Information extraction method, structured document management apparatus and program
JP2003316783A (en) Heterogeneous semi-structured information integration/ retrieval device, method and program, and recording medium with program recorded thereon
CN1326078C (en) Forming method for package device
JP3842575B2 (en) Structured document search method, structured document management apparatus and program
JP2004118543A (en) Method for retrieving structured document, and method, device and program for supporting retrieval
Umamageswari et al. Web harvesting: web data extraction techniques for deep web pages
JP3910901B2 (en) Document structure search method, document structure search apparatus, and document structure search program
JP2003288332A (en) Method and system for supporting structured document creation
JP2003288365A (en) Additive information management method and additive information management system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060110

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060808

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060810

R151 Written notification of patent or utility model registration

Ref document number: 3842572

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110818

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120818

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120818

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130818

Year of fee payment: 7

EXPY Cancellation because of completion of term