JPH02227716A - Item relation check system - Google Patents

Item relation check system

Info

Publication number
JPH02227716A
JPH02227716A JP1048214A JP4821489A JPH02227716A JP H02227716 A JPH02227716 A JP H02227716A JP 1048214 A JP1048214 A JP 1048214A JP 4821489 A JP4821489 A JP 4821489A JP H02227716 A JPH02227716 A JP H02227716A
Authority
JP
Japan
Prior art keywords
item
pattern
input
source
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1048214A
Other languages
Japanese (ja)
Inventor
Junjiro Yabu
藪 潤二郎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1048214A priority Critical patent/JPH02227716A/en
Publication of JPH02227716A publication Critical patent/JPH02227716A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To facilitate the correction accompanying the change of the item relation specifications by inputting the item relation specification sources to an input source serving as an item check subject and carrying out automatically an item relation check process in a system. CONSTITUTION:An item relation specification analyzing means 2 produces an item information table 3 which offers the information to analyze an input source 5 out of an item relation specification source 1 and an item relation between group 4 which includes the item pattern information that can be designated by each relation condition of the source 1. An input item analyzing means 6 produces an input item pattern 7 including the item pattern information from the source 5 via the table 3. A comparison means 8 compares the item patterns of the group 4 with the pattern 7 to check the presence or absence of the coincident patterns. If the coincidence patterns are present the coincident patterns. If the coincidence patterns are present the process is carried on. If no coincident pattern is absent, an error list 9 is outputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理に利用する。本発明は複数項目が指定
された入力ソースを入力し、あらかじめ定められた項目
間の関連仕様に基づいて入力ソースの項目の妥当性をチ
ェックする項目関連チェックに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is used for information processing. The present invention relates to an item relationship check that inputs an input source in which a plurality of items are specified and checks the validity of the items of the input source based on predetermined relationship specifications between the items.

〔概要〕〔overview〕

本発明は複数項目が指定された入力ソースを入力しあら
かじめ定められた項目間の項目関連仕様に基づいて入力
ソースの項目の妥当性をチェックする項目関連チェック
システムにおいて、項目関連チェックの対象となる入力
ソースに対して項目関連仕様ソースを入力し、システム
内部の項目関連チェック処理を自動的に行うことにより
、 項目関連仕様の変更に伴う修正を容易にできるようにし
たものである。
The present invention is an item relationship check system that inputs an input source in which multiple items are specified and checks the validity of items in the input source based on predetermined item relationship specifications between items. By inputting the item-related specification source into the input source and automatically performing the item-related check process within the system, it is possible to easily make corrections due to changes in the item-related specifications.

〔従来の技術〕[Conventional technology]

従来、この種の項目関連チェックは項目関連仕様に基づ
いた項目関連チェック処理を各項目の処理単位に分散し
た箇所で各言語の処理記述文を用いて記述されていた。
Conventionally, this type of item-related check has been described using processing descriptions in each language, where the item-related checking process based on the item-related specifications is distributed to each item's processing unit.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の項目関連チェックシステムは項目関連仕
様に基づいた項目関連チェック処理が各項目単位に分散
した箇所で行われているために項目関連仕様の変更に基
づく項目関連チェック処理の修正箇所の把握が困難であ
り、また項目関連チェック処理の記述も各言語の処理記
述文を利用しているた必に記述言語を理解しなければな
らない欠点がある。
In the conventional item-related check system described above, the item-related check process based on the item-related specifications is performed in dispersed locations for each item, so it is difficult to understand where to modify the item-related check process based on changes in the item-related specifications. It is difficult to describe the item relationship check process, and the description of the item relationship check process also uses process description sentences in each language, so there is a drawback that it is necessary to understand the description language.

本発明はこのような欠点を除去するもので、項目関連仕
様の変更、に伴う項目関連チェック処理の修正箇所の把
握を容易にすることができるシステムを提供することを
目的とする。
SUMMARY OF THE INVENTION The present invention aims to eliminate such drawbacks and provides a system that makes it easy to understand the parts to be modified in the item-related check process due to changes in item-related specifications.

〔問題点を解決するた必の手段〕[A must-have method to solve problems]

