JPH09190482A - System for reading slip and its method - Google Patents

System for reading slip and its method

Info

Publication number
JPH09190482A
JPH09190482A JP8001627A JP162796A JPH09190482A JP H09190482 A JPH09190482 A JP H09190482A JP 8001627 A JP8001627 A JP 8001627A JP 162796 A JP162796 A JP 162796A JP H09190482 A JPH09190482 A JP H09190482A
Authority
JP
Japan
Prior art keywords
data
item
check
ocr
reading
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
JP8001627A
Other languages
Japanese (ja)
Inventor
Yukitane Kume
幸胤 久米
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP8001627A priority Critical patent/JPH09190482A/en
Publication of JPH09190482A publication Critical patent/JPH09190482A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize improvement in the efficiency of work concerning the maintenance and the operation of a system and in cost reduction as a result by especially attaining the efficiency of a check processing of slip data, in a slip reading system using OCR(optical character reader). SOLUTION: The system is the slip reading system constituted by using an OCR 1 and a computer system 2 and the slip 3 where item check data CD which is defined at every index is recorded in addition to item data corresponding to the previously set item. The system 2 is provided with a data processing means executing a prescribed slip data processing based on the item data which is outputted from the OCR 1 and reading data check parts 20 and 30 executing the prescribed check processing of the item data based on the item check data. The reading data check parts 20 and 30 check whether or not the item data has data contents which coincides with the previously defined contents based on the item check data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、特にOCRとコン
ピュータシステムを利用した帳票読取システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a form reading system using an OCR and a computer system.

【0002】[0002]

【従来の技術】従来、各種の帳票を光学的に読取処理し
て、帳票に記録された文字データを、コンピュータシス
テムに入力する光学的文字読取装置(OCR)が各方面
で利用されている。このOCRにより読込まれた帳票上
の記録情報が、コンピュータシステムに入力されて各種
の情報処理が行なわれている。
2. Description of the Related Art Conventionally, an optical character reader (OCR) has been used in various fields to optically read various forms and input character data recorded on the forms into a computer system. The record information on the form read by the OCR is input to the computer system to perform various types of information processing.

【0003】帳票は、使用目的に応じて設定されたフォ
ーマット(記録形式)からなり、各種の伝票やカード形
式の用紙である。帳票上には、例えば複数の項目毎に必
要事項を記録(記入)するための領域である枠が印刷さ
れている。この枠内に、各項目に対応する数字等の文字
を記入することになる。例えば、企業等において、従業
員の人事管理を行なうための従業員カードである帳票の
場合には、記録すべき項目として、例えば従業員番号や
入社年月日等がある。
The form has a format (recording form) set according to the purpose of use, and is a form of various slips or cards. On the form, for example, a frame that is an area for recording (filling) necessary items for each of a plurality of items is printed. Characters such as numbers corresponding to each item will be entered in this frame. For example, in a company or the like, in the case of a form that is an employee card for managing the personnel of employees, items to be recorded include, for example, the employee number and the date of joining the company.

【0004】コンピュータシステムは、OCRにより読
取処理された帳票上のデータ、即ち、前記のような従業
員番号や入社年月日等の読取データを入力して、所定の
帳票読取データ処理に従って編集処理し、使用目的に応
じたデータベースを作成するような処理を実行する。
The computer system inputs the data on the form read by the OCR, that is, the read data such as the employee number and the date of joining the company, and edits the data according to a predetermined form read data process. Then, a process for creating a database according to the purpose of use is executed.

【0005】前記のような帳票読取システムにおいて、
OCRにより読取処理された帳票上のデータが、正常デ
ータ(クリーンデータ)であるか否かをチェックし、誤
ったデータであればクリーンデータに修正処理する必要
がある。
In the form reading system as described above,
It is necessary to check whether or not the data on the form read by the OCR is normal data (clean data), and if it is erroneous data, correct it to clean data.

【0006】具体例として、前記の従業員番号や入社年
月日等のデータの場合には、記入されるべき正常データ
は全て数字である。この場合に、誤ってアルファベット
等の文字が混在している場合には、その誤ったデータを
チェックすることになる。
As a specific example, in the case of the data such as the employee number and the date of joining the company, the normal data to be entered are all numbers. In this case, if characters such as alphabets are mistakenly mixed, the incorrect data will be checked.

【0007】システムは通常では、チェック結果に基づ
いて、表示装置の画面に修正用入力画面を表示して、誤
ったデータに代わる正常なデータを入力してクリーンデ
ータに修正処理する。このようなチェック処理を含む修
正処理を実行するために、システムは予め修正処理用プ
ログラムを用意している。
[0007] Normally, the system displays a correction input screen on the screen of the display device based on the check result, inputs normal data in place of erroneous data, and corrects the clean data. In order to execute the correction processing including such check processing, the system prepares a correction processing program in advance.

【0008】[0008]

【発明が解決しようとする課題】従来のOCRを利用し
た帳票読取システムは、予め用意された修正処理用プロ
グラムにより、OCRにより読取られた帳票データをチ
ェックし、正常データに修正する処理を行なっている。
A conventional form reading system using OCR checks the form data read by the OCR by a correction processing program prepared in advance, and corrects the data to correct data. There is.

