JPH02165253A - Terminal control system - Google Patents

Terminal control system

Info

Publication number
JPH02165253A
JPH02165253A JP63319845A JP31984588A JPH02165253A JP H02165253 A JPH02165253 A JP H02165253A JP 63319845 A JP63319845 A JP 63319845A JP 31984588 A JP31984588 A JP 31984588A JP H02165253 A JPH02165253 A JP H02165253A
Authority
JP
Japan
Prior art keywords
terminal
host processor
sub
occupied
message
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
JP63319845A
Other languages
Japanese (ja)
Inventor
Seiichi Ogawa
誠一 小川
Akira Suzuki
晃 鈴木
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.)
Hitachi Ltd
Hitachi Information Technology Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Communication Systems 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 Hitachi Ltd, Hitachi Communication Systems Inc filed Critical Hitachi Ltd
Priority to JP63319845A priority Critical patent/JPH02165253A/en
Publication of JPH02165253A publication Critical patent/JPH02165253A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To eliminate an overhead and to improve memory using efficiency by transmitting the control telegraphic message of a fact of occupying a terminal and confirming the occupied state of the terminal, before a work telegraphic message is transmitted from plural host processors to a shared terminal. CONSTITUTION:When a work processing request to a terminal 40 is generated in a host processor 10, the control telegraphic message of a fact of occupying the terminal 40 is transmitted prior to the transmission of a work telegraphic message. When the telegraphic message is received, a sub-host processor 30 checks the state of the terminal 40 by a queue Q, and returns the response telegraphic message of acceptance to the processor 10 unless the terminal is occupied by other processor. Subsequently, a fact that the terminal 40 is occupied by the processor 10 is set to the queue Q. The processor 10 transmits repeatedly the work telegraphic message to the terminal 40 until the work processing is ended. In such a manner, the overhead caused by a retry processing is eliminated and the memory using efficiency is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は端末制御方式に係り、特に複数のホストプロセ
ッサがサブホストプロセッサに1妾続される端末を共有
するシステムにおいて、あるホストプロセッサが一時的
に端末を占有するのに好適な端末制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a terminal control system, and particularly in a system in which a plurality of host processors share a terminal connected to a sub-host processor. The present invention relates to a terminal control method suitable for occupying a terminal.

〔従来の技術〕[Conventional technology]

分散処理システムの一つの形態に、複数のホストプロセ
ッサと、それらに伝送網を介して接続されるサブホスト
プロセッサ(分散プロセッサともいう)と、このサブホ
ストプロセッサに接続される端末よりなる所、i1V階
層型分散処理システムがある。
One type of distributed processing system is the i1V hierarchical system, which consists of multiple host processors, sub-host processors (also called distributed processors) connected to them via a transmission network, and terminals connected to the sub-host processors. There is a distributed processing system.

従来のこの種のシステムにおいては、複数のホストプロ
セッサから同一端末に対する業務電文の送信要求があっ
た場合、サブホストプロセッサは最初に送信要求を受け
たホストプロセッサの業務電文の端末への出力処理を行
い、他のホストプロセッサに対しては拒否の応答を返し
、拒否の応答を受けたホストプロセッサでは、業務電文
を送信バッファに保持したまN、送信可能となるまでリ
トライ処理を行っていた。。なお、これに関連する公知
文献としては、例えば特開昭62−214460号公報
が挙げられる。
In conventional systems of this kind, when multiple host processors request the transmission of business messages to the same terminal, the sub-host processor first processes the output of the business message of the host processor that received the transmission request to the terminal. , a rejection response is returned to other host processors, and the host processor that receives the rejection response holds the business message in a transmission buffer and performs retry processing until it becomes possible to transmit it. . In addition, as a publicly known document related to this, for example, JP-A-62-214460 can be mentioned.

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

上記従来技術では、業務電文の送信に対して拒否の応答
を受けたホストプロセッサは、送信バッファに業務電文
を保持したま\、送信可能となるまでリトライ、処理を
繰り返さなければならず、ホストプロセッサでのオーバ
ーヘッドおよびメモリ利用効率の点で問題があった。
In the above conventional technology, the host processor that receives a rejection response to the transmission of a business message has to keep the business message in the transmission buffer and repeat the retries and processing until it can be sent. There were problems with overhead and memory usage efficiency.

本発明の目的は、複数のホストプロセッサがサブホスト
プロセッサに接続される端末を共有するシステムにおい
て、端末への業務電文の送信に対してサブホストプロセ
ッサから拒否の応答を受けたホストプロセッサのりトラ
イ処理を不要とする端末制御方式を提供することにある
An object of the present invention is to eliminate the need for host processor retry processing when receiving a rejection response from a sub-host processor for sending a business message to a terminal in a system in which multiple host processors share a terminal connected to a sub-host processor. The objective is to provide a terminal control method that allows

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

上記目的を達成するために、本発明では、サブホストプ
ロセッサに、自分に接続される端末の占有状態を管理す
る手段を持たせ、ホストプロセッサから端末へ業務電文
を送信するに先立って、該ホストプロセッサは端末を占
有する旨の制御電文を送信し、サブホストプロセッサか
ら受諾の応答電文を受信した後、業務電文を送信するこ
とを主たる特徴とするものである。
In order to achieve the above object, the present invention provides a sub-host processor with a means for managing the occupancy status of a terminal connected to the sub-host processor, and before sending a business message from the host processor to the terminal, The main feature of this is that it transmits a control message indicating that it occupies the terminal, receives a response message of acceptance from the sub-host processor, and then transmits a business message.

〔作 用〕[For production]

サブホストプロセッサでは、あるホストプロセッサから
端末を占有する旨の制御電文を受信した時、当該端末が
他のホストプロセッサで占有されていないと、該端末を
占有状態にすると共に、前記ホストプロセッサに受諾の
応A4電文を返し、連の業務処理終了後、市記ホストプ
ロセッサから端末占有状態を解放する旨の制御電文を受
信して、当該端末の占有状態を解放する。一方、当該端
末が他のホストプロセッサで占有されていると、前記制
御電文をキューイングしておき、当該端末の占有状態が
解放されると、前記ホストプロセッサに受諾の応答電文
を返す。
When a sub-host processor receives a control message to occupy a terminal from a certain host processor, and if the terminal is not occupied by another host processor, the sub-host processor places the terminal in an occupied state and sends an acknowledgment request to the host processor. After returning the response A4 message and completing the series of business processes, the control message to release the terminal from the occupied state is received from the city record host processor, and the occupied state of the terminal is released. On the other hand, if the terminal is occupied by another host processor, the control message is queued, and when the occupied state of the terminal is released, an acceptance response message is returned to the host processor.

これにより、ホストプロセッサでは、端末を占有する旨
の制御電文を送信後、サブホストプロセッサから受諾の
応答電文の返送をまって、業WJfti文の作成・送信
を行えばよく、業務゛電文を送信バッファにセットした
状態でり1〜ライ処理を繰り返す必要がなくなる。
As a result, the host processor only needs to send a control message indicating that the terminal is occupied, wait for the sub-host processor to return an acceptance response message, and then create and send the business WJfti message. There is no need to repeat the process from 1 to 1 with the setting set to .

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図に本発明で対象とするシステムの構成例を示す。FIG. 1 shows an example of the configuration of a system targeted by the present invention.

第1図において、複数のホス1〜プロセツサ10□〜1
0mに、伝送網2oを介してサブホストプロセッサ(分
散プロセッサとも云う)30が接続され、このサブホス
トプロセッサ30に複数の端末40□〜40oが接続さ
れている。サブホストプロセッサ30は、各端末毎に処
理要求キーQ工〜Qnを保持している。
In FIG. 1, a plurality of hosts 1 to processors 10□ to 1
0m is connected to a sub-host processor (also referred to as a distributed processor) 30 via a transmission network 2o, and a plurality of terminals 40□ to 40o are connected to this sub-host processor 30. The sub-host processor 30 holds processing request keys Q-Qn for each terminal.

こンで、ホストプロセッサ10工、102が端末40□
を共用する場合を例にして、本発明の端末制御方式を説
明する。第2図はこの場合のホス1〜プロセッサ10工
、102、サブホストプロセッサ30、端末401の間
での電文送受信態様の一例であり、第3図は電文のフォ
ーマット例、第4図はホストプロセッサ101,10.
とサブホストプロセッサ30での処理フローチャー1−
である。
Now, host processor 10, 102 is terminal 40□
The terminal control method of the present invention will be explained by taking as an example the case where the terminals are shared. FIG. 2 shows an example of how messages are sent and received between the host 1, processors 10, 102, sub-host processor 30, and terminal 401 in this case, FIG. 3 is an example of the message format, and FIG. 4 shows the host processor 101. ,10.
and processing flowchart 1- in the sub-host processor 30
It is.

ホストプロセッサ10工は、端末40□に対する業務処
理要求が発生すると、業務電文の送信に先立って、端末
40□を占有する旨の制御電文(占有要求電文)を送信
する(ステップ101)。サブホストプロセッサ30で
は、該占有要求電文を受信すると、端末40□の状態を
キューQ□でチエツクしくステップ201)、当該端末
40工が他のホストプロセッサで占有されていなければ
、受諾の応答電文をホストプロセッサ10エヘ返すと共
に、当該端末401がホストプロセッサ10□へ占有さ
れたことをキューQ工にセットする(ステップ202)
When a business processing request for the terminal 40□ is generated, the host processor 10 transmits a control message (occupation request message) indicating that the terminal 40□ will be occupied prior to transmitting the business message (step 101). When the sub-host processor 30 receives the occupation request message, it checks the status of the terminal 40□ in the queue Q□ (step 201), and if the terminal 40 is not occupied by another host processor, it sends an acceptance response message. It returns to the host processor 10, and sets the queue Q to indicate that the terminal 401 is occupied by the host processor 10 (step 202).
.

ホストプロセッサ10□は、端末占有要求に対して受諾
の応答電文を受信すると、サブホストプロセッサ30を
介して端末40よに対し、 所望の業務処理が終了する
まで、一連の業務電文の送信を繰り返す(ステップ10
2,103)、サブホストプロセッサ30では、受信し
た業務電文を端末40□に出力し、 その旨の応答電文
をホストプロセッサ10□に返す(ステップ204)。
When the host processor 10□ receives a response message of acceptance to the terminal occupation request, it repeats sending a series of business messages to the terminal 40 via the sub-host processor 30 until the desired business process is completed ( Step 10
2, 103), the sub-host processor 30 outputs the received business message to the terminal 40□, and returns a response message to that effect to the host processor 10□ (step 204).

端末40□に対する一連の業務処理が終了すると、ホス
トプロセッサ30□は、端末40□の占有を解放する旨
の制御電文(解放要求電文)を送信する(ステップ10
4)。サブプロセッサ30では、該解放要求電文を受信
すると、キューQ、のホストプロセッサ10工による占
有状態をリセットし、占有解除の応答電文をホストプロ
セッサ10□に返す(ステップ205)。その後、サブ
ホストプロセッサ30はキューQ□の状態をチエツクし
くステップ206)、他のホストプロセッサからの占有
要求があれば、早く受付けた順に、受諾の応答電文を当
該ホス1〜プロセツサに返し、端末40□が占有された
ことをキューQよにセラ1−する(ステップ202)。
When the series of business processes for the terminal 40□ is completed, the host processor 30□ transmits a control message (release request message) to release the occupation of the terminal 40□ (step 10
4). When the sub-processor 30 receives the release request message, it resets the occupation status of the queue Q by the host processor 10, and returns an occupation release response message to the host processor 10□ (step 205). Thereafter, the sub-host processor 30 checks the status of the queue Q□ (step 206), and if there is an occupation request from another host processor, it returns an acceptance response message to the corresponding host 1 to processor in the order of acceptance, and sends an acceptance request to the terminal 40. A message is sent to the queue Q that □ is occupied (step 202).

一方、ホストプロセッサ102でも、端末401に対す
る業務処理要求が発生すると、端末401を占有する旨
の制御電文(占有要求電文)を送信する(ステップ10
1)。サブホストプロセッサ30では、端末40工の状
態なキューQ□でチエツクしくステップ2o1)、当該
端末401が既に他のホストプロセッサで占有されてい
ると、該ホストプロセッサ102の端末占有要求をキュ
ーQ工にセラ1−シて占有要求処理を終了とする(ステ
ップ203)。その後、端末40iの占有状態が解放さ
れると、サブホストプロセッサ30は、キューQ□の端
末占有要求を受付は順に処理し、ポストプロセッサ10
2の端末占有要求に来ると、受諾の応答電文をホストプ
ロセッサ102に返す(ステップ202)。これを受信
してホストプロセッサ302は業務電文を作成し、端末
40□に対して送信する(ステップ102)。
On the other hand, when a business processing request for the terminal 401 occurs in the host processor 102, it transmits a control message (occupation request message) indicating that the terminal 401 will be occupied (step 10
1). In the sub-host processor 30, check the queue Q□ in the state of the terminal 40 (step 2o1). If the terminal 401 is already occupied by another host processor, the terminal occupancy request of the host processor 102 is sent to the queue Q. Then, the occupancy request process is terminated (step 203). Thereafter, when the occupied state of the terminal 40i is released, the sub-host processor 30 accepts and processes the terminal occupation requests in the queue Q□, and the post-processor 10
When the second terminal occupation request is received, a response message of acceptance is returned to the host processor 102 (step 202). Upon receiving this, the host processor 302 creates a business message and sends it to the terminal 40□ (step 102).

このように、ホストプロセッサから端末へ業務電文を送
信する前に、該ホストプロセッサが端末を占有する制御
電文を送信することにより、ホストプロセッサにおいて
業務電文を送信バッファに保持して、それが受信可能と
なるまでり1−ライ処理を行うことなく、サブホストプ
ロセッサに接続される共用端末を制御することができる
In this way, before sending a business message from the host processor to the terminal, the host processor sends a control message that occupies the terminal, so that the host processor can hold the business message in the transmission buffer and receive it. It is possible to control the shared terminal connected to the sub-host processor without performing one-line processing.

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

以上述べた様に、本発明によれば、複数のホストプロセ
ッサからサブホストプロセッサに接続される共用端末へ
業務電文を送信する前に、該端末を占有する旨の制御電
文を送信して端末の占有状態を確認することにより、業
務電文を送信バッファにセットした状態でりトライ処理
を繰返す必要がなくなるので、ホス1〜プロセツサにお
いて、リトライ処理によるオーバーヘットの削減および
メモリ使用効率の向上の効果がある。
As described above, according to the present invention, before sending a business message from a plurality of host processors to a shared terminal connected to a sub-host processor, a control message indicating that the terminal will be occupied is sent, and the terminal is occupied. By checking the status, there is no need to repeat the try process while the business message is set in the transmission buffer, which has the effect of reducing overhead due to retry process and improving memory usage efficiency in the host 1 to processor. .

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

第1図は本発明の端末制御方式を適用するシステムの構
成例を示す図、第2図はホストプロセッサ、サブホスト
プロセッサ、端末間での電文の送受信態様の一例を示す
図、第3図はホス1へプロセラとサブプロセッサ間で送
受信される電文のフォーマット例を示す図、第4図は本
発明によるホストプロセッサとサブホストプロセッサで
の処理フロー例を示す図である。 10□〜10.・・・ホストプロセッサ。 20・・・伝送網、  30 ・サブホストプロセッサ
、4.01〜40n一端末、 Q□〜Q、・・処理要求キー 第4区
FIG. 1 is a diagram showing an example of the configuration of a system to which the terminal control method of the present invention is applied. FIG. 1 is a diagram showing an example of the format of a message sent and received between the processor and the sub-processor, and FIG. 4 is a diagram showing an example of the processing flow between the host processor and the sub-host processor according to the present invention. 10□~10. ...host processor. 20...Transmission network, 30 - Sub-host processor, 4.01~40n one terminal, Q□~Q,... Processing request key 4th section

Claims (3)

【特許請求の範囲】[Claims] (1)複数のホストプロセッサと、これらホストプロセ
ッサと伝送網を介して接続されるサブホストプロセッサ
と、このサブホストプロセッサに接続される端末より成
り、ホストプロセッサがサブホストプロセッサを介して
端末へ業務電文を送信し、一時的に端末を占有して業務
処理を行う処理システムにおいて、 サブホストプロセッサは、自分に接続される端末の占有
状態を管理し、 ホストプロセッサは端末に業務電文を送信するに先立っ
て、当該端末を占有する旨の制御電文を送信し、サブホ
ストプロセッサから受諾の応答電文を受信した後、業務
電文を送出することを特徴とする端末制御方式。
(1) Consists of multiple host processors, a sub-host processor connected to these host processors via a transmission network, and a terminal connected to the sub-host processor, and the host processor sends business messages to the terminal via the sub-host processor. However, in a processing system that temporarily occupies a terminal to perform business processing, the sub-host processor manages the occupancy status of the terminal connected to itself, and the host processor manages the occupancy status of the terminal connected to it, and the host processor A terminal control method characterized by transmitting a control message indicating that the terminal is occupied, receiving a response message of acceptance from a sub-host processor, and then transmitting a business message.
(2)前記サブホストプロセッサは、あるホストプロセ
ッサから端末を占有する旨の制御電文を受信し、当該端
末が他のホストプロセッサで占有されていないと、該端
末を占有状態にして前記ホストプロセッサに受諾の応答
電文を返し、一連の業務処理終了後、前記ホストプロセ
ッサから端末占有状態を解放する旨の制御電文を受信し
て、当該端末の占有状態を解放することを特徴とする請
求項(1)記載の端末制御方式。
(2) The sub-host processor receives a control message from a certain host processor to the effect that the terminal is to be occupied, and if the terminal is not occupied by another host processor, the sub-host processor places the terminal in an occupied state and accepts the control message from the host processor. Claim (1) characterized in that, after a series of business processes are completed, a control message to release the occupied state of the terminal is received from the host processor, and the occupied state of the terminal is released. The terminal control method described.
(3)前記サブホストプロセッサは、あるホストプロセ
ッサから端末を占有する旨の制御電文を受信し、当該端
末が他のホストプロセッサで占有されていると、前記制
御電文をキューイングしておき、当該端末の占有状態が
解放されると、前記ホストプロセッサに受諾の応答電文
を返すことを特徴とする請求項(2)記載の端末制御方
式。
(3) The sub-host processor receives a control message indicating that a terminal is to be occupied from a certain host processor, and if the terminal is occupied by another host processor, the sub-host processor queues the control message and 3. The terminal control system according to claim 2, wherein when the occupied state of the terminal is released, a response message of acceptance is returned to the host processor.
JP63319845A 1988-12-19 1988-12-19 Terminal control system Pending JPH02165253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63319845A JPH02165253A (en) 1988-12-19 1988-12-19 Terminal control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63319845A JPH02165253A (en) 1988-12-19 1988-12-19 Terminal control system

Publications (1)

Publication Number Publication Date
JPH02165253A true JPH02165253A (en) 1990-06-26

Family

ID=18114863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63319845A Pending JPH02165253A (en) 1988-12-19 1988-12-19 Terminal control system

Country Status (1)

Country Link
JP (1) JPH02165253A (en)

Similar Documents

Publication Publication Date Title
US5175732A (en) Method and apparatus for controlling data communication operations within stations of a local-area network
JPS6358418B2 (en)
JPH0567092B2 (en)
JPH02165253A (en) Terminal control system
KR0165440B1 (en) Polling communication method
JP3799741B2 (en) Bus controller
JP2001325212A (en) Method and device for transmitting data block from source processor to destination processor in multiprocessor system
JPH0381852A (en) Connection control system
JPH08202665A (en) Inter-computer coupling device of loosely coupled computer
JPH01161562A (en) Data resending system of data transferring network
JPH04264853A (en) Data communication system
JPS63169149A (en) Dynamic transmission schedule system
JPS63299627A (en) Multiple address communicating method
JP2001256171A (en) Data transfer method and module
JPH0581213A (en) Distributed processing system
JPH01154275A (en) Control system for communication between parallel computers
JPH0136740B2 (en)
JPH06326717A (en) Bus type communication equipment
JPH0626368B2 (en) Communication control method and communication adapter
JPS60177748A (en) Circuit controlling system
JPS6086643A (en) Local area network system
JPH0198061A (en) Repeating installation
JPS63135037A (en) Establishing method for data link
JPH0553948A (en) Inter-process communication system
JPS59119439A (en) Buffer busy avoiding system