JP2590859B2 - Memory management method for communication processing in information processing equipment - Google Patents

Memory management method for communication processing in information processing equipment

Info

Publication number
JP2590859B2
JP2590859B2 JP62030539A JP3053987A JP2590859B2 JP 2590859 B2 JP2590859 B2 JP 2590859B2 JP 62030539 A JP62030539 A JP 62030539A JP 3053987 A JP3053987 A JP 3053987A JP 2590859 B2 JP2590859 B2 JP 2590859B2
Authority
JP
Japan
Prior art keywords
memory
communication
data
memory area
main storage
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
Application number
JP62030539A
Other languages
Japanese (ja)
Other versions
JPS63198449A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP62030539A priority Critical patent/JP2590859B2/en
Publication of JPS63198449A publication Critical patent/JPS63198449A/en
Application granted granted Critical
Publication of JP2590859B2 publication Critical patent/JP2590859B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信回線を介して通信処理装置と接続され
た情報処理装置に関し、特に通信処理装置との間でデー
タの送受信を行なう場合に必要となる通信処理のメモリ
の管理方式に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device connected to a communication processing device via a communication line, and particularly to a case where data is transmitted / received to / from the communication processing device. The present invention relates to a method for managing a memory for a necessary communication process.

〔従来の技術〕[Conventional technology]

通信回線を介して端末装置,情報処理装置等の通信処
理装置とデータの送受信を行なう情報処理装置において
は、通信処理装置へ送信するデータや通信処理装置から
受信したデータを通信処理過程において一時格納するた
めのメモリ領域が必要であり、一般にこのメモリ領域は
情報処理装置の主記憶の一部が使用される。この場合、
情報処理装置の主記憶は、通信制御の為だけでなく他の
各種の制御,処理に使用されるものであるから、主記憶
の或る領域を通信処理に使用するメモリ領域として獲得
する等の管理が必要であり、そのようなメモリ管理方式
として、従来は次のような二通りの方式が知られてい
る。
In an information processing device that transmits and receives data to and from a communication processing device such as a terminal device or an information processing device via a communication line, data to be transmitted to the communication processing device and data received from the communication processing device are temporarily stored in a communication processing process. In general, a part of the main storage of the information processing apparatus is used for this memory area. in this case,
The main memory of the information processing apparatus is used not only for communication control but also for various other controls and processes. Therefore, a certain area of the main memory is obtained as a memory area used for communication processing. Management is required, and the following two methods are conventionally known as such a memory management method.

(1) 情報処理装置の通信制御におけるデータ送受信
時ごとに、今回のデータ送受信に必要な容量だけのメモ
リ領域を逐次主記憶装置から獲得する方式。
(1) A method in which a memory area of a capacity necessary for the current data transmission / reception is sequentially acquired from the main storage device every time data transmission / reception is performed in communication control of the information processing device.

(2) データ送受信時に通信制御において必要となる
最大限の容量、例えば最大トラヒックに見合った容量の
メモリ領域を、情報処理装置における通信制御部の起動
時に一括して獲得しておき、実際のデータ送受信時には
この獲得したメモリ領域の一部を使用する方式。
(2) A maximum memory capacity required for communication control at the time of data transmission / reception, for example, a memory area having a capacity corresponding to the maximum traffic is collectively acquired when the communication control unit in the information processing apparatus is started, and actual data is acquired. A method that uses a part of this acquired memory area during transmission and reception.

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

しかし、上述した従来の方式には、以下のような欠点
がある。
However, the above-described conventional method has the following disadvantages.

一般に主記憶装置から或る容量のメモリ領域を獲得
するにはオペレーティングシステムを構成する主記憶制
御部の介在を必要とする為多少の時間がかかる。従っ
て、情報処理装置の通信制御におけるデータ送受信時ご
とに、主記憶装置の割当て要求を行なって今回のデータ
送受信に必要な容量だけのメモリ領域を逐次主記憶装置
から獲得する従来の方式(1)では、メモリ領域を使用
できるまでに時間がかかり、データ転送の効率が低下す
る。
Generally, acquiring a memory area of a certain capacity from the main storage device requires some time since the main storage control unit constituting the operating system needs to be interposed. Therefore, the conventional method (1) in which, every time data is transmitted and received in the communication control of the information processing device, a main storage device is requested to be allocated and a memory area of a capacity necessary for the current data transmission and reception is sequentially acquired from the main storage device. In such a case, it takes time until the memory area can be used, and the efficiency of data transfer is reduced.

