JPH03125227A - Inter-process data transfer system - Google Patents

Inter-process data transfer system

Info

Publication number
JPH03125227A
JPH03125227A JP26223089A JP26223089A JPH03125227A JP H03125227 A JPH03125227 A JP H03125227A JP 26223089 A JP26223089 A JP 26223089A JP 26223089 A JP26223089 A JP 26223089A JP H03125227 A JPH03125227 A JP H03125227A
Authority
JP
Japan
Prior art keywords
data
area
saving
storage area
restoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP26223089A
Other languages
Japanese (ja)
Inventor
Tetsuo Sano
佐野 徹夫
Takao Kimura
孝雄 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP26223089A priority Critical patent/JPH03125227A/en
Publication of JPH03125227A publication Critical patent/JPH03125227A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the temporary transfer of a large quantity of data at a high speed among plural processes by using primarily a main storage to perform the temporary transfer of a large quantity of data among the processes. CONSTITUTION:An area allocation means 8 receives a request from a data transfer means 2 to partly secure a data store area 4 and secures an area in the area 4. Then the means 8 stores the using information on the area 4 into a data area control table 5 and sends the control information to the means 2 to give an access to the secured area. If no area is secured in the area 4, a request is given to a data saving/restoring means 11 to partly save the data on the area 4. Then the area 4 is secured at reception of the information showing the end of the saving, and the secured area 4 is recorded to the table 5. As a result, a large quantity of data are transferred at a high speed among processes.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数プロセス間において大量のデータを高速
に授受するための方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for exchanging large amounts of data at high speed between multiple processes.

〔従来の技術〕[Conventional technology]

従来、プロセスが発生した大量データを他のグロセスが
引き継ぎデータを処理する場合、−時的なファイルを外
部記憶装置に作成し、70口セス間テテータの授受をお
こなっている。
Conventionally, when another process takes over a large amount of data generated by a process and processes the data, a temporary file is created in an external storage device and a tetator is exchanged between 70 sessions.

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

上述のようにプロセス間でデータの授受を行う際、外部
記憶装置に一時的フアイルを作成する場合には、全ての
データを上記ファイル上に格納しなければならず、全て
のデータ分の容量に対応するファイルスペースが必要と
なってしまう。さらに、全てのデータを外部記憶装置の
ファイル上に格納しているからデータの入出力に時間が
かかるという問題点がある。
When exchanging data between processes as described above, if a temporary file is created in an external storage device, all data must be stored in the above file, and the capacity for all data will be limited. A corresponding file space will be required. Furthermore, since all data is stored in files on an external storage device, there is a problem in that it takes time to input and output data.

本発明の目的は、プロセス間で大量のr−夕の授受を高
速に行うことのできるデータ授受方式を提供することが
できる。
An object of the present invention is to provide a data exchange method that can quickly exchange a large amount of r-data between processes.

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

本発明による複数プロセス間のデータ授受方式は、主記
憶装置上には格納エリアが備えられ、前記データ格納エ
リア内のデータの一部を外部記憶装置に退避する一方、
前記外部記憶装置から7’ −タの一部を前記データ格
納エリア内に復元するデータ退避復元手段と、前記デー
タ格納エリア内に空きエリアがあるとき該空きエリアを
割り当て。
In the data transfer method between multiple processes according to the present invention, a storage area is provided on the main storage device, and while a part of the data in the data storage area is saved to an external storage device,
data saving and restoring means for restoring a part of data from the external storage device into the data storage area; and when there is an empty area in the data storage area, allocating the empty area.

空きエリアが無いとき前記データ退避復元手段を用いて
データ格納エリアからデータの一部を退避し、これによ
って空エリアを割り当てるエリア割り当て手段と、指定
されたデータが前記格納エリア内にあるとき該指定デー
タを渡し、無いときは前記データ退避復元手段を用いて
外部記憶装置から指定データを復元し、この復元したデ
ータを渡すデータ参照手段と、指定されたデータが格納
されているエリアを解放するエリア解放手段と、プロセ
スからのデータ出力要求があると、前記エリア割り当て
手段を用いてエリアを割り当て、割り当てたエリアに要
求されたデータを格納するデータ受け渡し手段と、プロ
セスからのデータ入力要求があると、前記データ参照手
段を用いて要求されたデータを受け取り、この要求デー
タを入力要求したプロセスに渡し、エリア解放手段を用
いて要求データが格納されていたエリアを解放するデー
タ受け取り手段とを有することを特徴としている。
Area allocating means for evacuation of a part of the data from the data storage area using the data evacuation and restoration means when there is no free area, and thereby allocating an empty area; data reference means for passing the data, restoring the specified data from the external storage device using the data saving and restoring means when the data is not available, and passing the restored data; and an area for releasing the area in which the specified data is stored. a release means, a data transfer means for allocating an area using the area allocation means when there is a data output request from the process, and storing the requested data in the allocated area; and a data transfer means for storing the requested data in the allocated area; and data receiving means for receiving the requested data using the data reference means, passing the requested data to the process that made the input request, and releasing the area in which the requested data was stored using the area release means. It is characterized by

〔実施例〕〔Example〕

次に本発明について実施例によって説明する。 Next, the present invention will be explained with reference to examples.

第1図を参照して1本発明によるデータ授受方式は、デ
ータ受け渡し手段2と、データ受け取シ手段6と、デー
タ制御部14とを備えておシ、主記憶装置13には、授
受データ情報エリア3.データ格納エリア4.及びデー
タエリア管理テーブル5が形成されている。また、外部
記憶装置15には、データ退避ファイル12が形成され
ている。
Referring to FIG. 1, the data transfer method according to the present invention includes a data transfer means 2, a data reception means 6, and a data control section 14, and a main storage device 13 stores transfer data information. Area 3. Data storage area 4. and a data area management table 5 are formed. Further, a data save file 12 is formed in the external storage device 15.

データ制御部14は、エリア割り当て手段8と。The data control section 14 and the area allocation means 8.

データ参照手段9と、エリア解放手段1oと、データ退
避復元手段llとを有している。
It has a data reference means 9, an area release means 1o, and a data saving and restoring means ll.

データ受け渡し手段2は、プロセスA1からデータ出力
要求を受け取ると、エリア割り当て手段8に対してデー
タ格納エリア4の一部の確保の要求をおこなう。
When the data transfer means 2 receives the data output request from the process A1, it requests the area allocation means 8 to reserve a part of the data storage area 4.

エリア割り当て手段8は、データ受け渡し手段2からデ
ータ格納エリア4の一部の確保要求を受け取ると、デー
タ格納エリア4内にエリアを確保し、データ格納エリア
4の使用情報をデータエリア管理チーグル5に記録し、
確保したエリアをアクセスするための制御情報をデー′
夕受け渡し手段2に渡す。
When the area allocation means 8 receives a request to secure a part of the data storage area 4 from the data transfer means 2, it secures an area within the data storage area 4 and transfers usage information of the data storage area 4 to the data area management team 5. record,
Data control information for accessing the secured area.
Hand it over to delivery means 2 in the evening.

一方、データ格納エリア4内にエリアが確保できない場
合、データ格納エリア4のデータの一部の退避をデータ
退避復元手段11に要求し、退避完了通知を受けたなら
ばデータ格納エリア4の確保をおこないデータエリアV
埋チーグル5に記録するO データ受け渡し手段2は、エリア割り当て手段8からデ
ータ格納エリア4の一部の割り当てをうけたならば、プ
ロセスAlから受け取ったデータをデータ格納エリア4
へ出力する。データの出力が完了したならば授受データ
情報エリア3に出力データの制御情報を格納し、エリア
割り当て手段8にデータ格納エリア4への出力完了を通
知することによシプロセスA1からのデータ出力が完了
する。プロセスA1のデータ出力が完了したならば、プ
ロセスAlに対し出力完了を通知し再びプロセスA1か
らのデータ出力要求を待つ。
On the other hand, if an area cannot be secured in the data storage area 4, the data storage area 4 is requested to be saved by the data saving/restoring means 11 to save part of the data in the data storage area 4. Data area V
When the data transfer means 2 receives a part of the data storage area 4 from the area allocation means 8, the data transfer means 2 transfers the data received from the process Al to the data storage area 4.
Output to. When the output of data is completed, the control information of the output data is stored in the exchange data information area 3, and the area allocation means 8 is notified of the completion of output to the data storage area 4, so that the data output from the system A1 is completed. Complete. When the data output of the process A1 is completed, the process Al is notified of the completion of the output and waits for a data output request from the process A1 again.

データ割り当て手段8は、7″−夕受け渡し手段2から
出力完了通知を受けると、その旨、7″−ダニリア管理
テーブル5に記録する。
When the data allocation means 8 receives the notification of output completion from the 7''-transfer means 2, it records this in the 7''-Danilia management table 5.

データ受け取9手段6は、プロセスB7からのデータ入
力要求を受け取ると、授受情報エリア3から、入力する
データの制御情報を取シ出し、ブタ参照手段9に対して
データ格納エリア4からのデータ参照要求を行う。
When the data receiving means 6 receives the data input request from the process B7, the data receiving means 6 extracts the control information of the data to be input from the transfer information area 3, and causes the pig reference means 9 to refer to the data from the data storage area 4. Make a request.

データ参照手段9は、7″−夕受け取シ手段6からデー
タ格納エリア4の参照要求をうけとると。
When the data reference means 9 receives a request to refer to the data storage area 4 from the receiving means 6 on the 7th night.

エリアをアクセスするための制御情報をデータ受け取9
手段6に渡し、その旨データエリア管理テーブル5に記
録する。データ格納エリア4内に参照するデータが存在
しない場合、データエリア管理テーブル5をもとにデー
タの復元をデータ退避復元手段11に要求し復元をおこ
なう。このとき。
Receive control information for accessing the area 9
The information is passed to the means 6 and recorded to that effect in the data area management table 5. If the data to be referenced does not exist in the data storage area 4, a request is made to the data saving and restoring means 11 to restore the data based on the data area management table 5, and the restoration is performed. At this time.

データ格納エリ゛ア4内に復元するエリアが無い場合、
データ格納エリア4の一部を退避する。
If there is no area to restore in data storage area 4,
Part of the data storage area 4 is evacuated.

データ受け取り手段6は、データ参照手段9からのデー
タ格納エリア4の割り当てを受けたならハ、テータ格納
エリア4からプロセスB7ヘデータの受ケ渡しをおこな
う。プロセスB7へのデータの受け渡しが完了したなら
ば、エリア解放手段10に対してデータ格納エリア4の
解放を通知し。
When the data receiving means 6 receives the allocation of the data storage area 4 from the data reference means 9, it transfers data from the data storage area 4 to the process B7. When the data transfer to the process B7 is completed, the area release means 10 is notified of the release of the data storage area 4.

プロセスB7のデータ入力が完了する。プロセスB7か
らのデータ入力が完了したなら−ば、プロセスB7に対
し入力完了を通知し再びプロセスB7からのデータ入力
要求を待つ。
Data input of process B7 is completed. When data input from process B7 is completed, process B7 is notified of the completion of input and waits for a data input request from process B7 again.

エリア解放手段lOは、7′−タ受け取シ手段6からデ
ータ格納エリア4の解放通知を受け取ると。
When the area release means 10 receives the notification of release of the data storage area 4 from the data receiving means 6 7'.

データエリア管理テーブル5に記録し、エリアの解放を
おこなう。
Record it in the data area management table 5 and release the area.

データ退避復元手段11は、退避要求を受けたならばデ
ータ格納エリア4内の指定されたエリアをデータ退避フ
ァイル12へ退避し、退避が完了したならば完了を通知
する。また、復元要求を受けたならば、7″−タ格納エ
リア4内の指定されたエリアにデータ退避ファイル12
から復元し、復元が完了したならば完了を通知する。
When the data saving and restoring means 11 receives the saving request, it saves the specified area in the data storage area 4 to the data saving file 12, and when the saving is completed, it notifies the completion. In addition, if a restoration request is received, the data backup file 12 will be stored in the specified area in the 7''-data storage area 4.
and will notify you once the restoration is complete.

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

以上説明したように本発明では、プロセス間の一時的大
量データの授受を、主として主記憶装置でおこない、外
部記憶装置に作られたファイルを利用する場合も必要最
小限の入出力だけですむから、複数プロセス間で一時的
大量データを高速に授受できるという効果がある。
As explained above, in the present invention, temporary large amounts of data are exchanged between processes mainly in the main memory, and even when files created in external storage are used, only the minimum necessary input/output is required. This has the effect of allowing large amounts of temporary data to be exchanged quickly between multiple processes.

第1 図Figure 1

【図面の簡単な説明】 第1図は本発明の一実施例を示す構成図である。 1・・・プロセスA、2・・・データ受け渡し手段、3
・・・授受データ情報エリア、4・・・データ格納エリ
ア。 5・・・データエリア管理テーブル、6・・・データ受
け取シ手段、7・・・プロセスB、8・・・エリア割り
当て手段、9・・・r−夕参照手段、10・・・エリア
解放手段、11・・・データ退避復元手段、12・・・
データ退避ファイル、13・・・主記憶装置、14・・
・データ制御部、15・・・外部記憶装置。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention. 1... Process A, 2... Data delivery means, 3
...Transfer/receive data information area, 4...Data storage area. 5... Data area management table, 6... Data receiving means, 7... Process B, 8... Area allocation means, 9... r-data reference means, 10... Area release means , 11... Data backup and restoration means, 12...
Data backup file, 13...Main storage device, 14...
- Data control unit, 15...external storage device.

Claims (1)

【特許請求の範囲】[Claims] 1、複数のプロセス間でデータの授受を行う際に用いら
れ、主記憶装置上にはデータ格納エリアが備えられ、前
記データ格納エリア内のデータの一部を外部記憶装置に
退避する一方、前記外部記憶装置からデータの一部を前
記データ格納エリア内に復元するデータ退避復元手段と
、前記データ格納エリア内に空きエリアがあるとき該空
きエリアを割り当て、空きエリアが無いとき前記データ
退避復元手段を用いて前記データ格納エリアからデータ
の一部を退避し、これによって空エリアを割り当てるエ
リア割り当て手段と、指定されたデータが前記格納エリ
ア内にあるとき該指定データを渡し、無いときは前記デ
ータ退避復元手段を用いて前記外部記憶装置から指定デ
ータを復元し、該復元したデータを渡すデータ参照手段
と、指定されたデータが格納されているエリアを解放す
るエリア解放手段と、プロセスからのデータ出力要求が
あると、前記エリア割り当て手段を用いてエリアを割り
当て、割り当てたエリアに要求されたデータを格納する
データ受け渡し手段と、プロセスからのデータ入力要求
があると、前記データ参照手段を用いて要求されたデー
タを受け取り、該要求データを前記入力要求したプロセ
スに渡し、前記エリア解放手段を用いて前記要求データ
が格納されていたエリアを解放するデータ受け取り手段
とを有することを特徴とする複数プロセス間のデータ授
受方式。
1. Used when exchanging data between multiple processes, a data storage area is provided on the main memory, and a part of the data in the data storage area is saved to an external storage device. data saving and restoring means for restoring part of data from an external storage device into the data storage area; and when there is a free area in the data storage area, the data saving and restoring means allocates the free area, and when there is no free area, the data saving and restoring means an area allocation means for evacuation of a part of data from the data storage area using the data storage area and allocating an empty area accordingly; data referencing means for restoring specified data from the external storage device using a saving and restoring means and passing the restored data; area release means for releasing an area in which the specified data is stored; and data from the process. When there is an output request, the data transfer means allocates an area using the area allocation means and stores the requested data in the allocated area, and when there is a data input request from the process, the data reference means is used to allocate an area. A data receiving means for receiving requested data, passing the requested data to the process that made the input request, and releasing an area in which the requested data was stored using the area releasing means. Data exchange method between processes.
JP26223089A 1989-10-09 1989-10-09 Inter-process data transfer system Pending JPH03125227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26223089A JPH03125227A (en) 1989-10-09 1989-10-09 Inter-process data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26223089A JPH03125227A (en) 1989-10-09 1989-10-09 Inter-process data transfer system

Publications (1)

Publication Number Publication Date
JPH03125227A true JPH03125227A (en) 1991-05-28

Family

ID=17372885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26223089A Pending JPH03125227A (en) 1989-10-09 1989-10-09 Inter-process data transfer system

Country Status (1)

Country Link
JP (1) JPH03125227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008536131A (en) * 2005-04-12 2008-09-04 シトリニック ゲス フュール エレクトロテクニッシュ オウスルゥスタング エム ベー ハー ウント コー カー ゲー Sensor device for temperature measurement

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008536131A (en) * 2005-04-12 2008-09-04 シトリニック ゲス フュール エレクトロテクニッシュ オウスルゥスタング エム ベー ハー ウント コー カー ゲー Sensor device for temperature measurement

Similar Documents

Publication Publication Date Title
CN104915151B (en) A kind of memory excess distribution method that active is shared in multi-dummy machine system
US7716438B2 (en) Storage system and back-up method for storage system
US5680570A (en) Memory system with dynamically allocatable non-volatile storage capability
US5845147A (en) Single lock command for an I/O storage system that performs both locking and I/O data operation
US6023712A (en) Method and apparatus for brokering memory resources
CN106708427A (en) Storage method suitable for key value pair data
JP2006518492A (en) PERMANENT MEMORY MANAGEMENT METHOD AND PERMANENT MEMORY MANAGEMENT DEVICE
US5682507A (en) Plurality of servers having identical customer information control procedure functions using temporary storage file of a predetermined server for centrally storing temporary data records
CA2176996A1 (en) Customer information control system and method with transaction serialization control functions in a loosely coupled parallel processing environment
JPH08221372A (en) Free resource management device in distributed processing system
CN106980475A (en) A kind of distributed cluster system
JPH03125227A (en) Inter-process data transfer system
US20050044140A1 (en) Information processing method, information processing system, information processing apparatus and computer readable information recording medium
CN117435343A (en) Memory management method and device
US5802557A (en) System and method for caching information in a digital data storage subsystem
JP3882461B2 (en) Storage device system and backup acquisition method thereof
US6834281B1 (en) Method and apparatus to support multi-node direct access to file system data
JP2574537B2 (en) Process management equipment
JP3098802B2 (en) Electronic file device data transfer method
TW200809597A (en) Method and system for device to request and operate an external buffer provided from the host
JP3022829B2 (en) Automatic storage device allocation device
JPH07152651A (en) Method and device for information processing
KR100825724B1 (en) Object-based storage system using PMEM useful for high speed transmission with DMA and method thereof
JPH04350738A (en) Disk space management system
CN117724990A (en) NVM space allocation method and device