JPH01191242A - Electronic file control system - Google Patents

Electronic file control system

Info

Publication number
JPH01191242A
JPH01191242A JP63015635A JP1563588A JPH01191242A JP H01191242 A JPH01191242 A JP H01191242A JP 63015635 A JP63015635 A JP 63015635A JP 1563588 A JP1563588 A JP 1563588A JP H01191242 A JPH01191242 A JP H01191242A
Authority
JP
Japan
Prior art keywords
data
journal
transaction
file
terminal
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
JP63015635A
Other languages
Japanese (ja)
Inventor
Kenichi Okazaki
岡崎 憲一
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63015635A priority Critical patent/JPH01191242A/en
Publication of JPH01191242A publication Critical patent/JPH01191242A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To extend the idle area of a file and to prevent an unnecessary part from being referred at the time of referring to the file by validating/invalidating journal data of one transaction based on contents of an information set part in a text sent from a terminal controller after getting item data equivalent to one transaction into the file. CONSTITUTION:In a terminal equipment 13a, received journal data is written on a floppy disk FD or the like. In this case, a header indicating the start of a transaction is added to the beginning of journal data, and the position pointer of the header is stored. A terminal controller 11 judges whether journal data which the terminal equipment 13a gets in advance should be deleted or not when receiving response data from a host (higher-order station) 12, and a journal deletion indicating message is sent to the terminal equipment 13a when it should be deleted, when receiving the journal deletion indication, the terminal equipment 13a returns the final data pointer to the value of the transaction header position pointer. Thus, preceding journal data is deleted to extend the idle area of the file, and an unnecessary part is prevented from being referred at the time of referring to the file.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、オンラインシステムの端末装置における電子
ファイルの制御方式に関し、特に電子ファイル内の不要
なデータを消去することに好適な電子ファイル制御方式
に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an electronic file control method in a terminal device of an online system, and particularly an electronic file control method suitable for erasing unnecessary data in an electronic file. Regarding.

〔従来の技術〕[Conventional technology]

従来の装置における電子ファイルのデータを消去する方
式としては、例えば、特開昭59−9763号公報に開
示されている如く、データ作成日付を基にして、該日付
から所定の保存期間が経過した場合に、自動的に該デー
タを消去する方式が知られている。
As a method of erasing data in an electronic file in a conventional device, for example, as disclosed in Japanese Patent Laid-Open No. 59-9763, data is deleted based on the data creation date when a predetermined retention period has elapsed from that date. There is a known method for automatically erasing the data in such cases.

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

上記従来技術は、保存年月が経過した場合の電子ファイ
ル消去方式としては有効であるが、不要なファイルが作
成された場合に、自動的に消去することについては配慮
されておらず、ファイルを無駄に使ってしまうという問
題があった。
The above conventional technology is effective as a method for deleting electronic files after the storage date has passed, but it does not take into account automatic deletion of unnecessary files when they are created. The problem was that it was wasted.

本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の技術における上述の如き問題を解
消し、不要なデータを電子ジャーナルファイル上から消
去してファイルの空エリアを増し、かつ、ファイル参照
時に不要な部分を参照することを避けるようにした、電
子ファイル制御方式を提供することにある。
The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in the conventional technology, and to increase the empty area of the file by erasing unnecessary data from the electronic journal file. The object of the present invention is to provide an electronic file control method that avoids referencing unnecessary parts when referencing a file.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の上述の目的は、端末制御装置を介して上位局に
接続される端末装置の記憶装置に内蔵され、取引内訳デ
ータ(ジャーナルデータ)を格納する電子ジャーナルフ
ァイルにおいて、前記上位局における当該取引の成立/
不成立の判定に対応して、前記端末制御装置で編集され
、前記端末装置に送られる電文中に、ジャーナルデータ
の消去指示を示す情報を設定する情報設定部分を設けて
、前記端末装置では、1取引分の内訳データを前記ファ
イルに取得後、前記端末制御装置から送られる電文中の
前記情報設定部分の内容に基づき、当該取引分のジャー
ナルデータを有効/無効とすることを特徴とする電子フ
ァイル制御方式によって達成される。
The above-mentioned object of the present invention is to provide an electronic journal file that is built in a storage device of a terminal device connected to a higher-level station via a terminal control device and stores transaction breakdown data (journal data). Establishment/
In response to the determination of failure, an information setting part for setting information indicating a journal data deletion instruction is provided in the message edited by the terminal control device and sent to the terminal device, and the terminal device An electronic file characterized in that, after acquiring the transaction breakdown data in the file, the journal data for the transaction is validated/invalidated based on the content of the information setting part in the message sent from the terminal control device. This is achieved through a control method.

〔作用〕[Effect]

オペレータが端末装置で取引画面にデータを入力し、完
了キーを押下すると、取引画面のデータが端末コントロ
ーラに送信される。端末コントローラでは、取引画面の
データをホストへ送信するとともに、取引画面のデータ
を基にして、ジャーナルデータを編集し、端末装置に送
信する。端末装置では、受信したジャーナルデータを、
フロッピディスク(F D)等にライトする。本発明に
係わる電子ファイル制御方式においては、その際、ジャ
ーナルデータの先頭に、取引の先頭である旨のヘッダを
付け、ヘッダの位置ポインタを記憶しておく。
When the operator inputs data on the transaction screen using the terminal device and presses the completion key, the data on the transaction screen is transmitted to the terminal controller. The terminal controller transmits the transaction screen data to the host, and also edits journal data based on the transaction screen data and transmits it to the terminal device. At the terminal device, the received journal data is
Write to a floppy disk (FD), etc. In the electronic file control method according to the present invention, at that time, a header indicating that it is the beginning of a transaction is added to the beginning of the journal data, and a position pointer of the header is stored.

ホスト(上位局)から回答データを受信すると、端末コ
ントローラは、端末装置で先行取得したジャーナルデー
タを消去するか否かを判断し、消去する場合には、ジャ
ーナル消去指示メツセー、ジを端末装置に送信する。端
末装置では、ジャーナル消去指示を受けると、最終デー
タポインタを上述の取引ヘッダ位置ポインタの値へ戻す
Upon receiving the response data from the host (upper station), the terminal controller determines whether or not to erase the journal data previously acquired by the terminal device, and if erased, sends a journal deletion instruction message to the terminal device. Send. Upon receiving the journal deletion instruction, the terminal device returns the final data pointer to the value of the transaction header position pointer described above.

従って、次の取引でジャーナルデータを端末装置が受信
したときには、前回のジャーナルデータに上書きするこ
とになるため、前回のジャーナルデータが、結果として
消去されることになる。
Therefore, when the terminal device receives journal data for the next transaction, it will overwrite the previous journal data, and as a result, the previous journal data will be erased.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は、ホスト(上位局)、端末コントローラと端末
装置の関係を示すとともに、端末装置の概略構成を示す
図である。図において12はホスト、11は端末コント
ローラ、13aは端末装置を示している。なお、第2図
では、端末装置として、13aのみを示しであるが、一
般には、端末コントローラ11には複数の端末装置が接
続される。端末装置13aは1通常、制御部(CPU)
6.フロッピディスク装置(FD)7.キーボード8.
CRTデイスプレィ99回線制御装@(L N G)1
0等から構成されている。
FIG. 2 is a diagram showing the relationship between a host (upper station), a terminal controller, and a terminal device, as well as a schematic configuration of the terminal device. In the figure, 12 is a host, 11 is a terminal controller, and 13a is a terminal device. Although FIG. 2 shows only the terminal device 13a, in general, a plurality of terminal devices are connected to the terminal controller 11. The terminal device 13a usually has a control unit (CPU)
6. Floppy disk device (FD)7. Keyboard 8.
CRT display 99 line controller @(LNG)1
It is composed of 0 etc.

第1図は、端末装置13aから取引電文をホスト12へ
送信した後の、端末コントローラ11およびホスト12
からの電文送信シーケンスを示す図で、合わせて、本発
明の特徴であるジャーナル制御指定部の詳細を示す図で
ある。また、第3図は、上記フロッピディスク装置7内
のジャーナルデータの構造例を示す図、第4図はホスト
からの回答電文に基づく端末コントローラ11および該
端末コントローラ11から端末装置13aに送られる電
文に基づく端末装置の動作を示すフローチャートである
FIG. 1 shows the terminal controller 11 and host 12 after transmitting the transaction message from the terminal device 13a to the host 12.
FIG. 2 is a diagram showing a message transmission sequence from 1 to 3, and is also a diagram illustrating details of a journal control designation section that is a feature of the present invention. 3 is a diagram showing an example of the structure of journal data in the floppy disk device 7, and FIG. 4 is a diagram showing a terminal controller 11 based on a response message from the host and a message sent from the terminal controller 11 to the terminal device 13a. 2 is a flowchart showing the operation of the terminal device based on the following.

以下、各図に基づいて、本実施例の動作を説明する。Hereinafter, the operation of this embodiment will be explained based on each figure.

端末装置13aのオペレータが、キーボード8を用いて
CRTデイスプレィ9の画面に入力したデータは、上記
キーボード上の完了キーを押下することによりCPU6
の指示で、回線制御装置10を介して端末コントローラ
11へ、電文1として送信される。端末コントローラ1
1は、ホスト12へ電文2を送信するとともに、入力デ
ータを基にして、ジャーナルデータ3を編集し、端末装
置13aへ出力する。これは、ホストからの回答待ち時
間と、端末装置13aのジャーナル取得時間とをオーバ
ーラツプさせて、全体としての処理時間を短縮するため
のものである。
The data input by the operator of the terminal device 13a onto the screen of the CRT display 9 using the keyboard 8 is sent to the CPU 6 by pressing the completion key on the keyboard.
According to the instruction, the message is sent as message 1 to the terminal controller 11 via the line control device 10. Terminal controller 1
1 sends the message 2 to the host 12, edits the journal data 3 based on the input data, and outputs it to the terminal device 13a. This is to shorten the overall processing time by making the response waiting time from the host overlap with the journal acquisition time of the terminal device 13a.

端末装置13aでは、受信したデータを、電子ジャーナ
ルファイルがある前記フロッピディスク装置7にライト
するが、その際、第3図に示す如くまず、データの先頭
を示すヘッダをライトし、その後にデータをライトする
。また、取引ヘッダ位置ポインタには、上記ヘッダをラ
イトしたフロッピディスク上の位置をセットし、最終デ
ータポインタには、フロッピディスク上にライトした上
記データの最終位置をセットする。
The terminal device 13a writes the received data to the floppy disk device 7 in which the electronic journal file is located. At this time, as shown in FIG. 3, first a header indicating the beginning of the data is written, and then the data is written. Write. Further, the transaction header position pointer is set to the position on the floppy disk where the header was written, and the final data pointer is set to the final position of the data written on the floppy disk.

続いて、ホスト12から端末コントローラ11へ回答電
文4が送信される。この電文4には、正常にホスト処理
が終了したか否かを示す情報が含まれており、端末コン
トローラ11は、これに基づいて第4図(a)に示す動
作を行う。すなわち、ホスト処理が異常である場合には
、端末袋[1113aに送信する電文5に、第1図に示
すジャーナル消去指示(31)、、をセットする。また
、ホスト処理が正常である場合には、上記電文5に、上
記ジャーナル消去指示(31)□6はセットせず、第1
図に示すジャーナル保存指示(30)i、をセットする
Subsequently, a reply message 4 is transmitted from the host 12 to the terminal controller 11. This message 4 includes information indicating whether or not the host processing has been normally completed, and the terminal controller 11 performs the operation shown in FIG. 4(a) based on this information. That is, if the host processing is abnormal, the journal deletion instruction (31) shown in FIG. 1 is set in the message 5 sent to the terminal bag [1113a]. In addition, if the host processing is normal, the journal deletion instruction (31)□6 is not set in the message 5, and the first
The journal save instruction (30) i shown in the figure is set.

上記電文5を受信した端末装置113aは、第4図(b
)に示す動作を行う。すなわち、ジャーナル保存指示(
30)L、を受信した場合は何もしないが、ジャーナル
消去指示(31)、Gを受信した場合ばは、前記フロッ
ピディスク上の最終データポインタを。
The terminal device 113a that has received the message 5 is shown in FIG.
). That is, journal preservation instructions (
30) If it receives L, it does nothing, but if it receives journal deletion instruction (31) or G, it deletes the final data pointer on the floppy disk.

取引ヘッダ位置ポインタに合わせる。これにより次の取
引を行う際には、そのジャーナルデータ3は、前記フロ
ッピディスク上の最終データポインタの位置から前記フ
ロッピディスク上にライトされるため、一つ前の不成立
となった取引のジャーナルデータに上書きされることに
なり、一つ前の不成立となった取引のジャーナルデータ
は、結果として消去されることになる。
Align to transaction header position pointer. As a result, when performing the next transaction, the journal data 3 will be written onto the floppy disk from the position of the final data pointer on the floppy disk, so the journal data 3 of the previous unsuccessful transaction will be written to the floppy disk. As a result, the journal data of the previous unsuccessful transaction will be erased.

上記実施例によれば、電子ジャーナルファイルのうち、
消去しても良いデータを1取引分消去することができる
ので、電子ジャーナルファイルを有効に利用することが
可能になる。
According to the above embodiment, among the electronic journal files,
Since data that can be deleted can be deleted for one transaction, the electronic journal file can be used effectively.

上記実施例においては、電子ジャーナルファイルの最終
データポインタを、当該取引データの先頭位置ポインタ
に合わせることにより、次取引のジャーナルデータを、
不成立となった当該取引データに上書きして、結果的に
当該取引分のジャー・ ナルデータを無効化しているが
、本発明は必ずしもこの方式に限定されるものではない
In the above embodiment, by aligning the last data pointer of the electronic journal file with the start position pointer of the transaction data, the journal data of the next transaction is
Although the transaction data that has failed is overwritten and the journal data for the transaction is invalidated as a result, the present invention is not necessarily limited to this method.

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

以上述べた如く、本発明によれば、端末制御装置を介し
て上位局に接続される端末装置の記憶装置に内蔵され、
取引内訳データ(ジャーナルデータ)を格納する電子ジ
ャーナルファイルにおいて、前記上位局における当該取
引の成立/不成立の判定に対応して、前記端末制御装置
で編集され、前記端末装置に送られる電文中に、ジャー
ナルデータの消去指示を示す情報を設定する情報設定部
分を設けて、前記端末装置では、1取引分の内訳データ
を前記ファイルに取得後、前記端末制御装置から送られ
る電文中の前記情報設定部分の内容に基づき、当該取引
分のジャーナルデータを有効/無効とするようにしたの
で、不要なデータを電子ジャーナルファイル上から消去
してファイルの空エリアを増し、かつ、ファイル参照時
に不要な部分を参照することを避けるようにした、電子
ファイル制御方式を実現できるという顕著な効果を奏す
るものである。
As described above, according to the present invention, the storage device of the terminal device connected to the upper station via the terminal control device includes
In an electronic journal file that stores transaction breakdown data (journal data), in a message edited by the terminal control device and sent to the terminal device in response to a determination of whether the transaction is successful or unsuccessful at the higher level station, An information setting part for setting information indicating an instruction to delete journal data is provided, and after the terminal device obtains the breakdown data for one transaction in the file, the information setting part is set in the message sent from the terminal control device. Based on the content of the journal data, the journal data for the transaction concerned is enabled/disabled, so unnecessary data can be deleted from the electronic journal file to increase the empty area of the file, and unnecessary parts can be deleted when the file is referenced. This has the remarkable effect of realizing an electronic file control method that avoids referencing.

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

第1図は本発明の一実施例に係わる電文送信シーケンス
を示す図、第2図は実施例の構成を示す図、第3図は電
子ジャーナルファイルを構成するジャーナルデータの構
造例を示す図、第4図はホストからの回答電文に基づく
端末コントローラの動作および該端末コントローラから
端末装置に送られる電文に基づく端末装置の動作を示す
フローチャートである。 1:端末装置からの完了キー電文、2:端末コントロー
ラからの完了キー電文、3:ジャーナル出力電文、4:
ホスト回答電文、5:端末コントローラ出力電文、6:
制御部、7:フロッピディスク装置、8:キーボード、
9:CRTデイスプレィ、10:回線制御装置、11:
端末コントローラ、12:ホスト、13a:端末装置。 −ン)−フ一 第   3   図 トラック番号
FIG. 1 is a diagram showing a message transmission sequence according to an embodiment of the present invention, FIG. 2 is a diagram showing the configuration of the embodiment, and FIG. 3 is a diagram showing an example of the structure of journal data constituting an electronic journal file. FIG. 4 is a flowchart showing the operation of the terminal controller based on the response message from the host and the operation of the terminal device based on the message sent from the terminal controller to the terminal device. 1: Completion key message from the terminal device, 2: Completion key message from the terminal controller, 3: Journal output message, 4:
Host response message, 5: Terminal controller output message, 6:
Control unit, 7: Floppy disk device, 8: Keyboard,
9: CRT display, 10: Line control device, 11:
Terminal controller, 12: host, 13a: terminal device. -F1) -F1 3 Figure track number

