JPH01263714A - Information recording control system - Google Patents

Information recording control system

Info

Publication number
JPH01263714A
JPH01263714A JP63092394A JP9239488A JPH01263714A JP H01263714 A JPH01263714 A JP H01263714A JP 63092394 A JP63092394 A JP 63092394A JP 9239488 A JP9239488 A JP 9239488A JP H01263714 A JPH01263714 A JP H01263714A
Authority
JP
Japan
Prior art keywords
information
data
image data
recording
file
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
JP63092394A
Other languages
Japanese (ja)
Inventor
Takahisa Riyuusaku
笠作 貴弥
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63092394A priority Critical patent/JPH01263714A/en
Publication of JPH01263714A publication Critical patent/JPH01263714A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE:To eliminate a wasteful memory area in which information is not written by continuously recording plural pieces of undefined length information to a recording part, recording a recording place to an information registering part and reading plural pieces of the undefined length information at random. CONSTITUTION:When information is recorded into an external storing means 110, a processing means 102 stores the information from the beginning of the empty area of an information recording part 112. The storing place is registered into an information registering part 111. When the processing means 102 reads the information from the external storing means 110, the processing means 102 refers to the information registering part 111 and based on it, the information, which is the purpose of the information recording part 112, is retrieved.

Description

【発明の詳細な説明】 〔概 要〕 ランダムアクセスが可能な情報記録管理システムに関し
、 情報を格納する領域を小さくすることを目的とし、 不定長の情報を格納する情報記録部、情報記録部内での
各情報の格納場所を登録する情報登録部を有し、情報を
記録する外部記憶手段と、複数の不定長の情報を情報記
録部の記録領域に連続的に書き込み、情報登録部に登録
された格納場所に基づいて情報記録部を検索することに
より、外部記憶手段の記録管理を行なう処理手段とを具
えるように構成する。
[Detailed Description of the Invention] [Summary] Regarding an information record management system that allows random access, the purpose of reducing the area for storing information is to provide an information recording section that stores information of an indefinite length, and an information recording section that stores information of an undefined length. It has an information registration section for registering the storage location of each piece of information, an external storage means for recording information, and a plurality of pieces of information of undefined length are continuously written in the recording area of the information recording section, and the information is registered in the information registration section. and processing means for managing records in the external storage means by searching the information recording unit based on the stored location.

〔産業上の利用分野〕[Industrial application field]

本発明は、情報記録管理システムに関し、特に、情報の
ランダムアクセスが可能であり、データの格納領域を小
さくするようにした情報記録管理システムに関するもの
である。
The present invention relates to an information recording management system, and particularly to an information recording management system that allows random access to information and reduces the data storage area.

〔従来の技術〕[Conventional technology]

例えば、手書きの伝票を処理する伝票処理システムにお
いては、読取部により伝票を読み取った結果を一旦ディ
スク装置などの外部記憶装置で記録し、その後、キー項
目ごとに分類するなどの統計処理を行なう必要がある。
For example, in a slip processing system that processes handwritten slips, it is necessary to record the results of reading slips by a reader in an external storage device such as a disk device, and then perform statistical processing such as classifying them by key item. There is.

このため、ディスクから伝票中の各文字に対応する画像
データを、例えば、X番目の文字に対応する画像データ
だけを読み出すというようなランダムアクセスが可能な
ように記録しておく必要がある。
For this reason, it is necessary to record the image data corresponding to each character in the slip from the disk in such a way that random access, for example, only the image data corresponding to the Xth character, is read out.

ところで、伝票中の各文字は、伝票処理システムの読取
部によって、例えば、64X64画素の2値画像に変換
される。以後、この1文字に対応するデータを1枚の画
像データと呼ぶ。このような画像データをディスクに記
録する際には、例えば、画像データの各部分のランレン
グスを測定してハフマン符号化する等のデータ圧縮方式
により、データを圧縮している。このようにして、圧縮
された画像データは、大きさがそれぞれまちまちな不定
長のデータとなる。例えば、ある画像データは3/4に
しか圧縮されないが、別のある画像データは1/3の大
きさに圧縮されるというようにデータの大きさに差が生
じる。
By the way, each character in the slip is converted into a binary image of, for example, 64×64 pixels by the reading unit of the slip processing system. Hereinafter, data corresponding to this one character will be referred to as one image data. When such image data is recorded on a disk, the data is compressed using a data compression method such as measuring the run length of each part of the image data and performing Huffman encoding. In this way, the compressed image data becomes data of undefined length with different sizes. For example, some image data is compressed to only 3/4 of the size, while other image data is compressed to 1/3 of the size, resulting in a difference in data size.

