JPH0452928A - Program processing method - Google Patents
Program processing methodInfo
- Publication number
- JPH0452928A JPH0452928A JP2162226A JP16222690A JPH0452928A JP H0452928 A JPH0452928 A JP H0452928A JP 2162226 A JP2162226 A JP 2162226A JP 16222690 A JP16222690 A JP 16222690A JP H0452928 A JPH0452928 A JP H0452928A
- Authority
- JP
- Japan
- Prior art keywords
- program
- selection information
- input
- reading
- program selection
- 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
(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 program processing method for a computer-equipped device that reads and executes a program selected from a plurality of programs by human power or the like.
[従来の技術]
制御部本体としてのCPU (中央処理ユニット)と、
ROM (リード・オンリ・メモリ)及びRAM (ラ
ンダム・アクセス争メモリ)のメモリ部と、キーボード
、デイスプレィ、フロッピーディスクドライバ等の各種
入出力装置を接続する入出力回路とを備えた従来のコン
ピュータ搭載機器のなかには、各種のプログラムデータ
が記録されたフロッピーディスクをフロッピーディスク
ドライバに装着した状態でキーボードがら任意のプログ
ラム番号をキー人力することにより、そのプログラム番
号に該当するプログラムデータをフロッピーディスクか
ら読込んで実行するようにしたものが知られている。こ
のように構成することにより、当該コンピュータ搭載機
器で必要なプログラムの一部をメモリ部で持つ必要がな
くなり、メモリ部の容量削減等の効果を奏するようにな
る。[Prior art] A CPU (central processing unit) as a main body of a control unit,
Conventional computer equipment equipped with memory sections of ROM (read only memory) and RAM (random access memory), and input/output circuits that connect various input/output devices such as a keyboard, display, and floppy disk driver. When a floppy disk containing various program data is inserted into the floppy disk driver, by manually typing a program number on the keyboard, the program data corresponding to that program number is read from the floppy disk and executed. It is known what made it so. With this configuration, it is no longer necessary to store a part of the programs necessary for the computer-equipped device in the memory section, and the capacity of the memory section can be reduced.
ところで、上記の如くキー人力等により任意のプログラ
ムを選択的に読込んで実行するようにした従来のコンピ
ュータ搭載機器においては、プログラムの選択に必要な
情報が全て入力されてから該当するプログラムの読込み
を開始するようになっていた。例えばプログラム番号1
0番のプログラムを選択する場合、置数キーにより「1
0」を置数後、その数値データを確定するためのキー例
えば入カキ−が入力された時点で該当プログラムの読込
みを開始し、読込み完了後に該当プログラムを実行させ
ていた。By the way, in the conventional computer-equipped equipment in which an arbitrary program is selectively loaded and executed by keystrokes or the like, as mentioned above, the program is not loaded until all the information necessary for selecting the program has been input. It was about to start. For example, program number 1
To select program number 0, use the numeric keys to select “1”.
After setting the number "0", the reading of the corresponding program is started when a key, for example, the input key, for determining the numerical data is input, and after the reading is completed, the corresponding program is executed.
[発明が解決しようとする課題]
上述したように、キー人力等により任意のプログラムを
選択的に読込んで実行するようにした従来のコンピュー
タ搭載機器においては、プログラムの選択に必要な情報
が確定されてから該当するプログラムの読込みを開始し
、読込ろ完了後に当該プログラムを実行するようになっ
ていた。このため、プログラムの読込みに要する全時間
か操作の待機時間となり、処理能率の悪い欠点かある。[Problems to be Solved by the Invention] As described above, in conventional computer-equipped equipment in which arbitrary programs are selectively read and executed by key personnel, etc., the information necessary for selecting a program is not determined. After that, loading of the corresponding program was started, and the program was executed after loading was completed. For this reason, the entire time required to read the program is spent waiting for the operation, which has the disadvantage of poor processing efficiency.
そこで本発明は、プログラム選択情報確定後からプログ
ラム実行までの待機時間を短縮でき、処理能率の向上を
はかり得るプログラム処理方法を提供しようとするもの
である。SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a program processing method that can shorten the waiting time from program selection information determination to program execution and improve processing efficiency.
[課題を解決するための手段]
本発明は、複数のプログラムを記憶する記憶部及びプロ
グラム選択情報を入力する入力部を有し、この入力部を
介して入力されるプログラム選択情報に該当するプログ
ラムを記憶部から選択的に読込んで実行するものにおい
て、入力部からプログラム選択情報が入力されるとその
プログラム選択情報をもとに記憶部から該当するプログ
ラムの読込みを開始し、該プログラム選択情報の確定が
指示されることなく人力部から次のプログラム選択情報
が入力されると現在のプログラム読込み動作を中止して
それまで入力されたプログラム選択情報をもとに記憶部
から該当するプログラムの読込みを開始し、該プログラ
ム選択情報の確定が指示されると記憶部からの読込みを
終了したプログラムを実行するようにしたプログラム処
理方法である。[Means for Solving the Problems] The present invention has a storage unit that stores a plurality of programs and an input unit that inputs program selection information, and a program that corresponds to the program selection information that is input via the input unit. When program selection information is input from the input section, reading of the corresponding program from the storage section is started based on the program selection information, and the program selection information is executed by selectively reading from the storage section. If the next program selection information is input from the human resources section without being instructed to confirm, the current program reading operation is stopped and the corresponding program is read from the storage section based on the program selection information input so far. This is a program processing method in which a program is started, and when an instruction to confirm the program selection information is given, a program that has been read from a storage unit is executed.
[作 用]
このような手順のプログラム処理方法であれば、入力部
からプログラム選択情報が入力された時点で予測される
プログラムの読込みが開始される。[Operation] With the program processing method having such a procedure, reading of the predicted program is started at the time when the program selection information is input from the input section.
そして、該プログラム選択情報の確定が指示されること
なく次のプログラム選択情報が入力されると、現在のプ
ログラム読込み動作が中止され、それまで入力されたプ
ログラム選択情報をもとに別のプログラムの読込みが開
始される。従って、該プログラム選択情報の確定が指示
された時点では既に該当プログラムの読込み動作が開始
されているので、プログラムの読込みが完了し実行され
るまでの待ち時間が短縮される。If the next program selection information is input without being instructed to confirm the program selection information, the current program reading operation is stopped and another program is started based on the program selection information input so far. Loading begins. Therefore, since the reading operation of the corresponding program has already started when the determination of the program selection information is instructed, the waiting time until the reading of the program is completed and the program is executed is shortened.
[実施例コ
以下、本発明方法の一実施例を図面を参照しながら説明
する。[Example 1] An example of the method of the present invention will be described below with reference to the drawings.
第1図は本発明方法を適用したコンピュータ搭載機器の
概略構成を示すブロック図である。同図において1は制
御部本体としてのCPU、2はプログラム等の固定的デ
ータが記憶されるROM。FIG. 1 is a block diagram showing a schematic configuration of computer-equipped equipment to which the method of the present invention is applied. In the figure, 1 is a CPU as the main body of the control unit, and 2 is a ROM in which fixed data such as programs are stored.
3は第2図に示すように置数レジスタ31やプログラム
エリ、732等の各種メモリエリアが形成されるRAM
、4は入力部としてのキーボード5がらキー信号が入力
されるキーボードコントローラ、6はCRTデイスプレ
ィ7に表示データを出力するデイスプレィコントローラ
、8は記憶部としてのフロッピーディスク9をアクセス
してデータの読み書きを行うフロッピーディスクドライ
バ1゜と信号の授受を行うI10ボートである。ここで
上記キーボード5には、プログラム番号等の数値データ
を入力するための置数キー、置数されたプログラム番号
の確定を指示するための入力キー等の各種キーが配設さ
れている。また上記フロッピーディスクドライバ10に
は、上記キーボード5で入力可能なプログラム番号が設
定された各種のプログラムデータを記録したフロッピー
ディスク9等が装着される。3 is a RAM in which various memory areas such as a number register 31, a program area, 732, etc. are formed as shown in FIG.
, 4 is a keyboard controller to which key signals are input from a keyboard 5 as an input section, 6 is a display controller that outputs display data to a CRT display 7, and 8 is a storage section that accesses a floppy disk 9 to read and write data. The I10 port exchanges signals with the floppy disk driver 1. Here, the keyboard 5 is provided with various keys such as a number key for inputting numerical data such as a program number, and an input key for instructing confirmation of the programmed program number. Further, the floppy disk driver 10 is loaded with a floppy disk 9 or the like on which various program data having program numbers that can be entered using the keyboard 5 are recorded.
」1記CPUIは上記ROM2.RAM3.キーボード
コントローラ4.デイスプレィコントローラ6及びI1
0ポート8をそれぞれパスライン11を介して電気的に
接続している。そして図示しない電源かオンされると上
記CPUIはROM2を制御し、そのROM2に記憶さ
れたプログラムに基づいて第3図に示す処理を実行する
ように構成されている。すなわち、先ずST(ステップ
)1としてCRTデイスプレィ7を駆動制御して予め設
定された初期画面(メニュー画面)を表示させる。次い
で、ST2としてキーボード5からのキー人力を待つ。” 1 CPUI is the above ROM 2. RAM3. Keyboard controller 4. Display controller 6 and I1
0 ports 8 are electrically connected via pass lines 11, respectively. When a power source (not shown) is turned on, the CPUI controls the ROM 2 and is configured to execute the processing shown in FIG. 3 based on the program stored in the ROM 2. That is, first, in ST (step) 1, the CRT display 7 is drive-controlled to display a preset initial screen (menu screen). Next, in ST2, a key input from the keyboard 5 is waited for.
この状態で、置数キーがキー人力されたならばその置数
キーに対応する数値データをRAM3における置数レジ
スタ31の最下位桁にセットする。In this state, if a numeric key is pressed manually, the numerical data corresponding to the numeric key is set in the least significant digit of the numeric register 31 in the RAM 3.
次いで、I10ポート8を介してフロッピーディスクド
ライバ10を駆動制御してフロッピーディスク9をアク
セスする。そして、そのフロ、ノビ−ディスク9から上
記置数レジスタ31の内容に一致するプログラム番号が
設定されたプログラムデータの読込みを開始する。なお
、読込んだプログラムデータはRAM3におけるプログ
ラムエリア32の先頭番地から順に格納される。また、
このプログラム読込み動作は次のキー人力が行われるま
で継続される。Next, the floppy disk driver 10 is driven and controlled via the I10 port 8 to access the floppy disk 9. Then, reading of program data in which a program number matching the contents of the number register 31 is set is started from the Nobby disk 9. Note that the read program data is stored in order from the top address of the program area 32 in the RAM 3. Also,
This program reading operation continues until the next keystroke is performed.
そして、プログラムデータの読込み動作中に再度置数キ
ーがキー人力されたならば、現在実行中のプログラム読
込み動作を中止するとともに、置数レジスタ31の内容
を1桁ずつ上位にシフトして、空エリアとなった最下位
桁に入力置数キーに対応する数値データをセットする。If the numeric key is pressed again during the program data reading operation, the program reading operation currently being executed is stopped, the contents of the numeric register 31 are shifted upward one digit at a time, and the numeric key is pressed again. Set the numeric data corresponding to the input numeric key in the lowest digit that becomes the area.
そして、前記と同様にしてフロッピーディスク9から上
記置数レジスタ31の内容に一致するプログラム番号が
設定されたプログラムデータの読込みを開始する。Then, in the same manner as described above, reading of program data in which a program number matching the contents of the number register 31 is set is started from the floppy disk 9.
この場合も、読込んだプログラムデータはRAM3にお
けるプログラムエリア32の先頭番地から順に格納され
る。また、プログラム読込み動作は次のキー人力が行わ
れるまで継続される。In this case as well, the read program data is stored in order from the top address of the program area 32 in the RAM 3. Further, the program reading operation continues until the next keystroke is performed.
一方、プログラムデータの読込み動作中にキーボード5
の入カキ−がキー人力されたならば、置数レジスタ31
内の数値データに対応するプログラム番号が確定したの
で現在実行中のプログラム読込み動作を継続する。そし
て、読込みを終了したならばその読込んだプログラムに
基づく処理を実行する。この際、CRTデイスプレィ7
の表示画面を該当プログラムに対応する画面に更新する
。On the other hand, during the program data reading operation, the keyboard 5
If the input key is entered manually, the number register 31
Since the program number corresponding to the numerical data in is determined, the program reading operation currently being executed is continued. When the reading is finished, processing based on the read program is executed. At this time, CRT display 7
Update the display screen to one that corresponds to the program in question.
なお、入カキ−の入力以前に該当プログラムの読込みを
終了していた場合には初期画面のままで準備状態となり
、入カキ−の入力に応じて該当プログラムに基づく処理
の実行を開始する。Note that if the reading of the corresponding program has been completed before the input key is input, the initial screen remains in the preparation state, and in response to the input of the input key, execution of processing based on the corresponding program is started.
このような構成の本実施例においては、キーボード5の
置数キーによりプログラム選択情報としてのプログラム
番号が置数入力された時点で予測されるプログラムの読
込みが開始される。そして、該プログラム番号の確定が
指示されることなく続けてプログラム番号が置数入力さ
れると、現在のプログラム読込み動作が中止され、それ
まで入力されたプログラム選択情報をもとに別のプログ
ラムの読込みが開始される。従って、該プログラム選択
情報の確定がキーボード5の入カキ−により指示された
時点では既に該当プログラムの読込み動作が開始されて
いるので、従来に比してプログラムの読込みが完了し実
行されるまでの待ち時間が短縮されることになる。In this embodiment having such a configuration, reading of the predicted program is started when the program number as the program selection information is entered using the number keys on the keyboard 5. If a program number is inputted without being instructed to confirm the program number, the current program reading operation is stopped and another program is started based on the program selection information input so far. Loading begins. Therefore, when the confirmation of the program selection information is instructed by the input key on the keyboard 5, the reading operation of the corresponding program has already started, so it takes longer than before to complete the loading and execution of the program. Waiting time will be reduced.
例えばプログラム番号「10」のプログラムを選択する
場合、オペレータはキーボード5の置数キーでrlJ、
rOJを続けて置数し、最後に入カキ−を操作してプロ
グラム選択情報(プログラム番号)の確定を指示するこ
とになる。この場合において、先ず置数キーの「1りを
操作すると、それに応じてフロッピーディスクドライバ
10によりフロッピーディスク9がアクセスされて、プ
ログラム番号「1」が設定されたプログラムデータの読
込みが開始される。次に置数キーの「0」を操作すると
、上記プログラム番号「1」のプログラムの読込み動作
が中止される。そして今度はそれまで入力されたプログ
ラム番号「10」が設定されたプログラムデータの読込
みが開始される。For example, when selecting the program with program number "10", the operator presses the number keys on the keyboard 5 to select rlJ,
The user then enters rOJ and finally operates the input key to instruct to confirm the program selection information (program number). In this case, first, when the number key "1" is operated, the floppy disk driver 10 accesses the floppy disk 9 and starts reading the program data to which the program number "1" is set. Next, when the number key "0" is operated, the reading operation of the program with the program number "1" is stopped. Then, reading of the program data to which the program number "10" inputted up to that point is set is started.
すなわち、この時点で所望のプログラムの読込み動作が
開始されること、になる。その後、入カキ−を操作する
と、上記プログラム番号「1o」のプログラムデータの
読込み動作が継続され、読込み終了に応じて当該プログ
ラムか実行される。That is, at this point, the reading operation of the desired program is started. Thereafter, when the input key is operated, the reading operation of the program data of the program number "1o" is continued, and upon completion of the reading, the corresponding program is executed.
従って、プログラム選択情報であるプログラム番号の確
定を指示する以前に既に所望のプログラムの読込みが開
始されているので、プログラム選択情報の確定後から当
該プログラムが実行されるまでの待ち時間が短縮される
。その結果、システムの処理能率が向上する。Therefore, the reading of the desired program has already started before the confirmation of the program number, which is the program selection information, is issued, so the waiting time from the confirmation of the program selection information until the program is executed is shortened. . As a result, the processing efficiency of the system is improved.
なお、本発明方法は前記実施例に限定されるものではな
い。例えば前記実施例では各種プログラムが記録される
媒体としてフロッピーディスク9を示したがこれに限定
されるものではな(、例えばハードディスク等であって
もよい。また、前記実施例ではプログラム選択情報をキ
ー人力したが、キーボード以外の入力装置を用いて入力
する場合も適用できる。この他、本発明の要旨を逸脱し
ない範囲で種々変形実施可能であるのは勿論である。Note that the method of the present invention is not limited to the above embodiments. For example, in the embodiment described above, the floppy disk 9 was shown as a medium on which various programs are recorded, but the medium is not limited to this (for example, a hard disk or the like may also be used. In addition, in the embodiment described above, the program selection information is Although input is performed manually, it can also be applied to input using an input device other than a keyboard.It goes without saying that various modifications can be made without departing from the gist of the present invention.
[発明の効果]
以上詳述したように本発明によれば、プログラム選択情
報確定後からプログラム実行までの待機時間を短縮でき
、処理能率の向上をはかり得るプログラム処理方法を提
供できる。[Effects of the Invention] As described in detail above, according to the present invention, it is possible to provide a program processing method that can shorten the waiting time from after program selection information is determined until program execution, and can improve processing efficiency.
図は本発明の一実施例を示す図であって、第1図はコン
ピュータ搭載機器の概略ブロック図、第2図はRAMの
主要なメモリ構成図、第3図はCPU0本発明方法に関
わる処理を示す流れ図である。
1・・・CPU、2・・・ROM、3・・・RAM。
5・・・キーボード、7・・・CRTデイスプレィ、9
・・・フロッピーディスク1
10・・・フロッピーディスクドライバ。
出願人代理人 弁理士 鈴江武彦
す
第1図
52rIA
第3図The drawings are diagrams showing an embodiment of the present invention, in which Fig. 1 is a schematic block diagram of computer-equipped equipment, Fig. 2 is a main memory configuration diagram of RAM, and Fig. 3 is a process related to the method of the present invention using CPU0. FIG. 1...CPU, 2...ROM, 3...RAM. 5...Keyboard, 7...CRT display, 9
... Floppy disk 1 10... Floppy disk driver. Applicant's representative Patent attorney Takehiko Suzue Figure 1 52rIA Figure 3
Claims (1)
択情報を入力する入力部を有し、上記入力部を介して入
力されるプログラム選択情報に該当するプログラムを上
記記憶部から選択的に読込んで実行するものにおいて、 前記入力部からプログラム選択情報が入力されるとその
プログラム選択情報をもとに前記記憶部から該当するプ
ログラムの読込みを開始し、該プログラム選択情報の確
定が指示されることなく前記入力部から次のプログラム
選択情報が入力されると現在のプログラム読込み動作を
中止してそれまで入力されたプログラム選択情報をもと
に前記記憶部から該当するプログラムの読込みを開始し
、 該プログラム選択情報の確定が指示されると前記記憶部
からの読込みを終了したプログラムを実行することを特
徴とするプログラム処理方法。[Claims] It has a storage unit that stores a plurality of programs and an input unit that inputs program selection information, and selectively selects a program corresponding to the program selection information input via the input unit from the storage unit. When program selection information is input from the input section, reading of the corresponding program from the storage section is started based on the program selection information, and confirmation of the program selection information is instructed. When the next program selection information is inputted from the input section without any interruption, the current program reading operation is stopped and reading of the corresponding program from the storage section is started based on the program selection information inputted up to that point. . A program processing method, comprising: executing the program that has been read from the storage unit when an instruction to confirm the program selection information is given.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2162226A JPH0452928A (en) | 1990-06-20 | 1990-06-20 | Program processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2162226A JPH0452928A (en) | 1990-06-20 | 1990-06-20 | Program processing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0452928A true JPH0452928A (en) | 1992-02-20 |
Family
ID=15750370
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2162226A Pending JPH0452928A (en) | 1990-06-20 | 1990-06-20 | Program processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0452928A (en) |
-
1990
- 1990-06-20 JP JP2162226A patent/JPH0452928A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3399665B2 (en) | Information processing device | |
| JPH0452928A (en) | Program processing method | |
| JP2670441B2 (en) | Document processing device | |
| JPH0253198A (en) | Transaction processor | |
| JPH04290119A (en) | Character processor | |
| JP2703608B2 (en) | Document processing method and apparatus | |
| JP3210511B2 (en) | Handwriting input method and device | |
| JPH0325648A (en) | terminal device | |
| JPS62226356A (en) | Initial program loading system | |
| JPS6145550Y2 (en) | ||
| JPH0231238A (en) | Control system for task priority of computer | |
| JPS58155441A (en) | Key input processing system of computer for executing plural jobs | |
| JPH02249036A (en) | data processing equipment | |
| JPH04195513A (en) | Keyboard | |
| JPS5880725A (en) | Office processing machine | |
| JPH02282823A (en) | Software version-up system for microprocessor mounted unit | |
| JPS58221405A (en) | Programmable controller | |
| JPS62152032A (en) | information processing equipment | |
| JPS58175038A (en) | Stored program type electronic equipment | |
| JPS63198141A (en) | Memory bank control system | |
| JPH0621972B2 (en) | Page selection method for electronic item / keyboard device | |
| JPH0387915A (en) | Data processor | |
| JPH0417454B2 (en) | ||
| JPH0869311A (en) | Positioning system | |
| JPH06110506A (en) | Program controller's comment storage method |