JPH03177943A - Data terminal equipment - Google Patents

Data terminal equipment

Info

Publication number
JPH03177943A
JPH03177943A JP1316363A JP31636389A JPH03177943A JP H03177943 A JPH03177943 A JP H03177943A JP 1316363 A JP1316363 A JP 1316363A JP 31636389 A JP31636389 A JP 31636389A JP H03177943 A JPH03177943 A JP H03177943A
Authority
JP
Japan
Prior art keywords
data
storage device
disk storage
hard disk
written
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
JP1316363A
Other languages
Japanese (ja)
Inventor
Masahiko Suzuki
雅彦 鈴木
Sakae Abe
阿部 栄
Masaru Miyano
宮野 優
Shinya Yamaguchi
山口 新也
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 TEC Corp
Oki Electric Industry Co Ltd
Shinko Seisakusho KK
Panasonic Holdings Corp
Original Assignee
Oki Electric Industry Co Ltd
Shinko Seisakusho KK
Tokyo Electric Co Ltd
Matsushita Electric Industrial Co 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 Oki Electric Industry Co Ltd, Shinko Seisakusho KK, Tokyo Electric Co Ltd, Matsushita Electric Industrial Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1316363A priority Critical patent/JPH03177943A/en
Publication of JPH03177943A publication Critical patent/JPH03177943A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To easily retrieve the comparatively old data and to omit the necessity to transfer the data to another recording medium even if a hard disk is filled with data by recording the same data to both a hard disk storage and a floppy disk storage. CONSTITUTION:The prescribed one of those data inputted via a keyboard 8 is processed and successively written into a writing buffer of a C.RAM 7. When the remaining storage capacity of the writing buffer is less than the prescribed value, the written data are collectively read out and written into a hard disk storage 16 and a floppy disk storage 14. Then the data are succes sively erased out of a storage disk in the order of older ones when this disk of the storage 16 is filled with data. These erased data are stored in the storage 14. As a result, the comparatively old data can be easily retrieved and at the same time the data can be surely secured. Furthermore it is not required to transfer the data to another recording medium even if the hard disk is filled with data.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えば金融窓口等において入金や支払い等の
データを記録処理するデータ端末装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data terminal device for recording and processing data such as deposits and payments at, for example, a financial counter.

[従来の技術] 従来この種のデータ端末装置は、キーボード等の入力装
置から入力される入金や支払いのデータや外部処理装置
としてのホストコンピュータとの間の通信データ等をデ
ータが発生する都度プリンタによって記録紙に印字記録
するようにしていた。
[Prior Art] Conventionally, this type of data terminal device inputs deposit and payment data from an input device such as a keyboard, communication data with a host computer serving as an external processing device, etc. to a printer each time the data is generated. The information was recorded by printing it on recording paper.

そしてデータの保管を印字の終了した記録紙を保管する
ことによって行っていた。
The data was stored by storing the printed recording paper.

しかし、記録用紙でデータを保存すると、記録されたデ
ータをコンピュータ等で再利用する場合に再度キー入力
しなおす必要がある。また、保管量が膨大となる問題が
あった。
However, when data is saved on recording paper, it is necessary to input keys again when reusing the recorded data on a computer or the like. Additionally, there was a problem in that the storage amount was enormous.

このような不都合を解消するために、ハードディスク記
憶装置(HDD)を使用してデータを記録したり、また
、フロッピーディスク記憶装置(FDD)を使用してデ
ータを記録するものが考えられている。
In order to solve these inconveniences, it has been considered to record data using a hard disk storage device (HDD) or to record data using a floppy disk storage device (FDD).

[発明が解決しようとする課題] しかし、ハードディスク記憶装置には、一般にデータ記
憶用のディスクを交換できないのでメモリ容量が比較的
大きいディスクが組込まれている。
[Problems to be Solved by the Invention] However, hard disk storage devices generally incorporate disks with relatively large memory capacities because disks for data storage cannot be replaced.

したがって、比較的古いデータの検索が容易にできるが
、ディスクが満杯になったときそのディスクからデータ
を別の記録媒体に移して保管しなければならずその作業
が面倒であった。
Therefore, it is possible to easily search for relatively old data, but when a disk becomes full, the data must be transferred from the disk to another recording medium and stored, which is a cumbersome task.

またフロッピーディスク記憶装置には、データ記憶用の
ディスクを交換できるのでメモリ容量が比較的小さいデ
ィスクが組込まれている。したがって、比較的古いデー
タを調べるのに別途保管されているフロッピーディスク
を探し出してデータ検索をしなければならず面倒であっ
た。
Furthermore, floppy disk storage devices incorporate disks with a relatively small memory capacity because the disks for data storage can be replaced. Therefore, in order to check relatively old data, it was necessary to search for data on a separately stored floppy disk, which was troublesome.

また上記したハードディスク記憶装置又はフロッピーデ
ィスク記憶装置を使用したものでは記録媒体に異常が発
生すると記録データが破壊されデータ保管に支障を来す
問題があった。
Further, in those using the above-mentioned hard disk storage device or floppy disk storage device, there is a problem in that if an abnormality occurs in the recording medium, the recorded data will be destroyed and data storage will be hindered.

さらに、記録すべきデータが発生する都度、このデータ
端末装置に外部記憶装置として接続されたハードディス
ク記録装置またはフロッピーディスク記憶装置に対して
書込処理を実行するために、データ端末装置としてのデ
ータ処理速度が大幅に低下する問題もある。
Furthermore, each time data to be recorded is generated, data processing as a data terminal device is performed in order to execute a write process to a hard disk recording device or a floppy disk storage device connected to this data terminal device as an external storage device. There is also the issue of significantly slowing down.

また、ハードディスク記録装置又はフロッピーディスク
記憶装置においても、単位時間当りの書込回数が増大す
るので、上記記憶装置自体の耐久寿命上において好まし
くない。
Furthermore, in a hard disk recording device or a floppy disk storage device, the number of writes per unit time increases, which is undesirable in terms of the durability of the storage device itself.

本発明は、ハードディスク記憶装置とフロッピーディス
ク記憶装置の両方に同じデータを記録することによって
、比較的古いデータの検索が容易にでき、ハードディス
クが満杯になっても別の記録媒体にデータを移す必要が
なく、また各記憶装置の他にメモリバックアップされた
書込バッファを設けることによって、各記憶装置に対す
る書込回数を低減でき、データ保全を確実にするととも
に装置全体の処理能率を向上できるデータ端末装置を提
供することを目的とする。
By recording the same data on both a hard disk storage device and a floppy disk storage device, the present invention makes it easy to search for relatively old data, and even when the hard disk becomes full, there is no need to transfer data to another recording medium. In addition, by providing a memory-backed write buffer in addition to each storage device, the number of writes to each storage device can be reduced, ensuring data integrity and improving the processing efficiency of the entire device. The purpose is to provide equipment.

[課題を解決するための手段] 上記課題を解決するために本発明は、少なくとも入力装
置を介して順次入力される各データに対して所定のデー
タ処理を施した後に外部処理装置へ送信するとともに各
データを記録するデータ端末装置において、 メモリバックアップ機能を有した記憶素子で形成され所
定記憶容量を有した書込用バッファと、入力データを順
次ディスクに記憶していきディスクの記憶容量を越える
新規データが入力したとき古いデータを消去してその新
規データを記憶するハードディスク記憶装置と、データ
記憶用のディスクが交換可能なフロッピーディスク記憶
装置と、記憶すべきデータが発生する毎にそのデータを
書込用バッファに順次書込んでいくデータ逐次書込手段
と、書込バッファの残書込容量が所定量未満に低下する
と、書込バッファに記憶されたデータを一括してハード
ディスク記憶装置およびフロッピーディスク記憶装置へ
転送するデータ一括転送手段とを備えたものである。
[Means for Solving the Problems] In order to solve the above problems, the present invention at least performs predetermined data processing on each piece of data sequentially input via an input device, and then transmits the data to an external processing device. In a data terminal device that records each data, there is a write buffer formed of a memory element with a memory backup function and a predetermined storage capacity, and a new buffer that stores input data sequentially on a disk and exceeds the storage capacity of the disk. There are hard disk storage devices that erase old data when new data is input and store new data, floppy disk storage devices that have replaceable data storage disks, and write data each time data to be stored is generated. Data sequential writing means sequentially writes data to a write buffer, and when the remaining write capacity of the write buffer falls below a predetermined amount, the data stored in the write buffer is collectively written to a hard disk storage device or a floppy disk. It is equipped with data bulk transfer means for transferring data to a storage device.

[作用] このように構成されたデータ端末装置においては、入力
装置を介して順次入力されたデータは所定のデータ処理
が施されて外部処理装置へ送信されるとともに、書込用
バッファに順次書込まれていく。そして、書込バッファ
の残記憶容量が所定量未満になると、この書込バッファ
に順次書込まれたデータが一括して読出されてハードデ
ィスク記憶装置およびフロッピーディスク記憶装置へ書
込まれる。各記憶装置に対するデータ転送処理が終了す
ると、書込バッファに対する新規データの書込が可能と
なる。
[Operation] In the data terminal device configured as described above, data input sequentially through the input device is subjected to predetermined data processing and transmitted to the external processing device, and is also sequentially written to the write buffer. It's getting mixed up. When the remaining storage capacity of the write buffer becomes less than a predetermined amount, the data sequentially written to the write buffer is read out all at once and written to the hard disk storage device and the floppy disk storage device. When data transfer processing for each storage device is completed, new data can be written to the write buffer.

