JPH04105128A - High speed command starting system by residence - Google Patents
High speed command starting system by residenceInfo
- Publication number
- JPH04105128A JPH04105128A JP22296090A JP22296090A JPH04105128A JP H04105128 A JPH04105128 A JP H04105128A JP 22296090 A JP22296090 A JP 22296090A JP 22296090 A JP22296090 A JP 22296090A JP H04105128 A JPH04105128 A JP H04105128A
- Authority
- JP
- Japan
- Prior art keywords
- command
- resident
- residence
- name table
- command name
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は常駐化によるコマンド高速起動方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a method for quickly starting a command by making it resident.
従来、計算機システムにおけるコマンドの起動は、コマ
ンドプロセッサからコマンド名を指定して起動がかけら
れると、ローダがディスクファイルをサーチして指定さ
れたコマンドを見付け、これをメモリ上にロードして制
御を渡していた。Conventionally, when a command in a computer system is started by specifying a command name from a command processor, a loader searches a disk file, finds the specified command, loads it into memory, and controls it. was passing it on.
上述した従来のコマンド起動方式では、ローダがディス
クファイルをサーチし、見付かるとメモリ上にロードす
るという動作が常に入るため、非常に頻繁に使用される
コマンドでも、その都度起動に時間がかかるという欠点
がある。In the conventional command startup method described above, the loader always searches for a disk file and, if found, loads it into memory, so the disadvantage is that it takes time to start each time even if the command is used very frequently. There is.
本発明の目的は、頻繁に使用される特定のコマンドを選
択してシステム立ち上げ時にメモリ上に常駐化させ、コ
マンド起動時間を短縮させることが可能な常駐化による
コマンド高速起動方式を提供することである。SUMMARY OF THE INVENTION An object of the present invention is to provide a high-speed command startup method by selecting a frequently used specific command and making it resident in memory at system startup, thereby reducing command startup time. It is.
本発明の常駐化によるコマンド高速起動方式は、システ
ム立ち上げ時にディスクファイルから取得した常駐化コ
マンド名リストにより該当するコマンドをロードしてメ
モリ上に常駐化し、その入口アドレスを常駐化コマンド
名と対にした常駐化コマンド名テーブルを登録するコマ
ンド常駐化手段と、端末からコマンド名を指定されたと
き前記常駐化コマンド名テーブルを参照して該当するコ
マンドがメモリ上にあればそのまま起動し、なければロ
ーダによりロード後起動するコマンドプロセッサと、こ
のコマンドプロセッサにより起動されコマンドごとの起
動回数を記録したコマンド起動ログ情報を更新するコマ
ンド起動ログ収集手段と、システム閉塞時に前記コマン
ド起動ログ情報に基づいて前記常駐化コマンド名テーブ
ルを更新し、更新された常駐化コマンド名を前記ディス
クファイルに格納する常駐化コマンド名テーブル更新手
段とを備えて構成されている。The high-speed command startup method using resident command of the present invention loads the corresponding command based on the resident command name list obtained from the disk file at system startup, makes it resident in memory, and associates its entry address with the resident command name. A command resident means registers a resident command name table, and when a command name is specified from the terminal, it refers to the resident command name table and if the corresponding command is in memory, it is activated as is, and if not, it is activated. a command processor that is started after being loaded by a loader; a command startup log collection unit that updates command startup log information that records the number of startups for each command that is started by the command processor; and resident command name table updating means for updating the resident command name table and storing the updated resident command name in the disk file.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例の構成を示すブロック図であ
る。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
第1図の実施例は、端末1.コマンドプロセッサ2.コ
マンド常駐化手段3.常駐化コマンド名テーブル4.常
駐化コマンド名テーブル更新手段5、コマンド起動ログ
収集手段6.コマンド起動ログ情報7.ローダ8.ディ
スクファイル9.常駐化コマンドロード部10.非常駐
コマンドロード部11から構成されている。In the embodiment of FIG. 1, terminal 1. Command processor 2. Command resident means 3. Resident command name table 4. Resident command name table update means 5, command startup log collection means 6. Command startup log information 7. Loader 8. Disk file 9. Resident command load section 10. It consists of a non-resident command load section 11.
第2図は常駐化コマンドテ名テーブル4の構成を示す説
明図、第3図〜第5図はそれぞれコマンド常駐化手段3
.コマンドプロセッサ2及び常駐化コマンド名テーブル
更新手段5の処理の流れを示す流れ図である。FIG. 2 is an explanatory diagram showing the structure of the resident command name table 4, and FIGS. 3 to 5 respectively show the command resident means 3.
.. 2 is a flowchart showing the processing flow of the command processor 2 and the resident command name table updating means 5. FIG.
次に、本実施例の動作について図面を参照して説明する
。Next, the operation of this embodiment will be explained with reference to the drawings.
システム立ち上げ時、コマンド常駐化手段3がシステム
によって起動される。コマンド常駐化手段3は、第3図
に示す手順により、まずステップ31でディスクファイ
ル9から常駐化コマンド名テーブル4の常駐化コマンド
名エントリ41部分の情報を読み出し展開する。次に、
ステップ32で、展開した常駐化コマンド名エントリ4
1のコマンド名に基づいてローダ8を起動し、コマンド
プログラムをメモリ上の常駐化コマンドロード部10に
ロードし、ステップ33でその入口アドレスを常駐化コ
マンド名テーブル4の常駐化コマンド入口アドレスエン
トリ42部分に格納する。入口アドレス格納後、ステッ
プ34により常駐化コマンド名テーブル4のすべてのコ
マンド名について処理が終了したか否かを判定する。未
了ならば次の常駐化コマンド名エントリ41に格納され
ているコマンド名につき同様の処理ステップを繰り返し
、すべてのコマンド名について終了するとコマンド常駐
化処理を終了する。When the system is started up, the command resident means 3 is activated by the system. According to the procedure shown in FIG. 3, the command resident means 3 first reads and expands the information in the resident command name entry 41 of the resident command name table 4 from the disk file 9 in step 31. next,
In step 32, expanded resident command name entry 4
The loader 8 is started based on the command name of No. 1, and the command program is loaded into the resident command loading unit 10 on the memory. In step 33, the entry address is set as the resident command entry address entry 42 of the resident command name table 4. Store in parts. After storing the entry address, it is determined in step 34 whether processing has been completed for all command names in the resident command name table 4. If not completed, the same processing steps are repeated for the next command name stored in the resident command name entry 41, and when all command names are completed, the command resident processing is ended.
システム稼働時に端末1からコマンド名が指定されると
、コマンドプロセッサ2に制御が渡る。When a command name is specified from the terminal 1 during system operation, control is passed to the command processor 2.
コマンドプロセッサ2は、第4図の手順により、まずス
テップ21において常駐化コマンド名テーブル4の常駐
化コマンド名エントリ41をサーチする。サーチの結果
ステップ22で該当コマンドなしく非常駐)と判定され
れると、ステップ23でローダ8を起動してコマンドプ
ログラムをメモリの非常駐コマンドロード部11にロー
ドする。According to the procedure shown in FIG. 4, the command processor 2 first searches for the resident command name entry 41 in the resident command name table 4 in step 21. As a result of the search, if it is determined in step 22 that the corresponding command does not exist (non-resident), the loader 8 is activated in step 23 to load the command program into the non-resident command loading section 11 of the memory.
コマンドが常駐と判定され場合は、常駐化コマンド入口
アドレスエントリ42から入口アドレスを読み込む。し
かる後にステップ24でコマンド起動ログ収集手段6を
起動し、コマンド起動ログ情報7に記録されているコマ
ンドごとの起動回数情報をカウントアツプする。続いて
、ステップ25によりコマンドプログラムに制御を渡す
。If the command is determined to be resident, the entry address is read from the resident command entry address entry 42. Thereafter, in step 24, the command activation log collection means 6 is activated, and the activation number information for each command recorded in the command activation log information 7 is counted up. Then, in step 25, control is passed to the command program.
システム閉塞時にはシステムによって常駐化コマント名
テーブル更新手段5が起動される。常駐化コマンド名テ
ーブル更新手段5は、第5図の手順に従ってステップ5
1によりコマンド起動ログ情報7のコマンドごとの起動
回数を参照し、起動回数の上位からn個を確認、ステッ
プ52により常駐化コマンド名エントリ41を更新する
。しかる後、ステップ53により更新後の常駐化コマン
ド名テーブル4の常駐化コマンド名エントリ41のみを
ディスクファイル上にセーブする。When the system is shut down, the resident command name table updating means 5 is activated by the system. The resident command name table updating means 5 performs step 5 according to the procedure shown in FIG.
1, the number of activations for each command in the command activation log information 7 is referred to, and the n highest number of activations are checked, and the resident command name entry 41 is updated in step 52. Thereafter, in step 53, only the updated resident command name entry 41 of the resident command name table 4 is saved on the disk file.
以上詳細に説明したように、本発明は、起動される頻度
の高いコマンドをメモリ上に常駐化しておくことにより
、頻繁に使用されるコマンドは高速起動ができる効果が
ある。又、コマンド起動ログ情報を参照することにより
システムの状態が変化し、使用頻度の高いコマンドが変
化しても追随できる効果がある。As described above in detail, the present invention has the advantage that frequently used commands can be started quickly by making them resident in memory. Further, by referring to the command activation log information, it is possible to follow changes in the system state and even if frequently used commands change.
り図、第2図は常駐化コマンド名テーブルの構成の説明
図、第3図はコマンド常駐化手段の処理の流れ図、第4
図はコマンドプロセッサの処理の流れ図、第5図は常駐
化コマンド名テーブル更新手段の処理の流れ図である。Figure 2 is an explanatory diagram of the structure of the resident command name table, Figure 3 is a flowchart of the processing of the command resident means, and Figure 4 is an explanatory diagram of the configuration of the resident command name table.
The figure is a flowchart of the processing of the command processor, and FIG. 5 is a flowchart of the processing of the resident command name table updating means.
1・・・・・・端末、2・・・・・・コマンドプロセッ
サ、3・・・・・・コマンド常駐化手段、4・・・・・
・常駐化コマンド名テーブル、5・・・・・・常駐化コ
マンド名テーブル更新手段、6・・・・・・コマンド起
動ログ収集手段、7・・・・・・コマンド起動ログ情報
、8・−・・・・ローダ、9−・・・・・ディスクファ
イル、10・−・・・・常駐化コマンドロード部、11
・・・・・・非常駐コマンドロード部。1...terminal, 2...command processor, 3...command resident means, 4...
- Resident command name table, 5...Resident command name table update means, 6...Command startup log collection means, 7...Command startup log information, 8.- ...Loader, 9-...Disk file, 10...Resident command load section, 11
・・・・・・Non-resident command load section.
Claims (1)
駐化コマンド名リストにより該当するコマンドをロード
してメモリ上に常駐化し、その入口アドレスを常駐化コ
マンド名と対にした常駐化コマンド名テーブルを登録す
るコマンド常駐化手段と、端末からコマンド名を指定さ
れたとき前記常駐化コマンド名テーブルを参照して該当
するコマンドがメモリ上にあればそのまま起動し、なけ
ればローダによりロード後起動するコマンドプロセッサ
と、このコマンドプロセッサにより起動されコマンドご
との起動回数を記録したコマンド起動ログ情報を更新す
るコマンド起動ログ収集手段と、システム閉塞時に前記
コマンド起動ログ情報に基づいて前記常駐化コマンド名
テーブルを更新し、更新された常駐化コマンド名を前記
ディスクファイルに格納する常駐化コマンド名テーブル
更新手段とを備えたことを特徴とする常駐化によるコマ
ンド高速起動方式。Command residency that loads the corresponding command based on the resident command name list obtained from the disk file when the system starts up, makes it resident in memory, and registers a resident command name table that pairs its entry address with the resident command name. a command processor that, when a command name is specified from a terminal, refers to the resident command name table and if the corresponding command is in memory, launches it as is; if not, loads it with a loader and then launches this command; a command activation log collection means for updating command activation log information that records the number of activations of each command activated by the processor; and a command activation log collection means for updating the resident command name table based on the command activation log information when the system is shut down. A method for quickly starting a command by making it resident, comprising: a resident command name table update means for storing the resident command name in the disk file.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22296090A JPH04105128A (en) | 1990-08-24 | 1990-08-24 | High speed command starting system by residence |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22296090A JPH04105128A (en) | 1990-08-24 | 1990-08-24 | High speed command starting system by residence |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04105128A true JPH04105128A (en) | 1992-04-07 |
Family
ID=16790582
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22296090A Pending JPH04105128A (en) | 1990-08-24 | 1990-08-24 | High speed command starting system by residence |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04105128A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015187801A (en) * | 2014-03-27 | 2015-10-29 | 京セラドキュメントソリューションズ株式会社 | Information processor and memory management method |
| JP2016143108A (en) * | 2015-01-30 | 2016-08-08 | 京セラドキュメントソリューションズ株式会社 | Information processing apparatus and memory management program |
-
1990
- 1990-08-24 JP JP22296090A patent/JPH04105128A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015187801A (en) * | 2014-03-27 | 2015-10-29 | 京セラドキュメントソリューションズ株式会社 | Information processor and memory management method |
| JP2016143108A (en) * | 2015-01-30 | 2016-08-08 | 京セラドキュメントソリューションズ株式会社 | Information processing apparatus and memory management program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04105128A (en) | High speed command starting system by residence | |
| JP2624170B2 (en) | Logical deletion data physical deletion method | |
| JPH05250244A (en) | Data base system | |
| JPH05233264A (en) | Memoryu development system for table informagtion | |
| JPH0651990A (en) | System initial loading system of operating system in computer system | |
| JPS6111861A (en) | Program access control system | |
| JPH0553886A (en) | Table access managing system | |
| JPH05181717A (en) | Data base application control system | |
| JPH0635774A (en) | Data base management system | |
| JPH0540637A (en) | Load system for basic input/output ststem | |
| JP2877826B2 (en) | Console command catalog control method | |
| JPH0877044A (en) | Database controller | |
| JPH03282636A (en) | Data storing method for execution of test package | |
| JPH05313871A (en) | Multiple program editing device | |
| JPS6250945A (en) | Program loading method | |
| JPH03282824A (en) | Program start system | |
| JPH02151956A (en) | Command procedure starting system | |
| JPH04217029A (en) | Method for making system to rise | |
| JPH03263125A (en) | Table data expanding system | |
| JPH0398135A (en) | Automatic saving controlling system for data base | |
| JPH01188961A (en) | Program executing system | |
| JPH03259354A (en) | Program execution system | |
| JPS63140350A (en) | System for reducing output quantity of recovery point log | |
| JPH01302460A (en) | Command loading system for command processor | |
| JPH07200303A (en) | Program loading method |