【0009】読取対象の帳票は、使用目的に従って項目
内容が異なる。したがって、システム側では、帳票毎に
修正処理用プログラムを用意する必要があり、また使用
していた帳票が変更になれば、その帳票に対応する修正
処理用プログラムも合わせて変更することになる。さら
に、新たな読取対象の帳票を追加すれば、その帳票に対
応する修正処理用プログラムも追加する必要がある。
The contents of the form to be read differ depending on the purpose of use. Therefore, on the system side, it is necessary to prepare a correction processing program for each form, and if the form used is changed, the correction processing program corresponding to the form will also be changed. Furthermore, if a new form to be read is added, it is necessary to add a correction processing program corresponding to the form.

【0010】したがって、従来では、帳票の種類、変
更、追加に合わせて、修正処理用プログラムの用意、変
更、追加を行なうための作業とコストが増大し、システ
ムの保守・運用に伴う作業の効率低下やコストの増大を
招く要因になっている。
Therefore, conventionally, the work and cost for preparing, changing, and adding a correction processing program according to the type, change, and addition of a form have increased, and the work efficiency associated with the maintenance and operation of the system has increased. It is a factor that causes a decrease and an increase in cost.

【0011】本発明の目的は、OCRを利用した帳票読
取システムにおいて、特に帳票データのチェック処理の
効率化を図ることにより、結果的にシステムの保守・運
用に伴う作業の効率向上とコスト削減を実現することに
ある。
An object of the present invention is to improve the efficiency of work for maintenance and operation of the system and cost reduction in the form reading system using OCR, particularly by improving the efficiency of the check processing of the form data. It is to be realized.

【0012】[0012]

【課題を解決するための手段】本発明は、OCRとコン
ピュータシステムとを利用して構成された帳票読取シス
テムであって、予め設定された項目に対応する項目デー
タ以外に、項目毎に定義された項目チェックデータが記
録された帳票を使用する。
The present invention is a form reading system constructed by using an OCR and a computer system, and is defined for each item in addition to item data corresponding to a preset item. Use a form in which item check data is recorded.

【0013】システムは、OCR手段から出力された項
目データに基づいて、所定の帳票データ処理を実行する
データ処理手段および項目チェックデータに基づいて項
目データの所定のチェック処理を実行するデータチェッ
ク処理手段を有する。
The system includes a data processing means for executing predetermined form data processing based on the item data output from the OCR means and a data check processing means for executing predetermined check processing of the item data based on the item check data. Have.

【0014】データチェック処理手段は、項目チェック
データに基づいて、項目データが予め定義した内容と一
致するデータ内容であるか否かをチェックする。項目チ
ェックデータは、例えば対応する項目データの文字種、
桁数、または年月日等の場合には使用される数字の範囲
などを指定するデータである。
The data check processing means checks, based on the item check data, whether or not the item data has a data content that matches the predefined content. Item check data is, for example, the character type of the corresponding item data,
This is data that specifies the number of digits, or the range of numbers used in the case of date, etc.

【0015】データチェック処理手段は、項目チェック
データにより、例えば年月日の項目データとして読取ら
れた読取データに、年月日としては有り得ない数字や文
字が含まれていれば誤ったデータとして判定し、そのチ
ェック結果を出力する。
According to the item check data, the data check processing means determines that the read data, which is read as the item data of the date, includes incorrect numbers or characters as the date, and the data is erroneous. Then, the check result is output.

【0016】このようなシステムによれば、帳票を変更
した場合でも、予め設定された項目チェックデータを使
用することにより、修正処理用プログラムを変更する必
要はない。また、読取対象として新たな帳票を追加した
場合に、その帳票の項目データの中で、新たな項目デー
タに関する項目チェックデータを追加するだけで、新た
な修正処理用プログラムを作成する必要はない。
According to such a system, even when the form is changed, it is not necessary to change the correction processing program by using the preset item check data. Further, when a new form is added as a reading target, only the item check data relating to the new item data is added to the item data of the form, and it is not necessary to create a new correction processing program.

【0017】[0017]

【発明の実施の形態】以下図面を参照して本発明の実施
の形態を説明する。図1は第1の実施形態に関係する帳
票読取システムの構成を示すブロック図であり、図2は
本実施形態のシステムに使用される読取データチェック
部の構成を示すブロック図であり、図3は本実施形態の
帳票のフォーマットを示す概念図であり、図4は本実施
形態の動作を説明するためのフローチャートである。 (システム構成)本実施形態は、図1に示すように、O
CR1とコンピュータシステムとから構成される帳票読
取システムを想定しており、コンピュータシステム側が
読取データ処理システム2を構成している。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a form reading system related to the first embodiment, FIG. 2 is a block diagram showing a configuration of a read data check unit used in the system of the present embodiment, and FIG. FIG. 4 is a conceptual diagram showing the format of the form of this embodiment, and FIG. 4 is a flow chart for explaining the operation of this embodiment. (System Configuration) In this embodiment, as shown in FIG.
It is assumed that the form reading system is composed of the CR 1 and the computer system, and the computer system side constitutes the reading data processing system 2.

【0018】OCR1は、読取対象である帳票3に記録
されている帳票データを光学的に走査し、文字認識処理
を実行して帳票データに対応する読取データをシステム
2に出力する光学的文字読取装置である。
The OCR 1 optically scans the form data recorded on the form 3 to be read, executes character recognition processing, and outputs read data corresponding to the form data to the system 2 for optical character reading. It is a device.