これに対し、データ送受信時に通信制御において必
要となる最大限の容量のメモリ領域を情報処理装置おけ
る通信制御部の起動時に一括して獲得しておく従来方式
(2)は、データ送受信開始前には既にメモリ領域が獲
得されているので、従来方式(1)のようにデータ転送
効率が低下することは防げるが、獲得されたメモリ領域
のうち実際にデータ送受信に使用されている部分の割合
は平均的に小さなものとなるので、主記憶装置の有効利
用が図り難いという欠点がある。また、上記従来方式
(2)の改良案として、一括して獲得するメモリ領域の
容量を小さくすることが考えられるが、そうすると、ト
ラヒックが増大したときにメモリ領域不足が生じ、通信
処理が行えなくなる問題が生じる。
On the other hand, in the conventional method (2) in which a memory area having a maximum capacity required for communication control at the time of data transmission / reception is collectively acquired when the communication control unit of the information processing apparatus is started, the conventional method (2) requires Since the memory area has already been acquired, the data transfer efficiency can be prevented from lowering as in the conventional method (1), but the ratio of the part of the acquired memory area that is actually used for data transmission and reception is There is a disadvantage that it is difficult to effectively use the main storage device because it is small on average. As an improvement of the above conventional method (2), it is conceivable to reduce the capacity of the memory area acquired collectively. However, when the traffic increases, the memory area becomes insufficient, and communication processing cannot be performed. Problems arise.

本発明はこのような従来の欠点を解決したものであ
り、その目的は、データ転送の効率の低下を防ぎつつ、
通信用メモリ容量の動的な管理を行なうことにより主記
憶装置の有効利用が図れるメモリ管理方式を提供するこ
とにある。
The present invention has solved such a conventional disadvantage, and its object is to prevent a decrease in the efficiency of data transfer,
It is an object of the present invention to provide a memory management method capable of effectively using a main storage device by dynamically managing a communication memory capacity.

〔問題点を解決するための手段〕[Means for solving the problem]

本発明は上記目的を達成するために、通信回線を介し
て通信処理装置とデータ通信を行なう情報処理装置にお
ける通信処理のメモリ管理方式において、 主記憶装置から獲得した通信処理用のメモリ領域に関
する管理情報を格納する管理テーブルと、 情報処理装置におけるデータ通信開始前に、オペレー
ティングシステムの一部を構成する主記憶制御部を通じ
て平均トラヒックに見合った容量のメモリ領域を主記憶
装置から獲得し、前記管理テーブルを更新する獲得手段
と、 実際のデータ送受信時に、該データ送受信に必要な容
量の空きのメモリ領域が存在するか否かを前記管理テー
ブルを参照して判定する判定手段と、 該判定手段により存在すると判定されたときに、前記
管理テーブルを参照して今回のデータ送受信に必要な容
量の空きメモリ領域を通信処理に供するメモリ取出手段
と、 空きのメモリ領域の不足時に、前記主記憶制御部を通
じて主記憶装置から通信処理用の新たなメモリ領域を獲
得し、前記管理テーブルを更新する拡張手段と、 データ送受信完了時に使用済となったメモリ領域に基
づいて前記管理テーブルを更新するメモリ付加手段とか
ら構成される。
In order to achieve the above object, the present invention provides a memory management system for a communication process in an information processing device that performs data communication with a communication processing device via a communication line, wherein management of a communication processing memory area acquired from a main storage device is performed. A management table for storing information, and a memory area having a capacity corresponding to the average traffic is acquired from the main storage device through a main storage control unit constituting a part of the operating system before starting data communication in the information processing device. Acquiring means for updating a table; determining means for determining whether or not there is a free memory area having a capacity required for the data transmission and reception at the time of actual data transmission and reception by referring to the management table; When it is determined that the data is present, the management table is referred to and the free space of the capacity necessary for the current data transmission / reception is obtained. Memory fetching means for providing the memory area for communication processing, and expansion means for acquiring a new memory area for communication processing from the main storage device through the main storage control unit when the free memory area is insufficient, and updating the management table. And memory adding means for updating the management table based on the memory area used when data transmission / reception is completed.

