JP3626630B2 - Structured data creation system - Google Patents

Structured data creation system Download PDF

Info

Publication number
JP3626630B2
JP3626630B2 JP14408899A JP14408899A JP3626630B2 JP 3626630 B2 JP3626630 B2 JP 3626630B2 JP 14408899 A JP14408899 A JP 14408899A JP 14408899 A JP14408899 A JP 14408899A JP 3626630 B2 JP3626630 B2 JP 3626630B2
Authority
JP
Japan
Prior art keywords
data
storage unit
check
item
data structure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP14408899A
Other languages
Japanese (ja)
Other versions
JP2000330834A (en
Inventor
巌 笹岡
Original Assignee
エヌイーシーシステムテクノロジー株式会社
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 エヌイーシーシステムテクノロジー株式会社 filed Critical エヌイーシーシステムテクノロジー株式会社
Priority to JP14408899A priority Critical patent/JP3626630B2/en
Publication of JP2000330834A publication Critical patent/JP2000330834A/en
Application granted granted Critical
Publication of JP3626630B2 publication Critical patent/JP3626630B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、データベースに保持させるデータを構造化して格納するための構造化データ作成システムに関する。
【0002】
【従来の技術】
構造化データ作成システムは、企業情報システムの開発等にて試験用データを作成するのに用いられている。
従来の構造化データ作成システムは、データ項目を入力する入力装置と、作成したデータを記憶するデータ記憶部と、入力された複数のデータ項目値をチェックし構造化データを作成するデータチェック/作成手段とから構成されている。データチェック/作成手段は、入力装置から受け取った複数のデータ項目を一定の条件に従ってチェックし、正常であれば構造化してデータ記憶部に記憶させる。
【0003】
このような構造化データ作成システムとしては、例えば、特開昭62ー217339号公報などが開示されている。この技術は、データをその発生した時点においてその構造と共に入力し、この入力されたデータをその構造に従って所定形式のレコードに作成して格納することにより、全データの入れ替え処理を無くし、処理時間の短縮化を図ったものである。すなわち、新たに発生するデータを所定のフォーマットに作り替え、これをデータベースに格納することによって、データの入れ替えにかかる処理時間を短縮化したものである。このようなデータベース管理システムによれば、データ構造を自由に作成することができる。
【0004】
【発明が解決しようとする課題】
しかしながら、前述の従来技術は、データ構造パターンをプログラム内で固定的に持っており、入力装置から与えられたデータ項目以外の項目も記憶装置に記憶されるため、一定のデータ構造パターンしか作成できず、且つ不要なデータ項目が作成され大容量の記憶装置が必要になるなどの問題がある。
また、チェック条件をプログラム内で固定的に持っているため、データチェック条件を自由に変更できないなどの問題もある。
さらに、特開昭62ー217339号公報の技術は、データベース管理システムにおいて、種類、属性、長さなどのデータ構造を自由に作成できるようにしたものであるが、複数のデータから構成されるパターンを自由に作成することができない。
【0005】
本発明はこのような事情に鑑みてなされたものであり、その目的は、入力された複数のデータ項目をチェックし、構造化データとして記憶する構造化データ作成システムにおいて、自由なデータ構造の作成と、データ項目に対するチェック条件を柔軟に変更できる構成を提供するものである。
【0006】
【課題を解決するための手段】
上記の課題を解決するために、本発明の構造化データ作成システムは、データベース管理システムを含めたデータベースを使った構造化データのパターン作成システムにおいて、データ構造を予め定義しておき、複数のデータから構成されるパターンを自由に作成できるようにしたことを特徴とする。すなわち、データ構造とチェック条件を予め定義しておくことで、入力された値に対するチェック機能を有し、且つデータパターンが固定化されていないことで、記憶装置の容量を削減することが出来る。
【0007】
すなわち、請求1に係る構造化データ作成システムは、データベースに保持させるデータを構造化して格納するための構造化データ作成システムにおいて、データ項目を入力する入力手段と、前記入力手段によって入力されたデータ項目に基づいて、プログラム制御により、予め定義されたデータ構造とチェック条件によって所定のデータチェックを行い、且つ構造化データを作成するデータ処理手段と、作成されたデータを記憶する記憶手段と、構造化データを表示する出力手段とを備え、前記記憶手段は、データの構造として、項目の組み合わせ情報を予め記憶しているデータ構造記憶部と、データを構成する長さ、属性、初期値を含む各情報と、桁数、属性、範囲を含むチェック条件とを予め記憶しているデータ項目記憶部と、作成されたデータを記憶しているデータ記憶部とを備え、前記データ処理手段は、前記入力手段から与えられたデータパターン名称をキーとして、前記データ構造記憶部を検索するデータ構造検索手段と、前記データ構造検索手段にて検索した結果、一致するデータパターン名称が存在した場合に、前記データ構造記憶部に記憶されているデータパターン中のデータ項目数及び項目名が、前記入力手段から与えられたデータ項目数、項目名と一致するか否かを調べ、不一致が検出された場合は、エラーメッセージを前記出力手段に表示させるデータ構造チェック手段と、前記データ構造検索手段にて一致するデータパターン名称が存在しない場合、または、一致するデータパターン名称が存在した場合であって、尚、前記データ構造チェック手段にて一致が検出された場合に、前記入力手段から与えられた項目名をキーに、前記データ項目記憶部よりデータチェック条件を取得し、取得したデータチェック条件に基づいてデータ項目設定値のチェックを行い、条件を満たしていなければ、エラーメッセージを前記出力手段に表示させるデータ項目チェック手段と、前記データ項目チェック手段にてチェック条件を満たしている場合に、前記入力手段から与えられたデータタイプ名称を付加して、構造化したデータを前記データ記憶部に登録し、同時に、前記データ構造検索手段にて検索に失敗していた場合、各項目の組み合わせを新規データパターンとして、前記データ構造記憶部に登録させるデータ作成手段とを備えていることを特徴とする。
【0009】
請求項2に係る構造化データ作成システムは、請求項1に記載の構造化データ作成システムにおいて、前記データ処理手段は、さらに、前記入力手段から与えられた処理モードにより、データの検索か作成かの判断を行う処理モード判定手段と、前記処理モード判定手段により、処理モードがデータの検索と判断された場合に、前記入力手段から与えられたデータパターン名称、データ項目名、データ項目設定値によって前記データ記憶部を検索し、データの一覧を前記出力手段に表示させるデータ検索手段とを備えていることを特徴とする。
【0010】
【発明の実施の形態】
以下、図面を用いて本発明の実施の形態の幾つかを詳細に説明する。図1は、本発明の第1の実施の形態における構造化データ作成システムの構成図である。図1を参照すると、第1の実施の形態の構造化データ作成システムは、キーボード等の入力装置1と、プログラム制御により動作するデータ処理装置2と、情報を記憶する記憶装置3と、ディスプレイ装置等の出力装置4とによって構成されている。
【0011】
記憶装置3は、データ構造記憶部31と、データ項目記憶部32と、データ記憶部33とを含む。データ構造記憶部31は、データの構造として項目の組み合わせ情報をあらかじめ記憶している。また、データ項目記憶部32は、データを構成する各項目の情報(長さ、属性、初期値等)、及びチェック条件(桁数、属性、範囲等)をあらかじめ記憶している。さらに、データ記憶部33は、作成したデータを記憶している。
【0012】
データ処理装置2は、データ構造検索手段21と、データ構造チェック手段22と、データ項目チェック手段23とデータ作成手段24とから構成されている。データ構造検索手段21は、入力装置1から与えられたデータパターン名称をキーとしてデータ構造記憶部31を検索する。データ構造チェック手段22は、データ構造検索手段21にて検索した結果、一致するデータパターン名称が存在した場合にデータ構造記憶部31に記憶してあるデータパターン中のデータ項目数、及び項目名が入力装置1から与えられたデータ項目数、項目名と一致するか否かを調べる。このとき、不一致が検出された場合は、エラーメッセージを出力装置4に表示する。
【0013】
データ項目チェック手段23はデータ構造検索手段21にて検索に失敗するか、検索に成功してなおデータ構造チェック手段22にて一致が検出された場合に、入力装置1から与えられた項目名をキーに、データ項目記憶部32よりデータチェック条件を取得する。そして、取得したデータチェック条件でデータ項目設定値のチェックを行い、条件を満たしていなければ、エラーメッセージを出力装置4に表示する。データ作成手段24は、データ項目チェック手段23にてチェック条件を満たしている場合に、入力装置1から与えられたデータタイプ名称を付加して、構造化したデータをデータ記憶部33に登録する。同時に、データ構造検索手段21にて検索に失敗していた場合、各項目の組み合わせを新規データパターンとしてデータ構造記憶部31に登録する。
【0014】
次に、図1における第1の実施の形態の構造化データ作成システムの動作について説明する。すなわち、同図において、データ記憶部33は作成した試験データを記憶している。このとき、1つのデータは、データ項目記憶部32に記憶している項目の組み合わせによって構成されている。また、データ構造記憶部31では、データパターン毎にデータ項目の組み合わせを記憶している。さらに、データ項目記憶部32は各項目のチェック条件(桁数、属性、範囲等)を記憶している。
【0015】
データ構造検索手段21は、入力装置1からデータパターン名称、複数のデータ項目名/設定値を受け取り、データパターン名称がデータ構造記憶部31に記憶されているか否かを調べる。データ構造記憶部31にデータパターン名称が記憶されている場合は、既存データ構造とみなし、データ構造チェック手段22にてデータ構造のチェックを行う。このとき、データパターン名称がデータ構造記憶部31に記憶されていない場合は新規データ構造とみなし、データ構造チェックは行わない。新規データ構造か、もしくは既存データ構造でかつデータ構造チェックが正常であれば、データ項目チェック手段23にて設定値の妥当性チェックを行う。
【0016】
チェック結果が正常であれば、データ作成手段24にてデータの構造化を行い、データ記憶部33に登録する。この時、データ構造が新規であれば、項目名の組み合わせにデータパターン名称を付加し、データ構造記憶部31に登録する。これにより、不要なデータ項目での記憶部の記憶容量増大を招くことなく、且つ、自由な組み合わせのデータパターン作成を可能にする。
また、データ項目記憶部32に記憶されているチェック条件を変更するだけで柔軟にチェック仕様の変更に対応できることが可能となる。
【0017】
次に、フローチャートを用いて第1の実施の形態の構造化データ作成システムの動作を詳細に説明する。図2は、図1に示す第1の実施の形態の構造化データ作成システムの動作の流れを示すフローチャートである。また、図3は、図2に示すフローチャートの各ステップの処理において、記憶装置に記憶される具体的なデータの構成図である。
【0018】
図2において、入力装置1から与えられたデータパターン名称、データ項目名/設定値は、データ構造検索手段21に供給され、検索が開始される(ステップA1、以下、ステップは省略)。すると、データ構造検索手段21は、データパターン名称に対応したデータパターンがデータ構造記憶部31に記憶されているかどうかを調べる(A2)。データ構造記憶部31に対応するデータパターンが記憶されていた場合は(A2、YES)、既存のデータ構造であるため、入力装置1から与えられたデータ構造(データ項目名の組み合わせ)が、データ構造記憶部31に記憶されているデータ構造と一致しているか否かを調べる(A3)。
ここで、データ構造が一致していない場合は(A3、NO)、出力装置4にエラーメッセージを表示する(A4)。
【0019】
次に、ステップA2において、データパターンが新規データパターンであって、データ構造記憶部31に記憶されていないために検索できない場合(A2、NO)、もしくは、ステップA3において、入力されたデータ構造がデータ構造記憶部31に記憶されているデータ構造と一致している場合は(A3、YES)、入力装置1から与えられたデータ項目名をキーに、データ項目記憶部32を検索し、データチェック条件を取得する(A5)。そして、取得したデータチェック条件に基づいて、データ項目設定値のチェックを行う(A6)。
【0020】
データ項目の各項目についてチェックした結果(A7)、全項目に亘って条件を満足していれば(A8、YES)、データパターン名称、データ項目名1、データ項目設定値1、乃至、データ項目名n、データ項目設定値nの順に構造化したデータを作成して、データ記憶部33に記憶させる(A9)。
さらに、新規データパターンであるか否かのチェックを行い(A10)、新規データパターンである場合は(A10、YES)、その新規データパターンのデータパターン名称、データ項目名1、乃至、データ項目名nをデータ構造記憶部31に記憶させる(A11)。一方、データ項目の各項目についてチェックした結果、条件を満足していなければ、エラーメッセージを出力装置4に表示させる(A4)。
【0021】
例えば、図3に示す記憶装置に記憶される具体的なデータの構成図のように、データパターン名称「果物」、データ項目名1「みかん」、データ項目設定値1「1」、データ項目名2「りんご」、データ項目設定値2「10」という情報が入力装置1から与えられると、「果物」をキーにデータ構造記憶部31を検索する。ここでは、データ構造記憶部31に「果物」が記憶されていないため、新規データパターンとみなす。次に「みかん」に対するチェック条件をデータ項目記憶部32より読み出し、項目設定値のチェックを行う。チェックした結果、条件を満足してるため、「りんご」に対するチェック条件をデータ項目記憶部32より読み出し、チェックを行う。
チェックした結果、条件を満足しているためデータを構造化し、データ記憶部33に記憶する。さらにこの場合、新規データパターンであるため、データパターン「果物」をデータ構造記憶部31に記憶する。
【0022】
次に、本発明の第2の実施の形態について図面を参照して詳細に説明する。図4は、本発明の第2の実施の形態の構造化データ作成システムの構成図である。図4を参照すると、第2の実施の形態のデータ処理装置2は、図1の第1の実施の形態におけるデータ処理装置2の構成に加え、処理モード判定手段25とデータ検索手段26とが追加されている。
【0023】
処理モード判定手段25は、入力装置1から与えられた処理モードにより「検索」か「作成」の判断を行う。また、データ検索手段26は、処理モード判定手段25により処理モードが「検索」と判断された場合に、入力装置1から与えられたデータパターン名称、データ項目名、データ項目設定値によってデータ記憶部33を検索し、データの一覧を出力装置4に表示する。
【0024】
図5は、図4に示す第2の実施の形態の構造化データ作成システムの動作の流れを示すフローチャートである。したがって、図5のフローチャートを参照して第2の実施の形態の動作を詳細に説明する。
まず、入力装置1から与えられた処理モードにより、処理モード判定手段25が「検索」か「作成」の判断を行う(B1)。処理モードが「作成」の場合は、第1の実施の形態の図2のフローチャートのステップA1からステップA11までの処理動作と同様であるため説明は省略する。
【0025】
ステップB1で処理モードが「検索」の場合は、入力装置1から与えられたデータパターン名称、データ項目名、データ項目設定値をキーに、データ検索手段26がデータ記憶部33を検索する(B2)。そして、検索した結果、一致するデータがデータ記憶部33に記憶されていた場合は、データの一覧を出力装置4に表示する。一方、一致するデータが記憶されていなかった場合は、エラーメッセージを出力装置4に表示する。
【0026】
図6は、図5に示すフローチャートの各ステップの処理において、記憶装置に記憶される具体的なデータの構成図ある。例えば、図6に示すような、記憶装置に記憶されるデータの構成図のように、データパターン名称「野菜」、データ項目名1「キャベツ」、データ項目設定値1「50」の情報が入力装置1から与えられたとすると、「野菜」、「キャベツ:50」というキーでデータ記憶部33を検索する。ここでは、検索した結果、与えられたデータパターン名称、データ項目名、データ項目設定値がデータ記憶部33に記憶されているため、一致したデータを出力装置4に一覧表示する。
この実施の形態では、作成したデータを検索可能とすることで、次のデータ作成時の参考情報として利用することができる。
【0027】
以上述べた実施の形態は本発明を説明するための一例であり、本発明は、上記の実施の形態に限定されるものではなく、発明の要旨の範囲で種々の変形が可能である。例えば、第2の実施の形態の構成において、データ処理装置2は1つの場合で説明したが、データ処理装置2(端末):記憶装置3=N:1とし、同時にN台の端末から利用できる構成に拡張することも可能である。
【0028】
【発明の効果】
以上説明したように、本発明の構造化データ作成システムによれば、データ構造をプログラム固定でなく記憶装置上に記憶し、且つ必要なデータ項目だけをデータ記憶部に記憶させるため、データ項目を記憶しておくだけで、自由な構造のデータが作成することができる。この結果、プログラムを修正することなく、データ項目の追加/変更に柔軟に対応することができる。さらに、データ記憶部の容量を削減することができ、且つ、検索時間の短縮化も図れる。
さらに、データチェック条件をプログラム固定でなく、記憶装置上に記憶したため、データ項目の追加/修正に伴うデータチェック条件の追加/修正を柔軟に行うことができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態における構造化データ作成システムの構成図である。
【図2】図1に示す第1の実施の形態の構造化データ作成システムの動作の流れを示すフローチャートである。
【図3】図2に示すフローチャートの各ステップの処理において、記憶装置に記憶される具体的なデータの構成図である。
【図4】本発明の第2の実施の形態の構造化データ作成システムの構成図である。
【図5】図4に示す第2の実施の形態の構造化データ作成システムの動作の流れを示すフローチャートである。
【図6】図5に示すフローチャートの各ステップの処理において、記憶装置に記憶される具体的なデータの構成図である。
【符号の説明】
1…入力装置、2…データ処理装置、3…記憶装置、4…出力装置、21…データ構造検索手段、22…データ構造チェック手段、23…データ項目チェック手段、24…データ作成手段、25…処理モード判定手段、26…データ検索手段、31…データ構造記憶部、32…データ項目記憶部、33…データ記憶部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a structured data creation system for structuring and storing data to be held in a database.
[0002]
[Prior art]
Structured data creation systems are used to create test data in the development of enterprise information systems.
A conventional structured data creation system includes an input device for inputting data items, a data storage unit for storing created data, and a data check / creation for creating structured data by checking a plurality of input data item values. Means. The data checking / creating means checks a plurality of data items received from the input device according to a certain condition, and if normal, structures them and stores them in the data storage unit.
[0003]
As such a structured data creation system, for example, Japanese Patent Laid-Open No. 62-217339 is disclosed. This technology inputs data together with its structure at the time of occurrence, and creates and stores this input data in a record of a predetermined format according to the structure, thereby eliminating all data replacement processing and reducing processing time. This is a shortening. That is, newly generated data is reformatted into a predetermined format and stored in a database, thereby shortening the processing time required for data replacement. According to such a database management system, a data structure can be freely created.
[0004]
[Problems to be solved by the invention]
However, the above-mentioned prior art has a fixed data structure pattern in the program, and items other than the data items given from the input device are also stored in the storage device, so only a certain data structure pattern can be created. In addition, there is a problem that unnecessary data items are created and a large-capacity storage device is required.
In addition, since the check condition is fixed in the program, there is a problem that the data check condition cannot be freely changed.
Furthermore, the technology disclosed in Japanese Patent Application Laid-Open No. Sho 62-217339 allows a data structure such as type, attribute, and length to be freely created in a database management system. Cannot be created freely.
[0005]
The present invention has been made in view of such circumstances, and its purpose is to create a free data structure in a structured data creation system that checks a plurality of input data items and stores them as structured data. And the structure which can change the check conditions with respect to a data item flexibly is provided.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, a structured data creation system according to the present invention is a structured data pattern creation system using a database including a database management system. It is characterized in that a pattern constituted by can be created freely. That is, by defining the data structure and the check conditions in advance, it is possible to reduce the capacity of the storage device because it has a check function for the input value and the data pattern is not fixed.
[0007]
That is, the structured data creation system according to claim 1 is the structured data creation system for structuring and storing the data to be held in the database, the input means for inputting data items, and the data input by the input means Data processing means for performing a predetermined data check according to a pre-defined data structure and check conditions based on the item based on the item and creating structured data, storage means for storing the created data, and structure Output means for displaying the digitized data, and the storage means includes a data structure storage unit for storing combination information of items in advance as a data structure, and a length, an attribute, and an initial value constituting the data A data item storage unit that stores each information and check conditions including the number of digits, attributes, and range in advance, and A data storage unit for storing the data, wherein the data processing unit searches the data structure storage unit using the data pattern name given from the input unit as a key, and the data When the matching data pattern name exists as a result of the search by the structure search means, the number of data items and the item name in the data pattern stored in the data structure storage unit are given from the input means. The number of items is checked to see if it matches the item name, and if a mismatch is detected, the data structure check means for displaying an error message on the output means and the data pattern name that matches in the data structure search means If it does not exist or if a matching data pattern name exists, the data structure check means If a match is detected, a key item name given from said input means, said data item storage unit acquires data check condition than, checks the data items set values based on the acquired data check condition If the condition is not satisfied, a data item check means for displaying an error message on the output means, and if the check condition is satisfied by the data item check means, the data type name given from the input means is In addition, when the structured data is registered in the data storage unit, and at the same time, the search by the data structure search unit fails, a combination of each item is set as a new data pattern in the data structure storage unit. And a data creation means for registration.
[0009]
The structured data creation system according to claim 2 is the structured data creation system according to claim 1 , wherein the data processing means is further configured to retrieve or create data according to a processing mode given from the input means. When the processing mode is determined to be data search by the processing mode determination means and the processing mode determination means, the data pattern name, the data item name, and the data item setting value given from the input means are used. And a data search unit for searching the data storage unit and displaying a list of data on the output unit.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, some of the embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a configuration diagram of a structured data creation system according to the first embodiment of the present invention. Referring to FIG. 1, a structured data creation system according to a first embodiment includes an input device 1 such as a keyboard, a data processing device 2 that operates under program control, a storage device 3 that stores information, and a display device. And the like.
[0011]
The storage device 3 includes a data structure storage unit 31, a data item storage unit 32, and a data storage unit 33. The data structure storage unit 31 stores item combination information in advance as a data structure. The data item storage unit 32 stores in advance information (length, attribute, initial value, etc.) and check conditions (digits, attributes, range, etc.) of each item constituting the data. Furthermore, the data storage unit 33 stores the created data.
[0012]
The data processing device 2 includes a data structure search unit 21, a data structure check unit 22, a data item check unit 23, and a data creation unit 24. The data structure search means 21 searches the data structure storage unit 31 using the data pattern name given from the input device 1 as a key. The data structure check means 22 finds the number of data items and the item names in the data pattern stored in the data structure storage unit 31 when there is a matching data pattern name as a result of the search by the data structure search means 21. It is checked whether the number of data items and the item name given from the input device 1 match. At this time, if a mismatch is detected, an error message is displayed on the output device 4.
[0013]
The data item check unit 23 selects the item name given from the input device 1 when the data structure search unit 21 fails the search or when the data structure check unit 22 detects a match after the search is successful. The data check condition is acquired from the data item storage unit 32 using the key. Then, the data item setting value is checked with the acquired data check condition, and if the condition is not satisfied, an error message is displayed on the output device 4. The data creation unit 24 adds the data type name given from the input device 1 and registers the structured data in the data storage unit 33 when the check condition is satisfied by the data item check unit 23. At the same time, if the data structure search means 21 fails to search, the combination of each item is registered in the data structure storage unit 31 as a new data pattern.
[0014]
Next, the operation of the structured data creation system of the first embodiment in FIG. 1 will be described. That is, in the figure, the data storage unit 33 stores the created test data. At this time, one piece of data is composed of a combination of items stored in the data item storage unit 32. The data structure storage unit 31 stores combinations of data items for each data pattern. Further, the data item storage unit 32 stores check conditions (number of digits, attribute, range, etc.) for each item.
[0015]
The data structure search means 21 receives a data pattern name and a plurality of data item names / setting values from the input device 1 and checks whether the data pattern name is stored in the data structure storage unit 31. When the data pattern name is stored in the data structure storage unit 31, it is regarded as an existing data structure, and the data structure check unit 22 checks the data structure. At this time, if the data pattern name is not stored in the data structure storage unit 31, it is regarded as a new data structure and the data structure check is not performed. If it is a new data structure or an existing data structure and the data structure check is normal, the data item check means 23 checks the validity of the set value.
[0016]
If the check result is normal, the data creation unit 24 structures the data and registers it in the data storage unit 33. At this time, if the data structure is new, the data pattern name is added to the combination of the item names and registered in the data structure storage unit 31. As a result, it is possible to create a free combination of data patterns without increasing the storage capacity of the storage unit with unnecessary data items.
In addition, it is possible to flexibly cope with the change of the check specification simply by changing the check condition stored in the data item storage unit 32.
[0017]
Next, the operation of the structured data creation system according to the first embodiment will be described in detail using a flowchart. FIG. 2 is a flowchart showing an operation flow of the structured data creation system according to the first embodiment shown in FIG. FIG. 3 is a configuration diagram of specific data stored in the storage device in the processing of each step of the flowchart shown in FIG.
[0018]
In FIG. 2, the data pattern name and the data item name / setting value given from the input device 1 are supplied to the data structure search means 21 and the search is started (step A1, hereinafter, steps are omitted). Then, the data structure search means 21 checks whether or not a data pattern corresponding to the data pattern name is stored in the data structure storage unit 31 (A2). When the data pattern corresponding to the data structure storage unit 31 is stored (A2, YES), since the data pattern is an existing data structure, the data structure (combination of data item names) given from the input device 1 is the data It is checked whether or not it matches the data structure stored in the structure storage unit 31 (A3).
If the data structures do not match (A3, NO), an error message is displayed on the output device 4 (A4).
[0019]
Next, in step A2, when the data pattern is a new data pattern and cannot be searched because it is not stored in the data structure storage unit 31 (A2, NO), or in step A3, the input data structure is If the data structure matches the data structure stored in the data structure storage unit 31 (A3, YES), the data item storage unit 32 is searched using the data item name given from the input device 1 as a key to check the data A condition is acquired (A5). Then, based on the acquired data check condition, the data item set value is checked (A6).
[0020]
As a result of checking each data item (A7), if the condition is satisfied for all items (A8, YES), the data pattern name, the data item name 1, the data item setting value 1, or the data item Data structured in the order of name n and data item set value n is created and stored in the data storage unit 33 (A9).
Further, it is checked whether or not it is a new data pattern (A10). If it is a new data pattern (A10, YES), the data pattern name, data item name 1 to data item name of the new data pattern are checked. n is stored in the data structure storage unit 31 (A11). On the other hand, as a result of checking each item of the data item, if the condition is not satisfied, an error message is displayed on the output device 4 (A4).
[0021]
For example, as shown in the configuration diagram of the specific data stored in the storage device shown in FIG. 3, the data pattern name “fruit”, the data item name 1 “mandarin orange”, the data item setting value 1 “1”, the data item name 2 When the information “apple” and data item set value 2 “10” is given from the input device 1, the data structure storage unit 31 is searched using “fruit” as a key. Here, since “fruit” is not stored in the data structure storage unit 31, it is regarded as a new data pattern. Next, the check condition for “mandarin orange” is read from the data item storage unit 32 and the item set value is checked. As a result of checking, since the condition is satisfied, the check condition for “apple” is read from the data item storage unit 32 and checked.
As a result of checking, since the condition is satisfied, the data is structured and stored in the data storage unit 33. Further, in this case, since it is a new data pattern, the data pattern “fruit” is stored in the data structure storage unit 31.
[0022]
Next, a second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 4 is a configuration diagram of the structured data creation system according to the second embodiment of this invention. Referring to FIG. 4, the data processing device 2 of the second embodiment includes a processing mode determination unit 25 and a data search unit 26 in addition to the configuration of the data processing device 2 of the first embodiment of FIG. Have been added.
[0023]
The processing mode determination unit 25 determines “search” or “creation” according to the processing mode given from the input device 1. Further, the data search unit 26 uses the data pattern name, the data item name, and the data item set value given from the input device 1 when the processing mode is determined to be “search” by the processing mode determination unit 25. 33 is searched, and a list of data is displayed on the output device 4.
[0024]
FIG. 5 is a flowchart showing an operation flow of the structured data creation system of the second embodiment shown in FIG. Therefore, the operation of the second embodiment will be described in detail with reference to the flowchart of FIG.
First, according to the processing mode given from the input device 1, the processing mode determination means 25 determines whether it is “search” or “creation” (B1). When the processing mode is “creation”, the processing operation from step A1 to step A11 in the flowchart of FIG.
[0025]
If the processing mode is “search” in step B1, the data search means 26 searches the data storage unit 33 using the data pattern name, data item name, and data item setting value given from the input device 1 as keys (B2). ). As a result of the search, if matching data is stored in the data storage unit 33, a list of data is displayed on the output device 4. On the other hand, if no matching data is stored, an error message is displayed on the output device 4.
[0026]
FIG. 6 is a configuration diagram of specific data stored in the storage device in the processing of each step of the flowchart shown in FIG. For example, as shown in the configuration diagram of data stored in the storage device as shown in FIG. 6, data pattern name “vegetable”, data item name 1 “cabbage”, and data item setting value 1 “50” are input. If it is given from the device 1, the data storage unit 33 is searched with the keys “vegetable” and “cabbage: 50”. Here, as a result of the search, the given data pattern name, data item name, and data item setting value are stored in the data storage unit 33, so that the matched data is displayed in a list on the output device 4.
In this embodiment, by making the created data searchable, it can be used as reference information for the next data creation.
[0027]
The embodiment described above is an example for explaining the present invention, and the present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the gist of the invention. For example, in the configuration of the second embodiment, the case of one data processing device 2 has been described, but the data processing device 2 (terminal): storage device 3 = N: 1 can be used simultaneously from N terminals. It can also be extended to configurations.
[0028]
【The invention's effect】
As described above, according to the structured data creation system of the present invention, the data structure is not stored in the program but stored in the storage device, and only the necessary data items are stored in the data storage unit. Data of free structure can be created just by storing. As a result, it is possible to flexibly cope with addition / change of data items without correcting the program. Furthermore, the capacity of the data storage unit can be reduced, and the search time can be shortened.
Furthermore, since the data check conditions are not fixed to the program but stored on the storage device, the data check conditions can be added / corrected flexibly according to the addition / correction of the data item.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a structured data creation system according to a first embodiment of the present invention.
FIG. 2 is a flowchart showing an operation flow of the structured data creation system according to the first embodiment shown in FIG. 1;
3 is a configuration diagram of specific data stored in a storage device in the processing of each step of the flowchart shown in FIG. 2. FIG.
FIG. 4 is a configuration diagram of a structured data creation system according to a second embodiment of this invention.
FIG. 5 is a flowchart showing an operation flow of the structured data creation system according to the second embodiment shown in FIG. 4;
6 is a configuration diagram of specific data stored in a storage device in the processing of each step of the flowchart shown in FIG. 5. FIG.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Input device, 2 ... Data processing device, 3 ... Memory | storage device, 4 ... Output device, 21 ... Data structure search means, 22 ... Data structure check means, 23 ... Data item check means, 24 ... Data creation means, 25 ... Processing mode determination means, 26 ... Data search means, 31 ... Data structure storage section, 32 ... Data item storage section, 33 ... Data storage section

