JPS61134844A - Share space control system for storage device - Google Patents

Share space control system for storage device

Info

Publication number
JPS61134844A
JPS61134844A JP25565284A JP25565284A JPS61134844A JP S61134844 A JPS61134844 A JP S61134844A JP 25565284 A JP25565284 A JP 25565284A JP 25565284 A JP25565284 A JP 25565284A JP S61134844 A JPS61134844 A JP S61134844A
Authority
JP
Japan
Prior art keywords
task
shared space
inter
space
share
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
JP25565284A
Other languages
Japanese (ja)
Inventor
Akira Takase
高瀬 章
Masayoshi Nakao
昌善 中尾
Hiroshi Kosugi
小杉 寛
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.)
Fujitsu Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
NEC 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 Fujitsu Ltd, NEC Corp, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP25565284A priority Critical patent/JPS61134844A/en
Publication of JPS61134844A publication Critical patent/JPS61134844A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To improve the data processing efficiency by defining a space to be shared among plural tasks and delivering a share declaration. CONSTITUTION:The memory area of a main storage device 2 stores an inter- task share control table 2-1, task control tables 2-2a and 2-2b and tasks 2-3a, 2-3b-. Then a share space 2-6 is defined first by the task 2-3a and secured when the share space 2-6 is used to secure mutual share for tasks 2-3a and 3-3b. The task 3b share the same task space with the task 2-3a and is going to share the information with the task 2-3a by means of the space 2-6. Thus the reference of the information is possible for the task 2-3b. The share state of the space 2-6 is released when the information on the space 2-6 is unnecessary for either one of both tasks. Thus an independent proper space is available to these tasks.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は,データ処理システムに適用し,複数の任意の
タスク間に相互に参照可能な共用空間を動的に定義した
り.解消したりすることのできる記憶装置における共用
空間制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention is applicable to data processing systems to dynamically define a shared space that can be mutually referenced between a plurality of arbitrary tasks. This invention relates to a shared space control method in a storage device that can be resolved.

〔従来技術〕[Prior art]

従来,この種の記憶装置において,複数タスク間1ユお
ける共用空間の対応付けは.システム・ジェネレーショ
ン時に固定的に定義されるか。
Conventionally, in this type of storage device, the correspondence of shared space between multiple tasks at one unit was not possible. Is it fixedly defined during system generation?

またはタスク生成時に固定的に定義されていた。Or it was fixedly defined when the task was created.

そのために、ある処理の進行に従って.特定のタスク間
に限定された任意の共用空間を任意の時点において定義
および解消を行うことができないという欠点があった。
To that end, according to the progress of a certain process. This method has the disadvantage that it is not possible to define and eliminate any shared space limited between specific tasks at any time.

〔発明の目的〕[Purpose of the invention]

本発明の目的は,上記従来の欠点を解消し。 An object of the present invention is to eliminate the above-mentioned conventional drawbacks.

特定のタスク間に限定した任意のタスク間共用空間を動
的C二任意の時点において定義し,かつ解消することの
できる記憶装置における共用空間制御方式を提供するこ
とにある。
An object of the present invention is to provide a shared space control method in a storage device that can dynamically define and eliminate an arbitrary inter-task shared space between specific tasks at any time.

〔発明の構成〕[Structure of the invention]

本発明による記憶装置の共用空間制御方式は。 A storage device shared space control method according to the present invention is as follows.

第1図に示すように、複数のタスクのうちのいずれか1
つのタスクからの要求にしたがってタスク間に共用させ
る空間を定義するタスク間共用空間定義手段と、該定義
されたタスク間共用空間を指定された他の1つのタスク
に対し、共用空間として共有させるタスク間共用空間共
有手段と、該タスク間共用空間共有手段によりタスク間
共用空間を共有している前記1つのタスク、または他の
1つのタスクから共用空間の共有を解除するタスク間共
用空間共有解除手段と。
As shown in Figure 1, any one of multiple tasks
an inter-task common space definition means for defining a space to be shared between tasks according to a request from one task; and a task for making the defined inter-task common space to be shared as a common space by another specified task. inter-task shared space sharing means; and inter-task shared space sharing release means for releasing sharing of the shared space from the one task or another task sharing the inter-task shared space by the inter-task shared space sharing means. and.

該手段による共有解除後に、前記定義されているタスク
間共用空間を解消するタスク間共用空間解消手段とから
構成される。
and an inter-task shared space eliminating means for eliminating the defined inter-task shared space after the sharing is canceled by the means.

〔発明の作用概要〕[Summary of operation of the invention]

本発明による共用空間制御方式は、複数の任意のタスク
間において空間を共用して使用する場合、共用空間を使
用しようとするタスクが任意の時点において共用すべき
空間を定義し、さらに共有宣言を行うことにより、共有
宣言を行った時点より、上記タスクに対して共有宣言に
おいて指定された共用空間の使用を可能とさせるととも
に、共用空間を共有しているタスクに対して共用空間の
共有の解除と定義されている共用空間の解消を可能にさ
せるものである。
In the shared space control method according to the present invention, when a space is shared between a plurality of arbitrary tasks, the tasks attempting to use the shared space define the space to be shared at any time, and further declare the sharing. By doing this, from the time the sharing declaration is made, the tasks mentioned above will be able to use the shared space specified in the sharing declaration, and the sharing of the shared space will be canceled for the tasks that are sharing the shared space. This makes it possible to eliminate the shared space defined as .

〔発明の実施例〕[Embodiments of the invention]

次に9本発明による共用空間制御方式について実施例を
挙げ9図面を参照して説明する。
Next, a shared space control system according to the present invention will be described with reference to embodiments and drawings.

第2図は本発明による実施例の構成を示すブロック図で
ある。図において、1は中央処理装置、2は中央処理装
置により制御される主記憶装置である。この主記憶装置
2の記憶領域には、     1タスク間共用空間管理
テーブル2−1.タスク管理チーデル2−2a、 2−
2b、タスク(A)2−3a。
FIG. 2 is a block diagram showing the configuration of an embodiment according to the present invention. In the figure, 1 is a central processing unit, and 2 is a main storage device controlled by the central processing unit. The storage area of the main storage device 2 includes an inter-task shared space management table 2-1. Task management cheedel 2-2a, 2-
2b, Task (A) 2-3a.

タスク(B) 2−3b、セグメントテーブル(ST)
2−4a、 2−4b、ページテーブル(FT)2−5
.および共用空間2−6がそれぞれ収容されている。
Task (B) 2-3b, segment table (ST)
2-4a, 2-4b, page table (FT) 2-5
.. and a common space 2-6 are accommodated, respectively.

いて、共用空間2−6を使用して相互に情報をa 共用しようとするとき、まずタスク(A) 2−2wに
よりタスク間共用空間を定義し、タスク間共にアクセス
することが可能になる。一方、上記のタスク間共用空間
を用いてタスク(A) 2−3aと情報を共用しようと
するタスク(B) 2−3bは。
When attempting to mutually share information using the shared space 2-6, an inter-task shared space is first defined by the task (A) 2-2w, and the tasks can access it together. On the other hand, task (B) 2-3b attempts to share information with task (A) 2-3a using the inter-task shared space.

タスク(A) 2−3 aの定義したタスク間共用空間
を共有することにより、タスク(A)とタスク(B)と
が同一タスク間共用空間にアクセス可能となり、タスク
間共用空間における情報を相互に参照したり、更新した
りすることができる。
Task (A) 2-3 By sharing the inter-task shared space defined by a, task (A) and task (B) can access the same inter-task shared space, and can mutually exchange information in the inter-task shared space. can be viewed and updated.

タスク間共用空間の情報が、このタスク間共間共用空間
の共有を解除し、それまでタスク間共用空間として使用
していた空間を自タスク固有の空間として使用可能にす
ることができる。
Information on the inter-task shared space can cancel the sharing of this inter-task shared space and make the space that was previously used as the inter-task shared space available for use as a space unique to the own task.

