Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH026464B2 - - Google Patents
[go: Go Back, main page]

JPH026464B2 - - Google Patents

Info

Publication number
JPH026464B2
JPH026464B2 JP57200132A JP20013282A JPH026464B2 JP H026464 B2 JPH026464 B2 JP H026464B2 JP 57200132 A JP57200132 A JP 57200132A JP 20013282 A JP20013282 A JP 20013282A JP H026464 B2 JPH026464 B2 JP H026464B2
Authority
JP
Japan
Prior art keywords
time
data
timer
received
terminal device
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.)
Expired
Application number
JP57200132A
Other languages
Japanese (ja)
Other versions
JPS5990442A (en
Inventor
Noboru Yamamoto
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 JP57200132A priority Critical patent/JPS5990442A/en
Publication of JPS5990442A publication Critical patent/JPS5990442A/en
Publication of JPH026464B2 publication Critical patent/JPH026464B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明はポーリングシステムにおいてデータの
送受信を制御する通信制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a communication control device that controls data transmission and reception in a polling system.

(b) 従来技術と問題点 複数の端末装置が通信制御装置を介してセンタ
ーの主処理装置に結ばれたシステムにおいて、通
信制御装置から端末側へポーリング(Polling)
信号を発したのち、通信制御装置は端末側から送
出されるデータの有無の監視を行う。この時間監
視手段として、データの最大ブロツク(システム
で定められている)を受信に要する時間を越える
時間が設定されたタイマを設け、ポーリング信号
の発信後、このタイマを起動せしめ、タイマが設
定された時間に達してもデータを受信しない場
合、無応答とみなす方法が採られていた。この従
来方法は、タイマの設定時間が大となるので無通
信状態の検出に時間を要する欠点があつた。これ
を改良するため、無通信状態検出用の第2のタイ
マを設け、受信データの連続するビツト数を検出
することにより、無通信状態の検出を行う方法が
採られている。しかしこの方法により受信データ
の有無の早期検出は可能となるが、タイマを2個
必要とし回路構成が大となる欠点があつた。
(b) Prior art and problems In a system in which multiple terminal devices are connected to the main processing unit of a center via a communication control device, polling from the communication control device to the terminal side is performed.
After issuing the signal, the communication control device monitors the presence or absence of data sent from the terminal side. As a means for monitoring this time, a timer is set to a time that exceeds the time required to receive the maximum block of data (defined by the system), and after the polling signal is sent, this timer is started and the timer is set. If no data was received within a specified time, a method was adopted in which it was assumed that there was no response. This conventional method has the disadvantage that it takes time to detect a non-communication state because the timer setting time is long. In order to improve this problem, a method has been adopted in which a second timer for detecting a non-communication state is provided and the non-communication state is detected by detecting the number of consecutive bits of received data. However, although this method enables early detection of the presence or absence of received data, it has the disadvantage that two timers are required and the circuit configuration becomes large.

(c) 発明の目的 本発明は上記の欠点を解決するためになされた
もので、受信データの有無の検出を容易とする通
信制御装置の提供を目的とする。
(c) Purpose of the Invention The present invention has been made to solve the above-mentioned drawbacks, and an object of the present invention is to provide a communication control device that facilitates detection of the presence or absence of received data.

(d) 発明の構成 本発明は端末装置と通信回路を介して結ばれ、
呼出信号に応えた該端末装置が発する最大ブロツ
ク長が定められたデータを受信する通信制御装置
であつて、タイマと、該タイマに第1の時間を設
定して起動する第1の時間設定手段と、該タイマ
に前記最大ブロツク長のデータの受信に要する時
間を越える第2の時間を設定して起動する第2の
時間設定手段と、前記受信データの有無を検出す
る判別手段とを備え、所定の順位で決定する1つ
の前記端末装置に前記呼出信号を送信後、前記第
1の時間設定手段によつて該タイマを起動し、該
タイマが第1の時間の経過を計時し終わつたと
き、該端末装置からデータを未受信か受信中かを
前記判別手段によつて判別し、データ未受信であ
れば、前記順位の次の端末装置に対する前記呼出
信号の送信を開始し、データ受信中であれば、前
記第2の時間設定手段によつて該タイマを起動
し、該タイマが第2の時間の経過を計時し終わつ
た後、前記順位の次の端末装置に対する前記呼出
信号の送信を開始することを特徴とする通信制御
装置である。以上のように本発明は、時間監視用
の1個のタイマを設け、ポーリング(呼出)信号
送出直後には、このタイマに第1の時間を設定
し、この時間経過後に受信データの有無を判別
し、もしデータが受信中であれば、今度はタイマ
に第2の時間(最大ブロツク長の受信に要する時
間を越える時間)を設定して、受信状態を監視す
るように図つたものである。タイマに設定される
第1の時間は、モデム及び通信回路の遅延時間を
考慮して設定され、第2の時間に較べ極めて短か
い時間である。第1の時間内にデータの受信が完
了すればその時点でタイマをストツプし、別の端
末装置へポーリング信号を送出すれば良い。この
様にすることにより無通信状態の検出時間を短縮
することが可能となる。
(d) Structure of the invention The present invention is connected to a terminal device via a communication circuit,
A communication control device that receives data with a predetermined maximum block length issued by the terminal device in response to a paging signal, the communication control device including a timer and a first time setting means for setting and activating the first time in the timer. and a second time setting means for setting and activating the timer a second time exceeding the time required to receive data of the maximum block length, and a determining means for detecting the presence or absence of the received data, After transmitting the call signal to one of the terminal devices determined in a predetermined order, the first time setting means starts the timer, and when the timer finishes counting the elapse of the first time. , the determining means determines whether data has not been received or is being received from the terminal device, and if data has not been received, starts transmitting the paging signal to the terminal device next in the order, and the terminal device is receiving data. If so, start the timer by the second time setting means, and after the timer finishes counting the elapse of the second time, transmit the paging signal to the terminal device next in the order. This is a communication control device characterized in that: As described above, the present invention provides one timer for time monitoring, sets a first time in this timer immediately after sending a polling (calling) signal, and determines whether there is received data after this time elapses. However, if data is being received, a second time (time that exceeds the time required to receive the maximum block length) is set in the timer to monitor the reception status. The first time set in the timer is set in consideration of the delay time of the modem and the communication circuit, and is extremely short compared to the second time. If data reception is completed within the first time period, the timer may be stopped at that point and a polling signal may be sent to another terminal device. By doing so, it becomes possible to shorten the detection time of a non-communication state.

(e) 発明の実施例 以下、本発明を図面によつて説明する。第1図
は本発明の一実施例を説明するブロツク図であ
る。第1図における端末装置A〜Zはモデム(図
示せず)、通信回路1によつて通信制御装置2に
結ばれている。通信制御装置2は副処理装置3、
ローカルメモリ4、制御部5及びタイマCを内蔵
する。通信制御装置2から端末装置A〜Zに対
し、所定の呼出順位で1端末装置ごとにポーリン
グ信号Pを発し、これに応答した端末装置(A〜
Z)からデータDが送出されてくるが、通信制御
装置2は、データ着信までの時間監視を行う必要
がある。このため時間監視用のタイマが必要とな
るが、本発明は1個のタイマCにより、受信デー
タの検出及びデータの受信終了の検出を可能とす
るものである。第1図において、処理部6は、ロ
ーカルメモリ4のメモリ部M1をクリアしたのち
ポーリング信号Pを発すると共に、タイマCに時
間T1を設定する。この時間T1は前述した如く通
信遅延を考慮して設定されるもので、少なくとも
端末側のポーリング応答データの先頭ブロツク
(フレーム)が受信できる時間である。尚、実施
例では数フレームの応答データが受信可能な時間
が設定されている。ポーリング信号Pに応答した
端末装置(例えば)AからデータDを受信した場
合、1バイト受信する度にハードウエアにてロー
カルメモリ4のレングスmをアツプダウンカウン
タ12にセツトし、+1した後マルチプレクサ1
0を経てローカルメモリ4にレングスm+1を格
納しておく。処理部6はタイマCが所定時間に達
したとき、ローカルメモリ4のメモリ部M1にア
クセスして読出しを行う。読出されたデータが
「0」(レングスがゼロ)の場合は、データは未受
信中であるので、処理部6は別の端末装置にポー
リングを送出した後でタイマCに再び時間T1
設定する。これにより再び回線監視(受信データ
の到来の有無)が続行されることになる。これに
対しメモリ4のメモリ部M1から読出されたデー
タが「0」でない場合は、データ受信中を示すの
で、処理部6は、今度はタイマCに時間T2を設
定する。この時間T2は最大ブロツク長のデータ
の受信に要する時間を越える時間である。従つて
カウンタCが時間T2を経過後に、処理部6がロ
ーカルメモリ4のメモリ部M1内のデータ(ブロ
ツク長)を調べることにより、データの受信終了
を検出することができる。
(e) Examples of the invention The present invention will be explained below with reference to the drawings. FIG. 1 is a block diagram illustrating one embodiment of the present invention. Terminal devices A to Z in FIG. 1 are connected to a communication control device 2 by a modem (not shown) and a communication circuit 1. The terminal devices A to Z in FIG. The communication control device 2 includes a sub-processing device 3,
It incorporates a local memory 4, a control section 5, and a timer C. The communication control device 2 issues a polling signal P to each terminal device in a predetermined calling order to the terminal devices A to Z.
Although the data D is sent from the terminal Z), the communication control device 2 needs to monitor the time until the data arrives. For this reason, a timer for time monitoring is required, but in the present invention, one timer C can detect received data and detect the end of data reception. In FIG. 1, the processing section 6 issues a polling signal P after clearing the memory section M1 of the local memory 4, and sets a timer C to a time T1 . This time T1 is set in consideration of communication delay as described above, and is a time during which at least the first block (frame) of polling response data on the terminal side can be received. Note that in the embodiment, a time is set during which several frames of response data can be received. When data D is received from a terminal device (for example) A that responded to the polling signal P, each time a byte is received, the length m of the local memory 4 is set in the up-down counter 12, and after incrementing it by 1, the multiplexer 1
The length m+1 is stored in the local memory 4 through 0. When the timer C reaches a predetermined time, the processing section 6 accesses the memory section M1 of the local memory 4 to read data. If the read data is "0" (length is zero), the data is not being received, so the processing unit 6 sets time T 1 again in the timer C after sending polling to another terminal device. do. As a result, line monitoring (whether or not received data has arrived) is continued again. On the other hand, if the data read from the memory section M1 of the memory 4 is not "0", this indicates that data is being received, so the processing section 6 sets the timer C to the time T2 . This time T2 is the time that exceeds the time required to receive data of the maximum block length. Therefore, after the time T2 has elapsed on the counter C, the processing section 6 checks the data (block length) in the memory section M1 of the local memory 4, thereby detecting the end of data reception.

第2図及び第3図は以上の動作を説明するタイ
ムチヤートである。第2図は、タイマCに時間
T1を設定し、この時間T1経過後もデータを受信
しなかつた場合の例である。第2図において、第
1図の処理部6は時刻t1にポーリング信号P1を送
信回線Sへ送出すると共に、タイマCに時間T1
を設定したのち、これを起動せしめる。この時間
T1の経過後の時刻t4に、処理部6はローカルメモ
リ6のメモリ部M1を調べる。第2図dに破線で
示すように、受信データが無し(メモリM1のレ
ングスがゼロ)の場合、処理部6は無応答とみな
し別の端末装置に対してポーリング信号P2を送
信回線Sへ送出すると共にタイマCに再び時間
T1を設定したのち、これを起動せしめる。これ
に対し受信データが検出された場合の例を第3図
に示す。
FIGS. 2 and 3 are time charts explaining the above operation. Figure 2 shows timer C
This is an example of a case where T 1 is set and no data is received even after this time T 1 has elapsed. In FIG. 2, the processing unit 6 in FIG .
After setting it up, start it. this time
At time t 4 after T 1 has elapsed, the processing unit 6 examines the memory section M 1 of the local memory 6 . As shown by the broken line in FIG. 2d, if there is no received data (the length of memory M1 is zero), the processing unit 6 regards it as a non-response and sends a polling signal P2 to another terminal device via the transmission line S. At the same time, the time is sent to timer C again.
After setting T 1 , start it. On the other hand, an example in which received data is detected is shown in FIG.

第3図において処理部6は、時刻t1にポーリン
グ信号P1を発信後、タイマCに時間T1を設定し
て、これを起動せしめる。ポーリング信号P1
応答した端末装置からのデータDは、第3図cに
示すように時刻t2に到来し、受信が開始される
と、第3図dに示すように時刻t3にメモリ部M1
にブロツクレングスBL(数値データ)が書込まれ
る。タイマCの設定時間T1を経過した時刻t4にメ
モリ部M1のデータを調べるとBL≠0なのでデー
タが受信中であることが判明する。これにより処
理部6は第3図bに示すように(時刻t5に)、タ
イマCに今度は時間T2を設定したのち、これを
起動させる。タイマCの設定時間T2は最大ブロ
ツク長のデータを受信する時間よりも長くしてあ
るため、設定時間T2の経過後即ち時刻t6ではデー
タ受信中であることはないはずであり、データ受
信を完了していれば、第3図に示すように、処理
部6は次の呼出順位の端末装置にポーリング信号
P2を送信し、又タイマCに時間T1を設定して起
動する。しかし、もしT2時間経過してなおデー
タ受信中であれば、処理部6はエラー状態と判断
し、所要のエラー処理を行つて端末装置からの送
信が停止した後、次の端末装置へのポーリング信
号送信を開始する。タイマCへの設定時間T1
T2とを、T1≪T2なる関係に選んでおけば、受信
データの検出時間は早くなり、また時間T2は、
最大ブロツク長のデータを受信するのに充分な大
きさなので、受信終了の検出を誤まることがな
い。
In FIG. 3, after transmitting the polling signal P1 at time t1 , the processing unit 6 sets a time T1 to the timer C and starts the timer C. Data D from the terminal device in response to the polling signal P1 arrives at time t2 as shown in FIG. 3c, and when reception is started, it is stored in the memory at time t3 as shown in FIG. Part M 1
Block length BL (numeric data) is written to. When the data in the memory unit M1 is checked at time t4 after the set time T1 of the timer C has elapsed, it is found that data is being received since BL≠0. As a result, the processing unit 6 sets the time T2 to the timer C (at time t5 ), and then starts the timer C, as shown in FIG. 3b (at time t5). Since the set time T2 of timer C is longer than the time to receive data of the maximum block length, it should not be receiving data after the set time T2 has elapsed, that is, at time t6 . If the reception has been completed, the processing unit 6 sends a polling signal to the next terminal device in the calling order, as shown in FIG.
P2 is sent, and timer C is set to time T1 and started. However, if data is still being received after T 2 hours, the processing unit 6 determines that it is in an error state, performs the necessary error processing, stops transmission from the terminal device, and then resumes transmission to the next terminal device. Start polling signal transmission. Set time T1 to timer C
If the relationship between T 2 and T 2 is selected such that T 1 ≪ T 2 , the detection time of received data will be faster, and the time T 2 will be
Since the size is sufficient to receive data of the maximum block length, there is no possibility of erroneously detecting the end of reception.

(f) 発明の効果 以上のように本発明は、時間監視用のカウンタ
が1個で済むため回路構成が簡略化されると共
に、無通信状態の検出時間が短かくて済むので、
端末装置へのポーリング周期が短縮され、データ
収集効率を向上できる利点を有する。
(f) Effects of the invention As described above, the present invention simplifies the circuit configuration because only one counter is required for time monitoring, and the time required to detect a non-communication state is short.
This has the advantage of shortening the polling cycle for terminal devices and improving data collection efficiency.

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

第1図は本発明の一実施例を説明するブロツク
図、第2図及び第3図は本発明の一実施例を説明
するタイムチヤートであり、図中用いた符号は次
の通りである。 1は通信回線、2は通信制御装置、3は副処理
装置、4はローカルメモリ、5は制御部、6は処
理部、7はトランシーバ、8はバス、9はドライ
バ、10,11はマルチプレクサ、12,15は
カウンタ、13,14はバツフア、16は主処理
装置、17は主メモリ、18は共通バス、A,Z
は端末装置、BLはブロツク長データ、Cはタイ
マ、Dはデータ、M1はブロツク長データが格納
されるメモリ部、M2はアドレスデータが格納さ
れるメモリ部、Pはポーリング信号、Rは受信回
線、Sは送信回線、T1,T2はカウンタCの設定
時間、t1,t2,t3,t4,t5は時刻を示す。
FIG. 1 is a block diagram for explaining one embodiment of the present invention, and FIGS. 2 and 3 are time charts for explaining one embodiment of the present invention. Reference symbols used in the figures are as follows. 1 is a communication line, 2 is a communication control device, 3 is a sub-processing device, 4 is a local memory, 5 is a control unit, 6 is a processing unit, 7 is a transceiver, 8 is a bus, 9 is a driver, 10 and 11 are multiplexers, 12 and 15 are counters, 13 and 14 are buffers, 16 is a main processing unit, 17 is a main memory, 18 is a common bus, A, Z
is a terminal device, BL is block length data, C is a timer, D is data, M1 is a memory section where block length data is stored, M2 is a memory section where address data is stored, P is a polling signal, and R is a S is the receiving line, S is the transmitting line, T 1 and T 2 are the set times of the counter C, and t 1 , t 2 , t 3 , t 4 and t 5 are the times.

Claims (1)

【特許請求の範囲】 1 端末装置と通信回路を介して結ばれ、呼出信
号に応えた該端末装置が発する最大ブロツク長が
定められたデータを受信する通信制御装置であつ
て、 タイマと、 該タイマに第1の時間を設定して起動する第1
の時間設定手段と、 該タイマに前記最大ブロツク長のデータの受信
に要する時間を越える第2の時間を設定して起動
する第2の時間設定手段と、 前記受信データの有無を検出する判別手段とを
備え、 所定の順位で決定する1つの前記端末装置に前
記呼出信号を送信後、前記第1の時間設定手段に
よつて該タイマを起動し、 該タイマが第1の時間の経過を計時し終わつた
とき、該端末装置からデータを未受信か受信中か
を前記判別手段によつて判別し、 データ未受信であれば、前記順位の次の端末装
置に対する前記呼出信号の送信を開始し、 データ受信中であれば、前記第2の時間設定手
段によつて該タイマを起動し、 該タイマが第2の時間の経過を計時し終わつた
後、前記順位の次の端末装置に対する前記呼出信
号の送信を開始することを特徴とする通信制御装
置。
[Scope of Claims] 1. A communication control device that is connected to a terminal device via a communication circuit and receives data with a defined maximum block length issued by the terminal device in response to a paging signal, comprising: a timer; The first step is to set the first time on the timer and start it.
a second time setting means for setting and activating a second time in the timer that exceeds the time required to receive data of the maximum block length; and a determining means for detecting the presence or absence of the received data. After transmitting the paging signal to one of the terminal devices determined in a predetermined order, the first time setting means starts the timer, and the timer measures the passage of the first time. When the terminal device is finished receiving data, the determining means determines whether data has not been received or is being received from the terminal device, and if no data has been received, it starts transmitting the paging signal to the next terminal device in the priority order. , if data is being received, start the timer by the second time setting means, and after the timer finishes counting the elapse of the second time, the call is made to the next terminal device in the priority order. A communication control device that starts transmitting a signal.
JP57200132A 1982-11-15 1982-11-15 Communication control equipment Granted JPS5990442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57200132A JPS5990442A (en) 1982-11-15 1982-11-15 Communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57200132A JPS5990442A (en) 1982-11-15 1982-11-15 Communication control equipment

Publications (2)

Publication Number Publication Date
JPS5990442A JPS5990442A (en) 1984-05-24
JPH026464B2 true JPH026464B2 (en) 1990-02-09

Family

ID=16419330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57200132A Granted JPS5990442A (en) 1982-11-15 1982-11-15 Communication control equipment

Country Status (1)

Country Link
JP (1) JPS5990442A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020225993A1 (en) * 2019-05-09 2020-11-12 ソニー株式会社 Speaker device, speaker, and structure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020225993A1 (en) * 2019-05-09 2020-11-12 ソニー株式会社 Speaker device, speaker, and structure

Also Published As

Publication number Publication date
JPS5990442A (en) 1984-05-24

Similar Documents

Publication Publication Date Title
JP4063529B2 (en) Bus system and retry method
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
JPH026464B2 (en)
JPH0358217B2 (en)
CA1307347C (en) Data communication systems
EP0075625B1 (en) Conversation bus for a data processing system
JPH0740702B2 (en) Remote test circuit
JP3341276B2 (en) Communication control device
JP3436593B2 (en) Data communication device
JPH06350673A (en) Protocol processor
JPH0575622A (en) Emergency communication control system with priority
JPS6248831A (en) Communication control device
JP3463146B2 (en) Communication control method and device
JPS6222296B2 (en)
JP2842639B2 (en) Data transfer method
JP2945123B2 (en) Communications system
JPH08314814A (en) Communication device
JPH06232913A (en) Data overflow processor for data communication system
JPS59172859A (en) Retransmission system
JPH02271449A (en) Bus fault detecting system
JPH01271858A (en) Single-chip microcomputer
JPS63153952A (en) Busy tone detecting system
JPS6360945B2 (en)
JPH04367061A (en) Faulty processor detection system
JPH0818606A (en) Disconnection detection method