【0019】OCR1は、読取処理して得られた読取デ
ータのチェック処理を行なう読取データチェック部10
を有する。本実施形態の帳票3は、使用目的に応じて設
定された項目に対応する項目データRDと共に、項目毎
に設定された項目チェックデータCDを記録している。
The OCR 1 is a read data check unit 10 for checking read data obtained by the read processing.
Having. The form 3 of this embodiment records the item check data CD set for each item together with the item data RD corresponding to the item set according to the purpose of use.

【0020】項目チェックデータCDは、予め定義され
た項目データRD毎に設定されたチェック内容(チェッ
クパターン)を示すコードデータ列からなる。項目チェ
ックデータCDは、OCR1の文字認識処理で認識率の
高い英数字または記号のコード列からなり、帳票3上の
所定位置に印刷される。
The item check data CD is composed of a code data string indicating the check contents (check pattern) set for each item data RD defined in advance. The item check data CD is composed of a code string of alphanumeric characters or symbols having a high recognition rate in the character recognition processing of OCR1 and is printed at a predetermined position on the form 3.

【0021】具体的には、図3に示すように、例えばI
D番号の項目データRD1には、「01」の項目チェッ
クデータCDが設定されており、また社員番号の項目デ
ータRD2には「50」の項目チェックデータCDが設
定されている。同様に、組織番号の項目データRD3に
は「62」の項目チェックデータCDが設定されてい
る。
Specifically, as shown in FIG. 3, for example, I
The item data RD1 of the D number is set to the item check data CD of "01", and the item data RD2 of the employee number is set to the item check data CD of "50". Similarly, the item check data CD of "62" is set in the item data RD3 of the organization number.

【0022】読取データ処理システム2は、読取データ
入力部4と、読取データ格納部5と、項目チェックデー
タ格納部6と、読取データ修正部7と、データ表示/入
力部8と、正常データ(クリーンデータ)の格納部9と
を有する。
The read data processing system 2 includes a read data input section 4, a read data storage section 5, an item check data storage section 6, a read data correction section 7, a data display / input section 8, and normal data ( Storage unit 9 for clean data).

【0023】読取データ入力部4は、OCR1から出力
された読取データ(RD,CD)を入力し、必要に応じ
て読取データチェック部20によりチェック処理を行な
う。読取データ格納部5は、読取データ入力部4により
入力された項目データRDを、チェック処理結果である
チェックエラー情報があればそれを付加して格納する例
えばディスク記憶装置である。
The read data input unit 4 inputs the read data (RD, CD) output from the OCR 1, and the read data check unit 20 performs a check process as necessary. The read data storage unit 5 is, for example, a disk storage device that stores the item data RD input by the read data input unit 4 with check error information, which is the check processing result, if any.

【0024】項目チェックデータ格納部6は、読取デー
タ入力部4により入力された項目チェックデータCDを
格納する例えばディスク記憶装置である。読取データ修
正部7は、読取データ格納部5から読取データを取出し
て、この読取データに基づいて修正入力画面を作成し、
データ表示/入力部8の表示画面上に表示する。
The item check data storage unit 6 is, for example, a disk storage device that stores the item check data CD input by the read data input unit 4. The read data correction unit 7 extracts the read data from the read data storage unit 5 and creates a correction input screen based on the read data,
It is displayed on the display screen of the data display / input unit 8.

【0025】データ表示/入力部8は、具体的にはディ
スプレイ装置とキー入力装置(マウスを含む)とから構
成されており、ディスプレイ装置の表示画面上に表示さ
れた修正入力画面に従って、キー入力装置から修正デー
タを入力する機能を有する。
The data display / input unit 8 is specifically composed of a display device and a key input device (including a mouse), and the key input is performed in accordance with the correction input screen displayed on the display screen of the display device. It has a function of inputting correction data from the device.

【0026】読取データ修正部7は、データ表示/入力
部8から入力された修正データを、読取データチェック
部30によりチェック処理を行なう。読取データ修正部
7は、読取データチェック部30のチェック処理によ
り、正常データであると判定されたクリーンデータを正
常データ格納部9に格納する。
The read data correction unit 7 causes the read data check unit 30 to check the correction data input from the data display / input unit 8. The read data correction unit 7 stores the clean data determined to be normal data in the normal data storage unit 9 by the check processing of the read data check unit 30.

【0027】正常データ格納部9は、システムの内部で
所定のデータ処理に使用するためのデータ格納部9aと
外部用データ格納部9bとからなる。外部用データ格納
部9bは、システムの外部である例えば印刷装置に出力
するためのバッファメモリである。
The normal data storage unit 9 is composed of a data storage unit 9a and an external data storage unit 9b for use in predetermined data processing inside the system. The external data storage unit 9b is a buffer memory for outputting to a printing device outside the system, for example.

【0028】コンピュータシステムは、データ格納部9
aに格納された帳票データの正常データを使用して、所
定の編集処理やデータベースの作成処理等の所定のデー
タ処理を実行する。 (読取データチェック部の構成)読取データチェック部
10,20,30はそれぞれ基本的構成は同一であり、
図2に示すように、項目チェックデータ毎の複数のチェ
ックモジュール(チェック処理用プログラム1〜n)3
00を有する。
The computer system includes a data storage unit 9.
The normal data of the form data stored in a is used to execute predetermined data processing such as predetermined editing processing and database creation processing. (Configuration of Read Data Check Unit) The read data check units 10, 20, and 30 have the same basic configuration.
As shown in FIG. 2, a plurality of check modules (check processing programs 1 to n) 3 for each item check data 3
00.

【0029】モジュールコントロール部(プログラム)
100は、入力した項目チェックデータに対応するチェ
ックモジュール300を起動させる。モジュールコント
ロール部100は、対応する項目データが正常であるか
否かをチェックするためのチェックパターン情報200
から、選択したチェックモジュール300のチェック処
理に必要な情報を与える。
Module control section (program)
100 activates the check module 300 corresponding to the input item check data. The module control unit 100 checks the check pattern information 200 for checking whether the corresponding item data is normal.
From, the information necessary for the check processing of the selected check module 300 is given.

【0030】モジュールコントロール部100は、たと
えば項目チェックデータCDとして、項目データRD1
に対応するコード列「01」が入力されると、チェック
パターン情報200に基づいて例えばチェックモジュー
ル1を起動させる。
The module control section 100 uses the item data RD1 as the item check data CD, for example.
When the code string “01” corresponding to is input, for example, the check module 1 is activated based on the check pattern information 200.

【0031】チェックモジュール1は、予め用意された
チェックパターン情報200に基づいて、ID番号の項
目データRD1のデータ列が正常であるか否かをチェッ
クする。例えば、項目データRD1として、ID番号に
は使用されない英数字等が記入されていれば、その文字
をチェックエラー情報として出力する。 (第1の実施形態の動作)以下、本実施形態の動作を図
4のフローチャートを参照して説明する。
The check module 1 checks whether or not the data string of the item data RD1 of the ID number is normal based on the check pattern information 200 prepared in advance. For example, if an alphanumeric character that is not used in the ID number is entered as the item data RD1, that character is output as check error information. (Operation of First Embodiment) The operation of this embodiment will be described below with reference to the flowchart of FIG.

【0032】本実施形態は、図3に示すように、項目デ
ータRD1〜RD3毎に、項目チェックデータCDがそ
れぞれ独立に印刷されている帳票3を使用することを想
定している。
In this embodiment, as shown in FIG. 3, it is assumed that the form 3 in which the item check data CD is printed independently for each item data RD1 to RD3 is used.

【0033】OCR1は、セットされた帳票3上を走査
して、記録(記入または印刷)された項目データRD1
〜RD3および項目チェックデータCDを読取処理し
て、システム2に出力する(ステップS1,S2)。
The OCR1 scans the set form 3 and records (fills or prints) the item data RD1.
~ RD3 and item check data CD are read and output to the system 2 (steps S1 and S2).

【0034】OCR1は、読取データチェック部10に
より、項目チェックデータCDに基づいて認識処理した
項目データRD1〜RD3のチェック処理を実行し、チ
ェック結果を読取データに付加する。
The OCR 1 executes the check processing of the item data RD1 to RD3, which has been subjected to the recognition processing based on the item check data CD, by the read data check unit 10, and adds the check result to the read data.

【0035】システム2の読取データ入力部4は、OC
R1からの読取データ(RD1〜RD3,CD)を入力
し、読取データチェック部20によりチェック処理を実
行する(ステップS3,S4)。
The read data input section 4 of the system 2 is an OC
Read data (RD1 to RD3, CD) from R1 is input, and the read data check unit 20 executes a check process (steps S3 and S4).

【0036】読取データ入力部4は、入力した読取デー
タの中で、項目データRD1〜RD3と、チェック処理
の結果であるチェックエラー情報があれば付加して、読
取データ格納部5に格納する。また、項目チェックデー
タCDを項目チェックデータ格納部6に格納する(ステ
ップS5)。
The read data input unit 4 adds item data RD1 to RD3 and check error information, which is the result of the check process, to the read data input unit 4 and stores them in the read data storage unit 5. Further, the item check data CD is stored in the item check data storage unit 6 (step S5).

【0037】読取データ修正部7は、読取データ格納部
5から項目データRD1〜RD3を取出して、帳票デー
タの修正入力画面を作成して、データ表示/入力部8の
表示画面上(ディスプレイ装置)に表示する(ステップ
S6)。
The read data correction unit 7 takes out the item data RD1 to RD3 from the read data storage unit 5, creates a correction input screen for the form data, and displays it on the display screen of the data display / input unit 8 (display device). (Step S6).

【0038】ここで、修正入力画面には、読取データチ
ェック部20によるチェック結果を含ませる。例えば、
図3に示す帳票3において、項目データRD1の中に、
ID番号としては使用されない英数字等が含まれている
場合に、その文字がチェックエラーであることを指示す
る情報を修正入力画面に含ませる。
Here, the correction input screen includes the check result by the read data check unit 20. For example,
In the form 3 shown in FIG. 3, in the item data RD1,
When an alphanumeric character that is not used as the ID number is included, the correction input screen includes information indicating that the character is a check error.

【0039】ユーザは、表示画面上の修正入力画面か
ら、入力した帳票データ(RD1〜RD3)の中で修正
すべきデータがあれば、データ表示/入力部8のキー入
力装置を操作して入力する(ステップS8)。
If there is data to be corrected in the input form data (RD1 to RD3) from the correction input screen on the display screen, the user operates the key input device of the data display / input unit 8 to input. Yes (step S8).

【0040】読取データ修正部7は、読取データチェッ
ク部10により、データ表示/入力部8から入力された
データを、項目チェックデータ格納部6に格納された項
目チェックデータCDに基づいてチェック処理する(ス
テップS9)。
The read data correction unit 7 checks the data input from the data display / input unit 8 by the read data check unit 10 based on the item check data CD stored in the item check data storage unit 6. (Step S9).

【0041】ここで、読取データ修正部7は、チェック
処理によりチェックエラーが発生すれば、再度の修正入
力画面を表示する。読取データ修正部7は、チェック処
理後のクリーンデータ、即ち正常な項目データRD1〜
RD3からなる帳票データを、データ格納部9aに格納
する(ステップS10)。また、同様に、外部用データ
格納部9bにクリーンデータを格納する。
Here, the read data correction section 7 displays the correction input screen again if a check error occurs in the check processing. The read data correction unit 7 cleans the check data, that is, normal item data RD1.
The form data composed of RD3 is stored in the data storage unit 9a (step S10). Similarly, the clean data is stored in the external data storage unit 9b.

【0042】コンピュータシステムは、データ格納部9
aに格納された帳票データを取出して、編集処理やデー
タベース作成処理等の所定のデータ処理を実行する。以
上のように本実施形態によれば、帳票3上に予め記録し
た項目チェックデータCDに基づいて、OCR1、シス
テム2の読取データ入力部4、および読取データ修正部
7のそれぞれにおいて、項目データRD1〜RD3が正
常であるか否かをチェックし、チェックエラーがあれば
そのチェック結果を出力する。
The computer system includes a data storage unit 9.
The form data stored in a is taken out, and predetermined data processing such as editing processing and database creation processing is executed. As described above, according to the present embodiment, based on the item check data CD pre-recorded on the form 3, the OCR 1, the read data input unit 4 of the system 2, and the read data correction unit 7 each receive the item data RD1. ~ It is checked whether RD3 is normal, and if there is a check error, the check result is output.

【0043】このようなチェック処理方式であれば、予
め項目データ毎の項目チェックデータCD及びそれに対
応するチェックモジュールを用意することにより、帳票
3の項目が変更になった場合に、その項目が予め用意さ
れているものであれば、チェック処理に必要なデータや
プログラムの変更は不要である。
According to such a check processing method, by preparing the item check data CD for each item data and the check module corresponding thereto in advance, when the item of the form 3 is changed, the item is previously changed. As long as it is prepared, it is not necessary to change the data or program necessary for the check processing.

【0044】また、仮に帳票の変更に伴う新たな項目が
必要となった場合でも、それに対応する項目チェックデ
ータCD及びチェックモジュールを追加するだけで、全
体的なプログラムの作成は不要である。新たな読取対象
の帳票を追加する場合でも、前記と同様に、チェック処
理に必要なデータやプログラムの追加が不要であるか、
または部分的追加のみでよい。
Further, even if a new item is required due to the change of the form, only the item check data CD and the check module corresponding thereto are added, and it is not necessary to create the entire program. Even when adding a new form to be read, is it not necessary to add the data or program necessary for the check processing, as in the above case?
Or only partial addition is required.

【0045】なお、本実施形態では、項目チェックデー
タCDは、数字のコード列により表記する場合について
説明したが、これに限ることなく、例えばバーコード等
のマークや記号でもよい。但し、OCR1の文字認識処
理で、認識率の高いものが望ましい。 (第2の実施形態)第1の実施形態の応用形態として、
第2の実施形態は、帳票3上に記録する項目チェックデ
ータを、項目データに付加して、いわば項目データ列の
一部として記録する形式である。
In the present embodiment, the item check data CD is described as a code string of numbers, but the present invention is not limited to this and may be a mark or a symbol such as a bar code. However, it is desirable that the character recognition processing of OCR1 has a high recognition rate. (Second Embodiment) As an application form of the first embodiment,
The second embodiment is a format in which the item check data to be recorded on the form 3 is added to the item data and recorded as a part of the item data string.

【0046】即ち、図5に示すように、仮に帳票ID番
号、従業員番号、入社年月日の各項目に対応する項目デ
ータを記録する場合に、各項目データ列の最下位桁の数
字を項目チェックデータCD1〜CD3とする。
That is, as shown in FIG. 5, when the item data corresponding to each item of the form ID number, employee number, and date of employment is recorded, the lowest digit of each item data string is used. Item check data CD1 to CD3.

【0047】項目チェックデータCD1〜CD3におい
て、数字「0」はチェック無しを意味し、数字「1」は
数字タイプ(0〜9)のチェックを意味し、数字「2」
はカレンダーチェックを意味すると想定する。当然なが
ら、他の数字についても、それぞれ予めチェック内容を
設定する。
In the item check data CD1 to CD3, the number "0" means no check, the number "1" means check of the number type (0 to 9), and the number "2".
Is assumed to mean a calendar check. As a matter of course, the check contents are set in advance for other numbers as well.

【0048】ここで、数字「0」のチェック無しとは、
チェック処理を実行しないことを意味する。また、数字
「2」のカレンダーチェックは、暦上で有り得ない数字
等が記録されているか否かをチェックする処理である。
例えば、現時点が1995年であれば、入社年月日の項
目データの中で、上位2桁の「75」が正常データであ
るか否かをチェックする。この例では正常であるが、例
えば「97」の場合には誤ったデータとしてチェックエ
ラーとなる。
Here, the number "0" not checked means
It means that the check process is not executed. Further, the calendar check of the number "2" is a process of checking whether or not a number or the like that is impossible on the calendar is recorded.
For example, if the current time is 1995, it is checked whether or not the upper two digits “75” in the item data of the joining date is normal data. In this example, it is normal, but in the case of "97", for example, a check error occurs as incorrect data.