なお、タスク間共用空間の共有解除時に、タスク間共用
空間を共有しているタスクが存在しなくなった時には、
タスク間共用空間の返却およびタスク間共用空間の解消
が行われる。上記共用空間の制御手順をフhヤードで示
すと、第3図のようになる。
Note that when the sharing of the inter-task shared space is canceled, if there are no more tasks sharing the inter-task shared space,
The inter-task shared space is returned and the inter-task shared space is canceled. The control procedure for the shared space described above is shown in FIG.

第4図は、タスク間共用空間の管理方式を説明するため
の図である。この図を参照してタスク間共用空間の管理
について説明すると、タスク間共用空間定義時に、指定
されるタスク共用空間識別子、または自動的に付与され
るタスク共用空間識別子を有するタスク間共用空間管理
テーブル(12,13,14)が作られる。この作成さ
れたテーブルは、タスク間共用空間管理キュより、タス
ク間共用空間の定義が行われる。このとき、タス・り共
用空間識別子はシステム内−意の存在となるように制御
される。また、タスク間共用空間解消時には、解消を指
定されたタスク共用空間識別子を持つタスク間共用空間
管環テーブルが管理キューより取りはずされ、取りはず
されたタスク間共用空間管理テーブルが消去されること
により、タスク間共用空間の解消が行われる。
FIG. 4 is a diagram for explaining a management method for inter-task shared space. To explain the management of the inter-task shared space with reference to this figure, when defining the inter-task shared space, the inter-task shared space management table has the task shared space identifier specified or the task shared space identifier automatically assigned. (12, 13, 14) are created. This created table is used to define the inter-task shared space from the inter-task shared space management queue. At this time, the task shared space identifier is controlled to be internal to the system. Additionally, when the inter-task shared space is canceled, the inter-task shared space management table with the task shared space identifier specified for cancellation is removed from the management queue, and the removed inter-task shared space management table is deleted. As a result, the inter-task shared space is resolved.

タスク間共用空間共有時には、共有要求を行ったタスク
共用空間識別子を有するタスク間共用空間管理テーブル
(12,13,14)のタスクキューポインタに、共有
するタスク(19,20,21゜22)に対応するタス
ク管理テーブル(15,16゜17.18)がキューイ
ングされることにより、タスク間共用空間の共有が行わ
れる。また、タスク間共用空間共有解除時には、指定さ
れたタスク共用空間識別子を持つタスク間共用空間管理
テーブルのタスクキューから共有解除が行われるタスク
管理テーブルが取りはずされることにより、タスク間共
用空間の共有解除が行われる。
When sharing a shared space between tasks, the task queue pointer of the shared space management table between tasks (12, 13, 14) that has the shared space identifier of the task that made the sharing request is set to the shared task (19, 20, 21゜22). The inter-task shared space is shared by queuing the corresponding task management tables (15, 16, 17, 18). Additionally, when the inter-task shared space sharing is canceled, the task management table to be unshared is removed from the task queue of the inter-task shared space management table with the specified task shared space identifier, and the inter-task shared space sharing is canceled. will be held.

第5図は、タスク間共用空間の共有方式を説明するため
の図である。この図を参照してタスク間共用空間の共有
方式を説明すると、タスク間共用空間定義時に、タスク
間共用空間の定義(ST)31のエントリのうち、タス
ク間共用空間として指定されたセグメントのエントリに
ついてタスク間共用空間として定義され、タスク間共用
空間に対するページテーブル(FT ) 33が確保さ
れ、このページテーブル(FT)33の先頭アドレスが
セグメントテーブル(BT、)31の対応セグメント・
エントリに設定される。その後、実際に共用空間2−6
を使用する時に、タスク間共用空間の実メモリが確保さ
れ、ページテーブル(FT ) 33に実メモリのアド
レスが登録されることにより、タスク間共用空間にアク
セス可能となる。
FIG. 5 is a diagram for explaining a method of sharing the inter-task shared space. To explain the inter-task shared space sharing method with reference to this figure, when defining the inter-task shared space, among the entries in the inter-task shared space definition (ST) 31, the entry of the segment designated as the inter-task shared space is defined as an inter-task shared space, a page table (FT) 33 is secured for the inter-task shared space, and the start address of this page table (FT) 33 is the corresponding segment of the segment table (BT) 31.
set in the entry. After that, actually shared space 2-6
When using the inter-task shared space, the real memory of the inter-task shared space is secured, and the address of the real memory is registered in the page table (FT) 33, so that the inter-task shared space can be accessed.