Claims (1)

【特許請求の範囲】 1、端末制御装置を介して上位局に接続される端末装置
の記憶装置に内蔵され、取引内訳データ(ジャーナルデ
ータ)を格納する電子ジャーナルファイルにおいて、前
記上位局における当該取引の成立/不成立の判定に対応
して、前記端末制御装置で編集され、前記端末装置に送
られる電文中に、ジャーナルデータの消去指示を示す情
報を設定する情報設定部分を設けて、前記端末装置では
、1取引分の内訳データを前記ファイルに取得後、前記
端末制御装置から送られる電文中の前記情報設定部分の
内容に基づき、当該取引分のジャーナルデータを有効/
無効とすることを特徴とする電子ファイル制御方式。 2、前記電子ジャーナルファイルの最終データポインタ
を、当該取引データの先頭位置ポインタに合わせること
により、次取引のジャーナルデータを当該取引データに
上書きして、結果的に前述の当該取引分のジャーナルデ
ータを無効化することを特徴とする、特許請求の範囲第
1項記載の電子ファイル制御方式。
[Scope of Claims] 1. In an electronic journal file that is built into a storage device of a terminal device connected to a higher-level station via a terminal control device and stores transaction breakdown data (journal data), An information setting part for setting information indicating an instruction to delete journal data is provided in the message edited by the terminal control device and sent to the terminal device in response to the determination of whether the above is established or not. Then, after acquiring the breakdown data for one transaction in the file, validate/validate the journal data for the transaction based on the contents of the information setting part in the message sent from the terminal control device.
An electronic file control method characterized by invalidation. 2. By aligning the last data pointer of the electronic journal file with the start position pointer of the transaction data, the journal data of the next transaction will be overwritten by the transaction data, and as a result, the journal data for the transaction described above will be updated. The electronic file control method according to claim 1, characterized in that the electronic file control method is invalidated.
JP63015635A 1988-01-26 1988-01-26 Electronic file control system Pending JPH01191242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63015635A JPH01191242A (en) 1988-01-26 1988-01-26 Electronic file control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63015635A JPH01191242A (en) 1988-01-26 1988-01-26 Electronic file control system

Publications (1)

Publication Number Publication Date
JPH01191242A true JPH01191242A (en) 1989-08-01

Family

ID=11894178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63015635A Pending JPH01191242A (en) 1988-01-26 1988-01-26 Electronic file control system

Country Status (1)

Country Link
JP (1) JPH01191242A (en)

Similar Documents

Publication Publication Date Title
JP3335801B2 (en) Information processing system enabling access to different types of files and control method thereof
JPS63145552A (en) Community device for personal computer
US6351826B1 (en) Method and apparatus for automatically verifying communication software
JPH01191242A (en) Electronic file control system
JP2000082003A (en) Information processing system enabling access to different kind of file and control method thereof
JP3360633B2 (en) Online environment automatic change system
JPS6365550A (en) Program loading system for terminal equipment
JPH07319818A (en) Reprocessing method for on-line application system
JPH10275107A (en) System and method for data registration
JP2901302B2 (en) Facsimile machine
JPH04338852A (en) File transfer program with interruption restart mechanism
JP3254814B2 (en) Data transfer method
JPH02297231A (en) Data deleting/restoring system for document control system
JPH04342041A (en) Backup maintenance method for computer system
JPS63298553A (en) Business fault processing system
JP3368378B2 (en) Storage content management method and data processing device
JPH056318A (en) Dynamic loading system for application program in pos controller
JPH0520157A (en) Automatic restoration system for document file
JPS5972548A (en) Logging system of circuit log
JPH01230148A (en) Registered data control system
JPH04181352A (en) Screen message transfer system
JPH05151117A (en) Processor memory dump remote collection system
JPH04229352A (en) Channel device
JPH04328649A (en) Method and device for temporarily storing deleted data
JPH05342131A (en) Asynchronous updating/transmitting system for input data