すなわち、各記憶装置は書込バッファがほぼ満杯になっ
た時点で書込動作が実行されるので、単位時間当りの書
込動作回数が低減する。
That is, in each storage device, a write operation is executed when the write buffer is almost full, so the number of write operations per unit time is reduced.

[実施例] 以下、本発明の一実施例を図面の簡単な説明する。[Example] Hereinafter, one embodiment of the present invention will be briefly described with reference to the drawings.

この実施例においては、データ端末装置を例えば金融機
関の窓口に配設され、預貯金の入出力管理を行うための
端末装置に適用した場合を説明する。
In this embodiment, a case where the data terminal device is applied to a terminal device installed at a counter of a financial institution for managing input and output of deposits and savings will be described.

すなわち、第1図に示すように、このデータ端末装置は
大きく分けて、各種データ処理を実行する端末機本体1
と、押入された通帳に対して金額等のデータを書込む通
帳処理装置2とで構成されている。
That is, as shown in FIG. 1, this data terminal device is broadly divided into a terminal device body 1 that executes various data processing.
and a passbook processing device 2 that writes data such as amount into the inserted passbook.

端末機本体1内において、各種情報処理を実行するメイ
ンCPU (中央処理装置)3は、パスライン4を介し
て、OSプログラム等の固定データを記憶するROM 
(読出専用メモリ)5.業務用プログラム等が書込まれ
るD−RAM(常時記憶保持動作を必要とする書込読出
メモリ)6.電源遮断時においてもバッテリでその記憶
内容が保持されるC・RAM (C・MOS−RAM)
7.入金や支払金額等の各種データを入力するための入
力装置としてのキーボード8を制御してキー信号の取込
みを行うキーボード制御回路91表示器10へ各種表示
データを送出する表示器制御回路11、外部処理装置と
してのホストコンピュータ12に対して通信回線を介し
て接続された伝送制御回路13.データ記憶用ディスク
が交換できるフロッピーディスク記憶装置(FDD)1
4に対するデータの書込読出を制御するFDD制御回路
15、データ記憶用ディスクが交換できないハードディ
スク記憶装置(HDD)16に対するデータの書込読出
を制御するHDD制御回路17、客が持参した磁気カー
ド(キャッシュカード)のカード情報を読取るための磁
気カードリーダ18を制御するカードリーダ制御回路1
9.前記通帳処理装置2との間でデータ通信を行うため
のインタフェース20等を制御する。
In the terminal body 1, a main CPU (central processing unit) 3 that executes various information processing is connected to a ROM that stores fixed data such as an OS program via a pass line 4.
(Read-only memory)5. D-RAM (read/write memory that requires constant storage operation) into which business programs, etc. are written 6. C-RAM (C-MOS-RAM) whose memory contents are retained by a battery even when the power is cut off
7. A keyboard control circuit 91 that controls the keyboard 8 as an input device for inputting various data such as deposits and payment amounts and captures key signals; a display control circuit 11 that sends various display data to the display 10; A transmission control circuit 13 connected to a host computer 12 as a processing device via a communication line. Floppy disk storage device (FDD) with replaceable data storage disks 1
4, an HDD control circuit 17 that controls writing and reading of data to and from a hard disk storage device (HDD) 16 whose data storage disk cannot be replaced, and a magnetic card ( Card reader control circuit 1 that controls a magnetic card reader 18 for reading card information of a cash card)
9. The interface 20 and the like for data communication with the passbook processing device 2 are controlled.

また、前記通帳処理装置2内において、サブCPU21
は、パスライン22を介して、制御プログラムを記憶す
るROM23.通帳に印字すべき金額等の各種データを
一時記憶するRAM24゜前記端末機本体1との間でデ
ータ通信を行うためのインタフェース312通帳に形成
された磁気ストライプの口座番号等の通帳情報を読取る
磁気ストライプリーダ25を制御する磁気ストライブリ
ーダ制御回路26.挿入された通帳に対して金額等の各
種データを印字出力するプリンタ27へ印字データを送
出する印字制御回路28.挿入された通帳を所定の印字
位置まで導く搬送機構29を駆動制御する搬送制御回路
31等を制御する。
Further, within the passbook processing device 2, the sub CPU 21
is connected via a pass line 22 to a ROM 23. which stores a control program. RAM 24 for temporarily storing various data such as the amount to be printed on the passbook; Interface 312 for data communication with the terminal body 1; Magnetic for reading passbook information such as account numbers on the magnetic stripe formed on the passbook. A magnetic stripe reader control circuit 26 that controls the stripe reader 25. A print control circuit 28 that sends print data to a printer 27 that prints out various data such as the amount of money for the inserted passbook. It controls the conveyance control circuit 31 and the like that drive and control the conveyance mechanism 29 that guides the inserted passbook to a predetermined printing position.

