JPH0454623A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPH0454623A JPH0454623A JP16422990A JP16422990A JPH0454623A JP H0454623 A JPH0454623 A JP H0454623A JP 16422990 A JP16422990 A JP 16422990A JP 16422990 A JP16422990 A JP 16422990A JP H0454623 A JPH0454623 A JP H0454623A
- Authority
- JP
- Japan
- Prior art keywords
- file
- executed
- processing
- internal memory
- memory
- 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
Abstract
Description
【発明の詳細な説明】
〔発明の目的〕
(産業上の利用分野)
本発明は、プログラムおよびデータが内部メモリの記憶
容量を超えるため、プログラムおよびデータの一部を外
部メモリに記憶し、必要に応じて外部メモリから読み出
してデータ処理を行うデータ処理装置に関する。Detailed Description of the Invention [Objective of the Invention] (Industrial Application Field) The present invention stores a part of the program and data in an external memory and stores it as needed, since the program and data exceed the storage capacity of the internal memory. The present invention relates to a data processing device that reads data from an external memory and processes data according to the data.
(従来の技術)
内部メモリにプログラムおよびデータが記憶しきれない
場合、その一部をハードディスク等の外部メモリに記憶
し、必要時にハードディスクから内部メモリに読み込む
方法が使用されている。(Prior Art) When programs and data cannot be stored in an internal memory, a method is used in which a portion of the programs and data are stored in an external memory such as a hard disk and read from the hard disk into the internal memory when necessary.
この方法の場合、従来はハードディスクの中のファイル
が必要になってから、ハードディスクをアクセスして必
要なファイルを読み出し、内部メモリに記憶するように
している。In the case of this method, conventionally, after a file on the hard disk is needed, the hard disk is accessed, the necessary file is read out, and the file is stored in the internal memory.
(発明が解決しようとする課題)
上述したようなデータ処理装置において、例えばプリン
タ制御、他の機器とのデータのやりとり等のような処理
ルーチンをタスク管理しながら2つ以上並列処理する場
合には、他の連続処理が必要なルーチンと重なった場合
には、ハードディスクへのアクセスが遅れるため、処理
速度が遅くなったり、処理がスムーズに行われないとい
う不具合が発生するという問題がある。(Problem to be Solved by the Invention) In a data processing device as described above, when two or more processing routines such as printer control, data exchange with other devices, etc. are processed in parallel while managing tasks, If this routine overlaps with another routine that requires continuous processing, access to the hard disk will be delayed, resulting in problems such as slow processing speed and uneven processing.
本発明は、上記に鑑みてなされたもので、その目的とす
るところは、実行ファイルを外部メモリから読み込む場
合の待ち時間を無くし、処理をスムーズに行うとともに
、処理時間の高速化を図ったデータ処理装置を提供する
ことにある。The present invention has been made in view of the above, and its purpose is to eliminate the waiting time when reading executable files from external memory, to perform data processing smoothly, and to speed up data processing. The purpose of this invention is to provide a processing device.
(課題を解決するための手段)
上記目的を達成するため、本発明のデータ処理装置は、
プログラムおよびデータが内部メモリの記憶容量を超え
るためプログラムおよびデータの一部を外部メモリに記
憶するデータ処理装置であって、現在実行中のファイル
を基に次に実行する可能性のあるファイルを検索する検
索手段と、タスク処理の空き時間に外部メモリをアクセ
スして前記検索手段で検索されたファイルを外部メモリ
から内部メモリに読み込む読み込み手段とを有すること
を要旨とする。(Means for Solving the Problems) In order to achieve the above object, the data processing device of the present invention has the following features:
A data processing device that stores part of the program and data in external memory because the program and data exceeds the storage capacity of the internal memory, and searches for a file that may be executed next based on the file currently being executed. and a reading means that accesses an external memory and reads files searched by the search means from the external memory into the internal memory during free time during task processing.
(作用)
本発明のデータ処理装置では、現在実行中のファイルを
基に次に実行する可能性のあるファイルを検索し、タス
ク処理の空き時間に外部メモリをアクセスし、前記検索
ファイルを外部メモリから内部メモリに読み込んでいる
。(Function) The data processing device of the present invention searches for a file that may be executed next based on the file currently being executed, accesses the external memory during the free time of task processing, and stores the searched file in the external memory. is being read into internal memory.
(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.
第1図は本発明の一実施例に係わるデータ処理装置の構
成を示すブロック図である。同図に示すデータ処理装置
は外部メモリとしてハードディスク5を有する。該ハー
ドディスク5はハードディスク制御手段3を介して制御
され、該ハードディスク制御手段3にはファイル検索手
段2を介して実行ファイルデータ管理部1が接続される
とともに、タスク管理手段4が接続され、該タスク管理
手段4は複数のタスクルーチン1〜nを管理している。FIG. 1 is a block diagram showing the configuration of a data processing device according to an embodiment of the present invention. The data processing device shown in the figure has a hard disk 5 as an external memory. The hard disk 5 is controlled via a hard disk control means 3, to which an executable file data management unit 1 is connected via a file search means 2, and a task management means 4 is also connected, and the task management means 4 is connected to the hard disk control means 3. The management means 4 manages a plurality of task routines 1 to n.
前記ハードディスク5には装置の内部メモリ内に記憶し
きれないプログラムやデータの一部が記憶されるが、こ
のハードディスク5への記憶は、第2図の50で示す右
側部分において四角内に示すファイル番号のように、実
行順別に分割し、ファイル番号を付して行われる。すな
わち、分割した実行ファイルを実行順に分類して、第1
図の実行ファイルデータ管理部lによってデータ管理し
ている。The hard disk 5 stores some of the programs and data that cannot be stored in the internal memory of the device, but the storage on the hard disk 5 is limited to the files shown in the squares in the right part 50 in FIG. It is divided into parts according to the order of execution and assigned file numbers. In other words, the divided executable files are classified in the order of execution, and the first
Data is managed by the executable file data management unit 1 shown in the figure.
第2図に示すファイル番号のうち、ファイル番号「1」
のファイルが実行中とすると、このファイルは第2図の
左に示す内部メモリ11の斜線て示す実行ファイルメモ
リエリアに読み込まれて実行される。なお、内部メモリ
11は斜線で示す現在実行中のプログラムエリアの上側
のメモリエリアが常駐部であり、下側のメモリエリアが
空メモリエリアであり、この空メモリエリアに次に実行
される可能性のあるファイルが外部メモリであるハード
ディスク5から読み出されて記憶されるようになってい
る。Among the file numbers shown in Figure 2, file number "1"
When a file is being executed, this file is read into the executable file memory area indicated by diagonal lines in the internal memory 11 shown on the left side of FIG. 2 and executed. Note that in the internal memory 11, the memory area above the currently executing program area indicated by diagonal lines is the resident area, and the memory area below is an empty memory area, and there is a possibility that the next program will be executed in this empty memory area. A certain file is read out from the hard disk 5, which is an external memory, and stored.
上述したように、ファイル番号1のファイルが内部メモ
リ11の斜線で示す実行ファイルメモリエリアに読み込
まれて実行されている間の例えばキーの入力待ちや各種
通信処理のストローブ待ちの間のようなアイドルループ
中に次に実行する可能性のあるファイルが第1図のファ
イル検索手段2によって前記実行ファイルデータ管理部
1から検索される。この結果、第2図に示すように、フ
ァイル番号1に続いて、ファイル番号2,3..4゜5
.6.7.15が検索されることになる。この検索され
たファイル番号の各ファイルは、第1図のハードディス
ク制御手段3の制御によりハードディスク5から読み出
され、第2図の内部メモリ11の空メモリエリアに記憶
される。そして、実行中のファイルが終了すると、空メ
モリエリアに記憶された複数のファイルの中から次に実
行すべきファイルが選択されることになるが、この場合
、ファイル番号「3」のファイルが選択されたとすると
、このファイル番号3のファイルが空メモリエリアから
斜線で示す実行ファイルメモリエリアに転送され実行さ
れる。それから、また上述したと同様の手順で、ファイ
ル番号3に関連して管理されているファイル番号1.1
4.15.8,9゜10のファイルが読ろ込まれるよう
になっている。As mentioned above, while the file with file number 1 is being read into the executable file memory area indicated by diagonal lines in the internal memory 11 and being executed, there is an idle period such as waiting for key input or strobe for various communication processing. A file that may be executed next during the loop is searched from the executable file data management unit 1 by the file search means 2 shown in FIG. As a result, as shown in FIG. 2, file number 1 is followed by file numbers 2, 3, and so on. .. 4゜5
.. 6.7.15 will be searched. Each file with the searched file number is read out from the hard disk 5 under the control of the hard disk control means 3 shown in FIG. 1 and stored in the empty memory area of the internal memory 11 shown in FIG. When the file being executed ends, the next file to be executed is selected from among the multiple files stored in the empty memory area, but in this case, the file with file number "3" is selected. If so, the file with file number 3 is transferred from the empty memory area to the execution file memory area indicated by diagonal lines and executed. Then, using the same procedure as described above, file number 1.1, which is managed in relation to file number 3, is
4.15.8,9゜10 files are now loaded.
第3図はファイル読み込み手順を示すフローチヤードで
あるが、次に第3図を参照してファイルを読み込むタイ
ミングについて説明する。第3図において、メインルー
チンの画面表示の後(ステップ110)、タスク処理ル
ーチン120の中の同図において右側に拡張して示すプ
ライオリティ判断(ステップ210)で、キー人力、各
種通信処理等の各タスク処理が必要かどうかの判断や処
理が必要なルーチンの中で処理する順番を決める等の判
断を行う。この結果、ステップ220て順に処理を行い
、この結果から次の処理ステップに移行できるかどうか
の判断を行う(ステップ130)。この場合、例えばキ
ーボードからのキー人力待ちや各機器との通信の最中は
ステップ120および130の間のループを繰り返し行
うアイドルループ、すなわち処理を何も行わない待ち時
間が存在する。従って、このアイドルループ時に次の実
行ファイルを上述したように検索し、内部メモリ11に
読み込む処理を行う。FIG. 3 is a flowchart showing the file reading procedure. Next, the timing of reading the file will be explained with reference to FIG. In FIG. 3, after the main routine is displayed on the screen (step 110), priority judgment (step 210) shown expanded on the right side of the same figure in the task processing routine 120 is performed to determine the priority of each task, such as key human power and various communication processes. It makes judgments such as determining whether task processing is necessary and determining the order of processing among routines that require processing. As a result, processing is performed in order at step 220, and it is determined from this result whether it is possible to proceed to the next processing step (step 130). In this case, for example, while waiting for a key to be input from the keyboard or communicating with each device, there is an idle loop in which the loop between steps 120 and 130 is repeated, that is, a waiting time in which no processing is performed. Therefore, during this idle loop, the next executable file is searched for and read into the internal memory 11 as described above.
第4図は前述した内部メモリ11、CPU、内部割り込
みタスクコントローラ、外部割り込みコントローラ、タ
スク処理されるノ1−ドディスク(HDD) 、フロッ
ピディスク(FDD) 、プリンタ、CATV−E−:
夕、キーボード、CATVデータ読み込み、ホストを示
すブロック図である。FIG. 4 shows the aforementioned internal memory 11, CPU, internal interrupt task controller, external interrupt controller, task processing node disk (HDD), floppy disk (FDD), printer, CATV-E-:
FIG. 3 is a block diagram showing the keyboard, CATV data reading, and host.
以上説明したように、本発明によれば、現在実行中のフ
ァイルを基に次に実行する可能性のあるファイルを検索
し、タスク処理の空き時間に外部メモリをアクセスし、
前記検索ファイルを外部メモリから内部メモリに読み込
んでいるので、外部メモリのアクセス時の待ち時間を無
くし、連続ルーチンが重なったとしても、処理をスムー
ズに行い、処理を高速化することができる。As explained above, according to the present invention, a file that is likely to be executed next is searched based on the file currently being executed, and an external memory is accessed during free time for task processing.
Since the search file is read from the external memory to the internal memory, there is no waiting time when accessing the external memory, and even if consecutive routines overlap, the processing can be performed smoothly and the processing speed can be increased.
第1図は本発明のデータ処理装置の構成を示すブロック
図、第2図はファイル読み込み状況説明図、第3図はフ
ァイル読み込み手順を示すフローチャート、第4図は内
部メモリおよびCPU廻りの構成を示すブロック図であ
る。
1 ・実行ファイルデータ管理部、
3 φ −
4・ ・
5 ・ ・
11壷・
・ファイル検索手段、
・ハードディスク制御手段、
・タスク管理手段、
・ハードディスク、
・内部メモリ。Fig. 1 is a block diagram showing the configuration of the data processing device of the present invention, Fig. 2 is a diagram explaining the file reading situation, Fig. 3 is a flowchart showing the file reading procedure, and Fig. 4 shows the structure around the internal memory and CPU. FIG. 1 ・Execution file data management unit, 3 φ − 4 ・ 5 ・ ・ 11 ・ ・File search means, ・Hard disk control means, ・Task management means, ・Hard disk, ・Internal memory.
Claims (1)
えるためプログラムおよびデータの一部を外部メモリに
記憶するデータ処理装置であって、現在実行中のファイ
ルを基に次に実行する可能性のあるファイルを検索する
検索手段と、タスク処理の空き時間に外部メモリをアク
セスして前記検索手段で検索されたファイルを外部メモ
リから内部メモリに読み込む読み込み手段とを有するこ
とを特徴とするデータ処理装置。A data processing device that stores part of the program and data in external memory because the program and data exceeds the storage capacity of the internal memory, and searches for a file that may be executed next based on the file currently being executed. 1. A data processing device comprising: a search means for performing a search, and a reading means for accessing an external memory during free time during task processing and reading a file searched by the search means from the external memory into an internal memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16422990A JPH0454623A (en) | 1990-06-25 | 1990-06-25 | Data processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16422990A JPH0454623A (en) | 1990-06-25 | 1990-06-25 | Data processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0454623A true JPH0454623A (en) | 1992-02-21 |
Family
ID=15789128
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16422990A Pending JPH0454623A (en) | 1990-06-25 | 1990-06-25 | Data processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0454623A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009061553A (en) * | 2007-09-07 | 2009-03-26 | Tungaloy Corp | Turning tool |
-
1990
- 1990-06-25 JP JP16422990A patent/JPH0454623A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009061553A (en) * | 2007-09-07 | 2009-03-26 | Tungaloy Corp | Turning tool |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3201786B2 (en) | Control method of digital signal processing system | |
| JPH0454623A (en) | Data processor | |
| JPH08241214A (en) | Data processing system | |
| JPS6258351A (en) | Optical disk cache system | |
| JP3586943B2 (en) | Program loading device and method | |
| JP3255081B2 (en) | File-access device and machine-readable recording medium recording program | |
| JPH06230963A (en) | Memory access controller | |
| JP2526728B2 (en) | Disk cache automatic usage method | |
| JP2641399B2 (en) | File management device | |
| JP2581145B2 (en) | Security processing method | |
| JPH0816369A (en) | Method and system for clustering | |
| JP2002259209A (en) | Arithmetic processing system | |
| JPH04291642A (en) | Cache control system | |
| JP3006527B2 (en) | Client / server type database system | |
| JPH05233305A (en) | Program loading system | |
| JPH113231A (en) | Software processing method | |
| JPH05298030A (en) | External storage device control method | |
| JPH0443454A (en) | Multi-processor type electronic computer | |
| JPH0391055A (en) | Hardware lock setting method, hardware lock control device, hardware lock detection method and device | |
| JPH04167037A (en) | Computer system | |
| JPH01305446A (en) | Program debug support processing system | |
| JPH0233176B2 (en) | JOBUJITSUKOJUNJONOSEIGYOHOSHIKI | |
| JPH0934848A (en) | Thread control method and information processing system | |
| JPH05241861A (en) | Free memory management system for operating system | |
| JPH03257634A (en) | Method and device for parallelly processing program |