JPS61201323A - Data output system for optical character recognizing device - Google Patents

Data output system for optical character recognizing device

Info

Publication number
JPS61201323A
JPS61201323A JP4033385A JP4033385A JPS61201323A JP S61201323 A JPS61201323 A JP S61201323A JP 4033385 A JP4033385 A JP 4033385A JP 4033385 A JP4033385 A JP 4033385A JP S61201323 A JPS61201323 A JP S61201323A
Authority
JP
Japan
Prior art keywords
area
output
data
recognition data
cluster
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
JP4033385A
Other languages
Japanese (ja)
Inventor
Noriyuki Senuma
瀬沼 訓行
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 JP4033385A priority Critical patent/JPS61201323A/en
Publication of JPS61201323A publication Critical patent/JPS61201323A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)

Abstract

PURPOSE:To output recognition data to a discontinuously writable area by providing a means which writes and reads the recognition data and determines a write position on a recording medium corresponding to the relative number of the recognition data. CONSTITUTION:An input/output control part 241 reads format information 224 consisting of a register, a file area table, and an identifier in an area 231 on a floppy disk by using the distance l1 from the head of the area 231 and expands it in a format information table 242. When an area having an indicated name is present in the area, a heat cluster number is searched for from the register information in the table 242 and if it is not found, a name is added to give an unused cluster a heat cluster number. When write processing is performed and the fullness of a cluster 222 is detected, the searched free cluster number is regarded as a next cluster number to update file area table information in the table 242, thereby completing the processing.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は光学文字認識装置のデータ出力方式に場合の出
力の制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an output control method for a data output method of an optical character recognition device.

(従来技術) 従来、光学文字認識装置の出力制御は、第2図に示すよ
うにn個からなる認識データ111を70ツビイデイス
ク131上の連続した領域121上に出力するために、
第を図圧水す制御を行っている。
(Prior Art) Conventionally, the output control of an optical character recognition device is performed in order to output recognition data 111 consisting of n pieces onto a continuous area 121 on a 70-tube disk 131 as shown in FIG.
The water pressure is controlled.

第3図及び第4図を参照して、オープン処理101でn
個の認識データ111に対応する連続した領域121の
有無を確認した後、書き込み処理102において、認識
データa。をフロッピィディスク131の先頭からkの
距離にある連続した領域121の先頭を基準とし、所謂
相対番号″′0”の位置のす。にデータの出力を行う。
Referring to FIGS. 3 and 4, in the open process 101, n
After confirming the presence or absence of a continuous area 121 corresponding to the pieces of recognition data 111, in the writing process 102, the recognition data a. is the position of the so-called relative number "'0" with the beginning of the continuous area 121 located at a distance k from the beginning of the floppy disk 131 as a reference. Output data to.

次に、インクリメント処理103でデータ番号に1”を
加算する。以後判断処理104でデータ番号がl’ln
#に等しくなったことを検出するまで書き込み処理10
2とインクリメント処理103を繰り返し行い、認識デ
ータ111を連続した領域121へ書き込む。最終デー
タ“an”まで書き込むと、クローズ処理105で連続
した領域121内の”b”までを有効なデータとし、b
n+1を終了位置とする。
Next, in increment processing 103, 1" is added to the data number. Thereafter, in judgment processing 104, the data number is l'ln
Write processing 10 until detecting that it becomes equal to #
2 and increment processing 103 are repeated, and the recognition data 111 is written into a continuous area 121. When the final data "an" is written, the data up to "b" in the continuous area 121 is treated as valid data in the closing process 105, and b
Let n+1 be the end position.

(発明が解決しようとする問題点) このように、従来の、光学文字認識装置の出力方式では
連続する領域がないと認識データを書き込むことができ
ず2例えば、ベーシック(RASIC)言語でアクセス
できるBASICデータファイル形式のようにファイル
領域が連続するとは限らないファイルへの出力を行うこ
とはできないという欠点があった。
(Problems to be Solved by the Invention) As described above, in the conventional output method of an optical character recognition device, recognition data cannot be written unless there is a continuous area. This method has a disadvantage in that it is not possible to output to a file whose file area is not necessarily continuous as in the BASIC data file format.