前記端末機本体1のC−RAM7内には、第2図に示す
ように、アドレスに対応するポインタA1以降に5・1
2 B yteの記憶容量を有する第1のみ込バッファ
32aが形成され、ポインタA2以降に同じ<512B
yteの記憶容量を有する第2の書込バッファ32bが
形成されている。
In the C-RAM 7 of the terminal main body 1, as shown in FIG.
A first input buffer 32a having a storage capacity of 2 Byte is formed, and the same <512B byte is stored after pointer A2.
A second write buffer 32b having a storage capacity of yte is formed.

さらに、ポインタA、からポインタA4までの領域にデ
ータ管理エリア33が形成されている。
Furthermore, a data management area 33 is formed in the area from pointer A to pointer A4.

このデータ管理エリア33内には、このデータ管理エリ
ア33および書込みバッファ32が信頼できるものであ
るかを示す初期化フラグを記憶する領域33a、現在書
込中の書込用バッファの先頭ポインタP。を記憶する領
域33b、現在書込中でない書込用バッファの先頭ポイ
ンタP、を記憶する領域33c、書込中の書込用バッフ
ァにおける書込終了のアドレスに対応した書込終了ポイ
ンタP、を記憶する領域33d、ハードディスク記憶装
置16に対する書込動作中であることを示す書込動作中
ソラグF)Iを記憶する領域33e、フロッピーディス
ク記憶装置14に対する書込動作中であることを示す書
込動作中ソラグFPを記憶する領域33f等が形成され
ている。
This data management area 33 includes an area 33a for storing an initialization flag indicating whether the data management area 33 and the write buffer 32 are reliable, and a head pointer P of the write buffer currently being written. , an area 33c for storing a head pointer P of a write buffer that is not currently being written, and a write end pointer P that corresponds to the write end address in the write buffer that is currently being written. Storage area 33d, write operation indicating that a write operation to the hard disk storage device 16 is in progress; area 33e for storing SORAG F)I; writing indicating that a write operation to the floppy disk storage device 14 is in progress; An area 33f and the like for storing the SORAG FP during operation are formed.

しかして、前記端末機本体1および通帳処理装置2の電
源が投入されると、端末機本体1のメインCPU3は第
3図の流れ図に従って入力されたデータに対する処理を
行うようにプログラム構成されている。すなわち、電源
が投入されると、ROM5のOSプログラムが起動して
、例えばハードディスク記憶装置16に記憶される業務
(アプリケーション)プログラムを読出して、D#RA
M6へ書込む。そして、プログラムの制御を読出した業
務プログラムに渡す。
When the terminal main body 1 and passbook processing device 2 are powered on, the main CPU 3 of the terminal main body 1 is programmed to process input data according to the flowchart shown in FIG. . That is, when the power is turned on, the OS program in the ROM 5 starts up, reads out a business (application) program stored in the hard disk storage device 16, and executes the D#RA.
Write to M6. Then, control of the program is passed to the read business program.

業務プログラムが起動すると、最初に自己診断プログラ
ムを起動させる。そして、自己診断処理が終了すると、
領域33aの初期化フラグが設定されていることを確認
する。なお、設定されていなければ、事故診断処理にて
何等かの異常を検出したと判断してデータ管理エリア3
3および書込みバッファ32の初期化処理を行い、初期
化フラグを設定する。なお、この初期化フラグはメモリ
内容が何等かの異常で変化する場合を考慮して、任意の
複数バイトからなる例えば4バイトの[D J N]等
のデータで構成されている。
When a business program starts, it first starts a self-diagnosis program. Then, when the self-diagnosis process is finished,
Confirm that the initialization flag of area 33a is set. If it is not set, it is determined that some kind of abnormality has been detected during the accident diagnosis process, and data management area 3 is
3 and the write buffer 32 are initialized, and an initialization flag is set. Note that this initialization flag is composed of arbitrary data such as 4-byte [D J N], which is composed of a plurality of arbitrary bytes, in consideration of the case where the memory contents change due to some abnormality.

次に、各領域33e、33fの各書込動作中フラグFI
I、F、がOに解除されていることを確認する。1に設
定されていれば、例えば各記憶装置14.16に対する
データ書込動作中に停電が発生したと判断して、所定の
停電復旧処理を実行する。
Next, each write operation flag FI of each area 33e, 33f
Confirm that I, F, are released to O. If it is set to 1, for example, it is determined that a power outage has occurred during a data writing operation to each storage device 14, 16, and a predetermined power outage recovery process is executed.

