JPS593636A - Processing system for execution of dynamically coupled module - Google Patents

Processing system for execution of dynamically coupled module

Info

Publication number
JPS593636A
JPS593636A JP11330682A JP11330682A JPS593636A JP S593636 A JPS593636 A JP S593636A JP 11330682 A JP11330682 A JP 11330682A JP 11330682 A JP11330682 A JP 11330682A JP S593636 A JPS593636 A JP S593636A
Authority
JP
Japan
Prior art keywords
module
processing
memory
members
storage device
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.)
Granted
Application number
JP11330682A
Other languages
Japanese (ja)
Other versions
JPS6232497B2 (en
Inventor
Isao Kobayashi
功 小林
Ryuichi Suzuki
隆一 鈴木
Masanari Watabe
渡部 真生
Kazuhiro Soma
相馬 和弘
Haruhisa Yamashita
山下 治久
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
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP11330682A priority Critical patent/JPS593636A/en
Publication of JPS593636A publication Critical patent/JPS593636A/en
Publication of JPS6232497B2 publication Critical patent/JPS6232497B2/ja
Granted 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

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 transfer common data among modules by loading load module members and a common block member individually from an external large-scale storage device to a memory, and performing processing. CONSTITUTION:Members 16, 17, and 18 are compiled individually in the external large-scale storage device corresponding to source modules 1, 2, and 3, and the common block member 19 of size corresponding to the largest member among corresponding common blocks 4, 5, and 6 is used. A central processing unit after loading, for example, the member 16 into the memory 8 as a member 20 loads the member 19 into the memory 8 as a member 22 in the middle of processing corresponding to a module X to write common data, and loads the member 17 into the memory 8 as a member 21 to read the common data on the member 22 by a module 21.

Description

【発明の詳細な説明】 囚 発明の技術分野 本発明は、動的結合モジュール実行処理方式、特に互に
動的に結合されるモジュールの下で共通データを受渡し
できるように共通ブロックを1つのメンバとして外部大
記憶装置上に格納するようにした動的結合モジュール実
行処理方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a dynamically coupled module execution processing method, and more particularly, to a dynamically coupled module execution processing method, in which a common block is integrated into one member so that common data can be passed under modules that are dynamically coupled to each other. The present invention relates to a dynamically linked module execution processing method in which the modules are stored on an external large storage device.

(Bl  技術の背景と問題点 夫々共通ブロックが対応づけられている複数のソース・
モジュールが存在し、それらの少なくとも1つのモジュ
ールが実行される段階において他のモジュールを呼んで
全体の処理が実行される可能性がある場合、従来から第
1図を参照して後述する如く複数のモジュールをいわば
1まとまシのアルロード−モジュール、メンバトシテコ
ンパイルしておく方式、即ちスタティック方式が知られ
ている。しかし、この方式の場合には、上記1まとまシ
のあるロード・モジュール・メンバトシてメモリ上にロ
ードされる形となる。このために、実際には呼び出され
ることのなかったモジュールも一緒にメモリ上にロード
されることになシ、メモリ上の領域が非所望に余分に占
有される形となる。
(BL Technology Background and Problems Multiple sources with corresponding common blocks
When there is a module and there is a possibility that at least one of the modules calls another module to execute the entire process, it has conventionally been possible to execute multiple modules as described below with reference to FIG. A static method is known in which modules are compiled as a single load module or member unit. However, in the case of this method, the above load module members are loaded onto the memory. For this reason, modules that are not actually called are also loaded onto the memory, resulting in an undesired and unnecessary occupation of the memory area.

上記の点を改善するものとして、第2図を参照して後述
する如く、複数のソース・モジュールを個々にロード・
モジュール・メンバとするようにコンパイルしておき、
実際の処理時に必要なメンバのみをメモリ上にロードす
る方式、即ちダイナミック・リンク方式が知られている
。しかし、この場合には、夫々のメンバが個別に共通ブ
ロックをもっておシ、各メンバ相互間で共通ブロックを
参照しあうということが出来なかった。
As an improvement to the above point, it is possible to load multiple source modules individually, as described later with reference to Figure 2.
Compile it as a module member,
A dynamic link method is known in which only members required during actual processing are loaded into memory. However, in this case, each member individually has a common block, and the members cannot mutually refer to the common block.

(C)  発明の目的と構成 本発明は、上記の点を解決することを目的としており、
共通ブロックを1つのメンバとして用意し各モジュール
が動的な結合によって処理全冥行する間に共通データの
受渡しを可能にすることを目的としている。そしてその
ため、本発明の動的結合モジュール実行処理方式は、夫
々の共通ブロックが対応づけられている複数のソース・
モジュールであって当該1つのモジュールが処理実行中
に他のモジュールを呼ぶことによって全体の処理が実行
される可能性をもつ複数のモジュールをロードモジュー
ル・メンバとして外部大記憶装置上に格納しておくと共
に、中央処理装置が上記外部大記憶装置から処理に必要
なロード・モジュール・メンバをメモリ上にロードして
処理を行うデータ処理システムにおいて、上記外部大記
憶装置上に、上記夫々のロード・モジュール・メンバを
個別に格納すると共に、上記各ソース・モジュールに対
応した共通ブロックのうちの最大のものを1つの共通ブ
ロック・メンバとして格納するよう構成し、上記中央処
理装置は、処理実行に当って、当面処理に必要な上記側
々のロード・′モジュール・メンバと上記共通ブロック
・メンバとを個別に外。
(C) Purpose and structure of the invention The purpose of the present invention is to solve the above points.
The purpose is to prepare a common block as one member and enable exchange of common data while each module performs all processing by dynamic coupling. Therefore, the dynamically coupled module execution processing method of the present invention is suitable for multiple source modules to which each common block is associated.
Store multiple modules as load module members on an external large storage device in which the entire process may be executed by one module calling another module during process execution. In addition, in a data processing system in which a central processing unit loads load module members necessary for processing from the external large storage device onto memory and performs processing, each of the load modules described above is loaded onto the external large storage device. - The members are stored individually, and the largest common block among the common blocks corresponding to each of the source modules is stored as one common block member, and the central processing unit , separately remove the above side load module members and the above common block members that are necessary for the current processing.

部大記憶装置から上記メモリ上にロードし、処理を実行
するようにしたことを特徴としている。以下図面を参照
しつつ説明する。
It is characterized in that it is loaded onto the memory from a large-scale storage device and executed. This will be explained below with reference to the drawings.

(D)  発明の実施例 第1図は従来のスタティック方式が採用されている場合
の処理態様、第2図は従来のダイナミック・リンク方式
が採用されている場合の処理の態様、第3図は本発明の
一実施例処理の態様を示す。
(D) Embodiment of the invention FIG. 1 shows the processing mode when the conventional static method is adopted, FIG. 2 shows the processing mode when the conventional dynamic link method is adopted, and FIG. 3 shows the processing mode when the conventional dynamic link method is adopted. 1 shows a mode of processing according to an embodiment of the present invention.

第1図において、1.2.3は夫々ソース・モジュール
、4,5.6は夫々ソース−モジュールと対応づけられ
ている対応共通ブロック、7は外部大記憶装置、8は中
央処理装置などの処理ユニットを代表する仮想メモリ、
9は1まとまシのあるものとしてコンパイルされたロー
ド・モジュール・メンバ、10は仮想メモリ上ヘロード
されたメンバを表わしている。
In FIG. 1, 1.2.3 are source modules, 4 and 5.6 are corresponding common blocks associated with source modules, 7 is an external large storage device, and 8 is a central processing unit, etc. virtual memory representing a processing unit,
9 represents load module members compiled as one unit, and 10 represents members loaded onto virtual memory.

図示の場合、プログラム・サブルーチンに対応するモジ
ュールがモジュールX1モジユールY1モジユール2の
如く存在し、例えばモジュールXに対応した処理が実行
される段階においてモジュールYやモジュール2が呼ば
れる可能性があるケースとして示されている。なお、対
応共通ブロック4,5.6は夫々各対応するモジュール
1,2゜3と対応するものとして示されている。
In the illustrated case, there are modules corresponding to the program subroutines, such as module has been done. Note that the corresponding common blocks 4, 5, and 6 are shown as corresponding to the corresponding modules 1, 2, and 3, respectively.

上記の如き、ソース、モジュール1,2.3が与えられ
る場合、従来のスタティック方式においては、図示ロー
ド・モジュール・メンノ(9の如く、モジュールx、y
、zと上記対応共通ブロック4ないし6のうちの最大の
もの(図示の場合にはC(Y))とを、1つのまとまシ
のあるものとみてコンパイルする。このようにコンパイ
ルされたメンノ(9Fi外部大記憶装置7上に格納され
ておシ、中央処理装置が該当する処理を実行するに当っ
ては、メモリ8上にメンバ10の如く、上記メンノく9
全体をロードして処理を行うようにされる。この場合、
上記モジュールx、y、zは夫々、例えばリンケージ・
ニジターが用いられて共通ブロック(図示C)を利用し
て共通データの受渡しを行い得るように、上記メンバ9
をつくられている。
When the source modules 1, 2.3 are given as above, in the conventional static method, the illustrated load module menu (as shown in 9, modules x, y
, z and the largest one of the corresponding common blocks 4 to 6 (C(Y) in the illustrated case) are regarded as one unified block and compiled. The menu files compiled in this way (9Fi are stored on the external large storage device 7), and when the central processing unit executes the corresponding process, the above-mentioned menu files are stored on the memory 8 as member 10.
The entire file will be loaded and processed. in this case,
The above modules x, y, and z each have, for example, a linkage
The above-mentioned member 9
is being created.

スタティック方式の場合、上述の如くメンバ9が用意さ
れて処理が行われるが、実際の処理に当ってはモジュー
ルXとモジュールYとのみが使用されてモジュールZは
使用されないようなケースも生じる。しかし、当該方式
の場合には、メンバ9(又は10 )として1がたまシ
として取扱われることから、上記の如きケースにおいて
はモジュール2に相当する部分がメモリ8の領域を余分
に占有していることとなって好ましくない 第2図は、上記の点を改嵜して処理に必要なモジュール
のみをメモリ8上にロードできるようにした、ダイナミ
ック・リンク方式に対応している。
In the case of the static method, member 9 is prepared as described above and processing is performed, but in actual processing, there may be cases where only module X and module Y are used and module Z is not used. However, in the case of this method, member 1 is treated as member 9 (or 10), so in the above case, the part corresponding to module 2 occupies an extra area of memory 8. FIG. 2, which is particularly unfavorable, corresponds to a dynamic link method in which the above-mentioned points have been modified so that only the modules necessary for processing can be loaded onto the memory 8.

図中の符号1ないし811″を第1図に対応し、11゜
12.131夫々ロードφモジユール・メンバであって
ソース・モジュールと対応共通ブロックとを1つのメン
バとしたもの、14.15fl夫々メモリ8上にロード
されたメンバを表わしている。
Reference numerals 1 to 811'' in the figure correspond to those in FIG. It represents the members loaded onto memory 8.

第2図図示の場合には、図示メンバ、11,12゜13
の如く、夫々ソース・モジュールと対応共通ブロックと
が、1つ1つの独立したメンバとしてコンパイルされて
登録される。そして、中央処理袋Wは、詳細は省略する
が動的結合機構23 Kよって、スーパバイザの機能と
して、例えばメンバ14をメモリ8上にロードしてモジ
ュールXK対応する処理を実行している途中でメンバ1
2を呼び、メモリ8上にメンバ15としてロードせしめ
てモジュールYK対応する処理を実行できるように構成
されている。
In the case shown in Figure 2, the members shown are 11, 12° 13
Each source module and corresponding common block are compiled and registered as independent members. Although the details are omitted, the central processing bag W has a dynamic coupling mechanism 23K.Thus, as a function of a supervisor, for example, the member 14 is loaded onto the memory 8 and the member 1
2 is loaded onto the memory 8 as a member 15, and processing corresponding to the module YK can be executed.

このために、外部大記憶装置7上にメンバ11゜12 
、13の如く個別に登録しておいた上で処理の都合に応
じて、個々のメンバを自由にメモリ8上にロードするこ
とが可能である。即ち、第1図図示の如く、モジュール
x、y、zを予め1かたま力のメンバ9として用意して
おく必要がない。したがって、モジュールXに対応した
処理が現実に行われている際にモジュール2に対応する
処理が行われないケースにおいては、メンバ13がメモ
リ8上にロードされることがない。しかし、該方式の場
合には、メン′バ11 、12 、13は5互に独立な
ものであシ、例えばモジュールXが共通データを対応共
通ブロックC(Xl上に誉いておいてモジュールYが当
該ブロックC00の円答全読むというような共通データ
の蛍渡しができない。
For this purpose, members 11 and 12 are stored on the external large storage device 7.
, 13, and then the individual members can be freely loaded onto the memory 8 according to processing convenience. That is, as shown in FIG. 1, there is no need to prepare the modules x, y, and z in advance as a unitary member 9. Therefore, in a case where processing corresponding to module 2 is not performed while processing corresponding to module X is actually being performed, member 13 is not loaded onto memory 8. However, in the case of this method, members 11, 12, and 13 are independent from each other; for example, module Common data such as reading all the answers to the block C00 cannot be shared.

第3図は本発明の一実施例処理の態様を示している。図
中の符号1ないし8は第1図、第2図に対応し、16.
17.18は夫々ロード・モジュール・メンバであって
ソース・モジュール1,2.3VC対応するもの、19
ハ共通ブロック・メンバーであって最も大きい大きさを
もつ対応共通ブロック5に対応する大きさをもつもの、
  20 、21 、22はメモリ8土にロードされた
メンバ、23は動的結合機構を表わしている。
FIG. 3 shows an embodiment of the process according to the present invention. Reference numerals 1 to 8 in the figures correspond to FIGS. 1 and 2, and 16.
17.18 are load module members corresponding to source modules 1 and 2.3VC, 19
(c) A common block member having a size corresponding to the corresponding common block 5 having the largest size;
Reference numerals 20, 21, and 22 represent members loaded into the memory 8, and 23 represents a dynamic coupling mechanism.

第3図図示の場合においても、第2図図示の場合と同様
に動的結合機構23によって、中央処理装置は、スーパ
バイザの機能として、例えばメンバ20をメモリ8上に
ロードしてモジュールXK対応する処理を実行している
途中でメンバ17や19を呼んでメモリ8上にロードせ
しめ得るように構成されていることは言うまでもない。
In the case shown in FIG. 3, similarly to the case shown in FIG. 2, the central processing unit, as a supervisor function, loads the member 20 onto the memory 8 and supports the module XK by the dynamic coupling mechanism 23. Needless to say, the configuration is such that the members 17 and 19 can be called and loaded onto the memory 8 while processing is being executed.

第3図図示の場合には、各ソース・モジュール1 、2
 、3に対応して夫々独立にメンバ16 、17 。
In the case shown in Figure 3, each source module 1, 2
, 3, independently members 16, 17, respectively.

18カコンパイルされている。そして、図示対応共通ブ
ロック4,5.6のうちの最も大きいものに対応する大
きさをもつ共通ブロック・メンバ19が用意される。言
うまでもなく、各メイバ16 、17 。
18 files have been compiled. Then, a common block member 19 having a size corresponding to the largest of the illustrated corresponding common blocks 4, 5, and 6 is prepared. Needless to say, each meiba 16 and 17.

18においては、共通ブロック・メンバ19を共通領域
として取扱うようにコンパイルされている。
18 is compiled to treat common block member 19 as a common area.

このため、第3図図示の場合、中央処理装置が例えばメ
ンバ16をメモリ8上にメンバ20としてロードした上
でモジュールXに対応する処理を行っている途中で、メ
ンバ19をメモリ8上にメンバ22としてロードし、共
通データを書込んでおき、メンバ17fメモリ’IgJ
:vcメンバ21としてロードセシメてモジュール21
 Kよって上記メンバ22上の共通データを読取らせる
などの処理を行うことが可能となる。即ち、第1図図示
の場合の如く各モジュールX、Y、Zが共通データの受
渡しを行うことができると共に、第2図図示の場合の如
くモジュールZに対応する処Mが行われない場合にはメ
ンバ181”を外部大記憶装置7土に存在するだけであ
ってメモリ8の領域を有効に利用するメリットを享受で
きる。
Therefore, in the case shown in FIG. 3, the central processing unit loads member 16 onto memory 8 as member 20 and then loads member 19 into memory 8 while performing processing corresponding to module X. 22, write common data, and write member 17f memory 'IgJ.
:Load module 21 as vc member 21
K makes it possible to perform processing such as reading the common data on the member 22. That is, when each module X, Y, and Z can exchange common data as in the case shown in FIG. 1, and when the process M corresponding to module Z is not performed as in the case shown in FIG. Since the member 181'' only exists in the external large storage device 7, it is possible to enjoy the advantage of effectively utilizing the area of the memory 8.

(El  発明の詳細 な説明した如く、本発明によれば、従来のスタティック
方式の利点と従来のダイナミック・リンク方式の利点と
をあわせ享受することが可能となる。
(El) As described in detail, according to the present invention, it is possible to enjoy both the advantages of the conventional static method and the advantages of the conventional dynamic link method.

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

第1図は従来のスタティック方式が採用されている場合
の処理態様、第2図は従来のダイナミック・リンク方式
が採用されている場合の処理の態様、第3図は本発明の
一実施例処理の態様を示す。 図中、1,2.3は夫々ソース・モジュール、4.5.
6は夫々対応共通ブロック、7は外部大記憶装置、8は
中央処理装置などの処理ユニットを代表する仮想メモリ
、9ないし22け夫々メンバを表わしている。
Fig. 1 shows the processing mode when the conventional static method is adopted, Fig. 2 shows the processing mode when the conventional dynamic link method is adopted, and Fig. 3 shows the processing according to an embodiment of the present invention. The mode is shown below. In the figure, 1, 2.3 are source modules, 4.5.
Reference numeral 6 represents a corresponding common block, 7 represents an external large storage device, 8 represents a virtual memory representing a processing unit such as a central processing unit, and 9 to 22 each represent a member.

Claims (1)

【特許請求の範囲】[Claims] 夫々の共通ブロックが対応づけられている複数のソース
・モジュールであって当該1つのモジュールが処理実行
中に他のモジュールを呼ぶことによって全体の処理が実
行される可能性をもつ複数のモジュールをロード・モジ
ュール・メンハトシて外部大記憶装置上に格納しておく
と共に、中央処理装置が上記外部大記憶装置から処理に
必要なロード・モジュール・メンバ全メモIJ 上にロ
ードして処理を行うデータ処理システムにおいて、上記
外部大記憶装置上に、上記夫々のロード・モジュール・
メンバを個別に格納すると共に、上記各ソース、モジュ
ールに対応した共通ブロックのうち最大のものを1つの
共通ブロック・メンバとして格納するよう構成し、上記
中央処理液#は、処理実行に肖って、当面処理に必要な
上記側々のロード・モジュール・メンバと上記共通ブロ
ック・メンバとを個別に外部大記憶装置から上記メモリ
上にロードし、処理を実行するようにしたことを特徴と
する動的結合モジュール実行処理方式。
Load multiple source modules with corresponding common blocks, where the entire process may be executed by one module calling another module during process execution.・A data processing system in which a module is stored on an external large storage device, and a central processing unit loads all the load module members necessary for processing from the external large storage device onto the IJ for processing. , each of the load modules and modules listed above are stored on the external large storage device.
The members are stored individually, and the largest common block among the common blocks corresponding to each source and module is stored as one common block member, and the central processing liquid # is , the side load module members and the common block members necessary for the immediate processing are individually loaded onto the memory from an external large storage device, and the processing is executed. Combined module execution processing method.
JP11330682A 1982-06-30 1982-06-30 Processing system for execution of dynamically coupled module Granted JPS593636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11330682A JPS593636A (en) 1982-06-30 1982-06-30 Processing system for execution of dynamically coupled module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11330682A JPS593636A (en) 1982-06-30 1982-06-30 Processing system for execution of dynamically coupled module

Publications (2)

Publication Number Publication Date
JPS593636A true JPS593636A (en) 1984-01-10
JPS6232497B2 JPS6232497B2 (en) 1987-07-15

Family

ID=14608885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11330682A Granted JPS593636A (en) 1982-06-30 1982-06-30 Processing system for execution of dynamically coupled module

Country Status (1)

Country Link
JP (1) JPS593636A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62241031A (en) * 1986-04-11 1987-10-21 Nec Corp Dynamic link controller for program
WO2011048731A1 (en) * 2009-10-21 2011-04-28 日本電気株式会社 Computer system, ring method used therein, and non-temporary computer-readable medium having a program therefor stored thereon

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02213988A (en) * 1989-02-15 1990-08-27 Matsushita Electric Ind Co Ltd Wireless bar code reader and bar code receiving terminal equipment
JPH0568193U (en) * 1992-02-19 1993-09-10 株式会社オーディオテクニカ Wireless microphone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62241031A (en) * 1986-04-11 1987-10-21 Nec Corp Dynamic link controller for program
WO2011048731A1 (en) * 2009-10-21 2011-04-28 日本電気株式会社 Computer system, ring method used therein, and non-temporary computer-readable medium having a program therefor stored thereon

Also Published As

Publication number Publication date
JPS6232497B2 (en) 1987-07-15

Similar Documents

Publication Publication Date Title
JPS62192867A (en) Work station handling image data
JPS593636A (en) Processing system for execution of dynamically coupled module
JPS62151940A (en) Register saving/return system
JPH0619717A (en) Information processor
JPH06222916A (en) On-line real-time processor
JP3087477B2 (en) Computer system
JP2790472B2 (en) Multiple conversation processing control method
JPH02232727A (en) Information processor
JPH0656611B2 (en) Vector processor
JPH04181321A (en) Microprogram loading system
JP2507791B2 (en) Data processing device
JPS62226368A (en) Program load system to auxiliary processor
JPS62281040A (en) Page managing system
JPS62151955A (en) Memory addressing system
JPH03127171A (en) Vector processor
JPS61224041A (en) Data processing device
JPH0341849B2 (en)
JPH01175053A (en) Segmentation system data processor
JPS6349818B2 (en)
JPS6252665A (en) Multiprocessor system
JPS58215779A (en) Data processor
JPH0844570A (en) System and method for program execution
JPH0341518A (en) Program accessing system
JPH0115101B2 (en)
JPS63118852A (en) Control system for virtual memory