JPS6232546A - Program execution and selection control system - Google Patents

Program execution and selection control system

Info

Publication number
JPS6232546A
JPS6232546A JP60172070A JP17207085A JPS6232546A JP S6232546 A JPS6232546 A JP S6232546A JP 60172070 A JP60172070 A JP 60172070A JP 17207085 A JP17207085 A JP 17207085A JP S6232546 A JPS6232546 A JP S6232546A
Authority
JP
Japan
Prior art keywords
function
program
file
execution
function instruction
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
JP60172070A
Other languages
Japanese (ja)
Inventor
Yoshibumi Hayashi
林 義文
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP60172070A priority Critical patent/JPS6232546A/en
Publication of JPS6232546A publication Critical patent/JPS6232546A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To prevent the existence of a function being confidential to a user from being known by him, by providing a function indicating file in a program, and writing in advance function indicating information in this function indicating file by a supervisor. CONSTITUTION:A numeral for showing the function indicating information, for instance, a diagnostic function for a manufacture, or a diagnostic function for a maintenance, etc. is stored in advance, for instance, in a function indicating file 1-0 which has been provided on the head of one diagnostic program. First of all, a file information retrieving means 3 retrieves the function indicating file 1-0 and reads out the function indicating information. Subsequently, an execution processing means 4 determines which execution program 1-i is executed in which order. Next, an execution processing means 5 executes successively a determined execution program (i) 1-i. By said procedure, one diagnostic program can be set so as to hold an optimum function which has conformed with a use purpose, and also no unnecessary information is given to a user.

Description

【発明の詳細な説明】 〔概要〕 複数の機能中から所定の機能を選択して実行し得るよう
構成したプログラム実行選択制御方式において、機能を
選択する指示を格納する機能指示ファイルと、システム
の起動を契機として、機能指示ファイルに格納されてい
る内容を読み出すファイル情報検索手段と、読み出した
機能を実行させるプログラムを選択する実行処理選択手
段と、このプログラムを実行させて、所望の機能を実行
させる実行処理手段とを備え、所定の機能を実行し得る
ようにしている。
[Detailed Description of the Invention] [Summary] In a program execution selection control method configured to select and execute a predetermined function from a plurality of functions, a function instruction file that stores instructions for selecting a function, and a system A file information search means that reads out the contents stored in the function instruction file upon startup, an execution process selection means that selects a program to execute the read function, and executes the program to execute the desired function. and an execution processing means for executing predetermined functions.

(従来の技術〕 従来、フロッピィディスク装置の各種機能を検査する診
断機能には、製造時に用いる診断機能と、保守時に用い
る診断機能と、客先が用いる診断機能などとは夫々目的
を異にするため、その診断機能も異なるが、多くの部分
を重複して具備している。このように多くの重複する部
分をもつ、夫々の診断機能を夫々別個に作成したのでは
、能率が悪い。このため、一般に、1つのプロプラム中
に各種機能を具備させておき、この中から所望の機能を
選択させるいわゆるメニュ一方式がある。
(Prior Art) Conventionally, diagnostic functions for testing various functions of floppy disk devices have different purposes, such as those used during manufacturing, those used during maintenance, and those used by customers. Therefore, although their diagnostic functions are different, they have many overlapping parts.It would be inefficient to create each diagnostic function separately, which has many overlapping parts. Therefore, there is generally a so-called one-menu system in which various functions are provided in one program and a desired function is selected from among these.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、このメニュ一方式では、使用する者にとって不
用なものがメニューとして表示されるだけでなく、使用
者に知らせたくない機能の存在が知られてしまうという
問題点があった。
However, this one-menu system has the problem that not only items that are unnecessary for the user are displayed as a menu, but also that the existence of functions that the user does not want to be informed about becomes known.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、前記問題点などを解決するために、1つのプ
ログラム中に機能指示ファイルを設け、管理者が予めこ
の機能指示ファイル中に機能指示情報を書き込んでおき
、このプログラム例えば診断プログラムの使用に際し、
機能指示ファイル中に格納された機能指示に対応した機
能を実行する実行プログラムのみを選択して実行させる
ように制御している。
In order to solve the above-mentioned problems, the present invention provides a function instruction file in one program, and allows an administrator to write function instruction information in this function instruction file in advance and use this program, for example, a diagnostic program. On this occasion,
Control is performed to select and execute only the execution program that executes the function corresponding to the function instruction stored in the function instruction file.

第1図は本発明の原理的構成を示す。図中、1はプログ
ラム、1−0は機能指示ファイル、1−1ないし1−n
は実行プログラム、2は機能指示ファイル作成手段、3
はファイル情報検索手段。
FIG. 1 shows the basic configuration of the present invention. In the figure, 1 is a program, 1-0 is a function instruction file, 1-1 to 1-n
is an execution program, 2 is a function instruction file creation means, 3 is
is a file information search method.

4は実行処理選択手段、5は実行処理手段を表す。4 represents an execution process selection means, and 5 represents an execution process means.

第1図において、1つのプログラム11例えばフロッピ
ィディえり装置の診断プログラムは、各種機能を実行す
る実行プログラム(1+ 1−1ないし実行プログラム
(n)1−nと1例えば先頭に配置した機能指示ファイ
ル1−0とから構成されている。
In FIG. 1, one program 11, for example, a diagnostic program for a floppy disk printer, is an execution program (1+1-1 or execution program (n)) that executes various functions. It is composed of 1-0.

この機能指示ファイル1−0には、各[機能指示情報が
格納されている6例えば製造用の診断機能には数字“1
′、保守用の診断機能には数字“2”、その他には数字
“3”が格納されている。この各種機能指示情報は1機
能指示ファイル作成手段2によって行われる。これは、
一般には、プログラム管理者がデバフガ、エディタを用
いて行う。
This function instruction file 1-0 stores each function instruction information.
', the number "2" is stored in the diagnostic function for maintenance, and the number "3" is stored in the others. This various function instruction information is generated by the one function instruction file creation means 2. this is,
Generally, this is done by a program manager using a debuffer or editor.

ファイル情報検索手段3は、使用者がプログラム1を起
動させた場合に1機能指示ファイル1−〇を検索して機
能指示情報を読み出すものである。
The file information search means 3 searches for one function instruction file 1-0 and reads function instruction information when the user starts the program 1.

実行処理選択手段4は、ファイル情報検索手段3によっ
て読み出された機能I旨示情報に基づいて。
The execution process selection means 4 is based on the function I indication information read out by the file information search means 3.

実行プログラム+111−1ないし実行プログラム(n
)1−nのうち、いずれをどのような順序に実行するか
を選択して決定するものである。これにより2機能指示
ファイル1−0に予め格納してあった機能指示情報に対
応する機能を実行する実行プログラムが、決定されたこ
ととなる。
Execution program +111-1 or execution program (n
) 1 to n to select and determine which one to execute and in what order. This means that the execution program that executes the function corresponding to the function instruction information previously stored in the 2-function instruction file 1-0 has been determined.

実行処理手段5は、実行処理選択手段4によって選択・
決定された順序に実行プログラム(i)1−1を実行す
るものである。
The execution processing means 5 is selected by the execution processing selection means 4.
The execution program (i) 1-1 is executed in the determined order.

〔作用〕[Effect]

第1図に示す構成を採用し9機能指示情報例えば製造用
の診断機能、あるいは保守用の診断機能などを表す数字
を、1つのプログラム(診断プログラム)の例えば先頭
に設けた機能指示ファイル1−0中に、予め格納してお
(、そして、この1つのプログラムを起動させた場合、
第1に、ファイル情報検索手段3が機能指示ファイル1
−0を検索して機能指示情報を読み出す。第2に、この
機能指示情報に基づいて、実行処理選択手段4がいずれ
の実行プログラム+111− iをいずれの順序に実行
するかを決定する。第3に、実行処理手段5が決定され
た実行プログラム(111−iを順次実行する。
The configuration shown in FIG. 1 is adopted, and 9 function instruction information, for example, a number representing a diagnostic function for manufacturing or a diagnostic function for maintenance, is provided at the beginning of one program (diagnosis program). 0 (and if you start this one program,
First, the file information search means 3 uses the function instruction file 1
-0 is searched and the function instruction information is read. Second, based on this function instruction information, the execution process selection means 4 determines which execution program +111-i is to be executed in which order. Third, the execution processing means 5 sequentially executes the determined execution programs (111-i).

以上の手順によって、1つのプログラム(診断プログラ
ム)を使用目的に合致した最適な機能を保持するように
設定することができると共に、使用者に不必要な情報を
与えないようにすることができる。
By the above procedure, it is possible to set one program (diagnosis program) so that it maintains the optimum function that matches the purpose of use, and it is possible to avoid giving unnecessary information to the user.

〔実施例〕〔Example〕

第2図は本発明の全体構成図&示す0図中、6は入力部
、7は表示部、8は外部記憶部、9は内部記憶部、10
はCPU (中央処理装置)を表す。
Figure 2 is an overall configuration diagram of the present invention & in Figure 0, 6 is an input section, 7 is a display section, 8 is an external storage section, 9 is an internal storage section, 10
represents CPU (Central Processing Unit).

第2図において、入力部6は、キーボードなどであって
、情報、データを入力するものである。
In FIG. 2, the input unit 6 is a keyboard or the like, and is used to input information and data.

表示部7は、ディスプレイなどであって、情報を表示す
るものである。
The display unit 7 is a display or the like, and displays information.

外部記憶部8は、フロッピィディスク装置などの2次記
憶装置である。
The external storage unit 8 is a secondary storage device such as a floppy disk device.

内部記憶部9は、主記憶装置であって、RAM(ランダ
ムアクセスメモリ)などによって構成されたものである
。この内部記憶部9には、既述した機能指示ファイル1
−O9実行プログラム(1)1−1ないし実行プログラ
ム(n)1−n、および既述した各種手段を実行させる
手順を記述したプログラムが格納されている。
The internal storage unit 9 is a main storage device, and is composed of a RAM (random access memory) or the like. This internal storage unit 9 contains the function instruction file 1 described above.
-09 Execution program (1) 1-1 to execution program (n) 1-n and a program describing procedures for executing the various means described above are stored.

CPUl0は、各種処理を実行するものである。CPU10 executes various processes.

第3図は本発明の1実施例構成図を示す。図中6−1は
キーボード、7−1はCRT、11は入力情報記憶部、
12は制御部、13はファイル記憶部、14.15はバ
ッファメモリを表す、尚。
FIG. 3 shows a configuration diagram of one embodiment of the present invention. In the figure, 6-1 is a keyboard, 7-1 is a CRT, 11 is an input information storage unit,
Reference numeral 12 represents a control unit, 13 represents a file storage unit, and 14.15 represents a buffer memory.

図中2ないし5は第1図に示すものに夫々対応するもの
である。
In the figure, numerals 2 to 5 correspond to those shown in FIG. 1, respectively.

第3図において、キーボード6−1から入力された機能
指示情報などは、入力情報記憶部11中に一時的に保持
されると共に、CRT7−1上に表示される。このCR
T7−1上に機能指示ファイルを表示させて、所望の機
能指示情報を入力する。所望の81能指示情報の入力を
完了したならば。
In FIG. 3, function instruction information and the like input from the keyboard 6-1 are temporarily held in the input information storage section 11 and displayed on the CRT 7-1. This CR
Display the function instruction file on T7-1 and input desired function instruction information. Once you have completed inputting the desired 81 function instruction information.

この旨をキーボード6−1からキー人力する。これによ
り、Wi能指示ファイル作成手段2が、プログラムの例
えば先頭に所定の機能指示情報をファイルのB様で格納
する。
This information is entered manually from the keyboard 6-1. As a result, the Wi function instruction file creation means 2 stores predetermined function instruction information, for example at the beginning of the program, in file B.

次に、あるプログラム例えばフロッピィディスク装置の
診断プログラムを起動させた場合、ファイル記憶部13
例えばフロッピィディスクに格納されている機能指示フ
ァイルの全体を読み出して。
Next, when a certain program, for example a diagnostic program for a floppy disk device, is started, the file storage section 13
For example, read out the entire function instruction file stored on a floppy disk.

バッファメモリ14に格納する。ファイル情報検索手段
3は、このバッファメモリ14中から機能指示情報を検
索して読み出す、この読み出した機能指示情報は、実行
処理選択手段4に通知される。
The data is stored in the buffer memory 14. The file information search means 3 searches and reads function instruction information from this buffer memory 14, and the read function instruction information is notified to the execution process selection means 4.

一方、ファイル記憶部13から読み出されたプログラム
ファイルは、バッファメモリ15に格納すれる。そして
、実行処理選択手段4は9通知された機能指示情報に基
づいて、バッフ1メモリ15中に格納されている実行プ
ログラムf1+ 1−1ないし実行プログラムfnl 
1− n中から実行すべきプログラムの順序を決定する
。この実行すべきプログラムの順序の通知を受けた実行
処理手段5は、該当するプログラムを順次読み出して実
行する。これにより1例えば製造用の診断機能を達成す
る一連のプログラムが実行される。
On the other hand, the program file read from the file storage section 13 is stored in the buffer memory 15. Then, the execution process selection means 4 selects the execution program f1+ 1-1 to execution program fnl stored in the buffer 1 memory 15 based on the function instruction information notified by 9.
1-Determine the order of programs to be executed from n. The execution processing means 5, which has received the notification of the order of the programs to be executed, sequentially reads and executes the corresponding programs. This executes a series of programs that accomplish diagnostic functions, for example for manufacturing purposes.

第4図は本発明の詳細な説明するフローチャートを示す
0図中■は、プログラム作成者あるいは管理者は、実行
プログラムと別に、エディタ、デバッガ等を使用して、
実行する処理の選択を司る機能指示ファイルを作成する
状態を示す。
Fig. 4 shows a flowchart explaining the present invention in detail. In Fig.
This shows the state of creating a function instruction file that governs the selection of processing to be executed.

図中■は、実行させたい処理(4111能)のみを番号
として2機能指示ファイルに登録する状態を示す。これ
は、エディタ、デバッガを使用して簡単に行うことがで
きる。
In the figure, ■ indicates a state in which only the process (4111 function) to be executed is registered as a number in the 2-function instruction file. This can be easily done using an editor and debugger.

図中■は、プログラムの例えば先頭に配置した機能指示
ファイルを検索する処理を追加させる状態を示す。これ
は9本発明によって新たに機能指示ファイルをプログラ
ムの例えば先頭に設けたので、プログラムの起動時に必
ずこの機能指示ファイルを検索して一連の処理を実行す
るような手順を追加することを意味する。
In the figure, ■ indicates a state in which a process for searching for a function instruction file placed at the beginning of the program is added, for example. This means that because the present invention newly provides a function instruction file, for example at the beginning of the program, a procedure is added to always search for this function instruction file and execute a series of processes when the program is started. .

図中■は、プログラムを起動させる状態を示す。■ in the figure indicates a state in which the program is started.

図中■は、プログラムの先頭に配置した機能指示ファイ
ルの内容を読み、実行する処理を確認する状態を示す、
これは、ファイル情報検索手段3によって読み出された
機能指示情報に基づき、実行処理選択手段4が実行すべ
き実行プログラムの順序を確認することを意味する。
■ in the figure indicates a state in which the contents of the function instruction file placed at the beginning of the program are read and the process to be executed is confirmed.
This means that the execution process selection means 4 confirms the order of execution programs to be executed based on the function instruction information read by the file information search means 3.

図中■は、確認に基づいて、実行させたい処理のみを行
う状態を示す、これは、実行処理手段5が、実行処理選
択手段4によって決定された実行プログラムの順序に従
って処理を実行することを意味する。
In the figure, ■ indicates a state in which only the desired process is executed based on the confirmation. means.

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

以上説明したように9本発明によれば、1つのプログラ
ムの例えば先頭に機能指示ファイルを設け、管理者が予
めこの機能指示ファイル中に機能指示情報を書き込んで
おき、このプログラム例えば診断プログラムの使用に際
し2機能指示ファイル中に格納された機能指示に対応し
た機能を実行する実行プログラムのみを選択して実行さ
せているため、1つのプログラムであっても、使用目的
に合致した最適な機能を夫々個別的に設定することがで
きると共に1個別的に設定したことを使用者に意識させ
ることがない。
As explained above, according to the present invention, a function instruction file is provided, for example, at the beginning of one program, and the administrator writes function instruction information in this function instruction file in advance, and uses this program, for example, a diagnostic program. At this time, only the execution program that executes the function corresponding to the function instruction stored in the 2-function instruction file is selected and executed, so even if there is only one program, each program can be executed with the optimal function that matches the purpose of use. The settings can be made individually, and the user does not need to be aware that the settings have been made individually.

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

第1図は本発明の原理的構成図、第2図は本発明の全体
構成図、第3図は本発明の1実施例構成図、第4図は本
発明の詳細な説明するフローチャートを示す。 図中、lはプログラム、1−0は機能指示ファイル、1
−1ないしl−nは実行プログラム、2は機能指示ファ
イル作成手段、3はファイル悄幸り検索手段、4は実行
処理選択手段、5は実行処理手段を表す。 ≦9#50月の玲理臼り堪討版 猶1 凹 /¥光吐偽全4ト構成図 猶2図 く ト免朝の)製党1列1枦入 力3 図
FIG. 1 is a basic configuration diagram of the present invention, FIG. 2 is an overall configuration diagram of the present invention, FIG. 3 is a configuration diagram of one embodiment of the present invention, and FIG. 4 is a flowchart explaining the present invention in detail. . In the figure, l is the program, 1-0 is the function instruction file, 1
-1 to ln represent execution programs, 2 represents function instruction file creation means, 3 represents file pleasure search means, 4 represents execution processing selection means, and 5 represents execution processing means. ≦9#50 month's Reirisu trial edition 1 Concave/¥ light ejection fake all 4 tones composition diagram 2 diagrams Kutomencho's) party 1 column 1 input 3 diagram

Claims (1)

【特許請求の範囲】 複数の機能中から所定の機能を選択して実行し得るよう
構成したプログラム実行選択制御方式において、 所望の機能を選択する指示を予め格納する機能指示ファ
イルと、 システムの起動を契機として、機能指示ファイルに予め
格納しておいた機能指示を検索して読み出すファイル情
報検索手段と、 このファイル情報検索手段によつて読み出された機能指
示に対応する機能を実行させるプログラムを選択する実
行処理選択手段と、 この実行処理選択手段によつて選択されたプログラムを
実行させて、所望の処理を実行させる実行処理手段とを
備え、 この実行処理手段によつて所定の機能を実行し得るよう
構成したことを特徴とするプログラム実行選択制御方式
[Claims] A program execution selection control method configured to select and execute a predetermined function from among a plurality of functions, comprising: a function instruction file that stores in advance an instruction to select a desired function; and system startup. Taking this as an opportunity, a file information retrieval means for searching and reading function instructions stored in advance in a function instruction file, and a program for executing a function corresponding to the function instruction read by the file information retrieval means are provided. The apparatus includes an execution process selection means for selecting an execution process, and an execution process means for executing a program selected by the execution process selection means to execute a desired process, and executes a predetermined function by the execution process means. A program execution selection control method characterized by being configured to enable
JP60172070A 1985-08-05 1985-08-05 Program execution and selection control system Pending JPS6232546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60172070A JPS6232546A (en) 1985-08-05 1985-08-05 Program execution and selection control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60172070A JPS6232546A (en) 1985-08-05 1985-08-05 Program execution and selection control system

Publications (1)

Publication Number Publication Date
JPS6232546A true JPS6232546A (en) 1987-02-12

Family

ID=15934979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60172070A Pending JPS6232546A (en) 1985-08-05 1985-08-05 Program execution and selection control system

Country Status (1)

Country Link
JP (1) JPS6232546A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6476127A (en) * 1987-09-17 1989-03-22 Fujitsu Ltd Testing instrument for electronic computer main body
WO1991014223A1 (en) * 1990-03-06 1991-09-19 Omron Corporation Programming system and method, and programming device and terminals constituting the system
JPH04256034A (en) * 1990-08-20 1992-09-10 Internatl Business Mach Corp <Ibm> Computer system
KR101198299B1 (en) 2010-02-23 2012-11-07 김종은 The lead frame reformation equipment for a semiconductor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6476127A (en) * 1987-09-17 1989-03-22 Fujitsu Ltd Testing instrument for electronic computer main body
WO1991014223A1 (en) * 1990-03-06 1991-09-19 Omron Corporation Programming system and method, and programming device and terminals constituting the system
JPH04256034A (en) * 1990-08-20 1992-09-10 Internatl Business Mach Corp <Ibm> Computer system
KR101198299B1 (en) 2010-02-23 2012-11-07 김종은 The lead frame reformation equipment for a semiconductor

Similar Documents

Publication Publication Date Title
JP2689259B2 (en) Menu processing device
SE458321B (en) PROCEDURE IS TO CLEAR THEME IN INSTRUCTION SYSTEM
JPS6232546A (en) Program execution and selection control system
JPH096628A (en) Method and device for parallel processing procedure selection
JPH0679318B2 (en) Design evaluation device
JPH0962676A (en) Document preparation device and display control method
JPS60186960A (en) Key operation storage system
JPH06266541A (en) Version management method for product
JPS63182752A (en) System for supporting single unit test capable of preserving result
JP2685957B2 (en) Plant diagnostic equipment
JPH0436788A (en) Presentation device
JPH0736655A (en) Picture information processor
JPH07200659A (en) Arrangement designing support device
JPS63284639A (en) Retrieving device
JPH0756716A (en) Program processor
JPS62272363A (en) Document image electronic filing device
JPH01123369A (en) Presentation device
JPS6355630A (en) Editor for evolved screen of os macro
JPS62260226A (en) Command input method
JPH0520372A (en) Library change management device
JPS63221783A (en) Videotex picture display system
JPH04372017A (en) Computer testing system
Thompson Data editing
JPS62169236A (en) Information processor with queue control function
JPH04247532A (en) Test supporting system