以上の@1llX投入に付随する初期処理が終了すると
、Plにて操作者がこれから実行する例えば入金処理ま
たは支払処理等の業務をキーボード8にて選択する。そ
して、選択された業務が開始され、P2にて例えばキー
ボード8にて入金データまたは支払データが入力され、
また、キーボード8におけるキー操作または磁気カード
リーダ18における磁気カード読取操作において口座番
号等か入力されると、P3にて該当データに対する取扱
い記録処理を実行する。次に、P4にて、通信処理を行
う。この処理は外部のホストコンピュータ12との間の
通信を行う処理である。モしてP5にてホストコンピュ
ータ12から受信したデータを記録処理する。
When the above-described initial processing associated with @1llX input is completed, the operator uses the keyboard 8 to select a task to be executed from now on, such as deposit processing or payment processing. Then, the selected business is started, and at P2, deposit data or payment data is input using the keyboard 8, for example.
Further, when an account number or the like is input through a key operation on the keyboard 8 or a magnetic card reading operation on the magnetic card reader 18, handling recording processing for the corresponding data is executed at P3. Next, in P4, communication processing is performed. This process is a process for communicating with the external host computer 12. Then, at P5, the data received from the host computer 12 is recorded.

そして最後にP6にて通帳処理装置2へ印字すべき金額
等の各データを送出して、通帳に必要事項を印字出力さ
せる。
Finally, in P6, each data such as the amount to be printed is sent to the passbook processing device 2, and the necessary items are printed out on the passbook.

前記P3における取扱い記録処理およびP5における受
信データ記録処理は第4図に示す記録処理に従って実行
される。
The handling recording process in P3 and the received data recording process in P5 are executed according to the recording process shown in FIG.

先ず記録すべきデータのアドレスポインタに換算したデ
ータ長DLを算出する。次に、P7にてデータ管理エリ
ア33の領域33dの書込最終ポインタP8にデータ長
DLを加算したポインタが、各書込用バッファ32a、
32bの記憶容量をアドレスポインタに換算した記憶容
!iA B sに領域33bの書込中の書込用バッファ
の先頭ポインタPoを加えたポインタより小さければ(
PR+DしくP。十85)、現在書込中の書込用バッフ
ァにこのデータを書込むことが可能であるのでPEへ進
み、記録データを最終ポインタPP、の次の領域(アド
レス)以降に書込む。そして、領域33dの書込最終ポ
インタPgを更新する(PE−PFL+DL )。
First, a data length DL converted into an address pointer of data to be recorded is calculated. Next, at P7, the pointer obtained by adding the data length DL to the write final pointer P8 of the area 33d of the data management area 33 is set to each write buffer 32a,
Memory capacity converted from 32b memory capacity to address pointer! If it is smaller than the pointer obtained by adding the start pointer Po of the write buffer in the area 33b to iA B s, then (
PR+D ShikuP. 185) Since it is possible to write this data into the write buffer currently being written, the process advances to PE and writes the recorded data to the area (address) following the final pointer PP. Then, the final write pointer Pg of the area 33d is updated (PE-PFL+DL).

P7にて現在書込中の書込用バッファにおける残書込容
量が書込もうとする記録データのデータ長DLより少な
くなると、P9へ進み、記録データを現在書込中でない
非書込中の書込用バッファに書込む。具体的には、領域
33cの先頭ポインタP、の示すアドレスポインタ以降
に記録データを書込む。
If the remaining write capacity in the write buffer currently being written becomes smaller than the data length DL of the record data to be written in P7, the process advances to P9 and the record data is transferred to the write buffer that is not currently being written. Write to write buffer. Specifically, recording data is written after the address pointer indicated by the head pointer P of the area 33c.

記録データの新たな書込用バッファへの書込処理が終了
すると、領域33eの書込動作中フラグF□を1に設定
する。そして、書込中バッファの先頭ポインタP。から
書込最終ポインタPEまでの全データを読出して、ハー
ドディスク記憶装置16へ書込む。なお、このハードデ
ィスク記憶装置16においては、記憶用ディスクの残記
憶容量がなくなると、最も古いデータを消去して、その
位置に新規データを書込む。
When the write process of recording data to the new write buffer is completed, the write operation flag F□ in the area 33e is set to 1. And the head pointer P of the buffer being written. All data from to the final write pointer PE is read and written to the hard disk storage device 16. In this hard disk storage device 16, when the remaining storage capacity of the storage disk is used up, the oldest data is erased and new data is written in that position.

書込用バッファからハードディスク記憶装置16への全
データの転送処理が終了するると、領域33eの書込動
作中フラグをOに解除すると同時に、今度は領域33f
の書込動作中フラグF。
When the transfer process of all data from the write buffer to the hard disk storage device 16 is completed, the write operation flag of the area 33e is reset to O, and at the same time, the write operation flag of the area 33e is set to O.
Write operation flag F.

を1に設定する。Set to 1.

PIOにて、フロッピーディスク記憶装置14に装着さ
れている記憶用ディスク(フロッピーディスク)の残記
憶容量が規定値未満に低下したか否かを調べて、低下し
た場合には、フロッピーディスクの交換を操作者に促し
、交換を実施させる。
The PIO checks whether the remaining storage capacity of the storage disk (floppy disk) installed in the floppy disk storage device 14 has fallen below the specified value, and if it has, the floppy disk should be replaced. Prompt the operator to perform the replacement.

そして、ハードディスク記憶装置16に書込んだ同一デ
ータをフロッピーディスク記憶装置14へ書込む。しか
るのち、領域33fの書込動作中フラグF、をOに解除
するる。次に、領域33dの書込最終ポインタPEを非
書込中の書込用バッファの書込最終位置に設定する(P
、−P、+DL  1)。さらに、書込中バッファの交
替を行う。具体的には、領域33bの書込中バッファの
先頭アドレスP。を領域33cの非書込中バッファの先
頭アドレスPlへ変更し、蛸域33cの非書込中バッフ
ァの先頭アドレスP1を領域33bの書込中バッファの
先頭アドレスP。へ変更する。
Then, the same data written to the hard disk storage device 16 is written to the floppy disk storage device 14. Thereafter, the write operation flag F in the area 33f is reset to O. Next, the final writing pointer PE in the area 33d is set to the final writing position of the writing buffer that is not being written (P
, -P, +DL 1). Furthermore, the writing buffer is replaced. Specifically, the start address P of the buffer being written in the area 33b. is changed to the starting address Pl of the non-writing buffer in the area 33c, and the starting address P1 of the non-writing buffer in the area 33c is changed to the starting address P of the writing buffer in the area 33b. Change to

このような構成のデータ端末装置において、キーボード
8からデータが入力されるとそのデータは所定のデータ
処理が実施されてホストコンピュータ12へ送信される
と共にC−RAM7内のいずれか一方の書込用バッファ
32a、32bへ書込まれる。また、ホストコンピュー
タ12から入力された受信データもいずれか一方の書込
用バッファ32a、32bへ書込はまれる。そして、最
終の拮果が通帳処理装置2に挿入された通帳に記入され
る。
In the data terminal device having such a configuration, when data is input from the keyboard 8, the data is subjected to predetermined data processing and sent to the host computer 12, and is also written to one of the C-RAMs 7. Written to buffers 32a, 32b. Further, received data input from the host computer 12 is also written into one of the write buffers 32a, 32b. The final result is then entered into the passbook inserted into the passbook processing device 2.

この場合、前記各データはいずれか一方の書込用バッフ
ァ32a、32bにデータ発生時点で順次書込まれてい
くが、書込中の書込用バッファの残記憶容量が書込もう
としたデータのデータ長DLより少なくなると、現在書
込中でない他方の書込用バッファに該当データが書込ま
れる。そして、先の満杯になった書込用バッファに記憶
されている全部のデータが一括してハードディスク記憶
装置16およびフロッピーディスク記憶装置14に書込
まれる。
In this case, each of the data is sequentially written to one of the write buffers 32a and 32b at the time of data generation, but the remaining memory capacity of the write buffer being written is limited to the data to be written. When the data length DL becomes smaller than the data length DL, the corresponding data is written to the other write buffer that is not currently being written. Then, all the data stored in the previously filled write buffer is written to the hard disk storage device 16 and the floppy disk storage device 14 at once.

したがって、通常は書込用バッファ32a。Therefore, normally the write buffer 32a.

32bに発生したデータが順次書込まれ、ハードディス
ク記憶装置16およびフロッピーディスク記憶装置14
には書込まれない。よって、単位時間当り各記憶装置1
4.16に対するデータの書込動作回数を大幅に低減で
きるので、データ端末装置全体の処理速度を大福に上昇
させることが可能である。
32b is sequentially written to the hard disk storage device 16 and the floppy disk storage device 14.
is not written to. Therefore, each storage device 1 per unit time
Since the number of data write operations for 4.16 can be significantly reduced, the processing speed of the entire data terminal device can be significantly increased.

また、書込動作回数が減少すると、当然ハードディスク
記憶装置16およびフロッピーディスク記憶装置14の
耐久寿命を延ばすことができる。
Furthermore, when the number of write operations is reduced, the durability of the hard disk storage device 16 and the floppy disk storage device 14 can naturally be extended.

また、各データはハードディスク記憶装置16とフロッ
ピーディスク記憶装置14との両方に記憶される。そし
てハードディスク記憶装置の記憶用ディスクの記憶容量
は比較的大きいのでかなりの量のデータが記録できる。
Further, each data is stored in both the hard disk storage device 16 and the floppy disk storage device 14. Since the storage disk of the hard disk storage device has a relatively large storage capacity, a considerable amount of data can be recorded.

したがって、かなり古いデータまで記録できることにな
る。よって、比較的古いデータを確認するときにはハー
ドディスク記憶装置を制御してデータを読出し例えば表
示器10に表示して容易に確認することができる。
Therefore, even very old data can be recorded. Therefore, when checking relatively old data, the hard disk storage device is controlled to read out the data and display it on the display 10, for example, so that the data can be easily checked.

またハードディスク記憶装置16の記憶用ディスクが満
杯になるとその記憶用ディスクから最も古いデータから
順に消去され新規データが記録される。一方、フロッピ
ーディスク記憶装置14においては記憶用ディスク(フ
ロッピーディスク)が満杯になるとディスクの交換が表
示器10に表示され書込用バッファ32a、32bのデ
ータの一括転送動作が禁止される。そしてフロッピーデ
ィスクか交換されるとそのフロッピーディスクにそのデ
ータが一括して書込まれる。
Furthermore, when the storage disk of the hard disk storage device 16 becomes full, data is erased from the storage disk in order from the oldest and new data is recorded. On the other hand, in the floppy disk storage device 14, when the storage disk (floppy disk) becomes full, a message to replace the disk is displayed on the display 10, and the batch transfer operation of data in the write buffers 32a and 32b is prohibited. When the floppy disk is replaced, the data is written all at once to the floppy disk.

こうしてフロッピーディスク記憶装置14で記録される
データは消去されなく、複数枚のフロッピーディスクに
亘って記録される。
In this way, the data recorded on the floppy disk storage device 14 is not erased, but is recorded across a plurality of floppy disks.

またハードディスク記憶装置16およびフロッピーディ
スク記憶装置12のいずれか一方が故障して記録不能と
なっても他方の記憶装置のディスクにデータが記録され
るのでデータは消失されることなく管理される。そして
故障についてはディスクの交換を行い、相手のディスク
に記録されたデータをコピーすれば良い。停電発生時に
おいても、停電復旧処理において同様の処理を実行する
ことによって、データは確実に保全される。
Further, even if either the hard disk storage device 16 or the floppy disk storage device 12 fails and becomes unable to record, the data is recorded on the disk of the other storage device, so the data is managed without being lost. In the event of a failure, simply replace the disk and copy the data recorded on the other disk. Even in the event of a power outage, data can be reliably preserved by executing similar processing in the power outage recovery process.