本発明の目的は、ファイル領域が連続するとは限らない
ファイルへの出力を可能とすることのできる光学文字認
識装置の出力方式を提供するととみ出しを行い、しかも
認識データの相対番号と記録媒体上のフォーマット情報
からこの相対番号に対応する記録媒体上の書き込み位置
を決定する手段を有し、認識データ毎に書き込み位置を
決定し。
An object of the present invention is to provide an output method for an optical character recognition device that can output to a file whose file area is not necessarily continuous, and also performs overflow and the relative numbering of recognition data and information on a recording medium. The apparatus has means for determining a writing position on the recording medium corresponding to this relative number from the format information of , and determines the writing position for each recognized data.

記録媒体上の不連続な書き込み領域へ認識データを出力
できるようにしたことを特徴とする光学文字認識装置の
データ出力方式である。
This is a data output method for an optical character recognition device, which is characterized in that recognition data can be output to discontinuous writing areas on a recording medium.

(実施例) 次に本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

本発明の実施例を示す第1図は#  OO−e nの連
続した認識データ211をフロッピィディスク上の不連
続なりラスタ領域222と223からなる領域221へ
本発明による入出力制御部241により出力する実施例
である。
FIG. 1 showing an embodiment of the present invention shows continuous recognition data 211 of #OO-e n being outputted to an area 221 consisting of discontinuous raster areas 222 and 223 on a floppy disk by an input/output control unit 241 according to the present invention. This is an example.

入出力制御部241の動作の流れを第2図に示す。The flow of operation of the input/output control section 241 is shown in FIG.

第1図及び第2図を参照して、出力する領域名の指示を
行うオープン処理201により起動を受けると、入出力
制御部241はフォーマット情報読み出し処理301で
、フロッピィディスク上の領域231上の登録簿(oI
RacToRy以下DIRと略称する。)、ファイル領
域テーブル(FIIJ AREATABLE以下FAT
と略称する。)、識別名(IDL?JTIFIER以下
IDと略称する。)からなるフォーマット情報224を
領域231の先頭からの距離tfを用い読み出し、入出
力制御部241内のフォーマット情報テーブル242に
展開する。次に、先頭クラスタ番号処理302で、指示
された名称の領域が存在する場合には、テーブル242
上のDIR情報から先頭クラスタ番号を取り、一方、指
示された名称の領域がないときはテーブル242上のD
IR情報内に指示された名称を追加し、  FAT情報
をサーチし任意の未使用クラスタを先頭クラスタ番号と
する。
Referring to FIGS. 1 and 2, when activated by the open process 201 that instructs the name of the area to be output, the input/output control unit 241 performs the format information read process 301 to read the data in the area 231 on the floppy disk. Register (oI
RacToRy is hereinafter abbreviated as DIR. ), file area table (FIIJ AREATABLE below FAT
It is abbreviated as. ), an identification name (IDL?JTIFIER, hereinafter abbreviated as ID) is read out using the distance tf from the beginning of the area 231, and expanded into the format information table 242 in the input/output control unit 241. Next, in the first cluster number processing 302, if an area with the specified name exists, the table 242
The first cluster number is taken from the DIR information above, and if there is no area with the specified name, D on the table 242 is taken.
Add the specified name to the IR information, search the FAT information, and select any unused cluster as the first cluster number.

出力する認識データcx (x : O〜n)及びその
相対番号Xの書き込み指示を行う書き込み処理202に
より起動されると、入出力制御部241は次の動作をす
る。相対番号Xが60#〜″m”(ただしm(n )ま
での場合には、認識データ出力位置計算処理303によ
って、先頭クラスタ番号とクラスタを構成するデータ数
から先頭クラスタの位置toを求め、toと相対番号″
x”からtxを求める。
When activated by the write process 202 that instructs to write the recognition data cx (x: O to n) to be output and its relative number X, the input/output control unit 241 performs the following operations. If the relative number to and relative number''
Find tx from x''.

認識データ出力処理304で認識データcxf:dxに
出力する。認識データ出力処理304終了後クラスタ満
杯のチェック処理305でクラスタ内の空きエリアの有
無をチェックする。c −c  のn−1 認識データの場合には、クラスタ222には空きエリア
があるので、書き込み処理202による処理を終了する
。認識データcmの場合てはクラスタ222の満杯を検
出し、テーブル242内のFAT情報の更新を行う更新
処理306へ進む。更新処理306では2次クラスタが
割り当てられている場合には次クラスタ番号をそのまま
有効とし1次クラスタが割り当てられていない場合には
、空きクラスタをサーチし、その空きクラスタ番号を次
クラスタ番号としてテーブル242上のFAT情報の更
新を行い、書き込み処理202による処理を終了する。
In recognition data output processing 304, the recognition data is output to cxf:dx. After the recognition data output processing 304 is completed, a cluster fullness check processing 305 is performed to check whether there is an empty area within the cluster. In the case of n-1 recognition data of c - c, since there is a free area in the cluster 222, the processing by the write processing 202 is ended. In the case of recognition data cm, it is detected that the cluster 222 is full, and the process advances to update processing 306 in which the FAT information in the table 242 is updated. In update processing 306, if a secondary cluster is assigned, the next cluster number remains valid; if a primary cluster is not assigned, a free cluster is searched for, and the free cluster number is used as the next cluster number in the table. The FAT information on 242 is updated, and the processing by write processing 202 ends.

ところで、認識データcm+1の場合のように、直前の
データemでクラスタが満杯になった場合には。
By the way, when the cluster becomes full with the immediately preceding data em, as in the case of recognition data cm+1.

更新処9306で得られた次のクラスタ番号を用いて、
認識データ出力位置計算処理303で1m+1を求め、
認識データcm+1の出力を行い、書き込み処理202
による処理を終了する。
Using the next cluster number obtained in the update process 9306,
Obtain 1m+1 in the recognition data output position calculation process 303,
Output recognition data cm+1 and write processing 202
Terminates processing.

インクリメント処理203では出力データ211の相対
番号をインクリメントして、最終データc1まで出力し
たかどうかの判断を判断処理204で行い、最終データ
の出力終了まで書き込み処理202、インクリメント処
理2032判断処理204を繰り返す。
In the increment process 203, the relative number of the output data 211 is incremented, and in the judgment process 204 it is determined whether or not the final data c1 has been output, and the write process 202, increment process 2032, and judgment process 204 are repeated until the output of the final data is finished. .

最終データ出力終了後のクローズ処理205が起動され
ると入出力制御部241は、更新処理306により更新
されたテーブル242上のフォーマット情報をフロッピ
ィディスク上のフォーマット情報エリア224に先頭か
らの距離t、を使用して出力する。
When the close process 205 after the final data output is started, the input/output control unit 241 transfers the format information on the table 242 updated by the update process 306 to the format information area 224 on the floppy disk at a distance t from the beginning. Output using .

本実施例では、連続した認識データを2つのクラスタか
らなる不連続な領域へ出力する場合について述べたが3
つ以上のクラスタからなる領域に出力することも当然の
ことながら可能である。
In this embodiment, we have described the case where continuous recognition data is output to a discontinuous area consisting of two clusters.
Of course, it is also possible to output to an area consisting of two or more clusters.

(発明の効果) 以上説明したように本発明による光学認識装置のデータ
出力方式によれば、各認識データ毎に。
(Effects of the Invention) As explained above, according to the data output method of the optical recognition device according to the present invention, for each recognition data.

記憶媒体上の先頭からの距離を計算して出力するように
したから、書き込み領域が不連続なデータファイル形式
での出力が可能となる利点がある。
Since the distance from the beginning on the storage medium is calculated and output, there is an advantage that it is possible to output in a data file format with discontinuous writing areas.

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