本発明は、複数項目が指定され項目関連チェックの対象
となる項目を含む入力ソースを入力し、項目関連仕様ソ
ースにあらかじめ定められた項目関連仕様に基づいて前
記入力ソースの項目の妥当性をチェックする項目関連チ
ェックシステムにおいて、前記項目関連仕様ソースより
前記入力ソースを解析するための情報となる項目情報テ
ーブルと、前記項目関連仕様ソースの各関連条件により
指定可能な項目パターン情報を含む項目関連パターン群
とを生成する項目関連仕様解析手段と、前記入力ソース
より前記項目情報テーブルに基づいて項目パターン情報
を含む入力項目パターンを生成する入力項目解析手段と
、前記項目関連パターン群内の各項目パターンと前記入
力項目パターンとを比較し一致するパターンが存在する
か否かをチェックし、存在しないときにはエラーリスト
を出力する比較手段とを備えたことを特徴とする。
The present invention inputs an input source including an item in which multiple items are specified and is subject to an item related check, and checks the validity of the items in the input source based on an item related specification predefined in an item related specification source. In the item-related check system, an item-related pattern includes an item information table that is information for analyzing the input source from the item-related specification source, and item pattern information that can be specified by each related condition of the item-related specification source. an input item analysis means for generating an input item pattern including item pattern information based on the item information table from the input source; and each item pattern in the item related pattern group. and the input item pattern to check whether a matching pattern exists or not, and output an error list when a matching pattern does not exist.

〔作用〕[Effect]

複数項目が指定され項目関連チェックの対象となる項目
を含む入力ソースを入力し、項目関連仕様ソースにあら
かじめ定められた項目関連仕様に基づいて入力ソースの
項目の妥当性をチェックする。すなわち、項目関連仕様
解析手段が項目関連仕様ソースより入力ソースを解析す
るための情報となる項目情報テーブルと、項目関連仕様
ソースの各関連条件により指定可能な項目パターン情報
を含む項目関連パターン群とを生成し、入力項目解析手
段が入力ソースより項目情報テーブルに基づいて項目パ
ターン情報を含む入力項目パターンを生成する。比較手
段が項目関連パターン群内の各項目パターンと入力項目
パターンとを比較し一致するパターンが存在するか否か
をチェックし、存在するときにはさらに処理をすすめ、
存在しないときにはエラーリストを出力する。
An input source including an item in which multiple items are specified and is the target of an item-related check is input, and the validity of the items in the input source is checked based on the item-related specification predefined in the item-related specification source. That is, an item information table that provides information for the item-related specification analysis means to analyze input sources from the item-related specification source, and an item-related pattern group containing item pattern information that can be specified by each related condition of the item-related specification source. The input item analysis means generates an input item pattern including item pattern information from the input source based on the item information table. The comparison means compares each item pattern in the item-related pattern group with the input item pattern, checks whether a matching pattern exists, and if a matching pattern exists, proceeds with further processing,
If it does not exist, output an error list.

このように項目関連チェックの対象となる入力ソースに
対して項目関連仕様ソースを入力し、システム内部の項
目関連チェック処理を自動的に行うことにより、項目関
連仕様の変更に伴う修正を容易に行うことができる。
In this way, by inputting the item-related specifications source for the input source that is subject to item-related checks and automatically performing the item-related check process within the system, it is easy to make corrections due to changes in the item-related specifications. be able to.

〔実施例〕〔Example〕

次に、本発明実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.

第1図は本発明実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

本発明実施例は、複数項目が指定され項目関連チェック
の対象となる項目を含む入力ソース5を入力し、項目関
連仕様ソース1にあらかじめ定められた項目関連仕様に
基づいて入力ソース5の項目の妥当性をチェックする項
目関連チェックシステムに、本発明の特徴として、項目
関連仕様ソースlより入力ソース5を解析するための情
報となる項目情報テーブル3と、項目関連仕様ソース1
の各関連条件により指定可能な項目パターン情報を含む
項目関連パターン群4とを生成する項目関連仕様解析手
段2と、入力ソース5より項目情報テーブル3に基づい
て項目パターン情報を含む入力項目パターン7を生成す
る入力項目解析手段6と、項目関連パターン群4内の各
項目パターンと入力項目パターン7とを比較し一致する
パターンが存在するか否かをチェックし、存在しないと
きにはエラーリスト9を出力する比較手段3とを備える
The embodiment of the present invention inputs an input source 5 that includes an item in which a plurality of items are specified and is subject to an item-related check, and selects the items of the input source 5 based on the item-related specifications predetermined in the item-related specification source 1. As a feature of the present invention, the item-related checking system for checking validity includes an item information table 3 that is information for analyzing input source 5 from item-related specification source 1, and item-related specification source 1.
an item-related specification analysis means 2 that generates an item-related pattern group 4 that includes item pattern information that can be specified by each related condition; and an input item pattern 7 that includes item pattern information based on the item information table 3 from the input source 5. The input item analysis means 6 that generates the input item pattern 7 compares each item pattern in the item related pattern group 4 with the input item pattern 7, checks whether a matching pattern exists, and outputs an error list 9 if there is no matching pattern. Comparing means 3 are provided.