[発明の効果コ 以上説明したように本発明のデータ端末装置によれば、
ハードディスク記憶装置とフロッピーディスク記憶装置
の両方に同じデータを記録するようにしている。したが
って、比較的古いデータの検索が容易にでき、またデー
タ保全を確実にでき、さらにハードディスクが満杯にな
っても別の記録媒体にデータを移す必要がない。また各
記憶装置の他にメモリバックアップされた書込用バッフ
ァを設けている。よって、各記憶装置に対する書込動作
回数を低減でき装置全体の処理能率を向上できる。
[Effects of the Invention] As explained above, according to the data terminal device of the present invention,
The same data is recorded on both the hard disk storage device and the floppy disk storage device. Therefore, relatively old data can be easily searched, data integrity can be ensured, and there is no need to transfer data to another recording medium even if the hard disk becomes full. In addition to each storage device, a memory-backed write buffer is provided. Therefore, the number of write operations for each storage device can be reduced, and the processing efficiency of the entire device can be improved.

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

図は本発明の一実施例に係わるデータ端末装置を示すも
ので、第1図はブロック図、第2図は記憶部の主なメモ
リを示す図、第3図および第4図は動作を示す流れ図で
ある。 1・・・端末機本体、2・・・通帳処理装置、3・・・
メインCPU、7・・・C−RAM、12・・・ホスト
コンピュータ、13・・・伝送制御回路、14・・・フ
ロッピーディスク記憶装置、16・・・ハードディスク
記憶装置、32a・・・第1の書込用バッファ、32b
・・・第2の書込用バッファ、33・・・データ管理エ
リア。
The figures show a data terminal device according to an embodiment of the present invention, in which Fig. 1 is a block diagram, Fig. 2 is a diagram showing the main memory of the storage section, and Figs. 3 and 4 show the operation. This is a flowchart. 1... Terminal body, 2... Passbook processing device, 3...
Main CPU, 7... C-RAM, 12... Host computer, 13... Transmission control circuit, 14... Floppy disk storage device, 16... Hard disk storage device, 32a... First Write buffer, 32b
...Second write buffer, 33...Data management area.

Claims (1)

【特許請求の範囲】 少なくとも入力装置を介して順次入力される各データに
対して所定のデータ処理を施した後に外部処理装置へ送
信するとともに前記各データを記録するデータ端末装置
において、 メモリバックアップ機能を有した記憶素子で形成され所
定記憶容量を有した書込用バッファと、入力データを順
次ディスクに記憶していきディスクの記憶容量を越える
新規データが入力したとき古いデータを消去してその新
規データを記憶するハードディスク記憶装置と、データ
記憶用のディスクが交換可能なフロッピーディスク記憶
装置と、前記記憶すべきデータが発生する毎にそのデー
タを前記書込用バッファに順次書込んでいくデータ逐次
書込手段と、前記書込バッファの残書込容量が所定量未
満に低下すると、前記書込バッファに記憶されたデータ
を一括して前記ハードディスク記憶装置およびフロッピ
ーディスク記憶装置へ転送するデータ一括転送手段とを
備えたデータ端末装置。
[Scope of Claims] A data terminal device that performs predetermined data processing on each piece of data sequentially input through at least an input device, transmits it to an external processing device, and records each piece of data, the data terminal device having a memory backup function. A write buffer is formed of a memory element with a predetermined storage capacity, and the input data is sequentially stored on the disk, and when new data exceeding the storage capacity of the disk is input, the old data is erased and the new data is stored. A hard disk storage device for storing data, a floppy disk storage device with replaceable disks for data storage, and a data sequential storage device for sequentially writing the data to the write buffer each time the data to be stored is generated. a writing unit; and a data batch transfer for transferring the data stored in the writing buffer all at once to the hard disk storage device and the floppy disk storage device when the remaining writing capacity of the writing buffer falls below a predetermined amount. A data terminal device comprising means.
JP1316363A 1989-12-07 1989-12-07 Data terminal equipment Pending JPH03177943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1316363A JPH03177943A (en) 1989-12-07 1989-12-07 Data terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1316363A JPH03177943A (en) 1989-12-07 1989-12-07 Data terminal equipment

Publications (1)

Publication Number Publication Date
JPH03177943A true JPH03177943A (en) 1991-08-01

Family

ID=18076266

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1316363A Pending JPH03177943A (en) 1989-12-07 1989-12-07 Data terminal equipment

Country Status (1)

Country Link
JP (1) JPH03177943A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10275059A (en) * 1996-04-30 1998-10-13 Matsushita Electric Ind Co Ltd Storage device controller and management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6184732A (en) * 1984-10-03 1986-04-30 Oki Electric Ind Co Ltd Back-up device of recording data in external memory device
JPS63175949A (en) * 1987-01-16 1988-07-20 Hitachi Ltd Electronic journal control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6184732A (en) * 1984-10-03 1986-04-30 Oki Electric Ind Co Ltd Back-up device of recording data in external memory device
JPS63175949A (en) * 1987-01-16 1988-07-20 Hitachi Ltd Electronic journal control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10275059A (en) * 1996-04-30 1998-10-13 Matsushita Electric Ind Co Ltd Storage device controller and management system

Similar Documents

Publication Publication Date Title
US7310711B2 (en) Hard disk drive with support for atomic transactions
EP0902370B1 (en) Dual storage controllers
US9424197B2 (en) Hard disk drive with optional cache memory
US5532463A (en) Process for making secure the writing of sensitive data into the EEPROM data storage memory of a memory card and a memory card for use in the process
EP1700199B1 (en) Method, system, and program for managing parity raid data updates
WO2000014691A1 (en) Pos terminal, method of controlling the pos terminal, pos system using the pos terminal, and information storage medium
JPS60233749A (en) Memory file device
US6510986B1 (en) Transaction record storing device and transaction machine including same
JPH03177943A (en) Data terminal equipment
JP2651426B2 (en) IC card
US20080242426A1 (en) Gaming machine critical data memory system and method
US5682517A (en) Method of transferring data to a memory medium in a mailing machine
KR100445134B1 (en) Host equipped with stabilizing function for flash memory and the method thereof
JP3195122B2 (en) Check method of instruction format given to IC card
JP5937991B2 (en) Automatic transaction equipment
JP4371696B2 (en) IC card issuing system
JP3775697B2 (en) Portable information storage media
JP2002099952A (en) Card-issuing apparatus, card-issuing method and card issuing program
JP2788828B2 (en) Data processing device
JPH1153487A (en) Method for deciding validity of written data on ic card
JP2784492B2 (en) Card-type ticket usage survey device
USRE31790E (en) Shared processor data entry system
JPH02143343A (en) Robustizing processing system for storing ordinal file
JPH0376515B2 (en)
JP2005115418A (en) Station service system