Claims (2)

データベースに保持させるデータを構造化して格納するための構造化データ作成システムにおいて、
データ項目を入力する入力手段と、
前記入力手段によって入力されたデータ項目に基づいて、プログラム制御により、予め定義されたデータ構造とチェック条件によって所定のデータチェックを行い、且つ構造化データを作成するデータ処理手段と、
作成されたデータを記憶する記憶手段と、
構造化データを表示する出力手段とを備え、
前記記憶手段は、
データの構造として、項目の組み合わせ情報を予め記憶しているデータ構造記憶部と、 データを構成する長さ、属性、初期値を含む各情報と、桁数、属性、範囲を含むチェック条件とを予め記憶しているデータ項目記憶部と、
作成されたデータを記憶しているデータ記憶部とを備え、
前記データ処理手段は、
前記入力手段から与えられたデータパターン名称をキーとして、前記データ構造記憶部を検索するデータ構造検索手段と、
前記データ構造検索手段にて検索した結果、一致するデータパターン名称が存在した場合に、前記データ構造記憶部に記憶されているデータパターン中のデータ項目数及び項目名が、前記入力手段から与えられたデータ項目数、項目名と一致するか否かを調べ、不一致が検出された場合は、エラーメッセージを前記出力手段に表示させるデータ構造チェック手段と、
前記データ構造検索手段にて一致するデータパターン名称が存在しない場合、または、一致するデータパターン名称が存在した場合であって、尚、前記データ構造チェック手段にて一致が検出された場合に、前記入力手段から与えられた項目名をキーに、前記データ項目記憶部よりデータチェック条件を取得し、取得したデータチェック条件に基づいてデータ項目設定値のチェックを行い、条件を満たしていなければ、エラーメッセージを前記出力手段に表示させるデータ項目チェック手段と、
前記データ項目チェック手段にてチェック条件を満たしている場合に、前記入力手段から与えられたデータタイプ名称を付加して、構造化したデータを前記データ記憶部に登録し、同時に、前記データ構造検索手段にて検索に失敗していた場合、各項目の組み合わせを新規データパターンとして、前記データ構造記憶部に登録させるデータ作成手段とを備えていることを特徴とする構造化データ作成システム。
In a structured data creation system for structuring and storing data to be held in a database,
An input means for inputting data items;
Data processing means for performing predetermined data check according to a predefined data structure and check conditions by program control based on the data items input by the input means, and creating structured data;
Storage means for storing the created data;
Output means for displaying structured data,
The storage means
As a data structure, a data structure storage unit that stores combination information of items in advance, each piece of information including length, attribute, and initial value constituting the data, and a check condition including the number of digits, attribute, and range A pre-stored data item storage unit;
A data storage unit storing the created data,
The data processing means includes
Data structure search means for searching the data structure storage unit using the data pattern name given from the input means as a key,
As a result of searching by the data structure search means, when there is a matching data pattern name, the number of data items and item names in the data pattern stored in the data structure storage unit are given from the input means. A data structure check unit that displays an error message on the output unit if a mismatch is detected,
If there is no matching data pattern name in the data structure search means, or if there is a matching data pattern name, and if a match is detected in the data structure check means, Using the item name given from the input means as a key, acquire the data check condition from the data item storage unit, check the data item setting value based on the acquired data check condition, and if the condition is not met, an error Data item checking means for displaying a message on the output means;
When the check condition is satisfied by the data item check means, the data type name given from the input means is added, and the structured data is registered in the data storage unit, and at the same time, the data structure search is performed. A structured data creation system comprising: a data creation means for registering each combination of items as a new data pattern in the data structure storage unit when the search fails in the means.
請求項1に記載の構造化データ作成システムにおいて、前記データ処理手段は、さらに、前記入力手段から与えられた処理モードにより、データの検索か作成かの判断を行う処理モード判定手段と、前記処理モード判定手段により、処理モードがデータの検索と判断された場合に、前記入力手段から与えられたデータパターン名称、データ項目名、データ項目設定値によって前記データ記憶部を検索し、データの一覧を前記出力手段に表示させるデータ検索手段とを備えていることを特徴とする構造化データ作成システム。 2. The structured data creation system according to claim 1 , wherein the data processing means further includes processing mode determination means for determining whether to search or create data according to a processing mode given from the input means, and the processing. When the mode determination unit determines that the processing mode is data search, the data storage unit is searched based on the data pattern name, data item name, and data item setting value given from the input unit, and a list of data is displayed. A structured data creation system comprising: data search means for displaying on the output means.
JP14408899A 1999-05-24 1999-05-24 Structured data creation system Expired - Fee Related JP3626630B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14408899A JP3626630B2 (en) 1999-05-24 1999-05-24 Structured data creation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14408899A JP3626630B2 (en) 1999-05-24 1999-05-24 Structured data creation system

Publications (2)

Publication Number Publication Date
JP2000330834A JP2000330834A (en) 2000-11-30
JP3626630B2 true JP3626630B2 (en) 2005-03-09

Family

ID=15353959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14408899A Expired - Fee Related JP3626630B2 (en) 1999-05-24 1999-05-24 Structured data creation system

Country Status (1)

Country Link
JP (1) JP3626630B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008070969A (en) * 2006-09-12 2008-03-27 Toshiba Tec Corp Master registration device and master registration program

Also Published As

Publication number Publication date
JP2000330834A (en) 2000-11-30

Similar Documents

Publication Publication Date Title
US8359339B2 (en) Graphical user interface for configuration of an algorithm for the matching of data records
US7392267B2 (en) Annotation validity using partial checksums
US7644055B2 (en) Rule-based database object matching with comparison certainty
JP3003915B2 (en) Word dictionary search device
US8606762B2 (en) Data quality administration framework
US7707078B2 (en) Method and apparatus for mapping dimension-based accounting entries to allow segment-based reporting
US4817032A (en) User programmable data processor
JP3626630B2 (en) Structured data creation system
CN109460318B (en) Import method of rollback archive collected data, computer device and computer readable storage medium
US20070038660A1 (en) Support apparatus and computer-readable storage medium
JP3772701B2 (en) Circuit diagram connection information output method and circuit diagram connection information output method
US20100185606A1 (en) Development document data management device, development document data management system, development document data management method, program therefor, and recording medium
JP2021056704A (en) Data extracting method and data extracting program
JPH06131232A (en) Multiple definition correction assisting device for data dictionary
US7222118B2 (en) Computer program product for accessing database, recording medium recording database access program therein, and database access method
US20220358101A1 (en) Correcting data errors for data processing fault recovery
US20220358136A1 (en) Recovering from data processing errors by data error detection and correction
JP4139805B2 (en) Apparatus, method and program for converting lexical data to data
JP5542391B2 (en) Database management system
KR960030017A (en) Process for selecting vehicle model of vehicle parts search system
JP2004078491A (en) Batch processing system and parameter management method for batch processing system
JPH09265472A (en) Picture database system
JPH1040278A (en) Parts use propriety management method/system
JP2002015004A (en) Document retrieval system
JP3597675B2 (en) Change module check device and program storage medium

Legal Events

Date Code Title Description
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: 20041130

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041203

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S633 Written request for registration of reclamation of name

Free format text: JAPANESE INTERMEDIATE CODE: R313633

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees