JPH04286440A - Communication controller - Google Patents
Communication controllerInfo
- Publication number
- JPH04286440A JPH04286440A JP3074253A JP7425391A JPH04286440A JP H04286440 A JPH04286440 A JP H04286440A JP 3074253 A JP3074253 A JP 3074253A JP 7425391 A JP7425391 A JP 7425391A JP H04286440 A JPH04286440 A JP H04286440A
- Authority
- JP
- Japan
- Prior art keywords
- error detection
- data
- frame
- frequency
- error
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 42
- 238000001514 detection method Methods 0.000 claims abstract description 64
- 230000005540 biological transmission Effects 0.000 claims abstract description 44
- 238000005259 measurement Methods 0.000 claims abstract description 16
- 230000000694 effects Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Communication Control (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はデータ通信装置に係わり
、特にフレーム形式で伝送されるデータの誤りを検出す
る機能を有する通信制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication device, and more particularly to a communication control device having a function of detecting errors in data transmitted in frame format.
【0002】0002
【従来の技術】通常、通信回線を介していわゆるフレー
ム単位で行われるデータ通信は、所定の伝送制御手順に
従うようになっているが、その信頼性の確保のため、一
般にデータ誤り検出が行われることが多い。このデータ
誤り検出を相手側に通知することにより再送を促したり
、誤り検出の頻度により、使用されているデータ伝送速
度が適正か否かの判断を行うようになっている。例えば
、回線状況が悪くデータ誤り検出頻度が大きい場合には
、データ伝送速度を小さくしてデータ誤りを抑えたり、
データ誤り検出頻度が極めて小さいときはデータ伝送速
度を速める等の変更を行うようになっている。[Background Art] Normally, data communication carried out in so-called frame units via a communication line follows a predetermined transmission control procedure, but in order to ensure its reliability, data error detection is generally performed. There are many things. By notifying the other party of this data error detection, retransmission is encouraged, and based on the frequency of error detection, it is determined whether the data transmission rate being used is appropriate. For example, if the line conditions are poor and the frequency of data error detection is high, the data transmission speed may be reduced to suppress data errors.
When the data error detection frequency is extremely low, changes such as increasing the data transmission speed are made.
【0003】従来の通信制御装置では、このような速度
変更に際し、回線を一旦切断して通信を終了させ、デー
タ伝送速度を変更したのち改めて通信を開始するように
なっていた。In conventional communication control devices, when changing the speed, the line is temporarily disconnected to terminate the communication, and after changing the data transmission speed, the communication is started again.
【0004】0004
【発明が解決しようとする課題】このように、従来の通
信制御装置では、データ伝送速度を変更するには一旦通
信を終了して接続を解放したのち通信を再開するように
なっており、通信中にその変更を行うことはできなかっ
た。従って、回線状況の悪化等により誤り頻度が大きく
変動しても、それに追随して最適の伝送速度に変更する
のは容易でなかった。このため、最悪の場合には、再送
処理の増加によるデータリンクの切断等から再設定が必
要となり、通信効率が著しく低下するという欠点があっ
た。[Problems to be Solved by the Invention] As described above, in conventional communication control devices, in order to change the data transmission speed, communication is once terminated and the connection is released, and then communication is restarted. It was not possible to make that change inside. Therefore, even if the error frequency fluctuates significantly due to deterioration of the line condition, it is not easy to change the transmission speed to the optimum transmission rate. Therefore, in the worst case, resetting is required due to disconnection of data links due to increased retransmission processing, resulting in a drawback that communication efficiency is significantly reduced.
【0005】そこで、本発明の目的は、通信中であって
もデータ誤り率に応じて自動的に最適伝送速度に変更す
ることができる通信制御装置を提供することにある。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a communication control device that can automatically change the transmission rate to the optimum transmission rate depending on the data error rate even during communication.
【0006】[0006]
【課題を解決するための手段】請求項1記載の発明では
、(i) 通信回線を介してフレーム形式で伝送されて
きたデータの誤りを検出する誤り検出手段と、(ii)
この誤り検出回路が受信フレームデータの誤りを検出す
る頻度を測定する誤り検出頻度測定手段と、(iii)
この誤り検出頻度測定手段による誤り検出頻度の測定
値に応じ、データ伝送速度の再設定を指示するデータ伝
送速度指示手段とを通信制御装置に具備させる。[Means for Solving the Problems] The invention as set forth in claim 1 includes (i) error detection means for detecting errors in data transmitted in frame format via a communication line; (ii)
(iii) error detection frequency measuring means for measuring the frequency with which the error detection circuit detects errors in received frame data;
The communication control device is provided with data transmission rate instructing means for instructing resetting of the data transmission rate in accordance with the error detection frequency measured by the error detection frequency measuring means.
【0007】そして、請求項1記載の発明では、受信し
たフレームデータの誤り検出の頻度の測定値に応じデー
タ伝送速度の再設定を行うこととする。In the first aspect of the invention, the data transmission rate is reset in accordance with the measured value of the frequency of error detection in received frame data.
【0008】請求項2記載の発明では、(i) 通信回
線を介してフレーム形式で伝送されてきたデータの誤り
を検出する誤り検出手段と、(ii)この誤り検出回路
が受信フレームデータの誤りを検出する頻度を測定する
受信フレーム誤り検出頻度測定手段と、(iii) 送
信したフレームデータについて相手局からその誤り検出
を通知するために送られてくる誤り検出通知フレームの
受信頻度を測定する送信フレーム誤り検出頻度測定手段
と、(iv)これら2つの誤り検出頻度測定手段による
誤り検出頻度の測定値に応じ、データ伝送速度の再設定
を指示するデータ伝送速度指示手段とを通信制御装置に
具備させる。[0008] In the invention as claimed in claim 2, (i) error detection means for detecting errors in data transmitted in frame format via a communication line; and (ii) this error detection circuit detects errors in received frame data. (iii) a transmission unit that measures the frequency of reception of error detection notification frames sent from a partner station to notify the detection of errors in transmitted frame data; The communication control device is equipped with a frame error detection frequency measuring means, and (iv) a data transmission rate instruction means for instructing resetting of the data transmission rate according to the error detection frequency measurement values by these two error detection frequency measuring means. let
【0009】そして、請求項2記載の発明では、受信し
たフレームデータの誤り検出の頻度の測定値と送信した
フレームデータの誤り検出の頻度の測定値の双方を考慮
して、再設定すべきデータ伝送速度を決定することとす
る。In the invention as claimed in claim 2, the data to be reset is determined in consideration of both the measured value of the frequency of error detection of received frame data and the measured value of the frequency of error detection of transmitted frame data. Let us decide the transmission speed.
【0010】0010
【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be explained in detail with reference to Examples below.
【0011】図1は本発明の一実施例における通信制御
装置を表わしたものである。この装置の本体11は回線
接続線12により図示しない通信回線網に接続されてい
る。この本体11には、受信フレーム誤り検出頻度測定
部14、送信フレーム誤り検出頻度測定部15、および
カウンタ19を有する誤り頻度測定部16が接続されて
いる。FIG. 1 shows a communication control device in one embodiment of the present invention. A main body 11 of this device is connected to a communication network (not shown) via a line connection line 12. Connected to this main body 11 are a reception frame error detection frequency measurement section 14 , a transmission frame error detection frequency measurement section 15 , and an error frequency measurement section 16 having a counter 19 .
【0012】このうち受信フレーム誤り検出頻度測定部
14は、本体11内の誤り検出回路17に接続され、送
信フレーム誤り検出頻度測定部15は本体部の図示しな
い受信部に接続されている。これら2つの測定部はカウ
ンタ19にも接続されている。カウンタ19は速度指示
回路18に接続され、さらにこの速度指示回路18は通
信制御装置本体11内の図示しない中央制御装置へと接
続されている。Of these, the received frame error detection frequency measuring section 14 is connected to an error detection circuit 17 in the main body 11, and the transmitted frame error detection frequency measuring section 15 is connected to a receiving section (not shown) in the main body. These two measuring sections are also connected to a counter 19. The counter 19 is connected to a speed instruction circuit 18, and this speed instruction circuit 18 is further connected to a central control device (not shown) in the communication control device main body 11.
【0013】以上のような構成の通信制御装置の動作を
説明する。相手局から通信回線網および回線接続線12
を介して送られてきたフレームデータは、通信制御装置
本体11内の図示しない受信部を経て誤り検出回路17
に入力される。この誤り検出回路17では、受信したフ
レームデータの誤りチェックコードを抽出し、所定の処
理を行うことでそのデータに誤りがあるか否かを調べる
。この結果、誤りがあったときは、その旨を中央制御装
置に報告すると共に、誤り頻度測定部16の受信フレー
ム誤り検出頻度測定部14にも報告する。これを受けた
受信フレーム誤り検出頻度測定部14は、カウンタ19
の値に1を加える。なお、この報告を受けた中央制御装
置は所定の形式の誤り検出通知フレームを作成し、図示
しない送信部を制御して相手局に送信する。The operation of the communication control device configured as above will be explained. Communication line network and line connection line 12 from the other station
The frame data sent via the communication control device main body 11 is sent to the error detection circuit 17 via a receiving section (not shown) in the communication control device main body 11.
is input. The error detection circuit 17 extracts an error check code from the received frame data, and performs predetermined processing to check whether or not there is an error in the data. As a result, if there is an error, the error is reported to the central control unit and also to the received frame error detection frequency measuring section 14 of the error frequency measuring section 16. The received frame error detection frequency measuring unit 14 that receives this starts the counter 19.
Add 1 to the value of . The central control unit that receives this report creates an error detection notification frame in a predetermined format, and controls a transmitter (not shown) to transmit it to the partner station.
【0014】一方、通信制御装置本体11内の図示しな
い送信部から送信された通常のフレームデータは、回線
接続線12および通信回線網を介して相手局で受信され
る。このデータについて相手局で誤りが検出されると、
上記したと同様の形式の誤り検出通知フレームが送信さ
れる。この誤り検出通知フレームは、回線通信網および
回線接続線12を介し、通信制御装置本体11の受信部
で受信され、さらに誤り頻度測定部16の送信フレーム
誤り検出頻度測定部15に転送される。これを受けた送
信フレーム誤り検出頻度測定部15では、カウンタ19
の値に1を加える。On the other hand, normal frame data transmitted from a transmitter (not shown) in the communication control device main body 11 is received by the other station via the line connection line 12 and the communication network. If the other station detects an error in this data,
An error detection notification frame in the same format as described above is transmitted. This error detection notification frame is received by the receiving section of the communication control device main body 11 via the line communication network and the line connection line 12, and is further transferred to the transmission frame error detection frequency measuring section 15 of the error frequency measuring section 16. In the transmission frame error detection frequency measurement unit 15 that receives this, the counter 19
Add 1 to the value of .
【0015】このようにして、相手局に送信したフレー
ムデータと相手局から受信したフレームデータに誤りが
検出されるごとにカウンタ19がカウントアップされる
。誤り頻度測定部16内の図示しない制御部は、予め各
データ伝送速度ごとに定められている一定時間ごとにカ
ウンタ19の値をチェックし、その値に応じた誤り頻度
データを速度指示回路18に送出する。ここで一定時間
を各データ伝送速度ごとに定めるとしたのは、例えばデ
ータ伝送速度にかかわらず一定時間とすると、速度が速
い場合には単位時間当たりのデータの到来数が多いため
、相対的に誤り発生の頻度が小さいと認識されてしまう
からである。従って、例えば、データ転送速度に反比例
した長さの周期でカウント値をチェックするようにすれ
ばよい。In this manner, the counter 19 is incremented each time an error is detected in the frame data transmitted to the partner station and the frame data received from the partner station. A control section (not shown) in the error frequency measurement section 16 checks the value of the counter 19 at fixed time intervals predetermined for each data transmission speed, and sends error frequency data corresponding to the value to the speed instruction circuit 18. Send. The reason why we decided to set a fixed time for each data transmission speed here is because, for example, if we set a fixed time regardless of the data transmission speed, the higher the speed, the more data arrives per unit time. This is because it is recognized that the frequency of error occurrence is low. Therefore, for example, the count value may be checked at intervals whose length is inversely proportional to the data transfer rate.
【0016】誤り頻度測定部16からの誤り頻度データ
を受けた速度指示回路18は、そのデータの値によりデ
ータ伝送速度をどの程度低下させるかを判断し、通信制
御装置本体11の中央制御装置にその旨を指示する。こ
の場合の判断は、例えば各誤り頻度データごとに再設定
すべき速度データを対応付けてテーブル形式で格納して
おき、これを参照することにより容易に行うことができ
る。The speed instruction circuit 18 that receives the error frequency data from the error frequency measurement section 16 determines how much the data transmission speed should be reduced based on the value of the data, and sends the information to the central control device of the communication control device main body 11. Instruct to that effect. The determination in this case can be easily made by, for example, storing the speed data to be reset in association with each error frequency data in a table format and referring to this table.
【0017】速度指示回路18から指示を受けた通信制
御装置本体11の中央制御装置は、データ伝送速度を指
示された値に再設定し、以後、速度指示回路18からの
速度再設定指示があるまでこの速度でのデータ伝送を行
う。The central control unit of the communication control device body 11 that receives the instruction from the speed instruction circuit 18 resets the data transmission rate to the instructed value, and thereafter receives a speed reset instruction from the speed instruction circuit 18. Data transmission is possible at this speed.
【0018】その後、例えば回線状況の回復によりデー
タ誤り検出頻度が減少したときには、誤り頻度測定部1
6から速度指示回路18に対し、それに対応した値の誤
り頻度データが転送される。これを受けた速度指示回路
18は、データ伝送速度を元の値に戻す旨の指示を通信
制御装置本体11の中央制御速度に与える。これにより
、データ伝送速度は元の値に復帰する。Thereafter, when the data error detection frequency decreases due to recovery of the line condition, for example, the error frequency measuring section 1
6, error frequency data of a corresponding value is transferred to the speed instruction circuit 18. Upon receiving this, the speed instruction circuit 18 gives an instruction to the central control speed of the communication control device main body 11 to return the data transmission speed to its original value. This restores the data transmission rate to its original value.
【0019】なお、本実施例ではカウント19が受信フ
レームデータおよび送信フレームデータの双方の誤り発
生をカウントすることとしたが、例えば受信フレーム誤
り検出頻度測定部14、および送信フレーム誤り検出頻
度測定部15のそれぞれについて別個にカウンタを設け
、受信フレームデータの誤り頻度と送信フレームデータ
の誤り頻度とを分けてカウントすることも可能である。
この場合には、伝送方向ごとに誤り頻度を検出すること
ができ、よりきめ細かく速度制御を行うことができる。In this embodiment, the count 19 counts the occurrence of errors in both received frame data and transmitted frame data, but for example, the count 19 counts the occurrence of errors in both received frame data and transmitted frame data. It is also possible to separately provide a counter for each of the 15 and separately count the error frequency of received frame data and the error frequency of transmitted frame data. In this case, error frequency can be detected for each transmission direction, and speed control can be performed more precisely.
【0020】もちろん、受信フレームデータもしくは送
信フレームデータのいずれか一方についてのみ誤り検出
を行い、その頻度を基にデータ伝送速度を決定するよう
にしてもよい。Of course, error detection may be performed only on either the received frame data or the transmitted frame data, and the data transmission rate may be determined based on the frequency of error detection.
【0021】[0021]
【発明の効果】以上説明したように請求項1記載の発明
によれば、受信したフレームデータの誤り検出の頻度の
測定値に応じデータ伝送速度の再設定を逐次行うことと
したので、常に回線状況に応じたデータ伝送速度での通
信が可能となる。これにより、データ誤りの発生やこれ
に伴う再送処理の増大を回避でき、これらに起因するデ
ータリンクの切断、および回線の再設定等の発生を最小
限に抑えることができるという効果がある。As explained above, according to the invention set forth in claim 1, the data transmission rate is sequentially reset according to the measured value of the frequency of error detection in received frame data, so that the line This enables communication at data transmission speeds that match the situation. This makes it possible to avoid the occurrence of data errors and the resulting increase in retransmission processing, and has the effect of minimizing the occurrence of data link disconnections, line reconfigurations, etc. caused by these errors.
【0022】また、請求項2記載の発明によれば、受信
したフレームデータの誤り検出の頻度の測定値と送信し
たフレームデータの誤り検出の頻度の測定値の双方を考
慮して、再設定すべきデータ伝送速度を決定することと
したので、よりきめ細かくデータ伝送速度を制御するこ
とができるという効果がある。[0022] According to the second aspect of the invention, the resetting is performed in consideration of both the measured value of the frequency of error detection of received frame data and the measured value of the frequency of error detection of transmitted frame data. Since the desired data transmission rate is determined, there is an effect that the data transmission rate can be controlled more precisely.
【図1】本発明の一実施例における通信制御装置を表わ
したものである。FIG. 1 shows a communication control device in an embodiment of the present invention.
11 通信制御装置本体
12 回線接続線
14 受信フレーム誤り検出頻度測定部15 送信
フレーム誤り検出頻度測定部16 誤り頻度測定部
17 誤り検出回路
18 速度指示回路
19 カウンタ11 Communication control device body 12 Line connection line 14 Received frame error detection frequency measurement section 15 Transmission frame error detection frequency measurement section 16 Error frequency measurement section 17 Error detection circuit 18 Speed instruction circuit 19 Counter
Claims (2)
されるデータの誤りを検出する誤り検出手段と、この誤
り検出回路が受信フレームデータの誤りを検出する頻度
を測定する誤り検出頻度測定手段と、この誤り検出頻度
測定手段による誤り検出頻度の測定値に応じ、データ伝
送速度の再設定を指示するデータ伝送速度指示手段とを
具備することを特徴とする通信制御装置。1. Error detection means for detecting errors in data transmitted in frame format via a communication line; Error detection frequency measurement means for measuring the frequency with which this error detection circuit detects errors in received frame data. , and data transmission rate instructing means for instructing resetting of the data transmission rate in accordance with the measured value of the error detection frequency by the error detection frequency measuring means.
されるデータの誤りを検出する誤り検出手段と、この誤
り検出回路が受信フレームデータの誤りを検出する頻度
を測定する受信フレーム誤り検出頻度測定手段と、送信
したフレームデータについて相手局からその誤り検出を
通知するために送られてくる誤り検出通知フレームの受
信頻度を測定する送信フレーム誤り検出頻度測定手段と
、これら2つの誤り検出頻度測定手段による誤り検出頻
度の測定値に応じ、データ伝送速度の再設定を指示する
データ伝送速度指示手段とを具備することを特徴とする
通信制御装置。2. Error detection means for detecting errors in data transmitted in frame format via a communication line, and received frame error detection frequency measurement for measuring the frequency with which this error detection circuit detects errors in received frame data. a transmission frame error detection frequency measuring means for measuring the reception frequency of error detection notification frames sent from a partner station to notify error detection of transmitted frame data; and these two error detection frequency measuring means. 1. A communication control device comprising: data transmission rate instructing means for instructing resetting of the data transmission rate in accordance with a measured value of error detection frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3074253A JPH04286440A (en) | 1991-03-15 | 1991-03-15 | Communication controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3074253A JPH04286440A (en) | 1991-03-15 | 1991-03-15 | Communication controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04286440A true JPH04286440A (en) | 1992-10-12 |
Family
ID=13541810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3074253A Pending JPH04286440A (en) | 1991-03-15 | 1991-03-15 | Communication controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04286440A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5619532A (en) * | 1994-09-05 | 1997-04-08 | Fujitsu Limited | Digital communication system |
US6125265A (en) * | 1997-05-23 | 2000-09-26 | Matsushita Electric Industrial Co., Ltd. | Portable telephone device |
-
1991
- 1991-03-15 JP JP3074253A patent/JPH04286440A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5619532A (en) * | 1994-09-05 | 1997-04-08 | Fujitsu Limited | Digital communication system |
US6125265A (en) * | 1997-05-23 | 2000-09-26 | Matsushita Electric Industrial Co., Ltd. | Portable telephone device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5309562A (en) | Method and apparatus for establishing protocol spoofing from a modem | |
JPH04286440A (en) | Communication controller | |
KR100193839B1 (en) | Line module controller and method for processing redundant messages | |
JPH01117439A (en) | Data communication system | |
JPH03143050A (en) | Loop communication system | |
JP3166777B2 (en) | Automatic line switching method | |
JPS63161740A (en) | Communication controller | |
JP2833543B2 (en) | Line switching method for data communication | |
KR100465658B1 (en) | Signal Loss Prevention Method of Communication between Electronic Switching Processors | |
JP3008689B2 (en) | Incorrect cable connection detection method between devices | |
KR100630066B1 (en) | Message delivery method through line monitoring in transmission system | |
KR0174696B1 (en) | Modem communication method between remote subscribers | |
JPH0338944A (en) | Communication controller | |
JPH0563761A (en) | Line fault detection system | |
JPS6354845A (en) | Communication control equipment | |
JPH04335736A (en) | Communication control equipment | |
JPH0318141A (en) | Synchronizing method in spread spectrum communication | |
JP2000196619A (en) | Radio base station device and radio terminal device | |
JPH0272742A (en) | Data error location detecting system | |
JPH09284320A (en) | Communication controller | |
JPS62213452A (en) | Signal terminal equipment | |
JPS61270929A (en) | Wireless transmission system | |
JPH04248718A (en) | Data transmitter | |
JPH0818606A (en) | Discontinuity detection method | |
JPS6074841A (en) | Parallel-off device of series signal transmission system |