第2図は本発明実施例の具体例を示ずブロック図である
FIG. 2 is a block diagram showing a specific example of an embodiment of the present invention.

項目関連仕様ソース1は、関連条件項目(項目A、B、
C,D)が指定されたときに指定可能な項目を○記号、
指定不可能な項目をX記号で示した表形式を構成し、こ
の例では項目A、Cが指定されたときの指定可能項目は
項目x、Z、項目A、Dが指定されたときの指定可能項
目は項目x、y。
Item related specification source 1 includes related condition items (items A, B,
Items that can be specified when C, D) are specified are marked with a circle,
A table format is constructed in which items that cannot be specified are indicated by an Possible items are items x and y.

項目B、Cが指定されたときの指定可能項目は項目y、
zである。
When items B and C are specified, the items that can be specified are item y,
It is z.

項目情報テーブル3は、項目関連仕様ソース1内に存在
する項目名(項目A、B、C,D、X、y、z)と各項
目が項目関連仕様ソース1の何行目に位置するかを示す
レベル番号上から構成される。
The item information table 3 shows the item names (items A, B, C, D, X, y, z) existing in the item-related specification source 1 and the line in which each item is located in the item-related specification source 1. Consists of level numbers indicating the above.

項目関連パターン群4は、項目関連仕様ソース1を列方
向に分割し、O記号が指定された位置に対応する指定可
能項目で置換した項目関連パターン4−1.4−2.4
−3より構成され、各項目関連パターン4−1.4−2
.4−3は項目関連仕様ソース1に基づき関連条件項目
領域と指定可能項目領域の二つの領域より構成される。
Item-related pattern group 4 is item-related pattern 4-1.4-2.4 obtained by dividing item-related specification source 1 in the column direction and replacing it with the specifiable item corresponding to the position where the O symbol is specified.
-3, each item related pattern 4-1.4-2
.. 4-3 is composed of two areas, a related condition item area and a specifiable item area, based on the item related specification source 1.

入力項目パターン7は、入力ソース5に指定された各項
目を項目情報テーブル3で示されるレベル番号順に各レ
ベル位置に配置したもので項目の存在しないレベル位置
はX記号が挿入され、項目関連仕様ソース1に基づき関
連条件項目領域と指定可能項目領域の二つの領域より構
成される。
In the input item pattern 7, each item specified in the input source 5 is arranged at each level position in the order of the level number shown in the item information table 3. An X symbol is inserted at the level position where no item exists, and the item related specifications Based on source 1, it is composed of two areas: a related condition item area and a specifiable item area.

