JPS6159944A - Sequence number check system - Google Patents

Sequence number check system

Info

Publication number
JPS6159944A
JPS6159944A JP59181127A JP18112784A JPS6159944A JP S6159944 A JPS6159944 A JP S6159944A JP 59181127 A JP59181127 A JP 59181127A JP 18112784 A JP18112784 A JP 18112784A JP S6159944 A JPS6159944 A JP S6159944A
Authority
JP
Japan
Prior art keywords
sequence number
data
information frame
address
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.)
Pending
Application number
JP59181127A
Other languages
Japanese (ja)
Inventor
Masao Gohara
郷原 雅夫
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 JP59181127A priority Critical patent/JPS6159944A/en
Publication of JPS6159944A publication Critical patent/JPS6159944A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L13/00Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00

Abstract

PURPOSE:To detect quickly a fault of an information frame by comparing a sequence number in a reception confirming signal frame transmitted to an opposite terminal device with as sequence number in an information frame from an opposite terminal device in a communication controller transmitting/ receiving information using an HDLC (high level data link control) procedure. CONSTITUTION:The sequence number of an information frame transmitted next is designated and transmitted from a communication controller to a prescribed terminal device. The sequence number is stored in a prescribed location of a line memory 16 based on an opposite terminal address in an address buffer 11. When the data received from the opposite terminal device is detected to be the information frame next, the sequence number outputted from a control field buffer 22 is compared with the sequence number outputted from a memory 16 based on the address in the information frame by a comparator 15. The comparator 15 generating notice of interruption to a CPU without awaiting an end flag when the result of comparison is dissident.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はハイレベルデータリンク制御(以下本明細書に
おいてHDLCと略記する)手順により情報フレームを
送受信する通信制御装置が、受信したフレーム順序番号
をハードウェアでチェックし、伝送回線の使用効率向上
をはかる順序番号チェック方式に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention provides a communication control device that transmits and receives information frames according to a high-level data link control (hereinafter abbreviated as HDLC) procedure, This paper relates to a sequence number checking method that uses hardware to check and improve the efficiency of transmission line usage.

HDLC手順により複数端末との間で時分割にデータを
受信し、受信確認信号を送出するデータ処理システムは
データ処理の正確・高速化のため実用されて来た。
Data processing systems that time-divisionally receive data from multiple terminals using the HDLC procedure and send out reception confirmation signals have been put into practical use to improve accuracy and speed of data processing.

[従来の技術] 第2図はこのようなデータ処理システムにおける構成を
示すブロック図である。第2図において1は中央処理装
置CCl2はメモリMM、3は回線制御装置LC14は
回線対応部LA、5−1.5−2・−・−は端末、6−
1.6−2−・−は伝送回線を示している。第3図はH
DLC手順による情報の伝送フォーマントを示す。Fは
フレーム識別用フラグで例えば01111110 ”を
使用し、Aはアドレスフィールドで相手端末のアドレス
を入れる。Cはコントロールフィールドでデータの順序
番号を入れる。
[Prior Art] FIG. 2 is a block diagram showing the configuration of such a data processing system. In FIG. 2, 1 is the central processing unit CCl2, which is the memory MM, 3 is the line control unit LC14, which is the line correspondence section LA, 5-1, 5-2, ---, the terminals, and 6-
1.6-2-.- indicates a transmission line. Figure 3 is H
3 shows a format for transmitting information according to the DLC procedure. F is a frame identification flag and uses, for example, 01111110'', A is an address field in which the address of the other terminal is entered, and C is a control field in which the data sequence number is entered.

「データ」は情報フィールドで所定長のデータを入れる
。Fe2はフレームチェックシーケンスで、伝送誤り制
御符号を入れておく。メモリMM2に格納されている処
理プログラム・送受信データは中央処理装置CC1が読
出して回線制御装置LC3の動作を制御する。データを
受信するとき、伝送回線6−1.6−2−から入力され
るデータは、回線対応部LA4において文字に組立てら
れ、フラグパターンFを検出したとき、それ以後は1文
字受信毎にLC3に処理依頼がされる。このとき1文字
ごとに処理プログラムが動作ミスの有無をチェックする
ことが行われる。そしてデータはメモリMM2に格納さ
れる。終結フラグドパターンを検出したとき、中央処理
装置CCIにはメモリMMz上のデータ格納アドレスと
、終結フラグFを受信した旨を通知する。或いは処理プ
ログラムのチェックを終結プログラムFを受信した後に
開始する。
"Data" is an information field into which data of a predetermined length is entered. Fe2 is a frame check sequence and contains a transmission error control code. The processing program and transmission/reception data stored in the memory MM2 are read out by the central processing unit CC1 to control the operation of the line control unit LC3. When receiving data, the data input from the transmission line 6-1, 6-2- is assembled into characters in the line correspondence section LA4, and when the flag pattern F is detected, from then on, every time one character is received, the data is assembled into characters. A processing request is made to At this time, the processing program checks for the presence or absence of an operational error for each character. The data is then stored in memory MM2. When the termination flagged pattern is detected, the central processing unit CCI is notified of the data storage address on the memory MMz and the fact that the termination flag F has been received. Alternatively, the check of the processing program is started after receiving the termination program F.

[発明が解決しようとする問題点] 従来技術において受信1文字毎に処理プログラムがチェ
ックすることは、若し受信データに順序番号誤りがあっ
たたとき、直ぐ検出ができ、送信端末に再送信依頼を通
知することができる。しかし−システムとして見ると処
理能力が小さい。
[Problems to be Solved by the Invention] In the prior art, if a processing program checks each received character, if there is a sequence number error in the received data, it can be detected immediately and the data can be retransmitted to the sending terminal. Requests can be notified. However, when viewed as a system, its processing capacity is small.

また終結フレームを受信した後にチェックすることは、
順序番号誤りの検出時期が遅いため回線使用効率が高く
ない欠点があった。
Also, check after receiving the termination frame:
The disadvantage was that the line usage efficiency was not high because the timing of detecting sequence number errors was late.

[問題点を解決するための手段] 前述の問題点を解決するため本発明の採用した手段は、
複数の端末との間でハイレベルデータリンク制御手順に
よりデータ順序番号を送受しながら情報フレームの転送
を行う通信制御装置が、所定端末に対し次に送信すべき
順序番号を含めた受信確認信号を送出する順序番号をチ
ェックする方式において、通信制御装置には受信確認信
号フレーム中の相手端末アドレス対応の順序番号を検出
し記憶する手段と、情報フレームを受信して検出した順
序番号を前記記憶手段に記憶した順序番号と比較する手
段とを具備し、比較する手段が不一致を出力したとき該
出力により通信制御装置は中央処理装置に対し異常発生
を通知することである。
[Means for solving the problems] The means adopted by the present invention to solve the above-mentioned problems are as follows:
A communication control device that transfers information frames while transmitting and receiving data sequence numbers between multiple terminals according to a high-level data link control procedure sends a reception confirmation signal including the sequence number to be transmitted next to a predetermined terminal. In the method of checking the sequence number to be sent, the communication control device includes means for detecting and storing the sequence number corresponding to the destination terminal address in the reception confirmation signal frame, and storage means for receiving the information frame and storing the detected sequence number. and a means for comparing with the sequence number stored in the memory, and when the comparing means outputs a discrepancy, the communication control device notifies the central processing unit of the occurrence of an abnormality.

[作用] 受信確認信号により次に端末から送信すべきデータの順
序番号を指定し、それを記憶してお(から、次の受信時
における順序番号の一致、不一致を、伝送フォーマット
のコントロールフィールド終了時に直ぐ検出することが
できる。
[Function] The reception confirmation signal specifies the sequence number of the data to be transmitted next from the terminal, and it is memorized. can be detected immediately.

[実施例] 第1図は本発明の実施例として、通信制御装置における
構成をブロックで示している。第1図において10は順
序番号チェック装置を全体的に示し、11.21はアへ
レスフィールリドバッファ八BFO。
[Embodiment] FIG. 1 shows a block diagram of the configuration of a communication control device as an embodiment of the present invention. In FIG. 1, reference numeral 10 generally indicates a sequence number checking device, and reference numeral 11.21 indicates an Ajeres field read buffer 8BFO.

ABFI、12.22はコントロールフィールドバッフ
ァCBFO,CBFI 、 13. 23はデータフィ
ールドバッファDBFO,DBFI 、14. 24は
制御部CNTl。
ABFI, 12.22 is the control field buffer CBFO, CBFI, 13. 23 are data field buffers DBFO, DBFI, 14. 24 is a control unit CNTl.

CNT2.15は比較器CMP、16は回線メモリLM
を示す。
CNT2.15 is comparator CMP, 16 is line memory LM
shows.

今、通信制御装置から所定の端末に対し、当初に送出し
て貰うデータの順序番号を2進符号で000〜111の
うち例えば000を指定して通知する。この番号はサイ
クリックに使用される。バッファDBF013において
当該順序番号を、アドレスバッファABFOIIと共に
指定し、メモリLM16に格納する。それはコントロー
ルフィールドバッファCFBO12の内容を分析して順
序番号のみを回線メモIJLM16へ格納するようにC
NTl 14が動作する。
Now, the communication control device notifies a predetermined terminal of the order number of the data to be initially sent, specifying, for example, 000 from 000 to 111 in binary code. This number is used cyclically. The sequence number is designated in buffer DBF013 together with address buffer ABFOII, and stored in memory LM16. It analyzes the contents of the control field buffer CFBO12 and stores only the sequence number in the line memo IJLM16.
NTl 14 works.

次に所定端末からデータを送信してくると、回線対応部
LAで文字信号とし、データバッファDBFI23にセ
ットする。そのデータはメモリMMへ転送されると同時
に受信バイト数からアドレス部とコントロール部が判断
され、それぞれ^BF■、CBFI21.22へセット
される。次にCBFI22のビットにより受信フレーム
が情報フレームであることを検出すると、アドレスバッ
ファABF Iのアドレスで回線メモリLMを読出し、
順序番号を得る。その値とコントロールフィールドバッ
ファCBFTの順序番号とを比較器CMPにおいて比較
する。一致しているとき、回線対応部LAからの終結フ
ラグ受信信号FENDを待ち、制御部CNT2において
中央処理装置CCヘデータの正常受信を通知する。
Next, when data is transmitted from a predetermined terminal, it is converted into a character signal by the line correspondence section LA and set in the data buffer DBFI23. At the same time as the data is transferred to the memory MM, the address part and control part are determined based on the number of received bytes, and are set in ^BF■ and CBFI21.22, respectively. Next, when it is detected by the bit of CBFI22 that the received frame is an information frame, the line memory LM is read with the address of address buffer ABF I,
Get the sequence number. Comparator CMP compares that value with the sequence number of control field buffer CBFT. When they match, the control unit CNT2 waits for the termination flag reception signal FEND from the line correspondence unit LA, and notifies the central processing unit CC of the normal reception of the data.

若し不一致のとき制御部CNT2は終結フラグ受信信号
FENDを待たずに直ぐ割込みINTを通知し、処理プ
ログラムを動作させる。またデータバッファDBFIの
データは捨てる。
If there is a mismatch, the control unit CNT2 immediately notifies an interrupt INT without waiting for the termination flag reception signal FEND, and runs the processing program. Also, the data in the data buffer DBFI is discarded.

終結フラグ受信のとき、他の端末からのデータについて
次の処理が開始される。
When the termination flag is received, the next processing of data from other terminals is started.

また正當受信のとき処理プログラムは順序番号を+1し
て回線メモリに格納して行く。誤りがあったときは同一
番号をもう1回、送るようにしてメモリにセントする。
In addition, when receiving correctly, the processing program adds 1 to the sequence number and stores it in the line memory. If there is an error, send the same number one more time and store it in memory.

[発明の効果] このようにして本発明によると、通信制御装置の処理能
力を低下させることなく、受信データについて順序番号
の誤りを速やかに検出でき、端末にその旨通知がされる
。回線は無効のデータを送り続けることがなく、回線の
有効利用が計れる。また受信確認信号として、順序番号
を次々に変えて送出していることは、送受信状態が常に
良好であることをチェックしていることを意味し、その
高価を最大限発揮できる。
[Effects of the Invention] In this way, according to the present invention, errors in sequence numbers can be quickly detected in received data without reducing the processing capacity of the communication control device, and the terminal is notified of the error. The line does not continue to send invalid data, and the line can be used effectively. Furthermore, the fact that the reception confirmation signal is sent with sequentially changing sequence numbers means that it is always checked that the transmission and reception conditions are good, and the high cost can be maximized.

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

第1図は本発明の実施例として通信制御装置の構成を示
すブロック図、 第2図は従来のデータ処理システムの構成を示すブロッ
ク図、 第3図はHDLC手順によるデータの伝送フォーマント
を示す図である。 1・−・中央処理装置CC2−・−メモリMM3・−・
−回線制御装置LC4・−回線対応部LA5−1.5−
2・−・端末      6−1.6−2・−伝送回線
11.12・−・アドレスフィールドバッファ12.2
2−・・コントロールフィールドバッファ13.23−
・データフィールドバッファ14.24・・−制御部
FIG. 1 is a block diagram showing the configuration of a communication control device as an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a conventional data processing system, and FIG. 3 is a data transmission format using the HDLC procedure. It is a diagram. 1.--Central processing unit CC2-.-Memory MM3.--
-Line control device LC4・-Line support section LA5-1.5-
2.--Terminal 6-1.6-2.--Transmission line 11.12.--Address field buffer 12.2
2-...Control field buffer 13.23-
・Data field buffer 14.24...-control unit

Claims (1)

【特許請求の範囲】[Claims] 複数の端末との間でハイレベルデータリンク制御手順に
よりデータ順序番号を送受しながら情報フレームの転送
を行う通信制御装置が、所定端末に対し次に送信すべき
順序番号を含めた受信確認信号を送出する順序番号をチ
ェックする方式において、通信制御装置には受信確認信
号フレーム中の相手端末アドレス対応の順序番号を検出
し記憶する手段と、情報フレームを受信して検出した順
序番号を前記記憶手段に記憶した順序番号と比較する手
段とを具備し、比較する手段が不一致を出力したとき該
出力により通信制御装置は中央処理装置に対し異常発生
を通知することを特徴とする順序番号チェック方式。
A communication control device that transfers information frames while transmitting and receiving data sequence numbers between multiple terminals according to a high-level data link control procedure sends a reception confirmation signal including the sequence number to be transmitted next to a predetermined terminal. In the method of checking the sequence number to be sent, the communication control device includes means for detecting and storing the sequence number corresponding to the destination terminal address in the reception confirmation signal frame, and storage means for receiving the information frame and storing the detected sequence number. 1. A sequence number checking method, comprising means for comparing with a sequence number stored in a computer, and when the comparing means outputs a discrepancy, the communication control device notifies a central processing unit of the occurrence of an abnormality.
JP59181127A 1984-08-30 1984-08-30 Sequence number check system Pending JPS6159944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59181127A JPS6159944A (en) 1984-08-30 1984-08-30 Sequence number check system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59181127A JPS6159944A (en) 1984-08-30 1984-08-30 Sequence number check system

Publications (1)

Publication Number Publication Date
JPS6159944A true JPS6159944A (en) 1986-03-27

Family

ID=16095336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59181127A Pending JPS6159944A (en) 1984-08-30 1984-08-30 Sequence number check system

Country Status (1)

Country Link
JP (1) JPS6159944A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6370643A (en) * 1986-09-12 1988-03-30 Nippon Telegr & Teleph Corp <Ntt> Packet communication system
JPH03201737A (en) * 1989-12-28 1991-09-03 Mazda Motor Corp Information transmitter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6370643A (en) * 1986-09-12 1988-03-30 Nippon Telegr & Teleph Corp <Ntt> Packet communication system
JPH03201737A (en) * 1989-12-28 1991-09-03 Mazda Motor Corp Information transmitter

Similar Documents

Publication Publication Date Title
US5377188A (en) Communication system capable of detecting missed messages
US4680581A (en) Local area network special function frames
US4777595A (en) Apparatus for transferring blocks of information from one node to a second node in a computer network
Luttik Description and formal specification of the link layer of P1394
KR970029126A (en) Multiprocessor system
US6965571B2 (en) Precise error reporting
JPS6276954A (en) Communication controller
JPS604624B2 (en) System for retransmitting incorrect information frames
US4675864A (en) Serial bus system
EP0094177B1 (en) Apparatus for direct memory-to-memory intercomputer communication
JPS6159944A (en) Sequence number check system
KR100311619B1 (en) How to send and receive messages between processors in a distributed processing system
JPH09326782A (en) Serial communication method
JP2853607B2 (en) Communication system between jobs
KR930010293B1 (en) User program loading method
JP2000165424A (en) Loop type data transmitting device
JPH0438618Y2 (en)
JPS62120145A (en) Transmission/reception buffer control system
JP2644571B2 (en) Remote IPL control method
JPS60140960A (en) Data transmission system
Luttik SEN-R9706 May 31, 1997
JPS60117845A (en) Data transmission system
JPH06335042A (en) Plural data simultaneous transfer control system
JPS62137946A (en) Data transmission system
JPH0784897A (en) Information processing system suitable for data transfer between equipments