JPH05307475A - Process control processing method - Google Patents

Process control processing method

Info

Publication number
JPH05307475A
JPH05307475A JP4112007A JP11200792A JPH05307475A JP H05307475 A JPH05307475 A JP H05307475A JP 4112007 A JP4112007 A JP 4112007A JP 11200792 A JP11200792 A JP 11200792A JP H05307475 A JPH05307475 A JP H05307475A
Authority
JP
Japan
Prior art keywords
code
process name
correspondence table
text file
registered
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
JP4112007A
Other languages
Japanese (ja)
Inventor
Katsuaki Miyayasu
克明 宮保
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP4112007A priority Critical patent/JPH05307475A/en
Publication of JPH05307475A publication Critical patent/JPH05307475A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the addition, the alteration, and the deletion of a process name by generating a code-process name correspondence table by reading in a code to be registered and the corresponding process name. CONSTITUTION:At the time of correcting the code-process name correspondence table on a text file 1-7, the contents of the text file 1-7 on an external storage device 1-6 are read out beforehand to a memory 1-5, and the code-process name correspondence table is displayed on a display 1-1, and the code-process name correspondence table is corrected while moving a cursor 2-1 by using a keyboard 1-2. Then, this corrected result is stored in the external storage device 1-6. By generating automatically the code-process name correspondence table by making beforehand the code to be registered and the process name corresponding to this code required for generating the code-process name correspndence table into a file in this way, and reading in this text file, process control is executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は,制御情報を含むコード
の情報とそれに対応するプロセス名とをあらかじめコン
ピュータに登録しておき,あるコードを他のコンピュー
タから受信することにより,当該コンピュータが当該コ
ードに対応したプロセスを実行するようにしたプロセス
制御処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention According to the present invention, information of a code including control information and a process name corresponding to the code are registered in a computer in advance, and a certain code is received from another computer so that the computer can execute the relevant operation. The present invention relates to a process control processing method for executing a process corresponding to a code.

【0002】[0002]

【従来の技術】従来,制御情報を含むコードの情報とそ
れに対応するプロセス名とをコンピュータに登録する場
合,当該登録のための専用のプログラムを走行させ,入
力したコードとプロセス名とをバイナリファイルとして
作成,保存するのが一般的であり,専用プログラムはコ
ンピュータの機種に依存するため,他の機種のコンピュ
ータでは当該登録されているコードとそれに対応するプ
ロセス名とを確認したり,変更したりすることが困難で
ある。
2. Description of the Related Art Conventionally, when registering code information including control information and a process name corresponding thereto, a dedicated program for the registration is run, and the input code and process name are stored in a binary file. It is common to create and save as, and the dedicated program depends on the computer model. Therefore, on other computer models, you can check or change the registered code and the corresponding process name. Difficult to do.

【0003】図5は従来の構成を示しており,コードと
対応するプロセス名の登録,表示のインタフェースとし
て,ディスプレイ1−1と,キーボード1−2と,印刷
のためのプリンタ1−3と,プロセス制御を実行するた
めの専用のプログラムが走行するCPU1−4と,コー
ドと対応するプロセス名をバイナリ形式で格納するコー
ド−プロセス名対応表を格納しておくメモリ1−5と,
コード−プロセス名対応表をバイナリファイルで保存す
る外部記憶装置1−6とを備えている。
FIG. 5 shows a conventional configuration. As an interface for registering and displaying a process name corresponding to a code, a display 1-1, a keyboard 1-2, a printer 1-3 for printing, A CPU 1-4 in which a dedicated program for executing process control runs, a memory 1-5 for storing a code-process name correspondence table that stores a process name corresponding to a code in binary format,
An external storage device 1-6 for storing the code-process name correspondence table in a binary file.

【0004】ディスプレイ1−1には,図6のようなコ
ードと対応するプロセス名の入力画面が表示され,入力
のためのカーソル2−1が存在する。図5において,キ
ーボード1−2により,カーソルを上下左右移動し,プ
ロセス名,コードを追加,変更,削除した後,当該対応
表をメモリ1−5のコード−プロセス名対応表に格納
し,外部記憶装置1−6にバイナリファイルとして保存
するというプロセス制御処理方法が用いられている。
An input screen for a process name corresponding to a code as shown in FIG. 6 is displayed on the display 1-1, and a cursor 2-1 for input is present. In FIG. 5, after moving the cursor up / down / left / right with the keyboard 1-2 to add, change, or delete the process name and code, the corresponding table is stored in the code-process name correspondence table of the memory 1-5, and externally stored. A process control processing method of saving as a binary file in the storage device 1-6 is used.

【0005】なお図6において,2−2はコード(16
進表示),2−3はプロセス名を表わしている。
In FIG. 6, 2-2 is a code (16
2) and 2-3 represent process names.

【0006】[0006]

【発明が解決しようとする課題】上述した従来のプロセ
ス制御処理方法では,制御情報を含むコード2−2と対
応するプロセス名2−3とを登録,確認する場合,上記
コンピュータ専用のプログラムを必要とするという問題
があった。
In the above-mentioned conventional process control processing method, when registering and confirming the code 2-2 including the control information and the corresponding process name 2-3, the above computer-dedicated program is required. There was a problem to say.

【0007】本発明は,上記に鑑みてなされたもので,
その目的とするところは,コードとそれに対応するコー
ドとの登録を専用のプログラムを必要とせずに一般のテ
キストエディタにより,実現可能とするところにある。
The present invention has been made in view of the above,
The purpose is to make it possible to register the code and the corresponding code with a general text editor without the need for a dedicated program.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め,本発明のプロセス制御処理方法は,プロセスの起動
に必要なコードとそれに対応するプロセス名とをテキス
トファイルに登録しておき,テキストファイルを読み込
むことにより,コード−プロセス名対応表を自動的に生
成することに特徴がある。
In order to achieve the above object, in the process control processing method of the present invention, a code necessary for starting a process and a process name corresponding thereto are registered in a text file, and the text file is registered. The feature is that a code-process name correspondence table is automatically generated by reading.

【0009】図1は本発明の原理構成図を示す。図中の
符号1−1はディスプレイ,1−2はキーボード,1−
4はCPU,1−5はメモリ,1−6は外部記憶装置,
1−7はテキストファイル,2−1はカーソルを表して
いる。
FIG. 1 is a block diagram showing the principle of the present invention. In the figure, reference numeral 1-1 is a display, 1-2 is a keyboard, 1-
4 is a CPU, 1-5 is a memory, 1-6 is an external storage device,
1-7 is a text file, and 2-1 is a cursor.

【0010】テキストファイル1−7上のコード−プロ
セス名対応表を修正するに当たっては,外部記憶装置1
−6上のテキストファイル1−7の内容をメモリ1−5
に読出しておき,ディスプレイ1−1にコード−プロセ
ス名対応表を表示し,キーボード1−2を用いてカーソ
ル2−1を移動させつつ当該コード−プロセス名対応表
を修正する。そして,その修正結果は,外部記憶装置1
−6に格納される。
In modifying the code-process name correspondence table in the text file 1-7, the external storage device 1 is used.
The contents of the text file 1-7 on -6 are stored in the memory 1-5.
The code-process name correspondence table is displayed on the display 1-1, and the code-process name correspondence table is corrected while moving the cursor 2-1 using the keyboard 1-2. Then, the correction result is stored in the external storage device 1.
Stored in -6.

【0011】本発明においては,コード−プロセス名対
応表の生成に必要な登録するコードと,それに対応する
プロセス名とをテキストファイル化しておき,このテキ
ストファイルを読み込むことにより,コード−プロセス
名対応表を自動的に生成し,プロセス制御を行う。
In the present invention, the code to be registered necessary for generating the code-process name correspondence table and the process name corresponding thereto are converted into a text file, and the text file is read, whereby the code-process name correspondence is obtained. A table is automatically generated and process control is performed.

【0012】[0012]

【作用】このようにテキストファイルから登録するコー
ドとそれに対応するプロセス名とを読み込み,コード−
プロセス名対応表を生成するため,テキストエディタを
使用することにより,コンピュータの機種に依存せずに
コード−プロセス名対応表の追加,変更,削除を簡単に
実現できる。またテキストファイルを使用しているた
め,テキストファイルの内容を表示するコマンドやテキ
ストエディタを使用することにより,コード−プロセス
名対応表を視覚的に確認することができる。
[Operation] In this way, the code to be registered and the process name corresponding to it are read from the text file, and the code −
By using a text editor to generate the process name correspondence table, you can easily add, change, or delete the code-process name correspondence table without depending on the computer model. Also, since a text file is used, the code-process name correspondence table can be visually confirmed by using a command that displays the contents of the text file or a text editor.

【0013】[0013]

【実施例】以下,本発明の実施例を,図面により詳細に
説明する。図2は,図6に示されたコード−プロセス名
対応表を本発明において登録する場合に作成するテキス
トファイルを示す図である。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 2 is a diagram showing a text file created when the code-process name correspondence table shown in FIG. 6 is registered in the present invention.

【0014】図2に示すようにテキストファイルの各行
には各プロセスに関する情報が存在し,プロセスのコー
ド(3−1),コードとプロセス名との区切り(3−
2),プロセス名(3−3),改行コード(3−4)で
構成されている。
As shown in FIG. 2, information about each process exists in each line of the text file, and the process code (3-1) and the code / process name delimiter (3-).
2), process name (3-3), and line feed code (3-4).

【0015】図3は,本発明の一実施例を示すプロセス
制御処理プログラムの動作フローチャートである。テキ
ストファイルオープン処理(4−1)では,図2のテキ
ストファイルをオープンしテキストファイルを読み込み
可能な状態とする。
FIG. 3 is an operation flowchart of a process control processing program showing an embodiment of the present invention. In the text file open process (4-1), the text file shown in FIG. 2 is opened so that the text file can be read.

【0016】テキストファイルから1行読み込む処理
(4−2)では,図2のテキストファイルから1行読み
込む。読み込んだ文字列の先頭から<;>の前の文字ま
でを16進数の数値に変換する処理(4−3)では,図
2のプロセスのコード(3−1)を16進数に変換し,
当該変換した数値をコード−プロセス名対応表のコード
としてセットする(4−4)。
In the process of reading one line from the text file (4-2), one line is read from the text file of FIG. In the process (4-3) of converting from the beginning of the read character string to the character before <;> into a hexadecimal number, the process code (3-1) of FIG. 2 is converted into a hexadecimal number,
The converted numerical value is set as the code of the code-process name correspondence table (4-4).

【0017】図2のコードとプロセス名との区切り(3
−2)の次の文字から改行コード(3−4)の前までの
文字列であるプロセス名(3−3)をコード−プロセス
名対応表のプロセス名としてセットする(4−5)。テ
キストファイルからすべて読み込んだかどうかチェック
する処理(4−6)では,図2のテキストファイルから
すべての行を読み込んだかどうかチェックし,まだすべ
て読み込んでいない場合,再度テキストファイルから次
の行を読み込む処理(4−2)を行う。
A delimiter (3) between the code and the process name in FIG.
The process name (3-3) which is a character string from the character next to -2) to before the line feed code (3-4) is set as the process name of the code-process name correspondence table (4-5). In the process (4-6) of checking whether all the lines have been read from the text file, it is checked whether all the lines have been read from the text file of Fig. 2, and if all the lines have not been read yet, the process of reading the next line from the text file again. Perform (4-2).

【0018】上記の処理を繰り返し,ファイルのすべて
の行を読み込んだ場合,次のテキストファイルクローズ
処理(4−7)により,図2のファイルをクローズす
る。図4はプロセス実行の場合の態様を示す。図中の符
号は図1に対応している。
When all the lines of the file have been read by repeating the above processing, the file of FIG. 2 is closed by the next text file closing processing (4-7). FIG. 4 shows an aspect in the case of process execution. Reference numerals in the figure correspond to those in FIG.

【0019】プロセス実行に当たっては,外部記憶装置
1−6上のコード−プロセス名対応表をメモリ1−5上
に読出した上で,指定されたコードに対応するプロセス
を実行するようにされる。
In executing the process, the code-process name correspondence table in the external storage device 1-6 is read out in the memory 1-5, and the process corresponding to the designated code is executed.

【0020】[0020]

【発明の効果】以上説明したように,本発明によれば,
テキストファイルから登録するコードと対応するプロセ
ス名の情報を読み込んで,コード−プロセス名対応表を
生成するので,専用のプログラムを必要とせずに一般の
テキストエディタにより,コンピュータの機種に依存せ
ずにコードと対応するプロセス名を追加,変更,削除が
簡単にできる。
As described above, according to the present invention,
The information of the code to be registered and the corresponding process name is read from the text file, and the code-process name correspondence table is generated. Therefore, a general text editor can be used without the need for a dedicated program, regardless of the computer model. You can easily add, change, or delete the code and the corresponding process name.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の原理構成図を示す。FIG. 1 shows a principle configuration diagram of the present invention.

