JPH03296823A - Logical space address allocating system - Google Patents

Logical space address allocating system

Info

Publication number
JPH03296823A
JPH03296823A JP2099557A JP9955790A JPH03296823A JP H03296823 A JPH03296823 A JP H03296823A JP 2099557 A JP2099557 A JP 2099557A JP 9955790 A JP9955790 A JP 9955790A JP H03296823 A JPH03296823 A JP H03296823A
Authority
JP
Japan
Prior art keywords
program
logical
address
space
logical address
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
JP2099557A
Other languages
Japanese (ja)
Inventor
Keiki Nagai
永井 啓喜
Hiroshi Otaka
浩 大高
Tetsuya Takifuji
瀧藤 哲也
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.)
NTT Inc
Original Assignee
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2099557A priority Critical patent/JPH03296823A/en
Publication of JPH03296823A publication Critical patent/JPH03296823A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Stored Programmes (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機システムにおける論理的な記憶空間の
アドレス割当方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logical storage space address allocation method in a computer system.

〔従来技術〕[Prior art]

計算機システムにおける論理アドレスの割り当ては、従
来は以下の2つの何れかの方式により行われていた。
Logical address assignment in computer systems has conventionally been performed using one of the following two methods.

その1つは、第3図に示すように、1つの制御プログラ
ムを利用するすべての計算システムで稼働するすべての
プログラムに対して、論理アドレスの割当管理を一元的
に行って個々のプログラムに対して全ての計算機システ
ムを通じて一意の固定的な論理アドレスを割り当てて、
プログラムが呼び畠される前に、事前にアドレス解決処
理を済ませておく一元管理論理アドレス割当方式である
As shown in Figure 3, one method is to centrally manage the allocation of logical addresses for all programs running in all computing systems that use one control program. allocate a unique fixed logical address across all computer systems,
This is a centralized logical address assignment method in which address resolution processing is completed in advance before a program is called.

他の1つは、第4図に示すように、プログラムが呼び出
されてメモリにロードする時を契機に、システムの保持
する論理アドレス管理情報を参照して空き空間より必要
な大きさの論理アドレスを確保して該プログラムに割り
当ててアドレス解決を行い、プログラムの処理が終了し
2てメモリな解放する時に確保した論理アドレスも同時
に空間どする動的論理アト1ノス割当方式である。
The other method, as shown in Figure 4, is that when a program is called and loaded into memory, it refers to the logical address management information held by the system and selects a logical address of the required size from the free space. This is a dynamic logical At1nos allocation method in which the logical address is secured and allocated to the program, address resolution is performed, and when the program processing is completed and the memory is released, the secured logical address is also released as a space at the same time.

第4図及び第5図において、1はプログラム作成者、2
は対象プログラム、3はアドレス解決/登録手段、4は
論理アト1ノス一元割当管理機構、プログラム登録用外
部記憶空間、6は論理アドレス・−元管理情報、7はプ
ログラムローF手段、8はメモリ、9は動的アドレス割
当/アドレス解決/プログラムロード手段、10はプロ
グラム登録用外部記憶空間、11は論理アト1ノス管理
情報である。
In Figures 4 and 5, 1 is the program creator, 2
3 is the target program, 3 is the address resolution/registration means, 4 is the logical Atnos unified allocation management mechanism, external storage space for program registration, 6 is the logical address/source management information, 7 is the program row F means, and 8 is the memory. , 9 is a dynamic address allocation/address resolution/program loading means, 10 is an external storage space for program registration, and 11 is logical Atonenos management information.

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

しかしながら、第4図に示す一元管理論理アドレス割当
方式では、論理ア1ぐ1ノスの割当に関してすべてのシ
ステムを通じた一元管理が必要であること、また、個々
のシステムに着目すると使用しないプログラムの論理空
間も使用済として管理されているため、論理空間の使用
効率が悪く、連続した大きな#理空間の確保が困難であ
るという問題があった。
However, in the unified management logical address assignment method shown in Figure 4, it is necessary to centrally manage the assignment of logical addresses across all systems, and when focusing on individual systems, the logic of programs that are not used is Since the space is also managed as used, there is a problem in that the efficiency of logical space usage is poor and it is difficult to secure a large continuous logical space.

また、第5図に示す動的論理アドレス割当方式では、前
記の問題はないが、プログラムのローディング4行うた
びに論理アトlメス解決処理が必要になること、及び第
5図の論理アドレス管理情報1コ−をメモリ上に保持す
るプログラム数が増大し。
Furthermore, although the dynamic logical address allocation method shown in FIG. 5 does not have the above-mentioned problem, it requires logical address resolution processing every time a program is loaded, and the logical address management information shown in FIG. The number of programs that hold one code in memory increases.

た場合にメモリの使用量が膨大になり、メモリオーバヘ
ッドが大きくなり、外部記憶空間上C−置くとプログラ
ムローディングの度に管理情報に対する入出力のオーバ
ヘッドが増大するため、プログラムローディング時のオ
ーバヘッドが大きくなるという間旺があった。
If the program is loaded, the amount of memory used will be enormous and the memory overhead will be large, and if it is placed on the external storage space, the overhead of input/output for management information will increase each time the program is loaded, so the overhead at the time of program loading will be large. There was a pause.

本発明は、jr+7記問題点を解決するためになされた
ものであり、その課題は、プログラムの[1−ディング
時のオーバヘッドを増やさずに論理空間の使用効率を高
めることが可能な技術を提供することにあおる。
The present invention was made in order to solve the problems described in JR+7, and its object is to provide a technique that can improve the efficiency of logical space use without increasing the overhead during program programming. Encourage me to do it.

本発明の前記ならびにその他の課題と新規な特徴は、水
明細書の記述及び添付図面によって明らかになるであろ
う。
The above-mentioned and other objects and novel features of the present invention will become clear from the description of the specification and the accompanying drawings.

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

前記課題を解決するために、本発明は、割算機システム
における論理空間上のアト1ノスをプログラムの格納領
域として割り当てる論理アトIノス割当方式において、
論理アドレスと割当対象のプログラムとの対応関係が個
々の計算機システム単位で固定的であって、プログラム
を一意に識別できる名称と割当てた論理アドレスの対応
関係及びどのプログラムにも未割当の空き論理アドレス
の範囲に関する管理情報製外部記憶空間上に保持し、新
たに登録されるプログラムに対してこの情報を参照して
空き論理アドレスの対応範囲より該プログラムの必要な
大きさで、かつ残りの連続空き論理アドレスの範囲を最
大にする論理アドレスを割り肖てて前記管理情報を更新
すると共に、該プログラムのアドレス解決を行う手段を
有することを最も主要な特徴とするものである。
In order to solve the above-mentioned problems, the present invention provides a logical atto-nos allocation method for allocating an atto-nos in a logical space in a divider system as a storage area for a program.
The correspondence between logical addresses and assigned programs is fixed for each computer system, and the correspondence between a name that can uniquely identify a program and an assigned logical address, and an empty logical address that is not assigned to any program. Management information regarding the range is maintained in the external storage space, and this information is referenced for a newly registered program to determine the size required by the program from the corresponding range of free logical addresses and the remaining continuous free space. The most important feature is that it updates the management information by assigning a logical address that maximizes the range of logical addresses, and also has means for resolving the address of the program.

〔作用〕[Effect]

前述の手段によれば、論理アドレスの割当管理を個々の
システム毎に制御プログラムが行うことにより、論理ア
トIノスの割当対象プログラムを、個々のシステムで使
用するプログラムのみに限定して論理空間の使用効率を
向上させると共にプログラム解決を論理アト1ノスの割
当と同時に行うことによってプログラムが呼び出されて
メモリに口・−ディングされる前にアドレス解決処理を
済ませておくので、プログラムのローディング時のオー
バヘッドを増やさずに論理空間の使用効率を高めること
ができる。
According to the above-mentioned means, by having the control program manage the allocation of logical addresses for each individual system, the programs to which logical addresses are allocated are limited to only the programs used in each individual system. In addition to improving usage efficiency, by performing program resolution at the same time as the logical at-node allocation, address resolution processing is completed before the program is called and loaded into memory, reducing overhead when loading the program. It is possible to improve the efficiency of logical space usage without increasing the amount of space.

つまり、従来の技術とは、プログラムへの論理アドレス
の割当を個々のシステムで使用するプログラムに限定し
て論理アトlノスの使用効率を向上できる点と、プログ
ラムのアト1ノス解決処理をプログラムのローディング
以前に完了させているためプログラムローディング時の
オーバヘッドを増やさずに済む点が両立していることが
特に異なる。
In other words, the conventional technology is capable of improving the usage efficiency of logical atnodes by limiting the assignment of logical addresses to programs used in individual systems, and that it is possible to improve the efficiency of using logical atnodes by limiting the allocation of logical addresses to programs to programs used in individual systems, and to improve the atnoce resolution processing of programs. A particular difference is that since the program is completed before loading, there is no need to increase the overhead during program loading.

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

以下、本発明の一実施例を図面を用いて具体的に説明す
る。
Hereinafter, one embodiment of the present invention will be specifically described using the drawings.

第1区は、本発明の一実施例の論理空間71−1ノス割
当方式を説明するための説明図であり、第2図は、本実
施例における構成要素の計算機システム上での位置関係
と処理の流れを説明するための説明図である。
The first section is an explanatory diagram for explaining the logical space 71-1 node allocation method according to one embodiment of the present invention, and FIG. FIG. 3 is an explanatory diagram for explaining the flow of processing.

第1図及び第2図において、13は登録対象プログラム
、14はシステム個別の論理アドレス割当管理情報、1
5はプログラムの外部記憶空間へのプログラム登録手段
、16はプログラム登録用外部記憶空間、17はプログ
ラムの論理アドレス割当及びプログラムのアドレス解決
を行う論理アドレス割当/アドレス解決手段、18は対
象プログラムの呼び出し元、19はプログラムのメモリ
へのロードを行うプログラムロード手段、20はメモリ
である。
1 and 2, 13 is a registration target program, 14 is system-specific logical address allocation management information, 1
Reference numeral 5 indicates means for registering a program in an external storage space, 16 indicates an external memory space for program registration, 17 indicates logical address assignment/address resolution means for assigning logical addresses to the program and resolving the addresses of the program, and 18 indicates calling of the target program. 19 is a program loading means for loading a program into memory, and 20 is a memory.

まず、登録対象プログラム13をプログラム登録手段1
5を用いてプログラム登録用外部記憶空間16に登録す
る(第1図のσ・■・)。
First, the program 13 to be registered is registered in the program registration means 1.
5 to the external storage space 16 for program registration (σ, ■, in FIG. 1).

次に、プログラムの論理アドレス割当/アドレス解決手
段17を動作させる(第1図の■))と、プログラム登
録用外部記憶空間16はその外部記憶空間に登録されて
いる登録対象プログラム13を読み出し、論理アドレス
割当管理情報14を参照して対象プログラムのプログラ
ム名が登録されていることを確認し、登録されていなけ
れば管理情報の先頭より空き論理空間を探して対象プロ
グラムで必要とする論理空間の大きさ以上で最も小さい
連続空き空間をみつけ、これを対象プログラムに割り当
てると共に管理情報に対象プログラムの名称と割り当て
た論理アドレス区間を登録する(第1図の■))。引き
続き対象プログラムのアドレス解決処理を行い、処理の
完了した対象プログラムをプログラム登録用外部記憶空
間16に格納する(第1図の■)。
Next, when the program logical address assignment/address resolution means 17 is operated (■ in FIG. 1), the program registration external storage space 16 reads out the registration target program 13 registered in the external storage space, Check that the program name of the target program is registered by referring to the logical address allocation management information 14. If it is not registered, search for an empty logical space from the beginning of the management information and use the logical space required by the target program. Find the smallest contiguous free space above the size, allocate it to the target program, and register the name of the target program and the assigned logical address section in the management information (■ in Figure 1)). Subsequently, address resolution processing for the target program is performed, and the target program for which processing has been completed is stored in the external storage space 16 for program registration (■ in FIG. 1).