〔作用〕[Action]

情報処理装置におけるデータ通信開始前に、獲得手段
によって、平均トラヒックに見合った容量のメモリ領域
が主記憶装置から獲得され、その旨が管理テーブルに登
録される。その後、実際のデータ送受信時には、そのデ
ータ送受信に必要な容量の空きのメモリ領域が存在する
か否かが判定手段によって判定され、存在するときは、
メモり取出手段によって、今回のデータ送受信に必要な
容量の空きのメモリ領域が通信処理に供される。また、
空きのメモリ領域が少ないときは、拡張手段によって新
たなメモリ領域が主記憶装置から獲得され、メモリ取出
手段によるメモリ領域の獲得を保証する。データ送受信
が完了すると、データ送受信に使用していたメモリ領域
は使用済となるので、メモリ付加手段によって管理テー
ブルが更新され、空きのメモリ領域が増大される。
Prior to the start of data communication in the information processing apparatus, a memory area having a capacity corresponding to the average traffic is obtained from the main storage device by the obtaining means, and that fact is registered in the management table. Thereafter, at the time of actual data transmission / reception, the determination unit determines whether or not there is an empty memory area having a capacity necessary for the data transmission / reception.
By the memory extracting means, a free memory area having a capacity necessary for the current data transmission / reception is provided for communication processing. Also,
When the available memory area is small, a new memory area is acquired from the main memory by the expansion means, and the acquisition of the memory area by the memory fetch means is guaranteed. When the data transmission / reception is completed, the memory area used for the data transmission / reception becomes used. Therefore, the management table is updated by the memory adding means, and the free memory area is increased.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第2図は本発明を適用するデータ通信システムの構成
例を示すブロック図である。同図において、情報処理装
置100と通信処理装置120とは通信回線110を介して接続
され、情報処理装置100は、アプリケーション・プログ
ラム等の通信業務部101,通信管理部102,通信メモリ管理
部103,オペレーティングシステムの一部を構成する主記
憶制御部104,通信制御部105および主記憶106を含んでい
る。
FIG. 2 is a block diagram showing a configuration example of a data communication system to which the present invention is applied. In the figure, an information processing apparatus 100 and a communication processing apparatus 120 are connected via a communication line 110, and the information processing apparatus 100 includes a communication service unit 101 such as an application program, a communication management unit 102, and a communication memory management unit 103. And a main memory control unit 104, a communication control unit 105, and a main memory 106 which constitute a part of the operating system.

第1図は通信メモリ管理部103の実施例のブロック図
であり、ベースメモリ確保手段21と、命令受信手段22
と、命令判定手段23と、メモリ容量判定手段24は,メモ
リ付加手段25と、拡張メモリ確保手段26と、メモリ取出
手段27と、獲得メモリ管理テーブル28と、獲得メモリ開
放手段29とを含んでいる。
FIG. 1 is a block diagram of an embodiment of the communication memory management unit 103, which includes a base memory securing unit 21 and a command receiving unit 22.
The command determining means 23 and the memory capacity determining means 24 include a memory adding means 25, an extended memory securing means 26, a memory fetching means 27, an acquired memory management table 28, and an acquired memory releasing means 29. I have.

次に本発明の動作を各図を参照しながら説明する。 Next, the operation of the present invention will be described with reference to the drawings.

第2図において、情報処理装置100と通信処理装置120
との間でデータ通信を行なう場合、先ず、通信業務部10
1から通信管理部102に通信開始命令が渡される。
In FIG. 2, the information processing device 100 and the communication processing device 120
When performing data communication with the
A communication start command is passed from 1 to the communication management unit 102.

通信管理部102はこの通信開始命令を受取ると、通信
制御部105が通信処理装置120から受信したデータを通信
業務部101へ渡す為に、或いは通信業務部101が通信処理
装置102へ送信するデータを通信制御部105へ渡すために
必要な最小限の容量例えば平均トラヒックに見合った容
量のベースメモリを獲得するために、通信メモリ管理部
103にベースメモリ確保要求命令を渡す。
When the communication management unit 102 receives the communication start command, the communication control unit 105 transmits the data received from the communication processing device 120 to the communication service unit 101, or the data transmitted by the communication service unit 101 to the communication processing device 102. Communication memory management unit in order to obtain a minimum amount of base memory required for passing the communication control unit 105 to the communication control unit 105, for example, a base memory having a capacity corresponding to the average traffic.
The base memory allocation request instruction is passed to 103.

通信管理部102からのベースメモリ確保要求命令は、
通信メモリ管理部103の第1図に示す命令受信手段22で
受信され、命令判定手段23に渡される。命令判定手段23
は受信された命令がベースメモリ確保要求命令であると
きはベースメモリ確保手段21を起動するものであり、こ
れに応答してベースメモリ確保手段21は主記憶制御部10
4に対し主記憶106から所定容量のベースメモリを獲得す
る要求を出し、主記憶制御部104からベースメモリとし
て要求のあった主記憶106のメモリ領域が通知される
と、その位置情報等の管理情報を獲得メモリ管理テーブ
ル28に登録する。
The base memory reservation request command from the communication management unit 102 is
The command is received by the command receiving means 22 shown in FIG. Instruction determination means 23
Starts the base memory securing means 21 when the received command is the base memory securing request command, and in response, the base memory securing means 21
When a request for acquiring a predetermined capacity of the base memory is issued from the main memory 106 to the main memory 4 and the memory area of the main memory 106 requested as the base memory is notified from the main memory control unit 104, the position information and the like are managed. The information is registered in the acquisition memory management table 28.

その後、通信管理部102が通信業務部101からデータ送
信要求命令を受取るか或いは通信制御部105からデータ
受信要求命令を受取ると、通信管理部102は、今回のデ
ータ送信によって通信業務部101のデータを通信制御部1
05へ渡したり、或いは今回のデータ受信によって通信制
御部105が受信したデータを通信業務部101へ渡すために
必要な容量のデータメモリを獲得するために、データメ
モリの容量を指定したデータメモリ獲得命令を通信メモ
リ管理部103へ渡す。
Thereafter, when the communication management unit 102 receives a data transmission request command from the communication service unit 101 or receives a data reception request command from the communication control unit 105, the communication management unit 102 transmits the data of the communication service unit 101 by this data transmission. The communication control unit 1
In order to obtain the data memory of the capacity required to pass the data received by the communication control unit 105 to the communication service unit 101 by passing the data to the communication service unit 101 by receiving the data at this time or by acquiring the data memory designated by the data memory capacity The command is passed to the communication memory management unit 103.

通信メモリ管理部103では上記データメモリ獲得命令
は命令受信手段22で受信され、命令判定手段23は受信さ
れた命令がデータメモリ獲得命令であることを判定する
と、必要な情報を与えてメモリ容量判定手段24を起動す
る。
In the communication memory management unit 103, the data memory acquisition instruction is received by the instruction receiving means 22, and the instruction determination means 23 determines that the received instruction is a data memory acquisition instruction by giving necessary information to determine the memory capacity. Activate means 24.

メモリ容量判定手段24は起動されると、今回のデータ
メモリ獲得命令で要求する容量のデータメモリを、既に
獲得済のベースメモリ中の空き領域から割当て可能な否
かを判定し、可能であればメモリ取出手段27を起動す
る。
When activated, the memory capacity determination unit 24 determines whether a data memory of the capacity requested by the current data memory acquisition instruction can be allocated from a vacant area in the already acquired base memory. Activate the memory extracting means 27.

メモリ取出手段27はこれに応答し、獲得メモリ管理テ
ーブル28を参照して、今回割当てるデータメモリを決定
し、その位置情報等を通信管理部102に通知する。そし
て、今回割当てたデータメモリ部分相当のメモリ領域を
割当て済に更新する。
In response to this, the memory extracting unit 27 determines the data memory to be allocated this time with reference to the acquired memory management table 28, and notifies the communication management unit 102 of the position information and the like. Then, the memory area corresponding to the currently allocated data memory portion is updated to the allocated area.

他方、メモリ容量判定手段24は、データメモリ獲得命
令で要求する容量のデータメモリを既に獲得済のベース
メモリから割当てることが不可能であると判定すると、
先ず拡張メモリ確保手段26を起動し、その処理完了をま
ってメモリ取出手段27を起動する。
On the other hand, when the memory capacity determination unit 24 determines that it is impossible to allocate the data memory of the capacity requested by the data memory acquisition command from the already acquired base memory,
First, the extended memory securing means 26 is activated, and upon completion of the processing, the memory extracting means 27 is activated.