上述のような不定長の画像データをランダムアクセスが
可能なように記録し管理する方法として、各画像データ
の一つ一つをファイルとして、多数のシーケンシャルフ
ァイルを作る方法と、複数の画像データをまとめて1つ
のランダムアクセスファイルを作る方法が考えられる。
As mentioned above, there are two ways to record and manage image data of undefined length so that it can be accessed randomly: one is to create a large number of sequential files with each piece of image data as a file, and the other is to record and manage image data of undefined length so that it can be accessed randomly. One possible method is to create one random access file all at once.

第5図は、従来の画像データの管理方法の説明図である
FIG. 5 is an explanatory diagram of a conventional image data management method.

第5図(a)に示すように、多数のシーケンシャルファ
イルを作る方法は、1つの文字に対応する画像データの
一つ一つをその画像データの長さに合わせた1つのシー
ケンシャルファイル(ファイル1、ファイル2.・・・
)として画像データの数だけのファイルを作って保存す
る。この場合のファイルの大きさは、ディスクに記録す
る際の最小の記録単位(レコード)の整数倍(通常8レ
コードで、ブロックと呼ぶ)を単位として、画像データ
の大きさに最も近くなるように確保される。例えば、フ
ァイル1は2レコードで1ブロツク、ファイル2は9レ
コードで2ブロツクのようにファイルの大きさが確保さ
れるので、斜線を施した領域で示したファイル内でデー
タが書き込まれていない領域(第5図(a)参照)が生
じ、その大きさは最大1ブロック近くになる。
As shown in Figure 5(a), the method of creating a large number of sequential files is to create one sequential file (file 1 , file 2...
), create and save as many files as the number of image data. In this case, the file size is set to be the closest to the size of the image data, with the unit being an integral multiple (usually 8 records, called a block) of the smallest recording unit (record) when recording on the disk. Secured. For example, file sizes are secured such that file 1 has 2 records and 1 block, and file 2 has 9 records and 2 blocks, so the shaded area in the file is where no data is written. (See FIG. 5(a)) occurs, and its size is close to one block at most.

第5図(b)に示すように、1つのランダムアクセスフ
ァイルを作る方法は、最も大きな画像データを格納でき
る大きさを持つレコードを、格納する画像データの数だ
け確保し、各々のレコードに1つずつ画像データを書き
込み、画像データの集まりを1つのランダムアクセスフ
ァイルとする。この場合は、最大の画像データが256
バイトで画像データが8個(データ1.データ2.・・
・)あるものとすると、256バイトの大きさを持った
レコードが8個確保されて、このレコード単位にランダ
ムにアクセスすることができる。
As shown in Figure 5(b), the method of creating one random access file is to secure as many records as the number of image data to be stored, and to create one random access file for each record. Image data is written one by one, and a collection of image data is made into one random access file. In this case, the maximum image data is 256
8 image data per byte (data 1, data 2...
・) Assuming that there is, eight records each having a size of 256 bytes are secured, and each record can be randomly accessed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、上述した従来の多数のファイルを作る方法に
あっては、各ファイルをディレクトリに登録する必要が
あるので、画像データが多数となった場合はディレクト
リ領域が充たされてしまう場合(第5図(a)参照)が
あり、またブロック内での無効領域が生じやすく、結局
は多数の画像データを保存する場合には適さない。
By the way, in the above-mentioned conventional method of creating a large number of files, it is necessary to register each file in a directory, so if there is a large number of image data, the directory area may become full (see the fifth example). (see figure (a)), and invalid areas are likely to occur within the block, which ultimately makes it unsuitable for storing a large amount of image data.