第1図は本発明によるフロッピーディスクへの出力方式
を表わす図、第2図は本発明による出力制御の流れを示
す図、第3図は従来のフロッピーディスクへの出力方式
を表わす図、第4図は従来の出力制御の流れを示す図で
ある。 111・・・al)〜anの複数の認識データからなる
出力データ、121・・・フロッピィディスク上の認識
データを出力する連続した領域、131・・・フロッピ
ィディスク上の全領域、  lLo”” &n・・・帳
票単位の認識データ、bo%bfl・・・フロッピィデ
ィスク上だ出力された帳票単位の認識データ、k・・・
認識データを出力する連続した領域の70ツキイデイス
クの先頭からの距離、101・・・指定される連続領域
の有無の確認するオープン処理、102・・・連続した
領域のフロラキイディスクの先頭からの距離を基準とし
、相対番号でデータの書き込みを行う書き込み処理、1
03・・・相対番号に′1”を加算するインクリメント
処理、104・・・最終データまで出力したかどうかの
判断を行う判断処理、105・・・連続した領域内の有
効データ終了位置を書込むクローズ処理、  211”
−cozcllの複数の認識データからなる出力データ
、221・・・222.223の2つのクラスタからな
るフロッピィディスク上の領域、222.223・・・
フロッピィディスク上の出力領域221を構成するクラ
スタ領域、231…フロツピイデイスク上の全領域、 
 eg ”” en””帳票単位の認識データ、do−
dm−222のクラスタに出力された帳票単位の認識デ
ータe 6m+1〜dfl・・・223のクラスタに出
力された帳票単位の認識データ、t、〜tn・・・フロ
ッピィディスクの先頭からの距離、tf・・・フロッピ
ィディスク上のフォーマット情報までの距離、224・
・・フロッピィディスク上のフォーマット情報、242
・・・入出力制御部内部のフォーマット情報を展開する
テーブル。 241・−DIRとFATの情報を用いて、認識データ
を出力するd。〜dnの70ツピイデイスクの先頭から
の距離を計算し、認識データ単位に出力を行う入出力制
御部、201・・・出力領域の名称の指示を行うオープ
ン処理、202−・・認識データの相対番号と認識デー
タの指示を行う書き込み処理。 400・・・入出力制御部241の動作フロー、401
・−光学文字認識装置の認識データの出力制御フロー、
203・・・相対番号に“1″を加算するインクリメン
ト処理、204・・・最終データまで出力したかどうか
の判断を行う判断処理、205・・・出力領域のデータ
終了位置の指示を行うクローズ処理。 301−DIR、FAT 、 ID の情報を読み出し
テーブルに展開する読み出し処理、302・・・先頭ク
ラスタ番号処理、303・・・認識データ出力位置計算
処理、304・・・認識データ出力処理、305・・・
クラスタ満杯のチェック処理、306・・・FAT情報
のテーブルの更新処理、308・・・更新されたフォー
マット情報の書き込み処理。 第3図 第4図
FIG. 1 is a diagram showing the output method to a floppy disk according to the present invention, FIG. 2 is a diagram showing the flow of output control according to the present invention, FIG. 3 is a diagram showing the conventional output method to a floppy disk, and FIG. The figure is a diagram showing the flow of conventional output control. 111... Output data consisting of a plurality of recognition data of al) to an, 121... Continuous area on the floppy disk for outputting recognition data, 131... All areas on the floppy disk, lLo""&n ...Recognition data for each form, bo%bfl...Recognition data for each form output on a floppy disk, k...
Distance from the beginning of the 70-key disk of a continuous area for which recognition data is to be output, 101...Open processing to check the presence or absence of the specified continuous area, 102...Distance from the beginning of the continuous area of the floral disk Writing process that writes data using relative numbers based on distance, 1
03... Increment process to add '1' to the relative number, 104... Judgment process to determine whether or not the final data has been output, 105... Write the valid data end position in the continuous area Close processing, 211”
- Output data consisting of multiple recognition data of cozcll, area on a floppy disk consisting of two clusters 221...222.223, 222.223...
A cluster area constituting the output area 221 on the floppy disk, 231...the entire area on the floppy disk,
eg “”en””Recognition data for each form, do-
Recognition data for each form outputted to the cluster of dm-222 e 6m+1 to dfl...Recognition data of each form outputted to the cluster of 223, t, to tn...Distance from the beginning of the floppy disk, tf ...Distance to the format information on the floppy disk, 224.
...Format information on floppy disk, 242
...A table that expands the format information inside the input/output control unit. 241.-d to output recognition data using DIR and FAT information. Input/output control unit that calculates the distance from the beginning of the 70-tsupi disk of ~dn and outputs it in units of recognized data, 201...Open processing that instructs the name of the output area, 202--Relative number of recognized data A writing process that instructs the recognition data. 400... Operation flow of input/output control unit 241, 401
・- Output control flow of recognition data of optical character recognition device,
203... Increment process to add "1" to the relative number, 204... Judgment process to determine whether or not the final data has been output, 205... Close process to instruct the end position of data in the output area. . 301-Reading process for expanding DIR, FAT, and ID information into a readout table, 302... Starting cluster number processing, 303... Recognition data output position calculation process, 304... Recognition data output processing, 305...・
Cluster fullness checking process, 306... FAT information table update process, 308... updated format information writing process. Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1、光学文字認識装置によって認識された認識データを
記録媒体に出力するデータ出力方式において、該記録媒
体へのデータの書き込み及び読み出しを行い、しかも前
記認識データの相対番号と前記記録媒体上のフォーマッ
ト情報から前記相対番号に対応する前記記録媒体上の書
き込み位置を決定する手段を有し、前記認識データ毎に
前記書き込み位置を決定し、前記記録媒体上の不連続な
書き込み領域へ前記認識データを出力できるようにした
ことを特徴とする光学文字認識装置のデータ出力方式。
1. In a data output method in which recognition data recognized by an optical character recognition device is output to a recording medium, data is written to and read from the recording medium, and the relative number of the recognition data and the format on the recording medium are The method includes means for determining a writing position on the recording medium corresponding to the relative number from information, determining the writing position for each of the recognition data, and writing the recognition data to a discontinuous writing area on the recording medium. A data output method for an optical character recognition device characterized by being able to output data.
JP4033385A 1985-03-02 1985-03-02 Data output system for optical character recognizing device Pending JPS61201323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4033385A JPS61201323A (en) 1985-03-02 1985-03-02 Data output system for optical character recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4033385A JPS61201323A (en) 1985-03-02 1985-03-02 Data output system for optical character recognizing device