拡張メモリ確保手段26は起動されると、主記憶制御部
104に対し新たなベースメモリの獲得要求を行なうこと
により、例えばベースメモリより容量が小さく且つ複数
回のデータ送受信には足りる程度の容量の拡張メモリを
新たに一つ獲得し、その旨を獲得メモリ管理テーブル28
に登録する。その後、メモリ容量判定手段24によってメ
モリ取出手段27が起動されると、メモリ取出手段27は前
述と同様な処理により今回割当てるデータメモリをベー
スメモリ或いは拡張メモリから決定し、その位置情報等
を通信管理部102に通知すると共に、獲得メモリ管理テ
ーブル28を更新する。
When the extended memory securing means 26 is activated, the main memory control unit
By issuing a request for acquiring a new base memory to the memory 104, for example, one new extended memory having a capacity smaller than that of the base memory and having a capacity sufficient for a plurality of data transmission / receptions is acquired. Management table 28
Register with. Thereafter, when the memory removal means 27 is started by the memory capacity determination means 24, the memory removal means 27 determines the data memory to be allocated this time from the base memory or the extended memory by the same processing as described above, and manages the position information and the like for communication management. In addition to notifying the unit 102, the acquired memory management table 28 is updated.

上述のような処理により、通信メモリ管理部103から
データメモリを受取ると、通信管理部102はそのデータ
メモリを利用して、通信業務部101から通信制御部105へ
データを渡し、或いはい通信制御部105から通信業務部1
01へデータを渡す。そして、そのデータ送受信が完了す
ると、上記使用していたデータメモリは不要になるの
で、通信メモリ管理部103へ使用済のデータメモリを指
定したデータメモリ返却命令を渡す。
When the data memory is received from the communication memory management unit 103 by the processing described above, the communication management unit 102 uses the data memory to pass data from the communication service unit 101 to the communication control unit 105, or to perform communication control. Department 105 to Communications Business Department 1
Pass data to 01. When the data transmission / reception is completed, the used data memory becomes unnecessary, so that a data memory return instruction designating the used data memory is passed to the communication memory management unit 103.

通信メモリ管理部103では、上記データメモリ返却命
令が命令受信手段22で受信され、命令判定手段23で受信
命令がデータメモリ返却命令であることが判定される
と、必要な情報を与えてメモリ付加手段25を起動する。
In the communication memory management unit 103, when the data memory return instruction is received by the instruction receiving means 22 and the instruction determination means 23 determines that the received instruction is Activate means 25.

これに応答してメモリ付加手段25は、獲得メモリ管理
テーブル28中の該当データメモリ相当部分の管理情報を
空き状態に更新することにより、使用済のデータメモリ
空き領域としてベースメモリ或いは拡張メモリに返却す
る。
In response to this, the memory adding means 25 updates the management information of the corresponding data memory corresponding portion in the acquired memory management table 28 to an empty state, and returns it to the base memory or the extended memory as a used data memory empty area. I do.

以上のような処理が逐次実行され、通信管理部102が
通信業務部101より通信停止命令を受けることにより、
その旨を示す命令が通信メモリ管理部103に渡される
と、命令受信手段22で受信後、命令判定手段23で判定さ
れ、獲得メモリ解放手段29が起動される。これに応答し
て獲得メモリ解放手段29は、獲得メモリ管理テーブル28
で管理されているベースメモリ及び拡張メモリがあれば
それも含めた全ての獲得メモリを主記憶制御部104を通
じて主記憶106に返却する。
The above processing is sequentially executed, and the communication management unit 102 receives a communication stop instruction from the communication business unit 101,
When a command indicating that is passed to the communication memory management unit 103, the command is received by the command receiving unit 22, is determined by the command determining unit 23, and the acquired memory releasing unit 29 is activated. In response to this, the acquired memory release means 29
If there is a base memory and an extended memory managed by the above, all the acquired memories including that are returned to the main memory 106 through the main memory control unit 104.

第3図は上記実施例によるメモリ管理方式によって主
記憶装置がどのように使用されるかを例示したものであ
る。通信業務部101から通信管理部102に通信開始命令が
渡されることによりベースメモリ確保要求命令が通信管
理部102から通信メモリ管理部103に送られると、ベース
メモリ確保手段21によって例えば第3図(a)に示すよ
うに主記憶装置40の或る領域がベースメモリ41として獲
得される。その後、通信管理部102からデータメモリ獲
得命令が通信メモリ管理部103に送られると、メモリ容
量判定手段24の判定を経て、メモリ取出手段27により例
えば第3図(b)に示すように獲得したベースメモリ41
中に或る領域がデータメモリ42−1として取出される。
同様に後続するデータメモリ獲得命令受信時に、第3図
(b)に示すベースメモリ41中の空き領域を使用して第
3図(c)に示すようにデータメモリ42−2〜42−nが
逐次取出される。そして、その後再びデータメモリ獲得
命令が出され、第3図(c)に示すベースメモリ41中に
はそれだけの空き領域がなかったすると、メモリ容量判
定手段24により拡張メモリ確保手段26が起動されること
により、第3図(d)に示すように、拡張メモリ43が獲
得され、ベースメモリ41の空き領域と拡張メモリ43を使
って今回のデータメモリ42−(n+1)の取出しが行な
われる。また、例えば第3図(c)に示す状態におい
て、例えばデータメモリ42−nについてのデータメモリ
返却命令が通信メモリ管理部103に与えられると、メモ
リ付加手段25によって、第3図(e)に示すようにデー
タメモリ42−nとして使われていた領域が空き領域とし
て管理されるようになる。
FIG. 3 illustrates how the main storage device is used by the memory management method according to the above embodiment. When a communication start command is passed from the communication service unit 101 to the communication management unit 102 and a base memory reservation request command is sent from the communication management unit 102 to the communication memory management unit 103, the base memory reservation unit 21 uses, for example, FIG. As shown in a), a certain area of the main storage device 40 is obtained as the base memory 41. Thereafter, when a data memory acquisition command is sent from the communication management unit 102 to the communication memory management unit 103, the data is acquired by the memory extraction unit 27, for example, as shown in FIG. Base memory 41
A certain area is taken out as the data memory 42-1.
Similarly, when a subsequent data memory acquisition instruction is received, the data memories 42-2 to 42-n are used as shown in FIG. 3C by using the empty area in the base memory 41 shown in FIG. 3B. Retrieved sequentially. Then, a data memory acquisition instruction is issued again, and if there is no such free space in the base memory 41 shown in FIG. 3 (c), the extended memory securing means 26 is started by the memory capacity determining means 24. As a result, as shown in FIG. 3D, the extension memory 43 is obtained, and the current data memory 42- (n + 1) is taken out using the free area of the base memory 41 and the extension memory 43. Also, for example, in the state shown in FIG. 3C, when a data memory return instruction for the data memory 42-n is given to the communication memory management unit 103, the memory adding means 25 causes As shown, the area used as the data memory 42-n is managed as a free area.

以上本発明の実施例について説明したが、本発明は以
上の実施例のみ限定されずその他各種の付加変更が可能
である。例えば、次のような構成とすることができる。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments, and various other modifications can be made. For example, the following configuration can be adopted.

上記実施例では、メモリ容量判定手段24でメモリの
容量不足が検出された時点で拡張メモリ確保手段26を起
動したが、獲得メモリ管理テーブル28の内容を定期的に
参照し空き領域が予め定められた容量以下になったとき
拡張メモリ確保手段26を起動する手段を設け、事前に空
き領域を確保しておく。
In the above embodiment, when the memory capacity determination unit 24 detects that the memory capacity is insufficient, the extended memory securing unit 26 is activated.However, the content of the acquired memory management table 28 is periodically referred to, and an empty area is determined in advance. A means for activating the extended memory securing means 26 when the capacity becomes equal to or less than the preset capacity is provided, and an empty area is secured in advance.