項目関連仕様解析手段2は、項目関連仕様ソース1内に
記述された項目(項目A、B、C,D、x、y、z>を
行方向に解析し各項目が存在する行位置をレベル番号と
して(1行目より始まるものとして1行目をレベル番号
lとする〉各項目とレベル番号の対応を示した項目情報
テーブル3を生成し、同時に項目関連仕様ソース1を○
、X記号が記述された列単位に分解し○記号を○記号に
対応する指定可能項目で置換することにより関連条件項
目領域と指定可能項目領域より構成される項目関連パタ
ーン4−1.4〜2.4−3を含む項目関連パターン群
4を生成する。
The item-related specification analysis means 2 analyzes the items (items A, B, C, D, x, y, z>) described in the item-related specification source 1 in the row direction, and determines the line position where each item exists. Generate item information table 3 that shows the correspondence between each item and level number (starting from the 1st line, and the 1st line is the level number l), and at the same time mark the item related specification source 1 as ○.
, Item related pattern 4-1.4~ is composed of a related condition item area and a specifiable item area by decomposing it into columns in which the X symbol is written and replacing the ○ symbol with the specifiable item corresponding to the ○ symbol. 2. Generate item-related pattern group 4 including 4-3.

本例では項目関連仕様ソース1において項目A、Bが1
行目に存在することよりレベル番号1、項目C,Dが2
行目に存在することによりレベル番号2、以下同様に項
目Xがレベル番号3、項目Yがレベル番号4、項目2が
レベル番号5となり項目情報テーブル3が得られ、項目
関連仕様ソース1は、項目へ−項目C−〇−×−○、項
目A−項目D−0−〇−X1項目B−項目C−X−〇−
○の3列より構成され、各O記号をO記号に対応する指
定可能項目(項目x、y、z>で置換することにより項
目関連パターン群4が得られる。
In this example, items A and B are 1 in item related specification source 1.
Level number 1 and items C and D are 2 because they exist in the row
By existing in the row, level number 2, item Go to item-Item C-〇-×-○, Item A-Item D-0-〇-X1 Item B-Item C-X-〇-
The item-related pattern group 4 is composed of three columns of O symbols, and by replacing each O symbol with the specifiable item (item x, y, z>) corresponding to the O symbol.

入力項目解析手段6は項目A、D、Z、Xと利用者に記
述された入力ソース5を解析し、入力ソース5内の項目
のレベル番号を項目情報テーブル3より得ることにより
各項目を関連条件項目領域と指定可能項目領域より構成
される入力項目パターン7の各レベル番号位置に設定し
、何も設定されないレベル番号位置にX記号を設定する
ことで入力項目パターン7が得られる。
The input item analysis means 6 analyzes the input source 5 described by the user as items A, D, Z, and X, and associates each item by obtaining the level number of the item in the input source 5 from the item information table 3. The input item pattern 7 is obtained by setting each level number position of the input item pattern 7 composed of the condition item area and the specifiable item area, and setting an X symbol at the level number position where nothing is set.

本例では入力ソース5の項目Aは項目情報テーブル3よ
りレベル番号1と分かり、入力項目パターンの1行目(
レベル番号1)に項目Aが設定され、以下同様に項目り
が2行目、項目2が5行目、項目Xが3行目に設定され
、4行目に対応する項目が存在しないのでX記号が設定
される。
In this example, item A of input source 5 is known to have level number 1 from item information table 3, and is in the first row of the input item pattern (
Item A is set in level number 1), and in the same way, item 2 is set on the 2nd line, item 2 is set on the 5th line, item X is set on the 3rd line, and there is no corresponding item on the 4th line, so The symbol is set.

入力項目解析手段6は入7つ項目パターン7を生成する
と制御を比較手段8に渡す。比較手段8は入力項目パタ
ーン7の関連条件項目領域と項目関連パターン群4内の
項目関連パターン4−1.4−2.4−3の関連条件項
目領域とを比較し、致する項目関連パターン4−2を発
見し、次に入力項目パターン7の指定可能項目領域と項
目関連パターン4−2の指定可能項目領域を比較し、致
しない入力項目パターシフ0項目Zを発見し、項目Zに
対して項目Zが項目関連仕様ソース1に違反しているこ
とを示すエラーリスト9を出力する。
When the input item analysis means 6 generates the input seven item pattern 7, it passes control to the comparison means 8. The comparison means 8 compares the related condition item area of the input item pattern 7 and the related condition item area of the item related pattern 4-1.4-2.4-3 in the item related pattern group 4, and selects a matching item related pattern. 4-2, then compare the specifiable item area of input item pattern 7 with the specifiable item area of item related pattern 4-2, find input item pattern shift 0 item Z that does not match, and Error list 9 indicating that item Z violates item related specification source 1 is output.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、項目関連チェック
の対象となる入力ソースに対して項目関連仕様ソースを
入力し、システム内部の項目関連チェック処理を自動的
に行うことにより、項目関連仕様の変更に伴う修正を容
易にできる効果がある。
As explained above, according to the present invention, an item-related specification source is input to an input source that is subject to item-related checking, and the item-related specification source is automatically performed within the system to check the item-related specifications. This has the effect of making it easier to make corrections due to changes.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明実施例の全体構成を示すブロック図。 第2図は本発明実施例の具体的構成を示す図。 1・・・項目関連仕様ソース、2・・・項目関連仕様解
析手段、3・・・項目情報テーブノベ4・・・項目関連
パターン群、4−L 4−2.4−3・・・項目関連パ
ターン群内の各項目関連パターン、5・・・入力ソース
、6・・・入力項目解析手段、7・・・入力項目パター
ン、訃・・比較手段、9・・・エラーリスト。
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention. FIG. 2 is a diagram showing a specific configuration of an embodiment of the present invention. 1... Item related specification source, 2... Item related specification analysis means, 3... Item information table novel 4... Item related pattern group, 4-L 4-2.4-3... Item related Each item related pattern in the pattern group, 5... input source, 6... input item analysis means, 7... input item pattern, death... comparison means, 9... error list.

Claims (1)

【特許請求の範囲】 1、複数項目が指定され項目関連チェックの対象となる
項目を含む入力ソースを入力し、項目関連仕様ソースに
あらかじめ定められた項目関連仕様に基づいて前記入力
ソースの項目の妥当性をチェックする項目関連チェック
システムにおいて、前記項目関連仕様ソースより前記入
力ソースを解析するための情報となる項目情報テーブル
と、前記項目関連仕様ソースの各関連条件により指定可
能な項目パターン情報を含む項目関連パターン群とを生
成する項目関連仕様解析手段と、 前記入力ソースより前記項目情報テーブルに基づいて項
目パターン情報を含む入力項目パターンを生成する入力
項目解析手段と、 前記項目関連パターン群内の各項目パターンと前記入力
項目パターンとを比較し一致するパターンが存在するか
否かをチェックし、存在しないときにはエラーリストを
出力する比較手段と を備えたことを特徴とする項目関連チェックシステム。
[Scope of Claims] 1. Input an input source including an item in which multiple items are specified and are subject to an item-related check, and check the items of the input source based on the item-related specifications predetermined in the item-related specification source. In an item-related check system for checking validity, an item information table that is information for analyzing the input source from the item-related specification source, and item pattern information that can be specified by each related condition of the item-related specification source are provided. an item-related specification analysis means for generating an item-related pattern group containing item-related pattern information; an input item-related specification analysis means for generating an input item pattern including item pattern information from the input source based on the item information table; 1. An item related checking system comprising: a comparison means for comparing each item pattern of the above with the input item pattern to check whether a matching pattern exists, and outputting an error list when a matching pattern does not exist.
JP1048214A 1989-02-28 1989-02-28 Item relation check system Pending JPH02227716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1048214A JPH02227716A (en) 1989-02-28 1989-02-28 Item relation check system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1048214A JPH02227716A (en) 1989-02-28 1989-02-28 Item relation check system

Publications (1)

Publication Number Publication Date
JPH02227716A true JPH02227716A (en) 1990-09-10

Family

ID=12797162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1048214A Pending JPH02227716A (en) 1989-02-28 1989-02-28 Item relation check system

Country Status (1)

Country Link
JP (1) JPH02227716A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161396A (en) * 1991-01-29 1999-06-18 Honda Motor Co Ltd Paperless account system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161396A (en) * 1991-01-29 1999-06-18 Honda Motor Co Ltd Paperless account system

Similar Documents

Publication Publication Date Title
JPH02227716A (en) Item relation check system
JP4501459B2 (en) Program, method and apparatus for creating cross table
Warnier Program modification
JP2003346080A (en) Character recognition method
JP3516283B2 (en) Character code conversion device and character code conversion method
JPH08255012A (en) Plant operation recording and report generating device
JPH10105598A (en) Organization plan preparing device
JPH07295468A (en) Widely usable marking method for mark sheet type answer sheet
JP2699436B2 (en) Parameter inspection processing method
JPH0731671B2 (en) Formula input editing method
JP3140174B2 (en) Waveform data display device
JPH06290235A (en) Device for generating lsi layout verification test data
JPH04663A (en) Neural network simulator
JPH0793144A (en) Program analyzer
Montana et al. Enhancements to a Pattern Recognition Tool
JP3675582B2 (en) Display method of waveform calculation formula in waveform recorder
JPH04320925A (en) Displaying device for process condition
JPH0769917B2 (en) Interactive sentence processor
JPH0314170A (en) Business form generating device
JPH03251924A (en) Knowledge editing/displaying device for expert system
JPS63276142A (en) Instantaneous display system for record layout
JPH06187214A (en) List form specification generating device and program generating device
JPH04115970A (en) Variable item edition system
JPH04273368A (en) Summary sheet preparing device
JPH0375874A (en) Logical circuit simulation device