JPS58197559A - Data transferring method - Google Patents

Data transferring method

Info

Publication number
JPS58197559A
JPS58197559A JP7976982A JP7976982A JPS58197559A JP S58197559 A JPS58197559 A JP S58197559A JP 7976982 A JP7976982 A JP 7976982A JP 7976982 A JP7976982 A JP 7976982A JP S58197559 A JPS58197559 A JP S58197559A
Authority
JP
Japan
Prior art keywords
data
transfer
record
physical record
area
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.)
Granted
Application number
JP7976982A
Other languages
Japanese (ja)
Other versions
JPS6367210B2 (en
Inventor
Takashi Karasawa
柄沢 隆
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
Fuji Electric Manufacturing 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 Fuji Electric Co Ltd, Fuji Facom Corp, Fuji Electric Manufacturing Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP7976982A priority Critical patent/JPS58197559A/en
Publication of JPS58197559A publication Critical patent/JPS58197559A/en
Publication of JPS6367210B2 publication Critical patent/JPS6367210B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a load on a central processing unit during the execution of a program and to improve an execution speed by only specifying transfer specifying information during the development of a user program and accessing a data transfer subroutine, and thus generating the program. CONSTITUTION:A discrimination on whether an initial access address is in the same physical record with a final access address or not is made by processing 30, and an advance to processing 37 when so or to processing 31 when not is made. Further, a discrimination on whether the initial access address and final access address are both boundary addresses of the physical record or not is made by the processing 37 and an advance to processing 36 when so or to processing 38 when not is made. Furthermore, a discrimination on whether there is a physical record to be transferred left between the physical record including the initial address and the physical record including the final access address or not is made by processing 35, and an advance to the end when so or to the processing 36 when not is made.

Description

【発明の詳細な説明】 この発明はリアルタイム処理されるT集用針1機システ
ムの主記憶装置と補助記憶装置との間のデータ転送方法
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer method between a main storage device and an auxiliary storage device of a single T collection needle system that performs real-time processing.

中央処理装置が補助記憶装置から主記憶装置へ、或は逆
に主起「1装置から補助記憶装置へデータ転送するとき
、その所要時間は中央処理装置における数千〜数万ステ
、プ分の命令実行時間に相当し、転送が柚繁になるとそ
の影響を無視できないため、その遂行時間を短くし、か
つプログラム作成も容易であることが望まれる。
When the central processing unit transfers data from the auxiliary storage device to the main storage device, or vice versa, the time required is several thousand to tens of thousands of steps in the central processing unit. This corresponds to the instruction execution time, and if the transfer becomes long, the effect cannot be ignored, so it is desired that the execution time be shortened and programs can be created easily.

従来補助記憶装置上のデータをアクセスするKは、・・
−ドウエア上の制約および2進表現の便利のため64.
128.256 @またはバイトなどを単位として行い
(この単位を以下物理レコードと呼ぶ)・また補助記憶
装置固有の先頭アト、レスから物理レコード長ごとに物
理レコードの境界と定め、データ転送を行う際には物理
レコードの先頭境界アドレスから物理レコード長の整数
倍のデータを転送することが知られている。すなわち、
物理レコードとは先頭境界アドレスと長さの両方を定義
するものである。
Conventionally, K accessing data on an auxiliary storage device is...
- Due to hardware constraints and convenience of binary representation 64.
128.256 @ or byte is used as a unit (this unit is referred to as a physical record hereinafter). Also, when data is transferred, the physical record boundaries are defined for each physical record length from the first address and address unique to the auxiliary storage device. It is known that data of an integral multiple of the physical record length is transferred from the start boundary address of the physical record. That is,
A physical record defines both the start boundary address and length.

データ転送にはよみだし、かきこみが考えられ゛るが、
転送のみに着目すると両者は転送方四のみ異にするから
、以下よみだしKついてのみ述べる。
Reading and writing can be considered for data transfer,
If we focus only on transfer, the two differ only in four transfer methods, so we will only discuss K in the following.

個々の利用者プログラムで扱うデータのアドレスを指定
して転送するKは従来データファイルごとに「間接N語
転送」と「直接レコード転送」の手法のいずれかが択一
的に採用されているが、それぞれ次に説明するように一
長一短がある。
Conventionally, for K, which specifies and transfers the address of data handled by individual user programs, either ``indirect N-word transfer'' or ``direct record transfer'' has been selectively adopted for each data file. , each has advantages and disadvantages as explained below.

(1)間接N語転送 利用者プログラムが取り扱う種々のデータのうち、類似
グループのデータととにファイルとしてまとめると、フ
ァイルごとに属するデータ量が質るので既に述ヘタ物理
レコードのlまかに、ファイルに応じて内部データを取
り扱うのに好都合なデータ量を選んで単位の論理レコー
ドとし、この単位でファイル構成する。
(1) Indirect N-word transfer Among the various data handled by the user program, if similar groups of data are grouped together as a file, the amount of data belonging to each file will increase, so it is already possible to , select an amount of data that is convenient for handling internal data according to the file, set it as a unit of logical record, and configure the file in this unit.

4411472 (atは従来方式による14接N11
li転送説明図C滲・5.J)lイル名称またはファイ
ル[1補助ta2 ltMi瀘内°Cリノ7rイル格納
先頭アドレス、先頭物I4!〆コード4に@、lWk埋
レクし ド由りワード数、=mwb−a−+パ数などの
チーノル設定悄@な変換チーノルとし゛〔予め用意して
おき、利用者プログラムがそのファイルデータと(−て
論理レコード領域7 A 、 ”/ H、7G + 7
 D・・7P、7Qから成るファイルを上配置麺th1
c鯉内の/ログラム用格納領域C以下ユーヂ11Ili
域と叶ふ)5に転送するeこ当り、補助記憶装置す内σ
ノフfイル名称またはファイル番号と、必要とする先−
輪埋レコード7Aの番号と転送論理レフ−、ド数とユー
ザ領域5などの情報(以下転送指定情報と呼ぶ)を指定
して間接NI!転送サシルーチンに呼べは、変換テーブ
ルを参照して先頭論理レフ・−ドアAの番号により定ま
る先1117クセスアドレスISを含む物理レコード2
人の番号、転送物理レコー ド2A、2B、2C・・・
2M、2Nの総レコード数を抽出tて、まず先lIAア
クセスアドレスISを含む物理レコード2人内のデータ
を主記憶装置上の作業領域3t\転送(1’)tTA 
)イる。この作業領置3を工主紀憶装置内で実行中の1
gグラム内でもよいし、主記憶常軒債砿内でもよい。
4411472 (at is 14 contact N11 according to the conventional method
li transfer explanatory diagram C 5. J) file name or file [1 auxiliary ta2 ltMi 瀘内°C reno 7r file storage start address, first item I4! 〆Enter @, lWk in code 4, set the number of words, = mwb - a - + number of pa, etc. as an easy conversion key. - Logical record area 7A, ”/H, 7G + 7
D... Place the file consisting of 7P and 7Q on the noodles th1
/log storage area in c carp below Yuji 11Ili
Area and Kanofu) Transfer to 5 e error, auxiliary storage device σ
File name or file number and required destination.
Indirect NI! by specifying information such as the number of the ring record 7A, the transfer logic reflex, the number of dots, and the user area 5 (hereinafter referred to as transfer specification information)! The transfer routine calls the physical record 2 containing the destination 1117 access address IS determined by the number of the first logical reflex door A by referring to the conversion table.
Person number, transfer physical record 2A, 2B, 2C...
Extract the total number of records 2M and 2N, and first transfer the data in the two physical records including the IIA access address IS to the work area 3t on the main storage (1') tTA
) Come on. This work storage 3 is currently being executed in the builder's storage device.
It may be within the g-gram or within the main memory.

第1図fbl iX p1図falKおける番号と同じ
番号は同じものを表わすとした物場しコ・−ド2Aの拡
大図であって、作業領域3中、最初の物理レコード2人
における先頭論理レコード7への先頭アクセスアドレス
18から物理レコーF2Aの最終アドレスマチの利用者
ノログラムが必要とする部分4が転送さJまた領域に対
し、ワード単位でアクセス(WIJT)してユーザ領域
5・\うつす。この場合物理レフ−FZA中、先頭アク
セスアドレスISより前の部分は対象外であり不!部分
となる。
Fig. 1 fbl iX p1 Fig. falK is an enlarged view of physical code 2A, in which the same numbers as those in falK represent the same thing, and in work area 3, the first physical record and the first logical record for two people. The part 4 required by the user program from the first access address 18 to the last address of the physical record F2A is transferred to the user area 5 by accessing (WIJT) the area in units of words. In this case, the part before the start access address IS in the physical reflex-FZA is out of scope and cannot be used! become a part.

一図(mlに示すように所望のデータ領域が1物瑠レコ
ード内におさまらない場合、物理レコード2Aの次の物
ルコードznj[FIMアクセスアドレスIEを含む物
理レコード2Nf)llf前の物理レコード2Mまでの
転送な愉埋レコード単位で作業領域3に転送(PI(、
TB・・・P)1.TM>した後、ワード単位でユーザ
領域5へうつす(WjJT)ことをくり返し、最終(5
) 物理レ−】−ド2NKついては先頭物理レコード2人に
対すると同様に、まず物理レコード2Nのデータを主記
憶装置上の作業領域3へ転送(PRTN)L、物理l/
コード2N1(おける利用者ソpグラムが必要と−Cる
部分10(同図(clに拡大図を示す)に対応する領域
を作業領域3からユーザ領域5ヘワード単位でうつして
(WUT)完了する。
Figure 1 (If the desired data area does not fit within one record as shown in ml, the next physical record code znj of physical record 2A [physical record 2Nf including FIM access address IE) llf up to the previous physical record 2M Transfer to work area 3 in units of recorded records (PI(,
TB...P)1. TM>, repeat the transfer (WjJT) to the user area 5 in word units, and then transfer the final (5
) As for physical record 2NK, first transfer the data of physical record 2N to work area 3 on the main storage device (PRTN)L, then physical
Code 2N1 (transfers the area corresponding to the -C part 10 (same figure (enlarged view shown in cl)) from the work area 3 to the user area 5 in word units (WUT) is completed. .

同図(atに示すようにファイルは論理レコード7A、
 7R,7C,7D・・・7P、7Qで構成され、利用
者プログラムは転送指宅情報を指定するだけで予め設け
た変換テーブルを参照して論理レコード情報を物理レコ
ード情報に転換して作業領域3へのよみだしと、ワード
単位でのユーザ領域5への移動を1ぺてクローズドサブ
ルーチン処理するためプログラム開発時の負担を軽減で
きる。しかし、先頭と最終の物理レコード2A、2Nの
みならず中間の物理レコード2B、2C・・・2Mにつ
いてもワード転送(W U 1” )を必要とするので
遂行速度がおそくなる欠点がある。
As shown in the same figure (at), the file has logical record 7A,
Consisting of 7R, 7C, 7D...7P, 7Q, the user program simply specifies the transfer destination information, converts the logical record information to physical record information by referring to the conversion table prepared in advance, and saves the work area. 3 and movement to the user area 5 in word units are processed in a single closed subroutine, so the burden during program development can be reduced. However, since word transfer (W U 1'') is required not only for the first and last physical records 2A, 2N but also for the intermediate physical records 2B, 2C, . . . 2M, there is a drawback that the execution speed is slow.

(6) (21接レコード転逢 第2図(at 、 fbl 、 (cl 、 fdlは
従来方式による直接レコー・ド転送説明図で本、って、
利用者ノログラムの参照するデータに応じて予めファイ
ル名称またはyrイル番号、ファイル格納先!4アドレ
ス、先績物坤しコード番号、1論坤レコード当りワード
数、論理レコード数などのツーゾル設定情報を変換デー
プルとして用意しておき、利用者プログラムの主プログ
ラムがそのファイルデータをアクセスする際に、ファイ
ル名称またはファイル番号、必要とする先端MI埋レし
−ド杏号、必要論理レコード数。
(6) (21 Direct record transfer Figure 2 (at, fbl, (cl, fdl) is an explanatory diagram of direct record transfer using the conventional method.
Depending on the data referenced by the user program, specify the file name or file number and file storage location in advance! 4 address, future code number, number of words per record, number of logical records, etc. are prepared as a conversion table, and when the main program of the user program accesses the file data. In addition, the file name or file number, the required tip MI filling code number, and the required number of logical records.

ユーザ値域の位置などの転送指定情報を指定するのは間
接N語転送とrFIJ様であるが、特に異なるところは
サグルーチン内でファイルの論理レコード構成を物理レ
コード情報に変換しy:とき、必要とする先潰論理レコ
ード番号の先頭アドレス、っまっ先w4アクセスアドレ
スと、必要とするl1kI/4論増レコ一ド番号の最終
アドレス、っまり要路7クセスアドレスとを含む物理レ
コード竣に不要曽域がありCも、当#el!l埋レコー
ド全域を必要部分とみなし1作条領域を設けずファイル
領域6がらユーザ値域すへ直接に転送°fることである
Indirect N-word transfer and rFIJ specify transfer specification information such as the position of the user range, but the main difference is that the logical record structure of the file is converted into physical record information within the sag routine. It is unnecessary to complete a physical record that includes the first address of the logical record number to be used, the first w4 access address, and the final address of the required l1kI/4 logical record number, which is the main route 7 access address. There is a range and C, this #el! The entire area of the filled-in record is regarded as a necessary part, and the data is directly transferred from the file area 6 to the user range without providing a single print area.

例えば第2図[alは所望ツーrイルが論理レコード8
A、bB、8Cから構成され、わり))て位置の関係か
ら倫理レシート2B、2C内のゲータをすべて夕要と−
するが、物理レコード2AP3には一部不要個所(同図
(alの−II!Isンがあり、同図1t、lでは物理
レコード2A、2B内のデータをすべて必要とするが、
物理し」−12C内には一部不要個所(同図(−の碍繍
部)があり、 1LfJ図(clでは物理レコード2B
内のデータケすべて必要とするが、物理レコード2A、
20MKは一部不fli#轡(IIy1図(clの斜線
部)があるが、いずれのm酋でも物理レコード2A、2
B、2Cを完全にユー領域域5(同図(dl # [)
へ転送(P)jT)する。
For example, in Figure 2 [al is the desired tool file is logical record 8]
It is composed of A, bB, and 8C, and due to their position, all of the gators in Ethics Receipt 2B and 2C are considered to be Yuka.
However, physical record 2AP3 has some unnecessary parts (-II!
There are some unnecessary parts (the same figure (- embroidered part)) in 12C, 1LfJ figure (physical record 2B in cl).
Physical record 2A, physical record 2A,
20MK has some missing fli#轡(IIy1 diagram (shaded area in cl), but physical record 2A, 2
Completely move B and 2C to U area 5 (same figure (dl # [)
Transfer (P)jT) to.

このよ5に直接レコード転送においては、間接N#転送
と真なり、物理レコード率位でユーザ領域5に直接転送
されるので中央処理装置に転送の負担がかρ・らないが
、ファイルI!に#Tt時に適切な割り付けt4瀘する
が転送遂行後に利用者プログラムの主プログラムで必要
部分と不Jj1部分を11しなけわはならないのでステ
、プ数がふえプログラム開発時の負担が大きい@ 本発明は上記欠点を除くためになされたもので、その目
的は間接Nli転送と直接レコード転送の機能を併有し
、双方の長所をとり入わたクローズドタイプのデータ転
送サグルーチンを用意し、利用者プログラムが摩り扱う
種々のデータの5も、類似グループに属するデータをま
とめてファイルとし、ファイルととにテークを取り扱う
に適した論理レコード長を予め定めておいて、テーブル
設定tTh報から成る変換デーゾルを作成しておき、利
用者ノロクラム開発時には転送指定情報を指定し、てテ
ーク転送サブルーチンを呼ぶの、みでプログラム作成で
き、プログラム遂行に当っては中央処理装置の負担を春
減して実行速度を向上させる方法を提供するにある。
In direct record transfer 5, this is true as indirect N# transfer, and the physical record rate is directly transferred to the user area 5, so there is no transfer burden on the central processing unit, but file I! At #Tt, an appropriate allocation t4 is made, but after the transfer is completed, the main program of the user program has to do 11 of the necessary and unnecessary parts, which increases the number of steps and creates a heavy burden during program development. The invention was made to eliminate the above-mentioned drawbacks, and its purpose is to provide a closed-type data transfer sag routine that combines the functions of indirect Nli transfer and direct record transfer, and incorporates the advantages of both, and to provide a user program. 5. Of the various data handled by the company, data belonging to similar groups are compiled into a file, a logical record length suitable for handling the files and takes is determined in advance, and a conversion data consisting of table setting information is created. Once created, a program can be created by simply specifying the transfer specification information and calling the take transfer subroutine when developing the user program. When executing the program, the load on the central processing unit is reduced and the execution speed is increased. To provide ways to improve.

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

利用者プログラムで使用するデータファイルを設計する
に当り、複数のデータ群それぞれに打部(9) 合なデータ数から成る論理レコード構成で7 r(ルに
まとめ、ファイルに関する変換テーブルを作成しておく
ことは従来方式と同様である0観3図は本発明の5i!
施例によ′/)変遺ナー;メル図であって、複fi7ア
イル中の成るファイルのための変換ノープル(CVT)
9には、内部コードその頗特定コード表現によるファイ
ル茗+ト斌域、ファfル番号−城、フ゛rイルの先頭物
理レコード4号と格納先頭アドレス領域、l−理J/:
J−ド当りワード数領域′。
When designing a data file to be used in a user program, it is necessary to create a conversion table for the file by combining multiple data groups into a logical record structure consisting of the same number of data (9) and creating a conversion table for the file. The 0-view 3 diagrams, which are the same as the conventional method, are the 5i! of the present invention!
By example'/) Variant; Mel diagram, conversion nople (CVT) for files consisting of multiple fi7 files.
9 contains the internal code, which is expressed by a specific code, the file number, the file number, the first physical record No. 4 of the file, and the first storage address area, and the first physical record number of the file.
J-word per card area'.

全輪印レコード数(n))領域を含む。このは力・−′
こ作業領域参照のための作業線域情報も必−々Cあるが
、計算機システム全体とし〔共通σ・システムテーブル
に格納されることが多いので省く。
Includes the total number of stamp records (n) area. This is power・−′
There is also work line area information C for reference to this work area, but it is omitted because it is often stored in the common σ system table for the entire computer system.

第4区は本発明の実施例によるデ・−夕転送すツルーチ
ンのフローチャート、第5図は本発明σ)実施例による
データ転送説明図である。8145図においては第1図
(al各部の番号と同じ一部)工面じものな表わすとし
、以下に第3図、第4図、鯖5図をあわせ参照して本発
明のテーク転送サブルーチンの動作を説明する。
Section 4 is a flowchart of a data transfer routine according to an embodiment of the present invention, and FIG. 5 is an explanatory diagram of data transfer according to an embodiment of the present invention. In Figure 8145, the same parts as in Figure 1 (the same numbers as each part) are shown, and below, with reference to Figures 3, 4, and 5, the operation of the take transfer subroutine of the present invention will be explained. Explain.

(10) まず処理30では先頭アクセスアドレスと#終7クセ7
アドレスとが同一物理レコード内にあるかどうかt判定
し、同一物理レコード内にあれば処理37に、同−物理
レコード内になければ処理31に進む。館5図の構成で
は先頭アクセスアドレスは領域Is、 !終了クセス7
−ドレスは領域IEであり。
(10) First, in process 30, the start access address and #end 7 habit 7
It is determined whether the address and address are in the same physical record, and if they are in the same physical record, the process goes to step 37, and if they are not in the same physical record, the process goes to step 31. In the configuration shown in Figure 5, the first access address is area Is, ! Ending process 7
- The dress is an area IE.

同一物理レコード内にないから処1131に進む・次に
処理37では先頭アクセスアドレスと最終アクセスアド
レス共に物理レコードの境界番地であル、(つまり先頭
アクセスアドレスと最終アクセスアドレスとは同一の物
理レコード内にありて、七オ(ぞh先i、*i境界アド
レスである)かどうかを判定し、YESなら処理36(
後述)K、No なら処、身38に進む。
Since they are not in the same physical record, proceed to step 1131.Next, in step 37, the first access address and the last access address are both physical record boundary addresses (that is, the first access address and the last access address are in the same physical record). , it is determined whether the address is 7 (the next i, *i is the boundary address), and if YES, the process 36 (
(Described later) K, No If so, proceed to body 38.

処理38は間接N語転送サブルーチンであす、先頭アク
セスアドレスと最終アクセスアドレスとの間のデータを
間接N@転送する。
Process 38 is an indirect N word transfer subroutine that indirectly transfers data between the first access address and the last access address.

処理31では先頭アクセスアドレスが物理レコードの先
頭境界7ドレスかどうかを判定し、 YIif8なら処
理33(後述)に、NOなら処理32に進む。
In process 31, it is determined whether the first access address is the first boundary 7 address of the physical record. If YIif8, the process proceeds to process 33 (described later); if NO, the process proceeds to process 32.

第5図の集成では先願境界アドレスでないから処理32
に進む。処■32は間接NWM転送サブルーチンであり
、先頭アクセスアドレスを含む物理レコードにつ〜1て
先頭アクセスアドレスからl&終境杵アドレスまでを間
接N胎転送して処理33に進む〇#!5図の構成では領
域ISから始まる物理レフ−1゜2Aをユーザ領域5に
間接Nm転送(PR,TとXytJT組合わせ)゛する
In the collection of FIG. 5, it is not a first application boundary address, so process 32
Proceed to. Process 32 is an indirect NWM transfer subroutine, which indirectly transfers the physical record from the first access address to the l&destination address for each physical record that includes the first access address, and proceeds to process 33〇#! In the configuration shown in FIG. 5, physical reflex 1.2A starting from area IS is indirectly transferred Nm to user area 5 (combination of PR, T and XytJT).

兜埋33では轍路7クセス゛、Fドレスが物理レコード
の最終境界アドレスかどうかを判定し、ygsなら処理
35(後述)K%Noなら処理34に進む。
In the burying step 33, it is determined whether or not the F address is the final boundary address of the physical record in the 7th rut.

第5図の構成ではI6E紀境界゛γドレスでないから処
理34に進む0処理34番ツ、間接N飴転送サブルーチ
ンであり、最終アクセスアトレアを含む物理レコード、
・、ついてその先願境界アドレスから4% 43アクセ
スアドレスまでを間接N飴転送L−’C処理35 Kf
iむ・第5図の構成では領域IEで終る物理レコード2
Nをユーザ像域5に間接N@転送(PRTとWIJT組
合わせプする。
In the configuration shown in FIG. 5, since it is not the I6E era boundary γ address, the process goes to process 34. Process No. 34 is an indirect N candy transfer subroutine, and the physical record including the last access atrea,
・Indirect N candy transfer L-'C processing 35 Kf from the earlier application boundary address to 4% 43 access address
In the configuration shown in Figure 5, physical record 2 ends in area IE.
Indirect N@ transfer (PRT and WIJT combination) to the user image area 5.

迅埋35では先頭アクセスアドレスを含む1即しコー)
’ト、最終アクセスアドレスを含ム物llレコードとの
間に転送すべき物理レコードが残っているかとうr・・
を判定し、Noなら終了し、 Ylii8なら処理36
に進む。算5図の構成では物理レコード2B〜2Mが残
っているから処1136に進む。処1136は直接レコ
ード転送サブルーチンであり、完全な物理レコードを既
に述べた直接レコード転送サブルーチンの手順に従って
転送する。$1!5図の構成では物理レコード2B〜2
Mをユーザ領域SKi[俵レコード転送(PTtT)す
る。処1136を終ればデータ転送サブルーチンは終了
し主プログラムに戻る。
In quick burial 35, 1 immediate code including the first access address)
'I wonder if there are any physical records left to be transferred between the last accessed address and the original record.
Determine, if No, end, if Ylii8, process 36
Proceed to. In the configuration shown in Figure 5, physical records 2B to 2M remain, so the process advances to step 1136. Process 1136 is a direct record transfer subroutine that transfers a complete physical record according to the procedure of the direct record transfer subroutine previously described. $1!5 In the configuration shown in the diagram, physical records 2B to 2
Transfer M to user area SKi [Tawara record transfer (PTtT). Upon completion of step 1136, the data transfer subroutine ends and returns to the main program.

な3.iこのデータ転送サブルーチンはクローズドタイ
ブになっていわば好都合である。こるして第5図に示−
tデータ転送TR,N8Fが完了する。
3. iThis data transfer subroutine is conveniently closed type. This is shown in Figure 5.
t data transfer TR, N8F is completed.

一般的な位置にデータわりつけされ7S:ファイルにつ
いてファイルデータを従来の間接N語転送のみで転送す
る第1図(atのデータ転送時間と、同じ従来方法によ
るときの転送所要時間T、は(13) Tl =Tit +Ta2 +’rasここKTal:
ファイルの先頭アクセスアドレスを含む物理レコード内
デ ータの間接N語転送時間 TaJニアフィルの中間物理レコード 内データの間*N語転送時間 T@@ :ファイルの最終アクセスアドレスを含む物理
レコード内デ ータの間接N語転送時間 であり、また本発明の方法によるときの転送所要時間T
bは第S図を参照して Tb−Tbt +T1)g+Tbm ここにTb1 * 7アイルの先頭アクセスアドレスを
含む物理レコード内デ ータの間接Ni1転送時間 Tb1 : 7アイルの中間物理レコード内データの直
接レコード転送 時間 Tb1ニア7(ルノ最終アクセスアド レスを含む物理レコード内デ ータの間接N語転送峙間 (14) である。
Data is assigned to a general position and the file data is transferred using only the conventional indirect N-word transfer for the 7S: file. ) Tl = Tit + Ta2 + 'ras here KTal:
Indirect N-word transfer time of data in the physical record that includes the first access address of the file TaJ Between data in the intermediate physical record of near fill *N-word transfer time T@@: Indirect N of the data in the physical record that includes the final access address of the file It is the word transfer time, and the transfer time T when using the method of the present invention.
For b, refer to Figure S: Tb-Tbt +T1)g+Tbm Here, Tb1 * Indirect Ni1 transfer time of data in the physical record including the first access address of 7 aisles Tb1: Direct record transfer of data in intermediate physical records of 7 aisles Time Tb1 near 7 (interval (14) for indirect N-word transfer of data in the physical record including the final access address).

時間T8とTbを比較すると、それぞれのm1llT1
と’rbt I第3項Ta、と’f’bsは今まで説明
してきたところから同一であるからs JR2填’r、
1とTblのみ比較すればよい。
Comparing time T8 and Tb, each m1llT1
and 'rbt I third term Ta, and 'f'bs are the same from what has been explained so far, so s JR2 filling 'r,
1 and Tbl only need to be compared.

いま補助記憶装置内の所定物理レコードをアクセス開始
するまでの平均所要時間をT1(時間)。
The average time required to start accessing a predetermined physical record in the auxiliary storage device is T1 (hours).

ワード 1物理レコード白りのワード数を” (v =+ −y
 ) *補助記憶装置と主記憶装置との間のデータ転送
速ド2Mまtの中間1増レコード数をnとすれは1間接
N語転送のとfkKは新らしい物理レコードごとにアク
セスタイムを必要とするから T112=aXTt+nXW/V  +nxW/Uここ
KnXTtは総アクセス時間、nxW/V  は作業領
域への総データ転送時間、nXW/Uは主記憶装置内で
の総データ移送時間 であり、また T b2 = T I + n X W/ Vここシて
Tlは最初だけのアクセス時間、 n x W/Vはユ
ーザ領琥への総データ転送時間である。
The number of words in word 1 physical record white (v = + -y
) *If the data transfer rate between the auxiliary storage device and the main storage device is 2M, and the number of additional records is n, then 1 indirect N word transfer and fkK requires access time for each new physical record. Therefore, T112=aXTt+nXW/V +nxW/U where KnXTt is the total access time, nxW/V is the total data transfer time to the work area, nXW/U is the total data transfer time within the main memory, and T b2 = T I + n x W/V where Tl is the initial access time and n x W/V is the total data transfer time to the user terminal.

よっCl+算の結果 Ta−Tb=nX (Tt+W/U)−Ttとなる。Yo Cl + result of calculation Ta-Tb=nX (Tt+W/U)-Tt.

(m11)、U−!−(rLXi)ヲ用イルト、2#S T、−Tb−n x 50.2!16−5o     
 (ms)従っ”(nml、2.3・・・K応じて0.
256 (ms)、50.512 (ms)、15α7
68 (ms )−となり、nが大となる程差は著しく
なる。
(m11), U-! -(rLXi) Ilt, 2#ST, -Tb-n x 50.2!16-5o
(ms) According to "(nml, 2.3...K 0.
256 (ms), 50.512 (ms), 15α7
68 (ms)-, and the larger n becomes, the more significant the difference becomes.

なお上述の比較は一般のデータわりっけの場合について
行なった屯ので、先頭、最終アクセスアドレスの双方が
同一物理レコードにある場合、一方または双方が物理レ
コード境界アドレスである場合、中間物理レコード数n
が00場合など特殊な場合には差の算出式はちがってく
るが省略する。
Note that the above comparison was made for the general data case, so if both the first and last access addresses are in the same physical record, or if one or both are physical record boundary addresses, the number of intermediate physical records n
In special cases such as when is 00, the formula for calculating the difference will be different, but will be omitted.

本発明によれば、ファイル名称またはファイル番号ごと
にファイルの先頭物理レコード番号と格納先頭アドレス
と1論瑠レコード当りワード数と全輪瑠レコード数など
のテーブル設定情報とf)b kノ成る変換テーブルと
、間接N語転送と直接レコード転送機能を併有するクジ
ーズド形のデータ転送サブルーチンを設けであるので、
主記憶装置と補助記憶装置との関にデータ転送を行うに
際し、馴j用者プーダラム内でファイル名称また&エフ
アイル番号と必要とする先頭論理レコード番号と必要と
する論理レコード数とユーザ領域位置などf)転送指定
情報を指定してデータ転送サブル−チンをレトぶのみで
プログラム作成でき、遂行時に4丁サブル−チン内で変
換テープlしを参照して所要データ群の先頭、最終アク
セスアドレスとそれぞれを含(r倫理しコード書号とを
抽出するとともに、完全な物理レコード領域データを直
接レコード転送し、不完全な物理レフード領域データを
間接N11転送するので、開発途中の設計変更により単
位論理レコード当りのデータ量を増減しても、変換チー
ノルの誼当個所のみかきかえればよく、プログラム開発
時の作業効率が高まり、またプログラム遂行時において
も中央Mll懐置装負担を暖滅し、かつ(17) 工業用計負機に不可欠の遂行連応性が得られる。
According to the present invention, for each file name or file number, table setting information such as the first physical record number of the file, the first storage address, the number of words per record, and the total number of records, and f) conversion consisting of b) Since it is equipped with a table and a Kuzyz-type data transfer subroutine that has both indirect N-word transfer and direct record transfer functions,
When transferring data between the main storage and auxiliary storage, the file name or file number, required first logical record number, required number of logical records, user area location, etc. f) You can create a program by simply retrieving the data transfer subroutine by specifying the transfer specification information, and when executing it, refer to the conversion tape in the 4-column subroutine to determine the start and final access address of the required data group. In addition to extracting each code and code, complete physical record area data is transferred directly to the record, and incomplete physical record area data is indirectly transferred to the unit logic. Even if the amount of data per record is increased or decreased, it is only necessary to replace the changed parts of the conversion chain, increasing work efficiency during program development, reducing the burden on the central Mll storage device during program execution, and ( 17) Achieves execution coordination, which is essential for industrial metering machines.

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

第1図は従来方式による間接N語転送説明図、第2図(
al 、 (bl 、 (cl 、 (diは従来方式
による直接レコード転送説明図、第3図は変換テーブル
図、第4図は本発四の実施例によるデータ転送サブル−
チンの7T:1−チャート、第5図は本発明の実施例に
よるデータ転送説明図である。 符奇説明 18.11 :先−9最終アクセスアドレス。 2A、2B、2C・・・2M、2N :物理レコード、
3:作業領域、4,10:先頭、I#終物理レし−ド内
必要部。 Fl、5A、SB、FICニブログラム内領域。 7A、7B、7C,7D・・・7P、7Q、8A、AB
、8C:  論理レフード、30.31〜38;処理、
 9:変換テーブルCVT 、 PRT 、 PRTA
 〜PRTN :物理vコ−)’転送。 WIJT:ワード転送・ (18) (1:r)                    
    (C)TI  図 f3TfU ぶX−
Figure 1 is an explanatory diagram of indirect N-word transfer using the conventional method, and Figure 2 (
al, (bl, (cl, (di) is an explanatory diagram of direct record transfer using the conventional method, FIG. 3 is a conversion table diagram, and FIG. 4 is a data transfer subroutine according to the fourth embodiment of the present invention.
Chin's 7T:1-chart, FIG. 5 is an explanatory diagram of data transfer according to an embodiment of the present invention. Sign description 18.11: Previous-9 final access address. 2A, 2B, 2C...2M, 2N: Physical record,
3: Work area, 4, 10: Start, necessary part in I# end physical read. Fl, 5A, SB, FIC nibogram inner region. 7A, 7B, 7C, 7D...7P, 7Q, 8A, AB
, 8C: Logical Refud, 30.31-38; Processing,
9: Conversion table CVT, PRT, PRTA
~PRTN: Physical VCo-)'Transfer. WIJT: Word transfer (18) (1:r)
(C) TI Figure f3TfU BuX-

Claims (1)

【特許請求の範囲】[Claims] 計算機システムの補助記憶装置内のデータファイルごと
に少くともファイル名称またはファイル番号と先頭アク
セスアドレスと該アドレスを含む物理レコード番号と1
論理レコード当りワード数と全論理レコード数とから成
る質撲テープ!しを設け、主記憶装置内で遂行中の利用
者プロメラム内で論理レコード単位による所望のデータ
領域と自己プログラム用格納領域とを指定して、前記神
助記憶装置内のデータ領域と前記主記憶装置内の自己プ
ログラム用格納領域間のデータ転送すプIレーチンを起
動した際、前記変換テーブルを参照して補助記憶装置内
の転送すべき先頭アクセスアドレスと最終アクセスアド
レスとを抽出し、前記両アクセスアドレス間のデータ中
、物理レコード領域の一部に格納されたデータについて
は間接Nl!転送方法により、また物理レコード領域の
全部に格納されたデータについて+2#L接レコード転
送方法により転送を行うことを特徴とするデータ転送方
法。
For each data file in the auxiliary storage of the computer system, at least the file name or file number, the first access address, the physical record number containing the address, and 1
Quality tape consisting of the number of words per logical record and the total number of logical records! and specify a desired data area and self-program storage area in units of logical records in the user program being executed in the main memory, and specify the data area in the divine assistant memory and the main memory. When the preprocessing program for data transfer between the self-program storage areas in the auxiliary storage device is activated, the conversion table is referred to, and the first access address and the final access address to be transferred in the auxiliary storage device are extracted, and both access addresses are Among the data between addresses, data stored in a part of the physical record area is indirectly Nl! A data transfer method characterized in that data stored in the entire physical record area is transferred using a +2#L contact record transfer method.
JP7976982A 1982-05-12 1982-05-12 Data transferring method Granted JPS58197559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7976982A JPS58197559A (en) 1982-05-12 1982-05-12 Data transferring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7976982A JPS58197559A (en) 1982-05-12 1982-05-12 Data transferring method

Publications (2)

Publication Number Publication Date
JPS58197559A true JPS58197559A (en) 1983-11-17
JPS6367210B2 JPS6367210B2 (en) 1988-12-23

Family

ID=13699409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7976982A Granted JPS58197559A (en) 1982-05-12 1982-05-12 Data transferring method

Country Status (1)

Country Link
JP (1) JPS58197559A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61273689A (en) * 1985-05-29 1986-12-03 Toppan Moore Co Ltd Integrated circuit card containing discriminating means between history information and replacement information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61273689A (en) * 1985-05-29 1986-12-03 Toppan Moore Co Ltd Integrated circuit card containing discriminating means between history information and replacement information
JPH0473196B2 (en) * 1985-05-29 1992-11-20 Toppan Moore Kk

Also Published As

Publication number Publication date
JPS6367210B2 (en) 1988-12-23

Similar Documents

Publication Publication Date Title
CN110931096A (en) System and method for automatically generating image structured report template
CN105787253A (en) Electronic medical record system for integrating hospital workflows
JPH05197734A (en) Data processing system
CN104298705A (en) Converting method of relational data and unstructured data
Garfield f4 Lhified Index to Science
JPS58197559A (en) Data transferring method
CN114927180A (en) Medical record structuring method and device and storage medium
CN106066870A (en) A kind of bilingual teaching mode constructing system of linguistic context mark
JP2001014157A (en) Software progress management device
CN108806797A (en) A kind of processing method and system of medical data
de Pee The Making of Song Dynasty History: Sources and Narratives, 960–1279 CE By Charles Hartman. Cambridge: Cambridge University Press, 2021. 400 pp. $120.00 (cloth).
Kilgour Costs of library catalog cards produced by computer
Niburski Imprinting care and the loss of patient narrative: Creation and standardization of medical records
JPH03164868A (en) Medical information accumulating method for retrieval
Burrow Full streamlining ahead!
JP3675418B2 (en) Electronic medical record system, electronic medical record management method, electronic medical record management program, and recording medium on which electronic medical record management program is recorded
Ledger et al. Recent Advances in Obstetrics & Gynaecology: 26
Gervers et al. The DEEDS database of mediaeval charters: Design and coding for the RDBMS ORACLE 5.
de Pee The Making of Song Dynasty History: Sources and Narratives, 960–1279 CE.
Alterescu et al. Medical Information Management System (MIMS): a generalized interactive information system
JPS63311449A (en) Abort dump processing system
Mullaly Computers and theatre research
JPS63237171A (en) Maintaining system for vocabulary dictionary of machine translation system
Hercz et al. Patient Follow Up System for a Pediatric Practice
ARD Actuarial Studies, No. 3; Population Statistics and their Compilation