JPH03296828A - Task starting system - Google Patents

Task starting system

Info

Publication number
JPH03296828A
JPH03296828A JP9974890A JP9974890A JPH03296828A JP H03296828 A JPH03296828 A JP H03296828A JP 9974890 A JP9974890 A JP 9974890A JP 9974890 A JP9974890 A JP 9974890A JP H03296828 A JPH03296828 A JP H03296828A
Authority
JP
Japan
Prior art keywords
variable
interface information
task
ifit
file
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
JP9974890A
Other languages
Japanese (ja)
Inventor
Hideaki Hashimoto
英明 橋本
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP9974890A priority Critical patent/JPH03296828A/en
Publication of JPH03296828A publication Critical patent/JPH03296828A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To start an optional task without correcting driver's coding by dynamically securing the area of an interface information table (IFIT) and setting up a value in a variable constituting the IFIT to form the IFIT. CONSTITUTION:A definition file 4 defines the table name of an IFIT 9 and the variable name of a variable constituting the IFIT 9. A table information registering means 1 registers the contents of the file 4 in a table control table 6 and a variable control table 7. A data file 5 stores the table name of the IFIT 9 and a value to be applied to the variable constituting the IFIT 9. A table forming means 2 forms the IFIT 9 based upon the file 5 and the tables 6, 7. A task starting means 3 transfers the IFIT 9 formed by the means 12 to a task 8 to start it. Thus, the optional task 8 can be started only by setting up an optional value in an optional position (variable) of the IFIT 9 and forming a single or plural IFITs 9.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はタスク起動方式に関し、特にドライバ(タスク
のテスト時、検査時等にタスクを起動するアブリケーシ
ッンプログラムをいう。以下同様)によるインタフェー
ス情報テーブルの生成を伴うタスク起動方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a task activation method, and particularly to a task activation method using a driver (an abduction program that activates a task during a task test, inspection, etc.; the same applies hereinafter). This invention relates to a task activation method that involves generation of an interface information table.

〔従来の技術〕[Conventional technology]

従来、ドライバは、タスクを起動するときに必要なイン
タフェース情報(以下、変数という)を格納するインタ
フェース情報テーブルを一定の大きさで必要個だけ固定
的に持っていた。すなわち、ドライバは、インタフェー
ス情報テーブルを構成する変数をドライバ内にコーディ
ングとしてあらかしめ記述していた。
Conventionally, a driver has had a fixed size interface information table that stores the necessary interface information (hereinafter referred to as variables) when starting a task. That is, the driver generally describes the variables that make up the interface information table as coding within the driver.

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

上述した従来のドライバは、インタフェース情報テーブ
ルを一定の大きさで必要個だけ固定的に持っていたので
、インタフェース情報テーブルを構成する変I3+(変
数名および値)の変更、インクフェース情報テーブルの
大きさの変更、インクフェース情報テーブルの追加等が
発生し、た場合にすくには対応できず、ドライバのコー
ディングの修正が必要になるという欠点がある。
The conventional driver described above has a fixed number of interface information tables of a certain size as required, so it is necessary to change the variables I3+ (variable names and values) that make up the interface information table, and change the size of the ink interface information table. This method has the disadvantage that it cannot be easily dealt with when changes in color, addition of an ink face information table, etc. occur, and the coding of the driver must be corrected.

また、このため、ドライバは、特定のタスクしか起動す
ることができず、任意のタスクを起動することはできな
いという欠点がある。
Furthermore, for this reason, the driver has the disadvantage that it can only start a specific task and cannot start any task.

本発明の目的は、上述の点にルみ、インタフ又ス情報テ
ーブルのエリアを動的ムこ確保しインタフェース情報テ
ーブルを構成する変数に値を設定してインタフェース情
報テーブルを生成することにより、t′シイハのコーデ
ィングを修正することなしj7こ任意のタスクを起動で
きるようにしたタスク8113式を提供ずぞ)こと4こ
ある。
In view of the above points, an object of the present invention is to dynamically reserve an area for an interface information table, set values to variables constituting the interface information table, and generate an interface information table. ``We provide a task 8113 formula that allows you to start any task without modifying the code of the code.'' There are four things.

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

本発明のタスク起動方式は、インタフェース情報テーブ
ルのテーブル名とインタフェース情報テブルを構成する
変数名とを定義する定義ファイル点、この定義ファイル
の内容をテーブル管理テーブルと変数管理テーブルとに
登録するテーブル情報登録手段と、インタフ5〜−ス情
報テーブルのテーブル名とインタフェース情報テーブル
を構成する変数に与える値とを格納するデータファイル
と、このデータファイルと前記テーブル管理テーブルお
よび前記変数管理テーブルとに基づいてインクフエ・−
ス情報テーブルを生成するテーブル生成手段と、このテ
ーブル生成手段により生成されたインクフェース情報テ
ーブルを渡してタスクを起動するタスク起動手段とを有
する。
The task activation method of the present invention includes a definition file point that defines the table name of the interface information table and the variable names constituting the interface information table, and table information that registers the contents of this definition file in the table management table and variable management table. a registration means, a data file for storing table names of interface information tables and values given to variables constituting the interface information table, and based on this data file, the table management table, and the variable management table; Ink hue -
The ink face information table is generated by the table generating means, and the task starting means is configured to pass the ink face information table generated by the table generating means and start a task.

〔作用〕[Effect]

本発明のタスク起動方式では、定義ファイルがインタフ
ェース情報テーブルのテーブル名とインタフェース情報
テーブルを構成する変数名とを定義(7、テーブル情報
登録手段が定義ファイルの内容をテーブル管理チー・プ
ルと変数管理テーブルとら一登録し、データファイルが
インクフェース情報テーブルのテーブル名とインタフェ
ース情報テーブルを構成する変数ムこ与える埴とを格納
j7、テーブル生成手段がデータファイルとテーブル管
理テブルおよび変数管理デープルとに基づいてインタフ
ェース情報テーブルを生成し、タスク起動手段がテーブ
ル生成手段乙こより生成されたインタフェース情報テー
ブルを渡してタスクを起動する。
In the task activation method of the present invention, the definition file defines the table name of the interface information table and the variable names constituting the interface information table (7. The table information registration means inputs the contents of the definition file to the table management team and the variable management The table is registered, the data file stores the table name of the ink face information table and the variables that make up the interface information table, and the table generation means is based on the data file, table management table, and variable management table. The task starting means passes the generated interface information table to the table generating means and starts the task.

[実施例〕 次に、本発明6二ついて凹面を参照して詳細に説明する
[Example] Next, the present invention will be described in detail with reference to two concave surfaces.

第1図は、本発明の一実施例に係るタスク起動方式の構
成を示ずブロック図である0本実施例のタスク起動方式
は、テーブル情報登録1段1と、テーブル生成手段2L
、タスク起動手段3と、定義ファイル4と、データファ
イル5と、テーブル管理テーブル6と、変数管理テーブ
ル7と、タスク8と、単数または複数のインタフェース
情報テブル9とから構成されている。なお、テーブル情
報登録手段1.テーブル生成手段2.タスク起動手段3
.テーブル管理テーブル6および変数管理テーブル7は
、ドライバ10に含まわている。
FIG. 1 is a block diagram that does not show the configuration of a task starting method according to an embodiment of the present invention.
, a task starting means 3, a definition file 4, a data file 5, a table management table 6, a variable management table 7, a task 8, and one or more interface information tables 9. Note that table information registration means 1. Table generation means 2. Task starting means 3
.. The table management table 6 and the variable management table 7 are included in the driver 10.

テーブル情報登録1段1は、定義ファイル4の内容をテ
ーブル管理テーブル6と変数管理テーブル7とに登録す
る手段である。
The table information registration stage 1 is means for registering the contents of the definition file 4 in the table management table 6 and the variable management table 7.

テーブル生成1段2は、データファイル5とテール管理
チーブル6および変数管理テーブル7とLこ基づいて単
数または複数のインタフェース情報テーブル9を生成す
る手段である。
The table generation stage 2 is means for generating one or more interface information tables 9 based on the data file 5, the tail management table 6, and the variable management table 7.

タスク起動手段3は、テーブル生成手段2により生成さ
れた重数または複数のインタフェース情報テーブル9を
渡してタスク8を起動する手段である。
The task starting means 3 is means for starting the task 8 by passing the multiple or plural interface information tables 9 generated by the table generating means 2.

定義ファイル4は、起動すべきタスクBが使用する単数
または複数のインタフェース情報テーブル9のテーブル
名と各インタフェース情報テーブル9を構成する変数名
とを定義したファイルである。
The definition file 4 is a file that defines the table names of one or more interface information tables 9 used by the task B to be activated and the variable names forming each interface information table 9.

データファイル5は、起動すべきタスク8が使用する揃
数または複数のインタフェース情報テブル9のテーブル
名と名インタフェース情報テーブル9を構成する変数に
与える値とを格納するファイルである。
The data file 5 is a file that stores the table names of a set or plurality of interface information tables 9 used by the task 8 to be activated and the values given to the variables forming the interface information table 9.

第2図を参照すると、テーブル管理テーブル6は、イン
タフェース情報テーブル9のテーブル名。
Referring to FIG. 2, the table management table 6 is the table name of the interface information table 9.

サイズおよびポインタからなる複数のエントリで構成さ
れている。なお、ポインタは、インタフェース情報テー
ブル9を構成する先頭の変数の、変数管理テーブル7で
の管理アドレスを指すポインタである。
Consists of multiple entries consisting of sizes and pointers. Note that the pointer is a pointer that points to the management address in the variable management table 7 of the first variable configuring the interface information table 9.

同じく、第2図を参照すると、変数管理テーブル7は、
変数の変数名、サイズおよびオフセットからなる複数の
エントリで構成されている。なお、オフセントは、変数
のインタフェース情報テーブル9での先頭アドレスから
の変位を表す。
Similarly, referring to FIG. 2, the variable management table 7 is as follows:
It consists of multiple entries consisting of the variable name, size, and offset of the variable. Note that the offset represents the displacement of a variable from the first address in the interface information table 9.

第3図を参照すると、本実施例のタスク起動方式の処理
は、定義ファイル入力判定ステップ31と、テーブル名
登録ステップ32と、変数名登録ステップ33と、サイ
ズおよびポインタセントステップ34と、登録完了判定
ステップ35と、データファイル入力判定ステップ36
と、インタフェース情報テーブルエリア確保ステップ3
7と、インタフェース情報テーブルへの値セットステッ
プ38と、インタフェース情報テーブル性成完了判定ス
テップ39と、タスク起動ステップ40とからなる。
Referring to FIG. 3, the processing of the task activation method of this embodiment includes a definition file input determination step 31, a table name registration step 32, a variable name registration step 33, a size and pointer cent step 34, and a registration completion step. Judgment step 35 and data file input judgment step 36
and secure the interface information table area Step 3
7, a value setting step 38 for the interface information table, a step 39 for determining completion of the interface information table, and a task starting step 40.

次に、このように構成された本実施例のタスク起動方式
の動作について説明する。
Next, the operation of the task activation method of this embodiment configured as described above will be explained.

まず、ドライバ10は、入力ファイルが定義ファイル4
であるかどうかを判定しくステップ31)、定義ファイ
ル4でなければステップ36に制御を移し、定義ファイ
ル4であると判定されたときにはテーブル情報登録手段
1を起動する。
First, the driver 10 assumes that the input file is the definition file 4.
If it is not the definition file 4, control is transferred to step 36, and if it is determined that the definition file is the definition file 4, the table information registration means 1 is activated.

テーブル情報登録手段1は、定義ファイル4から起動す
べきタスク8が使用するインタフェース情報テーブル9
のテーブル名を入力してテーブル管理テーブル6に登録
しくステップ32)、同じく定義ファイル4から起動す
べきタスク8が使用するインタフェース情報テーブル9
の変数名、サイズおよびオフセットを入力して変数管理
テーブル7に登録する(ステップ33)。次に、テーブ
ル情報登録手段1は、インタフェース情報テーブル9の
サイズおよび変数管理テーブル7へのポインタをテーブ
ル管理テーブル6にセントしくステップ34)、起動す
べきタスク8が使用するインタフェース情報テーブル9
についてのテーブル名および変数名のテーブル管理テー
ブル6および変数管理テーブル7への登録が完了したか
どうかを判定する(ステップ35)、起動すべきタスク
8が使用するインタフェース情報テーブル9についての
テーブル名および変数名のテーブル管理テーブル6およ
び変数管理テーブル7への登録が完了していなければ、
テーブル情報登録手段1は、ステップ32に制御を戻し
ステップ32〜35を繰り返すことによって起動すべき
タスク8が使用する個数分のインタフェース情報テーブ
ル9についてのテーブル名および変数名のテーブル管理
テーブル6および変数管理テーブル7への登録を行い、
完了していればステップ31に制御を戻す。
The table information registration means 1 stores an interface information table 9 used by the task 8 to be started from the definition file 4.
Enter the table name and register it in the table management table 6 (Step 32), and create the interface information table 9 used by the task 8 that should also be started from the definition file 4.
The variable name, size and offset are input and registered in the variable management table 7 (step 33). Next, the table information registration means 1 stores the size of the interface information table 9 and the pointer to the variable management table 7 in the table management table 6 (step 34), and stores the interface information table 9 used by the task 8 to be activated.
Determine whether the registration of table names and variable names for the table management table 6 and variable management table 7 has been completed (step 35). If the registration of variable names to table management table 6 and variable management table 7 is not completed,
The table information registration means 1 returns the control to step 32 and repeats steps 32 to 35 to register the table management table 6 and variables of table names and variable names for the interface information tables 9 used by the task 8 to be activated. Register in management table 7,
If completed, control returns to step 31.

次に、ドライバ10は、入力ファイルがデータファイル
5であるかどうかを判定しくステップ36)、データフ
ァイル5でなければステップ31に制御を戻し、データ
ファイル5であればテーブル生成手段2を起動する。
Next, the driver 10 determines whether the input file is the data file 5 (step 36), returns control to step 31 if the input file is not the data file 5, and starts the table generation means 2 if the data file is 5. .

テーブル生成手段2は、データファイル5からテーブル
名を入力して、該当するテーブル名を有するエントリを
テーブル管理テーブル6から見つけ出し、対応するサイ
ズでインタフェース情報テーブル9のエリア(実メモリ
)を確保する(ステップ37)。次に、テーブル生成手
段2は、データファイル5から変数に与える値を入力し
、変数管理テーブル7の変数名、サイズおよびオフセン
トを参照して確保したインタフェース情報テーブル9の
エリア内の位置(変数)に値をセントする(ステップ3
8)、すなわち、ステップ37でインタフェース情報テ
ーブル9のエリアを確保したときの先頭アドレスと変数
管理テーブル7における変数のインタフェース情報テー
ブル9の先頭からのオフセットおよびサイズとに基づい
て、インタフェース情報テーブル9の任意の位置(変数
)に任意の値をセントする。次に、テーブル生成手段2
は、インタフェース情報テーブル9の生成が完了したか
どうかチエツクしくステップ39)、完了していない場
合には、ステップ37に制御を戻し、ステップ37−3
9を繰り返すことによって起動すべきタスク8が使用す
る単数または複数のインタフェース情報テーブル9を生
成する。
The table generation means 2 inputs a table name from the data file 5, finds an entry with the corresponding table name from the table management table 6, and secures an area (real memory) of the interface information table 9 with a corresponding size ( Step 37). Next, the table generation means 2 inputs the value given to the variable from the data file 5, and refers to the variable name, size, and offset of the variable management table 7 to determine the position (variable) in the area of the interface information table 9 secured. (Step 3)
8), that is, based on the start address when the area of the interface information table 9 was secured in step 37 and the offset from the start of the interface information table 9 of the variable in the variable management table 7 and the size, Cent any value at any position (variable). Next, table generation means 2
Step 39) checks whether the generation of the interface information table 9 is completed, and if it is not completed, returns control to step 37 and executes step 37-3.
By repeating step 9, one or more interface information tables 9 used by the task 8 to be activated are generated.

ステップ39で起動すべきタスク8が使用する単数また
は複数のインクフェース情報テーブル9の生成が完了し
たならば、タスク起動手段3は、生成された僧数または
複数のインタフェース情報テーブル9をインタフェース
情報として渡して起動すべきタスク8を起動する(ステ
ップ40)。
When the generation of one or more ink interface information tables 9 used by the task 8 to be activated in step 39 is completed, the task activation means 3 uses the generated monk number or multiple interface information tables 9 as interface information. Task 8 to be passed and activated is activated (step 40).

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

以上説明したようtこ本発明は、テーブル情報登録手段
、テーブル生成手段およびタスク起動手段を設け、定義
ファイルからインタフェース情報テーブルのテーブル名
およびインタフェース情報テーブルを構成する変数の情
報をテ・−プル管理テーブルおよび変数管理テーブル乙
こ登録しデータファイルからの値をインクフェース情報
テーブルの変数にセフ1〜するようにしたことtこより
、ドライバのコーディングを修正することなしに、イン
クフェース情報テーブルのエリアを動的乙こ確保1−、
インタフェース情報テーブルの任意の位1(変数)に任
意の値を設定し、単数または複数のインタフェース情報
テーブルを生成することによって任意のタスクを起動す
ることができるという効果がある。
As explained above, the present invention provides a table information registration means, a table generation means, and a task activation means, and performs table management of the table name of the interface information table and the information of the variables constituting the interface information table from the definition file. The table and variable management table is now registered and the values from the data file are stored in the variables of the ink face information table.Thus, it is possible to change the area of the ink face information table without modifying the driver coding. Securing dynamic space 1-,
An advantage is that an arbitrary task can be activated by setting an arbitrary value to an arbitrary digit (variable) of the interface information table and generating one or more interface information tables.

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

第1図は本発明の一実族例乙に係るタスク起動方式の構
成を示すブii:l 、、り図、第2図は第1図中のテ
ーブル管理テーブルおよび変数管理テーブルを示す図、 第3図は本実施例のタスク起動方式の処理を示す流れ図
である。 図において、 1・・・チー−プル情報登録手段、 2・・・テーブル性成手段、 3・・・タスク起動手段 4・・・定義ファイル、 5・・・データファイル、 6・・・テーブル管理テーブル、 7・・・変数管理テーブル、 8・・・タスク、 9・・・イニ/り゛フェース情報テーフ゛ル、10・・
ドライバである。 第1図
FIG. 1 is a diagram showing the configuration of a task activation method according to example B of the present invention, and FIG. 2 is a diagram showing the table management table and variable management table in FIG. 1. FIG. 3 is a flowchart showing the processing of the task activation method of this embodiment. In the figure, 1... Team information registration means, 2... Table property creation means, 3... Task starting means 4... Definition file, 5... Data file, 6... Table management Table, 7... Variable management table, 8... Task, 9... Initial/reface information table, 10...
It's a driver. Figure 1

Claims (1)

【特許請求の範囲】 インタフェース情報テーブルのテーブル名とインタフェ
ース情報テーブルを構成する変数名とを定義する定義フ
ァイルと、 この定義ファイルの内容をテーブル管理テーブルと変数
管理テーブルとに登録するテーブル情報登録手段と、 インタフェース情報テーブルのテーブル名とインタフェ
ース情報テーブルを構成する変数に与える値とを格納す
るデータファイルと、 このデータファイルと前記テーブル管理テーブルおよび
前記変数管理テーブルとに基づいてインタフェース情報
テーブルを生成するテーブル生成手段と、 このテーブル生成手段により生成されたインタフェース
情報テーブルを渡してタスクを起動するタスク起動手段
と を有することを特徴とするタスク起動方式。
[Scope of Claims] A definition file that defines the table name of an interface information table and variable names that constitute the interface information table, and table information registration means that registers the contents of this definition file in a table management table and a variable management table. a data file that stores the table name of the interface information table and values to be given to variables configuring the interface information table; and generating an interface information table based on this data file, the table management table, and the variable management table. A task activation method comprising: table generation means; and task activation means for passing an interface information table generated by the table generation means and activating a task.
JP9974890A 1990-04-16 1990-04-16 Task starting system Pending JPH03296828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9974890A JPH03296828A (en) 1990-04-16 1990-04-16 Task starting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9974890A JPH03296828A (en) 1990-04-16 1990-04-16 Task starting system

Publications (1)

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

Family

ID=14255620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9974890A Pending JPH03296828A (en) 1990-04-16 1990-04-16 Task starting system

Country Status (1)

Country Link
JP (1) JPH03296828A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107015733A (en) * 2015-10-23 2017-08-04 富士通株式会社 System and method is presented in option information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107015733A (en) * 2015-10-23 2017-08-04 富士通株式会社 System and method is presented in option information
CN107015733B (en) * 2015-10-23 2020-06-23 富士通株式会社 Option information presentation system and method

Similar Documents

Publication Publication Date Title
JPH03296828A (en) Task starting system
JP3683598B2 (en) Data-driven information processing device
JPH0462640A (en) Data processor
JP2558701B2 (en) Data transfer device
JPS6378265A (en) Process controlling system
JPH04138575A (en) Device for repreparing finite element data
JPH0458334A (en) Message output selection system
JPH02114329A (en) Terminal software path execution system
JPS62237520A (en) Printer control device
JPH01255930A (en) Patch adapting system
JPH0378831A (en) System generating system
JPS63128430A (en) Data file storage device
JPH01205235A (en) Sequential task control system
JPS6368945A (en) Double registering system for file
JPH02270026A (en) Batch updating system for plural versions
JPH03266023A (en) Dynamic coupling system for variable
JPH04130923A (en) Electronic computer system generation system
JPS5942699A (en) One-chip microcomputer
JPH0231208A (en) Programming unit
JPH07152604A (en) Device and method for debugging
JPS62242235A (en) Checking system for function adaptability
JPH04117523A (en) Program editing device
JPH0371223A (en) Printing controller
JPH0476732A (en) Execution priority control system for transaction
JPH0736751A (en) Relational data base system