また、1つのランダムアクセスファイルを作る方法にお
いては、画像データをアクセスする単位が最大の画像デ
ータの大きさに合わせられているので、第5図ら)に示
すように、斜線を施した領域で示したファイル内でデー
タが書き込まれていない領域が多くなり、データを格納
する領域に無駄が多いという問題点があった。
In addition, in the method of creating one random access file, the unit for accessing image data is adjusted to the size of the largest image data, so as shown in Figure 5, etc., the area is indicated by diagonal lines. There is a problem in that there are many areas in which data is not written in the file, and there is a lot of waste in the area for storing data.

本発明は、このような点にかんがみて創作されたもので
あり、不定長のデータを格納する領域を小さくし、しか
もランダムにアクセスできるようにした情報記録管理シ
ステムを提供することを目的としている。
The present invention was created in view of these points, and aims to provide an information record management system that reduces the area for storing data of undefined length and also allows random access. .

〔課題を解決するための手段] 第1図は、本発明の情報記録管理システムの原理ブロッ
ク図である。
[Means for Solving the Problems] FIG. 1 is a block diagram of the principle of the information record management system of the present invention.

図において、外部記憶手段110は、不定長の情報を格
納する情報記録部112.情報記録部112内での各情
報の格納場所を登録する情報登録部111を有して情報
を記録する。
In the figure, the external storage means 110 includes an information recording section 112. Information is recorded by having an information registration section 111 that registers the storage location of each piece of information within the information recording section 112.

処理手段102は、複数の不定長の情報を情報記録部1
12の記録領域に連続的に書き込み、情報登録部111
に登録された格納場所に基づいて情報記録部112を検
索することにより、外部記憶手段110の記録管理を行
なう。
The processing means 102 stores a plurality of pieces of undefined length information in the information recording unit 1.
12 recording areas continuously, information registration section 111
Record management of the external storage means 110 is performed by searching the information recording unit 112 based on the storage location registered in the external storage means 110.

従って、全体として、情報のランダムアクセスが可能で
あり、情報の格納領域を小さくするように構成する。
Therefore, as a whole, random access to information is possible and the information storage area is configured to be small.

〔作 用〕[For production]

情報を外部記憶手段110に記録する際に、処理手段1
02は情報記録部112の空いている領域の、始めから
情報を格納し、その格納場所を情報登録部111に登録
する。処理手段102が情報を外部記憶手段110から
読み出す際には、処理  、手段102は情報登録部1
11を参照し、それに基づいて情報記録部112の目的
とする情報を検索する。
When recording information in the external storage means 110, the processing means 1
02 stores information from the beginning in an empty area of the information recording section 112, and registers the storage location in the information registration section 111. When the processing means 102 reads information from the external storage means 110, the processing means 102 reads information from the information registration section 1.
11, and based on it, the information recording section 112 is searched for the desired information.

本発明にあっては、複数の情報を情報記録部112に連
続的に格納しているので、情報を格納する領域は小さい
。また、各情報の格納場所を情報登録部111に登録し
て、各情報を独立に扱えるように記憶しているので、各
情報のランダムアクセスが可能である。
In the present invention, since a plurality of pieces of information are continuously stored in the information recording section 112, the area for storing information is small. Furthermore, since the storage location of each piece of information is registered in the information registration unit 111 and stored so that each piece of information can be handled independently, each piece of information can be accessed at random.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第2図は、本発明の一実施例における情報記録管理シス
テムを用いた伝票処理システムの構成を示す。
FIG. 2 shows the configuration of a slip processing system using an information record management system according to an embodiment of the present invention.

1、 施例と、1図との・応関係 ここで、本発明の実施例と第1図との対応関係を示して
おく。
1. Correspondence between the embodiment and FIG. 1 Here, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.

外部記憶手段110は、ディスク200に相当する。External storage means 110 corresponds to disk 200.

情報登録部111は、データ登録ファイル221に相当
する。
The information registration section 111 corresponds to the data registration file 221.

情報記録部112は、データ格納ファイル22°2に相
当する。
The information recording section 112 corresponds to the data storage file 22°2.

処理手段102は、制御部230に相当する。The processing means 102 corresponds to the control section 230.

以上のような対応関係があるものとして、以下本発明の
実施例について説明する。
Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.