【図2】図6に示されたコード−プロセス名対応表に登
録する場合に作成するテキストファイルを示す図であ
る。
FIG. 2 is a diagram showing a text file created when registering in the code-process name correspondence table shown in FIG.

【図3】本発明の一実施例を示すプロセス制御処理プロ
グラムの動作フローチャートである。
FIG. 3 is an operation flowchart of a process control processing program showing an embodiment of the present invention.

【図4】本発明の場合のプロセス実行の場合の態様を示
す。
FIG. 4 illustrates aspects of process execution for the present invention.

【図5】従来の構成図である。FIG. 5 is a conventional configuration diagram.

【図6】コードと対応するプロセス名の入力画面であ
る。
FIG. 6 is an input screen for a process name corresponding to a code.

【符号の説明】[Explanation of symbols]

1−1 ディスプレイ 1−2 キーボード 1−3 プリンタ 1−4 CPU 1−5 メモリ 1−6 外部記憶装置 2−1 カーソル 3−1 プロセスのコード 3−2 コードとプロセス名との区切り 3−3 プロセス名 3−4 改行コード 1-1 Display 1-2 Keyboard 1-3 Printer 1-4 CPU 1-5 Memory 1-6 External Storage Device 2-1 Cursor 3-1 Process Code 3-2 Separation between Code and Process Name 3-3 Process First name 3-4 Line feed code

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 制御情報を含むコードとそれに対応する
プロセス名とをあらかじめ登録しておき,他のコンピュ
ータから当該コンピュータが実行すべきプロセスに対応
するコードを送信すると,当該コンピュータは受信した
コードに対応するプロセスを実行するコンピュータシス
テムにおいて,あるコンピュータにおいて,登録するプ
ロセスのコードとそれに対応するプロセス名とをテキス
トファイルとして作成し保存し,当該コンピュータにお
いて,保存したテキストファイルによりプロセスを実行
することを特徴とするプロセス制御処理方法。
1. A code including control information and a process name corresponding thereto are registered in advance, and when a code corresponding to a process to be executed by the computer is transmitted from another computer, the computer receives the code. In a computer system that executes a corresponding process, a code of a process to be registered and a process name corresponding to the created process are created and saved as a text file on a computer, and the process is executed by the saved text file on the computer. Characterized process control processing method.
JP4112007A 1992-05-01 1992-05-01 Process control processing method Pending JPH05307475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4112007A JPH05307475A (en) 1992-05-01 1992-05-01 Process control processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4112007A JPH05307475A (en) 1992-05-01 1992-05-01 Process control processing method

Publications (1)

Publication Number Publication Date
JPH05307475A true JPH05307475A (en) 1993-11-19

Family

ID=14575634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4112007A Pending JPH05307475A (en) 1992-05-01 1992-05-01 Process control processing method

Country Status (1)

Country Link
JP (1) JPH05307475A (en)

Similar Documents

Publication Publication Date Title
JPH05307475A (en) Process control processing method
JPH10301933A (en) Document processor, its method and recording medium
JP2706558B2 (en) Ladder program editing method
JP3608864B2 (en) Typesetting method and apparatus
JPH05173844A (en) Coding error correcting system
JPH042961B2 (en)
JPH07191716A (en) Controller
JPH0210430A (en) Online program generating system
JPH04248624A (en) Program conversion processor
JPH06139054A (en) Process execution circumstance preparation processing method
JPH07200562A (en) Document format setting method
JPH06282420A (en) Process actuation control method
JPH07230307A (en) Program developing device for sequencer
JPH03147017A (en) Image processor
JPH04158469A (en) Document preparing device
JPH0216671A (en) Document preparation supporting device
JPS6218596A (en) Working area display system
JPH08212188A (en) Cause-result graph production device and sentence type sorting device
JPH0511989A (en) Parameter analyzing device
JPH04248662A (en) Processing method for controlling external character font
JPH05143306A (en) Method for forming instrumentation sequence control program
JPH0540612A (en) Computer prperty conversion processor
JPH01142837A (en) Test data forming system
JPH05242080A (en) Character processor
JPH02118853A (en) Program displaying system