JP2000298606A - Data processing method and apparatus and storage medium - Google Patents
Data processing method and apparatus and storage mediumInfo
- Publication number
- JP2000298606A JP2000298606A JP11105768A JP10576899A JP2000298606A JP 2000298606 A JP2000298606 A JP 2000298606A JP 11105768 A JP11105768 A JP 11105768A JP 10576899 A JP10576899 A JP 10576899A JP 2000298606 A JP2000298606 A JP 2000298606A
- Authority
- JP
- Japan
- Prior art keywords
- data
- metadata
- reading
- confirmation information
- predetermined
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
(57)【要約】
【課題】既存のアプリケーションに影響を与えずに、バ
イナリデータにメタデータを登録するとともに、正確に
メタデータの判別を行えるようにする。
【解決手段】バイナリデータにメタデータを登録するデ
ータ処理方法は、ステップS301、S302におい
て、メタデータの付与対象のバイナリデータと、このバ
イナリデータに付与すべきメタデータとを読み込む。ス
テップS303において、読み込まれたメタデータが正
当であると判定されると、ステップS304において、
当該メタデータに基づいてチェックサムが算出される。
ステップS306では、読み込まれたバイナリデータの
後に、生成されたチェックサムと読み込まれたメタデー
タを接続する。そして、ステップS307において、ス
テップS306で得られたデータの全体を一つのファイ
ルとして出力する
(57) [Summary] [PROBLEMS] To register metadata in binary data without affecting existing applications and to accurately determine metadata. In a data processing method for registering metadata in binary data, in steps S301 and S302, binary data to which metadata is to be added and metadata to be added to the binary data are read. If it is determined in step S303 that the read metadata is valid, in step S304,
A checksum is calculated based on the metadata.
In step S306, the generated checksum is connected to the read metadata after the read binary data. Then, in step S307, the entire data obtained in step S306 is output as one file.
Description
【0001】[0001]
【発明の属する技術分野】本発明はバイナリデータとメ
タデータを扱うデータ処理方法及び装置及び記憶媒体に
関する。The present invention relates to a data processing method and apparatus for handling binary data and metadata, and a storage medium.
【0002】メタデータ(meta-data)とは、「データ
に関するデータ」であり、画像データや音声データ等の
バイナリデータを説明するデータとして用いられてい
る。しかし、バイナリデータとこれに対応するメタデー
タが別々のファイルで存在した場合、ファイルの移動や
コピーの際に、ユーザはバイナリデータとメタデータと
を同時に管理しなければならず、非常にわずらわしいこ
とになる。[0002] Meta-data is "data relating to data" and is used as data for explaining binary data such as image data and audio data. However, if the binary data and the corresponding metadata exist in separate files, the user must manage the binary data and the metadata at the same time when moving or copying the file, which is very troublesome. become.
【0003】そこで一般に、バイナリデータとメタデー
タの管理を容易にするために、バイナリデータとメタデ
ータを記述する様々な方法が提案されてきた。この種の
従来技術は、新しいバイナリフォーマットを規定する方
法と、データベースで管理する方法の2つに分けること
ができる。Therefore, in general, various methods for describing binary data and metadata have been proposed in order to facilitate management of binary data and metadata. This type of conventional technology can be divided into two methods: a method of defining a new binary format and a method of managing a database.
【0004】まず、新しいバイナリフォーマットを規定
する方法の一例をあげると、画像フォーマットではTif
f、Exif、Flashpixなどがある。図7は、バイナリデー
タにメタデータを埋め込んだフォーマットの概観を示す
図である。バイナリデータとしては、例えば画像データ
が挙げられる。図7に示されるように、画像のヘッダ部
分にメタデータを記述する枠組みを設け、そこにユーザ
がメタデータを記述するというのが一般的な方法であ
る。このようにメタデータを記述することにより、デー
タの検索・分類が容易になる。また、バイナリデータ内
にメタデータを含むようになるので、1つのファイルで
管理でき、ファイルの管理は比較的容易になる。First, an example of a method for defining a new binary format is as follows.
f, Exif, Flashpix, etc. FIG. 7 is a diagram showing an overview of a format in which metadata is embedded in binary data. The binary data includes, for example, image data. As shown in FIG. 7, it is a general method to provide a framework for describing metadata in a header portion of an image, and to describe the metadata there by a user. Describing the metadata in this manner facilitates data search and classification. Also, since metadata is included in the binary data, it can be managed with one file, and file management becomes relatively easy.
【0005】次に、バイナリデータとメタデータをデー
タベースで管理する方法を説明する。図8はバイナリデ
ータとメタデータをデータベースで管理する方法を概念
的に示した図である。図8に示されるような、別々のフ
ァイルで存在するバイナリデータとメタデータをデータ
ベース等を用いて管理するという方法も広く行われてい
るものである。この場合は既存のバイナリデータが、既
存のアプリケーションでそのまま使えるという利点があ
る。Next, a method for managing binary data and metadata in a database will be described. FIG. 8 is a diagram conceptually showing a method of managing binary data and metadata in a database. As shown in FIG. 8, a method of managing binary data and metadata existing in separate files by using a database or the like is widely used. In this case, there is an advantage that existing binary data can be used as it is in an existing application.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、上述し
たようなメタデータを記述する新フォーマットを規定す
る方法とデータベースを用いてメタデータを管理する方
法のそれぞれに問題がある。However, there are problems in the method of defining a new format for describing metadata as described above and the method of managing metadata using a database.
【0007】まず、メタデータを記述する新フォーマッ
トを規定した場合には、既存のバイナリデータを当該新
フォーマットに変換し、なおかつその新フォーマット内
にメタデータを記述しなけれなばならない。更に、その
新フォーマット内のメタデータを用いて検索するために
は、当該新フォーマット対応のアプリケーションが必要
となる。すなわち、メタデータを記述したり利用したり
するために、非常に多くのステップと専用の環境が必要
になるという問題がある。また、このような新フォーマ
ットのバイナリデータを処理する(例えば画像データで
あれば画像の再生)ためには、当該フォーマットに対応
したアプリケーションが必要であり、既存のアプリケー
ションでは対応できなくなる。First, when a new format for describing metadata is specified, existing binary data must be converted to the new format, and the metadata must be described in the new format. Further, in order to search using the metadata in the new format, an application compatible with the new format is required. In other words, there is a problem that an extremely large number of steps and a dedicated environment are required to describe and use the metadata. Further, in order to process binary data in such a new format (for example, to reproduce an image in the case of image data), an application corresponding to the format is required, and an existing application cannot support it.
【0008】そのうえ、メタデータの記述方法も新フォ
ーマットにおいて独自に決められたものであり、新フォ
ーマット内のメタデータを利用するアプリケーションを
作成するためには、新規にメタデータの検索ルーチンを
つくらなければならないという問題もある。さらに、新
しい枠組みのメタデータを記述するにはフォーマットの
規定を変更しなければならないという問題点もあった。[0008] In addition, the description method of metadata is also uniquely determined in the new format. In order to create an application that uses the metadata in the new format, a new metadata search routine must be created. There is also the problem that it must be done. In addition, there was a problem that the format specification had to be changed to describe the metadata of the new framework.
【0009】一方、データベースを用いてバイナリデー
タとメタデータを同時に管理する場合、データベースソ
フトが無ければメタデータの登録も利用もできないとい
う問題があった。また、登録したメタデータを表示する
ためにも専用のソフトウェアが必要である。更に、バイ
ナリデータをデータベース外に持っていくと、メタデー
タは付加されず、メタデータのないバイナリデータとな
ってしまうという問題点もあった。On the other hand, when simultaneously managing binary data and metadata using a database, there is a problem that metadata cannot be registered or used without database software. Also, dedicated software is required to display the registered metadata. Furthermore, when the binary data is taken out of the database, the metadata is not added, and the binary data has no metadata.
【0010】本発明はメタデータの記述・検索に関する
上記の問題点に鑑みてなされたものであり、既存のアプ
リケーションに影響を与えずに、バイナリデータにメタ
データを登録可能とすることを目的とする。[0010] The present invention has been made in view of the above-mentioned problems relating to description and retrieval of metadata, and has as its object to enable registration of metadata in binary data without affecting existing applications. I do.
【0011】また、本発明の他の目的は、メタデータが
登録されたバイナリデータを、既存のアプリケーション
で処理することが可能な形態で提供可能とすることにあ
る。It is another object of the present invention to provide binary data in which metadata is registered in a form that can be processed by an existing application.
【0012】また、本発明の他の目的は、メタデータの
記述に一般的なデータ記述言語を用いることにより、デ
ータ記述言語用の既存のツールを利用することを可能と
し、対応アプリケーションの開発を容易にすることにあ
る。Another object of the present invention is to use a general data description language for describing metadata, thereby making it possible to use an existing tool for the data description language and to develop a corresponding application. To make it easier.
【0013】さらに、本発明の他の目的は、メタデータ
が記述されたバイナリデータからメタデータを抽出し、
例えば検索、参照、変更等の処理に供することを可能と
することにある。Still another object of the present invention is to extract metadata from binary data in which metadata is described,
For example, an object of the present invention is to enable processing such as search, reference, and change.
【0014】また、本発明の他の目的は、チェックサム
の確認情報をメタデータとともに登録しておき、この確
認情報を用いてメタデータの判別を行うことにより、よ
り正確なメタデータの判別を可能とすることにある。[0014] Another object of the present invention is to register check sum confirmation information together with metadata and determine the metadata using this confirmation information, thereby enabling more accurate determination of the metadata. To make it possible.
【0015】[0015]
【課題を解決するための手段】上記の目的を達成するた
めの本発明のデータ処理方法はたとえば以下の工程を備
える。すなわち、バイナリデータにメタデータを登録す
るデータ処理方法であって、メタデータの付与対象のバ
イナリデータを読み込む第1読込工程と、前記バイナリ
データに付与すべきメタデータを読み込む第2読込工程
と、前記第2読込工程で読み込まれたメタデータに基づ
いて確認情報を生成する生成工程と、前記第1読込工程
で読み込まれたバイナリデータの後に、前記生成手段で
生成された確認情報と前記第2読込工程で読み込まれた
メタデータを接続する接続工程と、前記接続工程によっ
て得られたデータの全体を一つのファイルとして出力す
る出力工程とを備える。A data processing method according to the present invention for achieving the above object includes, for example, the following steps. That is, a data processing method for registering metadata in binary data, comprising: a first reading step of reading binary data to be given metadata; a second reading step of reading metadata to be given to the binary data; A generation step of generating confirmation information based on the metadata read in the second reading step; and after the binary data read in the first reading step, the confirmation information generated by the generation means and the second The method includes a connection step of connecting the metadata read in the reading step, and an output step of outputting the entire data obtained in the connection step as one file.
【0016】また、上記の目的を達成するための本発明
の他の態様によれば、以下の工程を備えたデータ処理方
法が提供される。すなわち、メタデータが登録されたバ
イナリデータにおいてメタデータを判別する方法であっ
て、データを読み込む読込工程と、前記読込工程で読み
込まれたデータを末尾より検査し、所定のデータ記述言
語の所定形式で記述されたデータが存在するか否かを第
1判定工程と、前記第1判定工程で所定形式のデータが
存在すると判定された場合に、該所定形式で記述された
データに基づいて確認情報を生成する生成工程と、前記
生成工程で生成された確認情報と、前記読込工程で読み
込まれたデータ中の前記所定形式で記述されたデータに
対して所定の位置に格納された確認情報とを比較する比
較工程と、前記比較工程の比較結果に基づいて該所定形
式で記述されたデータをメタデータであると判別する判
別工程とを備える。According to another aspect of the present invention for achieving the above object, there is provided a data processing method including the following steps. That is, a method for determining metadata in binary data in which metadata is registered, a reading step of reading data, and inspecting the data read in the reading step from the end, and a predetermined format of a predetermined data description language. A first determining step for determining whether or not the data described in step 1 exists; and, when it is determined in the first determining step that data in a predetermined format exists, confirming information based on the data described in the predetermined format. Generating the confirmation information generated in the generating step, and the confirmation information stored in a predetermined position with respect to the data described in the predetermined format in the data read in the reading step. A comparison step of comparing the data; and a determination step of determining data described in the predetermined format as metadata based on a result of the comparison.
【0017】また、本発明の他の態様によれば、上記の
方法を実現するデータ処理装置が提供される。また、本
発明の他の態様によれば、上記の方法をコンピュータに
よって実現するための制御プログラムが格納された記憶
媒体が提供される。According to another aspect of the present invention, there is provided a data processing apparatus for realizing the above method. According to another aspect of the present invention, there is provided a storage medium storing a control program for implementing the above method by a computer.
【0018】[0018]
【発明の実施の形態】以下、添付の図面を参照して本発
明の好適な実施形態を説明する。Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
【0019】<第1の実施形態>図1は第1の実施形態
によるデータ処理装置の構成を示すブロック図である。
図1において、100は読込部であり、スキャナ装置な
どを用いて画像を読み込む。101は入力部であり、ユ
ーザからの指示やデータを入力するもので、キーボード
やポインティング装置を含む。102は蓄積部であり、
バイナリデータやメタデータを蓄積する。蓄積部102
としては、ハードディスクを用いるのが一般的であろ
う。103は表示部であり、蓄積部102に蓄積された
バイナリデータを表示したり、読込部100で読み込ま
れた画像データを表示する。表示部103としては、C
RTや液晶表示装置が一般的である。<First Embodiment> FIG. 1 is a block diagram showing a configuration of a data processing apparatus according to a first embodiment.
In FIG. 1, a reading unit 100 reads an image using a scanner device or the like. Reference numeral 101 denotes an input unit for inputting instructions and data from a user, and includes a keyboard and a pointing device. 102 is a storage unit,
Store binary data and metadata. Accumulation unit 102
It is common to use a hard disk. A display unit 103 displays the binary data stored in the storage unit 102 and displays the image data read by the reading unit 100. As the display unit 103, C
RT and liquid crystal display devices are common.
【0020】104はCPUであり、上述した各構成の
処理のすべてに関わり、ROM105とRAM106は
その処理に必要なプログラム、データ、或いは作業領域
をCPU104に提供する。なお、図2のフローチャー
トを参照して後述する本実施形態の処理手順を実現する
ための制御プログラムもROM105に格納されている
ものとする。もちろん、蓄積部102にその制御プログ
ラムを格納しておき、CPU104による実行に応じて
その制御プログラムがRAM106上へロードされるよ
うな構成であってもよい。Reference numeral 104 denotes a CPU, which is involved in all of the above-described processing of each component, and the ROM 105 and the RAM 106 provide the CPU 104 with programs, data, or a work area necessary for the processing. It is assumed that a control program for realizing the processing procedure of the present embodiment described later with reference to the flowchart of FIG. Of course, the control program may be stored in the storage unit 102, and the control program may be loaded on the RAM 106 in accordance with the execution by the CPU 104.
【0021】なお、第1の実施形態のデータ処理装置に
は上記以外にも、種々の構成要素が設けられているが、
本発明の主眼ではないので、その説明については省略す
る。Although the data processing apparatus of the first embodiment has various components other than the above,
Since this is not the main subject of the present invention, the description thereof is omitted.
【0022】つぎに、以上のように構成されたデータ処
理装置において、メタデータをバイナリデータに登録す
る処理について説明する。図2は、第1の実施形態によ
るメタデータの登録処理を説明するフローチャートであ
る。Next, processing for registering metadata as binary data in the data processing apparatus configured as described above will be described. FIG. 2 is a flowchart illustrating a metadata registration process according to the first embodiment.
【0023】図2において、まず、ステップS301
で、ユーザによって指定されたバイナリデータをメモリ
(RAM106)上に読み込む。これは例えば所望のバ
イナリデータファイル名をキーボードから入力したり、
ポインティング装置(例えばマウス)によって当該バイ
ナリデータのアイコンを指示することによりなされる。
次にステップS302において、ユーザによって指定さ
れた、メタデータが記述されているXMLファイルをメ
モリ(RAM106)上に読み込む。このXMLファイ
ルの指定も、キーボードからファイル名を入力したり、
ポインティング装置(例えばマウス)で対応するアイコ
ンを指示する等によって行われる。In FIG. 2, first, at step S301
Then, the binary data designated by the user is read into the memory (RAM 106). This means, for example, entering the desired binary data file name from the keyboard,
This is performed by pointing an icon of the binary data with a pointing device (for example, a mouse).
Next, in step S302, the XML file in which the metadata is described by the user is read into the memory (RAM 106). This XML file can be specified by inputting the file name from the keyboard,
This is performed by pointing a corresponding icon with a pointing device (for example, a mouse).
【0024】次にステップS303で、メタデータを記
述したXMLファイルが適正形式のXMLデータである
かを調べる。この適性形式の判定では、XMLファイル
の記述フォーマットを満足しているか(例えば、タグの
左右の括弧が正しく対をなしているか、タグ付けの形式
が正しいか等)がチェックされる。なお、適性形式のX
MLデータであるか否かの判定は、正当なXMLデータ
であるか否かを含めたチェックであってもよい。ここ
で、正当なXMLデータか否かの判定は、例えば、XM
LデータがDTD(Document Type Definition)等のス
キーマに従って記述されているか等のチェックを行うこ
とでなされる。Next, in step S303, it is checked whether the XML file in which the metadata is described is XML data in a proper format. In the determination of the appropriate format, it is checked whether the description format of the XML file is satisfied (for example, whether the parentheses on the left and right of the tag form a correct pair, the format of the tagging is correct, and the like). In addition, X of appropriate form
The determination as to whether or not the data is ML data may be a check including whether or not the data is valid XML data. Here, the determination as to whether the data is valid XML data is made, for example, by using the XML
This is performed by checking whether the L data is described in accordance with a schema such as DTD (Document Type Definition).
【0025】ステップS303において適正形式のXM
Lデータでないと判定された場合にはステップS305
に進む。ステップS305では、XMLデータにエラー
がある旨を表示部103に表示し、本処理を終了する。In step S303, the proper format XM
If it is determined that the data is not L data, step S305
Proceed to. In step S305, the fact that there is an error in the XML data is displayed on the display unit 103, and this processing ends.
【0026】一方、ステップS303においてXMLフ
ァイルが適正形式のXMLデータであると判定された場
合には、処理はステップS304に進む。ステップS3
04では、当該メタデータのチェックサムを算出する。
チェックサムとしては、メタデータのサイズ(バイト
数)、文字数、単語数、行数、タグで囲まれた項目の数
など、メタデータから一意に決定できる数値を用いる。
また、これらのうちの2つ以上を同時に用いるようにす
れば、より確度の高いチェックサムを構成できる。ま
た、第2の実施形態で後述するメタデータの判別処理の
ために、チェックサムとしてどの数値を用いたか(或い
はチェックサムの算出法)をXMLデータとして記述し
ておくようにしてもよい。On the other hand, if it is determined in step S303 that the XML file is XML data in a proper format, the process proceeds to step S304. Step S3
In 04, a checksum of the metadata is calculated.
As the checksum, a numerical value that can be uniquely determined from the metadata, such as the size of the metadata (the number of bytes), the number of characters, the number of words, the number of lines, and the number of items enclosed by tags, is used.
If two or more of these are used at the same time, a more accurate checksum can be constructed. Further, for the metadata discrimination process described later in the second embodiment, which numerical value was used as the checksum (or the method of calculating the checksum) may be described as XML data.
【0027】次に、ステップS306において、ステッ
プS301で読み込まれたバイナリデータの後尾にメタ
データとチェックサムを登録する。さらに、ステップS
307でメタデータを登録したバイナリデータを出力
し、処理を終了する。Next, in step S306, metadata and a checksum are registered at the end of the binary data read in step S301. Further, step S
In step 307, the binary data in which the metadata is registered is output, and the process ends.
【0028】図3は本実施形態によるバイナリデータへ
のメタデータの登録状態を説明する図である。図3に示
されるように、バイナリデータの最後に、チェックサム
及びXMLデー他形式で記述されたメタデータが接続さ
れる。こうすることによって、他のアプリケーションに
は影響を与えずに、メタデータを登録することができ
る。具体的には、バイナリデータが標準的なJPEG画
像データであったとすると、末尾にメタデータを付け加
えても市販の(メタデータを認識しない)画像アプリケ
ーションで障害なく画像を読み込むことができる。すな
わち、バイナリデータのヘッダー部分の情報はメタデー
タの接続前から変化しないので、例えばバイナリデータ
が画像データであった場合には、一般的なブラウザによ
って画像再生が行える(接続されたメタデータは無視さ
れる)。FIG. 3 is a view for explaining the registration state of the metadata in the binary data according to the present embodiment. As shown in FIG. 3, at the end of the binary data, the checksum and the metadata described in the XML data and other formats are connected. By doing so, metadata can be registered without affecting other applications. Specifically, assuming that the binary data is standard JPEG image data, a commercially available image application (which does not recognize metadata) can read an image without any trouble even if metadata is added to the end. That is, since the information of the header portion of the binary data does not change before the connection of the metadata, for example, when the binary data is image data, the image can be reproduced by a general browser (the connected metadata is ignored). Is done).
【0029】さらに、メタデータはXMLで記述されて
いるため、このXMLデータ部分を抽出しておくことに
より、XMLデータを理解するツールがあれば、メタデ
ータの追加・変更・参照が可能であり、非常に汎用性に
優れている。なお、XMLデータ部分の抽出については
第2の実施形態で詳しく説明する。Furthermore, since the metadata is described in XML, by extracting this XML data portion, if there is a tool that understands the XML data, it is possible to add, change, and refer to the metadata. It is very versatile. The extraction of the XML data part will be described in detail in the second embodiment.
【0030】以上説明したように、第1の実施形態によ
れば、メタデータをXMLで記述し、このXMLデータ
をバイナリデータの最後に接続することにより、既存の
バイナリデータにメタデータを登録することができる。As described above, according to the first embodiment, metadata is described in XML, and the XML data is connected to the end of the binary data to register the metadata in the existing binary data. be able to.
【0031】そして、第1の実施形態によれば、所定の
データ記述言語における適正形式で記述されたメタデー
タ(XML形式のデータとチェックサム)をバイナリデ
ータの最後に接続することにより、既存のアプリケーシ
ョンに影響を及ぼすことなく、既存のバイナリデータに
メタデータを登録することが可能となる。すなわち、メ
タデータが登録されたバイナリデータを、既存のアプリ
ケーションで処理することが可能な形態で提供すること
ができる。また、メタデータとして既存のデータ記述言
語を用いれば、メタデータの編集、参照等に際して、当
該データ記述言語用の既存のツールをそのまま用いるこ
とができ、開発に関する手間も省くことができる。According to the first embodiment, by connecting metadata (XML format data and checksum) described in an appropriate format in a predetermined data description language to the end of binary data, an existing format is connected. Metadata can be registered in existing binary data without affecting applications. That is, binary data in which metadata is registered can be provided in a form that can be processed by an existing application. In addition, if an existing data description language is used as metadata, an existing tool for the data description language can be used as it is when editing or referencing the metadata, and the labor involved in development can be saved.
【0032】なお、上記実施形態ではXMLデータの正
当性をチェックしたが、Well-formedであるかというチ
ェックに置き換えてもよい。また、メタデータ形式はX
MLに限らず、SGML,HTMLなど、他の形式でも
よい。In the above embodiment, the validity of the XML data is checked, but it may be replaced with a check of whether the data is well-formed. The metadata format is X
The format is not limited to ML, and may be another format such as SGML or HTML.
【0033】<第2の実施形態>第1の実施形態におい
てバイナリデータにメタデータを登録する方法を説明し
た。第2の実施形態では、バイナリデータにメタデータ
が登録されているかどうかを判別し、登録されている場
合にはそのメタデータを抽出する処理について説明す
る。なお、第2の実施形態におけるデータ処理装置の構
成は第1の実施形態(図1)と同様であるのでここでは
説明を省略する。<Second Embodiment> The method of registering metadata in binary data in the first embodiment has been described. In the second embodiment, a process will be described in which it is determined whether or not metadata is registered in binary data, and when the metadata is registered, the metadata is extracted. Note that the configuration of the data processing device according to the second embodiment is the same as that of the first embodiment (FIG. 1), and a description thereof will be omitted.
【0034】以下、指定されたファイルのデータに第1
の実施形態で説明した如きメタデータが登録されている
か否かの判定と、登録されたメタデータを抽出する動作
について説明する。図4は第2の実施形態による登録さ
れたメタデータの判別及び抽出手順を示すフローチャー
トである。なお、本実施形態では、抽出されたメタデー
タを表示部103に表示するが、出力の形態はこれに限
らない。例えば、抽出したメタデータを検索処理に提供
するように構成してもよいことは当業者には明らかであ
ろう。In the following, the first file data is
The operation for determining whether or not the metadata as described in the embodiment is registered and extracting the registered metadata will be described. FIG. 4 is a flowchart showing a procedure for determining and extracting registered metadata according to the second embodiment. In the present embodiment, the extracted metadata is displayed on the display unit 103, but the output form is not limited to this. For example, it will be apparent to those skilled in the art that the extracted metadata may be configured to be provided to a search process.
【0035】図4によれば、まず、ステップS501
で、ユーザの指示により、メタデータが登録されている
かを判別したいファイルを指定する。ステップS501
における、処理対象となるファイル(処理対象データ)
の指定は、キーボードから当該処理対象データのファイ
ル名を入力したり、対応するアイコンをポインティング
装置(マウス)で指示することにより行われる。According to FIG. 4, first, in step S501,
Then, in accordance with the user's instruction, a file whose metadata is to be registered is specified. Step S501
File to be processed (data to be processed)
Is specified by inputting the file name of the data to be processed from the keyboard or designating the corresponding icon with a pointing device (mouse).
【0036】次にステップS502において、指定され
たファイルのデータにXMLで記述されたメタデータが
登録されているかどうかを判別する。以下、ステップS
502における判別処理の詳細について図5のフローチ
ャートと、図6の概略図にしたがって説明する。図5は
第2の実施形態によるメタデータの判別処理の詳細を説
明するフローチャートである。また、図6はメタデータ
としてXMLデータが登録された処理対象データのデー
タ構成例を示す図である。Next, in step S502, it is determined whether or not metadata described in XML is registered in the data of the designated file. Hereinafter, step S
Details of the determination processing in 502 will be described with reference to the flowchart in FIG. 5 and the schematic diagram in FIG. FIG. 5 is a flowchart illustrating details of the metadata determination process according to the second embodiment. FIG. 6 is a diagram illustrating a data configuration example of processing target data in which XML data is registered as metadata.
【0037】第1の実施形態で説明したように、メタデ
ータとしてのXMLデータが登録されているバイナリデ
ータのデータ構成は図6のようになっている。したがっ
て、メタデータの有無の判別は以下のように行われる。As described in the first embodiment, the data configuration of binary data in which XML data as metadata is registered is as shown in FIG. Therefore, the presence or absence of metadata is determined as follows.
【0038】図5に示されるように、まず、ステップS
601で、ステップS501で指定されたファイルのデ
ータ全体をメモリ(RAM106)上に読み込む。な
お、第1の実施形態のステップS306によって出力さ
れたデータは一つのファイルとして管理されるので、一
般的なファイル管理システムによってこの処理対象デー
タの全体を読出すことが可能である。As shown in FIG. 5, first, in step S
In step 601, the entire data of the file specified in step S 501 is read into the memory (RAM 106). Since the data output in step S306 of the first embodiment is managed as one file, it is possible to read the entire processing target data by a general file management system.
【0039】次にステップS602において、ステップ
S601で読み込んだデータの最後に“</PhotoXML
>”という文字列があるか調べる。存在しなかった場合
はステップS608に進み、当該処理対象データにメタ
データは登録されていないものと結論づける。Next, in step S602, "</ PhotoXML" is added at the end of the data read in step S601.
Check if there is a character string ">". If not, the process proceeds to step S608, and it is concluded that the metadata is not registered in the processing target data.
【0040】一方、読み込んだデータの最後に、“</P
hotoXML>”という文字列が存在した場合はステップS
603にすすむ。ステップS603では“</PhotoXML
>”という文字列の前に“<PhotoXML>”という文字列
が存在するかどうかを調べ、さらにそれらの文字列で囲
まれたデータが、XMLの適正形式で記述されているか
を確認する。なお、このとき、XMLの正当なデータで
あるか否かの判定を含めて行うようにしてもよい。適性
形式か否かの判定、正当なデータか否かの判定は、第1
の実施形態(ステップS303)で説明したとおりであ
る。On the other hand, at the end of the read data, "</ P
If the character string “hotoXML>” exists, step S
Proceed to 603. In step S603, “</ PhotoXML
It checks whether there is a character string "<PhotoXML>" before the character string ">", and checks whether the data surrounded by those character strings is described in an XML proper format. At this time, the determination as to whether or not the data is valid data in XML may be performed, and the determination as to whether or not the data is the proper format and the determination as to whether or not the data is valid may be performed in the first manner.
This is as described in the embodiment (Step S303).
【0041】ステップS603において適正形式である
ことが確認された場合は、ステップS604にすすむ。
ステップS604において、文字列<PhotoXML>の直前
に格納されているチェックサムを読み込み、これをチェ
ックサム1として保持する。続くステップS605にお
いて、上記適正形式であることが確認されたメタデータ
のチェックサムを計算し、これをチェックサム2とす
る。ここで、チェックサムの計算方法は実施例1で説明
したメタデータ接続時の処理と同じにする。例えばメタ
データ接続時に「文字数」をチェックサムとしたとき
は、本処理においても「文字数」をチェックサムとして
計算する。If it is determined in step S603 that the format is appropriate, the process proceeds to step S604.
In step S604, a checksum stored immediately before the character string <PhotoXML> is read, and this is stored as checksum 1. In the next step S605, the checksum of the metadata confirmed to be in the proper format is calculated, and this is set as checksum 2. Here, the calculation method of the checksum is the same as the processing at the time of metadata connection described in the first embodiment. For example, when the “number of characters” is set as the checksum at the time of metadata connection, the “number of characters” is also calculated as the checksum in this process.
【0042】次に、ステップS606においてチェック
サム1とチェックサム2を比較し、両者が等しければス
テップS607へ進み、メタデータが登録されている結
論づける。一方、チェックサムが等しくなければステッ
プS608に進む。ステップS602で、当該バイナリ
データの最後に文字列“</PhotoXML>”が存在しない
場合、ステップS603で文字列“<PhotoXML>”が存
在しない場合、ステップS603で内部の記述が適正で
ないと判定された場合、或いはステップS607でチェ
ックサムが一致しない場合は、処理はステップS605
にすすみ、当該処理対象データにメタデータは登録され
ていないものと結論づける。以上で、メタデータの判別
を終了する。Next, in step S606, checksum 1 and checksum 2 are compared, and if they are equal, the flow advances to step S607 to conclude that metadata is registered. On the other hand, if the checksums are not equal, the process proceeds to step S608. If the character string “</ PhotoXML>” does not exist at the end of the binary data in step S602, and if the character string “<PhotoXML>” does not exist in step S603, it is determined that the internal description is not proper in step S603. Otherwise, or if the checksums do not match in step S607, the process proceeds to step S605.
Then, it is concluded that no metadata is registered in the processing target data. This is the end of the metadata determination.
【0043】次に、図4のフローチャートにもどる。上
記の図5のフローチャートで示される処理によってメタ
データが登録されていると結論づけられた場合には、処
理はステップS503に進む。ステップS503では、
文字列“<PhotoXML>”と“</PhotoXML>”で囲まれ
た部分のXMLデータに基づいて登録されているメタデ
ータの内容を表示し、処理を終了する。一方、ステップ
S502でメタデータが登録されていないと判定された
場合にはそのまま処理を終了する。Next, return to the flowchart of FIG. If it is concluded that the metadata has been registered by the process shown in the flowchart of FIG. 5, the process proceeds to step S503. In step S503,
The contents of the metadata registered based on the XML data in the portion surrounded by the character strings “<PhotoXML>” and “</ PhotoXML>” are displayed, and the process ends. On the other hand, if it is determined in step S502 that the metadata has not been registered, the process ends.
【0044】以上説明したように、第2の実施形態によ
れば、メタデータ付きのバイナリデータと通常のバイナ
リデータとの判別を、データの末尾にXMLデータが適
正形式で記述されているか否かによって判別することが
可能となる。また、メタデータが判別された場合には、
そのメタデータを表示することが可能となる。As described above, according to the second embodiment, the discrimination between the binary data with metadata and the normal binary data is performed by determining whether the XML data is described at the end of the data in an appropriate format. Can be determined. Also, if the metadata is determined,
The metadata can be displayed.
【0045】すなわち、第2の実施形態によれば、メタ
データが登録されたバイナリデータとメタデータが登録
されていないバイナリデータとを判別するとともに、登
録されたメタデータを抽出することが可能となる。従っ
て、メタデータとして既存のデータ記述言語を用いれ
ば、メタデータを用いた検索に際して、当該データ記述
言語用の既存のツールをそのまま用いることができ、開
発に関する手間も省くことができる。That is, according to the second embodiment, it is possible to distinguish between binary data in which metadata is registered and binary data in which metadata is not registered, and to extract the registered metadata. Become. Therefore, if an existing data description language is used as metadata, an existing tool for the data description language can be used as it is in a search using the metadata, and the time and effort for development can be saved.
【0046】また、上記実施形態によれば、メタデータ
の判別のためにチェックサム等のチェック機構を設けて
あるので、より確実にメタデータを判別することができ
る。Further, according to the above-described embodiment, since a check mechanism such as a checksum is provided to determine the metadata, the metadata can be more reliably determined.
【0047】なお、上記各実施形態では、メタデータと
してXMLデータを用いたがこれに限られるものではな
い。例えば、SGMLやHTML等のデータ記述言語で
あってもよい。もちろん、これらのデータの存在を検出
するために用いられる文字列(実施形態では<PhotoXML
>と</PhotoXML>を用いている)や正当性の判定は使
用されるデータ記述言語等によって変わるものであり、
実施形態によって限定さる者ではない。また、バイナリ
データとしては静止画像データ、動画像データ、音声デ
ータ等が挙げられる。In each of the above embodiments, XML data is used as metadata, but the present invention is not limited to this. For example, a data description language such as SGML or HTML may be used. Of course, the character string used to detect the presence of these data (in the embodiment <PhotoXML
> And </ PhotoXML>) and the validity determination depends on the data description language used, etc.
It is not limited by the embodiment. The binary data includes still image data, moving image data, audio data, and the like.
【0048】また、チェックサムは第1の実施形態で説
明したように、種々のものを利用可能である。また、メ
タデータの本体内(上記実施形態ではXMLデータ内)
にチェックサムの態様(例えば、「文字数」等)を記述
するようにしておいて、データ判別の際にはその記述に
従ってチェックサムを計算するようにしてもよい。Various checksums can be used as described in the first embodiment. Also, in the metadata body (in the above embodiment, in the XML data)
In this case, the form of the checksum (for example, “the number of characters”) may be described, and the checksum may be calculated in accordance with the description when determining the data.
【0049】また、上記第2の実施形態において、チェ
ックサムを用いてメタデータの有無を判定したが、チェ
ックサムによる判定の後に、XML自体のもつ整合性
(ValidateもしくはWell-Formed)を確認することによ
り、より正確な判定を行うことができる。In the second embodiment, the presence or absence of metadata is determined using a checksum. After the determination based on the checksum, the consistency (Validate or Well-Formed) of the XML itself is confirmed. This makes it possible to make a more accurate determination.
【0050】なお、本発明は、複数の機器(例えばホス
トコンピュータ,インタフェイス機器,リーダ,プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機,ファクシミリ装置
など)に適用してもよい。The present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but can be applied to a single device (for example, a copier, a facsimile). Device).
【0051】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or the apparatus.
And MPU) read and execute the program code stored in the storage medium.
【0052】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
【0053】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
【0054】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
【0055】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
【0056】[0056]
【発明の効果】以上説明したように、本発明によれば、
既存のアプリケーションに影響を与えずに、バイナリデ
ータにメタデータを登録することが可能となる。また、
本発明によれば、メタデータが登録されたバイナリデー
タを、既存のアプリケーションで処理することが可能と
なる。また、本発明によれば、メタデータの記述に一般
的なデータ記述言語を用いることにより、データ記述言
語用の既存のツールを利用することが可能となり、対応
アプリケーションの開発が容易になる。さらに、本発明
によれば、メタデータが記述されたバイナリデータから
メタデータを抽出し、例えば検索、参照、変更等の処理
に供することが可能となる。さらに、本発明によれば、
チェックサムの確認情報をメタデータとともに登録して
おき、この確認情報を用いてメタデータの判別を行うの
で、より正確なメタデータの判別が可能となる。As described above, according to the present invention,
Metadata can be registered in binary data without affecting existing applications. Also,
According to the present invention, binary data in which metadata is registered can be processed by an existing application. Further, according to the present invention, by using a general data description language for description of metadata, an existing tool for the data description language can be used, and development of a corresponding application is facilitated. Further, according to the present invention, it is possible to extract metadata from binary data in which metadata is described, and to provide the metadata to processing such as search, reference, and change. Furthermore, according to the present invention,
Checksum confirmation information is registered together with the metadata, and the metadata is determined using the confirmation information, so that more accurate metadata determination is possible.
【図1】第1の実施形態によるデータ処理装置の構成を
示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a data processing device according to a first embodiment.
【図2】第1の実施形態によるメタデータの登録処理を
説明するフローチャートである。FIG. 2 is a flowchart illustrating a metadata registration process according to the first embodiment.
【図3】本実施形態によるバイナリデータへのメタデー
タの登録状態を説明する図である。FIG. 3 is a diagram illustrating a registration state of metadata in binary data according to the embodiment.
【図4】第2の実施形態による登録されたメタデータの
判別及び抽出手順を示すフローチャートである。FIG. 4 is a flowchart illustrating a procedure for determining and extracting registered metadata according to a second embodiment.
【図5】第2の実施形態によるメタデータの判別処理の
詳細を説明するフローチャートである。FIG. 5 is a flowchart illustrating details of metadata determination processing according to a second embodiment.
【図6】メタデータとしてXMLデータが登録されたバ
イナリデータのデータ構成例を示す図である。FIG. 6 is a diagram illustrating a data configuration example of binary data in which XML data is registered as metadata.
【図7】バイナリデータにメタデータを埋め込んだフォ
ーマットの概観を示す図である。FIG. 7 is a diagram showing an overview of a format in which metadata is embedded in binary data.
【図8】バイナリデータとメタデータをデータベースで
管理する方法を概念的に示した図である。FIG. 8 is a diagram conceptually showing a method of managing binary data and metadata in a database.
Claims (41)
データ処理方法であって、 メタデータの付与対象のバイナリデータを読み込む第1
読込工程と、 前記バイナリデータに付与すべきメタデータを読み込む
第2読込工程と、 前記第2読込工程で読み込まれたメタデータに基づいて
確認情報を生成する生成工程と、 前記第1読込工程で読み込まれたバイナリデータの後
に、前記生成手段で生成された確認情報と前記第2読込
工程で読み込まれたメタデータを接続する接続工程と、 前記接続工程によって得られたデータの全体を一つのフ
ァイルとして出力する出力工程とを備えることを特徴と
するデータ処理方法。1. A data processing method for registering metadata in binary data, the method comprising: reading binary data to which metadata is to be added;
A reading step, a second reading step of reading metadata to be added to the binary data, a generating step of generating confirmation information based on the metadata read in the second reading step, and a first reading step. After the read binary data, a connection step of connecting the confirmation information generated by the generation means and the metadata read in the second reading step, and a file obtained by combining the entire data obtained by the connection step into one file An output step of outputting the data as a data.
み込まれたメタデータについて複数種類の確認情報を生
成することを特徴とする請求項1に記載のデータ処理方
法。2. The data processing method according to claim 1, wherein the generating step generates a plurality of types of confirmation information for the metadata read in the second reading step.
別を表わす情報を前記第2工程で読み込まれたメタデー
タに追記する追記工程を更に備えることを特徴とする請
求項1に記載のデータ処理方法。3. The data according to claim 1, further comprising an appending step of appending information indicating a type of confirmation information used in the generating step to the metadata read in the second step. Processing method.
ータが、所定のデータ記述言語における適正な形式で記
述されているか否かを判定する判定工程を更に備え、 前記生成工程と接続工程は、前記判定工程で適正な形式
で記述されていると判定された場合に実行されることを
特徴とする請求項1に記載のデータ処理方法。4. The method further comprises: determining whether the metadata read in the second reading step is described in an appropriate format in a predetermined data description language. 2. The data processing method according to claim 1, wherein the method is executed when it is determined in the determination step that the description is made in an appropriate format.
所定のデータ記述言語としての正当性を満足するか否か
を含めて判定することを特徴とする請求項4に記載のデ
ータ処理方法。5. The data processing method according to claim 4, wherein the determination step includes determining whether the metadata satisfies the validity as the predetermined data description language.
においてメタデータを判別する方法であって、 データを読み込む読込工程と、 前記読込工程で読み込まれたデータを末尾より検査し、
所定のデータ記述言語の所定形式で記述されたデータが
存在するか否かを第1判定工程と、 前記第1判定工程で所定形式のデータが存在すると判定
された場合に、該所定形式で記述されたデータに基づい
て確認情報を生成する生成工程と、 前記生成工程で生成された確認情報と、前記読込工程で
読み込まれたデータ中の前記所定形式で記述されたデー
タに対して所定の位置に格納された確認情報とを比較す
る比較工程と、 前記比較工程の比較結果に基づいて該所定形式で記述さ
れたデータをメタデータであると判別する判別工程とを
備えることを特徴とするデータ処理方法。6. A method for determining metadata in binary data in which metadata is registered, comprising: a reading step of reading data; and inspecting data read in the reading step from the end,
A first determining step of determining whether or not data described in a predetermined format of a predetermined data description language exists; and if the first determining step determines that data of a predetermined format exists, the data is described in the predetermined format. A generating step of generating confirmation information based on the obtained data; a confirmation information generated in the generating step; and a predetermined position with respect to the data described in the predetermined format in the data read in the reading step. A comparison step of comparing the confirmation information stored in the storage unit with the confirmation information; and a determination step of determining the data described in the predetermined format as metadata based on the comparison result of the comparison step. Processing method.
生成することを特徴とする請求項6に記載のデータ処理
方法。7. The data processing method according to claim 6, wherein the generating step generates a plurality of types of confirmation information.
れたデータに含まれる所定の情報によって指示される種
類の確認情報を生成することを特徴とする請求項6に記
載のデータ処理方法。8. The data processing method according to claim 6, wherein said generating step generates confirmation information of a type indicated by predetermined information included in the data described in the predetermined format.
は、前記所定形式で記述されたデータの直前であること
を特徴とする請求項6に記載のデータ処理装置。9. The data processing apparatus according to claim 6, wherein the predetermined position where the confirmation information is stored is immediately before the data described in the predetermined format.
別された場合、判別されたメタデータを抽出して出力す
る出力工程を更に備えることを特徴とする請求項6に記
載のデータ処理方法。10. The data processing method according to claim 6, further comprising an output step of extracting and outputting the determined metadata when the metadata is determined in the determining step.
データに基づく表示を行うことを特徴とする請求項10
に記載のデータ処理方法。11. The method according to claim 10, wherein the output step performs a display based on the extracted metadata.
The data processing method described in 1.
データを、前記所定のデータ記述言語を処理するための
ツールに提供することを特徴とする請求項10に記載の
データ処理方法。12. The data processing method according to claim 10, wherein the output step provides the extracted metadata to a tool for processing the predetermined data description language.
記データの末尾に存在するか否かをチェックするチェッ
ク工程と、 該末尾文字列が存在する場合に前記所定のデータ記述言
語に規定された先頭文字列を該データの先頭ヘ向かって
検索する検索工程と、 前記検索工程で前記先頭文字列が検索された場合、該先
頭文字列と前記末尾文字列との間のデータが、前記所定
のデータ記述言語における適正な形式を有するか否かを
検査する検査工程とを備えることを特徴とする請求項6
に記載のデータ処理方法。13. The determining step includes: checking whether an end character string defined in the predetermined data description language exists at the end of the data; and determining whether the end character string exists. A search step of searching for a head character string defined in the predetermined data description language toward the head of the data; and when the head character string is searched in the search step, the head character string and the tail character string A checking step of checking whether data between the first and second data formats has an appropriate format in the predetermined data description language.
The data processing method described in 1.
述言語としての正当性を満足するかの検査もあわせて行
うことを特徴とする請求項13に記載のデータ処理方
法。14. The data processing method according to claim 13, wherein the checking step also includes checking whether the validity as the predetermined data description language is satisfied.
数を用いたチェックサムを含むことを特徴とする請求項
1乃至14のいずれか1項に記載のデータ処理方法。15. The data processing method according to claim 1, wherein the confirmation information includes a checksum using the number of bytes of metadata.
を用いたチェックサムを含むことを特徴とする請求項1
乃至14のいずれか1項に記載のデータ処理方法。16. The method according to claim 1, wherein the confirmation information includes a checksum using the number of characters of metadata.
15. The data processing method according to any one of items 14 to 14.
を用いたチェックサムを含むことを特徴とする請求項1
乃至14のいずれか1項に記載のデータ処理方法。17. The method according to claim 1, wherein the confirmation information includes a checksum using the number of words of metadata.
15. The data processing method according to any one of items 14 to 14.
用いたチェックサムを含むことを特徴とする請求項1乃
至14のいずれか1項に記載のデータ処理方法。18. The data processing method according to claim 1, wherein the confirmation information includes a checksum using the number of metadata lines.
を用いたチェックサムを含むことを特徴とする請求項1
乃至14のいずれか1項に記載のデータ処理方法。19. The method according to claim 1, wherein the confirmation information includes a checksum using the number of items of metadata.
15. The data processing method according to any one of items 14 to 14.
ることを特徴とする請求項1乃至19のいずれかに記載
のデータ処理方法。20. The data processing method according to claim 1, wherein the binary data is image data.
ることを特徴とする請求項1乃至19のいずれかに記載
のデータ処理方法。21. The data processing method according to claim 1, wherein the binary data is audio data.
あることを特徴とする請求項1乃至19のいずれかに記
載のデータ処理方法。22. The data processing method according to claim 1, wherein the binary data is moving image data.
あることを特徴とする請求項1乃至19のいずれかに記
載のデータ処理方法。23. The data processing method according to claim 1, wherein the predetermined data description language is XML.
であることを特徴とする請求項1乃至19のいずれかに
記載のデータ処理方法。24. The method according to claim 24, wherein the predetermined data description language is SGML.
20. The data processing method according to claim 1, wherein:
であることを特徴とする請求項1乃至19のいずれかに
記載のデータ処理方法。25. The method according to claim 25, wherein the predetermined data description language is HTML.
20. The data processing method according to claim 1, wherein:
るデータ処理装置であって、 メタデータの付与対象のバイナリデータを読み込む第1
読込手段と、 前記バイナリデータに付与すべきメタデータを読み込む
第2読込手段と、 前記第2読込手段で読み込まれたメタデータに基づいて
確認情報を生成する生成手段と、 前記第1読込手段で読み込まれたバイナリデータの後
に、前記生成手段で生成された確認情報と前記第2読込
手段で読み込まれたメタデータを接続する接続手段と、 前記接続手段によって得られたデータの全体を一つのフ
ァイルとして出力する出力手段とを備えることを特徴と
するデータ処理装置。26. A data processing device for registering metadata in binary data, comprising: a first processor for reading binary data to which metadata is to be added;
Reading means; second reading means for reading metadata to be added to the binary data; generating means for generating confirmation information based on the metadata read by the second reading means; and first reading means. After the read binary data, connecting means for connecting the confirmation information generated by the generating means and the metadata read by the second reading means, and the entire data obtained by the connecting means in one file A data processing device comprising:
読み込まれたメタデータについて複数種類の確認情報を
生成することを特徴とする請求項26に記載のデータ処
理装置。27. The data processing apparatus according to claim 26, wherein the generation unit generates a plurality of types of confirmation information for the metadata read by the second reading unit.
種別を表わす情報を前記第2手段で読み込まれたメタデ
ータに追記する追記手段を更に備えることを特徴とする
請求項26に記載のデータ処理装置。28. The data according to claim 26, further comprising an appending unit that appends information indicating a type of confirmation information used by said generating unit to the metadata read by said second unit. Processing equipment.
データが、所定のデータ記述言語における適正な形式で
記述されているか否かを判定する判定手段を更に備え、 前記生成手段と接続手段は、前記判定手段で適正な形式
で記述されていると判定された場合に動作することを特
徴とする請求項26に記載のデータ処理装置。29. The apparatus according to claim 29, further comprising: a determination unit configured to determine whether the metadata read by the second reading unit is described in an appropriate format in a predetermined data description language. 27. The data processing apparatus according to claim 26, wherein the apparatus operates when the determination unit determines that the description is made in an appropriate format.
記所定のデータ記述言語としての正当性を満足するか否
かを含めて判定することを特徴とする請求項29に記載
のデータ処理装置。30. The data processing apparatus according to claim 29, wherein the determination unit determines whether the metadata satisfies the validity as the predetermined data description language.
タにおいてメタデータを判別する装置であって、 データを読み込む読込手段と、 前記読込手段で読み込まれたデータを末尾より検査し、
所定のデータ記述言語の所定形式で記述されたデータが
存在するか否かを第1判定手段と、 前記第1判定手段で所定形式のデータが存在すると判定
された場合に、該所定形式で記述されたデータに基づい
て確認情報を生成する生成手段と、 前記生成手段で生成された確認情報と、前記読込手段で
読み込まれたデータ中の前記所定形式で記述されたデー
タに対して所定の位置に格納された確認情報とを比較す
る比較手段と、 前記比較手段の比較結果に基づいて該所定形式で記述さ
れたデータをメタデータであると判別する判別手段とを
備えることを特徴とするデータ処理装置。31. An apparatus for determining metadata in binary data in which metadata is registered, comprising: reading means for reading data; inspecting the data read by the reading means from the end;
First determining means for determining whether or not data described in a predetermined format of a predetermined data description language exists; and when the first determining means determines that data in a predetermined format exists, the description is performed in the predetermined format. Generating means for generating confirmation information based on the received data; confirmation information generated by the generating means; and a predetermined position with respect to data described in the predetermined format in the data read by the reading means. A comparison unit that compares the confirmation information stored in the storage unit with the confirmation information; and a determination unit that determines the data described in the predetermined format as metadata based on a comparison result of the comparison unit. Processing equipment.
を生成することを特徴とする請求項31に記載のデータ
処理装置。32. The data processing apparatus according to claim 31, wherein said generating means generates a plurality of types of confirmation information.
されたデータに含まれる所定の情報によって指示される
種類の確認情報を生成することを特徴とする請求項31
に記載のデータ処理装置。33. The apparatus according to claim 31, wherein the generation unit generates a type of confirmation information indicated by predetermined information included in the data described in the predetermined format.
A data processing device according to claim 1.
は、前記所定形式で記述されたデータの直前であること
を特徴とする請求項31に記載のデータ処理装置。34. The data processing apparatus according to claim 31, wherein the predetermined position where the confirmation information is stored is immediately before the data described in the predetermined format.
別された場合、判別されたメタデータを抽出して出力す
る出力手段を更に備えることを特徴とする請求項31に
記載のデータ処理装置。35. The data processing apparatus according to claim 31, further comprising an output unit that extracts and outputs the determined metadata when the metadata is determined by the determination unit.
データに基づく表示を行うことを特徴とする請求項35
に記載のデータ処理装置。36. The apparatus according to claim 35, wherein the output unit performs display based on the extracted metadata.
A data processing device according to claim 1.
データを、前記所定のデータ記述言語を処理するための
ツールに提供することを特徴とする請求項35に記載の
データ処理装置。37. The data processing apparatus according to claim 35, wherein the output unit provides the extracted metadata to a tool for processing the predetermined data description language.
記データの末尾に存在するか否かをチェックするチェッ
ク手段と、 該末尾文字列が存在する場合に前記所定のデータ記述言
語に規定された先頭文字列を該データの先頭ヘ向かって
検索する検索手段と、 前記検索手段で前記先頭文字列が検索された場合、該先
頭文字列と前記末尾文字列との間のデータが、前記所定
のデータ記述言語における適正な形式を有するか否かを
検査する検査手段とを備えることを特徴とする請求項3
1に記載のデータ処理装置。38. The discriminating means includes: checking means for checking whether an end character string defined in the predetermined data description language exists at the end of the data; and determining whether the end character string exists. Searching means for searching for a head character string defined in the predetermined data description language toward the head of the data; and when the head character string is searched by the searching means, the head character string and the tail character string 4. A checking means for checking whether data between the first and second data formats has an appropriate format in the predetermined data description language.
2. The data processing device according to 1.
述言語としての正当性を満足するかの検査もあわせて行
うことを特徴とする請求項38に記載のデータ処理装
置。39. The data processing apparatus according to claim 38, wherein said checking means also checks whether the validity as said predetermined data description language is satisfied.
る処理のためのコンピュータープログラムを格納する記
憶媒体であって、該コンピュータプログラムが、 メタデータの付与対象のバイナリデータを読み込む第1
読込工程のコードと、 前記バイナリデータに付与すべきメタデータを読み込む
第2読込工程のコードと、 前記第2読込工程で読み込まれたメタデータに基づいて
確認情報を生成する生成工程のコードと、 前記第1読込工程で読み込まれたバイナリデータの後
に、前記生成手段で生成された確認情報と前記第2読込
工程で読み込まれたメタデータを接続する接続工程のコ
ードと、 前記接続工程によって得られたデータの全体を一つのフ
ァイルとして出力する出力工程のコードとを備えること
を特徴とする記憶媒体。40. A storage medium for storing a computer program for a process of registering metadata in binary data, wherein the computer program reads first binary data to which metadata is to be added.
A code for a reading step, a code for a second reading step for reading metadata to be added to the binary data, a code for a generating step for generating confirmation information based on the metadata read in the second reading step, After the binary data read in the first reading step, a code of a connecting step for connecting the confirmation information generated by the generating means and the metadata read in the second reading step; And a code for an output step of outputting the entirety of the generated data as one file.
タにおいてメタデータを判別する処理のためのコンピュ
ータプログラムであって、該コンピュータプログラム
が、 データを読み込む読込工程のコードと、 前記読込工程で読み込まれたデータを末尾より検査し、
所定のデータ記述言語の所定形式で記述されたデータが
存在するか否かを第1判定工程のコードと、 前記第1判定工程で所定形式のデータが存在すると判定
された場合に、該所定形式で記述されたデータに基づい
て確認情報を生成する生成工程のコードと、 前記生成工程で生成された確認情報と、前記読込工程で
読み込まれたデータ中の前記所定形式で記述されたデー
タに対して所定の位置に格納された確認情報とを比較す
る比較工程のコードと、 前記比較工程の比較結果に基づいて該所定形式で記述さ
れたデータをメタデータであると判別する判別工程のコ
ードとを備えることを特徴とする記憶媒体。41. A computer program for determining metadata in binary data in which metadata has been registered, the computer program comprising: a code for a reading step for reading data; Check the data from the end,
A code of a first determination step for determining whether or not data described in a predetermined format of a predetermined data description language exists; and, when it is determined in the first determination step that data of a predetermined format exists, the predetermined format The code of the generation step of generating the confirmation information based on the data described in, the confirmation information generated in the generation step, and the data described in the predetermined format in the data read in the reading step A code of a comparing step of comparing the confirmation information stored in a predetermined position with the code of a determining step of determining data described in the predetermined format as metadata based on a comparison result of the comparing step. A storage medium comprising:
Priority Applications (8)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10576899A JP4072285B2 (en) | 1999-04-13 | 1999-04-13 | Data processing method and apparatus, and storage medium |
| EP10191844A EP2312474A1 (en) | 1999-04-13 | 2000-04-11 | Data processing method and apparatus |
| EP00303051A EP1045315A3 (en) | 1999-04-13 | 2000-04-11 | Data processing method and apparatus |
| US09/548,295 US6886131B1 (en) | 1999-04-13 | 2000-04-12 | Data processing method and apparatus |
| CNB001065661A CN1193292C (en) | 1999-04-13 | 2000-04-13 | Data processing method and device |
| CNB2004100459201A CN1306441C (en) | 1999-04-13 | 2000-04-13 | Data processing method and appts. |
| US11/086,297 US20050165848A1 (en) | 1999-04-13 | 2005-03-23 | Data processing method and apparatus |
| US11/086,284 US7349911B2 (en) | 1999-04-13 | 2005-03-23 | Data processing method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10576899A JP4072285B2 (en) | 1999-04-13 | 1999-04-13 | Data processing method and apparatus, and storage medium |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2000298606A true JP2000298606A (en) | 2000-10-24 |
| JP2000298606A5 JP2000298606A5 (en) | 2005-04-14 |
| JP4072285B2 JP4072285B2 (en) | 2008-04-09 |
Family
ID=14416365
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10576899A Expired - Fee Related JP4072285B2 (en) | 1999-04-13 | 1999-04-13 | Data processing method and apparatus, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4072285B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002189757A (en) * | 2000-12-20 | 2002-07-05 | Canon Inc | Data retrieval apparatus and method |
| JP2008123533A (en) * | 2000-11-07 | 2008-05-29 | Ascriptus Inc | System for creation of database and structured information from verbal input |
| US8521561B2 (en) | 2006-08-25 | 2013-08-27 | Konica Minolta Medical & Graphic, Inc. | Database system, program, image retrieving method, and report retrieving method |
-
1999
- 1999-04-13 JP JP10576899A patent/JP4072285B2/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008123533A (en) * | 2000-11-07 | 2008-05-29 | Ascriptus Inc | System for creation of database and structured information from verbal input |
| JP2002189757A (en) * | 2000-12-20 | 2002-07-05 | Canon Inc | Data retrieval apparatus and method |
| US8521561B2 (en) | 2006-08-25 | 2013-08-27 | Konica Minolta Medical & Graphic, Inc. | Database system, program, image retrieving method, and report retrieving method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4072285B2 (en) | 2008-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7349911B2 (en) | Data processing method and apparatus | |
| JP2770715B2 (en) | Structured document search device | |
| JP4378029B2 (en) | Data processing method and apparatus, and storage medium | |
| JP3887867B2 (en) | How to register structured documents | |
| US7617229B2 (en) | Management and use of data in a computer-generated document | |
| US7617444B2 (en) | File formats, methods, and computer program products for representing workbooks | |
| JP4072302B2 (en) | Data processing method and apparatus, and storage medium | |
| US20080037047A1 (en) | Extendable meta-data support in final form presentation datastream print enterprises | |
| JPH08241332A (en) | Device and method for retrieving all-sentence registered word | |
| JPH11250071A (en) | Image database constructing method, image database device and image information storage medium | |
| EP1672526A2 (en) | File formats, methods, and computer program products for representing documents | |
| US20070185832A1 (en) | Managing tasks for multiple file types | |
| US20090100023A1 (en) | Information processing apparatus and computer readable information recording medium | |
| JP4072293B2 (en) | Data processing method and apparatus, and storage medium | |
| US20050246310A1 (en) | File conversion method and system | |
| JP4072285B2 (en) | Data processing method and apparatus, and storage medium | |
| JP4072284B2 (en) | Data processing method and apparatus, and storage medium | |
| JP4072283B2 (en) | Data processing method and apparatus, and storage medium | |
| JP2000311103A (en) | Data processing method and apparatus and storage medium | |
| JP2000312290A (en) | Data processing method and apparatus and storage medium | |
| JP7377565B2 (en) | Drawing search device, drawing database construction device, drawing search system, drawing search method, and program | |
| JP2002342137A (en) | Document management apparatus, document management method, and recording medium | |
| JP2001297104A (en) | Data storage device, method and storage medium | |
| JP3466792B2 (en) | Drawing search method and apparatus | |
| JPWO2006001391A1 (en) | Document processing apparatus and document processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040603 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040603 |
|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7426 Effective date: 20040603 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20040603 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071029 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071211 |
|
| 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: 20080111 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080121 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110125 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120125 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130125 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140125 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |