JPS63181032A - Module reading and processing system - Google Patents
Module reading and processing systemInfo
- Publication number
- JPS63181032A JPS63181032A JP1221687A JP1221687A JPS63181032A JP S63181032 A JPS63181032 A JP S63181032A JP 1221687 A JP1221687 A JP 1221687A JP 1221687 A JP1221687 A JP 1221687A JP S63181032 A JPS63181032 A JP S63181032A
- Authority
- JP
- Japan
- Prior art keywords
- program
- directory information
- read
- directory
- dynamic link
- 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
Links
- 238000012545 processing Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 claims description 15
- 238000003672 processing method Methods 0.000 claims description 4
- 230000036316 preload Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 238000012937 correction Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔概要〕
この発明は、モジュールのディレクトリ情報を読み込ん
で該当するプログラムをロードして処理を行うモジュー
ル読込処理方式において、ディレクトリ情報を一括して
先読み込みして処理する場合に生じる不必要なディレク
トリ情報の先読み込みを解決するため、プログラム中に
動的リンクテーブルを設けてこれに登録されている直系
の全てのモジュールのディレクトリ情報のみを一括して
先読み込みすることにより、必要なディレクトリ情報の
みを先読み込みして高速に処理を行うようにしている。[Detailed Description of the Invention] [Summary] The present invention provides a module loading processing method in which directory information of a module is read and a corresponding program is loaded and processed. In order to solve the unnecessary preloading of directory information that occurs in the program, a dynamic link table is created in the program and only the directory information of all directly related modules registered in this table is preloaded at once. Only necessary directory information is read in advance to speed up processing.
本発明は、プログラム中に動的リンクテーブルを設けて
これに登録されているモジュールのディレクトリ情報の
みを一括して先読み込みし、該当するモジュールをロー
ドするよう構成したモジエ−ル読込処理方式に関するも
のである。The present invention relates to a module loading processing method in which a dynamic link table is provided in a program, and only the directory information of modules registered in the table is read in advance, and the corresponding module is loaded. It is.
従来、ロードモジュールの読み込み処理を行う手法とし
て、その都度ディレクトリ情報を読み出して該当するロ
ードモジュールのロードを行うものと、一括してディレ
クトリ情報を先読み込みし、このうち該当するディレク
トリ情報に対応するロードモジュールをロードするもの
とがある。以下第4図を用いて簡単に説明する。Conventionally, the methods for loading load modules have been to read the directory information each time and load the corresponding load module, and to read the directory information all at once and load the corresponding directory information. Some load modules. A brief explanation will be given below using FIG. 4.
第4図(イ)は、処理Aを実行するために処理日ないし
処理Nが呼び出され、処理0を実行するために処理Pな
いし処理Zが呼び出されるものを示す、この処理Aと処
理0とは関連のある処理であって、例えば前処理と後処
理とである。FIG. 4(A) shows that Process Day to Process N is called to execute Process A, and Process P to Process Z are called to execute Process 0. are related processes, such as pre-processing and post-processing.
第4図(ロ)はディレクトリ情報の先読み込みを行わな
い場合を示す、この場合には、その都度ディレクトリ情
報を読み出して該当するロードモジュールをロードする
必要がある0図中+alないしくnlはディレクトリ情
報の読み込み、AないしNはテキスト(プログラム)の
読み込みを表す。この場合には、図示のように、ディレ
クトリ情報[alないしくnlの読み込み、即ち合計1
4回の読み込みを行わなければならない。Figure 4 (B) shows the case where directory information is not preloaded. In this case, it is necessary to read the directory information each time and load the corresponding load module. In the figure, +al or nl is the directory. Reading of information, A to N represent reading of text (program). In this case, as shown in the figure, reading the directory information [al or nl, that is, a total of 1
It must be read four times.
第4図(ハ)は全モジュールのディレクトリ情報を先読
み込みする場合を示す。この場合には、例えば処理Aで
不要なものまでも先読み込みしていた。FIG. 4(c) shows a case where directory information of all modules is read in advance. In this case, for example, in process A, even unnecessary items are read in advance.
上述した第4図(ロ)に示すように、その都度ディレク
トリ情報を読み出して該当するロードモジュールをロー
ドしていたのでは、合計14回ものディレクトリ情報処
理が必要とされ、高速に処理を行い難いという問題点が
あった。As shown in Figure 4 (B) above, if the directory information was read each time and the corresponding load module was loaded, directory information processing would be required a total of 14 times, making it difficult to perform high-speed processing. There was a problem.
また、処理の高速を目的とした第4図(ハ)に示すよう
に、メンバのディレクトリ情i 1alないしく21を
一括して先読み込みを行い、仮想記憶に常駐させる手法
がある。この場合には、処理目的以外の不要なメンバの
ディレクトリ情報までも読み込むため、格納域が大きく
なってしまい、しかも不要なものまで検索する必要が生
じ、高速に処理を行い難いという問題点があった。In addition, as shown in FIG. 4(c) for the purpose of high-speed processing, there is a method of pre-reading the member directory information i1 to 21 all at once and making it resident in the virtual memory. In this case, since directory information of unnecessary members for purposes other than processing is also read, the storage area becomes large, and unnecessary items also need to be searched, making it difficult to perform high-speed processing. Ta.
更に、処理に必要なメンバのディフレトリ情報のみを一
括して先読み込みするように、設計の段階でいずれのメ
ンバのディレクトリ情報が必要であるかを選択すること
も考えられるが、処理の変更、構成の変更に対してその
都度修正が必要となり、極めて煩雑な取り扱いが必要と
なってしまうという問題点があった。Furthermore, it is conceivable to select which members' directory information is required at the design stage so that only the deflationary information of members necessary for processing is preloaded in advance, but it is possible to select which members' directory information is required at the design stage. There was a problem in that corrections were required each time there was a change in the information, which required extremely complicated handling.
c問題点を解決するための手段〕
本発明は、前記問題点を解決するために、プログラムの
実行中に呼び出す直系のプログラム名を格納するために
当該プログラム中に設けた動的リンクテーブル4−1と
、この動的リンクテーブル4−1から読み出した直系の
プログラム名に対応したモジュールのディレクトリ情報
を一括して先読み込みするプログラム管理スーパーバイ
ザ2とを設け、この先読み込みした直系のモジュールの
ディレクトリ情報に基づいて、必要に応じて該当するプ
ログラムをロードするようにしている。Means for Solving Problem c] In order to solve the above-mentioned problem, the present invention provides a dynamic link table 4-- which is provided in a program to store names of direct programs to be called during execution of the program. 1 and a program management supervisor 2 that pre-reads the directory information of modules corresponding to the direct program name read from the dynamic link table 4-1 all at once. Based on this, the appropriate program is loaded as necessary.
第1図は本発明の原理構成図を示す。図中プログラムα
1は、現実行中のプログラムであって、モジュールA(
プログラムA)の読み込み要求を発行するものである。FIG. 1 shows a basic configuration diagram of the present invention. Program α in the diagram
1 is a program that is actually running, and module A (
This is to issue a request to read program A).
プログラム管理スーパーバイザ2は、ディレクトリ情報
の読み出し、およびこのディレクトリ情報に対応するロ
ードモジュールの読み出しなどを行うものである。The program management supervisor 2 reads directory information and reads load modules corresponding to this directory information.
ロードモジュールライブラリ3は、ディレクトリ部3−
1およびテキスト部3−2から構成され、ディレクトリ
情報およびロードモジュールを夫々格納したものである
。The load module library 3 has a directory section 3-
1 and a text section 3-2, each of which stores directory information and a load module.
プログラムA4は、プログラムα1から呼び出されるも
のである。このプログラムA4中には、動的リンクテー
ブル4−1が設けられている。Program A4 is called from program α1. A dynamic link table 4-1 is provided in this program A4.
動的リンクテーブル4−1は、当該プログラムA4が読
み出す直系のプログラム名例えばB、C1およびDを格
納するものである。The dynamic link table 4-1 stores names of direct programs read by the program A4, such as B, C1, and D.
〔作用〕 次に動作を説明する。[Effect] Next, the operation will be explained.
第1図において、プログラムαlからモジュールAの読
み込み要求が発行されると、プログラム管理スーパーバ
イザ2は、ロードモジュールライブラリ3のディレクト
リ部3−1中の8亥当するディレクトリ情915 te
lを読み出し、これに対応するロードモジュールAをテ
キスト部3−2中から読み出して図示右上端に示すよう
に、プログラムA4をロードする。次に、プログラム管
理スーパーバイザ2は、このロードしたプログラムA4
中に設けた動的リンクテーブル4−1中に予め登録され
ている直系のプログラム名B、C,およびDを読み出し
、これに対応するディレクトリ情報(bl、(C1、お
よびfdlをディレクトリ部3−1から一括して先読み
込みする。この先読み込みしたディレクトリ情報に対応
するロードモジュールの読み込み要求が発行された場合
には、これに対応するロードモジュールを読み出してロ
ードする。In FIG. 1, when a request to read module A is issued from program αl, program management supervisor 2 issues directory information 915te corresponding to 8 in directory section 3-1 of load module library 3.
1 is read out, the corresponding load module A is read out from the text section 3-2, and the program A4 is loaded as shown in the upper right corner of the figure. Next, the program management supervisor 2 executes this loaded program A4.
Directly related program names B, C, and D registered in advance in the dynamic link table 4-1 provided inside are read out, and the corresponding directory information (bl, (C1, and fdl) is stored in the directory section 3-1. Preloading is performed all at once from 1. When a request to read a load module corresponding to the previously read directory information is issued, the corresponding load module is read and loaded.
以上のように、プログラム中に動的リンクテーブル4−
1を設け、これに登録されているディレクトリ情報のみ
を一括して先読み込みすることにより、ディレクトリ情
報の読み込みを処理プログラムで行う必要がないと共に
、ディレクトリ情報を格納する領域を必要最小限とし、
高速に処理を行うことが可能となる。As mentioned above, dynamic link table 4-
1 and pre-read only the directory information registered therein, there is no need for the processing program to read the directory information, and the area for storing the directory information is minimized.
It becomes possible to perform processing at high speed.
次に、第2図および第3図を用いて本発明の1実施例の
構成および動作を詳細に説明する。Next, the configuration and operation of one embodiment of the present invention will be explained in detail using FIGS. 2 and 3.
第2図において、図中0は、プログラムの読み込み要求
を発行する状態を示す。これは、第1図プログラムα1
がプログラム管理スーパーバイザ2に対してプログラム
Aの読み込み要求を発行することを意味している(第1
図図中■)。In FIG. 2, 0 indicates a state in which a program read request is issued. This is the program α1 in Figure 1.
means to issue a read request for program A to program management supervisor 2 (first
(■ in the figure).
図中@は、先読み込みしたディレクトリ情報があるか否
かを判別する状態を示す。YESの場合には、図中[相
]以下を実行する。NOの場合には、図中O以下を実行
する。In the figure, @ indicates a state in which it is determined whether there is pre-read directory information. In the case of YES, the steps below [phase] in the diagram are executed. In the case of NO, the following steps in the figure are executed.
図中Oは、ディレクトリ情報の読み込みを行う状態を示
す。これは、ロードモジュールライブラリ3のディレク
トリ部3−1から8亥当する例えばディレクトリ情報(
alを読み出すことを意味している(第1図図中■)。O in the figure indicates a state in which directory information is read. This includes, for example, directory information (
This means reading out al (■ in Fig. 1).
図中■は、プログラムの読み込みを行う状態を示す。こ
れは、ディレクトリ情報fatに対応するロードモジュ
ールAをテキスト部3−2から読み出してロードするこ
とを意味している(第1図図中■)。■ in the figure indicates a state in which the program is read. This means that the load module A corresponding to the directory information fat is read out from the text section 3-2 and loaded (■ in FIG. 1).
図中■は、動的リンクテーブル4−1から読み出したプ
ログラムのディレクトリ情報を一括して先読み込みを行
う状態を示す、これは、プログラムA4中の動的す□ツ
クテーブル4−1に予め登録したプログラム名B、C,
およびDに対応するディレクトリ情報(bl、tel、
および(dlのみを、ディレクトリ部3−1中から先読
み込みすることを意味している(第1図図中■および■
)。■ in the figure indicates a state in which the directory information of the program read from the dynamic link table 4-1 is pre-loaded all at once. This is registered in advance in the dynamic link table 4-1 in the program A4. Program name B, C,
and directory information corresponding to D (bl, tel,
This means that only dl is read in advance from the directory section 3-1 (■ and ■ in Figure 1).
).
以上の手順を第4図(イ)に示す処理Aに適用し、この
時に先読み込みされるディレクトリ情報例を示すと、第
3図に示すようになる。詳述すると、第1に、ディレク
トリ情報(a)(第1回目)およびこれに対応するプロ
グラムAがロードされると共に、プログラムAの動的リ
ンクテーブル4−1に登録されたディレクトリ情1(b
l、(C1、およびfdlが一括して先読み込みされる
(第2回目)。第2に、プログラムBがロードされた時
に、このプログラムBの動的リンクテーブル4−1に登
録されたディレクトリ情報(el、([1、(沿、およ
び(hlが一括して先読み込みされる(第3回目)、同
様に、プログラムC,Dがロードされた時に、ディレク
トリ情報(1)、(jl、011、およびディレクトリ
情報(1)、(ロ)、(nlが一括して先読み込まれる
。(第4回目および第5回目)、このように、計5回の
先読み出しによって、ディレクトリ情報が読み込まれる
。When the above procedure is applied to the process A shown in FIG. 4(A), an example of the directory information pre-read at this time is shown in FIG. 3. To be more specific, first, directory information (a) (first time) and the corresponding program A are loaded, and directory information 1 (b) registered in the dynamic link table 4-1 of program A is loaded.
l, (C1, and fdl) are preloaded all at once (second time).Secondly, when program B is loaded, the directory information registered in the dynamic link table 4-1 of program B is (el, ([1, , and directory information (1), (b), (nl) are pre-read all at once. (Fourth and fifth times) In this way, the directory information is read by pre-reading a total of five times.
以上説明したように、本発明によれば、現処理プログラ
ム中に動的リンクテーブルを設けてこれに登録されてい
るモジュールのディレクトリ情報のみを一括して先読み
込みする構成を採用しているため、現処理に必要な直系
のプログラムのディレクトリ情報のみを先読み込みして
格納域を必要最小限にし、かつ高速に処理を行うことが
できる。As explained above, according to the present invention, a dynamic link table is provided in the current processing program, and only the directory information of modules registered in the table is preloaded in advance. By preloading only the directory information of direct programs necessary for the current process, the storage area can be minimized and processing can be performed at high speed.
゛ また、動的リンクテーブルを設け、これに予め登録
した現処理に直接に必要なディレクトリ情報のみを一括
して読み込ませているため、ディレクトリ情報の先読み
込み処理を処理プログラムで行う必要がなく、しかもデ
ィレクトリ情報の獲得のための110回数を必要最小限
に削減することができる。゛ In addition, since a dynamic link table is provided and only the directory information registered in advance that is directly necessary for the current process is read at once, there is no need to pre-read directory information in the processing program. Furthermore, the 110 times required to obtain directory information can be reduced to the necessary minimum.
第1図は本発明の原理構成図、第2図は本発明の動作説
明フローチャート、第3図は本発明によるディレクトリ
情報の先読込み説明図、第4図は従来方式の概念説明図
を示す。
図中、1.4はプログラム、2はプログラム管理スーパ
ーバイザ、3はロードモジュールライブラリ、3−1は
ディレクトリ部、3−2はテキスト部、4−1は動的リ
ンクテーブルを表す。FIG. 1 is a diagram showing the principle configuration of the present invention, FIG. 2 is a flowchart explaining the operation of the present invention, FIG. 3 is a diagram explaining pre-reading of directory information according to the present invention, and FIG. 4 is a diagram explaining the concept of the conventional system. In the figure, 1.4 represents a program, 2 a program management supervisor, 3 a load module library, 3-1 a directory section, 3-2 a text section, and 4-1 a dynamic link table.
Claims (1)
当するプログラムをロードして処理を行うよう構成した
モジュール読込処理方式において、プログラムの実行中
に呼び出す直系のプログラム名を格納するために当該プ
ログラム中に設けた動的リンクテーブル(4−1)と、 この動的リンクテーブル(4−1)から読み出した直系
のプログラム名に対応したモジュールのディレクトリ情
報を一括して先読み込みするプログラム管理スーパーバ
イザ(2)とを備え、 この先読み込みした直系のモジュールのディレクトリ情
報に基づいて、必要に応じて該当するプログラムをロー
ドして処理を実行し得るよう構成したモジュール読込処
理方式。[Claims] In a module loading processing method configured to pre-read module directory information and load the corresponding program for processing, there is provided a method for storing the name of a direct program to be called during execution of the program. Program management that preloads the dynamic link table (4-1) provided in the program and the directory information of the module corresponding to the direct program name read from this dynamic link table (4-1). A module loading processing method comprising a supervisor (2) and configured to load a corresponding program and execute processing as necessary based on directory information of a directly-related module that has been previously loaded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1221687A JPS63181032A (en) | 1987-01-23 | 1987-01-23 | Module reading and processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1221687A JPS63181032A (en) | 1987-01-23 | 1987-01-23 | Module reading and processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63181032A true JPS63181032A (en) | 1988-07-26 |
Family
ID=11799184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1221687A Pending JPS63181032A (en) | 1987-01-23 | 1987-01-23 | Module reading and processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63181032A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08106378A (en) * | 1994-10-07 | 1996-04-23 | Nec Corp | Fast connection system for load module |
EP3620304A1 (en) | 2018-09-07 | 2020-03-11 | Canon Kabushiki Kaisha | Liquid ejecting head and method of manufacturing liquid ejecting head |
-
1987
- 1987-01-23 JP JP1221687A patent/JPS63181032A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08106378A (en) * | 1994-10-07 | 1996-04-23 | Nec Corp | Fast connection system for load module |
EP3620304A1 (en) | 2018-09-07 | 2020-03-11 | Canon Kabushiki Kaisha | Liquid ejecting head and method of manufacturing liquid ejecting head |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS63181032A (en) | Module reading and processing system | |
JPS593636A (en) | Processing system for execution of dynamically coupled module | |
JPH06230963A (en) | Memory access controller | |
JP2663600B2 (en) | Control table relocation processing method | |
JPS6382530A (en) | Semiconductor storage device | |
JPH0844570A (en) | System and method for program execution | |
JPH01246635A (en) | Task switching system | |
JPS583042A (en) | Program execution system | |
JPS62169243A (en) | Program loading system | |
JPH04350727A (en) | Multiplex branch processing method | |
JPH06131212A (en) | Computer controlling method for tracking execution of target program with regard to calling of target program with other program | |
JPH0351014B2 (en) | ||
JPS601657B2 (en) | Address conversion method | |
Hoit | An updated out‐of‐core equation solver | |
JPH021017A (en) | Program coupling control system | |
JPH05233305A (en) | Program loading system | |
JPS63168739A (en) | Software maintenance data selection system | |
JPS5924344A (en) | Overlay controlling system | |
JPH02301844A (en) | Overlay system | |
JPH04147337A (en) | Method of using transient module | |
JPH04213726A (en) | Microsubroutine control system | |
JPH01258029A (en) | Data processor | |
JPH0760381B2 (en) | Large-scale program link method | |
JPH01236323A (en) | Shared library system | |
JPH09106371A (en) | Data processing method for queue |