第2図において、伝票処理システムは、伝票を読み取る
読取部240と、読取部240によって読み取られた画
像データを保存するディスク200と、読取部240に
よって読み取られた画像データを圧縮し、またディスク
200からデータを読み出して、キー項目ごとの分類な
どの処理を行なう中央処理装置(CPU)231.ディ
スク200へのデータの書き込みおよびデータの読み出
しを制御するディスクドライバ232とを有する制御部
230とで形成されている。
In FIG. 2, the slip processing system includes a reading section 240 that reads slips, a disk 200 that stores image data read by the reading section 240, a disk 200 that compresses the image data read by the reading section 240, and a disk 200 that stores the image data read by the reading section 240. A central processing unit (CPU) 231. reads data from and performs processing such as classification by key item. The control unit 230 includes a disk driver 232 that controls data writing to and reading from the disk 200.

(ii)ディスクの構成 ディスク200は、情報をファイルの形で記録するデー
タ領域220と、データ領域220に記録された各ファ
イルについてその名前と記録場所を登録するディレクト
リ領域210とで形成されている。
(ii) Disc Configuration The disc 200 is formed of a data area 220 in which information is recorded in the form of files, and a directory area 210 in which the name and recording location of each file recorded in the data area 220 is registered. .

ディスク200は、ディスクドライバ232がディレク
トリ領域210において求める情報が記録されているフ
ァイルの名前を検索し、データ領域220におけるその
ファイルの記録場所を得て、データ領域220から必要
なファイルを読み出すことが可能なように構成されてい
る。
In the disk 200, the disk driver 232 searches the directory area 210 for the name of the file in which the desired information is recorded, obtains the recording location of the file in the data area 220, and reads the necessary file from the data area 220. configured so that it is possible.

(iii )データ領域内のファイルの構成第3図は、
データ領域220内に記録されたファイルの構成図であ
る。
(iii) Structure of files in the data area Figure 3 shows:
3 is a configuration diagram of files recorded in a data area 220. FIG.

図のように、制御部230によって圧縮された複数の画
像データは、データ格納ファイル222に順番に詰めて
記録される。
As shown in the figure, a plurality of pieces of image data compressed by the control unit 230 are stored in the data storage file 222 in order and recorded.

一方、データ登録ファイル221には、データ格納ファ
イル222に記録された各画像データの記録場所を特定
する情報が登録されている。
On the other hand, in the data registration file 221, information specifying the recording location of each image data recorded in the data storage file 222 is registered.

また、データ格納ファイル222におけるデータの記録
場所は、ディスクドライバ232がディスク200に対
してアクセスする最小単位であるレコードに付けられた
番号を示すレコードナンバ(Rn)とそのレコードの中
で何番目のバイトであるかを示すデータポインタ(Dp
)によって指定することができる。
Furthermore, the data recording location in the data storage file 222 is determined by the record number (Rn), which indicates the number assigned to the record, which is the minimum unit by which the disk driver 232 accesses the disk 200, and the number of records in the record. A data pointer (Dp
) can be specified.

例えば、データ格納ファイル222にそれぞれ異なる大
きさを持つ5つの画像データ(データ1゜データ2.デ
ータ3.データ4.データ5)を連続的に記録し、デー
タ登録ファイル221には、各画像データの記録が開始
される位置をレコードナンバとデータポインタによって
、 (Rn + = 1 、  D pl= 1 )(Rn
z  =1.Dp2  =18)(Rn3  =2.D
p3 =16) (Rn4 =3.Dp4  =7) (Rns  =4.Dps  =3) のように特定する情報を記録することにより、各画像デ
ータをデータ登録ファイルに登録する。
For example, five image data (data 1, data 2, data 3, data 4, data 5) having different sizes are continuously recorded in the data storage file 222, and each image data is recorded in the data registration file 221. The recording start position is determined by the record number and data pointer as (Rn + = 1, D pl = 1) (Rn
z=1. Dp2 = 18) (Rn3 = 2.D
p3 = 16) (Rn4 = 3.Dp4 = 7) (Rns = 4.Dps = 3) Each image data is registered in the data registration file by recording the identifying information as follows.

このようにして、まずデータ登録ファイル221を読み
出して、データ格納ファイル222内で目的とする画像
データの記録開始位置を読み取り、これに基づいてデー
タ格納ファイル222を検索して、求める画像データを
読み出すように構成されている。
In this way, the data registration file 221 is first read out, the recording start position of the desired image data is read in the data storage file 222, the data storage file 222 is searched based on this, and the desired image data is read out. It is configured as follows.