その後、システム稼働時に論理アドレス割当/アドレス
解決手段17の他のプログラムより対象プログラムが呼
び出された時(第1図の(1))には、対象プログラム
の呼び呂し元18からのロード依頼により、プログラム
ロード手段19によってプログラム登録用外部記憶空間
16から対象プログラムを読み込み(第1図の(2))
、メモリ20上にロードされる(第1図の(3))。こ
の時、プログラムのアドレス解決処理はすでに完了して
いるので行われない。
Thereafter, when the target program is called by another program in the logical address allocation/address resolution means 17 during system operation ((1) in FIG. 1), the load request from the target program's caller 18 , the program loading means 19 loads the target program from the external storage space 16 for program registration ((2) in FIG. 1).
, is loaded onto the memory 20 ((3) in FIG. 1). At this time, the program's address resolution processing has already been completed, so it is not performed.

以上の説明かられかるように、本実施例によれば、シス
テム個別の論理アドレス管理情報に基づき、システムで
使用するプログラムのみに論理アドレスの割り当てを行
い、管理情報を参照して必要な大きさ以上の最小の連続
空き論理空間を選択して論理アドレスを確保してプログ
ラムに割り当てると同時に、プログラムのアドレス解決
を行うので、プログラムが呼び出された時のアドレス解
決処理を不要にしてローディング時のオーバヘッドを増
やさずに論理空間の使用効率の向上と連続した空き論理
空間の確保を同時に実現できる。
As can be seen from the above explanation, according to this embodiment, logical addresses are assigned only to programs used in the system based on logical address management information for each system, and the necessary size is determined by referring to the management information. The minimum contiguous free logical space above is selected, a logical address is secured, and the address is assigned to the program, and the program's address is resolved at the same time. This eliminates the need for address resolution processing when the program is called, thereby reducing overhead during loading. It is possible to simultaneously improve the usage efficiency of logical space and secure continuous free logical space without increasing the number of logical spaces.

以上、本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically explained above based on examples, but
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

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

以上、説明したように、本発明によれば、プログラムが
呼び出された時のアドレス解決処理を不要にしてローデ
ィング時のオーバヘッドを増やさずに論理空間の使用効
率の向上と連続した空き論理空間の確保を同時に行うこ
とができる。
As described above, according to the present invention, address resolution processing is not required when a program is called, and the efficiency of logical space usage is improved without increasing overhead during loading, and continuous free logical space is secured. can be done at the same time.

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

第1図は、本発明の一実施例の論理空間アドレス割当方
式を説明するための説明図、 第2図は、本実施例における構成要素の計算機システム
上での位置関係と処理の流れを説明するための説明図、 第3図は、従来の一元管理論理アドレス割当方式の問題
点を説明するための図、 第4図は、従来の動的論理アドレス割当方式の問題点を
説明するための図である。 図中、1・・・プログラム作成者、2・・・対象プログ
ラム、3・・・アドレス解決/登録手段、4・・・論理
アドレス−元割当管理機構、5・・・プログラム登録用
外部記憶空間、6・・・論理アドレス−元管理情報、7
・・・プログラムロード手段、8・・メモリ、9・・動
的論理アドレス割当/アドレス解決/プログラムロード
手段、コ、O・・・プログラム登録用外部記憶空間、1
1・・・論理アドレス管理情報、]−2・・・メモリ、
13・・・登録対象プログラム、14・・・システム個
別の論理アドレス管理情報、15・・・プログラム登録
手段、16・・プログラム登録用外部記憶空間、17・
・・論理アト1ノス割当/アドレス解決手段、]8・・
・対象プログラム呼び出し元、19・・・プログラムロ
ード手段、20・・メモリ。
FIG. 1 is an explanatory diagram for explaining a logical space address allocation method according to an embodiment of the present invention. FIG. 2 is an explanatory diagram for explaining the positional relationship of components on a computer system and the flow of processing in this embodiment. Figure 3 is an explanatory diagram for explaining the problems of the conventional centralized logical address allocation method. Figure 4 is an explanatory diagram for explaining the problems of the conventional dynamic logical address assignment method. It is a diagram. In the figure, 1... program creator, 2... target program, 3... address resolution/registration means, 4... logical address-original allocation management mechanism, 5... external storage space for program registration , 6... Logical address - original management information, 7
. . . Program loading means, 8. Memory, 9. Dynamic logical address assignment/address resolution/program loading means, O. . . External storage space for program registration, 1
1...Logical address management information, ]-2...Memory,
13... Program to be registered, 14... System-specific logical address management information, 15... Program registration means, 16... External storage space for program registration, 17.
...Logical Atonenos assignment/address resolution means, ]8...
-Target program caller, 19...Program loading means, 20...Memory.

Claims (1)

【特許請求の範囲】[Claims] 計算機システムにおける論理空間上のアドレスをプログ
ラムの格納領域として割り当てる論理アドレス割当方式
において、論理アドレスと割当対象のプログラムとの対
応関係が個々の計算機システム単位で固定的であって、
プログラムを一意に識別できる名称と割り当てた論理ア
ドレスの対応関係及びどのプログラムにも未割当の空き
論理アドレスの範囲に関する管理情報を外部記憶空間上
に保持し、新たに登録されるプログラムに対してこの情
報を参照して空き論理アドレスの対応範囲より該プログ
ラムの必要な大きさで、かつ残りの連続空き論理アドレ
スの範囲を最大にする論理アドレスを割り当てて前記管
理情報を更新すると共に、該プログラムのアドレス解決
を行う手段を有することを特徴とする論理空間アドレス
割当方式。
In a logical address allocation method that allocates an address in a logical space in a computer system as a storage area for a program, the correspondence between the logical address and the program to be allocated is fixed for each computer system,
Management information regarding the correspondence between a name that uniquely identifies a program and an assigned logical address and the range of free logical addresses that are not assigned to any program is maintained in external storage space, and this information is used for newly registered programs. Refers to the information and updates the management information by allocating a logical address of the size required by the program from the corresponding range of free logical addresses and maximizing the range of remaining continuous free logical addresses, and A logical space address allocation method characterized by having means for performing address resolution.
JP2099557A 1990-04-16 1990-04-16 Logical space address allocating system Pending JPH03296823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2099557A JPH03296823A (en) 1990-04-16 1990-04-16 Logical space address allocating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2099557A JPH03296823A (en) 1990-04-16 1990-04-16 Logical space address allocating system

