JPH0644776B2 - Line control device - Google Patents

Line control device

Info

Publication number
JPH0644776B2
JPH0644776B2 JP61275721A JP27572186A JPH0644776B2 JP H0644776 B2 JPH0644776 B2 JP H0644776B2 JP 61275721 A JP61275721 A JP 61275721A JP 27572186 A JP27572186 A JP 27572186A JP H0644776 B2 JPH0644776 B2 JP H0644776B2
Authority
JP
Japan
Prior art keywords
line
control
main
line control
transmission
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 - Fee Related
Application number
JP61275721A
Other languages
Japanese (ja)
Other versions
JPS63128837A (en
Inventor
俊明 井比
繁 橋本
祐治 松崎
和幸 三石
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 JP61275721A priority Critical patent/JPH0644776B2/en
Publication of JPS63128837A publication Critical patent/JPS63128837A/en
Publication of JPH0644776B2 publication Critical patent/JPH0644776B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 〔概要〕 回線種別,回線スループットの向上,二重化構成等の要
請に対処するため2組の回線制御部を設け、主装置より
対応する回線制御プログラムをロードするとともに、回
線制御部間に通信手段と共有メモリとを設けて一方を主
側(マスタ)として主装置側の制御を簡易化したもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Outline] Two sets of line control units are provided in order to cope with demands for line type, line throughput improvement, duplex configuration, etc. A communication means and a shared memory are provided between the control units, and one side is used as a main side (master) to simplify control on the main device side.

〔産業上の利用分野〕[Industrial application field]

本発明は回線制御装置の改良に関する。 The present invention relates to improvement of a line control device.

データ通信は、各種プロトコルの開発,通信速度の向上
とともに普及してきたが、その結果として回線種別が多
種多様にわたり、これら回線種別の異なる装置間の接続
という問題点が生じている。
Data communication has become widespread with the development of various protocols and the improvement of communication speed, but as a result, there are various line types and the problem of connection between devices having different line types has arisen.

また一方では、データ通信の重要性の高まりから、回線
系の障害に対する対策が要望されている。
On the other hand, as the importance of data communication has increased, measures against line system failures have been demanded.

しかし、システムに対応してそれぞれ回線制御装置を準
備することは、ハード的にもソフト的にも困難であり、
これらの要望に簡易に対処し得る回線制御装置が求めら
れている。
However, it is difficult in terms of hardware and software to prepare a line control device for each system,
There is a demand for a line control device that can easily meet these demands.

〔従来の技術〕[Conventional technology]

第3図(a)は従来の回線制御装置ブロック図、第3図(b)
は2重化方式説明図である。
FIG. 3 (a) is a block diagram of a conventional line control device, and FIG. 3 (b).
FIG. 4 is an explanatory diagram of a duplication method.

第3図(a)において、回線制御装置3は、共通バス10
0に接続されて主プロセッサ(主CPU)1と制御情報
をやりとりしつつ送受信データを転送するインタフェー
ス(IF)制御部4、各種プロトコル制御を行う回線制
御プログラム,送受信データ等を格納するメモリ6、プ
ロセッサCPU5、回線インタフェース制御部7等より
構成され、上記回線制御プログラムにより、送信部およ
び受信部が形成される。即ち、 送信処理・・・主CPU1の起動により、主メモリ2上
に存在する送信データをメモリ6に取込み、所定のプロ
トコルフォーマットに加工した後、回線インタフェース
制御部7を介して外部回線53に送出する。
In FIG. 3 (a), the line control device 3 uses the common bus 10
An interface (IF) controller 4 connected to 0 for transferring control data to and from the main processor (main CPU) 1 while transferring control information, a line control program for controlling various protocols, a memory 6 for storing transfer data, etc. It is composed of a processor CPU 5, a line interface control unit 7 and the like, and a transmission unit and a reception unit are formed by the line control program. That is, the transmission process ... By activating the main CPU 1, the transmission data existing in the main memory 2 is taken into the memory 6, processed into a predetermined protocol format, and then sent to the external line 53 via the line interface control unit 7. To do.

受信処理・・・回線より受信した受信データを分解,解
析した後、主メモリ2に転送し、主CPU1に通知す
る。
Reception process: Received data received from the line is disassembled and analyzed, then transferred to the main memory 2 and notified to the main CPU 1.

ここで、受信データの内容によっては回線制御装置3内
で廃棄するとともに、送信部に応答情報の送信依頼を行
う場合もある。
Here, depending on the content of the received data, it may be discarded in the line control device 3 and the transmission unit may be requested to transmit the response information.

また、上記回線インタフェース制御部7は、CPU5が
リード/ライトするレジスタを備え、送受信データをそ
れぞれ並列−直列変換,直列−並列変換して全二重通信
を行う機能、回線速度を選択する機能等を備えたもので
ある。
The line interface control unit 7 includes a register which the CPU 5 reads / writes, and has a function of performing parallel-serial conversion and serial-parallel conversion of transmission / reception data to perform full-duplex communication, a function of selecting a line speed, and the like. It is equipped with.

上記回線制御装置において、種々の回線種別への対応
は、CPU5による各種プロトコル制御、主装置との間
のDMA(ダイレクトメモリアクセス)による高速転
送、回線速度の選択等で実現されるが、衛星通信のごと
く、上下回線で回線速度が異なる場合とか、LAN(ロ
ーカルエリアネットワーク)等ベースバンド方式の全二
重通信への対応とか、回線制御装置の二重化等の要望に
対しては、2組の回線制御装置を設け、それぞれ主CP
U1が制御するように構成される場合が多い。
In the line control device, various line types are supported by various protocol controls by the CPU 5, high-speed transfer by DMA (direct memory access) with the main unit, line speed selection, etc. For example, if the line speed is different for the upper and lower lines, or if it is necessary to support full-duplex communication such as LAN (local area network) baseband system, or to duplicate the line control device, two sets of lines A control device is provided, and each main CP
Often U1 is configured to control.

第3図(b)は、回線制御装置の二重化方式の1例を示す
図であって、同一の回線制御装置3を2組共通バス10
0に接続し、一方を待機状態に設定するとともに、主側
に障害が検出されたとき、主CPU1によって切換部8
を切換え、待機側に切換える方式を示したものである。
FIG. 3 (b) is a diagram showing an example of a duplex system of the line control device, in which two sets of the same line control device 3 are connected to the common bus 10
0, one of them is set to a standby state, and when a failure is detected on the main side, the main CPU 1 switches the switching unit 8
This is a method of switching the switch to the standby side.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

回線種別,二重化構成等に対処するとき、同じ回線制御
装置を2組装置に組み込む従来の方法は、主CPU1が
それぞれの回線制御装置を意識して送受信制御を行う必
要があるとともに、ハード的にもソフト的にも複雑且つ
高価となる問題点があった。
When dealing with line types, duplicated configurations, etc., the conventional method of incorporating the same line control device into two sets of devices requires that the main CPU 1 be aware of each line control device and perform transmission / reception control, and in terms of hardware. There is a problem that it is complicated and expensive in terms of software.

本発明は、多様化する回線種別とともに二重化構成にも
対応し得る簡易な回線制御装置を提供することを目的と
する。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a simple line control device capable of coping with a diversified line type and a duplex configuration.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的のため、本発明の回線制御装置は、第1図本発
明の原理説明図に示すように、 主装置との間で送受信データ(51)を転送するメインイ
ンタフェース制御部(13)と、回線制御プログラム(5
0)を格納する個別メモリ(16)と、該回線プログラム
(50)に基づき回線制御を行うプロセッサ(17)と、外
部回線(53)とのインタフェース手段を備えた回線イン
タフェース制御部(7 )とをそれぞれ備えた第1および
第2の回線制御部(10,11 )を備えるとともに、 第1および第2の回線制御部(10,11 )がそれぞれ送受
信データ(51)を格納する共有メモリ(18)と、 第1および第2の回線制御部(10,11 )との間で通信す
る通信手段(26)と、 それぞれ回線種別に対応した回線制御手段を備える回線
制御プログラム(50)を主装置よりロードするロード手
段(27)と、 第1の回線制御部(10)を介して主装置と送受信制御情
報(52)をやりとりする制御手段(28)と、 該回線制御手段に対応する外部回線(53)を第1および
第2の回線制御部(10,11 )にそれぞれ切換え接続する
切換部(12)と、 を設けたものである。
For the above purpose, the line control device of the present invention includes a main interface control unit (13) for transferring transmission / reception data (51) to / from a main device, as shown in FIG. Line control program (5
An individual memory (16) for storing 0), a processor (17) for performing line control based on the line program (50), and a line interface control section (7) having interface means with an external line (53) And a shared memory (18) for storing the transmission / reception data (51), respectively, in addition to the first and second line control units (10, 11) each of which is provided with the first and second line control units (10, 11). ), A communication means (26) for communicating between the first and second line control units (10, 11), and a line control program (50) including line control means corresponding to each line type as a main device. Load means (27) for further loading, control means (28) for exchanging transmission / reception control information (52) with the main unit via the first line control section (10), and an external line corresponding to the line control means. (53) to the first and second line control units (10, 11) is provided with a switching section (12) for switching connection.

〔作用〕[Action]

高速回線、上り下りの回線速度が異なる回線、ベースバ
ンドの全二重通信、二重化構成等、種々の回線種別の要
求に対応して、2組の第1および第2の回線制御部1
0,11(以下10をマスタ、11をスレーブとする)
に回線制御を分担せしめ、それに対応して外部回線53
を切換える。
Corresponding to various line types such as high-speed lines, lines with different uplink / downlink line speeds, full-band baseband communication, and duplex configuration, two sets of first and second line control units 1 are provided.
0, 11 (10 is the master and 11 is the slave below)
To share the line control with the external line 53
To switch.

このため、対応する回線制御プログラム50をそれぞれ
主装置よりロードするとともに、そのプログラムにより
切換部12を切換える。
Therefore, the corresponding line control program 50 is loaded from each main unit, and the switching unit 12 is switched by the program.

主装置側との間の送受信データ51の転送は、それぞれ
のメインインタフェース制御部13によりDMAで高速
に転送し、主装置と回線制御装置との送受信制御情報の
やりとりは、マスタ側のメインインタフェース制御部を
通じて行う。このため、通信手段26は主装置とスレー
ブ側との通信をマスタ側を介して行うために設けられた
ものである。
Transmission / reception data 51 to / from the main unit is transferred at high speed by DMA by each main interface control unit 13, and exchange of transmission / reception control information between the main unit and the line control unit is performed by the main interface control on the master side. Through the department. For this reason, the communication means 26 is provided for communicating between the main unit and the slave side via the master side.

また、共有メモリ18は送受信データを格納するもの
で、二重化構成のとき共通にアクセスされる。
The shared memory 18 stores transmission / reception data and is commonly accessed in the duplex configuration.

以上によって、回線種別、二重化に対応するとともに、
主装置は2組の回線制御部を意識することなく送受信制
御を行うことができる。
With the above, line type and duplex are supported,
The main device can perform transmission / reception control without being aware of the two sets of line control units.

回線種別への対応例を以下に示す。An example of correspondence to the line type is shown below.

(1) 別系統の回線または別装置の回線に対応 〔第2図(a)−(I)独立2回線方式〕 マスタおよびスレーブに独立した送受信制御手段を備え
る回線制御プログラム50をロードし、切換部12をそ
れぞれ対応する外部回線53に接続制御する。この方式
によって全二重通信の2チャンネル回線が得られる。
(1) Corresponding to a line of another system or a line of another device [Fig. 2 (a)-(I) Independent two-line system] Load and switch the line control program 50 having independent transmission / reception control means for master and slave Connection control of each unit 12 to the corresponding external line 53 is performed. With this method, a two-channel line for full-duplex communication can be obtained.

(2) 高速回線への対応 〔第2図(a)−(II)送受分担方式〕 マスタおよびスレーブにそれぞれ送信制御,受信制御を
分担させ、1組の外部回線53に接続する。
(2) Correspondence to high-speed line [Fig. 2 (a)-(II) Transmission / reception sharing method] The master and the slave are respectively responsible for transmission control and reception control, and are connected to one set of external lines 53.

(3) 上下の回線速度が異なる回線に対応 〔第2図(a)−(II)送受分担方式〕 (2)と同様に送受分担させ、それぞれ回線速度を変え
る。
(3) Corresponding to lines with different upper and lower line speeds [Figure 2 (a)-(II) Transmission and reception sharing method] The transmission and reception are shared in the same manner as (2), and the line speeds are changed respectively.

(4) 回線制御装置の二重化への対応 〔第2図(a)−(III)回線制御装置の二重化方式〕 同じ送受信制御プログラム50を持たせ、スレーブ側を
待機状態に接続し、マスタ側に障害が発生したときスレ
ーブ側に制御を切換える。
(4) Correspondence to duplex of line control unit [Fig. 2 (a)-(III) Duplex system of line control unit] Have the same transmission / reception control program 50, connect slave side to standby state, and connect to master side When a failure occurs, control is switched to the slave side.

(5) 回線の二重化 〔第2図(a)−(V)回線の二重化方式〕 装置間に2組の回線を設け、一方の回線制御部のみ動作
させる。
(5) Line duplication [Fig. 2 (a)-(V) Line duplication method] Two sets of lines are provided between the devices and only one line control unit is operated.

現用の外部回線53に障害が発生したとき、切換部12
により他方の外部回線に切換える。
When a failure occurs in the active external line 53, the switching unit 12
To switch to the other external line.

(5) 半二重ベースバンド方式における全二重通信への
対応 〔第2図(a)−(IV)ベースバンドにおける全二重方
式〕 回線を二重化し、送受分担させる。
(5) Correspondence to full-duplex communication in half-duplex baseband system [Fig. 2 (a)-(IV) Full-duplex system in baseband] The line is duplexed and the transmission and reception are shared.

一方の回線制御部または回線に障害が発生したとき、他
系統で半二重通信を行う。
When a line control unit or line fails, half-duplex communication is performed in the other system.

以上のごとく、2組の回線制御手段を設けて回線種別に
対応せしめるとともに、主装置との制御用インタフェー
ス手段が1組であるため、主装置が2組の回線制御部を
意識することなく送受信制御が行える。
As described above, two sets of line control means are provided to correspond to the line types, and since there is only one set of control interface means with the main device, the main device does not need to be aware of the two sets of line control units for transmission / reception. You can control.

〔実施例〕〔Example〕

本発明の実施例を第2図、第3図を参照しつつ説明す
る。
An embodiment of the present invention will be described with reference to FIGS. 2 and 3.

第2図(a)は対応例を表す図、第2図(b)は実施例の回線
制御装置ブロック図、第2図(c)は送受分担方式の動作
説明図、第2図(d)は送受分担方式における動作フロー
チャート図、第2図(e)はモデムとの接続例を表す図で
ある。
FIG. 2 (a) is a diagram showing a correspondence example, FIG. 2 (b) is a block diagram of the line control device of the embodiment, FIG. 2 (c) is an operation explanatory diagram of the transmission / reception sharing system, and FIG. 2 (d). Is an operation flowchart of the transmission / reception sharing system, and FIG. 2 (e) is a diagram showing an example of connection with a modem.

〔構成〕〔Constitution〕

以下、それぞれマスタ回線制御部10(第1の回線制御
部10)およびスレーブ回線制御部11(第2の回線制
御部11)に属する同一対象物は同一符号に添字aおよ
びbを付す。
Hereinafter, the same object belonging to each of the master line control unit 10 (first line control unit 10) and the slave line control unit 11 (second line control unit 11) will be denoted by the same reference numeral with subscripts a and b.

13a,bはメインインタフェース制御部であり、主メ
モリ2〔第3図(a)〕と共有メモリ18との間で送受信
データ51をDMA転送する機能と、主CPU1とマス
タCPU16aまたはスレーブCPU16bとの間で送
受信制御情報52のやりとりを行う機能を有するもの、 14a,bは、回線制御プログラム50を主メモリ2よ
りロードするこめのIPLプログラム54を格納した読
出し専用メモリROM、 15は、マスタCPU16aとスレーブCPU16bと
の間で通信を行うためのインタフェース(I/F)レジ
スタで、コマンド,ステータス用等複数より構成される
もの、 16a,16bは、それぞれマイクロプロセッサ等で構
成されるマスタCPUおよびスレーブCPU、 17a,17bは、回線制御プログラム50等をロード
する個別メモリ、 18は、送受信データ51を一時格納する共有メモリ
で、マスタCPU16a,スレーブCPU16bが共通
にアクセス可能なもの、 7a,7bは回線インタフェース制御部であり、前述し
た回線インタフェース制御部7と同一のもの、 12は切換部であり、マルチプレクサMPX20,2
1,22,23を図示のごとく接続するとともに、図示
省略したレジスタにセットされた送信切換信号Sおよび
受信切換信号Rにより切換えられるもの、 24a,bは回線ドライバDV、 25a,bは回線レシーバRV、 である。
Reference numerals 13a and 13b denote main interface control units, which have a function of DMA-transmitting the transmission / reception data 51 between the main memory 2 [FIG. 3 (a)] and the shared memory 18, and the main CPU 1 and the master CPU 16a or the slave CPU 16b. Having a function of exchanging transmission / reception control information 52 between them, 14a and 14b are read-only memory ROMs storing an IPL program 54 for loading the line control program 50 from the main memory 2, and 15 is a master CPU 16a. Interface (I / F) registers for communication with the slave CPU 16b, which are composed of a plurality of command and status registers, 16a and 16b are a master CPU and a slave CPU, each of which is a microprocessor or the like. , 17a, 17b, the line control program 50, etc. A shared memory for temporarily storing the transmission / reception data 51, which can be commonly accessed by the master CPU 16a and the slave CPU 16b, 7a and 7b are line interface control units, and the above-mentioned line interface control unit 7 is the same as 7, 12 is a switching unit, the multiplexer MPX20,2
1, 22 and 23 are connected as shown and switched by a transmission switching signal S and a reception switching signal R set in a register (not shown), 24a and b are line drivers DV, and 25a and b are line receivers RV ,.

なお、通信手段26はI/Fレジスタ15に、ロード手
段27はROM14a,14bにそれぞれ格納されたI
PLプログラム54に、制御手段28は後述する主CP
U1とマスタCPU16aとの通信プログラムにそれぞ
れ対応する。
The communication means 26 is stored in the I / F register 15, and the loading means 27 is stored in the ROMs 14a and 14b.
In the PL program 54, the control means 28 is the main CP described later.
It corresponds to the communication program between U1 and the master CPU 16a.

上記構成の回線制御装置は、例えばボードで構成され、
種々の装置に装着し得るように標準化される。
The line control device having the above-mentioned configuration is composed of, for example, a board,
It is standardized so that it can be attached to various devices.

〔回線制御プログラムのローディング〕[Line control program loading]

以下送受分担方式〔第2図(a)−(II)〕を例として動
作を説明する。第2図(c),(d)参照 回線制御プログラム50はプロトコル制御等回線処理を
実行させるプログラムから成り、ROM14a,bに持
つIPLプログラム54によって、主メモリ2上よりメ
インインタフェース制御部13a,13bを介して個別
メモリ17a,17bにそれぞれ格納する。
The operation will be described below by taking the transmission / reception sharing system [FIG. 2 (a)-(II)] as an example. 2 (c) and 2 (d) The line control program 50 is composed of a program for executing line processing such as protocol control. The IPL program 54 stored in the ROMs 14a and 14b allows the main interface control units 13a and 13b to be accessed from the main memory 2. To the individual memories 17a and 17b via

上記IPLによりロードされる回線制御プログラム50
の構成を以下に示す。
Line control program 50 loaded by the IPL
The configuration of is shown below.

マスタ回線制御部10 ・送信制御プログラム ・主装置側との通信プログラム ・スレーブ側との通信プログラム ・主メモリとのデータ転送プログラム ・切換部制御プログラム スレーブ回線制御部11 ・受信制御プログラム ・マスタ側との通信プログラム ・主メモリとのデータ転送プログラム である。Master line control unit 10-Transmission control program-Communication program with main unit side-Communication program with slave side-Data transfer program with main memory-Switching unit control program Slave line control unit 11-Reception control program-Master side Communication program ・ Data transfer program with main memory.

〔起動〕〔Start-up〕

上記ローディングが完了すると、主CPU1の指示に基
づき、IPLプログラム54から上記ロードされた回線
制御プログラム50に実行が切換わる。
When the loading is completed, the execution is switched from the IPL program 54 to the loaded line control program 50 based on the instruction of the main CPU 1.

〔回線インタフェースの設定〕[Line interface settings]

それぞれの回線制御プログラム50が起動されると、ま
ず回線インタフェース制御部7a,7bの動作モードが
設定され、マスタ回線制御部10によって回線(送信お
よび受信)切換信号R,Sが出力されて所定の回線に接
続される。
When each line control program 50 is activated, first, the operation mode of the line interface control units 7a and 7b is set, and the line (transmission and reception) switching signals R and S are output by the master line control unit 10 and the predetermined operation is performed. Connected to the line.

以上の処理により回線制御装置はレデイ状態となり、送
受信動作が可能となる。
With the above processing, the line control device is put into the ready state, and the transmission / reception operation becomes possible.

〔送信動作〕[Sending operation]

(1) 主CPU1より送信データの格納先とともに送信
指令がメインインタフェース制御部13aを通じて出力
され(第2図(c),(d)−S1)、これに基づきマスタCP
U16aはメインインタフェース制御部13aに指示し
て、主メモリ2より共有メモリ18に送信データを転送
せしめる。(S2) (2) マスタCPU16aは、共有メモリ18より送信
データを読取り、所定のプロトコルフォーマットに生成
して、回線インタフェース制御部7aに送信を依頼す
る。(S3) (3) 回線インタフェース制御部7aは、スタートビッ
ト,ストップビット,パリティ等(調歩式の場合)を付
加して設定された回線速度で出力する。
(1) The main CPU 1 outputs a transmission command together with the storage destination of the transmission data through the main interface control unit 13a (Fig. 2 (c), (d) -S1), and based on this, the master CP
The U 16a instructs the main interface control unit 13a to transfer the transmission data from the main memory 2 to the shared memory 18. (S2) (2) The master CPU 16a reads the transmission data from the shared memory 18, generates it in a predetermined protocol format, and requests the line interface control section 7a to transmit it. (S3) (3) The line interface control unit 7a outputs at the set line speed with the addition of start bits, stop bits, parity, etc. (in the case of start-stop type).

(4) この送信データはMPX22、DV24aを通じ
て外部回線に出力される。
(4) This transmission data is output to the external line through the MPX 22 and DV 24a.

(5) フレーム送信完了ごとに主CPU1に送信完了が
通知される。(S4) 〔受信動作〕 (1) 予め受信データを格納する主メモリ2上のバッフ
ァ情報(アドレスおよびレングス))が主CPU1より
マスタ回線制御部10に通知され、マスタ回線制御部1
0はこれを受信してスレーブ回路制御部11に通知す
る。(R1) (2) 受信データは、RV25a,MPX21を通じて
回線インタフェース制御部7bに受信され、スレーブC
PU16bに通知される。(R2) (3) スレーブCPU16(b)は回線インタフェース制御
部7bよりこれを順次読取り共有メモリ18に格納し、
解析,処理を施した後、メインインタフェース制御部1
3bに予め指示された主メモリ2上の領域を指定して転
送せしめる。(R3) (4) フレーム受信ごとにI/Fレジスタ15を介して
マスタ側に受信完了を通知し、マスタ回線制御部10は
これを主CPU1に通知する。(R4) (5) 受信データが所定の応答を必要とするものであれ
ば、主メモリ2への転送は行わず、マスタ回線制御部1
0に応答電文の送信を依頼する。
(5) The completion of transmission is notified to the main CPU 1 every time frame transmission is completed. (S4) [Reception Operation] (1) The main CPU 1 notifies the master line control unit 10 of buffer information (address and length) in the main memory 2 for storing reception data in advance, and the master line control unit 1
0 receives this and notifies the slave circuit control unit 11 of it. (R1) (2) The received data is received by the line interface control unit 7b through the RV 25a and MPX 21, and the slave C
The PU 16b is notified. (R2) (3) The slave CPU 16 (b) sequentially reads this from the line interface controller 7b and stores it in the shared memory 18,
After analysis and processing, main interface control unit 1
An area on the main memory 2 designated in advance in 3b is designated and transferred. (R3) (4) Each time a frame is received, the master side is notified of the completion of reception via the I / F register 15, and the master line control unit 10 notifies the main CPU 1 of this. (R4) (5) If the received data requires a predetermined response, it is not transferred to the main memory 2 and the master line controller 1
Request 0 to send a response message.

〔回線制御装置の二重化方式〕[Redundant system of line control device]

同一の送受信制御プログラムをマスタおよびスレーブ側
にロードし、スレーブ側が待機状態となるように回線を
接続してマスタ側に送受信制御を行わせる。
The same transmission / reception control program is loaded on the master and slave sides, the lines are connected so that the slave side is in a standby state, and the master side performs transmission / reception control.

マスタ側に回線エラー等所定の切換状態が発生したと
き、主CPU1の判断によりスレーブ側に制御を切換え
る。
When a predetermined switching state such as a line error occurs on the master side, control is switched to the slave side according to the judgment of the main CPU 1.

なお、主装置との通信系をスレーブ側に切換えるように
構成する場合は、スレーブ側または主CPU1に切換部
12の切換手段を持たせる。
When the communication system with the main unit is switched to the slave side, the slave side or the main CPU 1 is provided with the switching means of the switching unit 12.

〔外部回線との接続〕[Connection with external line]

回線制御装置がモデム,回線終端装置(DSU)に接続
される場合は、切換部12は制御線も同時に切換える。
When the line control device is connected to a modem or a line terminating device (DSU), the switching unit 12 also switches the control line at the same time.