■、実施例の動作 第4図は、第2図に示した実施例における情報記録管理
システムの動作を表す流れ図である。
(2) Operation of the Embodiment FIG. 4 is a flow chart showing the operation of the information recording management system in the embodiment shown in FIG.

以下、第2図〜第4図を参照して、画像データの書き込
みを行なう場合と読み出しを行なう場合に分けて情報記
録管理システムの動作を説明する。
Hereinafter, with reference to FIGS. 2 to 4, the operation of the information recording management system will be explained separately for writing and reading image data.

(i)書き込みを行なう場合 第4図(a)は、実施例における情報記録管理システム
の書き込み動作を表す流れ図である。
(i) In the case of writing FIG. 4(a) is a flowchart showing the writing operation of the information recording management system in the embodiment.

CPU231は、ディスクドライバ232に指示して、
データ領域220にデータ登録ファイル221とデータ
格納ファイル222の領域を確保させ、画像データの書
き込みが可能な状態にする(ステップ401)。
The CPU 231 instructs the disk driver 232 to
Areas for the data registration file 221 and data storage file 222 are secured in the data area 220, and image data can be written (step 401).

レコードナンバおよびデータポインタを示す変数Rn、
Dpに初期値を設定する。例えば、Rn=1.DP=1
を設定する(ステップ402)。
a variable Rn indicating a record number and a data pointer;
Set an initial value to Dp. For example, Rn=1. DP=1
is set (step 402).

以下、ステップ403〜409を全ての画像データを記
録するまで繰り返す。
Thereafter, steps 403 to 409 are repeated until all image data is recorded.

画像データを1バイトだけ、Rnで示されるレコードの
Dpで示される位置に記録する。例えば、Rn=2.D
p=16であれば、第2レコードの16番目のバイトに
画像データの1バイトが記録される(ステップ403)
One byte of image data is recorded at the position indicated by Dp in the record indicated by Rn. For example, Rn=2. D
If p=16, one byte of image data is recorded in the 16th byte of the second record (step 403).
.

データポインタを示す変数Dpの値を1加算する(ステ
ップ404)。
The value of the variable Dp indicating the data pointer is added by 1 (step 404).

ステップ405において、Dpの値がルコード分のバイ
ト数となったと判断された場合は、レコードナンバを示
す変数Rnの値に1を加算し、Dpに初期値を設定する
(ステップ406)。
If it is determined in step 405 that the value of Dp has reached the number of bytes for the record number, 1 is added to the value of variable Rn indicating the record number, and an initial value is set in Dp (step 406).

このとき変数Rn、Dpは、画像データがまだ書き込ま
れていない最初の空き領域を示すレコードナンバおよび
データポインタの値となっている。
At this time, the variables Rn and Dp are the values of the record number and data pointer indicating the first free area in which image data has not yet been written.

ステップ407において、1つの画像データの記録が終
了したと判断された場合は、データ登録ファイル221
に次の画像データの記録開始位置として、Rn、Dpの
値を記録する。例えば、3番目の画像データの記録が終
了したとき、Rn−3、Dp=7となっている。これを
4番目の画像データの記録開始位置(Rnz 、Dp3
 )としてデータ登録ファイル221に記録する(ステ
ップ408)。
If it is determined in step 407 that recording of one image data has been completed, the data registration file 221
The values of Rn and Dp are recorded as the recording start position of the next image data. For example, when recording of the third image data is completed, Rn-3 and Dp=7. This is the recording start position of the fourth image data (Rnz, Dp3
) in the data registration file 221 (step 408).

全ての画像データがデータ格納ファイル222に記録さ
れたか否かを調べる(ステップ409)。
It is checked whether all image data has been recorded in the data storage file 222 (step 409).

例えば、5つの画像データをデータ格納ファイル222
に記録した場合、データ登録ファイル221には、2番
目〜5番目の画像データの記録開始位置と5番目の画像
データの記録が終了した後の最初の空き領域の位置が記
録される。1番目の画像データは、常にRn=1.  
Dp=1から記録されているので、1〜5番目の画像デ
ータのそれぞれの記録開始位置を記録したことと等価で
ある。
For example, five image data are stored in the data storage file 222.
, the data registration file 221 records the recording start positions of the second to fifth image data and the position of the first empty area after the recording of the fifth image data is completed. The first image data always has Rn=1.
Since the data is recorded from Dp=1, this is equivalent to recording the respective recording start positions of the first to fifth image data.

(ii)読み出しを行なう場合 第4図(b)は、実施例における情報記録管理システム
の読み出し動作を表す流れ図である。
(ii) In the case of reading FIG. 4(b) is a flowchart showing the reading operation of the information record management system in the embodiment.

CPU231は、読み出しを行なう画像データが含まれ
ているデータ記録ファイルを指定して、それに対応する
データ登録ファイルを読み出す。
The CPU 231 specifies the data recording file containing the image data to be read, and reads the corresponding data registration file.

例えば、データ格納ファイル222に含まれている画像
データを読み出す場合は、まず、データ格納ファイル2
22に対応しているデータ登録ファイル221を読み出
す(ステップ411)。
For example, when reading image data included in the data storage file 222, first read the image data included in the data storage file 222.
22 is read out (step 411).

データ登録ファイル221の内容に基づいて、求める画
像データの記録開始位置を示すレコードナンバとデータ
ポインタの値(Rni、DP! )をそれぞれ変数Rn
とDpに設定する。例えば、データ格納ファイル222
内の3番目の画像データを読み出す場合は、データ登録
ファイル221の内容からRn3 =2.Dp3 =1
6を設定する(ステップ412)。
Based on the contents of the data registration file 221, the record number and data pointer values (Rni, DP!) indicating the recording start position of the desired image data are respectively set as variables Rn.
and Dp. For example, the data storage file 222
When reading the third image data, Rn3 = 2. from the contents of the data registration file 221. Dp3 = 1
6 (step 412).

データ格納ファイル222のレコードナンバRnのレコ
ードからDp番目のバイトを読み取る。
The Dp-th byte is read from the record with record number Rn of the data storage file 222.

例えば、データ格納ファイル222内の3番目の画像デ
ータの最初のバイトを読み取る場合は、Rn =Rn:
I 、  D p =D P x T:アルかう、レコ
ードナンバRn、のレコードからDP3番目のバイトを
読み取る(ステップ413)。
For example, when reading the first byte of the third image data in the data storage file 222, Rn =Rn:
I, Dp = D P x T: The third byte of DP is read from the record with record number Rn (step 413).

データポインタを示す変数Dpの値を1加算する(ステ
ップ414)。
The value of the variable Dp indicating the data pointer is incremented by 1 (step 414).

ステップ415において、Dpの値がルコード分のバイ
ト数となったと判断された場合は、レコードナンバを示
す変数RnO値に1を加算し、Dpに初期値を設定する
(ステップ416)。
If it is determined in step 415 that the value of Dp has reached the number of bytes for the record number, 1 is added to the variable RnO value indicating the record number, and an initial value is set in Dp (step 416).

画像データの読み取りが終了したが否かを調べる。例え
ば、ステップ414およびステップ416の結果のRn
およびDpの値と次の画像データの記録開始位置を示す
Rni。I +  D P i++をそれぞれ比較して
、両方が等しい場合は、画像データの読み取りが終了し
たと判断する。例えば、3番目の画像データの最後のバ
イトを読み取った後ではステップ414による加算の結
果Rn=3.DP=7となるが、これは、4番目の画像
データの記録開始位置(Rna 、Dpa )に等しい
。つまり、ステップ413において読み取りを行なった
バイトが3番目の画像データの最後のバイトであったこ
とがわかる(ステップ417)。
Check whether reading of image data has finished. For example, Rn of the results of steps 414 and 416
and Rni indicating the value of Dp and the recording start position of the next image data. I + D P i++ are compared, and if both are equal, it is determined that reading of the image data has been completed. For example, after reading the last byte of the third image data, the addition result in step 414 is Rn=3. DP=7, which is equal to the recording start position (Rna, Dpa) of the fourth image data. In other words, it can be seen that the byte read in step 413 was the last byte of the third image data (step 417).