【0049】第2の実施形態のような記録形式であれ
ば、帳票3上に項目チェックデータ用の独立した記録領
域(図3を参照)を設ける必要がないため、帳票のレイ
アウト設計上、制約を緩和することが可能となる。
In the case of the recording format as in the second embodiment, it is not necessary to provide an independent recording area for item check data (see FIG. 3) on the form 3, so that there is a restriction on the form layout design. Can be alleviated.

【0050】なお、当然ながら項目チェックデータを項
目データ列の最下位桁に付加した場合について説明した
が、最上位桁でもよい。また、1桁だけでなく、下位ま
たは上位の数桁を項目チェックデータとして使用しても
よい。 (第3の実施形態)第3の実施形態は、第2の実施形態
の応用形態に相当する内容であり、項目データ列に含ま
れる項目チェックデータに、本来のチェック処理用以外
のフィールド長等の付加データを含ませた記録形式であ
る。
Although the item check data is naturally added to the least significant digit of the item data string in the above description, it may be the most significant digit. Further, not only one digit but also lower or upper several digits may be used as the item check data. (Third Embodiment) The third embodiment has contents corresponding to the applied form of the second embodiment, in which the item check data included in the item data string includes field lengths other than the original check processing. It is a recording format that includes additional data of.

【0051】具体的には、図6に示すように、帳票ID
番号と従業員番号の各項目データのフィールド(記録領
域)において、各項目データの最下位桁に付加して項目
チェックデータCD1,CD2およびそれ以外の付加デ
ータL1,L2,P1,P2が記録されている。
Specifically, as shown in FIG. 6, the form ID
In the field (recording area) of each item data of number and employee number, item check data CD1, CD2 and other additional data L1, L2, P1, P2 are recorded by adding to the least significant digit of each item data. ing.

【0052】付加データL1,L2は、それぞれ対応す
るフィールドの項目データの文字長(桁数)を意味する
フィールド長データである。この例では、付加データL
1が文字長「3」を示し、付加データL2が文字長
「7」を示している。
The additional data L1 and L2 are field length data that means the character length (number of digits) of the item data of the corresponding field. In this example, the additional data L
1 indicates the character length "3", and the additional data L2 indicates the character length "7".

【0053】また、付加データP1,P2は、前述のシ
ステムにおいて、読取データ修正部7が修正入力画面を
表示するときに、その画面表示座標を示す座標データで
ある。
The additional data P1 and P2 are coordinate data indicating the screen display coordinates when the read data correction section 7 displays the correction input screen in the above-mentioned system.

【0054】即ち、読取データ修正部7は修正入力画面
を作成するときに、項目チェックデータ格納部6から項
目チェックデータと共に、付加データP1,P2を取出
し、項目データ(ここでは帳票ID番号と従業員番号)
の画面座標を設定する。
That is, the read data correction unit 7 takes out the additional data P1 and P2 together with the item check data from the item check data storage unit 6 when creating the correction input screen, and the item data (here, the form ID number and employee Member number)
Set the screen coordinates of.

【0055】ここでは、付加データP1(0110)
は、帳票ID番号の表示先頭位置が画面上の1行目の1
0桁目を意味している。また、付加データP2(021
0)は、従業員番号の表示先頭位置が画面上の2行目の
10桁目を意味している。
Here, the additional data P1 (0110)
Indicates that the display start position of the form ID number is 1 in the first line on the screen.
It means the 0th digit. In addition, the additional data P2 (021
0) means that the display start position of the employee number is the 10th digit of the second line on the screen.

【0056】これにより、読取データ修正部7は、図7
に示すように、3文字からなる帳票ID番号を画面上の
1行目の10桁目から表示し、7文字からなる従業員番
号を画面上の2行目の10桁目から表示する。
As a result, the read data correction section 7 is set in FIG.
As shown in, the form ID number of 3 characters is displayed from the 10th digit of the first line on the screen, and the employee number of 7 characters is displayed from the 10th digit of the second line on the screen.

【0057】以上のように第3の実施形態によれば、項
目チェックデータと共に、フィールド長や画面座標を示
す付加データを、項目データ列に含ませる記録形式によ
り、読取データ修正部7は修正入力画面の作成処理を、
それらの付加データに基づいて自動的に行なうことが可
能となる。
As described above, according to the third embodiment, the read data correction unit 7 makes a correction input by the recording format in which the item check data and the additional data indicating the field length and the screen coordinates are included in the item data string. Screen creation process,
It can be automatically performed based on the additional data.

【0058】なお、当然ながら、付加データを、フィー
ルド長や画面座標だけでなく、各種の用途を意味するデ
ータとして使用することが可能である。また、第3の実
施形態だけでなく、前述の第1と第2の実施形態の共通
要素として、項目チェックデータに数字を使用した場合
について説明したが、当然ながら、アルファベット、記
号、マーク等のデータでもよい。
Of course, the additional data can be used not only as the field length and screen coordinates but also as data meaning various purposes. Further, as a common element not only in the third embodiment but also in the first and second embodiments described above, the case where a numeral is used for item check data has been described, but of course, alphabets, symbols, marks, etc. It may be data.

【0059】[0059]

【発明の効果】以上詳述したように本発明によれば、O
CRとコンピュータシステムとを利用して構成された帳
票読取システムにおいて、帳票上に項目チェックデータ
を記録して、この項目チェックデータをOCRにより認
識してチェック処理に利用する方式により、帳票データ
のチェック処理の効率化を図ることができる。したがっ
て、帳票の変更、追加を行なう場合でも、それに伴う作
業の効率低下やコストの増大を最小限にすることが可能
となり、結果的にシステムの保守・運用に伴う作業の効
率向上とコスト削減を実現することができる。
As described in detail above, according to the present invention, O
In a form reading system configured by using a CR and a computer system, item check data is recorded on a form, and the item check data is recognized by OCR and used for the check process to check the form data. The efficiency of processing can be improved. Therefore, even if the form is changed or added, it is possible to minimize the work efficiency decrease and the cost increase that accompany it, and as a result, improve the work efficiency and cost reduction accompanying the system maintenance and operation. Can be realized.

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

【図1】本発明の第1の実施形態に関係する帳票読取シ
ステムの構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a form reading system related to a first embodiment of the present invention.

【図2】第1の実施形態に関係するシステムに使用され
る読取データチェック部の構成を示すブロック図。
FIG. 2 is a block diagram showing a configuration of a read data check unit used in the system related to the first embodiment.

【図3】第1の実施形態に関係する帳票のフォーマット
を示す概念図。
FIG. 3 is a conceptual diagram showing a format of a form related to the first embodiment.

【図4】第1の実施形態の動作を説明するためのフロー
チャート。
FIG. 4 is a flowchart for explaining the operation of the first embodiment.

【図5】第2の実施形態に関係する帳票のフォーマット
を示す概念図。
FIG. 5 is a conceptual diagram showing a format of a form related to the second embodiment.

【図6】第3の実施形態に関係する帳票のフォーマット
を示す概念図。
FIG. 6 is a conceptual diagram showing a format of a form related to the third embodiment.

【図7】第3の実施形態に関係する表示画面を示す概念
図。
FIG. 7 is a conceptual diagram showing a display screen related to the third embodiment.

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

1…OCR 2…読取データ処理システム(コンピュータシステム) 3…帳票 4…読取データ入力部 5…読取データ格納部 6…項目チェックデータ格納部 7…読取データ修正部 8…データ表示/入力部 9a…データ格納部 9b…外部用データ格納部 10,20,30…読取データチェック部 1 ... OCR 2 ... Read data processing system (computer system) 3 ... Form 4 ... Read data input section 5 ... Read data storage section 6 ... Item check data storage section 7 ... Read data correction section 8 ... Data display / input section 9a ... Data storage unit 9b ... External data storage unit 10, 20, 30 ... Read data check unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 予め設定された項目に対応する項目デー
タ及び前記項目毎に定義された項目チェックデータが記
録された読取対象の帳票を、光学的に走査して前記項目
データと前記項目チェックデータの読取処理を実行する
OCR手段と、 前記OCR手段から出力された前記項目データに基づい
て、所定の帳票データ処理を実行するデータ処理手段
と、 前記OCR手段から出力された前記項目チェックデータ
に基づいて、前記項目データが予め設定された定義内容
に対して正常であるか否かをチェックする処理を実行す
るデータチェック処理手段とを具備したことを特徴とす
る帳票読取システム。
1. The item data and the item check data are obtained by optically scanning a form to be read in which item data corresponding to preset items and item check data defined for each item are recorded. Based on the item data output from the OCR means, and OCR means for executing a reading process of the data, a data processing means for executing a predetermined form data process based on the item data output from the OCR means, and an item check data output from the OCR means. And a data check processing means for executing a process of checking whether or not the item data is normal with respect to a preset definition content.
【請求項2】 予め設定された項目に対応する項目デー
タ及び前記項目毎に定義された項目チェックデータが記
録された読取対象の帳票を、光学的に走査して前記項目
データと前記項目チェックデータの読取処理を実行する
OCR手段と、 前記OCR手段から出力された前記項目チェックデータ
に基づいて、前記OCR手段から出力された前記項目デ
ータを予め定義された正常データに修正する修正手段
と、 前記項目データの正常データに基づいて、所定の帳票デ
ータ処理を実行するデータ処理手段とを具備したことを
特徴とする帳票読取システム。
2. The item data and the item check data are obtained by optically scanning a form to be read in which item data corresponding to preset items and item check data defined for each item are recorded. OCR means for executing the reading process of, and a correction means for correcting the item data output from the OCR means to pre-defined normal data based on the item check data output from the OCR means, A form reading system comprising: a data processing unit that executes a predetermined form data process based on normal data of item data.
【請求項3】 予め設定された項目に対応する項目デー
タ及び前記項目毎に定義された項目チェックデータが記
録された読取対象の帳票を、光学的に走査して前記項目
データと前記項目チェックデータの読取処理を実行する
OCR手段と、 前記OCR手段から出力された前記項目チェックデータ
に基づいて、前記OCR手段から出力された前記項目デ
ータが正常データであるか否かをチェックする入力チェ
ック手段と、 前記OCR手段から出力された前記項目データの修正用
入力画面を表示し、前記修正用入力画面に基づいて入力
された修正データを前記項目チェックデータに基づいて
チェック処理し、前記項目データを予め定義された正常
データに修正する修正手段と、 前記項目データの正常データに基づいて、所定の帳票デ
ータ処理を実行するデータ処理手段とを具備したことを
特徴とする帳票読取システム。
3. The item data and the item check data are obtained by optically scanning a form to be read in which item data corresponding to preset items and item check data defined for each item are recorded. And OCR means for executing the reading process, and input checking means for checking whether or not the item data output from the OCR means is normal data based on the item check data output from the OCR means. Displaying a correction input screen for the item data output from the OCR means, checking the correction data input based on the correction input screen based on the item check data, and pre-processing the item data. Correcting means for correcting the defined normal data, and performing predetermined form data processing based on the normal data of the item data. A form reading system comprising: a data processing unit that executes the data.
【請求項4】 前記項目チェックデータは予め定義され
た項目データ毎に設定されたチェックパターンを示すコ
ードデータ列であり、前記帳票上に記録された前記項目
データに付加されたデータ列または前記項目データ毎に
独立して記録されたデータ列であることを特徴とする請
求項1、請求項2、請求項3のいずれか記載の帳票読取
システム。
4. The item check data is a code data string indicating a check pattern set for each item data defined in advance, and is a data string added to the item data recorded on the form or the item. The form reading system according to any one of claims 1, 2, and 3, which is a data string recorded independently for each data.
【請求項5】 光学的文字読取装置とコンピュータシス
テムとを利用して構成された帳票読取システムに適用す
る帳票データ読取方法であって、 予め設定された項目に対応する項目データ及び前記項目
毎に定義された項目チェックデータを帳票から読取処理
するステップと、 前記項目チェックデータに基づいて、前記項目データが
正常データであるか否かをチェック処理するステップ
と、 前記チェック処理の結果に基づいて、前記項目データを
予め定義された正常データに修正するステップと、 前記項目データの正常データに基づいて所定の帳票デー
タ処理を実行するステップとからなることを特徴とする
帳票データ読取方法。
5. A form data reading method applied to a form reading system configured by using an optical character reading device and a computer system, comprising: item data corresponding to preset items; A step of reading the defined item check data from the form; a step of checking whether the item data is normal data based on the item check data; and a step of checking the result of the check process. A form data reading method comprising: a step of correcting the item data to pre-defined normal data; and a step of executing a predetermined form data process based on the normal data of the item data.
JP8001627A 1996-01-09 1996-01-09 System for reading slip and its method Pending JPH09190482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8001627A JPH09190482A (en) 1996-01-09 1996-01-09 System for reading slip and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8001627A JPH09190482A (en) 1996-01-09 1996-01-09 System for reading slip and its method

Publications (1)

Publication Number Publication Date
JPH09190482A true JPH09190482A (en) 1997-07-22

Family

ID=11506782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8001627A Pending JPH09190482A (en) 1996-01-09 1996-01-09 System for reading slip and its method

Country Status (1)

Country Link
JP (1) JPH09190482A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179395A (en) * 2005-12-28 2007-07-12 Fujitsu Ltd Medium processing apparatus, method and system, and computer readable recording medium for recording medium processing program
JP2014225266A (en) * 2014-06-23 2014-12-04 富士ゼロックス株式会社 Document processor and document processing program
JP7405287B1 (en) * 2022-09-15 2023-12-26 大日本印刷株式会社 Information processing device, computer program and information processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179395A (en) * 2005-12-28 2007-07-12 Fujitsu Ltd Medium processing apparatus, method and system, and computer readable recording medium for recording medium processing program
JP2014225266A (en) * 2014-06-23 2014-12-04 富士ゼロックス株式会社 Document processor and document processing program
JP7405287B1 (en) * 2022-09-15 2023-12-26 大日本印刷株式会社 Information processing device, computer program and information processing method

Similar Documents

Publication Publication Date Title
KR20090079226A (en) Automated generation of form definitions from hard-copy forms
EP1171832A2 (en) Interface for an enterprise resource planning program
CN101770469A (en) Page based data query method and system thereof
US6792145B2 (en) Pattern recognition process for text document interpretation
US6108677A (en) Data processing apparatus
JPH09190482A (en) System for reading slip and its method
JP2568180B2 (en) Image processing method
JP3394694B2 (en) Format information registration method and OCR system
JP2002230479A (en) Computer system, business form processing method, and program
US4982323A (en) Information processing system for setting operational functions of a terminal unit
JP2663779B2 (en) Credit card information extraction device
JPH1091713A (en) Method and device for automatically linking auxiliary account book, recording medium for recording auxiliary account book data/management data and recording medium for recording automatic linking program for auxiliary account book
JP4232316B2 (en) Validity verification system for print data for OCR
JP2002230465A (en) Business form reader
JP4340412B2 (en) Data verification device
JP2006309384A5 (en)
JP3046911B2 (en) Data writing method and apparatus
JPS63317877A (en) Supplementary ordering system using ic card
JP2000105796A (en) Character reading system and read result correction processing method for the system
JPH07141448A (en) Adjustment processing system
JP2003263551A (en) Individual document confirmation system, document issuing system, document set, and individual document confirmation method
JPS61208584A (en) Character reader
JPH06337748A (en) Data input method
JPH11272807A (en) Card issue system and card member information registration system
JP2005108129A (en) Sheet information recognition device, its control method, and control program