JPH0421146A - Information processing method - Google Patents
Information processing methodInfo
- Publication number
- JPH0421146A JPH0421146A JP2126389A JP12638990A JPH0421146A JP H0421146 A JPH0421146 A JP H0421146A JP 2126389 A JP2126389 A JP 2126389A JP 12638990 A JP12638990 A JP 12638990A JP H0421146 A JPH0421146 A JP H0421146A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- module
- individual
- common
- output
- 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
- Executing Machine-Instructions (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
この発明は、高速データ処理を実現するために、プログ
ラムを簡略化した複数個のモジュールを縦続接続すると
共に、これらのモジュール間の通信によって情報を処理
する情報処理系の情報処理方式に関する。[Detailed Description of the Invention] (Industrial Application Field) This invention connects a plurality of modules with simplified programs in series in order to realize high-speed data processing, and also transmits information through communication between these modules. The present invention relates to an information processing method for an information processing system that processes.
(従来の技術)
第4図はこの種の従来の情報処理方式を説明するための
、コンピュータシステムにおける端末処理系のモジュー
ルタイヤグラムである。同図において、入出力処理をす
る共通処理モジュール(1)と、同しく入出力処理をす
る個別処理モジュール(2)と、テレタイプ、CRT
iJ末等の入出力装置(6)とか縦続接続されている。(Prior Art) FIG. 4 is a module diagram of a terminal processing system in a computer system for explaining this type of conventional information processing system. In the figure, a common processing module (1) that performs input/output processing, an individual processing module (2) that also performs input/output processing, a teletype, a CRT
Input/output devices (6) such as iJ terminals are connected in cascade.
このうち、共通処理モジュール(1)はコンピュータシ
ステムの他の構成部分から与えられる出力要求及び機器
制御コマンド(3a)に応して受信処理し、処理結果(
3C)、出力要求及び機器制御コマンド(4a)を出力
する共通圧力処理サブモジュール(1a)と、処理結果
(3c)、人力情報及び処理結果(4b)を受信処理し
てコンピュータシステムの他の構成部分に対する人力情
報及び処理結果(3b)を出力する共通人力処理サブモ
ジュール(lb)とで構成されている。また、個別処理
モジュール(2)は共通処理モジュール(1)からの出
力要求及び機器制御コマンド(4a)に応じて受信処理
し、処理結果(4c)、出力文字列(5a)を出力する
個別出力処理サブモジュール(2a)と、処理結果(4
C)、入出力装置からの入力文字列(5b)を受信処理
して人力情報及び処理結果(4b)を出力する個別人力
処理サブモジュール(2b)とて構成されている。Among these, the common processing module (1) receives and processes output requests and device control commands (3a) given from other components of the computer system, and processes the processing results (
3C), a common pressure processing sub-module (1a) that outputs output requests and equipment control commands (4a), and receives and processes processing results (3c), human power information and processing results (4b), and other components of the computer system. It is composed of a common human power processing sub-module (lb) that outputs human power information for a part and a processing result (3b). In addition, the individual processing module (2) receives and processes the output request from the common processing module (1) and the device control command (4a), and outputs the processing result (4c) and output character string (5a) as an individual output. Processing submodule (2a) and processing result (4
C), an individual human power processing sub-module (2b) that receives and processes an input character string (5b) from an input/output device and outputs human power information and a processing result (4b).
第5図は共通処理モジュール(1)及び個別処理モジュ
ール(2)の概略処理手順を示したものである。ここで
、共通出力処理サブモジュール(la)は受信処理(t
a−a)、出力要求判定、共通出力処理(la−b)及
び共通機器制御処理(la−c)を実行し、共通出力処
理(la−b)によって出力要求コマンド(4a−a)
を、共通機器制御処理(la−c)によって処理結果(
3c)、機器制御コマンド(4a−b)を得ている。FIG. 5 shows a schematic processing procedure of the common processing module (1) and the individual processing module (2). Here, the common output processing submodule (la) is the reception processing (t
a-a), output request determination, common output processing (la-b) and common device control processing (la-c) are executed, and output request command (4a-a) is executed by common output processing (la-b).
The processing result (
3c), the device control commands (4a-b) are obtained.
共通入力処理サブモジュール(lb)は受信処理(lb
−a)、処理結果判定、送信処理(lb−b)、共通人
力処理(lb−c)を実行し、送信処理(lb−b)に
よって人力情報及び処理結果(3b)を得ている。個別
出力処理サブモジュール(2a)は受信処理(2a−a
)、出力要求判定、個別出力装置(2a−b)、個別機
器制御処理(2a−c)を実行し、個別出力処理(2a
−b)によって出力文字列(5b)を、個別機器制御処
理(2a−c)によって処理結果(4c)を得ている。The common input processing submodule (lb) performs reception processing (lb
-a), processing result determination, transmission processing (lb-b), and common manual processing (lb-c) are executed, and human power information and processing result (3b) are obtained by transmission processing (lb-b). The individual output processing sub-module (2a) performs reception processing (2a-a
), output request determination, individual output device (2a-b), individual device control processing (2a-c), and individual output processing (2a
An output character string (5b) is obtained by -b), and a processing result (4c) is obtained by individual device control processing (2a-c).
個別人力処理サブモジュール(2b)は受信処理(2b
−a)、処理結果判定、送信処理(2b−b)、個別人
力処理(2b−c)を実行し、送信処理(2b−b)に
よりて人力情報及び処理結果を得ている。The individual human processing sub-module (2b) performs reception processing (2b
-a), processing result determination, transmission processing (2b-b), and individual manual processing (2b-c) are executed, and human power information and processing results are obtained by the transmission processing (2b-b).
なお、共通モジュール(1)の共通機器制御処理(la
−c)は第6図に示した手順を実行し、個別処理モジュ
ール(2)の個別機器制御処理(2a−c)は第7図に
示した手順を実行する。Note that the common device control processing (la) of the common module (1)
-c) executes the procedure shown in FIG. 6, and the individual device control processing (2a-c) of the individual processing module (2) executes the procedure shown in FIG.
次に、全体的な動作について説明する。Next, the overall operation will be explained.
コンピュータシステムの他の構成部分からの出力要求及
び機器制御コマンド(3a)が共通処理モジュール(1
)に与えられる。このうち、圧力要求コマンドは、共通
出力処理サブモジュール(1a)及び個別出力処理サブ
モジュール(2a)によりて処理され、出力文字列(5
a)となって入出力装置(6)に出力される。一方、機
器制御コマンドは共通処理モジュール(1)、個別処理
モジュール(2)での処理方式を指示したり、変更した
りする。これらのコマンドは必要に応してデータを伴う
。Output requests and device control commands (3a) from other components of the computer system are sent to the common processing module (1).
) is given to Among these, the pressure request command is processed by the common output processing sub-module (1a) and the individual output processing sub-module (2a), and the output character string (5
a) and is output to the input/output device (6). On the other hand, the device control command instructs or changes the processing method in the common processing module (1) and the individual processing module (2). These commands are accompanied by data if necessary.
一方、入出力装置(6)からのこの処理装置に与えられ
る入力は、個別入力処理サブモジュール(2b)及び共
通人力処理サブモジュール(1b)で処理され、コマン
ド処理結果(3c) 、 (4C)と同様、順に人力情
報及びコマンド処理結果(4b) 、 (3b) とし
て送信され、このうち、人力情報及びコマンド処理結果
(3b)はコンピュータシステムの他の構成部分に与え
られる。On the other hand, the input given to this processing device from the input/output device (6) is processed by the individual input processing sub-module (2b) and the common human processing sub-module (1b), and the command processing results (3c) and (4C) are Similarly, human power information and command processing results (4b) and (3b) are transmitted in order, and among these, human power information and command processing result (3b) are given to other components of the computer system.
上述した従来の情報処理方式において、処理の目的に応
じて個別の処理を行うような下位モジュールを幾つか用
意して取替えて使用する場合、上位で行う共通処理に対
して特定の下位モジュールに対してのみ例外処理を行い
、その他の下位モジュールでは共通処理を行うように変
更したとすると、モジュール構成を採用しているにも拘
わらず、上位、下位のモジュールでの処理を全てのモジ
ュールについて変更しなけれはならなくなるという問題
があった。In the conventional information processing method described above, when several lower modules that perform individual processing depending on the processing purpose are prepared and used interchangeably, a specific lower module may be If you change the process so that exception handling is performed only for the upper and lower modules, and common processing is performed for other lower-level modules, even though the module structure is adopted, the processing in the upper and lower modules will be changed for all modules. There was a problem that I had to do without it.
また、下位モジュールを変更せず、上位モジュールか共
通処理を行う際に例外処理をも行うようにすると、上位
モジュールの処理が下位モジュールに依存するという問
題もあった。Furthermore, if the lower module is not changed and exception handling is performed when the upper module performs common processing, there is also the problem that the upper module's processing depends on the lower module.
この発明は上記のような問題点を解決するためになされ
たもので、処理系上で上記のような変更を行った場合で
も、例外処理をしたい下位モジュール内にその処理を追
加するだけて済む、高いモシュラリティを持たせること
のてきる情報処理方式を得ることを目的とする。This invention was made to solve the above-mentioned problems, and even if the above-mentioned changes are made on the processing system, all you have to do is add that processing to the lower-level module where you want to handle exceptions. The purpose of this study is to obtain an information processing method that can provide high moshularity.
〔課題を解決するための手段)
この発明に係る情報処理方式は、共通処理を行ってから
下位モジュールで個別処理をするという方式を改め、上
位モジュールでは何もせすに旦、下位モジュールに処理
を渡し、下位モジュールの処理の結果により、必要に応
して上位モジュールの処理を行うようにしたものである
。[Means for Solving the Problems] The information processing method according to the present invention has changed the method in which common processing is performed and then individual processing is performed in lower modules, and the upper module performs processing on the lower modules as soon as it does anything. According to the result of the processing of the lower module, processing of the upper module is performed as necessary.
この発明においては、下位モジュールで個別処理が行わ
れなかった場合にのみ、上位モジュールによる共通処理
が実行されるので、上位モジュールは下位モジュールに
関する情報を持たなくともよく、また、共通処理のみで
個別の例外処理を必要としない下位モジュールは変更せ
ず、例外処理を必要とする下位モジュール内にのみその
処理を追加すればよいので、モジュラリティが高められ
る。In this invention, the common processing by the upper module is executed only when no individual processing is performed in the lower module, so the upper module does not need to have information about the lower modules, and only the common processing Lower modules that do not require exception handling need not be changed, and the processing can be added only to lower modules that require exception handling, thereby increasing modularity.
(実施例) 以下、この発明の一実施例を図について説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.
第1図はこの発明による情報処理方式を採用した、コン
ピュータシステムにおける端末処理系のモジュールダイ
ヤグラムの主要部の構成を示すもので、図中、第5図と
同一または相当の部分には同一の符号を用いている。FIG. 1 shows the configuration of the main parts of a module diagram of a terminal processing system in a computer system that employs the information processing method according to the present invention. In the figure, the same or equivalent parts as in FIG. is used.
そして、共通処理モジュールを構成する共通入力処理サ
ブモジュール(lb)の構成が異なるのみで、その詳細
な処理手順を第2図に示す。この第2図中の機器制御コ
マンド×P(1≦p≦il)は通常は、共通処理モジュ
ール(1)にて処理されるが、特定の個別処理モジュー
ルに対してのみは例外的な個別処理を必要とするコマン
ドである。The only difference is the configuration of the common input processing sub-module (lb) constituting the common processing module, and the detailed processing procedure is shown in FIG. The equipment control command ×P (1≦p≦il) in Fig. 2 is normally processed by the common processing module (1), but only for a specific individual processing module is an exceptional individual processing This is a command that requires .
第3図はこの特定の個別処理モジュール((2a)に相
当)での個別機器制御処理(2a−c)の処理手順てあ
り、この実施例ではこの個別処理モジュールが接続され
る。FIG. 3 shows the processing procedure of the individual device control processing (2a-c) in this specific individual processing module (corresponding to (2a)), and in this embodiment, this individual processing module is connected.
次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.
今、出力要求及び機器制御コマンド(3a)として個別
機器制御コマンドx1がコンピュータシステムの他の構
成部分から送信されたとすると、この個別機器制御コマ
ンドx1は共通出力処理サブモジュール(la)で受信
処理(la−a)され、共通機器制御処理(la−c)
が実行されるが、この個別機器制御コマンド×1は個別
のコマンドであるため、そのまま個別出力処理サブモジ
ュール(2a)に送信される。そして、この個別機器制
御コマンドX1は個別出力処理サブモジュール(2a)
で受信処理(2a−a)され、個別機器制御処理(2a
−c)が実行される。Now, suppose that an individual device control command x1 is sent from another component of the computer system as an output request and a device control command (3a). This individual device control command x1 is received and processed by the common output processing submodule (la). la-a) and common equipment control processing (la-c)
is executed, but since this individual device control command x1 is an individual command, it is sent as is to the individual output processing submodule (2a). This individual device control command X1 is sent to the individual output processing submodule (2a).
reception processing (2a-a), and individual device control processing (2a-a).
-c) is executed.
そして、個別機器制御コマンド×1が第3図に示した手
順にて処理され、その処理結果(4c)が個別人力処理
サブモジュール(2b)に送信される。この処理結果(
4c)は個別人力処理サブモジュール(2b)の受信処
理(2b−b)により人力情報及び処理結果(4b)と
して共通人力処理サブモジュール(lb)に送信される
。Then, the individual device control command x1 is processed according to the procedure shown in FIG. 3, and the processing result (4c) is sent to the individual manual processing submodule (2b). This processing result (
4c) is transmitted to the common human processing sub-module (lb) as human power information and processing result (4b) by the receiving process (2b-b) of the individual human processing sub-module (2b).
次に、共通人力処理サブモジュール(lb)に送信され
た人力情報及び処理結果(4b)は受信処理(lb−b
)が施される。その処理結果は個別機器制御コマンドX
、が処理されたことを示しているので、そのまま人力情
報及び処理結果(3b)として送信されるだけで、共通
処理は行われない。Next, the human power information and processing results (4b) sent to the common human power processing submodule (lb) are processed by the receiving process (lb-b).
) will be applied. The processing result is the individual device control command
, indicates that it has been processed, so it is simply transmitted as the human power information and processing result (3b), and no common processing is performed.
方、個別機器制御コマンド×1の代わりに個別機器制御
コマンド×2がコンピュータシステムの他の構成部分か
ら送信されたとすると、第3図に示した個別機器制御処
理(2a−c)においてコマンド失敗の処理結果となり
、処理結果(4C)として、さらに、人力情報及び処理
結果(4b)として共通人力処理サブモジュール(1b
)に送信される。しかし、第3図のフローチャートに従
って、個別機器制御コマンドX3に対するものと同様な
共通処理(lb−a)が実行される。On the other hand, if two individual device control commands are sent from other components of the computer system instead of one individual device control command, the command failure will occur in the individual device control processing (2a-c) shown in FIG. The processing result is the processing result (4C), and the common human power processing submodule (1b) is the human power information and the processing result (4b).
) will be sent to. However, according to the flowchart of FIG. 3, a common process (lb-a) similar to that for the individual device control command X3 is executed.
かくして、共通処理は、共通出力処理サブモジュール(
1a)で行われ、個別処理は個別出力IA理サブモジュ
ール(2a)で行われる。この場合、共通出力処理サブ
モジュール(la)は共通人力処理サブモジュール(1
b)がどのようなモジュールでも良く、あるモジュール
が例外的に個別の処理を行う場合には、個別機器制御処
理(2a−c)にその個別処理手続を追加するだけで他
の変更は一切必要としない。Thus, the common processing is carried out by the common output processing submodule (
1a), and individual processing is performed in the individual output IA processing submodule (2a). In this case, the common output processing submodule (la) is the common human processing submodule (1
b) can be any module; if a module exceptionally performs individual processing, only the individual processing procedure is added to the individual device control processing (2a-c); no other changes are required. I don't.
なお、上記実施例では個別処理が行われなかりた時にの
み共通処理を実行しているが、個別の処理の実行後、そ
こで処理されなかった部分についてのみ共通の処理を行
い、下位モジュールでの不完全な処理を上位モジュール
で保管する方式も可能である。Note that in the above embodiment, common processing is executed only when individual processing is not performed, but after execution of individual processing, common processing is performed only for the parts that were not processed, and the lower module It is also possible to store incomplete processing in a higher-level module.
又、上記実施例では、本発明を端末入出力処理に適用す
る場合について説明したが、上位または下位と通信を行
う複数のモジュールを縦続接続した構成の殆どの処理系
に通用でき、上述したと同様な効果を臭する。Furthermore, in the above embodiment, the present invention is applied to terminal input/output processing, but it can be applied to most processing systems in which a plurality of modules that communicate with upper or lower levels are connected in cascade. Smells similar effect.
(発明の効果)
以上説明したように、本発明によれば、上位モジュール
での処理を、下位モジュールの処理の後に延期するよう
にしたので、技術的に簡単でコストを高騰させないでモ
ジュラリティを向上させることができるという効果があ
る。(Effects of the Invention) As explained above, according to the present invention, the processing in the upper module is postponed after the processing in the lower module, so modularity can be achieved with technical ease and without increasing costs. The effect is that it can be improved.
第1図はこの発明の一実施例に係る端末入出力処理系の
サブモジュール毎の処理の流れと通信動作を示した説明
図、第2図および第3図はそれぞれこの端末出力処理系
の主要素の処理手順を示すフローチャート、第4図は一
般的な端末入出力処理系のモジュールダイヤグラム、第
5図は従来の情報処理方式を採用した端末入出力処理系
のサブモジュール毎の処理の流れと通信動作を示した説
明図、第6図および第7図はそれぞれこの端末大圧力処
理系の主要素の処理手順を示すフローチャートである。
1a)二
1b):
2):
28):
2b):
なお、
共通処理モジュール
共通出力処理サブモジュール
共通人力処理サブモジュール
個別処理モジュール
個別出力処理サブモジュール
個別人力処理サブモジュール
各図中、同一符号は同−又は相当部分を第
図
第
図
第
図
第
図
す
人工ηN1
第
図
第
図
手
続
補
正
書(自発)
1、事件の表示
特願平2−126389号
住
所
東京都千代田区丸の内二丁目2番3号
名
称
(601)三菱電機株式会社
住
所
東京都中央区日本橋本町1丁目9番13号中山ビル4階
5゜
補正の対象
明細書の発明の詳細な説明の欄、
及び図面。
6、補正の内容
(1)明細書第10頁第16行の「保管」という記載を
「補完」と補正する。
(2)図面中東4図を別紙の如く補正する。
7、添付書類の目録
補正後の図面 1通以 上FIG. 1 is an explanatory diagram showing the processing flow and communication operation for each submodule of a terminal input/output processing system according to an embodiment of the present invention, and FIGS. 2 and 3 are main views of the terminal output processing system, respectively. A flowchart showing the basic processing procedure, Figure 4 is a module diagram of a general terminal input/output processing system, and Figure 5 shows the processing flow for each submodule of a terminal input/output processing system that uses a conventional information processing method. The explanatory diagrams illustrating the communication operation, FIGS. 6 and 7, are flowcharts showing the processing procedures of the main elements of this terminal high pressure processing system. 1a) 21b): 2): 28): 2b): Common processing module Common output processing sub-module Common human processing sub-module Individual processing module Individual output processing sub-module Individual human processing sub-module In each figure, the same reference numerals are Artificial ηN1 (spontaneous) 1. Indication of the case Patent application No. 2-126389 Address: 2-2-3 Marunouchi, Chiyoda-ku, Tokyo Name (601) Mitsubishi Electric Co., Ltd. Address: 4th floor, Nakayama Building, 1-9-13 Nihonbashi-honmachi, Chuo-ku, Tokyo 5° Column for detailed description of the invention of the specification subject to amendment, and drawings. 6. Contents of the amendment (1) The description "storage" on page 10, line 16 of the specification is amended to read "supplementation." (2) Amend the 4th map of the Middle East as shown in the attached sheet. 7. At least 1 copy of drawings after the revised list of attached documents
Claims (1)
、前記各モジュールが上位モジュールより一定形式でコ
マンドおよびデータを受信して何等かの処理を実行し、
その受信内容を下位モジュールに送信すると共に、下位
モジュールから処理結果を受信し、この下位モジュール
での処理が失敗するか、若しくは、不完全であった場合
にのみ再度処理を実行してその処理結果を上位モジュー
ルに送信することを特徴とする情報処理方式。In an information processing system in which a plurality of modules are connected in series, each module receives commands and data in a fixed format from a higher-level module and executes some processing,
The received content is sent to the lower module, and the processing result is received from the lower module, and only if the processing in this lower module fails or is incomplete, the process is executed again and the processing result is An information processing method characterized by transmitting information to a higher-level module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2126389A JPH0421146A (en) | 1990-05-16 | 1990-05-16 | Information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2126389A JPH0421146A (en) | 1990-05-16 | 1990-05-16 | Information processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0421146A true JPH0421146A (en) | 1992-01-24 |
Family
ID=14933932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2126389A Pending JPH0421146A (en) | 1990-05-16 | 1990-05-16 | Information processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0421146A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6811253B1 (en) | 1999-08-04 | 2004-11-02 | Ilford Imaging Uk Limited | Ink jet printing method |
-
1990
- 1990-05-16 JP JP2126389A patent/JPH0421146A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6811253B1 (en) | 1999-08-04 | 2004-11-02 | Ilford Imaging Uk Limited | Ink jet printing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5377350A (en) | System for cooperative communication between local object managers to provide verification for the performance of remote calls by object messages | |
Rudolph | Project oxygen: Pervasive, human-centric computing–an initial experience | |
JPH05151181A (en) | Parallel computer and its all to all communication method | |
US4780820A (en) | Control flow computer using mode and node driving registers for dynamically switching between parallel processing and emulation of von neuman processors | |
Kambayashi et al. | Higher-order mobile agents for controlling intelligent robots | |
JPH0421146A (en) | Information processing method | |
JPH10233772A (en) | Information processor and information processing method | |
JPS62121562A (en) | Data communication system | |
US5805890A (en) | Parallel processing system including arrangement for establishing and using sets of processing nodes in debugging environment | |
Edwin et al. | COMAS: Coordination in multiagent systems | |
McDonald et al. | Support for graphs of processes in a command interpreter | |
Alencastre-Miranda et al. | Teleoperating robots in multiuser virtual environments | |
Canjun | AN OPEN ARCHITECTURE FOR INTERNET BASED TELE-ROBOTIC SYSTEM | |
JPS6398741A (en) | Sequential execution control system for plural expert systems | |
Nazarova et al. | Development of a control system for intermodular interaction in a virtual training complex | |
Клименко | An Improved Model of Greedy Tasks Assignment in Distributed Robotic Systems | |
JPH03266064A (en) | Method and device for constituting program | |
JPS63142433A (en) | Environment identifier assignment method | |
Czaja | Interprocess communication | |
CN116156008A (en) | Method and system for autonomous switching of communication mode of unmanned aerial vehicle under distributed system | |
JPS6079458A (en) | Command linkage method for conversational information processing systems | |
JPH043547A (en) | System interconnecting computers | |
JPH05134883A (en) | Distributed compilation processing system | |
Huang et al. | Java communication interfaces for control systems | |
Whitby-Strevens | Current research in computer networks: a personal view |