Publications (1)

Publication Number Publication Date
JPS61201323A true JPS61201323A (en) 1986-09-06

Family

ID=12577694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4033385A Pending JPS61201323A (en) 1985-03-02 1985-03-02 Data output system for optical character recognizing device

Country Status (1)

Country Link
JP (1) JPS61201323A (en)

Similar Documents

Publication Publication Date Title
JPS59128661A (en) Filing device of picture
US5113061A (en) Optical card having an identifier for identifying track construction and apparatus for writing and/or reading data on and/or from the optical card
JPS61201323A (en) Data output system for optical character recognizing device
JPH01151072A (en) Block attribute identifying system
JPS6020365A (en) Information writing method
JPH04340664A (en) Shape data management device
JPS6113366A (en) Control system of document printing
JPH01171053A (en) Terminal device control system
JPH06168074A (en) Common ionput/output device
JPH04112208A (en) Programmable controller
JPS63148320A (en) Control system for terminal operation procedure
JPS6231900A (en) Voice recognition equipment
JPS5935264A (en) Magnetic disk device
JPH05113938A (en) Data collecting device
JPH04168519A (en) File updating system
JPH04295921A (en) Input and output system for floopy disk
JPH01158546A (en) Method for identifying variable-length block size
JPS61122763A (en) Disk control system
JPS62209623A (en) Command interpreter processor
JPS58100286A (en) Magnetic disk controlling device
JPS6175395A (en) Reference pattern input system
JPS63197166A (en) Electronic filing system
JPS62242249A (en) Reorganizing system for data base file having expanded space
JPS60169929A (en) Access control system
JPS62134718A (en) Data access control system