獲得メモリ管理テーブル28の内容を定期的に参照し
空き領域が予め定められた容量以上になったとき、例え
ば拡張メモリ中の予め定められた容量の空き領域を主記
憶に返却する手段を設け、トラヒックの増大によって獲
得メモリの容量が増大しその後トラヒックが減少して空
き領域の割合が増加するのを防止する。
When the free space becomes equal to or more than a predetermined capacity by periodically referring to the content of the acquisition memory management table 28, for example, a means for returning a free space of a predetermined capacity in the extended memory to the main memory is provided, The increase in traffic prevents the capacity of the acquired memory from increasing, and thereafter prevents the traffic from decreasing and increasing the percentage of free space.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、データ通信開始前
に、平均トラヒックに見合った容量のメモリ領域を主記
憶装置から獲得しておき、実際にデータが送受信される
とき、上記獲得済のメモリ領域から必要な容量のメモリ
を取出して通信処理に供し、また、データの送受信完了
時には使用済となった容量のメモリを空き領域として獲
得済のメモリ領域に返却して後のデータ送受信時に利用
し、獲得済の空きのメモリ領域が不足した場合にのみ新
たにメモリ領域を主記憶装置から獲得して獲得済のメモ
リ領域を拡張するようにしたものであり、データ転送の
効率化が図れると共に、メモリ領域の無駄が少なくな
り、主記憶装置の有効利用が可能となる。
As described above, according to the present invention, before starting data communication, a memory area having a capacity corresponding to the average traffic is acquired from the main storage device, and when the data is actually transmitted / received, the acquired memory area is acquired. From the required amount of memory to provide for communication processing, and, when data transmission and reception is completed, return the used memory to the acquired memory area as an empty area and use it for data transmission and reception afterwards, A memory area is newly acquired from the main storage device to extend the acquired memory area only when the acquired free memory area is insufficient, so that the efficiency of data transfer can be improved and the memory area can be increased. The waste of the area is reduced, and the main storage device can be effectively used.

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

第1図は通信メモリ管理部103の実施例のブロック図、 第2図は本発明を適用するデータ通信システムの構成例
を示すブロック図および、 第3図は本発明の実施例によるメモリ管理方式によって
主記憶装置がどのように使用されるかを例示した実施例
の動作説明図である。 図において、21……ベースメモリ確保手段、22……命令
受信手段、23……命令判定手段、24……メモリ容量判定
手段、25……メモリ付加手段、26……拡張メモリ確保手
段、27……メモリ取出手段、28……獲得メモリ管理テー
ブル、29……獲得メモリ解放手段、40……主記憶装置、
100……情報処理装置、101……通信業務部、102……通
信管理部、103……通信メモリ管理部、104……主記憶制
御部、105……通信制御部、106……主記憶、110……通
信回線、120……通信処理装置。
FIG. 1 is a block diagram of an embodiment of a communication memory management unit 103, FIG. 2 is a block diagram showing a configuration example of a data communication system to which the present invention is applied, and FIG. 3 is a memory management system according to an embodiment of the present invention. FIG. 7 is an operation explanatory diagram of an embodiment illustrating how the main storage device is used by the embodiment. In the figure, 21 ... base memory securing means, 22 ... command receiving means, 23 ... command determining means, 24 ... memory capacity determining means, 25 ... memory adding means, 26 ... extended memory securing means, 27 ... ... memory removal means, 28 ... acquired memory management table, 29 ... acquired memory release means, 40 ... main storage device,
100 information processing device, 101 communication operation unit, 102 communication management unit, 103 communication memory management unit, 104 main storage control unit, 105 communication control unit, 106 main storage, 110: communication line, 120: communication processing device.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】通信回路を介して通信処理装置とデータ通
信を行なう情報処理装置における通信処理のメモリ管理
方式において、 主記憶装置から獲得した通信処理用のメモリ領域に関す
る管理情報を格納する管理テーブルと、 情報処理装置におけるデータ通信開始前に、オペレーテ
ィングシステムの一部を構成する主記憶制御部を通じて
平均トラヒックに見合った容量のメモリ領域を主記憶装
置から獲得し、前記管理テーブルを更新する獲得手段
と、 実際のデータ送受信時に、該データ送受信に必要な容量
の空きのメモリ領域が存在するか否かを前記管理テーブ
ルを参照して判定する判定手段と、 該判定手段により存在すると判定されたときに、前記管
理テーブルを参照して今回のデータ送受信に必要な容量
の空きのメモリ領域を通信処理に供するメモリ取出手段
と、 空きのメモリ領域の不足時に、前記主記憶制御部を通じ
て主記憶装置から通信処理用の新たなメモリ領域を獲得
し、前記管理テーブルを更新すると拡張手段と、 データ送受信完了時に使用済となったメモリ領域に基づ
いて前記管理テーブルを更新するメモリ付加手段とを具
備したことを特徴とする情報処理装置における通信処理
のメモリ管理方式。
1. A management table for storing management information relating to a communication processing memory area acquired from a main storage device in a communication processing memory management method in an information processing device performing data communication with a communication processing device via a communication circuit. Acquiring means for acquiring a memory area having a capacity corresponding to the average traffic from the main storage device through a main storage control unit constituting a part of the operating system before starting data communication in the information processing device, and updating the management table At the time of actual data transmission / reception, determining means for referring to the management table to determine whether or not there is a free memory area having a capacity necessary for the data transmission / reception; and Then, referring to the management table, a free memory area having a capacity necessary for the current data transmission / reception is used for communication processing. A memory fetching means to be provided, and when a vacant memory area is insufficient, a new memory area for communication processing is obtained from the main storage device through the main storage control unit and the management table is updated. A memory adding unit for updating the management table based on a used memory area, a memory management method for communication processing in the information processing apparatus.
JP62030539A 1987-02-12 1987-02-12 Memory management method for communication processing in information processing equipment Expired - Lifetime JP2590859B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62030539A JP2590859B2 (en) 1987-02-12 1987-02-12 Memory management method for communication processing in information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62030539A JP2590859B2 (en) 1987-02-12 1987-02-12 Memory management method for communication processing in information processing equipment

Publications (2)

Publication Number Publication Date
JPS63198449A JPS63198449A (en) 1988-08-17
JP2590859B2 true JP2590859B2 (en) 1997-03-12

Family

ID=12306598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62030539A Expired - Lifetime JP2590859B2 (en) 1987-02-12 1987-02-12 Memory management method for communication processing in information processing equipment

Country Status (1)

Country Link
JP (1) JP2590859B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2807010B2 (en) * 1988-01-27 1998-09-30 ストレイジ テクノロジー コーポレイション Tape drive control unit for interconnection between host computer and tape drive and method of operating the same
JP2792866B2 (en) * 1988-09-20 1998-09-03 富士通株式会社 Buffer pool pre-expansion device
JP2812400B2 (en) * 1990-03-13 1998-10-22 キヤノン株式会社 Switching system and control method thereof
JP4651780B2 (en) * 2000-06-20 2011-03-16 Necエンジニアリング株式会社 Queue creation device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6051751B2 (en) * 1980-03-24 1985-11-15 日本電信電話株式会社 Communication control device
JPS61156450A (en) * 1984-12-28 1986-07-16 Fujitsu Ltd Dynamic buffer control system
JPH0664628B2 (en) * 1985-05-17 1994-08-22 松下電器産業株式会社 Character recognition device

Also Published As

Publication number Publication date
JPS63198449A (en) 1988-08-17

Similar Documents

Publication Publication Date Title
US5313638A (en) Method using semaphores for synchronizing communication between programs or processes resident in a computer system
JP2003196152A (en) Memory pool management method
JP2590859B2 (en) Memory management method for communication processing in information processing equipment
CN112822299B (en) RDMA (remote direct memory Access) -based data transmission method and device and electronic equipment
CN112822300B (en) RDMA (remote direct memory Access) -based data transmission method and device and electronic equipment
JP2792866B2 (en) Buffer pool pre-expansion device
CN114996014A (en) Memory allocation method and device based on ION (input/output) allocator and electronic equipment
JPH06231036A (en) Recovery supporting method in shortage of memory
CN114721717B (en) Dual-system-based mobile phone management system mdm instruction calling method and device
US5539913A (en) System for judging whether a main processor after processing an interrupt is required to process the I/O control of an I/O control local processor
JP3111980B2 (en) Multitask distribution processing method for processing requests
JPH10177510A (en) Client server system
JPS59231952A (en) Communication control system between multiprocessors
CN117632514A (en) Signal amount management method and device, electronic equipment and storage medium
JP3978848B2 (en) Data table access controller
JPH06103144A (en) Information processing system
JPH01185734A (en) Buffer memory managing system
JP2558370B2 (en) Buffer management method
JP3250717B2 (en) Communication processing method and device
CN118035129A (en) Storage space allocation method and device
JPH06110825A (en) Common bus control system
JPH0895839A (en) Data backup method
JPH0736838A (en) Shared resource using network device and method for acquiring shared resource occupation right
JPH04250540A (en) Image processor
JPH0713852A (en) Area management device