■、実施例のまとめ 上述のように、データ格納ファイル222に複数の画像
データを連続的に記録し、各画像データの記録開始位置
をデータ登録ファイル221に記録する。データ格納フ
ァイル222に記録された各画像データは、データ登録
ファイル221を参照することによって、個々の画像デ
ータを独立に読み出すランダムアクセスが可能である。
(2) Summary of the Embodiment As described above, a plurality of image data are continuously recorded in the data storage file 222, and the recording start position of each image data is recorded in the data registration file 221. Each image data recorded in the data storage file 222 can be randomly accessed by referring to the data registration file 221 to read each image data independently.

これにより、ディレクトリ領域としては、複数の画像デ
ータをデータ登録ファイル221とデータ格納ファイル
222の2つのファイルとして扱うことが可能となる。
This makes it possible to handle a plurality of image data as two files, the data registration file 221 and the data storage file 222, in the directory area.

また、複数の画像データはデータ格納ファイル222に
連続的に記録されるので、データが書き込まれない無駄
な領域が生じないので、記録領域を小さくすることがで
きる。
Further, since a plurality of image data are continuously recorded in the data storage file 222, there is no wasted area in which no data is written, so the recording area can be made smaller.

M−光里至叉麗旭槙 なお、上述した本発明の実施例にあっては、伝票処理シ
ステムにおいて、不定長の画像データをディスクに記録
し、管理する場合を考えたが、画像データに限らず不定
長のデータを外部記憶手段に記録し、ランダムアクセス
するものであれば適用できる。また、データの数や長さ
にも限定されない。
In the embodiment of the present invention described above, a case was considered in which image data of undefined length was recorded and managed on a disk in a slip processing system, but the present invention is limited to image data. It can be applied to any device that records data of undefined length in an external storage means and accesses it randomly. Furthermore, there are no limitations on the number or length of data.

更に、rl、実施例と第1図との対応関係」において、
本発明と実施例との対応関係を説明しておいたが、本発
明はこれに限られることはなく、各種の変形態様かあ−
ることは当業者であれば容易に推考できるであろう。
Furthermore, in ``correspondence between examples and FIG. 1'',
Although the correspondence between the present invention and the embodiments has been explained, the present invention is not limited to this, and may be modified in various ways.
A person skilled in the art would be able to easily guess that.

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