送受分担方式におけるモデムへの接続形態(RS232
Cインタフェース)を第2図(e)に示す。
Connection mode to the modem in the transmission / reception sharing system (RS232
The C interface is shown in Fig. 2 (e).

以上に示したように、2組の回線制御部を設けて回線種
別に対応した回線制御プログラムをロードするととも
に、主装置側との通信手段として1組のインタフェース
を設けたものであるから、あらゆる回線種別に対応でき
るとともに、主装置側の制御を簡易にすることができ
る。
As described above, since two sets of line control units are provided to load the line control programs corresponding to the line types and one set of interface is provided as a communication means with the main unit side, The line type can be supported and the control on the main device side can be simplified.

〔発明の効果〕〔The invention's effect〕

本発明は、2組の回線制御部を設けて回線種別に対応せ
しめるとともに、主装置側の制御を簡易化したものであ
るから、装置間通信における効果は極めて多大である。
According to the present invention, two sets of line control units are provided to correspond to the line types and the control on the side of the main device is simplified. Therefore, the effect in communication between devices is extremely great.

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

第1図は本発明の原理説明図、 第2図(a)は対応例を表す図、 第2図(b)は実施例の回線制御装置ブロック図、 第2図(c)は送受分担方式の動作説明図、 第2図(d)は送受分担方式における動作フローチャート
図、 第2図(e)はモデムとの接続例を表す図、 第3図(a)は従来の回線制御装置ブロック図、 第3図(b)は従来の二重化方式説明図、 である。図中、 1は主プロセッサCPU、2は主メモリ、 3は回線制御装置、 4はインタフェース制御部(IF制御部)、 5はプロセッサCPU、6はメモリ、 7,7a,7bは回線インタフェース制御部、 8は切換部、 10は第1の回線制御部(マスタ回線制御部)、 11は第2の回線制御部(スレーブ回線制御部)、 12は切換部、 13,13a,13bはメインインタフェース制御部、 14a,14bは読出し専用メモリROM、 15はインタフェース(I/F)レジスタ、 16はプロセッサ、 16aはマスタプロセッサCPU、 16bはスレーブプロセッサCPU、 17,17a,17bは個別メモリ、 18は共有メモリ、 20,21,22,23はマルチプレクサMPX、 24a,24bは回線ドライバDV、 25a,25bは回線レシーバRV、 26は通信手段、27はロード手段、 28は制御手段、 50は回線制御プログラム、 51は送受信データ、 52は送受信制御情報、 53は外部回線、 54はIPLプログラム、 100は共通バス、 である。
FIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 (a) is a diagram showing a corresponding example, FIG. 2 (b) is a block diagram of the line control device of the embodiment, and FIG. 2 (c) is a transmission / reception sharing system. 2 (d) is an operation flowchart of the transmission / reception sharing system, FIG. 2 (e) is a diagram showing an example of connection with a modem, and FIG. 3 (a) is a block diagram of a conventional line control device. FIG. 3 (b) is a diagram for explaining the conventional duplexing method. In the figure, 1 is a main processor CPU, 2 is a main memory, 3 is a line control device, 4 is an interface control unit (IF control unit), 5 is a processor CPU, 6 is a memory, and 7, 7a and 7b are line interface control units. , 8 is a switching unit, 10 is a first line control unit (master line control unit), 11 is a second line control unit (slave line control unit), 12 is a switching unit, 13, 13a, 13b are main interface controls Section, 14a and 14b are read-only memory ROMs, 15 is an interface (I / F) register, 16 is a processor, 16a is a master processor CPU, 16b is a slave processor CPU, 17, 17a and 17b are individual memories, 18 is a shared memory 20, 21, 22, 23 are multiplexers MPX, 24a, 24b are line drivers DV, 25a, 25 Is a line receiver RV, 26 is a communication unit, 27 is a load unit, 28 is a control unit, 50 is a line control program, 51 is transmission / reception data, 52 is transmission / reception control information, 53 is an external line, 54 is an IPL program, and 100 is common The bus is.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 三石 和幸 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 昭59−180741(JP,A) 特開 昭59−178543(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kazuyuki Mitsuishi 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (56) References JP 59-180741 (JP, A) JP 59-178543 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】主装置との間で送受信データ(51)を転送
するメインインタフェース制御部(13)と、回線制御プ
ログラム(50)を格納する個別メモリ(17)と、該回線
プログラム(50)に基づき回線制御を行うプロセッサ
(16)と、外部回線(53)とのインタフェース手段を備
えた回線インタフェース制御部(7 )とをそれぞれ有す
る第1および第2の回線制御部(10,11 )で構成される
回線制御装置であって、 第1および第2の回線制御部(10,11 )がそれぞれ送受
信データ(51)を格納する共有メモリ(18)と、 第1および第2の回線制御部(10,11 )との間で通信を
行う通信手段(26)と、 それぞれ回線種別に対応した回線制御手段を備える回線
制御プログラム(50)を主装置よりロードするロード手
段(27)と、 第1、第2の回線制御部(10,11 )のうち、いずれか一
方の前記メインインタフェース制御部(13)を介して主
装置と送受信制御情報(52)をやりとりする制御手段
(28)と、 該回線制御手段に対応する外部回線(53)を第1および
第2の回線制御部(10,11 )にそれぞれ切換え接続する
切換部(12)と、 を設けたことを特徴とする回線制御装置。
1. A main interface control unit (13) for transferring transmission / reception data (51) to and from a main unit, an individual memory (17) for storing a line control program (50), and the line program (50). First and second line control units (10, 11) each having a processor (16) for performing line control based on the above, and a line interface control unit (7) provided with interface means with the external line (53). A line controller configured to include a shared memory (18) for storing transmission / reception data (51) by the first and second line controllers (10, 11), and a first and second line controller. A communication means (26) for communicating with (10,11), a load means (27) for loading a line control program (50) having line control means corresponding to each line type from the main unit, and First and second line control units (10,11) A control means (28) for exchanging transmission / reception control information (52) with the main device via one of the main interface control sections (13) and an external line (53) corresponding to the line control means A line control device comprising: a switching unit (12) for switching connection to each of the first and second line control units (10, 11);
JP61275721A 1986-11-19 1986-11-19 Line control device Expired - Fee Related JPH0644776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61275721A JPH0644776B2 (en) 1986-11-19 1986-11-19 Line control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61275721A JPH0644776B2 (en) 1986-11-19 1986-11-19 Line control device

Publications (2)

Publication Number Publication Date
JPS63128837A JPS63128837A (en) 1988-06-01
JPH0644776B2 true JPH0644776B2 (en) 1994-06-08

Family

ID=17559452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61275721A Expired - Fee Related JPH0644776B2 (en) 1986-11-19 1986-11-19 Line control device

Country Status (1)

Country Link
JP (1) JPH0644776B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09183464A (en) * 1995-12-27 1997-07-15 Fuji Corn Seisakusho:Kk Heat insulating paper container

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04367050A (en) * 1991-06-14 1992-12-18 Matsushita Electric Ind Co Ltd Communication controller
KR100946831B1 (en) 2001-01-31 2010-03-09 가부시키가이샤 히타치세이사쿠쇼 Data processing system and data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09183464A (en) * 1995-12-27 1997-07-15 Fuji Corn Seisakusho:Kk Heat insulating paper container

Also Published As

Publication number Publication date
JPS63128837A (en) 1988-06-01

Similar Documents

Publication Publication Date Title
JP2886856B2 (en) Redundant bus connection method
JPH07281976A (en) Method for control of packet fifo
JPH04346151A (en) Data processor
JPS6115263A (en) Control system for command transfer between processors
JP4755050B2 (en) Data processing apparatus, mode management apparatus, and mode management method
JPS585804A (en) Process controller
JPH0644776B2 (en) Line control device
JP2000207348A (en) Device and method for processing data
JP3566057B2 (en) Monitoring and control equipment
JPH1127386A (en) Changeover system for data link layer processing unit
JP3938377B2 (en) Supervisory control device
JP2000155738A (en) Data processor
JP2737480B2 (en) Method and apparatus for switching redundant communication control device
JPH11127179A (en) Duplicate communication controller
JPH0427239A (en) Control method for lan connecting device
JP2705955B2 (en) Parallel information processing device
JPH088936A (en) Duplex transmission system
JPH0650001Y2 (en) Redundant digital controller
JPH10341257A (en) Packet processing unit
WO2004079573A1 (en) Multi-processor system
JP2573790B2 (en) Transfer control device
JPH03245246A (en) Data transfer device
JPH0784968A (en) Method for communication between processors, and information processor
JPH10164128A (en) Communication processor
JPH0346855B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees