JPS58117753A - Reception system for excessive telegraphic message - Google Patents
Reception system for excessive telegraphic messageInfo
- Publication number
- JPS58117753A JPS58117753A JP56212103A JP21210381A JPS58117753A JP S58117753 A JPS58117753 A JP S58117753A JP 56212103 A JP56212103 A JP 56212103A JP 21210381 A JP21210381 A JP 21210381A JP S58117753 A JPS58117753 A JP S58117753A
- Authority
- JP
- Japan
- Prior art keywords
- message
- length
- received
- information
- buffer
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L13/00—Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00
- H04L13/02—Details not particular to receiver or transmitter
- H04L13/08—Intermediate storage means
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は過大゛電文の受信方式、さら(二詳しく言えば
、処理装置(二よって制御される回線制御装置が電文を
受信して他(=転送するよう(二構成されたシステム(
二おける過大電文の受信方式C二関する。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a system for receiving an excessively large number of messages, and more specifically, a system for receiving an excessively large number of messages, and more specifically, a method for a line control device controlled by a processing device (2) to receive a message and transfer it to another (= two configurations). system (
Regarding reception method C2 of excessive message in 2.
この種のシステム(二おいては、回線対応の回線制御装
置は、回線から到来する電文を受信し、処理装置の制御
C二より一旦バッファへ記憶させる。In this type of system (2), a line control device that is compatible with a line receives a message coming from the line, and temporarily stores it in a buffer from the control C2 of the processing device.
従来は、種々の長さ電文を連続して受信することを可能
とするため(二通常最も多い電文長を考慮して受信用バ
ッファを設定し、なお何面かの受信用バッファをチェイ
ンさせておき、受信電文が長くなり受信バッファの一面
が満杯となると、新たな受信用バッファをチェインさせ
て行くような方式め、長い電文を受信する場合はその長
い電文E対応する多くのバッファ領域が必要となり、受
信した電文の処理中は、該バッファ領域が保留され、該
受信電文処理のためC:専有される。Conventionally, in order to make it possible to receive messages of various lengths in succession (2), the reception buffer was set taking into account the most common message length, and several reception buffers were chained together. When the received message becomes long and one side of the receive buffer becomes full, a new receive buffer is chained.When receiving a long message, a large amount of buffer space is required to accommodate the long message E. While the received message is being processed, the buffer area is held and C: is exclusively used for processing the received message.
この種の電文は、例えば第2図(二示す構成を有する。This type of message has the structure shown in FIG. 2, for example.
第2図(二おいて、Mは電文を示し、゛電文Mは電文情
報りと、その′電文情報りに対するチェック情報CHと
で構成され、さら(二鎖゛岨文Mはその前後にそれぞれ
同期信号SFI、SF!が付加される。Figure 2 (In 2, M indicates a message; the message M consists of message information and check information CH for the message information; Synchronization signals SFI, SF! are added.
電文の受信に当っては、まず同期信号SF、を検出し、
これに続く情報を電文Mと判定し、その後さらに同期信
号SF!を検出したとき電文Mの完了を判定する。従っ
て、この従来の方式で電文受信処理を行なうと、通信相
手(送信側)システムの異常、伝送路上のエラーなど(
二より、電文yの完了を知らせる同期信号SF、が正し
く受信されないと、電文完了の判定ができず、過大電文
となる。このため、エラーを生じた一つの電文受信のた
めバッファ領域が大量に不当に専有されることとなる。When receiving a telegram, first detect the synchronization signal SF,
The information following this is determined to be message M, and then a synchronization signal SF! When it is detected, it is determined that the message M is completed. Therefore, if you perform message reception processing using this conventional method, problems such as abnormalities in the communication partner (sending side) system, errors on the transmission path, etc.
From the second point, if the synchronization signal SF, which informs the completion of the message y, is not correctly received, the completion of the message cannot be determined, resulting in an excessive message. As a result, a large amount of buffer area is unduly occupied due to the reception of a single message in which an error has occurred.
上記の過大電文受信によりおこる不都金を防止するため
、従来は、処理装置で受信電文の長さを監視し、過大電
文と判定されると、バッファへの書き込みを停止する等
の処理を行なっていた。この従来の′方式は処理装置の
処理負荷が大きいという欠点と、受信を中断した電文が
正しい電文かどうかをチェックできないという欠点があ
った。In order to prevent unnecessary charges caused by the above-mentioned excessive message reception, conventionally, a processing device monitors the length of the received message, and when it is determined that the message is excessive, processes such as stopping writing to the buffer are performed. was. This conventional '' method has the drawbacks of a heavy processing load on the processing device and the drawback that it cannot be checked whether the message whose reception has been interrupted is the correct message.
本発明は、従来方式の上記欠点を除去し、回線制御装置
(二おいて、受信電文が最大受信可電文長6二達したか
否かを判定し、これを越えた電文を受信バッファC二蕾
き込むことを阻止して過大電文の受信C二よる受信バッ
ファの不当な専有を防止し、かつ過大電文と判定した電
文が正しい電文か否かをも識別し、もって処理装置の負
荷を軽減することを目的とする。The present invention eliminates the above-mentioned drawbacks of the conventional system, and the line control device (2) determines whether the received message has reached the maximum receivable message length of 62, and sends the message exceeding this to the reception buffer C2. This prevents the reception buffer from being unjustly monopolized by the reception C2 of an excessive message, and also identifies whether or not a message determined to be an excessive message is a correct message, thereby reducing the load on the processing device. The purpose is to
以下、本発明の実施例を図面について説明する。Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例の接続概要を示す図である。FIG. 1 is a diagram showing an outline of connections in an embodiment of the present invention.
図(二おいて、Lは回線、CCUは回線制御装置、CP
Uは処理装置、MMは記憶装置である。In Figure 2, L is the line, CCU is the line control unit, CP
U is a processing unit, and MM is a storage device.
回線LC;は先(二説明した第2図(二示す形式の電文
が伝送される。The line LC transmits messages in the format shown in FIG. 2, which was explained earlier.
回線制御装置CCU を二おいて、CNTはカウンタ、
(IHKはチェック回路、C0NTは制御回路である。CNT is a counter,
(IHK is a check circuit, and C0NT is a control circuit.
そしてカウンタCNT 、比較回路CMPおよびレジス
タREGは受信電文の長さを認識する手段を構成する。The counter CNT, the comparison circuit CMP, and the register REG constitute means for recognizing the length of the received message.
カウンタCNTは受信電文の長さを検出するもので、電
文のバイト数を計数し、平常状態ではリセットされ、そ
の計数出力は0である。レジスタREGには最大受信可
電文長(二対応する数値、電文のバイトの数、を格納す
る。比較回路CMPはカウンタCNTとレジスタREG
との内容を比較し、カウンタCNTの内容がレジスタR
IGの内容C二連しないとき@0#を出力し、達すると
”1”を出力する。この出力はアンド・ゲー)AG(二
与えられ、′0”のとき導通、′1”のとき非導通とな
る。The counter CNT detects the length of the received message, counts the number of bytes of the message, and is reset under normal conditions, and its counting output is 0. Register REG stores the maximum receivable message length (corresponding value, number of bytes of message). Comparison circuit CMP stores counter CNT and register REG.
The contents of counter CNT are compared with register R.
If IG content C does not occur twice, @0# is output, and when it is reached, "1" is output. This output is given by ANDG (AG), and is conductive when it is '0' and non-conductive when it is '1'.
電文受信を行なう場合、処理装置CPUは記憶装[MM
4二受信電文を管理するためのテーブル、いわゆるC
CV(Chann@A Command Word )
、を設定する。When receiving a message, the processing unit CPU uses the memory device [MM
42 Table for managing received messages, so-called C
CV (Chann@A Command Word)
, set.
CCW(二はコマンド・コード、受信電文番号、バッフ
ァの受信電文格納先頭アドレス、同じく受信電文格納最
終アドレス、終了情報等が設定され、受信電文は、バッ
ファへ格納された後は、このccwの内容(二よって管
理される。CCW (Second is the command code, received message number, start address for storing the received message in the buffer, last address for storing the received message, end information, etc.), and after the received message is stored in the buffer, the contents of this ccw (Managed by 2.
回線制御装置CCUが電文の受信を開始すると、回線り
から入力する電文は、同期信号検出回路FDC二人力し
、ここで同期信号SF1が検出されると、電文麗の開始
と判定し、出力(B)を送出する。これは制御回路C0
NTを経て処理装置CPUに送られ電文Mの開始を通知
し、またカウンタCNTを起動する。When the line control unit CCU starts receiving the message, the message input from the line is sent to the synchronization signal detection circuit FDC, and when the synchronization signal SF1 is detected here, it is determined to be the start of the message, and the message is output ( B) is sent. This is the control circuit C0
It is sent to the processing unit CPU via NT to notify the start of the message M, and also starts the counter CNT.
回線りから入力する電文の信号は、アンド・ゲ−トAG
を通過し、処理装置CPUを経て、記憶装置MM(=設
定されたバッファζ二格納される。なお、バッファの受
信電文格納の先頭アドレスは、上記CCWに設定された
該当アドレスで指定される。The message signal input from the line is sent to ANDGATE AG.
The message passes through the processing device CPU and is stored in the storage device MM (=set buffer ζ2).The starting address for storing the received message in the buffer is specified by the corresponding address set in the CCW.
電文Mが終了すれば同期信号srsが入力し、同期信号
検出回路FDがこれを検出すれば前記と同様(二出力(
B)を送出する。この出力(B) l二より′電文の終
了が制御回路C0NT l二伝えられ、また、この出力
(B)(二よりカウンタCNTの動作を停止する。When the message M is completed, the synchronization signal srs is input, and when the synchronization signal detection circuit FD detects this, it is the same as above (two outputs (
B) is sent. This output (B) 12 transmits the end of the telegram to the control circuit C0NT 12, and this output (B) 2 stops the operation of the counter CNT.
ここ(二同期信号検出回路は電文の開始と終了とを検知
する手段として使用される。Here, the two-sync signal detection circuit is used as a means to detect the start and end of a message.
この場付電文の長さは、レジスタREGに設定された長
さく二連しないので、比較回路CMPの出力は@1#ど
なることはなく、アンド・ゲー) ACは非導通となる
ことなく、受信電文は全部処理装置CPUを経て記憶装
置MM中のバッファ領域に格納される。The length of this ad hoc message is the length set in the register REG and is not repeated twice, so the output of the comparator circuit CMP does not become @1#, and the AC receives it without becoming non-conductive. All messages are stored in a buffer area in the storage device MM via the processing device CPU.
妻4撃ゐj
同期信号検出回路FDは上記のよう(二して電文の終了
を判定すると、終了情報をチェック回路CHKに送る。When the synchronization signal detection circuit FD determines the end of the message as described above, it sends end information to the check circuit CHK.
チェック回路CHKは上記の終了情報を受けて電文が正
しく受信されたか否かをチェックし、その結果を制御回
路C0NT (二速る。Upon receiving the above termination information, the check circuit CHK checks whether or not the message has been received correctly, and sends the result to the control circuit C0NT.
電文が正しく受信されたか否かのチェックは、例えば次
のよう(二して行なうことができる。すなわち、チェッ
ク回路CHKは、上記電文終了情報(二基き、チェック
回路CHK中のバッファから送信側より送られてきたチ
ェック情報CH(第2図)を抽出する。一方チェック回
路CHKは、受信電文をチェック方式1二より定まる一
定の算出法でチェック情報を算出しておき、電文終了時
上記の送信側から送られたチェック情報と比較し一致し
たときは正しく、不一致のときは誤って受信されたと判
定する。Checking whether or not the message has been correctly received can be carried out, for example, as follows (2). In other words, the check circuit CHK receives the above message end information (2 units) from the sending side from the buffer in the check circuit CHK. The check circuit CHK extracts the sent check information CH (Fig. 2).On the other hand, the check circuit CHK calculates the check information from the received message using a certain calculation method determined by check method 12, and when the message ends, sends the above message. It is compared with the check information sent from the side, and if they match, it is determined to be correct, and if they do not match, it is determined that it was received in error.
上記の場合、電文が正しく受信されたとき、および誤っ
て受信されたときはそれぞれチェック回路CHKおよび
同期検出回路FDよりの情報に基き、制御回路C0NT
を経て、その旨が処理装置CPU (=送られ、CCW
i二記憶される。なお、上記の場合電文の長さがレジス
タREG l二設定された長さを越えず、従って比較回
路CMPの出力は10”を継続するが、この出力情報°
0”は、制御回路Co、NTでも受けられ、電文が設定
された長さを越えてない情報として処理装置CPUに送
られ、同じ<CCWに記憶される。In the above case, the control circuit C0NT is activated based on the information from the check circuit CHK and the synchronization detection circuit FD when the message is received correctly or incorrectly.
The information is sent to the processing unit CPU (= CCW
i2 memorized. In the above case, the length of the message does not exceed the length set in the register REGl2, so the output of the comparison circuit CMP continues to be 10'', but this output information
0'' is also received by the control circuits Co and NT, and is sent to the processing unit CPU as information that the telegram does not exceed the set length, and is stored in the same <CCW.
もし、受信される電文が過大の電文であって、レジスタ
REG (=設定された長さを越えたとする。Suppose that the received message is too large and exceeds the set length of register REG.
電文受信中、受信した電文の長さがレジスタRIGC二
設定した長さく二連すると、比較回路CMPの出力は@
0”から@1“に転じ、そのためアンド・ゲートAGは
非導通となり、回線りからの電文はここで阻止され、バ
ッファ(二は送られなくなる。これ(二よりバッファは
、レジスタREG l=段設定れた長さを越える部分の
格納を停止する。While receiving a message, if the length of the received message is twice the length set in register RIGC2, the output of the comparison circuit CMP will be @
0'' to @1'', so the AND gate AG becomes non-conductive, and the telegram from the line is blocked here, and the buffer (2) is no longer sent. Stop storing the part that exceeds the set length.
しかし、この受信電文は、引き続き同期信号検出回路F
Dおよびチェック回路CHK i二人力し、ここで監視
される。そして、同期信号8F、が検出され、かつチェ
ック回路CHK 4二おいて電文が正しくあるいは誤っ
て受信されたと判定されたときは前記と同様な情報を制
御回路C0NT (二速る。また、電文が終了したとき
カウンタCNTは計数動作を停止し、そのときの計数出
力、換言すれば受信電文の長さの情報を制御回路C0N
T 4二送る。また比較回路CMPの出力@1”が制御
回路C0NTに送られているので、これが過大電文を示
す情報として後述のようζ二処理装置CPUに送られる
。However, this received message continues to be sent to the synchronization signal detection circuit F.
D and check circuit CHK i are both powered and monitored here. When the synchronization signal 8F is detected and the check circuit CHK 42 determines that the message has been received correctly or incorrectly, the same information as above is transmitted to the control circuit C0NT (second speed. When the counting operation is finished, the counter CNT stops the counting operation, and the counting output at that time, in other words, the information on the length of the received message is sent to the control circuit C0N.
Send T42. Further, since the output @1'' of the comparison circuit CMP is sent to the control circuit C0NT, this is sent to the ζ2 processing unit CPU as described later as information indicating an excessive message.
制御回路C0NTは、上記の各種の情報を受け、電文が
正しく、あるいは誤って受信され受信が完了したこと(
同期検出口jl争FDおよびチェック回路CHKよりの
情報)、゛電文の長さが設、定値を越えたこと(比較回
路CMPの出力より)、受信電文の長さくカウンタCN
Tの出力より)の情報を処理装置CPUに送る。処理装
置CPUは必要な情報なCCW(=書き込む。The control circuit C0NT receives the above various information and determines whether the message was received correctly or incorrectly and the reception was completed (
information from the synchronization detection port jl conflict FD and check circuit CHK), ``The length of the message exceeds the set value (from the output of the comparison circuit CMP), and the length of the received message counter CN.
(from the output of T) is sent to the processing unit CPU. The processing unit CPU writes the necessary information CCW (=.
電文Mの終りに付加される同期信号SF、が何らかの原
因で消失したとすると、同期信号8F!の検合は、同期
信号検出回路FD(=おいてタイミング(二より終了判
定を行なうことが可能で、このような場合もその終了情
報を制御回路C0NTを介して処理装置CPUに送りC
cwに書き込む。If the synchronization signal SF added to the end of the message M disappears for some reason, the synchronization signal 8F! It is possible to check the completion based on the synchronization signal detection circuit FD (= timing (2), and in this case also, the completion information is sent to the processing unit CPU via the control circuit C0NT.
Write to cw.
処理装置CPUはCcwの内容に従って、受信した電文
の処理を行なう。設定した長さく=達しない電文が正し
く受信されたときは、正規(=処理を行なうが例えば設
定した長さを越えたが正しく受信された電文C二対して
は、処理装置CPUはその受信電文の長さより長い長さ
を、制御回路C0NTを経てレジスタREGに設定し、
送信側(=再送を求めることができる。The processing device CPU processes the received message according to the contents of Ccw. When a message that does not reach the set length is correctly received, it is processed as normal (= For example, for a message C2 that exceeds the set length but is correctly received, the processing unit CPU processes the received message. A length longer than the length of is set in the register REG via the control circuit C0NT,
Sending side (= can request retransmission.
本発明は上記の実施例C二限定されることなく、その技
術的範囲内で種々変形が可能である。例えば、バッファ
を回線制御装置(=設けることも可能である。The present invention is not limited to the above-described embodiment C, and various modifications can be made within the technical scope thereof. For example, it is also possible to provide a buffer in the line control device.
本発明は上記のよう(二構成されているので、回線制御
装置において、受信電文が予め設定した長さを越えるか
否かを判定し越えたときは以後電文の受信バッファへの
書込みを停止してバッファの不当の専有を防止するとと
も(二、上記過大電文(二対しても正しい電文か否かを
識別し、上記の過大電文に対する対策を、処理装置C二
余り負荷をかけることなく実行し得る効果がある。The present invention has two configurations as described above, so that the line control device determines whether or not the length of the received message exceeds a preset length, and if the length exceeds the length, stops writing the message to the reception buffer. (2. The above-mentioned excessive message (2) also identifies whether it is a correct message or not, and takes measures against the above-mentioned excessive message without imposing too much load on the processing unit C2. There is a potential effect.
第1図は本発明の一実施例の接続概要を示す図、第2図
は一般的な電文の構成の一例を示す図である。
L・・・回線、CCU・・・回線制御装置、CPU・・
・処理装置、MM・・・記憶装置、CNT・・・カウン
タ、CMP・・・比較回路、AG・・・アンド・ゲート
、FD・・・同期信号検出回路、CHI・・・チェック
回路、C0NT・・・制御回路、8F1.Sr1・・・
同期信号、D・・・電文Mの電文情報、CH・・・電文
情報りのチェック情報、M・・・電文特許出願人 富士
通株式会社
代理人 弁理士玉蟲久五部
(外3名)FIG. 1 is a diagram showing an outline of connections according to an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the structure of a general message. L...Line, CCU...Line control device, CPU...
・Processing device, MM...Storage device, CNT...Counter, CMP...Comparison circuit, AG...AND gate, FD...Synchronization signal detection circuit, CHI...Check circuit, C0NT・...Control circuit, 8F1. Sr1...
Synchronous signal, D...Telegram information of message M, CH...Check information of message information, M...Telegram patent applicant Fujitsu Limited agent Patent attorney Gobe Tamamushi (3 others)
Claims (1)
して他に転送するよう(二構成されたシステムにおいて
、該回線制御装置は受信電文の長さを認識する手段と電
文の開始と終了とを検知する手段とを具備し、上記受信
電文の長さを認識する手段が過大電文と認識したとき信
号を送出して受信電文のバッファへの転送を阻止し、ま
た該過大電文の完了を検知したとき、この受信完了を過
大電文受信として処理装置に通知することを特徴とする
過大電文の受信方式。In a system configured such that a line control device controlled by a processing device receives a message and transfers it to another, the line control device has a means for recognizing the length of the received message and a means for recognizing the start and end of the message. and means for detecting the length of the received message, when the means for recognizing the length of the received message recognizes the length of the received message as an excessive message, transmits a signal to prevent the received message from being transferred to the buffer, and also detects completion of the excessive message. A method for receiving an excessive message, characterized in that, when the reception is completed, the processing device is notified of the completion of the reception as an excessive message reception.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56212103A JPS58117753A (en) | 1981-12-30 | 1981-12-30 | Reception system for excessive telegraphic message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56212103A JPS58117753A (en) | 1981-12-30 | 1981-12-30 | Reception system for excessive telegraphic message |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS58117753A true JPS58117753A (en) | 1983-07-13 |
JPH0159782B2 JPH0159782B2 (en) | 1989-12-19 |
Family
ID=16616925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP56212103A Granted JPS58117753A (en) | 1981-12-30 | 1981-12-30 | Reception system for excessive telegraphic message |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58117753A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5620379A (en) * | 1979-07-30 | 1981-02-25 | Nippon Telegr & Teleph Corp <Ntt> | Transmitted-original-length supervisory system of facsimile communication |
-
1981
- 1981-12-30 JP JP56212103A patent/JPS58117753A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5620379A (en) * | 1979-07-30 | 1981-02-25 | Nippon Telegr & Teleph Corp <Ntt> | Transmitted-original-length supervisory system of facsimile communication |
Also Published As
Publication number | Publication date |
---|---|
JPH0159782B2 (en) | 1989-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4332027A (en) | Local area contention network data communication system | |
FI92262B (en) | Flexible joint system | |
US5301186A (en) | High speed transmission line interface | |
EP0239937B1 (en) | Serial communications controller | |
JPS604624B2 (en) | System for retransmitting incorrect information frames | |
US4106091A (en) | Interrupt status indication logic for polled interrupt digital system | |
US5845085A (en) | System for receiving a data stream of serialized data | |
JPH07282025A (en) | Clock circuit | |
KR100609781B1 (en) | Asynchronous serial data interface | |
JPS58117753A (en) | Reception system for excessive telegraphic message | |
EP0643892B1 (en) | A data transfer method for an actuator system operating in an environment subjected to interferences | |
JPS5919458A (en) | Data transmission system | |
KR100211960B1 (en) | Frame discriminating method by parity scheme | |
JP2574455B2 (en) | Frame receiving method | |
JPS63228855A (en) | Communication controller | |
US7124182B2 (en) | Method for real-time detection of which units are present on an arcnet | |
JPH04211856A (en) | Clock synchronization type serial interface | |
JPH0476148B2 (en) | ||
JP3338791B2 (en) | Transmit buffer circuit | |
EP0265571B1 (en) | Receive and transmit mechanisms for the line scanners of a communication controller | |
JPH05241985A (en) | Input/output controller | |
JPH0356502B2 (en) | ||
JPH07319841A (en) | Serial control device | |
JPS6318776B2 (en) | ||
JPH01235436A (en) | Data bus controller |