タスク間共用空間共有時には、タスク間共用空間をすで
に使用しているタスクのセグメントテーブル(ST)3
1における指定タスク間共用空間に対応する゛セグメン
トのエントリが、共有要求を行ったタスクのセグメント
テーブル(ST)32における対応セグメントのエント
リにコピーされ、共用空間2−6のページテーブル(F
T)33が共有されることによってタスク間共用空間を
共有することが可能となる。また、タスク間共用空間共
有解除時には、共有解除を行うタスクのセグメントテー
ブル(ST)31 、または32のエントリのうち、指
定されたタスク間共用空間に対応するセグメントのエン
トリがクリアされることにより、タスク間共用空間から
指定タスクの共有が解除される。
When sharing the inter-task shared space, the segment table (ST) 3 of the task that is already using the inter-task shared space
The segment entry corresponding to the specified inter-task shared space in 1 is copied to the corresponding segment entry in the segment table (ST) 32 of the task that made the sharing request, and the page table (F
T) By sharing 33, it becomes possible to share a shared space between tasks. Furthermore, when the inter-task shared space sharing is canceled, among the entries in the segment table (ST) 31 or 32 of the task whose sharing is to be canceled, the entry of the segment corresponding to the specified inter-task shared space is cleared. Sharing of the specified task from the inter-task shared space is canceled.

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

以上の説明により明らかなように1本発明によれば、特
定のタスク間において使用するタスク間共用空間を任意
の時点において必要な量だけ定義し、かつ必要な期間に
限定して共用することができ、これによってデータ処理
能率を向上すべく得られる効果は太きい。
As is clear from the above description, according to the present invention, it is possible to define the required amount of inter-task shared space to be used between specific tasks at any time, and to share it only for a necessary period. This has a significant effect on improving data processing efficiency.

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

第1図は本発明による共用空間制御方式の構成を示すブ
ロック図、第2図は本発明による実施例の構成を示すブ
ロック図、第3図は、第2−9−          
        一つCQ図の実施例における共用空間
の制御手順を示すフローチャート、第4図は、第2図の
実施例におけるタスク間共用空間の管理方式を説明する
ための図、第5図は、第2図の実施例におけるタスク間
共用空間の共有方式を説明するための図である。 図において、1は中央処理装置、2は主記憶装置、2−
1はタスク間共用空間管理テーブル。 2−2a、 2−2bはタスク管理テーブル、2−3a
。 2−3bはタスク、 2−4a、 2−4bはセグメン
トテーブル、2−5はページテーブル、2−6は共用空
間である。 io−
FIG. 1 is a block diagram showing the configuration of a shared space control system according to the present invention, FIG. 2 is a block diagram showing the configuration of an embodiment according to the present invention, and FIG.
FIG. 4 is a flowchart showing the shared space control procedure in the embodiment of one CQ diagram, FIG. 4 is a diagram for explaining the inter-task shared space management method in the embodiment of FIG. FIG. 3 is a diagram for explaining a method for sharing an inter-task shared space in the illustrated embodiment. In the figure, 1 is a central processing unit, 2 is a main memory, 2-
1 is an inter-task shared space management table. 2-2a, 2-2b are task management tables, 2-3a
. 2-3b is a task, 2-4a and 2-4b are segment tables, 2-5 is a page table, and 2-6 is a shared space. io-

Claims (1)

【特許請求の範囲】 複数のタスクのうちのいずれか1つのタス クからの要求にしたがってタスク間に共用させる空間を
定義するタスク間共用空間定義手段と、該定義されたタ
スク間共用空間を指定された他の1つのタスクに対し、
共用空間として共有させるタスク間共用空間共有手段と
、該タスク間共用空間共有手段によりタスク間共用空間
を共有している前記1つのタスク、または他の1つのタ
スクから共用空間の共有を解除するタスク間共用空間共
有解除手段と、該手段による共有解除後に、前記定義さ
れているタスク間共用空間を解消するタスク間共用空間
解消手段とから構成される記憶装置における共用空間制
御方式。
[Claims] Inter-task shared space definition means for defining a space to be shared between tasks according to a request from any one of a plurality of tasks; For one other task,
An inter-task shared space sharing means for sharing the inter-task shared space as a shared space, and a task for releasing the sharing of the shared space from the one task sharing the inter-task shared space or from another task using the inter-task shared space sharing means. 1. A shared space control method in a storage device comprising: an inter-task shared space release means; and an inter-task shared space elimination means for resolving the defined inter-task shared space after the sharing is released by the means.
JP25565284A 1984-12-05 1984-12-05 Share space control system for storage device Pending JPS61134844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25565284A JPS61134844A (en) 1984-12-05 1984-12-05 Share space control system for storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25565284A JPS61134844A (en) 1984-12-05 1984-12-05 Share space control system for storage device

Publications (1)

Publication Number Publication Date
JPS61134844A true JPS61134844A (en) 1986-06-21

Family

ID=17281725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25565284A Pending JPS61134844A (en) 1984-12-05 1984-12-05 Share space control system for storage device

Country Status (1)

Country Link
JP (1) JPS61134844A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4921376A (en) * 1988-04-28 1990-05-01 Brother Kogyo Kabushiki Kaisha Arbor for mounting a tool to a spindle of a machine tool and a machining method of employing the same
JPH02158840A (en) * 1988-12-12 1990-06-19 Fujitsu Ltd Message area controlling system for inter-task communication
JPH04333143A (en) * 1991-05-09 1992-11-20 Fujitsu Ltd Shared area control system
JPH09305418A (en) * 1996-05-15 1997-11-28 Nec Corp Shared memory managing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4921376A (en) * 1988-04-28 1990-05-01 Brother Kogyo Kabushiki Kaisha Arbor for mounting a tool to a spindle of a machine tool and a machining method of employing the same
JPH02158840A (en) * 1988-12-12 1990-06-19 Fujitsu Ltd Message area controlling system for inter-task communication
JPH04333143A (en) * 1991-05-09 1992-11-20 Fujitsu Ltd Shared area control system
JPH09305418A (en) * 1996-05-15 1997-11-28 Nec Corp Shared memory managing system

Similar Documents

Publication Publication Date Title
JP2977688B2 (en) Multi-processing device, method, and processor used for the same
GB2217489A (en) Shared memory area management system for use in a network system
JPH09311839A (en) Data sharing system
JPS61134844A (en) Share space control system for storage device
JPH09330239A (en) Exclusive control method
JP2787107B2 (en) Buffer control system and device
JPS63245753A (en) Dispersion type data base accessing mechanism
JP2968756B2 (en) Internal resource matching method and apparatus in multiprocessor system
JPH0567059A (en) Network computer system
JPS63168761A (en) Parallel processing system constituting system
JPH05165702A (en) File management method
JPH0444291B2 (en)
JPH03222047A (en) Area control system
JPS62160545A (en) System for managing unused area of direct access storage device
JPH0337748A (en) External storage accessing system utilizing main storage
JPH069042B2 (en) Sequential access control device for shared storage medium
JPH0257399B2 (en)
JPH03116261A (en) Multiprocessor control system
JPH02123453A (en) Data transfer system for network system
JPH01169562A (en) Common use system for temporary file in loosely coupled multiprocessor system
JPS6240552A (en) Transaction managing system
JPH01175022A (en) Common disk control device
JPS6143743B2 (en)
JPH02144726A (en) Operating system for general-purpose computer
JPS6345669A (en) Multi-processor system