JPS63227146A - Transmission block number control system in polling system - Google Patents

Transmission block number control system in polling system

Info

Publication number
JPS63227146A
JPS63227146A JP62061757A JP6175787A JPS63227146A JP S63227146 A JPS63227146 A JP S63227146A JP 62061757 A JP62061757 A JP 62061757A JP 6175787 A JP6175787 A JP 6175787A JP S63227146 A JPS63227146 A JP S63227146A
Authority
JP
Japan
Prior art keywords
transmission
terminal
blocks
control
executed
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
JP62061757A
Other languages
Japanese (ja)
Inventor
Toshio Ueda
上田 壽雄
Hiroaki Iwasaki
岩崎 浩明
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.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP62061757A priority Critical patent/JPS63227146A/en
Publication of JPS63227146A publication Critical patent/JPS63227146A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain a control which can inquire whether a transmission from a terminal equipment exists in a prescribed segment or not, by suspending the transmission at the time when a continuous transmission block number reaches a prescribed value, and executing a control so as to execute the transmission to the terminal equipment which has suspended the transmission, after a transmission processing of once is brought to a reception processing. CONSTITUTION:In a branching line connecting plural terminal equipments, as for a transmission which exceeds the number of blocks of a continuous transmission of once, which is regulated at every line, a terminal controller suspends its transmission. After this suspension, the transmission processing or the reception processing of at least once is executed to all terminal equipments including the terminal equipment which has suspended the transmission, thereafter, a control is executed so as to execute the transmission to the terminal equipment which has suspended the transmission. Accordingly, at every prescribed breakpoint, polling can be executed, and such an inconvenience as an emergency transmission cannot be executed readily due to long continuous blocks is obviated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はポーリング方式における送信ブロック数制御方
式、特に、制御装置から連続に送信ブロックを送出する
場合におけるポーリング方式における送信ブロック数制
御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for controlling the number of transmission blocks in a polling method, and particularly to a method for controlling the number of transmission blocks in a polling method when transmitting blocks are continuously transmitted from a control device.

〔従来の技術〕[Conventional technology]

従来、第2図にシステム構成を示すように、計算機また
は端末制御装置などの制御装置に複数の端末装置が分触
方式で接続された回線において、制御装置から端末装置
に対して順次送信要求の有無を間合わせる伝送制御方式
が多用されている。
Conventionally, as shown in the system configuration shown in Figure 2, in a line in which multiple terminal devices are connected to a control device such as a computer or terminal control device in a separate manner, the control device sequentially sends transmission requests to the terminal devices. Transmission control methods that adjust the presence/absence are often used.

この方式は一般にポーリング方式と云われ、例えば端末
装置番号を指定して間合わせ、送信要求が有の場合には
データの送信を行なわせ、無の場合にはEOT(伝送終
了)を送信させている。
This method is generally referred to as a polling method, and for example, a terminal device number is specified and a time is made, and if there is a transmission request, data is transmitted, and if there is no transmission request, an EOT (end of transmission) is transmitted. There is.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、上述した従来のポーリング方式では制御装置か
ら端末装置へのデータの送信を優先して行ない、この送
信要求が無くなると制御装置から端末装置へ送信要求の
有無の問合せを行なっている。従って制御装置から連続
してデータの送信要求が出されると端末装置への問合せ
を行なうことができなくなシ、端末装置から制御装置へ
のデータ送信ができなくなると云う欠点を有している。
However, in the conventional polling method described above, priority is given to data transmission from the control device to the terminal device, and when this transmission request disappears, the control device inquires of the terminal device as to whether there is a transmission request. Therefore, if data transmission requests are issued continuously from the control device, it becomes impossible to make inquiries to the terminal device, and data transmission from the terminal device to the control device becomes impossible.

本発明の目的はポーリング方式を適用した回線に対し、
制御装置はこの回線に送信する連続した送信ブロック数
を、規定した一定数に区切って、区切シ目に端末装置の
端末装置からの送信の有無を間合せることのできるポー
リング方式における送信ブロック数制御方式を提供する
ことにある。
The purpose of the present invention is to
The control device divides the number of consecutive transmission blocks to be transmitted to this line into a predetermined fixed number, and controls the number of transmission blocks using a polling method that can determine whether or not there is transmission from the terminal device at the division interval. The goal is to provide a method.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のポーリング方式における送信ブロック数制御方
式は、複数の端末装置を分岐回線を介して接続した制御
装置の伝送制御において、制御装置からの連続送信ブロ
ックのブロック数を計数し、この計数値が回線対応に規
定した連続送信ブロック数に達したとき送信を中断し、
この中断後に送信を中断した端末装置を含む全ての端末
装置に対して少なくとも1回の送信処理か受信処理かを
行なった後に前記の送信を中断した端末装置への送信を
行なうことによ多構成される。
The transmission block number control method in the polling method of the present invention counts the number of consecutive transmission blocks from the control device in transmission control of a control device in which a plurality of terminal devices are connected via a branch line. Transmission is interrupted when the number of consecutive transmission blocks specified for the line is reached,
After this interruption, transmission processing is performed at least once for all terminal devices including the terminal device that interrupted the transmission, and then the transmission is performed to the terminal device that interrupted the transmission. be done.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成図で、第2図に示した
端末制御装置が一つの分岐回線を介して複数の端末装置
と通信を行なう場合を示している。
FIG. 1 is a block diagram of an embodiment of the present invention, showing a case where the terminal control device shown in FIG. 2 communicates with a plurality of terminal devices via one branch line.

第1図はI10選択処理部1と終了処理部2とデータ送
信処理部3とデータ受信処理部4とから構成される。
FIG. 1 is composed of an I10 selection processing section 1, a termination processing section 2, a data transmission processing section 3, and a data reception processing section 4.

第1表および第2表は端末制御装置内の記憶装置に設け
られた回線制御用テーブルおよび回線対応に設けられた
装置制御用テーブルである。
Tables 1 and 2 are a line control table provided in the storage device in the terminal control device and a device control table provided corresponding to the line.

第1表 第2表 第3図、第4図および第5図は第1図のそれぞれI10
選択処理部1.データ送信処理部2.およびデータ受信
処理部4のそれぞれにおいて実行されるプログラムのフ
ローチャートで、以下第3図、第4図および第5図を参
照し、第1表および第2表のフィールド名を用いて第1
図の動作を説明する。
Table 1 Table 2 Figures 3, 4 and 5 are I10 of Figure 1, respectively.
Selection processing unit 1. Data transmission processing unit 2. 3, 4 and 5 below, and using the field names in Tables 1 and 2,
The operation of the diagram will be explained.

先ず、I10選択処理部1においては、1つの端末装置
(UCB)について送信すべきデータがあるか否かを判
断しくステップ■)、送信データが有ればその回線のL
CBCとそのUCBのUCBAとの値とを比較する(ス
テップ■)。そこでLCBCとUCBAとの値が等しけ
ればこの前の送信で連続送信を行なってブロック数が規
定値に達した次の送信要求であることを意味しておシ、
この回線対応のUCBの全てについてステップ■および
■のチェックが一巡し72:かを調べる(ステップ■)
。ここでステップ■および■がチェックされていないU
eBが有るときは次のUCBを指定してステップ■に戻
る(ステップ■)。ところでステップ■で送信すべきデ
ータがないときはデータ受信処理部4へ進む。1だステ
ップ■でUCBAがLCj3Cの値と異なるとき(通常
LCBAは101)はデータ送信処理部3へ進む。なお
またステップ■でLICBのチェックが一巡してンれば
ジせブが終了しているか否かをチェックしくステップ■
)、終了していれば終了処理部2へ、終了していなけれ
ばデータ受信処理部4へ進む。
First, in the I10 selection processing unit 1, it is determined whether there is data to be transmitted for one terminal device (UCB) (step 2), and if there is data to be transmitted, the L of that line is
The CBC is compared with the value of the UCB and the UCBA (step ■). Therefore, if the values of LCBC and UCBA are equal, it means that the previous transmission is the next transmission request in which the number of blocks has reached the specified value due to continuous transmission.
Steps ■ and ■ have been checked for all UCBs compatible with this line, and 72: Check (step ■)
. Here steps ■ and ■ are unchecked
If there is an eB, specify the next UCB and return to step (2) (step (2)). By the way, if there is no data to be transmitted in step (2), the process advances to the data reception processing section 4. If UCBA is different from the value of LCj3C (normally LCBA is 101) at step (1), the process proceeds to data transmission processing section 3. In addition, if the LICB check completes in step ■, check whether the jisebu is finished or not.
), if the process has been completed, the process proceeds to the completion processing section 2; if not, the process proceeds to the data reception processing section 4.

次にデ−タ受信処理部3においては、I10選択処理部
1のステップのによ5UCBが指定されて送信要求が与
えられると、先ず記憶装置内の送信データの選択処理を
行ない(ステップ■)、次にlブロックの送信を行なり
て(ステップ■)、LCBBに1を加算する(ステップ
■)。次いでこのLCBBの値とLCBAO値とを比較
し、連続送信ブロック数が送信回数の規定値に達してい
ないかを調べる(ステップ■)。LCBBの値がLCB
Aの値より小さければ、次に送信したブロックが最終の
送信ブロックかを潤ぺ(ステップ[相]〕、最終のブロ
ックであればEOTの送信処理を行なう(ステップ■)
。次にEOTの送信処理が最終のブロックに続いたもの
であるかを調べるためLCBAとLCBBとの値を比較
しくステップ@)、LCBAの値の方が大きければ、L
CBBの値を”0゛とじて(ステップ@)、1連のデー
タ送信処理を終る。ところでステップ■でLCBAとL
CBBとの値が等しければ、連続送信ブロック数が規定
値に達したとしてLCBCの値を送信したUCBのUC
BAに記録しくステップ■)、ステップ■へ進む。また
ステップ@て最後の送信ブロックでなければステップ■
へ戻って、次の送信ブロックの送信を続ける。なおまた
ステップ■においてLCBAとLCBBとの値が等しい
ときは、既にステップ■からステップ■七経て送信の中
断の場合であるので直ちに1遅のデータ送信処理を終る
Next, in the data reception processing section 3, when the 5 UCB is specified and a transmission request is given in step I10 selection processing section 1, first, the transmission data in the storage device is selected (step 2). , then transmits l blocks (step ■), and adds 1 to LCBB (step ■). Next, the value of LCBB and the value of LCBAO are compared to check whether the number of consecutive transmission blocks has reached the specified value of the number of transmissions (step 2). The value of LCBB is LCB
If it is smaller than the value of A, check whether the next transmitted block is the final transmission block (step [phase]), and if it is the final block, perform EOT transmission processing (step ■).
. Next, compare the values of LCBA and LCBB to check whether the EOT transmission process is the one following the last block. If the value of LCBA is larger, then L
The value of CBB is set to "0" (step @), and one series of data transmission processing is completed.By the way, in step ■, LCBA and L
If the values are equal to CBB, it is assumed that the number of consecutive transmission blocks has reached the specified value, and the UC of the UCB that transmitted the LCBC value.
Record it in BA (step ■) and proceed to step ■. Also, if step @ is not the last sending block, step ■
Return to and continue transmitting the next transmission block. Furthermore, if the values of LCBA and LCBB are equal in step (2), it means that the transmission has already been interrupted seven times from step (2) to step (2), so the one-delay data transmission process is immediately terminated.

次にデータ受信処理部4においては、工10選択処理部
1のステップ■で1つのUCBに送信要求がない場合と
、そのUCHに送信要求があっても連続送信ブロックが
規定値に達しているときステップ■、■および■を経て
起動される場合とから起動され、何れの場合も先ずUC
BAの値を“0°′とする(ステップ[相])。これは
通常、ステップ■からの場合はこのUCBに対して既に
UCBA。
Next, in the data reception processing unit 4, in step 1 of the selection processing unit 1, if there is no transmission request for one UCB, and even if there is a transmission request for that UCH, the number of consecutive transmission blocks has reached the specified value. When it is started after steps ■, ■, and ■, in either case, first
Set the value of BA to "0°' (step [phase]). This usually means that from step (2), it is already UCBA for this UCB.

値は′0゛°であるが、ステップ■からの場合はLeB
Cの値が入れられているので次の送信を可能とするだめ
のものである。次いで通常のブロック受信処理、即ちそ
のUCBKポーリングを行ない、必要に応じて送信させ
制御装置で受信させる処理を行ない(ステップ[有])
、I10選択処理部工に戻る。
The value is '0゛°, but from step ■, LeB
Since the value of C has been entered, it is a temporary item that enables the next transmission. Next, normal block reception processing, that is, UCBK polling, is performed, and if necessary, processing is performed to have the block transmitted and received by the control device (step [Yes]).
, return to I10 selection processing section.

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

以上説明したように本発明によれば、複数の端末装置を
接続した分岐回線において、回線ごとに一回の連続送信
ブロック数を規定し、このブロック数を越える送信につ
いては複数の端末装置への少なくとも1回のポーリング
を行なってから、続く送信ブロックの送信を行なうこと
ができるので、制御装置からの長い送信ブロックにより
端末装置からの送信、特に緊急送信が仲々できないと云
うことを解消できると云う効果がある。
As explained above, according to the present invention, in a branch line connecting a plurality of terminal devices, the number of consecutive transmission blocks is defined for each line, and transmissions exceeding this number of blocks are sent to the plurality of terminal devices. Since the next transmission block can be transmitted after polling is performed at least once, it is possible to eliminate the problem of long transmission blocks from the control device preventing terminal devices from transmitting, especially emergency transmissions. effective.

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

第1図は本発明の一実施例の構成図、第2図は本発明が
適用されるシステム構成図、第3図は本発明の構成要件
であるI10選択処理のフローチャート、第4図は本発
明の構成要件であるブロック送信処理のフローチャート
、第5図は本発明の構成要件であるブロック受信処理の
フローチャートである。 1・・・・・・I10選択処理部、2・・・・・・終了
処理部、3・・・・・・データ送信処理部、4・・・・
・・データ受信処理部。 fi3図 ガ4 回    万5記
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a system configuration diagram to which the present invention is applied, FIG. 3 is a flowchart of I10 selection processing, which is a component of the present invention, and FIG. FIG. 5 is a flowchart of block transmission processing, which is a component of the invention. FIG. 5 is a flowchart of block reception processing, which is a component of the invention. 1... I10 selection processing section, 2... Termination processing section, 3... Data transmission processing section, 4...
...Data reception processing unit. fi3 figure 4 times 5000

Claims (1)

【特許請求の範囲】[Claims] 複数の端末装置を分岐回線を介して接続した制御装置の
伝送制御において、制御装置からの連続送信ブロックの
ブロック数を計数し、この計数値が回線対応に規定した
連続送信ブロック数に達したとき送信を中断し、この中
断後に送信を中断した端末装置を含む全ての端末装置に
対して少なくとも1回の送信処理か受信処理かを行なっ
た後に前記の送信を中断した端末装置への送信を行なう
ことを特徴とするポーリング方式における送信ブロック
数制御方式。
In transmission control of a control device that connects multiple terminal devices via a branch line, when the number of consecutive transmission blocks from the control device is counted and this count reaches the number of consecutive transmission blocks specified for line support. After interrupting the transmission, performing at least one transmission process or reception process on all terminal devices including the terminal device that interrupted the transmission, and then transmitting to the terminal device that interrupted the transmission. A transmission block number control method in a polling method characterized by the following.
JP62061757A 1987-03-16 1987-03-16 Transmission block number control system in polling system Pending JPS63227146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62061757A JPS63227146A (en) 1987-03-16 1987-03-16 Transmission block number control system in polling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62061757A JPS63227146A (en) 1987-03-16 1987-03-16 Transmission block number control system in polling system

Publications (1)

Publication Number Publication Date
JPS63227146A true JPS63227146A (en) 1988-09-21

Family

ID=13180345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62061757A Pending JPS63227146A (en) 1987-03-16 1987-03-16 Transmission block number control system in polling system

Country Status (1)

Country Link
JP (1) JPS63227146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630533A (en) * 2014-11-26 2016-06-01 慧荣科技股份有限公司 Electronic device capable of updating firmware and firmware downloading method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630533A (en) * 2014-11-26 2016-06-01 慧荣科技股份有限公司 Electronic device capable of updating firmware and firmware downloading method thereof

Similar Documents

Publication Publication Date Title
JPS61253572A (en) Load distributing system for loose coupling multi-processor system
US5301308A (en) Method for synchronizing redundant operation of coupled data processing systems following an interrupt event or in response to an internal command
JPS63227146A (en) Transmission block number control system in polling system
JP2550811B2 (en) Communication control method
JPH05153192A (en) High-speed transition signal communication system
JPH06164603A (en) Transmission system for time division multiplex transmitting device
JPS63300326A (en) Transaction execution schedule system
JPS6266360A (en) Priority control system
JP3422401B2 (en) Redundant controller
JPH04329443A (en) Task control system
JPH0594386A (en) File transfer method
JPS6149270A (en) Input/output control system of multiprocessor
JPS63137346A (en) Buffer control system for data transfer
JPH02293954A (en) Right-of-using control method for storage device
JPS62135951A (en) Network system
JPS62111340A (en) Communication control system
JPH02181250A (en) Arbitrating system for burst transfer of common bus
JPS63188258A (en) Data transfer system
JPH0431421B2 (en)
JPS63184137A (en) Analyzing system for abnormally completion information in information processing system
JPH02156749A (en) Access system for local area network
JPS60204062A (en) Multidata processing system
JPH0567097B2 (en)
JPH02173855A (en) Peripheral controller
JPH01102640A (en) Remote maintenance system for computer system