JP2991482B2 - Numbering system - Google Patents

Numbering system

Info

Publication number
JP2991482B2
JP2991482B2 JP2323121A JP32312190A JP2991482B2 JP 2991482 B2 JP2991482 B2 JP 2991482B2 JP 2323121 A JP2323121 A JP 2323121A JP 32312190 A JP32312190 A JP 32312190A JP 2991482 B2 JP2991482 B2 JP 2991482B2
Authority
JP
Japan
Prior art keywords
external storage
data
storage media
numbers
reading
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.)
Expired - Fee Related
Application number
JP2323121A
Other languages
Japanese (ja)
Other versions
JPH04195970A (en
Inventor
孝文 齊藤
節子 石垣
隆治 伊藤
康洋 加藤
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 Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Toshiba Corp
Nippon Telegraph and Telephone Corp
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 Toshiba Corp, Nippon Telegraph and Telephone Corp filed Critical Toshiba Corp
Priority to JP2323121A priority Critical patent/JP2991482B2/en
Publication of JPH04195970A publication Critical patent/JPH04195970A/en
Application granted granted Critical
Publication of JP2991482B2 publication Critical patent/JP2991482B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は複数の外部記憶媒体にそれぞれ記憶されたデ
ータの読込みを管理するに好適な発番方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a numbering method suitable for managing reading of data stored in a plurality of external storage media.

(従来の技術) 電子交換機システムやプラント制御システム等、コン
ピュータやプロセッサを主体として構成される各種シス
テムでは、そのシステムの運用に必要なデータを外部記
憶媒体に保存(セーブ)することが行なわれる。この
際、外部記憶媒体として所謂フロッピー・ディスク(F
D)等を用いるような場合、一般的には1つの記憶媒体
での記憶容量に制限があることから、上記データを複数
の記憶媒体に分散させて保存(セーブ)することが行な
われる。そしてシステムの立上げ時等には、上記各外部
記憶媒体にそれぞれ分散されて格納されたデータの全て
を内部メモリに読込む(ロード)必要がある。
(Prior Art) In various systems mainly composed of a computer and a processor, such as an electronic exchange system and a plant control system, data necessary for operation of the system is stored in an external storage medium. At this time, a so-called floppy disk (F
In the case where D) or the like is used, since the storage capacity of one storage medium is generally limited, the data is distributed and saved on a plurality of storage media. When the system is started, it is necessary to read (load) all of the data distributed and stored in the external storage media into the internal memory.

このような複数の外部記憶媒体からのデータの読込み
を管理すべく、従来では複数の外部記憶媒体に一連の番
号(ボリューム・ナンバ)を付し、この番号により各外
部記憶媒体からのデータの読込みを制御している。然し
乍ら、従来にあっては次のような不具合があった。
Conventionally, in order to manage the reading of data from a plurality of external storage media, a series of numbers (volume numbers) are assigned to the plurality of external storage media, and the reading of data from each of the external storage media is performed using this number. Is controlling. However, there have been the following problems in the past.

即ち、従来一般的には複数(N個)の外部記憶媒体に
連続番号n(1≦n≦N;自然数)を付し、データの読込
み側であるシステム本体側の制御の下で上記番号順に外
部記憶媒体からのデータを読込んでいる。このときシス
テム本体側にて上記番号からその読込み数(N個)の管
理が行なわれる。しかしこのような読込み制御ではシス
テム本体側での管理・処理負担が非常に膨大となること
が否めなかった。しかもデータの読込み順序に制限を受
ける等の不具合があった。またその総数に変更があった
場合には、外部記憶媒体に設定する番号の修正は比較的
容易であるけれども、システム本体側での読込み制御の
管理情報までも修正する必要がある等の問題がある。
That is, conventionally, generally, a plurality (N) of external storage media are assigned a serial number n (1 ≦ n ≦ N; natural number), and are arranged in the order of the above numbers under the control of the system main body which is the data reading side. Reading data from an external storage medium. At this time, the number of readings (N) is managed from the above number on the system body side. However, with such read control, it was unavoidable that the management and processing burden on the system main body side would become extremely large. In addition, there is a problem that the data reading order is restricted. If the total number is changed, it is relatively easy to modify the number set in the external storage medium, but it is necessary to modify the read control management information on the system body side. is there.

これに対して上述した如く連続番号n(1≦n≦N)
が付された1番目の外部記憶媒体に読込み対象とする外
部記憶媒体の総数(N個)を書込んでおき、或いはN番
目の外部記憶媒体に読込み対象とする最後の外部記憶媒
体である旨の情報(E;エンドマーク)を書込んでおき、
その情報をシステム本体側に与えることでシステム本体
での処理負担を軽減することが行なわれている。この場
合には、総数(N個)が書込まれた1番目の外部記憶媒
体からデータの読込みを開始したり、或いはエンドマー
クが書込まれた外部記憶媒体からのデータの読込みを必
ず最後にしなければならないと云う制約はあるものの、
その他の外部記憶媒体からのデータの読込み順序を大幅
に緩和することができる。
On the other hand, as described above, the serial number n (1 ≦ n ≦ N)
The total number (N) of external storage media to be read is written in the first external storage medium marked with, or it is the last external storage medium to be read in the N-th external storage medium. Information (E; end mark)
By giving the information to the system body, the processing load on the system body is reduced. In this case, the reading of data from the first external storage medium in which the total number (N) has been written is started, or the reading of data from the external storage medium in which the end mark is written is always the last. Although there is a restriction that it must be,
The order of reading data from other external storage media can be greatly reduced.

然し乍ら、同一の外部記憶媒体からのデータの読込み
が繰返し行なわれたような場合、システム本体側での読
込み数の管理情報に狂いが生じる等の不具合があった。
またその総数に変更があった場合には、上述した1番目
の外部記憶媒体に書込んでおく総数の値や、エンド・マ
ークを付す外部記憶媒体をその都度変更する必要がある
等の問題がある。
However, when data is repeatedly read from the same external storage medium, there is a problem that the management information of the number of readings on the system main body side is misaligned.
Further, when the total number is changed, there are problems such as the value of the total number to be written in the first external storage medium and the need to change the external storage medium with the end mark each time. is there.

(発明が解決しようとする課題) このように従来にあっては、複数の外部記憶媒体に分
散して保存されたデータをシステム本体側に読込む場
合、これらのデータの全てを如何にして簡易に、且つ効
率的に読込むかと云う点で問題があった。
(Problems to be Solved by the Invention) As described above, conventionally, when data stored in a distributed manner in a plurality of external storage media is read into the system main body, how to read all of the data is simplified. In addition, there is a problem in reading efficiently and efficiently.

本発明はこのような事情を考慮してなされたもので、
その目的とするところは、複数の外部記憶媒体にそれぞ
れ分散して記憶保存されたデータの全てを各外部記憶媒
体に付された番号に基づいて簡易に、且つ確実に読込む
ことを可能とする発番方式を提供することにある。
The present invention has been made in view of such circumstances,
The purpose is to make it possible to easily and reliably read all of the data stored and stored in a distributed manner in a plurality of external storage media based on the numbers assigned to the respective external storage media. It is to provide a numbering system.

[発明の構成] (課題を解決するための手段) 本発明に係る発番方式は、複数の外部記憶媒体にそれ
ぞれ格納されているデータの読込みを、各外部記憶媒体
に設定された番号の下で管理するに際し、 N個(N;自然数)の外部記憶媒体中の(N−1)個に
対して2(n-1)なる番号(但し,nは1≦n≦N−1なる自
然数)をそれぞれ設定し、且つ(n=N)なる最後の外
部記憶媒体に対して(−1)2(n-1)なる番号を設定する
ことを特徴とするもので、 データ読込み側ではデータ読込みが行なわれる外部記
憶媒体に対して上述した如く設定された番号をビット対
応で順次論理和し、その論理和値が(−1)となったと
きに全ての外部記憶媒体からのデータ読込みが完了した
として検知することを特徴とするものである。
[Configuration of the Invention] (Means for Solving the Problems) In a numbering system according to the present invention, reading of data stored in each of a plurality of external storage media is performed under a number set in each of the external storage media. When managing by (2) (N; natural number), 2 (n-1) numbers for (N-1) in the external storage medium (where n is a natural number of 1 ≦ n ≦ N−1) , And a number (-1) 2 (n-1) is set for the last external storage medium (n = N). The numbers set as described above are sequentially ORed with respect to the external storage medium to be performed bit by bit, and when the logical sum value becomes (−1), data reading from all the external storage media is completed. It is characterized by detecting as.

(作用) 本発明によれば、複数個(N個)の外部記憶媒体に対
して基本的には2(n-1)なる番号(n;1≦n≦Nなる自然
数)が与えられ、その最後の外部記憶媒体については更
に(−1)が乗じられた番号が与えられるので、その全
ての外部記憶媒体からのデータの読込みが完了した時点
では、前記各外部記憶媒体にそれぞれ付された番号の論
理和は必ず(−1)となる。この際、同一の外部記憶媒
体から同じデータが繰返し読込まれた場合であっても、
上述した番号の論理和値が変化することがない。従って
番号の論理和値が(−1)になるか否かだけを監視する
ことにより、複数の外部記憶媒体から全ての読込みが完
了したか否かを容易に、且つ確実に監視することがで
き、そのデータ読込みを効果的に制御することが可能と
なる。
(Operation) According to the present invention, a plurality (N) of external storage media are basically given 2 (n-1) numbers (n; 1 ≦ n ≦ N natural numbers). Since the last external storage medium is given a number further multiplied by (−1), when the reading of data from all the external storage media is completed, the number assigned to each of the external storage media is given. Is always (-1). At this time, even if the same data is repeatedly read from the same external storage medium,
The logical sum of the above numbers does not change. Therefore, by monitoring only whether or not the logical sum value of the number is (-1), it is possible to easily and reliably monitor whether or not all readings from a plurality of external storage media have been completed. , The data reading can be effectively controlled.

(実施例) 以下、図面を参照して本発明の一実施例につき説明す
る。第1図は実施例方式を適用して構成されるシステム
本体側のデータ読込み制御部の概略構成図であり、1a,1
b,〜1nはデータを格納保存する外部記憶媒体としての複
数枚(N枚)のフロッピー・ディスク(FD)である。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic configuration diagram of a data reading control unit on the system main body side configured by applying the embodiment method.
b, .about.1n are a plurality (N) of floppy disks (FD) as external storage media for storing and storing data.

本方式では、これらの複数のFD1a,1b,〜1nに対して順
次2(n-1)なる番号(n;1≦n≦Nなる自然数)をそれぞ
れ設定し、また(n=N)なる最後の外部記憶媒体だけ
については上記番号に更に(−1)を乗じて(−1)2
(n-1)なる番号を設定することを特徴とするものであ
る。具体的にはN枚のFD1a,1b,〜1nに対し、 なる番号をそれぞれ付すようにしたことを特徴とするも
のである。
In this method, 2 (n−1) numbers (n; 1 ≦ n ≦ N natural numbers) are sequentially set for these plurality of FDs 1a, 1b, to 1n, and the last (n = N) For the external storage medium only, the above number is further multiplied by (-1) to obtain (-1) 2
(n-1) is set. Specifically, for N FDs 1a, 1b, ~ 1n, , Respectively.

しかしてこれらFD1a,1b,〜1nにそれぞれ格納保存され
たデータを読込み入力するシステム装置本体は、データ
読込み部2にて前記各FD1a,1b,〜1nからのデータ読込み
時にそのFDに付された前記番号を同時に読込んでいる。
このデータ読込み部2にて読込まれた番号は入力レジス
タ3に一旦格納された後、バッファ4に格納された論理
和結果との間で、論理和回路5をビット対応で論理和が
とられた後、再び上記バッファ4に格納される。尚、こ
のバッファ4は前記FD1a,1b,〜1nからのデータ読込みの
開始に先立って全“0"に初期化されるものである。しか
してこのバッファ4に格納された論理和値と入力レジス
タ3に格納された番号との論理和回路5による論理和処
理は、新たなFDからの番号が読込み入力される都度、繰
返し実行される。この結果、FDからのデータの読込みの
都度入力される番号の論理和値がバッファ4に格納され
ることになる。
Thus, the system device body that reads and inputs the data stored and stored in the FDs 1a, 1b, to 1n, respectively, is attached to the FD when the data is read from the FDs 1a, 1b, to 1n by the data reading unit 2. The numbers are read simultaneously.
The number read by the data reading unit 2 is temporarily stored in the input register 3 and then logically ORed with the logical sum result stored in the buffer 4 by the logical OR circuit 5 for each bit. Thereafter, it is stored in the buffer 4 again. The buffer 4 is initialized to all "0" prior to the start of reading data from the FDs 1a, 1b, to 1n. The OR operation of the OR value stored in the buffer 4 and the number stored in the input register 3 by the OR circuit 5 is repeatedly executed each time a number from a new FD is read and input. . As a result, the logical sum value of the number input each time data is read from the FD is stored in the buffer 4.

ここでバッファ4に格納された前記番号の論理和値は
比較器6にてレジスタ7に予め設定されているデータ
(全“1";−1)と逐次比較されている。比較器6はこ
の比較処理によってバッファ4に格納された論理和値が
(全“1")であるか否かを判定するもので、(全“1";
−1)が検出されたとき、全てのFD1a,1b,〜1nからのデ
ータの読込みが完了したことを示す信号を出力してい
る。
Here, the logical sum value of the number stored in the buffer 4 is sequentially compared with data (all “1”; −1) preset in the register 7 by the comparator 6. The comparator 6 determines whether the logical sum value stored in the buffer 4 by this comparison processing is (all “1”), and (all “1”;
When -1) is detected, a signal indicating that data reading from all the FDs 1a, 1b, to 1n has been completed is output.

かくして上述したように複数枚のFD1a,1b,〜1nに対し
て2(n-1)を基本とする連続した番号を与え、その番号の
論理和値からデータの読込みを管理する本方式によれ
ば、例えば第2図に例示するように順不同で、しかも同
一のFDからのデータの読込みが2重に行なわれる場合で
あっても、その全てのFD1a,1b,〜1nからのデータの読込
みが完了した時点で初めて、上記番号の論理和値が全
“1",つまり(−1)となるので、この論理和値を監視
するだけで、FD1a,1b,〜1nからのデータの読込みを簡易
に、且つ確実に管理することが可能となる。
Thus, as described above, a plurality of FDs 1a, 1b, to 1n are given consecutive numbers based on 2 (n-1) , and the present method of managing data reading from the logical sum of the numbers is used. For example, as shown in FIG. 2, for example, even when data is read from the same FD in a double order, data reading from all the FDs 1a, 1b, to 1n is not performed. Only at the time of completion, the logical sum value of the above numbers becomes all "1", that is, (-1). Therefore, by simply monitoring this logical sum value, reading of data from the FDs 1a, 1b, to 1n is simplified. , And can be managed reliably.

具体的には、4番目,1番目,3番目,1番目(2回目),2
番目の順序でFDからのデータの読込みが行なわれた場
合、各FD1a,1b,〜1nに付された番号の論理和値は、 (0)→(−8)→(−7)→(−3)→(−3)→
(−1) と変化する。この論理和値の変化から明らかなように各
FDからのデータの読込みが行なわれる都度、論理和値に
はそのFDの番号に対応したビット位置に順次データ“1"
がたてられる。そして4回目に1番目のFDからのデータ
読込みが繰返し行なわれても、そのときの論理和値は変
化することがない。従ってたとえ同じFDから同一のデー
タが繰返し読込まれることがあっても、これによって論
理和値が変化することがない。そして全てのFDからのデ
ータの読込みが完了するまで番号の論理和値が全“1"と
なることがないので、この論理和値を監視することで複
数のFD1a,1b,〜1nからのデータの読込みを簡易に、且つ
効果的に管理することが可能となる。
Specifically, 4th, 1st, 3rd, 1st (2nd), 2
When data is read from the FD in the second order, the logical sum of the numbers assigned to the FDs 1a, 1b, to 1n is (0) → (−8) → (−7) → (− 3) → (-3) →
(-1). As is clear from the change in the logical sum,
Each time data is read from the FD, the logical sum value is sequentially set to data "1" at the bit position corresponding to the FD number.
It is set up. Then, even if data reading from the first FD is repeated for the fourth time, the logical sum value at that time does not change. Therefore, even if the same data is repeatedly read from the same FD, this does not change the logical sum value. Until the reading of data from all FDs is completed, the logical sum of the numbers will not be all "1". By monitoring this logical sum, the data from multiple FDs 1a, 1b, ~ 1n Can be easily and effectively managed.

また上述したような番号の付与によれば、その枚数の
変更があった場合には(−1)を乗じる番号を変更する
だけで良いので、その変更手続きが非常に容易であり、
システム本体側に処理負担を掛けることがない等の効果
が奏せられる。
Further, according to the numbering as described above, when the number is changed, it is only necessary to change the number multiplied by (-1), and the change procedure is very easy.
The effects such as not imposing a processing load on the system body side can be obtained.

尚、本発明は上述した実施例に限定されるものではな
い。例えば番号を表現する2進数の桁数は、外部記憶媒
体の総数に応じて設定すれば良いのものである。また外
部記憶媒体としても、上述したFDに限定されないことは
勿論のことである。その他、本発明はその要旨を逸脱し
ない範囲で種々変形して実施することができる。
Note that the present invention is not limited to the above-described embodiment. For example, the number of binary digits representing a number may be set according to the total number of external storage media. Also, the external storage medium is not limited to the FD described above. In addition, the present invention can be variously modified and implemented without departing from the gist thereof.

[発明の効果] 以上説明したように本発明によれば、複数の外部記憶
媒体に付した単純な構造の番号にて非常に簡単に上記各
外部記憶媒体からのデータの読込みを管理制御すること
が可能となり、複数の外部記憶媒体からのデータの読込
み順序やその読込み数を意識することなく、その全ての
データを確実に読込むことができる等の実用上多大なる
効果が奏せられる。
[Effects of the Invention] As described above, according to the present invention, it is possible to very easily manage and control the reading of data from each of the external storage media by using a simple structure number attached to a plurality of external storage media. This makes it possible to achieve a great effect in practice, such as that all the data can be surely read without being conscious of the order of reading data from a plurality of external storage media and the number of data read.

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

図は本発明に係る発番方式の一実施例を示すもので、第
1図は実施例方式を適用して構成されるシステム本体側
の読込み制御部の要部概略構成図、第2図は番号の論理
和処理の概念を示す図である。 1a,1b,〜1n……フロッピー・ディスク(FD;外部記憶媒
体)、2……データ読込み部、3……入力レジスタ、4
……バッファ、5……論理和回路、6……比較器、7…
…レジスタ。
FIG. 1 shows an embodiment of a numbering system according to the present invention. FIG. 1 is a schematic configuration diagram of a main part of a read control unit of a system main body configured by applying the embodiment system, and FIG. It is a figure showing the concept of a logical OR process of numbers. 1a, 1b,-1n: Floppy disk (FD; external storage medium), 2: Data read unit, 3: Input register, 4
...... buffer, 5 ... OR circuit, 6 ... comparator, 7 ...
…register.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 伊藤 隆治 神奈川県川崎市幸区小向東芝町1番地 株式会社東芝総合研究所内 (72)発明者 加藤 康洋 神奈川県川崎市幸区柳町70番地 株式会 社東芝柳町工場内 (56)参考文献 特開 昭62−280941(JP,A) 特開 昭61−275944(JP,A) (58)調査した分野(Int.Cl.6,DB名) G11B 20/12 G06F 12/00 531 G06F 3/06 304 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Ryuji Ito 1 Toshiba-cho, Komukai-shi, Kawasaki-shi, Kanagawa Prefecture Inside Toshiba Research Institute, Inc. (72) Inventor Yasuhiro Kato 70 Yanagicho, Sai-ku, Kawasaki-shi, Kanagawa Prefecture (56) References JP-A-62-280941 (JP, A) JP-A-61-275944 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G11B 20 / 12 G06F 12/00 531 G06F 3/06 304

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の外部記憶媒体にそれぞれ格納されて
いるデータの読込みを、各外部記憶媒体に設定された番
号の下で管理するに際し、 N個(N;自然数)の外部記憶媒体中の(N−1)個に対
して、2(n-1)なる番号(n;1≦n≦N−1なる自然数)
をそれぞれ設定し、且つ(n=N)なる最後の外部記憶
媒体に対して(−1)2(n-1)なる番号を設定し、データ
読込み側ではデータ読込みが行なわれる外部記憶媒体に
対して設定された上記番号を順次ビット対応で論理和
し、その論理和値が(−1)となったときに全ての外部
記憶媒体からのデータ読込みの完了を検知することを特
徴とする発番方式。
When managing reading of data stored in each of a plurality of external storage media under a number set in each of the external storage media, N (N: natural number) in the N external storage media is used. For (N-1) numbers, 2 (n-1) numbers (n; 1≤n≤N-1 natural numbers)
Are set, and the number (-1) 2 (n-1) is set for the last external storage medium (n = N), and the data reading side sets the number for the external storage medium on which data reading is performed. Logically ORing the numbers set in sequence in a bit-wise manner, and when the logical sum value becomes (−1), detecting completion of data reading from all external storage media. method.
JP2323121A 1990-11-28 1990-11-28 Numbering system Expired - Fee Related JP2991482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2323121A JP2991482B2 (en) 1990-11-28 1990-11-28 Numbering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2323121A JP2991482B2 (en) 1990-11-28 1990-11-28 Numbering system

Publications (2)

Publication Number Publication Date
JPH04195970A JPH04195970A (en) 1992-07-15
JP2991482B2 true JP2991482B2 (en) 1999-12-20

Family

ID=18151321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2323121A Expired - Fee Related JP2991482B2 (en) 1990-11-28 1990-11-28 Numbering system

Country Status (1)

Country Link
JP (1) JP2991482B2 (en)

Also Published As

Publication number Publication date
JPH04195970A (en) 1992-07-15

Similar Documents

Publication Publication Date Title
US20080162591A1 (en) Method of Logging Transactions and a Method of Reversing a Transaction
JP2991482B2 (en) Numbering system
Langdon Jr A note on associative processors for data management
JPS6359618A (en) Semiconductor ram control system
JP2718129B2 (en) IC card
JPH03164839A (en) Data storage system
JPH03240164A (en) Picture filing device
JPH04165543A (en) Electronic filing device
JPH01184553A (en) File managing method
JPS6346553A (en) File copying method
JPH06168343A (en) Method for storing measuring data
JPS63280356A (en) Buffer management system for virtual disk device
JPS61213920A (en) Control system for disk file
JPS6198438A (en) Control method for file idle area
JPS6168636A (en) Data processor
JPH01263714A (en) Information recording control system
JPS6339054A (en) Controlling system for file extension
JPS63224487A (en) Digital data recorder controller
JPH02253450A (en) File managing method and file editing method
JPH0224714A (en) Data processor
JPS59212968A (en) File access system
JPH09185565A (en) Network system with program transferring function
JPH03278119A (en) Aggregative managing system for flexible disk
JPH0736748A (en) Information management device
JPS62257520A (en) Buffer area managing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees