[go: up one dir, main page]

JPS6145423B2 - - Google Patents

Info

Publication number
JPS6145423B2
JPS6145423B2 JP53067697A JP6769778A JPS6145423B2 JP S6145423 B2 JPS6145423 B2 JP S6145423B2 JP 53067697 A JP53067697 A JP 53067697A JP 6769778 A JP6769778 A JP 6769778A JP S6145423 B2 JPS6145423 B2 JP S6145423B2
Authority
JP
Japan
Prior art keywords
transmission
data
station
frame
control 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
JP53067697A
Other languages
Japanese (ja)
Other versions
JPS54159103A (en
Inventor
Masahiro Takahashi
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6769778A priority Critical patent/JPS54159103A/en
Publication of JPS54159103A publication Critical patent/JPS54159103A/en
Publication of JPS6145423B2 publication Critical patent/JPS6145423B2/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)
  • Multi Processors (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は広域に散在する制御装置間の情報伝送
網のデータ伝送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a data transmission system for an information transmission network between control devices scattered over a wide area.

〔発明の背景〕[Background of the invention]

最近、マイクロコンピユータの急速な発展によ
り、鉄鋼、化学プラント等の工業分野での各種制
御装置としてマイクロコンピユータを多数分散設
置して、いわゆる分散制御が進展しつつある。こ
れらの多数のマイクロコンピユータ間、あるいは
制御装置全体を監視、統括する上位の制御用計算
機との情報伝送を行うため、例えば1本の同軸線
をループ状に接続したデータハイウエイが用いら
れている。このように1本の伝送路を共用して相
互に情報伝送を行う場合には1個所の回線の切
断、中継ステーシヨンの故障などにより情報の伝
送ができなくなり、信頼度の面で十分とは言えな
い。この情報伝送の信頼度を向上する方法として
第1図に示したような網状に伝送回線を構成する
方法がとられる。STk(但し、k=1、2、3、
4、5)はデータ交換、経路制御などを行うステ
ーシヨン、MCm(但し、m=1、2、3、4、
5、6、7)は工場内に散在する制御装置として
のマイクロコンピユータ、l1j(但し、i=1、
2、4、j=1、3、4、5)は伝送回線であ
る。例えば伝送回線l13が切断してもMC1とMC
4間ではST1〜l11〜ST2〜l23〜ST3のように
迂回路を取つて伝送することが可能である。この
ような網状の情報伝送回線を有するものとしてコ
ンピユータネツトワークのARPA(Advanced
Research Projects Agnbcy)ネツトワークが著
名である。(例えばR.E.Kahn:Resource
sharing computer communications networks:
Procof IE3、Vol、60、No.11、NOV.1972 pp1397
〜1407参照) この種のネツトワーク(以下網状の情報伝送回
線をネツトワークと呼ぶ)はリアルタイム性が要
求されない、あるいは各ステーシヨンで速度変
換、コード変換が必要などの理由から蓄積交換方
式が用いられる。蓄積交換方式ではステーシヨン
はコンピユータで構成されており、ステーシヨン
に到着したデータは、一旦、記憶装置に取りこま
れ、前記した各種の変換が行われた後、次のステ
ーシヨンに送出される。
Recently, with the rapid development of microcomputers, so-called distributed control is progressing, in which a large number of microcomputers are installed in a distributed manner as various control devices in industrial fields such as steel and chemical plants. In order to transmit information between these many microcomputers or to a higher-level control computer that monitors and supervises the entire control device, a data highway, for example, a single coaxial line connected in a loop is used. In this way, when a single transmission line is shared to transmit information between each other, information transmission may become impossible due to a disconnection of the line at one point, a failure of a relay station, etc., and reliability may not be sufficient. do not have. As a method of improving the reliability of this information transmission, a method of configuring transmission lines in the form of a network as shown in FIG. 1 is used. ST k (however, k=1, 2, 3,
4, 5) are stations that perform data exchange, route control, etc., MC m (however, m = 1, 2, 3, 4,
5, 6, 7) are microcomputers scattered throughout the factory as control devices, l 1j (however, i=1,
2, 4, j=1, 3, 4, 5) are transmission lines. For example, even if transmission line l13 is disconnected, MC1 and MC
It is possible to take a detour between ST1 to l11 to ST2 to l23 to ST3 for transmission. ARPA (Advanced) is a computer network that has such a network of information transmission lines.
Research Projects Agnbcy) network is famous. (e.g. REKahn:Resource
sharing computer communications networks:
Procof IE 3 , Vol, 60, No.11, NOV.1972 pp1397
(Refer to ~1407) This type of network (hereinafter a network of information transmission lines is referred to as a network) uses a store-and-forward method because real-time performance is not required, or speed conversion and code conversion are required at each station. . In the store-and-forward system, the station is composed of a computer, and the data that arrives at the station is once taken into a storage device, subjected to the various conversions described above, and then sent to the next station.

このような蓄積を伴う多数のステーシヨンを経
由することにより、各ステーシヨン毎にデータ長
に相当する伝送遅れを生じ、情報伝送に必要な時
間が長いという欠点があつた。
By passing through a large number of stations with such accumulation, a transmission delay corresponding to the data length occurs at each station, resulting in a disadvantage that the time required for information transmission is long.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、データ交換に伴う遅れ時間を
少なくしてなる情報伝送網のデータ伝送方式を提
供するものである。
An object of the present invention is to provide a data transmission system for an information transmission network that reduces delay time associated with data exchange.

〔発明の概要〕[Summary of the invention]

本発明の特徴とするところはデータ伝送の単位
を構成するフレームに宛先アドレスとデータ長を
示す転送データ数の各フイールドを設け、ステー
シヨン装置がこれらのフイールドを受信すること
により直ちに送信すべき相手ステーシヨンアドレ
スを割出し送信動作を開始させることである。
A feature of the present invention is that fields constituting a unit of data transmission are provided with fields for the destination address and the number of data to be transferred indicating the data length, and when the station device receives these fields, it can immediately send information to the destination station. The purpose is to determine the address and start the transmission operation.

本発明の他の特徴は前記送信動を実行しながら
受信しているデータは全て自ステーシヨン装置の
記憶装置に格納し、送信先ステーシヨンンが正常
受信ができなかつた場合に再送可能としているこ
とである。
Another feature of the present invention is that all the data received while performing the transmission operation is stored in the storage device of its own station device, so that it can be retransmitted if the destination station is unable to receive the data normally. be.

本発明の1つの特徴は前記した相手ステーシヨ
ンアドレス、データ長を判断し送信起動をかけた
後は直接メモリアクセス装置(以下DMA:
Direct Memory Access装置と略す)によりプロ
セツサを介さず高速な転送を可能としたことであ
る。
One feature of the present invention is that after determining the destination station address and data length and initiating transmission, a direct memory access device (hereinafter referred to as DMA)
Direct Memory Access (abbreviated as "Direct Memory Access") enables high-speed transfer without using a processor.

〔実施例〕〔Example〕

以下図面により本発明を詳細に述べよう。 The present invention will be described in detail below with reference to the drawings.

第2図に本発明によるステーシヨン装置の具体
的な一実施例を示す。図は第1図のステーシヨン
3を例に取り具体的に図示したものである。ステ
ーシヨン装置は安価に構成するため処理の中心部
をマイクロプロセツサで構成すべく、マイクロプ
ロセツサ10を設けている。20はDMA制御装
置でプロセツサを介することなくバス60を介し
てHDLC伝送制御装置40(実際には40―1,
40―2,40―3と指示している)と記憶装置
30間で高速にデータ転送を行わせしめる。この
DMA制御装置20はマイクロコンピユータ用周
辺LSI(大規模集積回路)として既に利用可能で
ある。記憶装置30はプログラム、データ格納の
ための記憶装置である。HDLC伝送制御装置40
は国際的に標準化が図られている伝送制御手順で
あるハイレベル伝送制御手順(HDLC手順:
High―Level Data Link Controlと以下略す)を
実行するもので、マイクロコンピユータ用周辺
LSI(大規模集積回路)として既に利用可能であ
る。50(実際には、50―1,50―2,50
―3と指示している)は信号伝送装置で長距離伝
送の場合にはMODEM(変復調装置)、短距離伝
送の場合には簡単で、集積回路化されたT/R
(Transmitter/Receiverの略)などが使用され
る。なおマイクロコンピユータとステーシヨン装
置(図示ではMC4の場合)が近接して置かれる
場合には信号伝送装置が必要でないことは言うま
でもない。
FIG. 2 shows a specific embodiment of the station device according to the present invention. The figure specifically illustrates the station 3 of FIG. 1 as an example. In order to construct the station apparatus at low cost, a microprocessor 10 is provided in order to configure the processing center with a microprocessor. 20 is a DMA control device which connects the HDLC transmission control device 40 (actually 40-1,
40-2, 40-3) and the storage device 30 at high speed. this
The DMA control device 20 can already be used as a peripheral LSI (Large Scale Integrated Circuit) for microcomputers. The storage device 30 is a storage device for storing programs and data. HDLC transmission control device 40
is a high-level transmission control procedure (HDLC procedure), which is an internationally standardized transmission control procedure.
High-Level Data Link Control (hereinafter abbreviated) is a peripheral for microcomputers.
It is already available as an LSI (large scale integrated circuit). 50 (actually, 50-1, 50-2, 50
-3) is a signal transmission device, and for long-distance transmission it is a MODEM (modulator/demodulator), and for short-distance transmission it is a simple integrated circuit T/R.
(abbreviation of Transmitter/Receiver) etc. are used. It goes without saying that a signal transmission device is not required when the microcomputer and the station device (in the case of MC4 in the figure) are placed close to each other.

第3図はHDLC手順にもとづいた、本発明で使
用する伝送フオーマツトを示したものである。な
の本発明は実現する伝送フオーマツトはHDLC手
順にもとづいたものに限定されるものでなく他の
如何なる手順でも実現できることは以下の説明か
ら明らかになるであろう。HDLC手順で規定され
ているフレームは図示したフレーム開始フラグ
F、ステーシヨンアドレスフイールドA、制御フ
イールドC、フレームチエツクシーケンス
FCS、フレーム終了フラグFの各フイールドで
あり、宛先MCアドレスDA、転送バイトカウン
タBC、送信先アドレスSAの各フイールドは本発
明を実現するために設けられたものである。図示
したパターン(01111110)のフラグFではさまれ
たものが、伝送の単位であるフレームを構成して
いる。
FIG. 3 shows the transmission format used in the present invention based on the HDLC procedure. However, it will be clear from the following description that the transmission format realized by the present invention is not limited to that based on the HDLC procedure, but can be realized using any other procedure. The frames specified in the HDLC procedure are shown in the figure, including a frame start flag F, a station address field A, a control field C, and a frame check sequence.
The fields FCS, frame end flag F, destination MC address DA, transfer byte counter BC, and destination address SA are provided to realize the present invention. The flag F in the illustrated pattern (01111110) constitutes a frame, which is a unit of transmission.

ステーシヨンアドレスフイールドAは隣接す
る、送信相手ステーシヨンのアドレスであり、制
御フイールドCはステーシヨンアドレスフイール
ドAで示されるステーシヨンへの動作指令、ある
いは応答返送のためのフイールドである。フレー
ムチエツクシーケンスFCSは伝送路上での伝送
誤りを検出するためのフイールドである。HDLC
手順はこれらのステーシヨンアドレスフイールド
A、制御フイールドC、フレームチエツクシーケ
ンスFCSの各フイールドを用いて伝送制御を実
行する。宛先MCアドレスDAは伝送フレームの
到着目的のMCアドレス、送信元MCアドレスSA
は前述した到着目的MCにどのMCが送信元であ
るかを連絡するためのものである。転送バイトカ
ウンタBCはステーシヨンアドレスフイールドA
からDATAフイールド間の転送バイト数(1バ
イトは8ビツト、フレームはバイトの整数倍で構
成するのが一般的である)を示している。A,
C,DA,BC,SAフイールドは8ビツト単位に
拡張可能であるが、ここでは8ビツトとして説明
する。FCSフイールドは16ビツトで構成されて
いる。
The station address field A is the address of an adjacent transmission destination station, and the control field C is a field for issuing an operation command to the station indicated by the station address field A or for sending a response back. The frame check sequence FCS is a field for detecting transmission errors on the transmission path. HDLC
The procedure executes transmission control using these fields: station address field A, control field C, and frame check sequence FCS. Destination MC address DA is the destination MC address of the transmission frame, source MC address SA
is for informing the destination MC mentioned above which MC is the source. Transfer byte counter BC is station address field A
This indicates the number of bytes transferred between the DATA fields (1 byte is 8 bits, and a frame is generally composed of an integral multiple of bytes). A,
Although the C, DA, BC, and SA fields can be expanded in units of 8 bits, they will be explained here as 8 bits. The FCS field consists of 16 bits.

第4図、第5図は第2図におけるHDLC伝送制
御装置40の送信、受信機能の処理フローチヤー
トを示したものである。以下第3図のフレーム構
成を参照しながらHDLC伝送制御装置の動作を説
明する。
FIGS. 4 and 5 show processing flowcharts of the transmission and reception functions of the HDLC transmission control device 40 in FIG. 2. The operation of the HDLC transmission control device will be described below with reference to the frame structure shown in FIG.

送信動作はプロセツサ10がHDLC伝送制御装
置40に起動コマンドを書き込むことにより開始
される。送信が起動されるとフラグが送出され
(401)、続いてデータを送出するためDMA制御装
置20にデータ転送を要求する(402)。DMA制
御装置20には予め送信データが格納されている
記憶装置30の先頭番地と転送データ数がセツト
されていなければならない。DMA制御装置20
はHDLC伝送制御装置40から転送要求が発せら
れると、プロセツサ10にプロセツサバス60の
使用を要求する。プロセツサバスの使用要求が発
せられるとプロセツサ10は直ちにプロセツサバ
ス60の使用を中断し、DMA制御装置20にプ
ロセツサバス60の使用可能が連絡される。この
ことによりDMA制御装置20は送信データが格
納されている記憶装置30のアドレスを送出し、
記憶装置30とHDLC伝送制御装置40間でデー
タ転送を可能ならしめる。このような入出力装置
と記憶装置間の直接のデータ転送を行うダイレク
トメモリアクセス方式はマイクロコンピユータ、
あるいは電子計算機で一般的に実行されているも
のであり、更に本発明には直接関係がないので詳
細な説明は省略する。なお第4図、第5図の処理
フローでは第3図のフレーム構成でステーシヨン
アドレスフイールドA以下DATAフイールドま
でを送信データとみなし、記憶装置30に格納さ
れている。
The transmission operation is started when the processor 10 writes a start command to the HDLC transmission control device 40. When transmission is activated, a flag is sent (401), and then a data transfer request is made to the DMA control device 20 in order to send data (402). The starting address of the storage device 30 where transmission data is stored and the number of data to be transferred must be set in advance in the DMA control device 20. DMA control device 20
When the HDLC transmission control device 40 issues a transfer request, it requests the processor 10 to use the processor bus 60. When a request to use the processor bus is issued, the processor 10 immediately suspends use of the processor bus 60, and the DMA control device 20 is notified that the processor bus 60 can be used. As a result, the DMA control device 20 sends out the address of the storage device 30 where the transmission data is stored,
Data transfer is enabled between the storage device 30 and the HDLC transmission control device 40. This direct memory access method, which directly transfers data between input/output devices and storage devices, is commonly used in microcomputers,
Alternatively, it is commonly executed in electronic computers, and is not directly related to the present invention, so a detailed explanation will be omitted. In the processing flows shown in FIGS. 4 and 5, data from the station address field A to the DATA field in the frame structure shown in FIG. 3 is regarded as transmission data, and is stored in the storage device 30.

HDLC伝送制御装置40はデータを回線に送出
する前にプロセツサからアボート(ABORT)送
出要求があるかを判断する(403)ことにより、
プロセツサ10は現在送出しているフレームを無
効にすることができる。プロセツサ10から
ABORT送出要求がある場合にはHDLC伝送制御
装置40は8個以上「1」が連続するABORTパ
ターンを回線に送信する(409)。
Before sending data to the line, the HDLC transmission control device 40 determines whether there is an ABORT sending request from the processor (403).
Processor 10 can invalidate the frame it is currently sending. From processor 10
If there is an ABORT transmission request, the HDLC transmission control device 40 transmits an ABORT pattern consisting of eight or more consecutive "1"s to the line (409).

プロセツサからABORT送出要求が無い場合に
はデータを回線に送出し(404)、最終データかを
判断して(405)、最終データの場合にはフレーム
チエツクシーケンスFCSを回線に送出し
(406)、続いてフラグFを送出し(407)、プロセ
ツサ10へ割込み信号によりフレーム送出完了を
連絡して一連の動作を終る(408)。したがつてプ
ロセツサ10は送信起動、ABORT送出、フレー
ム送出完了時に送信動作に関与する。
If there is no ABORT transmission request from the processor, the data is sent to the line (404), it is determined whether it is the final data (405), and if it is the final data, a frame check sequence FCS is sent to the line (406); Subsequently, the flag F is sent (407), and the completion of frame sending is notified to the processor 10 by an interrupt signal, thereby ending the series of operations (408). Therefore, the processor 10 is involved in the transmission operation at the time of transmission activation, ABORT transmission, and completion of frame transmission.

受信動作は第5図の処理フローに示すように伝
送回線から1ビツト受信するごとに起動される。
ABORTパターンが検出された場合(420)には
プロセツサ10へABORT受信を連絡して
(427)、プロセツサ10にこれまで受信したデー
タを無効にさせる。ABORT検出でない場合には
フラグFを検出したかどうかを判断して(421)、
フラグ検出ならばフレーム開始か終了かのフラグ
であるかをフラグF検出済フリツプフロツプで判
断し(422)、フレーム開始のフラグであればフラ
グ検出済フリツプフロツプをセツトし(423)、プ
ロセツサ10へフラグ受信を連絡し(424)プロ
セツサ10にフレーム受信を開始したことを報知
する。フラグ検出済フリツプフロツプがセツトさ
れている場合にはフレーム終了フラグとしなし
て、誤り検出を行いその結果をプロセツサ10が
読み出させるステイタスレジスタにセツトし
(425)、プロセツサ10へフレームの受信完了を
連絡する(426)。
The receiving operation is started every time one bit is received from the transmission line, as shown in the processing flow of FIG.
If an ABORT pattern is detected (420), the processor 10 is notified of ABORT reception (427), and the processor 10 invalidates the data received so far. If ABORT is not detected, determine whether flag F is detected (421),
If a flag is detected, the flag F detected flip-flop determines whether it is a frame start or end flag (422), and if it is a frame start flag, the flag detected flip-flop is set (423), and the flag is received by the processor 10. (424) to notify the processor 10 that frame reception has started. If the detected flip-flop flag is set, the frame end flag is set, error detection is performed, and the result is set in the status register read by the processor 10 (425), and the processor 10 is notified of completion of frame reception. (426)

フラグ検出でない場合にはフラグ検出済フリツ
プフロツプがセツトされているかを判断し
(428)、フリツプフロツプがセツトされている場
合には受信ビツトをシフトレジスタにシフトイン
して(429)、8ビツト受信完了(430)でDMA制
御装置20にデータ転送を要求する(431)。した
がつてプロセツサ10はABORT受信、フラグ受
信、フレーム受信完了時に受信動作に関与する。
If the flag is not detected, it is determined whether the flag-detected flip-flop is set (428), and if the flip-flop is set, the received bit is shifted into the shift register (429), and the 8-bit reception is completed (428). 430), requests data transfer to the DMA control device 20 (431). Therefore, the processor 10 is involved in receiving operations upon completion of ABORT reception, flag reception, and frame reception.

第6図A,Bはプロセツサ10が実行するデー
タ交換機能における受信処理フローでA図の○イは
B図の○イに続いている。第7図は送信処理フロー
である。第7図は第2図に示したステーシヨン3
での送信フレームの時間的な関係を示したもので
ある。第8図はステーシヨンST1からのデータ
がST3を経てステーシヨンST2へデータ交換さ
れる様子を示している。
6A and 6B are flowcharts of reception processing in the data exchange function executed by the processor 10, and ◯◯ in Fig. A follows ◯◯ in Fig. 6. FIG. 7 is a transmission processing flow. Figure 7 shows station 3 shown in Figure 2.
This figure shows the temporal relationship of the transmitted frames. FIG. 8 shows how data from station ST1 is exchanged to station ST2 via ST3.

ステーシヨンST1より送信されたフレームは
HDLC伝送制御装置40―2で受信され、第8図
の時刻t1で、第5図のステツプ424でフラグ検
出がプロセツサ10に連絡される。プロセツサ1
0はステツプ101で遅延タイマをセツトして一
定時刻後に動作を再開する。これに前記したごと
く転送バイトカウンタBCを受信するまではDMA
制御装置20に転送データ数をセツトすることが
できないためである。したがつて遅延タイマへの
セツト時刻は(t2−t1)より少し大きい時間がセツ
トされる。
The frame sent from station ST1 is
The flag is received by the HDLC transmission control device 40-2, and at time t1 in FIG. 8, the flag detection is communicated to the processor 10 in step 424 in FIG. Processor 1
0 sets a delay timer in step 101 and resumes operation after a certain time. In addition, as mentioned above, until the transfer byte counter BC is received, the DMA
This is because the number of data to be transferred cannot be set in the control device 20. Therefore, the time set to the delay timer is set to a time slightly larger than (t 2 -t 1 ).

一定時刻後にプロセツサ10の処理が起動され
るとステーシヨンアドレスフイールドAが自己ア
ドレスかを判断し(103)、自己アドレスでなけれ
ば受信動作を停止し、記憶装置30内の受信バツ
フアをリセツトする(102)。自己アドレスと一致
する場合には制御フイールドCにより応答フルー
ムかを判断し(104)、応答フレームの場合にはフ
レームの受信が完了していないため、フレーム受
信完了の連絡を待つ。応答フレームでない場合に
は宛先MCアドレスDAにより送出相手ステーシ
ヨンアドレスをルーテイングテーブルより決定す
る(105)。ルーテイングテーブルは宛先MCアド
レスごとにどのステーシヨンに送出すべきかが前
以て各ステーシヨンにセツトされている。次にプ
ロセツサ10は送信相手ステーシヨンへの回線が
使用中かどうかを判断し(106)、使用中であれば
送信要求待ち行列に登録し(110)、回線が空けば
直ちに送出される。回線が使用中でなければ記憶
装置30内の現在受信中のフレームの先頭アドレ
ス、受信した転送バイト数をDMA制御装置20
にセツトする(107)。続いて送出したフレームの
応答を監視するため、応答監視タイマをセツトし
(108)、送信起動を行う(109)。送信起動がかけ
られるとHDLC伝送制御装置40は第4図に示し
た処理フローに従つてデータの送出を時刻t3に開
始する。時刻t4でフレームの受信が完了するとプ
ロセツサ10に連絡され(第5図のステツプ42
6)、プロセツサはHDLC伝送制御装置40内の
ステイタスレジスタを読込み(111)、受信フレー
ムに誤りがあつたかどうかを判断する(112)。受
信フレームに誤りがある場合には、この受信フレ
ームを送信中であれば(113)、直ちに送出相手ス
テーシヨンにフレームの無効を知らせるため、
HDLC伝送制御装置40にABORT送出を要求
し、第4図ステツプ409に示したように直ちに
時刻t5でABORTパターンが送出される。
ABORTパターンは第8図には図示されていな
い。この受信フレームが送信中でない場合には記
憶装置30内の受信バツフアに受信されたフレー
ムをリセツトする(117)。受信フレームに誤りが
無い場合には受信完了したフレームが応答フレー
ムかを判断して(115)、続いて相手ステーシヨン
からの応答フレームが正常受信か異常受信応答か
を判断する(116)。正常受信応答の場合には送出
したフレームが相手ステーシヨンに正しく受信さ
れたことを示しており、記憶装置30内に保持し
てあつたフレームの受信バツフアをリセツトする
(117)。応答フレームが正常受信応答でない場合
には、再送を行うため再送要求を登録する
(118)。応答フレームでない場合には相手ステー
シヨンにフレームを正常受信応答したことを知ら
せるため応答送出を要求する(119)。
When the processing of the processor 10 is started after a certain time, it is determined whether the station address field A is the self address (103), and if it is not the self address, the reception operation is stopped and the reception buffer in the storage device 30 is reset (102). ). If it matches the own address, it is determined by control field C whether it is a response frame (104), and if it is a response frame, reception of the frame has not yet been completed, so it waits for notification of completion of frame reception. If it is not a response frame, the destination station address is determined from the routing table based on the destination MC address DA (105). The routing table is set in advance in each station to determine which station should be sent for each destination MC address. Next, the processor 10 determines whether the line to the transmission destination station is in use (106), and if it is in use, it registers it in the transmission request queue (110), and if the line becomes free, it is immediately sent. If the line is not in use, the DMA control device 2
(107). Next, in order to monitor the response to the transmitted frame, a response monitoring timer is set (108) and transmission is activated (109). When transmission is activated, the HDLC transmission control device 40 starts transmitting data at time t3 according to the processing flow shown in FIG. When the reception of the frame is completed at time t4 , the processor 10 is notified (step 42 in FIG. 5).
6), the processor reads the status register in the HDLC transmission control device 40 (111) and determines whether there is an error in the received frame (112). If there is an error in the received frame, if the received frame is being transmitted (113), the sender will immediately notify the destination station of the invalidity of the frame.
The HDLC transmission control device 40 is requested to send ABORT, and the ABORT pattern is immediately sent at time t5 , as shown in step 409 in FIG.
The ABORT pattern is not shown in FIG. If this received frame is not being transmitted, the received frame is reset in the receiving buffer in the storage device 30 (117). If there is no error in the received frame, it is determined whether the received frame is a response frame (115), and then it is determined whether the response frame from the other station is a normal reception or an abnormal reception response (116). In the case of a normal reception response, it indicates that the sent frame was correctly received by the destination station, and the frame reception buffer held in the storage device 30 is reset (117). If the response frame is not a normal reception response, a retransmission request is registered for retransmission (118). If it is not a response frame, a response transmission is requested to notify the other station that the frame has been successfully received and acknowledged (119).

第7図の送信処理フローはフレーム送出完了、
応答監視タイマにより起動される。1つのフレー
ムの送出が完了すると、ステツプ110で登録さ
れている送信待ち行列の有無を調べ(120)、さら
にステツプ119で登録されている応答送出要求
の有無を調べ(121)、要求がある場合にはDMA
制御装置20に応答、あるいは送信待ちのデータ
が格納されている先頭アドレス、転送バイト数を
HDLC伝送制御装置40にセツトする(123)。第
8図の時刻t5でステーシヨン3からステーシヨン
1へ応答フレームが送出されている。応答フレー
ムは伝送すべきデータがないので、ステーシヨン
アドレスフイールドA、制御フイールドC、フレ
ームチエツクシーケンスFCSのみで構成されて
いる。引き続き応答監視タイマのセツト(124)、
送信起動(125)が行われる。再送要求がある場
合には(129)、再送回数のカウンタを歩進し
(126)、一定回数以上再送している(127)場合に
は相手ステーシヨン、あるいは伝送回線の異常と
みなして異常処理を行う(128)。再送カウンタが
一定値を越えていない場合には再送すべきデータ
が保持されている受信バツフアの先頭アドレス、
転送バイト数をDMA制御装置20にセツトし
(123)送信を起動する。
The transmission processing flow in Figure 7 shows that the frame has been sent,
Started by response monitoring timer. When the sending of one frame is completed, the presence or absence of a registered transmission queue is checked in step 110 (120), and the presence or absence of a registered response sending request is checked in step 119 (121), and if there is a request, it is checked. DMA for
Indicates the start address where the data waiting for response or transmission is stored in the control device 20, and the number of bytes to be transferred.
The HDLC transmission control device 40 is set (123). At time t5 in FIG. 8, a response frame is sent from station 3 to station 1. Since there is no data to be transmitted, the response frame consists only of a station address field A, a control field C, and a frame check sequence FCS. Continuing to set the response monitoring timer (124),
Transmission activation (125) is performed. If there is a retransmission request (129), the counter for the number of retransmissions is incremented (126), and if the retransmission is repeated a certain number of times or more (127), it is assumed that there is an abnormality in the other station or the transmission line, and abnormal processing is performed. Do (128). If the retransmission counter does not exceed a certain value, the start address of the reception buffer that holds the data to be retransmitted,
The number of bytes to be transferred is set in the DMA control device 20 (123) and transmission is started.

第8図に示したごとくステーシヨンST3から
ステーシヨンST2へのフレームは時刻t6で受信
完了となり、ST3からST2への応答フレームは
回線が使用中でなければプロセツサの処理時間だ
け遅れて時刻t7で送出され、ST3では時刻t8で応
答フレームの受信が完了しデータを保持していた
受信バツフアがクリアされる。したがつてST3
の受信バツフアは時刻t1からt8までの間占有され
ている。また送出すべき回線が使用中でない場合
には(t3−t1)の時間だけステーシヨン内で遅れる
だけで、1フレームを経て受信完了してから送出
を開始する場合に比較してステーシヨン内での遅
れ時間が小さくできた。フレーム長を例えば256
バイト程度とするとステーシヨンでの遅れ時間は
(5バイト+プロセツサの処理時間)となり1フ
レームを完全に受信してから送出する場合に比較
してステーシヨン内での遅れは1/50程度となる。
As shown in Figure 8, the reception of the frame from station ST3 to station ST2 is completed at time t6 , and the response frame from ST3 to ST2 is delayed by the processing time of the processor at time t7 if the line is not in use. In ST3, reception of the response frame is completed at time t8 , and the reception buffer holding the data is cleared. Therefore ST3
The receive buffer of is occupied from time t 1 to t 8 . In addition, if the line to be transmitted is not in use, there will be a delay within the station for the time (t 3 − t 1 ), compared to the case where transmission is started after reception is completed after one frame. The delay time was reduced. Set the frame length to 256 for example
If it is on the order of bytes, the delay time at the station will be (5 bytes + processor processing time), and the delay within the station will be about 1/50 of the case where one frame is completely received and then sent.

また相手ステーシヨンから応答フレームが受信
されるまで受信バツフアにデータが保持されてい
るためネツトワーク内でフレームが紛失すること
がなく高信頼度なデータ伝送ができる。
Furthermore, since data is held in the reception buffer until a response frame is received from the other station, highly reliable data transmission is possible without losing frames within the network.

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

このように本発によればフレーム全体の受信が
完了していなくても、宛先MCアドレスA、転送
バイト数を受信した時点で直ちに相手ステーシヨ
ンにフレームの送信ができ、ステーシヨン内での
伝送遅れ時間を十分小さくできる。更にプロセツ
サには宛先MCアドレスの判断、HDLC伝送制御
装置の起動停止などの機能を実行し、HDLC伝送
制御装置と記憶装置間のデータ転送をDMA装置
に行なわせることにより高速転送が可能で、かつ
伝送回線の伝送速度を高くすることができる。ま
た実施例に示したステーシヨンはマイクロコンピ
ユータ、及びその周辺LSIで全て実現できるた
め、安価に構成できるなどこの方面における工業
的効果は大きい。
In this way, according to the present invention, even if the reception of the entire frame is not completed, the frame can be sent to the destination station immediately upon receiving the destination MC address A and the number of transfer bytes, reducing the transmission delay time within the station. can be made sufficiently small. Furthermore, the processor executes functions such as determining the destination MC address and starting and stopping the HDLC transmission control device, and allows high-speed data transfer by having the DMA device transfer data between the HDLC transmission control device and the storage device. The transmission speed of the transmission line can be increased. Furthermore, since the station shown in the embodiment can be realized entirely using a microcomputer and its peripheral LSI, it can be constructed at low cost, and has great industrial effects in this area.

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

第1図は網状の情報系の構成図、第2図は本発
明の基本的な構成例図、第3図はデータフオーマ
ツト図、第4図、第5図、第6図A,B、第7図
は本発明の動作説明のためのフローチヤート図、
第8図は本発明の動作説明のためのタイムチヤー
ト図である。 ST1,ST2,ST3,ST4,ST5…ステーシ
ヨン、MC1,MC2,MC3,MC4,MC5,
MC6,MC7…マイクロコンピユータ、l11
l13,l14,l23,l24,l25,l45…伝送回線、10…マ
イクロプロセツサ、20…DMA制御装置、30
…記憶装置、40…HDLC伝送制御装置、50…
信号伝送装置。
Fig. 1 is a configuration diagram of a mesh information system, Fig. 2 is an example of the basic configuration of the present invention, Fig. 3 is a data format diagram, Figs. 4, 5, and 6 A, B, FIG. 7 is a flowchart diagram for explaining the operation of the present invention;
FIG. 8 is a time chart for explaining the operation of the present invention. ST1, ST2, ST3, ST4, ST5...Station, MC1, MC2, MC3, MC4, MC5,
MC6, MC7...Microcomputer, l11 ,
l13 , l14 , l23 , l24 , l25 , l45 ...transmission line, 10...microprocessor, 20...DMA control device, 30
...Storage device, 40...HDLC transmission control device, 50...
Signal transmission equipment.

Claims (1)

【特許請求の範囲】[Claims] 1 ネツトワーク形成の情報伝送網と、該情報伝
送網の各接続点に設けられたステーシヨンとを備
え、各ステーシヨンは、該情報伝送網との伝送制
御をする伝送制御装置、各種情報を記憶する記憶
装置、前記伝送制御装置と記憶装置間でデータ転
送を行わせる直接メモリアクセス装置、これら装
置の作動制御をすると共に所定の処理を実行する
プロセツサを少なくとも備えて構成され、各ステ
ーシヨン間の伝送に用いられる伝送フレーム中に
宛先アドレスと転送データ数表示用データとを設
け、ステーシヨンは、上記伝送フレームのデータ
を受信したときに宛先アドレスを割り出して、受
信しつつある伝送フレームを対応するステーシヨ
ンに向けて送信し、この送信動作を実行しつつ且
つ受信しているデータを自己の記憶装置に格納
し、送信先ステーシヨンが正常受信できず再送要
求があつたときに該記憶装置内に格納されている
データを送信先ステーシヨンに送信するようにし
た情報伝送網のデータ伝送方式。
1.Equipped with an information transmission network forming a network and a station provided at each connection point of the information transmission network, each station has a transmission control device that controls transmission with the information transmission network, and stores various information. A storage device, a direct memory access device that transfers data between the transmission control device and the storage device, and a processor that controls the operation of these devices and executes predetermined processing. A destination address and data for displaying the number of transferred data are provided in the transmission frame to be used, and the station determines the destination address when receiving the data of the transmission frame and directs the transmission frame being received to the corresponding station. The data being received while performing this transmission operation is stored in its own storage device, and is stored in the storage device when the destination station cannot receive the data normally and a retransmission request is made. A data transmission method for an information transmission network that sends data to a destination station.
JP6769778A 1978-06-07 1978-06-07 Data transmission system for information transmission network Granted JPS54159103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6769778A JPS54159103A (en) 1978-06-07 1978-06-07 Data transmission system for information transmission network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6769778A JPS54159103A (en) 1978-06-07 1978-06-07 Data transmission system for information transmission network

Publications (2)

Publication Number Publication Date
JPS54159103A JPS54159103A (en) 1979-12-15
JPS6145423B2 true JPS6145423B2 (en) 1986-10-08

Family

ID=13352397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6769778A Granted JPS54159103A (en) 1978-06-07 1978-06-07 Data transmission system for information transmission network

Country Status (1)

Country Link
JP (1) JPS54159103A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3845497B2 (en) * 1997-07-29 2006-11-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer system

Also Published As

Publication number Publication date
JPS54159103A (en) 1979-12-15

Similar Documents

Publication Publication Date Title
US4835674A (en) Computer network system for multiple processing elements
US4831620A (en) Controller for controlling multiple LAN types
JP2889932B2 (en) Dual-path computer interconnect system with 4-port packet memory controller
CA2103895C (en) Method and apparatus for controlling data communication operations within stations of a local area network
US4831518A (en) Multiprocessor interrupt rerouting mechanism
EP0196911B1 (en) Local area networks
US5020020A (en) Computer interconnect system with transmit-abort function
US5187780A (en) Dual-path computer interconnect system with zone manager for packet memory
US4750114A (en) Local area network control block
US4771286A (en) Lan controller having split bus design
US20060291508A1 (en) Asynchronous data pipe for automatically managing asynchronous data transfers between an application and a bus structure
JPS5847111B2 (en) loop transmission system
JPS5947906B2 (en) loop transmission system
EP0479520A2 (en) Network communication apparatus
JPH0654911B2 (en) Method and apparatus for transferring mastership
JPS6072351A (en) How to monitor the operating status of a packet communication system
JPS6145423B2 (en)
US4823124A (en) Lan controller proprietary bus
EP0255096B1 (en) A controller for controlling multiple LAN types
EP0255090A2 (en) LAN controller proprietary bus
JP2924783B2 (en) Remote read processing method and device
Simoncic et al. Shipnet: A real-time local area network for ships
RU2691886C1 (en) Complex-functional unit for vlsi-type system on chip
JPH0556084A (en) Data transmission method for communication controller
JPH0152774B2 (en)