JPH035807A - Data record input/output system - Google Patents

Data record input/output system

Info

Publication number
JPH035807A
JPH035807A JP14033289A JP14033289A JPH035807A JP H035807 A JPH035807 A JP H035807A JP 14033289 A JP14033289 A JP 14033289A JP 14033289 A JP14033289 A JP 14033289A JP H035807 A JPH035807 A JP H035807A
Authority
JP
Japan
Prior art keywords
record
address information
channel command
next record
read
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
JP14033289A
Other languages
Japanese (ja)
Inventor
Takanori Matsubara
松原 隆徳
Masaji Munakata
宗像 仁二
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
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP14033289A priority Critical patent/JPH035807A/en
Publication of JPH035807A publication Critical patent/JPH035807A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the burden of a host device by reading a subsequent record without the aid of the host device (central processing unit) when the record is continuously read. CONSTITUTION:An auxiliary storage device 1.2 analyzes plural subsequent records read channel commands 1.14 in a channel command analysis means 1.21, positions the subsequent record and executes a read action in a subsequent record read execution means 1.25 based on subsequent record address informa tion which a subsequent record address information storage means 1.26 stores. Since only the low-order device (auxiliary storage device) 1.2 reads the subse quent record, synchronization with a storage medium 1.3 is not lost and reading is attained at shortest time, whereby the host device (central processing unit) is prevented from analyzing address information. Thus, the burden of the host device can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データレコード入出力方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a data record input/output method.

〔従来の技術〕[Conventional technology]

従来、次レコードのアドレス情報をレコード内に含むア
クセス方式は、読み込みチャネルプログラムを実行しレ
コードを入力した後、次レコードのアドレス情報を上位
装置(中央処理装置)が解析した後、再度読み込みチャ
ネルプログラムを実行していた。以下に第2図を用いて
従来技術の一例を示す。
Conventionally, the access method that included the address information of the next record in the record was to execute the read channel program, input the record, and then re-read the channel program after the host device (central processing unit) analyzed the address information of the next record. was running. An example of the prior art is shown below using FIG. 2.

第2図において、2.1は中央処理装置、2゜10は次
レコードアドレス解析手段、2.11は読み込みチャネ
ルプログラム、2.12は位置付はチャネルコマンド、
2.13は読み込みチャネルコマンド、2.2は補助記
憶装置、2.21はチャネルコマンド解析手段、2.2
2は位置付はチャネルコマンド実行手段、2.23は読
み込みチャネルコマンド実行手段、2.3は記憶媒体、
2.30はレコード、2.31はデータレコード、2.
32は次レコードアドレス情報である。
In Fig. 2, 2.1 is the central processing unit, 2.10 is the next record address analysis means, 2.11 is the reading channel program, 2.12 is the positioning channel command,
2.13 is a read channel command, 2.2 is an auxiliary storage device, 2.21 is a channel command analysis means, 2.2
2 is a channel command execution means, 2.23 is a reading channel command execution means, 2.3 is a storage medium,
2.30 is a record, 2.31 is a data record, 2.
32 is next record address information.

第2図を参照すると、補助記憶装置2.2に対して中央
処理装置2.1は、読み込みチャネルプログラム2.1
1を実行する。読み込みチャネルプログラム2.11は
位置付はチャネルコマンド2.12と読み込みチャネル
コマンド2.13とからなる。
Referring to FIG. 2, for the auxiliary storage device 2.2, the central processing unit 2.1 has a read channel program 2.1.
Execute 1. The read channel program 2.11 consists of a positioning channel command 2.12 and a read channel command 2.13.

前記補助記憶装置2.2は、読み込みチャネルフログラ
ム2.11の位置付はチャネルコマンド2.12をチャ
ネルコマンド解析手段2.21で解析し、位置付はチャ
ネルコマンド実行手段2.22でレコード2.3.0に
位置付けする。その後、読み込みチャネルコマンド2.
13を前記チャネルコマンド解析手段2.21で解析し
、読み込みチャネルコマンド実行手段2.23によって
記憶媒体2.3に対して読み込み動作を行う。中央処理
装置2.1は、前記レコード2.30内の次レコードア
ドレス情報2.32を次レコードアドレス解析手段2゜
10によって解析し、次レコードを読み込む為、次レコ
ードアドレス情報2゜32をもとに再度、読み込みチャ
ネルプログラム2.11を必要回数実行する。
In the auxiliary storage device 2.2, the channel command 2.12 is analyzed by the channel command analysis means 2.21 to locate the read channel program 2.11, and the channel command execution means 2.22 stores the record 2.12 in the auxiliary storage device 2.2. Positioned at 3.0. Then read channel command 2.
13 is analyzed by the channel command analysis means 2.21, and a read operation is performed on the storage medium 2.3 by the read channel command execution means 2.23. The central processing unit 2.1 analyzes the next record address information 2.32 in the record 2.30 by the next record address analysis means 2.10, and also reads the next record address information 2.32 in order to read the next record. Then, execute the read channel program 2.11 again as many times as necessary.

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

上述した従来のレコード読み込み方式では、読み込みチ
ャネルコマンドを実行し、上位装置が次レコードアドレ
ス情報を解析し、再度読み込みチャネルプログラムを実
行するまでに媒体との同期を失い、同期を取り直すため
の無駄な時間がかかるという欠点があった。また、次レ
コードのアドレス情報を解析し、新たにチャネルフログ
ラムを実行し直すため、上位装置の負担が大きいという
欠点があった。
In the conventional record reading method described above, the read channel command is executed, the host device analyzes the next record address information, and by the time the read channel program is executed again, the synchronization with the medium is lost, and there is a waste of time to regain synchronization. The drawback was that it was time consuming. Furthermore, since the address information of the next record is analyzed and a new channel program is re-executed, there is a drawback that the burden on the host device is heavy.

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

本発明のデータレコード入出力方式は、6誠記憶媒体中
に記憶されたデータレコードに対する入出力を制御する
補助記憶装置と、中央処理装置から前記補助記憶装置に
対して、要求されたチャネルコマンドを解析するチャネ
ルコマンド解析手段と、データレコードに対する位置付
は処理を実行する位置付はチャネルコマンド実行手段と
、データレコードに対する読み込み処理を実行する読み
込みチャネルコマンド実行手段とを有し、次レコードの
アドレス情報をデータレコード内に含むデータ処理シス
テムにおいて、 前記読み込みチャネルコマンド実行手段から呼び出され
、レコードから次レコードアドレス情報を読み込む次レ
コードアドレス情報読み込み手段と、 前記次レコードアドレス情報読み込み手段により得られ
た次レコードアドレス情報を記憶する次レコードアドレ
ス情報記憶手段と、 次レコード読み込みチャネルコマンドが要求された場合
に、前記次レコードアドレス情報記憶手段より次レコー
ドアドレス情報を得て自動的に次レコードアドレス情報
の示すデータレコードを読み込む、次レコード読み込み
チャネルコマンド実行手段とを設けて構成される。
The data record input/output method of the present invention includes an auxiliary storage device that controls input/output to data records stored in a storage medium, and a central processing unit that sends requested channel commands to the auxiliary storage device. It has a channel command analysis means for analyzing a data record, a channel command execution means for positioning a data record to execute a process, and a read channel command execution means for executing a read process for a data record, and has address information of the next record. in a data record, the next record address information reading means being called by the reading channel command execution means and reading the next record address information from the record; and the next record obtained by the next record address information reading means. Next record address information storage means for storing address information; and when a next record read channel command is requested, next record address information is obtained from the next record address information storage means and data indicating the next record address information is automatically obtained. It is constructed by providing a next record read channel command execution means for reading a record.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

まず本実施例の構成について述べる。第1図において、
1.1は中央処理装置、1.11は読み込みチャネルプ
ログラム、1.12は位置付はチャネルコマンド、1.
13は読み込みチャネルコマンド、1.14は次レコー
ド読み込みチャネルコマンド、1.2は補助記憶装置、
1.21はチャネルコマンド解析手段、1゜22は位置
付はチャネルコマンド実行手段、1.23は読み込みチ
ャネルコマンド実行手段、1.24は次レコードアドレ
ス情報読み込み実行手段、1.25は次レコード読み込
みチャネルコマ・ンド実行手段、1.26は次レコード
アドレス情報記憶手段、1.3は記憶媒体、1.30は
レコード、1.31はデータレコード、1.32は次レ
コードアドレス情報である。
First, the configuration of this embodiment will be described. In Figure 1,
1.1 is the central processing unit, 1.11 is the read channel program, 1.12 is the channel command for positioning, 1.
13 is a read channel command, 1.14 is a next record read channel command, 1.2 is an auxiliary storage device,
1.21 is a channel command analysis means, 1°22 is a channel command execution means, 1.23 is a reading channel command execution means, 1.24 is a next record address information reading execution means, 1.25 is a next record reading 1.26 is a next record address information storage means, 1.3 is a storage medium, 1.30 is a record, 1.31 is a data record, and 1.32 is next record address information.

ここで本実施例動作について図面を参照して説明する。Here, the operation of this embodiment will be explained with reference to the drawings.

第1図を参照すると、補助記憶装置1.2に対して中央
処理装置1.1は、読み込みチャネルプログラム1.1
1を発行する。読み込みチャネルプログラム1.11は
、位置付はチャネルコマン)’1.12と、読み込みチ
ャネルコマンド1゜13と、次レコード読み込みチャネ
ルコマンド1.14とからなる。
Referring to FIG. 1, the central processing unit 1.1 has a read channel program 1.1 for the auxiliary storage device 1.2.
Issue 1. The read channel program 1.11 consists of a channel command (positioned as a channel command)'1.12, a read channel command 1.13, and a next record read channel command 1.14.

補助記憶装置1゜2は読み込みチャネルプログラム1.
11の位置付はチャネルコマンド1゜12をチャネルコ
マンド解析手段1.21で解析し、位置付はチャネルコ
マンド実行手段1.22でデータレコード1.31に位
置付ける。その後、読み込みチャネルコマンド1.13
を前記チャネルコマンド解析手段1°、21で解析し、
読み込みチャネルコマンド実行手段1.23によって記
憶媒体1.3に対して読み込木動作を行い、レコード1
.30を読み込む。その後火レコードアドレス情報読み
込み手段1.24で、次レコードアドレス情報1.32
を読み込み、次レコードアドレス情報記憶手段1.26
によって前記次レコードアドレス情報1.32を記憶す
る。補助記憶装置1.2は、複数の次レコード読み込み
チャネルコマンド1.14を前記チャネルコマンド解析
手段1.21で解析し、次レコードアドレス情報記憶手
段1.26によって記憶された次レコードアドレス情報
をもとに、次レコード読み込み実行手段1.25で、次
レコードの位置付けを行い読み込み動作を行う。
The auxiliary storage device 1.2 stores the read channel program 1.
The channel command 1.12 is analyzed by the channel command analysis means 1.21, and the channel command execution means 1.22 positions it in the data record 1.31. Then read channel command 1.13
is analyzed by the channel command analysis means 1°, 21,
The read channel command execution means 1.23 performs a read tree operation on the storage medium 1.3, and records 1.
.. Load 30. After that, the next record address information 1.32 is read by the record address information reading means 1.24.
Read next record address information storage means 1.26
Then, the next record address information 1.32 is stored. The auxiliary storage device 1.2 analyzes a plurality of next record read channel commands 1.14 with the channel command analysis means 1.21, and also analyzes the next record address information stored by the next record address information storage means 1.26. Then, the next record reading execution means 1.25 positions the next record and performs the reading operation.

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

以上説明したように本発明は、レコード連続読みを行う
場合にういて、次レコード読み込みを上位装置(中央処
理装置)の介入なしに行うものである。したがって、次
レフ−Fの読み込みを下位装置(補助記憶装置)のみで
行うため、媒体との同期を失うことなく最短の時間で読
み込みができ、上位装置がアドレス情報の解析をしなく
てもよいので上位装置の負担を少なくするという効果が
ある。
As explained above, in the case of reading records continuously, the present invention reads the next record without intervention from a host device (central processing unit). Therefore, since the next reflex-F is read only by the lower-level device (auxiliary storage device), it can be read in the shortest possible time without losing synchronization with the medium, and the higher-level device does not have to analyze the address information. This has the effect of reducing the burden on the host device.

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

第1図は、本発明の一実施例の構成を示すブロック図、
第2図は従来の技術によるデータレコード入出力方式の
構成の一例を示すブロック図である。 1.1・・・・・・中央処理装置、1.11・・・・・
・読み込みチャネルプログラム、1・、12・・・・・
・位置付はチャネルコマンド、1.13・・・・・・読
み込みチャネルコマンド、1.14・・・・・・次レコ
ード読み込みチャネルコマンド、1.2・・・・・・補
助記憶装置、1.21・・・・・・チャネルコマンド解
析手段、1.22・・・・・・位置付はチャネルコマン
ド実行手段、1.23・・・・・・読み込みチャネルコ
マンド実行手段、1.24・・・・・・次レコードアド
レス情報読み込み手段、1.25・・・・・・次レコー
ド読み込み≠ヤネルコマンド実行手段、1.26・・・
・・・次レコードアドレス情報記憶手段、1.3・・・
・・・記憶媒体、1,30・・・・・・レコード、1゜
31・・・・・・データレコード、1.32・・・・・
・次レコードアドレス情報。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention;
FIG. 2 is a block diagram showing an example of the configuration of a data record input/output method according to the prior art. 1.1...Central processing unit, 1.11...
・Reading channel program, 1..., 12...
- Positioning is channel command, 1.13...read channel command, 1.14...read next record channel command, 1.2...auxiliary storage, 1. 21...Channel command analysis means, 1.22...Location is channel command execution means, 1.23...Reading channel command execution means, 1.24... ...Next record address information reading means, 1.25...Next record reading ≠ Yanel command execution means, 1.26...
...Next record address information storage means, 1.3...
...Storage medium, 1,30...Record, 1゜31...Data record, 1.32...
・Next record address information.

Claims (1)

【特許請求の範囲】 記憶媒体中に記憶されたデータレコードに対する入出力
を制御する補助記憶装置と、中央処理装置から前記補助
記憶装置に対して要求されたチャネルコマンドを解析す
るチャネルコマンド解析手段と、データレコードに対す
る位置付け処理を実行する位置付けチャネルコマンド実
行手段と、データレコードに対する読み込み処理を実行
する読み込みチャネルコマンド実行手段とを有し次レコ
ードのアドレス情報をデータレコード内に含むデータ処
理システムにおいて、 前記読み込みチャネルコマンド実行手段から呼び出され
、レコードから次レコードアドレス情報を読み込む次レ
コードアドレス情報読み込み手段と、 前記次レコードアドレス情報読み込み手段により得られ
た次レコードアドレス情報を記憶する次レコードアドレ
ス情報記憶手段と、 次レコード読み込みチャネルコマンドが要求された場合
に、前記レコードアドレス情報記憶手段より次レコード
アドレス情報を得て自動的に次レコードアドレス情報の
示すデータレコードを読み込む、次レコード読み込みチ
ャネルコマンド実行手段とを設けて成ることを特徴とす
るデータレコード入出力方式。
[Scope of Claims] An auxiliary storage device that controls input/output to data records stored in a storage medium, and channel command analysis means that analyzes a channel command requested from a central processing unit to the auxiliary storage device. , a data processing system including positioning channel command execution means for performing positioning processing on a data record, and read channel command execution means for performing reading processing on a data record, and including address information of a next record in the data record, a next record address information reading means that is called by the read channel command execution means and reads next record address information from the record; and a next record address information storage means that stores the next record address information obtained by the next record address information reading means. , next record read channel command execution means for obtaining next record address information from the record address information storage means and automatically reading a data record indicated by the next record address information when a next record read channel command is requested; A data record input/output method characterized by comprising:
JP14033289A 1989-06-01 1989-06-01 Data record input/output system Pending JPH035807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14033289A JPH035807A (en) 1989-06-01 1989-06-01 Data record input/output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14033289A JPH035807A (en) 1989-06-01 1989-06-01 Data record input/output system

Publications (1)

Publication Number Publication Date
JPH035807A true JPH035807A (en) 1991-01-11

Family

ID=15266363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14033289A Pending JPH035807A (en) 1989-06-01 1989-06-01 Data record input/output system

Country Status (1)

Country Link
JP (1) JPH035807A (en)

Similar Documents

Publication Publication Date Title
CN108198582B (en) NAND Flash control method and device and SSD
JPH035807A (en) Data record input/output system
JPH05257758A (en) System for sampling transaction execution trace information
JPH04266130A (en) File recall control system
JPS63276629A (en) Sorting system for record in file
JPH03246645A (en) Data management system
JPH02257349A (en) Network address setting system
JPH0290255A (en) Automatic recognition system for constitution of input/ output device
JPH04328644A (en) Debug back-up device
JPH04195682A (en) Data processor
JPH0511831A (en) Machining program analysis method in NC controller
JPH02165359A (en) Data processing system
JPH05250210A (en) Program trace system
JPS62192826A (en) File writing system
JPH02109147A (en) Memory dump collection system
JPH04335447A (en) Data collecting method at the time when exception is generated
JPH02220151A (en) Variable length data access system
JPH05143422A (en) Updated journal managing system
JPS6344240A (en) Program processing control system
JPH06208489A (en) Program-sorted record division managing system
JPH0293933A (en) Program developing device
JPH04128936A (en) Program execution environment changeover system
JPS63201740A (en) Data editing system for service processor
JPH08328911A (en) Command log system and command log method for computer system
JPH02308355A (en) Input procedure management system for interpreter