JPH0399331A - Process recognizing method - Google Patents

Process recognizing method

Info

Publication number
JPH0399331A
JPH0399331A JP1237650A JP23765089A JPH0399331A JP H0399331 A JPH0399331 A JP H0399331A JP 1237650 A JP1237650 A JP 1237650A JP 23765089 A JP23765089 A JP 23765089A JP H0399331 A JPH0399331 A JP H0399331A
Authority
JP
Japan
Prior art keywords
communication
processor
request source
communication request
debugger
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.)
Ceased
Application number
JP1237650A
Other languages
Japanese (ja)
Inventor
Mamoru Kanaoka
叶岡 衛
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1237650A priority Critical patent/JPH0399331A/en
Publication of JPH0399331A publication Critical patent/JPH0399331A/en
Ceased legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To attain processing even if interfaces are different to each other in a device for communicating with one of plural processes and processing the process by recording information indicating a communication request source and discriminating the process of the communication request source while referring to the registered information. CONSTITUTION:A communication controller 2 communicates with one of plural processes and executes the processing of the process. A processor 3 in a body 1 reads out a process 13 stored in a ROM 4, and at the time of transferring data stored in a RAM 5 to a master device, registers the information communication-requested by the process 13 in a request source recording area 10 formed in a RAM 9 through I/O ports 6, 11 and sends an interruption signal to a processor 7. The processor 7 reads out a process 15 stored in a ROM 8 to operate the process 15, and at the time of receiving an interruption signal through the port 11, recognizes the output of the communication request from the process 3 of the body 1 and recognizes the communication with the process 13 by referring to the contents of the recording area 10.

Description

【発明の詳細な説明】 〔概要〕 複数のプロセスの指示により動作する制御装置によって
制御される装置において、前記複数のプロセスの中のど
のプロセスの制御に基づき動作するかを判別可能とする
プロセス認識方法に関し、通信要求元の判別を可能とす
ることを目的とし、複数のプロセスから通信を要求され
、該複数のプロセスの中の一つのプロセスと交信して処
理を実行する装置において、通信要求元を記録する記録
手段を設け、前記複数のプロセスが通信を要求する際に
、該記録手段に通信要求元を示す情報を記録するように
しておき、該情報を参照することにより、通信要求元の
プロセスを判別する構成とする。
[Detailed Description of the Invention] [Summary] Process recognition that enables a device controlled by a control device that operates according to instructions from a plurality of processes to determine which one of the plurality of processes operates under the control of the control device. Regarding the method, the purpose is to make it possible to determine the source of the communication request. A recording means is provided for recording the communication request source, and when the plurality of processes request communication, information indicating the communication request source is recorded in the recording means, and by referring to the information, the communication request source can be determined. The configuration is configured to identify processes.

〔産業上の利用分野] 本発明は複数のプロセス(U T S (Llnive
rsal’rimesharingSystem)での
実行単位〕の指示により動作する制御装置によって制御
される装置に係り、特に前記複数のプロセスの中のどの
プロセスの制御に基づき動作するかを判別可能とするプ
ロセス認識方法に関する。
[Industrial Application Field] The present invention is applicable to a plurality of processes (UTS (Llnive)
The present invention relates to a device controlled by a control device that operates according to an instruction from an execution unit in a rsal'rimesharing system), and particularly relates to a process recognition method that makes it possible to determine which process among the plurality of processes is operated based on the control. .

例えば、通信回線を経て上位装置と通信する端未装置に
おいては、一般に本体と通信制御を行う通信制御装置と
から構成されており、本体で処理したデータを通信制御
装置が通信回線を経て−L位装置に送出し、上位装置が
通信回線を経て送出したデータを本体に転送している。
For example, a terminal device that communicates with a higher-level device via a communication line is generally composed of a main unit and a communication control device that performs communication control, and the communication control device transfers data processed by the main unit to -L via the communication line. The data sent by the host device is transferred to the main unit via the communication line.

このような通信制御装置では、プロセンサを備えてRO
M等に格納されたプロセスを読出して、このプロセスの
指示に基づきデータ転送制御を行うが、このデータ転送
制御を行う時、通信制御装置側のプロセスは、本体側の
プロセスと通信して、本体側のプロセスから転送すべき
データやデータ長等を指定されて処理を実行している。
Such a communication control device is equipped with a professional sensor to
The process stored in M etc. is read and data transfer control is performed based on the instructions of this process. When performing this data transfer control, the process on the communication control device side communicates with the process on the main body side, and The process is executed by specifying the data to be transferred, data length, etc. from the side process.

従って、通信制御装置のプロセスのインタフェースは、
本体のプロセスのインタフェースと同一であることが必
要であり、且つ本体側のプロセスが複数ある場合は、ど
のプロセスと通信するかを認識し得ることが必要である
。
Therefore, the interface of the communication control device process is
It is necessary that the interface is the same as that of the main body process, and if there are multiple processes on the main body side, it is necessary to be able to recognize which process to communicate with.

〔従来の技術〕[Conventional technology]

通信制御装置が通信回線を経て上位装置に対するデータ
転送を行う場合、通信制御装置のプロセスは、本体側の
プロセスと通信して、本体側のプロセスの指示を受ける
必要があるが、従来の通信制御装置におけるプロセスは
、本体側の一つのプロセスと通信するのみで良いため、
複数のプロセスから通信要求を受けても、通信要求元を
判別する機能を備えていない。
When a communication control device transfers data to a host device via a communication line, the process of the communication control device needs to communicate with the process on the main body side and receive instructions from the process on the main body side, but conventional communication control A process on the device only needs to communicate with one process on the main unit, so
Even if it receives communication requests from multiple processes, it does not have a function to determine the source of the communication request.

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

通信制御装置は対向する相手端末装置の構成により、デ
ータ転送制御手順が相違する等の原因でプロセスを新た
に作成する必要があり、新たなプロセスを作成した場合
、デバッグを行う必要がある。従って、本体側のROM
等にデバッガ(デバッグの実行内容を指示するプロセス
)を格納して、このデバッガの指示に基づき通信制御装
置のプロセスのデバッグを実行させている。
The communication control device needs to create a new process due to differences in data transfer control procedures depending on the configuration of the opposing terminal device, and when a new process is created, it is necessary to debug it. Therefore, the ROM on the main body side
A debugger (a process that instructs the content of debugging) is stored in a computer, etc., and the process of the communication control device is debugged based on instructions from the debugger.

従って、通信制御装置のプロセスはデバッガと通信する
ことが必要であるが、E記の如く、従来は複数のプロセ
スから通信要求を受けても、通信要求元を判別出来ない
ため、本体側のプロセスとデバッガの区別をすることが
出来ない。
Therefore, it is necessary for the process of the communication control device to communicate with the debugger, but as shown in section E, conventionally, even if communication requests are received from multiple processes, the source of the communication request cannot be determined, so the process on the main body side It is not possible to distinguish between a debugger and a debugger.

ところで、デバッガはしばしば本体側のプロセスのイン
タフェースと異なるインタフェースで作成されることが
あり、このようにインタフェースが異なった場合、通信
制御装置側でインタフェースの変換を行う必要があるが
、本体側のプロセスとデバッガの区別がつかないと、対
応することが不可能となるという問題がある。
By the way, a debugger is often created with an interface that is different from the interface of the main body process. If the interface is different in this way, it is necessary to convert the interface on the communication control device side, but the main body process If it is not possible to distinguish between a debugger and a debugger, there is a problem that it becomes impossible to respond.

本発明はこのような問題点に鑑み、通信制御装置側のプ
ロセスが、複数のプロセスから通信要求を受けた場合、
通信要求元の判別を可能とすることを目的としている。
In view of these problems, the present invention provides that when a process on the communication control device side receives communication requests from multiple processes,
The purpose is to make it possible to identify the source of a communication request.

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

そして、この目的は第1図に示されるように、複数のプ
ロセスから通信を要求され、該複数のプロセスの中の一
つのプロセスと交信して処理を実行する装置2において
、 通信要求元を記録する記録手段lOを設け、前記複数の
プロセスが通信を要求する際に、該記録手段10に通信
要求元を示す情報を記録するようにしておき、この記録
された情報を参照して、通信要求元のプロセスを判別す
ることにより達成される。
As shown in FIG. 1, the purpose of this is to record the source of the communication request in the device 2 that receives a communication request from a plurality of processes and executes the process by communicating with one of the plurality of processes. When the plurality of processes request communication, information indicating the communication request source is recorded in the recording means 10, and by referring to this recorded information, the communication request is made. This is accomplished by determining the original process.

〔作用〕[Effect]

即ら、本発明によれば、記録手段10に本体■のプロセ
スが通信要求元を示す情報を記録するため、この情報を
参照することで、本体1の複数のプロセスの中のどのプ
ロセスが通信を要求しているか容易に認識することが出
来る。
That is, according to the present invention, since the process of the main body 1 records information indicating the communication request source in the recording means 10, by referring to this information, it is possible to determine which process among the plurality of processes of the main body 1 is communicating. It is easy to recognize whether a request is made.

(実施例〕 第1図は本発明の一実施例を示す回路のブロック図であ
る。
(Embodiment) FIG. 1 is a block diagram of a circuit showing an embodiment of the present invention.

本体1のプロセッサ3はROM4に格納されているプロ
セス13を読出して動作し、RAM5に蓄積したデータ
を上位装置に転送する場合、入出カポ−トロと通信制御
装置2の入出力ポート11を経て、RAM9に設けられ
た要求元記録領域10に、プロセス13が通信要求を行
った情報、例えば、プロセス13固有のフラグを記録さ
せると共に、通信制御装置2のプロセッサ7に割込み信
号を送出させる。
The processor 3 of the main body 1 operates by reading out the process 13 stored in the ROM 4, and when transferring the data stored in the RAM 5 to the host device, it passes through the input/output capotro and the input/output port 11 of the communication control device 2. Information about the communication request made by the process 13, for example, a flag specific to the process 13, is recorded in a request source recording area 10 provided in the RAM 9, and the processor 7 of the communication control device 2 is caused to send an interrupt signal.

通信制御装置2のプロセッサ7はROM Bに格納され
ているプロセス15を続出して動作し、入出力ポート1
1を経て割込み信号を受信すると、本体1のプロセスか
ら通信要求が送出されたことを認識し、RAM9の要求
元記録領域10の内容を参照し、プロセス13固有のフ
ラグであることから、プロセス13と通信することを認
識する。
The processor 7 of the communication control device 2 continuously executes the process 15 stored in the ROM B, and operates the process 15 stored in the ROM B.
When an interrupt signal is received via process 1, it is recognized that a communication request has been sent from a process in main body 1, and the content of request source recording area 10 in RAM 9 is referenced. Recognize that you are communicating with.

従って、プロセッサ7はプロセス13と通信するプロセ
ス15の指示に基づき、プロセッサ3がRAM5から読
出して入出カポ−トロと11を経て送出するデータをR
AM9に格納すると、インタフェース制御回路12を制
御して上位装置と通信回線を構築させ、RAM9に格納
したデータを上位装置に転送する。
Therefore, based on instructions from the process 15 communicating with the process 13, the processor 7 inputs and outputs the data that the processor 3 reads from the RAM 5 and sends out via the input/output port 11.
When the data is stored in the RAM 9, the interface control circuit 12 is controlled to establish a communication line with the host device, and the data stored in the RAM 9 is transferred to the host device.

オペレータはROM8に新たなプロセス15を格納する
と、このプロセス15をデバッグするため、プロセッサ
3に対し、ROM4のデバッガ14を読出して動作する
ことを指示する。デバッガ14はプロセッサ3にデバッ
ガ14が通信要求を行った情報、例えば、デバッガ14
1W有のフラグの 〆記録を指示するため、プロセッサ3は前記同様、要求
元記録領域10に、デバッガ14固有のフラグを記録さ
せると共に、プロセッサ7に割込み信号を送出させる。
After storing a new process 15 in the ROM 8, the operator instructs the processor 3 to read and operate the debugger 14 in the ROM 4 in order to debug this process 15. The debugger 14 sends information about the communication request made by the debugger 14 to the processor 3, for example, the debugger 14
In order to instruct the final recording of the 1W flag, the processor 3 causes the request source recording area 10 to record a flag unique to the debugger 14 and causes the processor 7 to send an interrupt signal.

プロセッサ7は入出力ポート11を経て割込み信号を受
信すると、本体1のプロセスから通信要求が送出された
ことを認識し、RAM9の要求元記録領域10の内容を
参照し、デバッガ14固有のフラグであることから、デ
バッガ14と通信することを認識する。
When the processor 7 receives an interrupt signal via the input/output port 11, it recognizes that a communication request has been sent from the process of the main body 1, refers to the contents of the request source recording area 10 of the RAM 9, and uses the flags specific to the debugger 14. Because of this, it is recognized that communication with the debugger 14 is required.

第2図は第1図の動作を説明するフローチャートである
。
FIG. 2 is a flowchart explaining the operation of FIG. 1.

プロセッサ7はステップ■で入出力ボート11を経て割
込み信号が受信されると、ステップ■において、RAM
9の要求元記録領域10の内容を読出し、ステップ■で
割込み種別を調べる。即ち、フラグの内容からプロセス
13の割込みか、デバッガ14の割込みかを認識する。
When the processor 7 receives an interrupt signal via the input/output port 11 in step (2), the processor 7 stores the RAM in step (2).
The contents of the request source recording area 10 in step 9 are read out, and the interrupt type is checked in step (2). That is, it is recognized from the contents of the flag whether the interrupt is from the process 13 or the debugger 14.

プロセス13からの割込みであれば、ステップ■の処理
に移行し、データ転送処理を実行し、完了するとステッ
プ■で割込み処理を完了する。
If the interrupt is from the process 13, the process moves to step (2), data transfer processing is executed, and when completed, the interrupt processing is completed at step (2).

ステップ■の判定がデバッガ14の割込みであると、ス
テップ■の処理に移行し、デバッグモードを実行し、完
了するとステップ■で割込み処理を完了する。
If the determination in step (2) is that the interrupt is from the debugger 14, the process moves to step (2), the debug mode is executed, and upon completion, the interrupt process is completed in step (2).

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

以上説明した如く、本発明は本体のプロセスが通信を要
求しているか、又はデバッガが通信を要求しているか容
易に判別することが出来るため、インタフェースが異な
っていても処理することが可能となる。
As explained above, the present invention can easily determine whether the main process is requesting communication or the debugger is requesting communication, so it is possible to process even if the interfaces are different. .

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

第1図は本発明の一実施例を示す回路のブロック図、 第2図は第1図の動作を説明するフローチャーである。 図においてさ ■は本体、     2は通信制御装置、3.7はプロ
セッサ、 4.8はROM、5.9はRAM、   6
.11は入出力ボート、10は要求元記録領域、 12はインタフェース制御回路、 13、15はプロセス、 14はデバッガである。
FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention, and FIG. 2 is a flowchart explaining the operation of FIG. 1. In the figure, ■ is the main body, 2 is the communication control device, 3.7 is the processor, 4.8 is the ROM, 5.9 is the RAM, 6
.. 11 is an input/output boat, 10 is a request source recording area, 12 is an interface control circuit, 13 and 15 are processes, and 14 is a debugger.

Claims (1)

【特許請求の範囲】 複数のプロセスから通信を要求され、該複数のプロセス
の中の一つのプロセスと交信して処理を実行する装置に
おいて、 通信要求元を記録する記録手段を設け、 前記複数のプロセスが通信を要求する際に、該記録手段
に通信要求元を示す情報を記録するようにしておき、 該情報を参照することにより、通信要求元のプロセスを
判別するようにしたことを特徴とするプロセス認識方法
。
[Scope of Claims] A device that receives communication requests from a plurality of processes and executes processing by communicating with one of the plurality of processes, further comprising: a recording means for recording a communication request source; When a process requests communication, information indicating the communication request source is recorded in the recording means, and by referring to the information, the communication request source process is determined. process recognition method.
JP1237650A 1989-09-13 1989-09-13 Process recognizing method Ceased JPH0399331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1237650A JPH0399331A (en) 1989-09-13 1989-09-13 Process recognizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1237650A JPH0399331A (en) 1989-09-13 1989-09-13 Process recognizing method

Publications (1)

Publication Number Publication Date
JPH0399331A true JPH0399331A (en) 1991-04-24

Family

ID=17018467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1237650A Ceased JPH0399331A (en) 1989-09-13 1989-09-13 Process recognizing method

Country Status (1)

Country Link
JP (1) JPH0399331A (en)

Similar Documents

Publication Publication Date Title
JP2504754B2 (en) Central processing unit
JPH074669Y2 (en) Interrupt request processing circuit
JPH03269752A (en) Information processing system and input/output controller used for the same
JP2560312B2 (en) Information processing system
JPH0690689B2 (en) Bus trace method
JP2641892B2 (en) How to change the adapter identification number
JPH0496832A (en) Fault information gathering device
JPH0132140Y2 (en)
JPH03262046A (en) Diagnostic processor selecting system
JPS60107140A (en) System for execution of instruction
JPS6436342A (en) System for tracing data in cpu
JPH0387963A (en) Event waiting system
JPS63147237A (en) Input/output controller
JPH0784814A (en) Computer error detector
JPH04273327A (en) Static parallel processing program creation support device
JPH03176861A (en) Magnetic disk controller
JPH0646411B2 (en) End token output circuit
JPS6279539A (en) Program debugging device
JPH07121021B2 (en) Line control information setting method in communication control processor
JP2000112665A (en) Method and apparatus for connecting auxiliary recording device
JPH0789327B2 (en) Information processing system
JPH10124406A (en) I / O controller
JPS6238948A (en) Testing and executing system for information processor
JPH03266246A (en) Magnetic recording and reproducing device
JPS6358548A (en) Microprocessor for debug