JPH0670785B2 - Buffer memory expansion method by pointer dynamic control - Google Patents
Buffer memory expansion method by pointer dynamic controlInfo
- Publication number
- JPH0670785B2 JPH0670785B2 JP59100531A JP10053184A JPH0670785B2 JP H0670785 B2 JPH0670785 B2 JP H0670785B2 JP 59100531 A JP59100531 A JP 59100531A JP 10053184 A JP10053184 A JP 10053184A JP H0670785 B2 JPH0670785 B2 JP H0670785B2
- Authority
- JP
- Japan
- Prior art keywords
- buffer memory
- pointer
- data
- storage
- expansion
- 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 - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System (AREA)
- Information Transfer Systems (AREA)
Description
【発明の詳細な説明】 〔発明の利用分野〕 本発明はポインタ動的制御によるバッファメモリの拡張
方法に関するものである。特に、ポインタを使用してバ
ッファメモリ内のデータの読出し、格納を行う機能を有
する装置の動作を停止させずに、バッファメモリを拡張
(増設)する手段に関する。The present invention relates to a method for expanding a buffer memory by pointer dynamic control. In particular, the present invention relates to means for expanding (adding) the buffer memory without stopping the operation of the device having the function of reading and storing the data in the buffer memory using the pointer.
一般に、バッファメモリにポインタの動的制御を適用す
る場合、従来技術ではバッファメモリのサイズは、シス
テムにおいて固定とされている。すなわち、記憶領域が
固定されたシステムとなっている。Generally, when the dynamic control of the pointer is applied to the buffer memory, the size of the buffer memory is fixed in the system in the related art. That is, the system has a fixed storage area.
また、システム対応として、バッファメモリサイズを可
変にする場合には、ポインタの動的制御は適用できず、
次の様な静的制御を適用している。すなわち、同一サイ
ズのバッファメモリを複数個(2面以上)用意し、それ
ぞれのバッファメモリの始端から終端まで、データの格
納・読み出しを各バッファメモリ毎に面によって制御す
る方法である。例えば、データを格納する際、ある面の
バッファメモリが一杯になった時には、次面のバッファ
メモリへと格納動作を移すものである。Also, as a system correspondence, when making the buffer memory size variable, dynamic control of the pointer cannot be applied,
The following static control is applied. That is, it is a method in which a plurality of (two or more) buffer memories of the same size are prepared, and the storage / reading of data from the start end to the end of each buffer memory is controlled by the face for each buffer memory. For example, when data is stored, when the buffer memory on one surface becomes full, the storage operation is moved to the buffer memory on the next surface.
そのため、従来技術においては、システム対応の可変の
バッファメモリサイズを実現する場合、方式上必要とさ
れるバッファメモリサイズの少なくとも2倍のバッファ
メモリを用意する必要がある。したがって、従来技術で
は、取り扱うデータがトラフィックデータの様に多量に
なる場合、必要とされるバッファメモリが膨大化し、メ
モリ増加によるシステムの大型化、コスト増加等、実用
にそぐわなくなる等の欠点があった。Therefore, in the prior art, when realizing a variable buffer memory size corresponding to the system, it is necessary to prepare a buffer memory that is at least twice as large as the buffer memory size required by the method. Therefore, the conventional technology has drawbacks such as when the amount of data to be handled is large, such as traffic data, the required buffer memory becomes enormous, the system becomes larger due to the increase in memory, the cost increases, etc., and it becomes unsuitable for practical use. It was
本発明は、上記の従来技術の欠点に鑑みなされたもの
で、多量のデータを取り扱い、かつシステム対応にその
データ量が異なる場合でも、それぞれのシステムに適し
たメモリサイズのバッファメモリを用意して、経済的な
システムを実現し、後日のシステムの拡張(増設)要求
にも、システム動作を停止させずに対応できる、融通性
のあるポインタ動的制御によるバッファメモリの拡張方
法を提供することを目的としている。The present invention has been made in view of the above-mentioned drawbacks of the prior art, and provides a buffer memory having a memory size suitable for each system even when a large amount of data is handled and the data amount is different depending on the system. To provide a flexible buffer memory expansion method by pointer dynamic control that realizes an economical system and can respond to a system expansion (expansion) request at a later date without stopping the system operation. Has an aim.
本発明のポインタ動的制御によるバッファメモリ拡張方
法は、操作者が与えるバッファメモリ拡張指示、メモリ
増設作業後のバッファメモリの面数データを受けて、格
納ポインタと読出ポインタのポインタデータを取出し、
格納ポインタと読出ポインタの順序性を判断し、格納ポ
インタが読出ポインタより先(データが格納、読出され
ていく方向を「先」とする)を示している場合には、与
えられたバッファメモリの面数のデータを、予め設けら
れている面数管理データ部に格納する。そして、格納ポ
インタおよび読出ポインタが備える面指定部(両ポイン
タが存在するバッファメモリ面を指定する)が取りうる
値の幅が、面数管理データ部が格納する値となるように
拡張処理する。また、格納ポインタが読出ポインタより
後を示している場合には、格納ポインタが読出ポインタ
より先を示すようになるまで前記拡張処理を待ち、その
後バッファメモリの前記拡張処理を行うことを特徴とし
ている。A buffer memory expansion method by pointer dynamic control according to the present invention receives a buffer memory expansion instruction given by an operator and surface data of a buffer memory after memory expansion work, and extracts pointer data of a storage pointer and a read pointer.
The order of the storage pointer and the read pointer is judged, and when the storage pointer indicates ahead of the read pointer (the direction in which data is stored and read is “first”), the buffer memory of the given buffer memory The number-of-faces data is stored in a face-number management data section provided in advance. Then, expansion processing is performed so that the width of the value that can be taken by the plane designating section (designating the buffer memory plane where both pointers exist) provided in the storage pointer and the read pointer becomes the value stored in the plane number management data section. Further, when the storage pointer indicates after the read pointer, the expansion processing is waited until the storage pointer indicates before the read pointer, and then the expansion processing of the buffer memory is performed. .
以下添付の図面を参照して、実施例により、さらに詳細
に本発明について説明する。Hereinafter, the present invention will be described in more detail by way of examples with reference to the accompanying drawings.
第1図は、本発明にかかるポインタ動的制御によるバッ
ファメモリの拡張方法におけるポインタ類とデータとバ
ッファメモリの使用方法を説明するためのデータ関連図
である。同図に示す様に、バッファメモリ10は、固定長
サイズのデータを、「2のn乗」個格納できる面を3個
有しており、各面101,102,103に加えて、破線で示す仮
想面104,105,106…が設けられた構成になっている。か
かる仮想面は、ポインタの動作によりデータの格納、読
出し可能な論理的なバッファとして機能する。FIG. 1 is a data-related diagram for explaining pointers, data, and a method of using a buffer memory in a method of expanding a buffer memory by dynamic pointer control according to the present invention. As shown in the figure, the buffer memory 10 has three surfaces capable of storing “2 to the nth power” of fixed-length size data. In addition to the respective surfaces 101, 102, 103, virtual surfaces 104, 105, 106 indicated by broken lines are shown. ... is provided. The virtual surface functions as a logical buffer capable of storing and reading data by the operation of the pointer.
そして、面数管理データ1は、システム対応のバッファ
メモリ10の実装面数を示すデータであり、本実施例の場
合、現在、図から分かるように3面のバッファメモリが
設けられているので、数値3が与えられている。The number-of-sides management data 1 is data indicating the number of mounted sides of the system-compatible buffer memory 10. In the case of the present embodiment, since three buffer memories are currently provided as can be seen from the figure, The number 3 is given.
また、格納ポインタ2は、バッファメモリ内のデータ格
納アドレスを示すポインタであって、当該ポインタが示
すバッファメモリ面を示す面指定部と、面指定部にて指
定されるバッファ面内での相対アドレスを示す管理部を
有して構成される。The storage pointer 2 is a pointer indicating a data storage address in the buffer memory, and is a relative address within the buffer plane designated by the plane designation section indicating the buffer memory plane indicated by the pointer and the plane designation section. Is configured to have a management unit indicating.
同様に、読出ポインタ3は、バッファメモリ内のデータ
読出しアドレスを示すポインタであって、当該ポインタ
が示すバッファメモリ面を示す面指定部と、面指定部に
て指定されるバッファ面内での相対アドレスを示す管理
部を有して構成される読出ポインタである。また、読出
ポインタ3は、ポインタで示すアドレスに存在するデー
タを順次読み出して、用済になったデータを消去して行
くのに使用される。そして、前述の通り、格納ポインタ
2と読出ポインタ3は、バッファメモリ10の一面毎の
「2のn乗」個のデータのどのデータを指しているかを
示す相対アドレスを保持する管理部(一面の管理部)を
有するポインタであり、かつ、面指定部は、面数を計数
する機能を有する面数カウンタとして動作し、破線で示
した仮想面104,105,106…を無限に計数する機能を有し
ている。Similarly, the read pointer 3 is a pointer that indicates the data read address in the buffer memory, and is a relative point in the buffer plane designated by the plane designation section that indicates the buffer memory plane indicated by the pointer. It is a read pointer having a management unit indicating an address. The read pointer 3 is used to sequentially read the data existing at the address indicated by the pointer and to erase the used data. Then, as described above, the storage pointer 2 and the read pointer 3 hold a relative address indicating which data of “2 to the n-th power” of data for each surface of the buffer memory 10 (a management unit (on one surface)). The surface designating section operates as a surface number counter having a function of counting the number of surfaces and has a function of infinitely counting the virtual surfaces 104, 105, 106 ... .
例えば、第1図に示す通り、読出ポインタ3は、第3面
である面103を示しているので、面指定部には、「103」
なる値が保持されている。For example, as shown in FIG. 1, the read pointer 3 indicates the surface 103 which is the third surface.
Is held.
以上に説明した様に、バッファメモリ10にデータを順序
格納し、格納したデータを順序読み出し、消去して動作
を行うことから、格納ポインタ2による指定内容は、読
出ポインタ3による指定内容よりも先(データを格納、
読出していく方向を「先」とする)を示すようになって
おり、かつバッファメモリ10上において格納ポインタ2
の指定内容が読出ポインタ3の指定内容を追越す、すな
わち先になることはできない構成になっている。As described above, since the data is sequentially stored in the buffer memory 10 and the stored data is sequentially read and erased to perform the operation, the content designated by the storage pointer 2 precedes the content designated by the read pointer 3. (Store data,
The reading direction is referred to as "first") and the storage pointer 2 on the buffer memory 10
The designated contents of (1) can overtake the designated contents of the read pointer 3, that is, cannot be preceded.
第1図いおいて、バッファメモリ10には、読出ポインタ
3の示す面103内の位置からデータが格納され、面103の
終端に到達すると、続いて面101の始端に戻り、さらに
面102の格納ポインタ2の示す直前の位置までデータが
格納されていることを示している。In FIG. 1, data is stored in the buffer memory 10 from a position within the surface 103 indicated by the read pointer 3, and when the end of the surface 103 is reached, the data then returns to the start end of the surface 101 and further the surface 102. This indicates that the data is stored up to the position immediately before the storage pointer 2.
これは、格納ポインタ2と読出ポインタ3のそれぞれの
面指定部の内容を面数管理データ1の示す値(第一図で
は「3」)で割算した結果の余りのデータを、比較判定
することにより、バッファメモリ10上で連続してデータ
が格納されているか(ポインタ2,3が正順序)、図示す
る様に、物理空間で、不連続に格納されているか(ポイ
ンタ2,3が反転順序)を検出することができる。This is because the contents of the respective surface designation portions of the storage pointer 2 and the read pointer 3 are divided by the value (“3” in FIG. 1) indicated by the surface number management data 1 and the remainder data is compared and judged. As a result, whether the data is continuously stored in the buffer memory 10 (the pointers 2 and 3 are in the normal order) or the data is stored discontinuously in the physical space (the pointers 2 and 3 are inverted) as shown in the figure. Order) can be detected.
ここで、図示したように、論理的に構成される仮想面
と、両ポインタの示す内容を保持する無限カウンタを想
定した場合、「正順序」とは、格納ポインタ2の示す値
が、読出ポインタ3の示す値より大きな場合を言い、
「反転順序」とは、この逆の場合を言う。Here, as shown in the figure, assuming a virtual surface that is logically configured and an infinite counter that holds the contents indicated by both pointers, “correct order” means that the value indicated by the storage pointer 2 is the read pointer. If it is larger than the value indicated by 3,
“Inversion order” refers to the opposite case.
さて、現在3面有するメモリバッファを、物理的に拡張
(増設)し、4面以上にすることを考える。かかるメモ
リバッファの拡張作業は、操作者が行う。この場合、第
1図に示すようなメモリバッファを備えるシステムの動
作を停止させずに、前記作業を行い、新たに拡張された
メモリバッファに対応して、今まで説明してきた、ポイ
ンタによるデータ格納、読出動作を円滑に行わせる必要
がある場合が多い。例えば、第1図に示すようなメモリ
バッファを備えるシステムが各種の装置と接続されてお
り各種の装置と、休むことなくデータの送受信を行う場
合等である。このような場合にもメモリバッファの拡張
に対応して、円滑に、ポインタによるデータ格納、読出
動作を行わせる、すなわち、メモリ増設作業の存在を意
識させずに、速やかに、データ格納、読出動作を継続さ
せるバッファメモリ拡張方法が本発明の主要部となる。Now, consider physically expanding (adding) the memory buffer currently having three sides to more than four sides. The operator performs the work of expanding the memory buffer. In this case, the above operation is performed without stopping the operation of the system including the memory buffer as shown in FIG. 1, and the data storage by the pointer described so far is performed corresponding to the newly expanded memory buffer. In many cases, it is necessary to perform the reading operation smoothly. For example, there is a case where a system including a memory buffer as shown in FIG. 1 is connected to various devices and data is transmitted and received with the various devices without a break. Even in such a case, the data storage / reading operation by the pointer can be smoothly performed in response to the expansion of the memory buffer, that is, the data storage / reading operation can be promptly performed without being aware of the memory expansion work. The buffer memory expansion method for continuing the process is the main part of the present invention.
まず、バッファメモリ10の面数の拡張処理を行う際に、
格納ポインタ2と読出ポインタ3が正順序の場合には、
即拡張可能であるが、反転順序の場合には、拡張しては
ならない。拡張を実行すると、データを格納していない
仮想面104、105…まで、面数管理データ1が示す拡張値
に相当する面数だけデータが格納されていると誤解釈さ
れてしまうからである。そこで、反転順序の場合には、
データの格納および読出し・消去が進行して、格納ポイ
ンタ2と読出ポインタ3のバッファメモリ10上での動的
順序性が正順序になるまで、バッファメモリ10の拡張処
理を実行しない様にする必要がある。すなわち、バッフ
ァ領域の端面が空いているか否かを判断してから、拡張
処理を実行する必要がある。First, when expanding the number of sides of the buffer memory 10,
When the storage pointer 2 and the read pointer 3 are in the normal order,
It can be expanded immediately, but must not be expanded in the case of inversion order. This is because when the expansion is executed, it is erroneously interpreted that data is stored up to the virtual surfaces 104, 105, ... Which do not store data, by the number of surfaces corresponding to the expanded value indicated by the surface number management data 1. So in the case of inversion order,
It is necessary to prevent the expansion processing of the buffer memory 10 from being executed until the dynamic ordering of the storage pointer 2 and the read pointer 3 on the buffer memory 10 becomes the correct order as the data storage and reading / erasing progress. There is. That is, it is necessary to execute the expansion process after determining whether or not the end surface of the buffer area is empty.
なお、拡張処理を行う旨の指示は操作者がこれを与え、
このとき、増設後のバッファメモリの面数も与えてお
く。また、拡張処理とは、前記与えられた拡張後のバッ
ファメモリの面数を予め設けてある面数管理データ部に
格納し、該面数管理データ部の示す値が、前記格納ポイ
ンタおよび前記読出ポインタの備える面指定部が取りえ
る値の幅の最大値となるようにする処理である。The operator gives the instruction to perform the extension process,
At this time, the number of faces of the buffer memory after the addition is also given. Further, the expansion processing is to store the number of faces of the given buffer memory after the extension in a face number management data part provided in advance, and the value indicated by the face number management data part is set to the storage pointer and the read-out. This is processing for making the maximum value of the width of the value that can be taken by the surface designating unit included in the pointer.
第2図は、本発明にかかるポインタ動的制御によるバッ
ファメモリの拡張方法の概略を示すフローチャートであ
る。同図において、操作者が与えたコマンド等によりバ
ッファメモリ拡張指示がなされた場合、バッファメモリ
拡張登録プログラムが起動され、バッファメモリ拡張表
示4が設定される。バッファメモリ拡張表示4の設定
は、例えば、システムに備えられたフラグのオン、オフ
により、実現できる。その後、データ格納処理プログラ
ムが起動され、格納ポインタ2と読出ポインタ3のポイ
ンタデータが取出される。次に、このポインタデータに
基づいて、格納ポインタ2と読出ポインタ3の順序性が
判定され、反転順序の場合には拡張を実施せず、従来の
格納個所算出ルーチン(データ格納場所、すなわち、格
納ポインタが示す内容を算出するルーチンである、以下
同じ)へ引き継ぐ。正順序の場合には、バッファメモリ
拡張表示4が設定されているか否かを判定し、設定され
ていない場合には従来の格納個所算出ルーチンへ引き継
ぐ。バッファメモリ拡張表示4が設定されている場合
は、別途、バッファメモリの拡張作業により拡張された
バッファメモリの大きさに対応して、操作者によって指
示された面数値にもとづき、面数管理データ1の内容を
書替える。また、格納ポインタ2および読出ポインタ3
の面指定部は、面数管理データ1の内容に対応した値に
なるように、具体的には、両ポインタが備える面指定部
がとりえる値の幅の最大値が、面数管理データ1が示す
値になるように設定する拡張処理を行う。FIG. 2 is a flow chart showing an outline of a buffer memory expansion method by pointer dynamic control according to the present invention. In the figure, when the buffer memory expansion instruction is given by a command given by the operator, the buffer memory expansion registration program is activated and the buffer memory expansion display 4 is set. The setting of the buffer memory extended display 4 can be realized by turning on / off a flag provided in the system, for example. After that, the data storage processing program is started, and the pointer data of the storage pointer 2 and the read pointer 3 is taken out. Next, the order of the storage pointer 2 and the read pointer 3 is determined based on this pointer data, and in the case of the inversion order, expansion is not performed, and the conventional storage location calculation routine (data storage location, that is, storage location) is performed. This is the same as the following), which is a routine for calculating the content indicated by the pointer. In the case of the normal order, it is judged whether or not the buffer memory expansion display 4 is set, and if it is not set, it is taken over to the conventional storage location calculation routine. When the buffer memory expansion display 4 is set, the surface number management data 1 is separately generated based on the surface numerical value designated by the operator, corresponding to the size of the buffer memory expanded by the buffer memory expansion work. Rewrite the contents of. In addition, the storage pointer 2 and the read pointer 3
So that the surface designation section has a value corresponding to the content of the number-of-sheets management data 1, specifically, the maximum width of the values that can be taken by the two-pointer surface designation sections is The extension process is performed to set the value to.
さらに、拡張処理が終了したため、バッファメモリ拡張
表示4をクリアする処理も行っておく。その後、格納個
所算出ルーチン、データ格納ルーチン(実際に、バッフ
ァメモリにデータを格納するルーチンである)、格納ポ
インタ更新ルーチン(格納動作により、格納ポインタ内
容を更新するルーチンである)へ順次引き継がれ、新し
く設定された、面数管理データ1と格納ポインタ2と読
出ポインタ3によって、新しく拡張されたバッファメモ
リ上でデータの格納・読出し・消去がくり返し実行され
る。Further, since the expansion processing is completed, the processing for clearing the buffer memory expansion display 4 is also performed. After that, the storage location calculation routine, the data storage routine (actually, a routine for storing data in the buffer memory), and the storage pointer update routine (a routine for updating the contents of the storage pointer by the storage operation) are successively taken over, By the newly set number-of-planes management data 1, storage pointer 2 and read pointer 3, data storage / reading / erasing is repeatedly executed on the newly expanded buffer memory.
以上の説明から明らかな様に、本実施例によれば、シス
テムの動作を停止させることなく、メモリ容量の拡張
(増設)作業を可能にし、拡張(増設)後の新たなメモ
リ容量に対応した、ポインタによるデータの格納、読出
処理を、ポインタ動的制御を使用したバッファメモリの
拡張処理によって実現可能となり、また、同様の手段を
用いてバッファメモリの縮小も実現できることは言うま
でもない。As is clear from the above description, according to this embodiment, it is possible to expand (expand) the memory capacity without stopping the operation of the system, and to cope with the new memory capacity after the expansion (expansion). It is needless to say that the data storage / reading process by the pointer can be realized by the buffer memory expansion process using the pointer dynamic control, and the buffer memory can be reduced by using the same means.
本発明によれば、多量のデータを取り扱うシステムにお
いて、ポインタ動的制御を採用し、システム規模に適合
するバッファメモリのサイズ拡張を、システム動作を停
止させることなく円滑に行える。操作者は、必要に応じ
てバッファメモリの増設を行えば良く、システム構築時
から不要なメモリを備える必要がないため、経済性も大
幅に向上する。According to the present invention, in a system handling a large amount of data, pointer dynamic control is adopted, and the size of the buffer memory suitable for the system scale can be smoothly expanded without stopping the system operation. The operator may add a buffer memory as needed, and since it is not necessary to provide an unnecessary memory from the time of system construction, the economical efficiency is greatly improved.
第1図は本発明のポインタ動的制御によるバッファメモ
リ拡張方法におけるポインタ類とバッファメモリの使用
方法を説明するためのデータ関連図、第2図は本発明の
ポインタ動的制御によるバッファメモリ拡張方法の概略
を示すフローチャートである。 1……面数管理データ、2……格納ポインタ、3……読
出ポインタ、4……バッファメモリ拡張表示、10……バ
ッファメモリ、101〜103……面、104,105,106……仮想
面FIG. 1 is a data relation diagram for explaining a method of using pointers and buffer memory in a buffer memory expansion method by pointer dynamic control of the present invention, and FIG. 2 is a buffer memory expansion method by pointer dynamic control of the present invention. 2 is a flowchart showing an outline of the above. 1 ... Number of faces management data, 2 ... Storage pointer, 3 ... Read pointer, 4 ... Buffer memory expansion display, 10 ... Buffer memory, 101-103 ... Face, 104, 105, 106 ... Virtual face
───────────────────────────────────────────────────── フロントページの続き (72)発明者 金 克能 東京都千代田区内幸町1丁目1番6号 日 本電信電話公社内 (72)発明者 佐野 幸男 東京都千代田区内幸町1丁目1番6号 日 本電信電話公社内 (56)参考文献 特開 昭53−63833(JP,A) ─────────────────────────────────────────────────── --- Continuation of the front page (72) Inventor Katsunobu Kim 1-6, Uchisaiwaicho, Chiyoda-ku, Tokyo Japan Telegraph and Telephone Public Corporation (72) Inventor Yukio Sano 1-1-6, Uchisaiwaicho, Chiyoda-ku, Tokyo Japan Telegraph and Telephone Public Corporation (56) References JP-A-53-63833 (JP, A)
Claims (1)
示す格納ポインタ、および、バッファメモリからのデー
タの読出アドレスを示す読出ポインタの両ポインタによ
り、複数面備えたバッファメモリへのデータの格納、読
出を行う機能を有する情報処理システムの前記バッファ
メモリの拡張方法であって、 前記両ポインタに、バッフアメモリ面を示す面指定情報
と、面指定情報にて指定されるバッファ面内での相対ア
ドレス情報をもたせ、 与えられたバッファメモリの拡張指示および拡張後のバ
ッファメモリの面数とを受けつけ、 前記拡張指示を受けて、 両ポインタの内容を取り出し、両ポインタの順序性を判
断し、 データが格納、読出される方向を先方向とすると、 前記格納ポインタが、前記読出ポインタより先を示して
いる場合には、前記与えられた拡張後のバッファメモリ
の面数の値が、前記格納ポインタおよび前記読出ポイン
タのもつ面指定情報が取り得る値の幅の最大値となるよ
うにし、 逆に、前記格納ポインタが、前記読出ポインタより後を
示している場合には、前記格納ポインタが、前記読出ポ
インタより先を示すようになるまで待って、前記与えら
れた拡張後のバッファメモリの面数の値が、前記格納ポ
インタおよび前記読出ポインタのもつ面指定情報が取り
得る値の幅の最大値となるようにすることを特徴とする
ポインタ動的制御によるバッファメモリ拡張方法。1. Storage and reading of data to and from a buffer memory having a plurality of surfaces by both a storage pointer indicating a data storage address to the buffer memory and a read pointer indicating a read address of data from the buffer memory. A method for expanding the buffer memory of an information processing system having a function of performing, wherein both pointers are provided with surface designation information indicating a buffer memory surface and relative address information within the buffer surface designated by the surface designation information. Receiving the given expansion instruction of the buffer memory and the number of sides of the buffer memory after the expansion, receiving the expansion instruction, extracting the contents of both pointers, determining the order of both pointers, storing and reading data If the storage pointer points ahead of the read pointer, The value of the number of surfaces of the given buffer memory after expansion is set to the maximum value width of the values that the storage pointer and the read pointer can have in the surface designation information. , After the read pointer, waits until the storage pointer points ahead of the read pointer, and the value of the number of faces of the given extended buffer memory is A method of expanding a buffer memory by dynamic pointer control, wherein the surface designation information of the storage pointer and the read pointer has a maximum width of possible values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59100531A JPH0670785B2 (en) | 1984-05-21 | 1984-05-21 | Buffer memory expansion method by pointer dynamic control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59100531A JPH0670785B2 (en) | 1984-05-21 | 1984-05-21 | Buffer memory expansion method by pointer dynamic control |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60245056A JPS60245056A (en) | 1985-12-04 |
JPH0670785B2 true JPH0670785B2 (en) | 1994-09-07 |
Family
ID=14276540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59100531A Expired - Lifetime JPH0670785B2 (en) | 1984-05-21 | 1984-05-21 | Buffer memory expansion method by pointer dynamic control |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0670785B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2752902B2 (en) * | 1994-05-31 | 1998-05-18 | 甲府日本電気株式会社 | Vector processing equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5363833A (en) * | 1976-11-18 | 1978-06-07 | Nippon Telegr & Teleph Corp <Ntt> | Cyclic buffer receiving system |
-
1984
- 1984-05-21 JP JP59100531A patent/JPH0670785B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS60245056A (en) | 1985-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62231382A (en) | Image processing method and apparatus | |
JPH0670785B2 (en) | Buffer memory expansion method by pointer dynamic control | |
JPH05225076A (en) | Method and device for managing common information | |
JPS6263333A (en) | Picture information controlling system | |
JPH06309527A (en) | Ic card | |
EP0787326B1 (en) | System and method for processing of memory data and communication system comprising such system | |
JPS6240736B2 (en) | ||
JPH0812643B2 (en) | Page save / restore device | |
JP2533958B2 (en) | Data preceding set device | |
JP2735400B2 (en) | Asynchronous I/O control method | |
JPH0833869B2 (en) | Data processing device | |
JPS6125168B2 (en) | ||
US20040268022A1 (en) | Method for expediting reading and writing on a non-volatile storage medium | |
JP3135547B2 (en) | Data transfer control method | |
JP2507399B2 (en) | Database equipment | |
JPS644215B2 (en) | ||
JPH06103217A (en) | Data transfer device | |
JPH04333129A (en) | Method for writing data into auxiliary storage device | |
JPS6126684B2 (en) | ||
JPH054695B2 (en) | ||
JPH0588983A (en) | Dynamic address translation method for channel device | |
JPH0461373B2 (en) | ||
JPH04253239A (en) | Virtual memory system | |
JPH0324612A (en) | File update retrieving processor | |
JPH09106341A (en) | Buffer memory management method and apparatus |