上述したように、本発明によれば、情報記録部に複数の
不定長の情報を連続して記録し、その記録場所を情報登
録部に記録することにより、複数の不定長の情報をラン
ダムに読み出すことができ、また、情報が書き込まれな
い無駄な領域を無(して小さい記録領域に情報を記録で
きるので、実用的には極めて有用である。
As described above, according to the present invention, by continuously recording a plurality of pieces of undefined length information in the information recording section and recording the recording location in the information registration section, the plural pieces of undefined length information can be randomly recorded. It is extremely useful in practice because it can be read out and information can be recorded in a small recording area by eliminating wasted areas where no information is written.

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

第1図は本発明の情報記録管理システムの原理ブロック
図、 第2図は本発明の一実施例による情報記録管理システム
を用いた伝票処理システムの構成ブロック図、 第3図は第2図に示した実施例におけるデータ領域内の
ファイルの構成図、 第4図は第2図に示した実施例による情報記録管理シス
テムの動作の説明図、 第5図は従来の画像データ管理方法の説明図である。 図において、 102は処理手段、 110は外部記憶手段、 111は情報登録部、 112は情報記録部、 200はディスク、 210はディレクトリ領域、 220はデータ領域、 221はデータ登録ファイル、 222はデータ格納ファイル、 230は制御部、 231はCPU。 232はディスクドライバ、 240は読取部である。 テ―り頃域内の7フイルの橋戒図 第3図 *mヒy、49す(7)h4T 5b−15詠’:jJ
第4図(b) 1〉、\’h4トさνK〉ト!さ
Figure 1 is a principle block diagram of the information record management system of the present invention, Figure 2 is a block diagram of the configuration of a slip processing system using the information record management system according to an embodiment of the present invention, and Figure 3 is the same as Figure 2. FIG. 4 is an explanatory diagram of the operation of the information recording management system according to the embodiment shown in FIG. 2; FIG. 5 is an explanatory diagram of the conventional image data management method. It is. In the figure, 102 is a processing means, 110 is an external storage means, 111 is an information registration section, 112 is an information recording section, 200 is a disk, 210 is a directory area, 220 is a data area, 221 is a data registration file, 222 is a data storage 230 is a control unit, and 231 is a CPU. 232 is a disk driver, and 240 is a reading unit. Figure 3 of the 7th fill bridge in the tail area *mhiy, 49su (7) h4T 5b-15': jJ
Figure 4(b) 1〉, \'h4tosaνK〉to! difference

Claims (1)

【特許請求の範囲】[Claims] (1)不定長の情報を格納する情報記録部(112)、
前記情報記録部(112)内での各情報の格納場所を登
録する情報登録部(111)を有し、情報を記録する外
部記憶手段(110)と、複数の不定長の情報を前記情
報記録部(112)の記録領域に連続的に書き込み、前
記情報登録部(111)に登録された格納場所に基づい
て前記情報記録部(112)を検索することにより、前
記外部記憶手段(110)の記録管理を行なう処理手段
(102)と、 を具えるように構成したことを特徴とする情報記録管理
システム。
(1) An information recording unit (112) that stores information of undefined length;
It has an information registration unit (111) that registers the storage location of each piece of information in the information recording unit (112), an external storage unit (110) that records information, and a plurality of pieces of information of undefined length that are stored in the information recording unit (112). The data of the external storage means (110) is continuously written in the recording area of the external storage means (112) and searched in the information recording part (112) based on the storage location registered in the information registration part (111). An information record management system comprising: processing means (102) for managing records;
JP63092394A 1988-04-14 1988-04-14 Information recording control system Pending JPH01263714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63092394A JPH01263714A (en) 1988-04-14 1988-04-14 Information recording control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63092394A JPH01263714A (en) 1988-04-14 1988-04-14 Information recording control system

Publications (1)

Publication Number Publication Date
JPH01263714A true JPH01263714A (en) 1989-10-20

Family

ID=14053200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63092394A Pending JPH01263714A (en) 1988-04-14 1988-04-14 Information recording control system

Country Status (1)

Country Link
JP (1) JPH01263714A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7194187B2 (en) 1998-06-24 2007-03-20 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor
US7315688B2 (en) 1998-06-24 2008-01-01 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61226847A (en) * 1985-03-30 1986-10-08 Toshiba Corp In-block control method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61226847A (en) * 1985-03-30 1986-10-08 Toshiba Corp In-block control method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7194187B2 (en) 1998-06-24 2007-03-20 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor
US7266285B2 (en) 1998-06-24 2007-09-04 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor
US7283720B2 (en) 1998-06-24 2007-10-16 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor
US7295754B2 (en) 1998-06-24 2007-11-13 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor
US7315688B2 (en) 1998-06-24 2008-01-01 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor
US7340149B2 (en) 1998-06-24 2008-03-04 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor
US7366400B2 (en) 1998-06-24 2008-04-29 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor
US7616867B2 (en) 1998-06-24 2009-11-10 Samsung Electronics Co., Ltd. Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor

Similar Documents

Publication Publication Date Title
US5774715A (en) File system level compression using holes
JPH03232029A (en) Storage managing system for memory card
US4934823A (en) Staging method and system in electronic file apparatus
US20030097523A1 (en) External storage device within a computer network
US6266671B1 (en) Data storage apparatus, method, and medium with variable data storage structure
JPH01263714A (en) Information recording control system
JP2587417B2 (en) File backup and restoration method
JPH07152615A (en) Data base reorganization system
JP2928169B2 (en) Data area management method on disk
JPH02116936A (en) Reorganizing system
JPS62121532A (en) Data retrieving method
JP2507399B2 (en) Database equipment
JP2718129B2 (en) IC card
JP2694170B2 (en) IC card system
JP2533500Y2 (en) Document filing device
JP3348279B2 (en) Price lookup data search circuit, search method therefor, and recording medium storing control program therefor
JPH02228769A (en) Picture storage device
JPS6278638A (en) File recording and control system
JPH05250243A (en) Data processing system for extended storage device
JPS63108580A (en) Restoring method for file area
JPH0516032B2 (en)
JPH036634A (en) File storing system for floppy disk
JPH04170672A (en) Article data deleting system
JPH04260138A (en) File compressing system
JPS63197166A (en) Electronic filing system