Publications (1)

Publication Number Publication Date
JPH03296823A true JPH03296823A (en) 1991-12-27

Family

ID=14250460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2099557A Pending JPH03296823A (en) 1990-04-16 1990-04-16 Logical space address allocating system

Country Status (1)

Country Link
JP (1) JPH03296823A (en)

Similar Documents

Publication Publication Date Title
US6681239B1 (en) Computer system having shared address space among multiple virtual address spaces
JP2014504768A (en) Method, computer program product, and apparatus for progressively unloading classes using a region-based garbage collector
US9086920B2 (en) Device for managing data buffers in a memory space divided into a plurality of memory elements
KR980010840A (en) Computer-implemented methods, computer readable media, and computer systems for resource management
HU216474B (en) Method of sharing virtual memory of a computer system into address spaces with predetermined partition size
US6600493B1 (en) Allocating memory based on memory device organization
US7386702B2 (en) Systems and methods for accessing thread private data
JP6953768B2 (en) Assistance device, program
JPH03296823A (en) Logical space address allocating system
CN103514185B (en) The database file access management method and device of the multiple update area of navigation map
JPH03296822A (en) Logical space address allocating system
JPS62192828A (en) File space allocation system
JPH02304615A (en) Allocating system for parallel disk control buffer
JP2969776B2 (en) Data identification method
JPH04155546A (en) Multivolume file processing method
JPH05189282A (en) Secondary storage file assigning system classified by job class
JPS6043756A (en) Memory control system
JPH02171831A (en) Compiler data access method
JPH03127137A (en) File area allocating system
JPH03255533A (en) Symbol managing system in programming language processing system
CN116566793A (en) Equipment distribution method and device, electronic equipment and storage medium
JPS62216042A (en) Memory allocation method for data area
JPS62251851A (en) Overlay control system for electronic computer system
JPH03210631A (en) Inter-module connecting system
JPH10124467A (en) Service search method for distributed processing system