JPS6249441A - Information processing system - Google Patents

Information processing system

Info

Publication number
JPS6249441A
JPS6249441A JP18839585A JP18839585A JPS6249441A JP S6249441 A JPS6249441 A JP S6249441A JP 18839585 A JP18839585 A JP 18839585A JP 18839585 A JP18839585 A JP 18839585A JP S6249441 A JPS6249441 A JP S6249441A
Authority
JP
Japan
Prior art keywords
processing
error
instruction
sub
execution means
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
JP18839585A
Other languages
Japanese (ja)
Inventor
Shinji Tsuchida
真二 土田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP18839585A priority Critical patent/JPS6249441A/en
Publication of JPS6249441A publication Critical patent/JPS6249441A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 E産業上の利用分野] 本発明は情報処理方式に関し、特に処理内容と処理の流
れを容易に規定(プロラグラム)できるようにした情報
処理方式に関するものである。
[Detailed Description of the Invention] E-Industrial Application Field] The present invention relates to an information processing system, and particularly to an information processing system in which processing contents and processing flow can be easily specified (programmed).

し開示の概要] 未明m書及び図面は、特に処理内容と処理の流れを容易
に規定(プロラグラム)できるようにした情報処理方式
において、定数の形で処理内容及び処理の流れを規定し
ている処理テーブルと、前記処理内容に従って処理を実
行する処理実行手段と、前記処理の流れに従って前記処
理実行手段に処理をさせる処理制御手段を備え、処理内
容と処理の流れを規定するだけで各種の処理又は制御が
得られる情報処理方式の技術を開示するものである。
[Summary of Disclosure] The M-book and the drawings specify the processing content and flow of processing in the form of constants, especially in an information processing system that allows the processing content and flow of processing to be easily defined (programmed). It is equipped with a processing table, a processing execution means for executing processing according to the processing contents, and a processing control means for causing the processing execution means to perform processing according to the processing flow, and can perform various processing simply by specifying the processing contents and the processing flow. The present invention discloses an information processing technique that enables control.

[従来の技術J いわゆるインタプリタ形式以外のソフトウェアではソー
スプログラムの作成、コンパイル(アセンブル)、リン
ク、実行形式モジュール作成及び実行の手順を踏まなけ
ればならない。従って、例えばデバッグ時にバグを発見
するとソースプログラムの修正をして前記同一手順を初
めから行うか、又はパンチエリア等を使用して機械語で
修正(パッチ)をしなくてはならなす、デバッグに多く
の時間を要していた。しかも機械語によるパッチはプロ
グラム完成後はよいがデバッグ中は間違発生のもとであ
り、相当に手間る。
[Prior Art J] For software other than so-called interpreted software, it is necessary to follow the steps of creating a source program, compiling (assembling), linking, creating an executable module, and executing it. Therefore, for example, if a bug is found during debugging, the source program must be modified and the same procedure described above must be repeated from the beginning, or the modification (patch) must be made in machine language using a punch area, etc. It took a lot of time. Moreover, patching in machine language is good after the program is completed, but it can lead to errors during debugging and is quite time-consuming.

一方、従来のインタプリタ形式のソフトウェアでは処理
単位が小さいので処理全体としてオーバヘッドの占める
割合が多くなり、高速処理又は高速制御が望めないとい
う欠点を有していた。
On the other hand, in conventional interpreter-type software, since the processing unit is small, the overhead occupies a large proportion of the entire processing, and it has the disadvantage that high-speed processing or high-speed control cannot be expected.

L発明が解決しようとする問題点ノ 本発明はプロクラム作成と修正が容易であり、しかも高
速処理又は高速制御を実現できる情報処理方式を提供せ
んとするものである。
L Problems to be Solved by the Invention The present invention aims to provide an information processing system that allows easy program creation and modification, and that can realize high-speed processing or high-speed control.

L問題点を解決するための手段] この問題を解決する一手段として、例えば第1図に示す
実施例の情報処理装置は、各命令テーブル1〜mの中に
処理内容と処理の流れを規定している処理テーブル1と
、前記各命令テーブルに規定の処理の大きさで且つ好ま
しくは機械語のレベルで処理の規定されたサブ処理1〜
nを実行する処理実行手段2と、前記命令テーブル内に
規定される処理の流れに従って前記°処理実行手段2に
処理をさせる処理制御手段3を備える。
Means for Solving Problem L] As a means for solving this problem, for example, the information processing apparatus of the embodiment shown in FIG. processing table 1, and sub-processes 1 to 1 in which processing is defined in the processing size specified in each instruction table and preferably at the machine language level.
The process execution means 2 includes a process execution means 2 for executing the process execution means 2, and a process control means 3 for causing the process execution means 2 to perform the process according to the process flow defined in the instruction table.

[作用」 かかる第1図の構成において、処理制御手段3は先ず命
令テーブル1の処理命令をフェッチする。そして、その
内容が例えばサブ処理番号2ならばライン100.10
2を介して処理実行手段2に必要な処理パラメータを与
え、当該サブ処理2の実行に移行する。次に、処理実行
手段2はサブ処理2が実行終了することにより必要なら
ライン103.101を介して当該サブ処理に係るステ
ータス情報を送り、処理制御手段3に制御を戻す。処理
ル]御手段3は前記ステータス情報を基にサブ処理2の
実行中に生じたエラー等を判断し、必要な措置を講した
後、命令テーブル1に規定されている処理の流れに従い
、例えば命令テーブル2の処理命令をフェッチする。
[Operation] In the configuration shown in FIG. 1, the processing control means 3 first fetches processing instructions from the instruction table 1. If the content is, for example, sub-processing number 2, line 100.10
2, the necessary processing parameters are given to the processing execution means 2, and the execution of the sub-processing 2 is started. Next, upon completion of execution of the sub-process 2, the processing execution means 2 sends status information regarding the sub-process via lines 103 and 101, if necessary, and returns control to the processing control means 3. Processing] The control means 3 determines the error etc. that occurred during the execution of the sub-processing 2 based on the status information, and after taking necessary measures, the control means 3 executes, for example, according to the processing flow specified in the instruction table 1. Fetch the processing instructions in instruction table 2.

[実施例J 以下、添付図面に従って本発明の実施例を詳細に説明す
る。
[Embodiment J] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明に係る実施例の情報処理装置のブロック
構成図である。図において、lは定数の形で処理内容及
び処理の流れ等を規定した複数の命令テーブル1〜mを
有する処理テーブル、2は、例えば命令テーブルi内の
処理命令(例えば番号1〜n)により選択され、命令テ
ーブルi内の処理パラメータに従い、かつ必要なら前記
処理パラメータで指足される処理データについて、予め
規定されている処理を実行するサブ処理1〜n、を有す
る処理実行手段、3は命令テーブルi内のNEXTアド
レスポインタが指す情報に従って次の命令テーブルkを
フェッチし、処理実行手段2に実行させる処理制御手段
、4は処理の進行に支障のあるエラーが生じた場合に所
定のエラー処理を実行するエラー処理手段、5は例えば
本実施例装置の制御対象であるデータ入出力装置である
FIG. 1 is a block diagram of an information processing apparatus according to an embodiment of the present invention. In the figure, l is a processing table having a plurality of instruction tables 1 to m that define processing contents and processing flows in the form of constants, and 2 is a processing table that includes processing instructions (for example, numbers 1 to n) in instruction table i, for example. Process execution means 3 includes sub-processes 1 to n for executing predefined processes on the selected processing data according to the processing parameters in the instruction table i and, if necessary, specified by the processing parameters; A processing control means fetches the next instruction table k according to the information pointed to by the NEXT address pointer in the instruction table i and causes the processing execution means 2 to execute it; 4 is a predetermined error control means when an error that hinders the progress of the processing occurs; The error processing means 5 that executes the process is, for example, a data input/output device that is controlled by the apparatus of this embodiment.

ここにおいて、命令テーブル1〜mの数mはサブ処理1
〜nの数nとの関係においてman又はm < nの場
合がある。即ち、manのときは複数の命令テーブルが
パラメータを変えて同一サブ処。
Here, the number m of instruction tables 1 to m is subprocess 1
There are cases where the relationship between ~n and the number n is man or m < n. That is, in the case of man, multiple instruction tables perform the same sub-processing with different parameters.

理を使用する場合であり、m<nのときは使用されない
サブ処理がある場合を示す。
When m<n, there is a sub-process that is not used.

第2図は命令テーブルの構造を示す図である。FIG. 2 is a diagram showing the structure of the instruction table.

図において、21は当該命令テーブルの実行後、次に実
行すべき命令テーブルのアドレスを指すNEXTテーブ
ルアドレスポインタであり、この内容が0のときは処理
終了を意味する。22は処理命令であり、サブ処理番号
1〜nに合せ便宜的に1〜nの番号で表わされる。この
命令には処理実行手段2内のサブ処理1〜nが対応して
いるが、例えばユーザは処理番号pを定義し、そのサブ
処理pを処理実行手段内2に追加することが可能である
。23は処理パラメータに関する情報を保持しており、
例えば制御対象である周辺機器の機器アドレス及び制御
仕様等を保持している。24は処理データに関する情報
を保持しており1例えば入力データの開始アドレス、デ
ータ長、出力データの格納アドレス等の情報を保持して
いる。25は終了ステータスを保持するエリアで、当該
処理の結果のステータス情報を保持している。26はエ
ラー処理アドレスであり、例えば処理の続行を不可能と
するようなエラーに対処するためのエラー ゛処理アド
レスを格納している。27はその他の情報が格納される
エリアである。
In the figure, numeral 21 is a NEXT table address pointer that points to the address of the next instruction table to be executed after the execution of the relevant instruction table, and when the content is 0, it means the end of processing. 22 is a processing command, which is conveniently represented by numbers 1 to n in accordance with the sub-processing numbers 1 to n. This command corresponds to sub-processes 1 to n in the process execution means 2, but for example, the user can define a process number p and add that sub-process p to the process execution means 2. . 23 holds information regarding processing parameters;
For example, it holds device addresses and control specifications of peripheral devices to be controlled. Reference numeral 24 holds information regarding processing data, such as the start address of input data, data length, and storage address of output data. Reference numeral 25 denotes an area for holding an end status, which holds status information about the result of the process. 26 is an error processing address, which stores an error processing address for dealing with an error that makes it impossible to continue processing, for example. 27 is an area where other information is stored.

第1図において、最初の命令テーブルのアドレスqが与
えられることにより処理制御手段3の動作が開始される
。ステップSlでは命令テーブルqから処理命令iをフ
ェッチする。ステップS2では処理命令iを実行するた
めサブ処理iを実行する。ステップS3ではサブ処理i
の実行結果のエラー有無を判別する。エラーでなければ
ステップS6で命令テーブルの終了ステータス25に正
常終了コードをセットする。またエラーのときはステッ
プS4で命令テーブルのエラー処理アドレス26を調べ
る。エラー処理アドレスがOでないときはその時点でエ
ラー処理すべきことを意味する。処理はエラー処理手段
4に移るためステップS9のエラー処理アドレスにジャ
ンプする。またエラー処理アドレスがOのときはエラー
ステータスコードを記録するだけでよいことを意味する
In FIG. 1, the operation of the processing control means 3 is started by being given the address q of the first instruction table. In step Sl, processing instruction i is fetched from instruction table q. In step S2, sub-processing i is executed to execute processing instruction i. In step S3, sub-process i
Determine whether there is an error in the execution result. If there is no error, a normal completion code is set in the completion status 25 of the instruction table in step S6. If an error occurs, the error processing address 26 of the instruction table is checked in step S4. If the error processing address is not O, it means that the error should be processed at that point. Since the process moves to the error processing means 4, it jumps to the error processing address in step S9. Furthermore, when the error processing address is O, it means that it is sufficient to simply record the error status code.

フローはステップS5に進み、終了ステータスエリア2
5にエラー経了コードをセットする。ステップS7では
当該命令テーブルからNEXTテーブルアドレスポイン
タ21の内容をフェッチする。ステップS8ではその内
容がOか否かを判別する。
The flow advances to step S5, where the end status area 2
Set the error completion code to 5. In step S7, the contents of the NEXT table address pointer 21 are fetched from the instruction table. In step S8, it is determined whether the content is O or not.

Oのときは次の命令テーブルがないことを示し、処理を
終rする。またOでないときはステップS1に戻り、次
の命令テーブルの処理命令をフェッチする。
When it is O, it indicates that there is no next instruction table, and the process ends. If it is not O, the process returns to step S1 and the processing instruction of the next instruction table is fetched.

第3図は実施例の印刷処理及び制御の流れを示す説明図
である。図において、ステップ5100では処理命令i
を実行する。例えばデータをプリントフォーマットに編
集して所定量カニリアにセットする命令である。処理制
御手段3はこの処理のために処理実行手段2のサブ処理
iをコールする。処理実行手段3は命令テーブル中の処
理パラメータ23及び処理データに関する情報24に従
ってデータ編集処理を実行する。処理が修了するとサブ
処理iからリターンする。処理制御手段33はステップ
5101で処理ステータスを処理し、ステップ5102
で次の処理命令jを実行する。例えば編集結果をプリン
タに出力する処理である。処理制御手段3はサブ処理j
をコールし。
FIG. 3 is an explanatory diagram showing the flow of print processing and control in the embodiment. In the figure, in step 5100, processing instruction i
Execute. For example, it is a command to edit data into a print format and set it in a predetermined amount. The processing control means 3 calls sub-processing i of the processing execution means 2 for this processing. The processing execution means 3 executes data editing processing according to the processing parameters 23 and information 24 regarding processing data in the command table. When the processing is completed, the process returns from sub-processing i. The processing control means 33 processes the processing status in step 5101, and in step 5102
executes the next processing instruction j. For example, this is a process of outputting the editing results to a printer. The processing control means 3 performs sub-processing j
call.

処理実行手段2はライン104を介してプリント修了タ
をプリンタ6に出力し、ライン105を介してプリンタ
ステータスを受は取る。プリント修了するとサブ処理j
からリターンし、処理制御手段2はステップ5103で
処理ステータスを書込む。ステップ5104では処理命
令kを実行する。例えば、正常プリントか否かを調べる
処理である。一般に入出力機器のエラー処理は複雑であ
るからこのような目的の命令テーブルが用意される場合
がある。処理実行手段2がサブ処理kを実行してプリン
ト処理に回復不能なエラーがあったことを検出した場合
にはサブ処理kからリターンの後、ステップ5106で
エラー処理手段4に制御を浬す。命令テーブルのエラー
処理アドレス26の内容がOでない場合である。また、
一連の命令テーブルが正常修了するとステップ5107
の実行修了戻りに移行し、例えばO8に処理を戻す。
The processing execution means 2 outputs the print completion data to the printer 6 via line 104 and receives the printer status via line 105. When printing is completed, sub-processing
The process returns from step 5103, and the process control means 2 writes the process status in step 5103. In step 5104, processing instruction k is executed. For example, this is a process of checking whether printing is normal or not. Generally, error handling for input/output devices is complicated, so an instruction table for this purpose is sometimes prepared. If the processing execution means 2 executes the sub-processing k and detects that there is an unrecoverable error in the print processing, after returning from the sub-processing k, control is given to the error processing means 4 in step 5106. This is a case where the contents of the error processing address 26 of the instruction table are not O. Also,
Step 5107 when the series of instruction tables is completed normally
The process moves to execution completion return, and the process returns to O8, for example.

し発明の効果j 以E述べた如く本発明によればユーザは簡単な処理テー
ブルを作成するだけで目的の業務が遂行でき、手間がか
からない。また処理テーブルは構造が簡単であるからデ
バッグの容易化、デバッグ時間の短縮が図れる。また処
理命令の仕忠単位が大きいので処理全体としてオー八ヘ
ッドの占める割合が小さく、高速処理が図れる。
EFFECTS OF THE INVENTION As described above, according to the present invention, the user can perform the desired task simply by creating a simple processing table, which saves time and effort. Furthermore, since the processing table has a simple structure, debugging can be facilitated and debugging time can be shortened. In addition, since the processing instruction unit is large, the overall processing head occupies a small proportion, and high-speed processing can be achieved.

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

第1図は本発明に係る実施例の情報処理装置のブロック
構成図、 第2図は命令テーブルの構造を示す図、第3図は実施例
の印刷処理及び制御の流れを示す説明図である。 ここで、l・・・処理テーブル、2・・・処理実行手段
、3・・・処理制御手段、4・・・エラー処理手段、5
・・・データ入出力装置である。
FIG. 1 is a block configuration diagram of an information processing apparatus according to an embodiment of the present invention, FIG. 2 is a diagram showing the structure of an instruction table, and FIG. 3 is an explanatory diagram showing the print processing and control flow of the embodiment. . Here, l...processing table, 2...processing execution means, 3...processing control means, 4...error processing means, 5
...It is a data input/output device.

Claims (1)

【特許請求の範囲】[Claims] 定数の形で処理内容と処理の流れを規定している処理テ
ーブルと、前記処理内容の処理を実行する処理実行手段
と、前記処理の流れに従つて前記処理実行手段に処理を
させる処理制御手段を備えることを特徴とする情報処理
方式。
A processing table that defines processing content and processing flow in the form of constants, processing execution means for executing the processing of the processing content, and processing control means for causing the processing execution means to perform processing according to the processing flow. An information processing method characterized by comprising:
JP18839585A 1985-08-29 1985-08-29 Information processing system Pending JPS6249441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18839585A JPS6249441A (en) 1985-08-29 1985-08-29 Information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18839585A JPS6249441A (en) 1985-08-29 1985-08-29 Information processing system

Publications (1)

Publication Number Publication Date
JPS6249441A true JPS6249441A (en) 1987-03-04

Family

ID=16222885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18839585A Pending JPS6249441A (en) 1985-08-29 1985-08-29 Information processing system

Country Status (1)

Country Link
JP (1) JPS6249441A (en)

Similar Documents

Publication Publication Date Title
EP0577393B1 (en) Method for executing a program
JPH0581070A (en) Programmable controller and user program execution method in programmable controller
JPH02220145A (en) Program tracing system
JPS5829053A (en) Program correction controlling method with interruption
JP3130798B2 (en) Bus transfer device
JPS6142301B2 (en)
JPH0468446A (en) Debugging supporting device
JPH01156806A (en) Debugging device
JPS5968067A (en) Specifying system for number of run steps
JPH09223039A (en) Online system debug device
JPH04328644A (en) Debug back-up device
JPH01246638A (en) Area error decision system for write instruction
JPH06295241A (en) Program performance evaluation system
JPH07168609A (en) Sequence program debugging method
JPH02166534A (en) File access processor
JPH05158741A (en) Computer program test verification method
JPS63640A (en) Execution control system for partial unit of data flow
JPH04236604A (en) Robot controller
JPH0695710A (en) Method for changing sequence program of programmable controller
JPS63200243A (en) Debugging method and device
JPS61156339A (en) Trace processing system
JPH01201741A (en) Trace circuit
JPS62274303A (en) Sequence control method
JPH03260830A (en) Program debug processing system
JPH03242736A (en) Abnormality processing system