Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2880249B2 - Communication adapter - Google Patents
[go: Go Back, main page]

JP2880249B2 - Communication adapter - Google Patents

Communication adapter

Info

Publication number
JP2880249B2
JP2880249B2 JP2119809A JP11980990A JP2880249B2 JP 2880249 B2 JP2880249 B2 JP 2880249B2 JP 2119809 A JP2119809 A JP 2119809A JP 11980990 A JP11980990 A JP 11980990A JP 2880249 B2 JP2880249 B2 JP 2880249B2
Authority
JP
Japan
Prior art keywords
communication
controller
unit
data
local bus
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
JP2119809A
Other languages
Japanese (ja)
Other versions
JPH0372755A (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.)
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 JP2119809A priority Critical patent/JP2880249B2/en
Publication of JPH0372755A publication Critical patent/JPH0372755A/en
Application granted granted Critical
Publication of JP2880249B2 publication Critical patent/JP2880249B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信方式、特にマルチ回線通信制御に好適
な通信方式に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system, particularly to a communication system suitable for multi-line communication control.

〔従来の技術〕[Conventional technology]

通信速度の高速化や通信データの大容量化に伴い、パ
ソコンやワークステーションなどの情報処理装置におけ
る通信制御方式も、システムプロセッサが回線コントロ
ーラを制御しながらデータの伝送制御及びデータ処理の
全てを行う方式から、通信アダプタを設け、通信アダプ
タの中の回線コントローラの他、通信制御処理専用のプ
ロセッサ,メモリ等を設け、システムプロセッサの通信
制御処理に対する負荷を軽減する方式に変化してきた。
例えば、本出願人が先に出願した特願昭63−181882号
「通信アダプタ制御方式および通信アダプタ」では、通
信アダプタの中に通信専用のプロセッサと共有のメモリ
を設けており、データの受け渡しは共有メモリを介して
行う。また、システムプロセッサに2枚の通信アダプタ
を接続して異なる2つの回線を制御し、2つの回線間の
プロトコル変換や伝送速度の違いを吸収する、いわゆる
ゲートウェイを実現している。
As communication speeds increase and communication data increases in capacity, communication control methods in information processing devices such as personal computers and workstations also perform all data transmission control and data processing while the system processor controls the line controller. The system has been changed from a system in which a communication adapter is provided, a processor dedicated to communication control processing, a memory, and the like are provided in addition to a line controller in the communication adapter to reduce a load on the communication control processing of the system processor.
For example, in Japanese Patent Application No. 63-181882, "Communication Adapter Control Method and Communication Adapter" filed by the present applicant, a communication processor and a shared memory are provided in the communication adapter. Performed via shared memory. Also, a so-called gateway is realized in which two communication adapters are connected to a system processor to control two different lines and absorb a difference in protocol conversion and transmission speed between the two lines.

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

しかしながら、上記のような技術で複数の回線を制御
する場合、通信アダプタが回線毎に必要になり、規模が
大きくなるばかりでなく、システムプロセッサが数枚に
分散しているアダプタをそれぞれ制御する必要があり、
管理が複数になる。また、それぞれ異なる通信アダプタ
にある通信用プロセッサ同士で情報交換を行うことが難
しい。とくに、ISDNに接続する場合、1本の回線に例え
ば2B+Dという3つのチャネルが多重化され、さらに、
Dチャネルが2つのBチャネルの呼制御を担当する形を
とっているため、3枚のアダプタで2B+Dの各チャネル
を分担することは難しい。また、ISDNの通信回線速度は
一定に決められており、種々の伝送速度を持つ従来端末
とISDNを介して通信することは難しい。
However, when controlling a plurality of lines using the above-described technology, a communication adapter is required for each line, which not only increases the scale, but also requires a system processor to control each of a plurality of distributed adapters. There is
Multiple management. Further, it is difficult to exchange information between communication processors in different communication adapters. In particular, when connecting to ISDN, three channels, for example, 2B + D, are multiplexed on one line.
Since the D channel is in charge of the call control of the two B channels, it is difficult to share each channel of 2B + D with three adapters. Further, the communication line speed of ISDN is fixed, and it is difficult to communicate with conventional terminals having various transmission speeds via ISDN.

本発明の目的は、ISDNのようなマルチ回線を簡単,高
速に,かつ相手局に対応して制御する通信制御方法を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a communication control method for controlling a multi-line such as ISDN simply, at high speed, and in accordance with a partner station.

〔課題を解決するための手段〕[Means for solving the problem]

上記目的を達成するために、通信アダプタに複数の通
信路口と、通信路に対応した複数の通信処理部を設け、
通信処理部はそれぞれ独立に動作できるようにし、通信
アダプタを制御する上位ソフトから通信処理部に通信制
御プログラムを入れ換えられるようにして、通信路毎に
同じまたは異なる通信制御プログラムでマルチ回線の通
信制御を行うようにしたものである。
In order to achieve the above object, a communication adapter is provided with a plurality of communication ports and a plurality of communication processing units corresponding to the communication paths,
The communication processing units can be operated independently of each other, so that higher-level software that controls the communication adapter can replace the communication control program with the communication processing unit. Is performed.

また、通信制御プログラムに複数の通信プロトコルを
設け、上位ソフトから通信プロトコルの1つを指定する
ようにしてマルチ回線の通信制御を行うようにしたもの
である。
Also, a plurality of communication protocols are provided in the communication control program, and one of the communication protocols is designated from the host software to perform communication control of the multi-line.

また、通信路からの受信フレームで複数の通信プロト
コルの1つを自動選択するようにしてマルチ回線の通信
制御を行うようにしたものである。
In addition, one of a plurality of communication protocols is automatically selected in a frame received from a communication path to perform multi-line communication control.

また、通信アダプタと上位ソフトの間に双方からアク
セスできる共用メモリを設け、共用メモリを介して通信
制御プログラムを受け渡すようにしたものである。
In addition, a shared memory accessible from both sides is provided between the communication adapter and the host software, and the communication control program is transferred via the shared memory.

さらに、通信処理部で伝送速度を変えられるようにし
て、上位ソフトから通信路毎に伝送速度を選択できるよ
うにしたものである。
Further, the transmission speed can be changed by the communication processing unit so that the transmission speed can be selected for each communication path from the host software.

〔作用〕[Action]

上位ソフトと通信処理部が独立に動作するため、各通
信路ごとに高速に通信制御することができ、通信路ごと
に通信手順と伝送速度を変えることも簡単にできる。ま
た、1つの通信制御プログラムに複数の通信プロトコル
を持っているため、通信プロトコルの切り替えを簡単に
行うことができる。
Since the host software and the communication processing unit operate independently, high-speed communication control can be performed for each communication path, and the communication procedure and transmission speed can be easily changed for each communication path. Further, since one communication control program has a plurality of communication protocols, it is possible to easily switch communication protocols.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を使用して説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明が採用されているマルチ回線通信制
御システムの構成例を示すブロック図である。同図にお
いて、1はワークステーション本体であり、この本体1
には、通信アダプタ3が搭載されており、通信アダプタ
3を制御するのがシステムプロセッサ部23である。通信
アダプタ3には2B+Dの基本インタフェースを提供する
ISDNに接続するためのISDN回線371及び通話のためのハ
ンドセット365が接続されている。ISDN回線371は、音声
やデータ通信に2本のBチャネルと1本のDチャネルを
同時に用いることができる。本実施例においては、チャ
ネルを利用する形態として以下の2種類を考える。
FIG. 1 is a block diagram showing a configuration example of a multi-line communication control system employing the present invention. In FIG. 1, reference numeral 1 denotes a workstation main body.
Is equipped with a communication adapter 3, and the system processor unit 23 controls the communication adapter 3. Provide 2B + D basic interface to communication adapter 3
An ISDN line 371 for connecting to ISDN and a handset 365 for talking are connected. The ISDN line 371 can simultaneously use two B channels and one D channel for voice and data communication. In the present embodiment, the following two types are considered as modes using channels.

(a) データ通信(Dチャネル)+データ通信(Bチ
ャネル)+データ通信(Bチャネル) (b) データ通信(Dチャネル)+データ通信(Bチ
ャネル)+音声通信(Bチャネル) 形態(a)の場合、ハンドセット365が必ずしも必要
ではない。
(A) Data communication (D channel) + data communication (B channel) + data communication (B channel) (b) Data communication (D channel) + data communication (B channel) + voice communication (B channel) In this case, the handset 365 is not always necessary.

通信アダプタ3には、データ通信機能と音声通信機能
と呼制御機能の3種類の機能がある。
The communication adapter 3 has three types of functions: a data communication function, a voice communication function, and a call control function.

データ通信はDチャネルとB1チャネル,B2チャネルの
すべてのチャネルを使い、開放型システム間相互接続
(OSI)の7層モデルのうちレイヤ2のデータリンク層
の制御までを行う。Dチャネルでは、例えば、CCITT勧
告のI.441(LAPD:Link Access Procedure on the
D−channel)によるパケット交換方式でデータ通信を
行う。B1,B2チャネルでは、例えば、HDLC−BA(High Le
vel Data Link Control Procedure 平衡型非同期平衡
モードクラス)によるパケット交換方式またはHDLC−B
A,HDLC−UN(High Level Data Link Control Proc
edure不平衡型正規応答モードクラス)による回線交換
方式によりデータ通信を行う。Dチャネル,B1チャネル,
B2チャネルは、当然、それぞれ独立にデータ通信が可能
である。伝送速度は、Dチャネルが16Kbpsである。B1,B
2チャネルについてはチャネル速度が64Kbps固定である
が、データの伝送速度は調整が可能である。例えばCCIT
T勧告のI.461,I.463に準拠した速度整合を行う。
Data communication uses all channels of the D channel, the B1 channel, and the B2 channel, and performs control up to the control of the data link layer of Layer 2 in the seven layer model of the open system interconnection (OSI). In the D channel, for example, CCITT recommendation I.441 (LAPD: Link Access Procedure on the
D-channel) to perform data communication by a packet switching method. In the B1 and B2 channels, for example, HDLC-BA (High Le
vel Data Link Control Procedure Packet switching method using balanced asynchronous balanced mode class) or HDLC-B
A, HDLC-UN (High Level Data Link Control Proc
(Edure unbalanced normal response mode class) Data communication is performed by the circuit switching method. D channel, B1 channel,
The B2 channel can, of course, independently perform data communication. The transmission speed of the D channel is 16 Kbps. B1, B
For two channels, the channel speed is fixed at 64 Kbps, but the data transmission speed can be adjusted. For example, CCIT
Speed matching is performed according to I.461 and I.463 of T Recommendation.

音声通信はB1チャネルまたはB2チャネルのいづれか一
方を選択して行う。ハンドセットからの音声は64Kbpsの
ディジタル音声に変換して通信する。音声を通信アダプ
タ3で録音・再生することもできる。第1図のRAMe312
は、システムプロセッサ部23と通信アダプタ3の内部の
プロセッサで共用するメモリで、ここに音声を入出力す
るエリアを設ける。これを音声ファイルと呼ぶ。この音
声ファイルとハンドセットを結べば、ローカルにメッセ
ージ録音・再生を行うことができる。音声ファイルとIS
DNを結べば、相手の声を録音したり、音声ファイルの内
容を・再生送出することができる。録音を行うときは、
ADPCM(Adaptive Differential Pulse Code Modura
tion)方式により音声を64Kbpsから32Kbpsまたは24Kbps
に圧縮して録音時間を延ばす。再生のときは、伸長して
64Kbpsのディジタル音声にもどす。音声はチャネルが異
なればデータ通信と同時に通信することができる。
Voice communication is performed by selecting either the B1 channel or the B2 channel. The voice from the handset is converted to 64Kbps digital voice for communication. Sound can be recorded and reproduced by the communication adapter 3. RAMe312 in Fig. 1
Is a memory shared by the system processor unit 23 and the processor inside the communication adapter 3 and has an area for inputting and outputting audio. This is called an audio file. By connecting this audio file to the handset, you can record and play back messages locally. Audio files and IS
If you connect the DN, you can record the voice of the other party and play / send the contents of the audio file. When recording,
ADPCM (Adaptive Differential Pulse Code Modura)
Option) Converts audio from 64Kbps to 32Kbps or 24Kbps
To extend the recording time. During playback, expand
Returns to 64Kbps digital audio. Audio can be communicated simultaneously with data communication if the channel is different.

呼制御はDチャネルを使ってデータ通信や音声通信の
ためのチャネル接続を行う。制御の仕方は、例えば、CC
ITT勧告のI.441(LAPD),I.451の手順にしたがう。
The call control uses the D channel to perform channel connection for data communication and voice communication. The control method is, for example, CC
Follow the procedures of ITT Recommendations I.441 (LAPD) and I.451.

第2図は本実施例を適用したネットワーク利用形態の
一例を示したものである。ワークステーション(WS)1,
11,ゲートウェイ(GW)13,14は、第1図の実施例に示し
た通信アダプタ3を内蔵してISDN15に接続されている。
ホストコンピュータ12は、例えばCCITT勧告X.21の従来
公衆網インタフェースを持つ。伝送速度は9600bpsであ
り、これがターミナルアダプタ10(例えば、日立製作所
製ターミナルアダプタHN−510シリーズ)を介してISDN1
5に接続されている。この中でホストコンピュータ12とG
W13,14はハンドセットを持たない。GW13,14は、一方で
は、WS16,17,18,19とでローカルエリアネットワーク(L
AN)を構成しており、データをLANからISDN15,ISDN15か
らLANへ乗り入れる役割を持っている。このとき、デー
タをパケット化して蓄積・送出することにより、例えば
10MbpsのLANと64KbpsのISDN15との伝送速度の違いを吸
収したり、LANとISDN15の通信手順の違いをプロトコル
変換によって吸収している。
FIG. 2 shows an example of a network utilization form to which the present embodiment is applied. Workstation (WS) 1,
11, the gateways (GW) 13 and 14 are connected to the ISDN 15 with the communication adapter 3 shown in the embodiment of FIG.
The host computer 12 has a conventional public network interface of CCITT Recommendation X.21, for example. The transmission speed is 9600 bps, which is transmitted via a terminal adapter 10 (for example, a terminal adapter HN-510 series manufactured by Hitachi, Ltd.).
Connected to 5. Host computer 12 and G
W13 and W14 do not have a handset. On the one hand, GW13,14, on the other hand, with WS16,17,18,19, local area network (L
AN), and has a role to transfer data from LAN to ISDN15 and from ISDN15 to LAN. At this time, by storing the packetized data and sending it out, for example,
It absorbs differences in transmission speed between 10Mbps LAN and 64Kbps ISDN15, and absorbs differences in communication procedures between LAN and ISDN15 by protocol conversion.

ISDN15に接続されている各装置は、B1,B2,Dの3つの
チャネルを持ち、任意の組合せでそれぞれ異なる相手と
通信することができる。第2図では次の3つの通信形態
を上げる。
Each device connected to the ISDN 15 has three channels B1, B2, and D, and can communicate with different parties in any combination. FIG. 2 shows the following three communication modes.

(a)WS間通信 (b)クラスタ通信 (c)LAN間通信 (a)のWS間通信は、WS1とWS11との間で、B1とB2チ
ャネルを使ってデータと音声を同時に通信する。音声は
当然リアルタイム通信となる。
(A) Inter-WS communication (b) Cluster communication (c) Inter-LAN communication In the inter-WS communication of (a), data and voice are simultaneously communicated between WS1 and WS11 using the B1 and B2 channels. Voice is naturally real-time communication.

(b)のクラスタ通信は、ホストコンピュータ12がGW
13を介して複数のWSを相手にする1:nの通信である。こ
のとき、GW13は端末制御装置となって端末として動作す
るWS16,17を制御する。
In the cluster communication of (b), the host computer 12 communicates with the GW.
This is a 1: n communication with a plurality of WSs via 13. At this time, the GW 13 serves as a terminal control device and controls the WSs 16 and 17 operating as terminals.

(c)のLAN間通信は、GW13とGW14をISDN網15を介し
て結ぶことにより、GW13のLANとGW14のLANを論理的に1
つのLANに見せるためのものである。これにより、例え
ば、WS17はあたかも同一のLANにあるようにWS19と通信
することができる。
In the LAN-to-LAN communication, the GW 13 and the GW 14 are logically connected by connecting the GW 13 and the GW 14 via the ISDN network 15.
It is for showing to one LAN. Thus, for example, the WS 17 can communicate with the WS 19 as if it were on the same LAN.

GW13ではB1,B2の2つのチャネルのうち1つをISDNの
伝送速度64Kbpsをそのまま使用してGW14と通信するが、
もう1つはチャネル回線速度64Kbpsに9600bpsのデータ
を乗せることによりコンピュータ12と通信することがで
きる。
GW13 communicates with GW14 using one of the two channels B1 and B2 using the ISDN transmission rate of 64 Kbps as it is.
The other is to communicate with the computer 12 by putting data of 9600 bps on a channel line speed of 64 Kbps.

第2図ではターミナルアダプタ10,ゲートウェイ(G
W)13,14にはハンドセットを持っていないが、ハンドセ
ットを取り付けることも可能である。ホストコンピュー
タ12に対してGW13,14が遠隔地に設置されたケースで、
例えば、LANに接続されるWSを増設し試運転を行った
り、障害が生じたときの原因調査が困難となる。このよ
うな場合、ターミナルアダプタ10とGW13,14にハンドセ
ットを設ければ、ハンドセットを使って保守員同士がお
互いに会話しながら試運転や障害原因調査を容易に行う
ことができる。
In FIG. 2, terminal adapter 10, gateway (G
W) 13 and 14 do not have a handset, but it is possible to attach a handset. In the case where GW13 and GW14 are installed in a remote place with respect to the host computer 12,
For example, it becomes difficult to add a WS connected to the LAN and perform a trial run, or to investigate the cause when a failure occurs. In such a case, if a handset is provided for the terminal adapter 10 and the GWs 13 and 14, the maintenance staff can easily perform the trial run and the investigation of the cause of the fault while talking with each other using the handset.

第3図は、WS1のきょう体配置の例を示す図であり、
ここでは日立製作所製・ワークステーション2050/32を
例にあげる。本体101にはオプションスロットがNo.1か
らNo.7まであり、第1図の通信アダプタ3はNo.1からN
o.5の空スロット106のどこでも搭載することができる。
搭載するときはそのスロットのダミーパッケージ111を
抜いて挿入する。第1図のシステムプロセッサ部23は、
CPUパッケージ105,基本メモリパッケージ109および主記
憶メモリスロット110に搭載されるオプションメモリパ
ッケージで構成される。
FIG. 3 is a diagram showing an example of a housing arrangement of WS1;
Here, the workstation 2050/32 manufactured by Hitachi, Ltd. is taken as an example. The main unit 101 has option slots No. 1 to No. 7, and the communication adapter 3 in FIG.
It can be mounted anywhere in the empty slot 106 of o.5.
When mounting, remove the dummy package 111 in that slot and insert it. The system processor unit 23 in FIG.
It comprises a CPU package 105, a basic memory package 109, and an optional memory package mounted in the main memory slot 110.

次に、第1図の通信アダプタ3の構成について説明す
る。システムプロセッサ部23は、本体1全体及び通信ア
ダプタ3の制御を銃轄するCPU2と、CPU2のプログラムや
データが格納されるメインメモリ21で構成される。シス
テムプロセッサ部23と通信アダプタ3はシステムバス22
で接続される。通信アダプタ3は、B1またはB2チャネル
のデータ通信を行う副プロセッサ部32と33、Bチャネル
の音声通信とDチャネルのデータ通信とDチャネルの呼
制御等を行う主プロセッサ部34、Dチャネルのデータ通
信、呼制御のためのデータリンク層レベルの処理を行う
LAPD処理部35,Dチャネル,B1,B2チャネルの多重,分離を
行う回線ドラム37,B1チャネル,B2チャネルを副プロセッ
サ部32,33やハンドセットにつないだり、音声の圧縮・
伸長処理を行うBチャネル制御部36,速度整合部38,シス
テムプロセッサ部23,主プロセッサ部34,副プロセッサ部
32,33でメモリをシェアしながらデータ交換を行うメモ
リシェア部31、から構成される。
Next, the configuration of the communication adapter 3 in FIG. 1 will be described. The system processor unit 23 includes a CPU 2 that controls the entire main body 1 and the communication adapter 3, and a main memory 21 that stores programs and data of the CPU 2. The system processor unit 23 and the communication adapter 3 are connected to the system bus 22
Connected by The communication adapter 3 includes sub processor units 32 and 33 for performing B1 or B2 channel data communication, a main processor unit 34 for performing B channel voice communication, D channel data communication, and D channel call control, and D channel data. Performs data link layer level processing for communication and call control
The LAPD processing unit 35, the line drum 37 for multiplexing and demultiplexing the D channel, B1, and B2 channels, the B1 channel, and the B2 channel are connected to the sub processor units 32 and 33 and handsets, and audio compression and
B channel control unit 36 for performing decompression processing, speed matching unit 38, system processor unit 23, main processor unit 34, sub processor unit
It comprises a memory sharing unit 31 for exchanging data while sharing a memory between 32 and 33.

システムプロセッサ部23とメモリシェア部31とはシス
テムバス22で接続される。メモリシェア部31,主プロセ
ッサ部34,副プロセッサ部32,副プロセッサ部33は、それ
ぞれローカルバスe313に接続されてデータのやりとりが
行われる。主プロセッサ部34のローカルバスa345には、
回線ドライバ37,LAPD処理部35,Bチャネル制御部36,速度
整合部38が接続され、主プロセッサ部34がこれらを制御
する。ISDN回線371の2B+Dチャネルは、回線ドライバ3
7で分離・多重化され、チャネルのうちのDチャネルはL
APD処理部35に、B1,B2チャネルはBチャネル制御部36に
つながる。Bチャネル制御部36では、主プロセッサ部34
の指示により、B1,B2チャネルをハンドセット365や主プ
ロセッサ部34,速度整合部38を介して副プロセッサ部32,
33に繋ぎ変える。
The system processor unit 23 and the memory sharing unit 31 are connected by a system bus 22. The memory share unit 31, the main processor unit 34, the sub-processor unit 32, and the sub-processor unit 33 are connected to the local bus e313 to exchange data. On the local bus a345 of the main processor unit 34,
The line driver 37, the LAPD processing unit 35, the B channel control unit 36, and the speed matching unit 38 are connected, and the main processor unit 34 controls them. 2B + D channel of ISDN line 371 is line driver 3
7 are separated and multiplexed, and the D channel of the channels is L
The B1 and B2 channels are connected to the APD processing unit 35 and the B channel control unit 36. In the B channel control unit 36, the main processor unit 34
According to the instruction, the B1 and B2 channels are transferred to the handset 365, the main processor 34, the speed
Change to 33.

主プロセッサ部34,副プロセッサ部32,33,LAPD処理部3
5およびシステムプロセッサ部23はそれぞれCPUとメモリ
とバスを持ち、独立に動作することができる。
Main processor section 34, sub processor sections 32 and 33, LAPD processing section 3
5 and the system processor unit 23 each have a CPU, a memory, and a bus, and can operate independently.

主プロセッサ部34は、ROMa342,RAMa343,ROMa342やRAM
a343のプログラムを実行するCPUa341、及びコントロー
ラa344で構成され、これらはローカルバスa345に接続さ
れている。ROMa342は、通信アダプタ3の自己診断及びR
AMa343に格納されるプログラムをRAMe312からロードす
るためのプログラムを格納する読みだし専用メモリであ
り、32Kバイトの容量を持つ。通信アダプタ3に電源が
入ると、CPUa341でこのROMa342のプログラムの先頭から
実行される。RAMa343は、音声通信や呼制御手順を処理
するプログラムを格納する読みだし/書き込み可能メモ
リであり、128Kバイトの容量を持つ。コントローラa344
は、ローカルバスe313とローカルバスa345間のパス制御
やCPUa341がROMa342,RAMa343をアクセスするときのアク
セス制御を行う。ROMa342,RAMa343を実行するCPUa341
は、例えば、10MHzで動作する日立製作所製の8ビット
マイコン,HD64180Sを用いるものとする。
The main processor unit 34 includes ROMa342, RAMa343, ROMa342, and RAM.
It comprises a CPU a341 for executing the program of a343 and a controller a344, which are connected to a local bus a345. ROMa342 performs self-diagnosis of communication adapter 3 and R
It is a read-only memory that stores programs for loading programs stored in AMa343 from RAMe312, and has a capacity of 32 Kbytes. When the power of the communication adapter 3 is turned on, the CPUa341 executes the program from the beginning of the ROMa342. The RAMa 343 is a readable / writable memory for storing programs for processing voice communication and call control procedures, and has a capacity of 128 Kbytes. Controller a344
Performs path control between the local bus e313 and the local bus a345 and access control when the CPUa341 accesses the ROMa342 and the RAMa343. CPUa341 that executes ROMa342 and RAMa343
For example, an HD64180S 8-bit microcomputer manufactured by Hitachi, which operates at 10 MHz is used.

副プロセッサ部32は主プロセッサ部34のもとで動作す
る従属プロセッサである。副プロセッサ部32は、RAMb32
2,RAMb322のプログラムを実行するCPUb321,コントロー
ラb324及びB1またはB2チャネルに接続されている回線32
6にデータを送受信するシリアルコントローラb323で構
成され、これらはローカルバスb325に接続されている。
RAMb322は、Bチャネルのデータリンク制御手順であるH
DLC−BAやHDLC−UNを処理するプログラムを格納する読
みだし/書き込み可能メモリであり、32Kバイトの容量
を持つ。コントローラb324は、ローカルバスe313とロー
カルバスb325間のパス制御やCPUb321がRAMb322をアクセ
スするときのアクセス制御、主プロセッサ部34が副プロ
セッサ32に動作指示したり、報告を受けるためのコマン
ドハンドシェイク制御を行う。RAMb322を実行するCPUb3
21とシリアルコントローラb323は、例えば、10MHzで動
作する日立製作所製の1チップ8ビットマイコン,HD641
80Sを用いるものとする。副プロセッサ部32はROMを持た
ない。そこで、主プロセッサ部34がコントローラb324を
介してRAMb322にプログラムをダウンローディングし、
その後、CPUb321を起動することになる。
The sub processor unit 32 is a subordinate processor that operates under the main processor unit. The sub processor unit 32 is a RAMb 32
2, CPUb321 for executing the program of RAMb322, controller b324 and line 32 connected to B1 or B2 channel
6 includes a serial controller b323 for transmitting and receiving data, and these are connected to a local bus b325.
RAMb322 is a H-channel data link control procedure.
It is a read / write memory that stores programs for processing DLC-BA and HDLC-UN, and has a capacity of 32 Kbytes. The controller b324 controls a path between the local bus e313 and the local bus b325, an access control when the CPUb321 accesses the RAMb322, and a command handshake control for the main processor unit 34 to instruct the subprocessor 32 to operate or receive a report. I do. CPUb3 running RAMb322
21 and the serial controller b323 are, for example, a 1-chip 8-bit microcomputer manufactured by Hitachi, operating at 10 MHz, HD641
80S shall be used. The sub processor unit 32 has no ROM. Therefore, the main processor unit 34 downloads the program to the RAMb322 via the controller b324,
After that, the CPUb 321 is started.

副プロセッサ部33は主プロセッサ部34のもとで動作す
る従属プロセッサである。副プロセッサ部33は、RAMc33
2,RAMc332のプログラムを実行するCPUc331,コントロー
ラc334及びB1またはB2チャネルに接続されている回線33
6にデータを送受信するシリアルコントローラc333で構
成され、これらはローカルバスc335に接続されている。
RAMc332は、Bチャネルのデータリンク制御手順であるH
DLC−BAやHDLC−UNを処理するプログラムを格納する読
みだし/書き込み可能メモリであり、32Kバイトの容量
を持つ。コントローラc334は、ローカルバスe313とロー
カルバスc335間のパス制御やCPUc331がRAMc332をアクセ
スするときのアクセス制御、主プロセッサ部34が副プロ
セッサ部33に動作指示したり、報告を受けるためのコマ
ンドハンドシェイク制御を行う。RAMc332を実行するCPU
c331とシリアルコントローラc333は、例えば、10MHzで
動作する日立製作所製の1チップ8ビットマイコン,HD6
4180Sを用いるものとする。副プロセッサ部33はROMを持
たない。そこで、主プロセッサ部34がコントローラc334
を介してRAMc332にプログラムをダウンローディング
し、その後、CPUc331を起動することになる。
The sub processor unit 33 is a subordinate processor that operates under the main processor unit. The sub processor unit 33 is a RAMc 33
2, the CPU 33 that executes the program of the RAMc 332, the controller c334, and the line 33 connected to the B1 or B2 channel
6 includes a serial controller c333 for transmitting and receiving data, and these are connected to a local bus c335.
RAMc 332 is a H-channel data link control procedure.
It is a read / write memory that stores programs for processing DLC-BA and HDLC-UN, and has a capacity of 32 Kbytes. The controller c334 controls a path between the local bus e313 and the local bus c335, an access control when the CPU c331 accesses the RAMc332, and a command handshake for the main processor unit 34 to instruct the sub processor unit 33 to operate or receive a report. Perform control. CPU that executes RAMc332
The c331 and the serial controller c333 are, for example, a one-chip 8-bit microcomputer, HD6, operating at 10 MHz.
4180S shall be used. The sub processor unit 33 has no ROM. Therefore, the main processor unit 34
Then, the program is downloaded to the RAMc332 via the CPU, and then the CPUc331 is started.

LAPD処理部35は主プロセッサ部34のもとで動作するLA
PD専用処理部である。LAPD処理部35は、ROMd352,ROMd35
2のプログラムを実行するCPUd351,Dチャネル回線372に
データを送受信するシリアルコントローラd353,及びコ
ントローラd354で構成され、これらは、ローカルバスd3
55に接続されている。ROMd352は、Dチャネルのデータ
リンク制御手順であるLAPDを処理するプログラムを格納
する読みだし専用メモリである。コントローラd354は、
ローカルバスa345とローカルバスd355間のパス制御を行
う。LAPD処理部35は、例えば、日本電気製のμPD72305
を用いるものとする。
The LAPD processing unit 35 operates under the main processor unit 34.
This is a PD dedicated processing unit. LAPD processing unit 35 is ROMd352, ROMd35
2 is comprised of a CPU d351 for executing the program 2, a serial controller d353 for transmitting and receiving data to and from the D channel line 372, and a controller d354.
Connected to 55. The ROMd 352 is a read-only memory that stores a program for processing the LAPD, which is a data link control procedure for the D channel. Controller d354
The path control between the local bus a345 and the local bus d355 is performed. The LAPD processing unit 35 includes, for example, μPD72305 manufactured by NEC.
Shall be used.

Bチャネル制御部36は、ADPCM361,CODEC363,ハンドセ
ット365に接続するためのドライバ364及び回線切替回路
362で構成され、ローカルバスa345を通して主プロセッ
サ部34で制御される。ADPCM361は、ISDN回線371のB1,B2
チャネルまたはハンドセット365からの64Kbps PCM音声
を32Kbpsまたは24Kbpsに圧縮してRAMe312に録音した
り、RAMe312の圧縮音声を64KbpsのPOM音声に伸長し、B
1,B2チャネルまたはハンドセット365に送出するための
圧縮・伸長回路である。CODEC363は、64Kbps PCM音声と
アナログ音声との変換を行うディジタル・アナログ変換
回路である。回線切替回路362は、B1チャネル373,B2チ
ャネル374を回線327,回線337またはADPCM361またはCODE
C363に接続したり、ADPCM361とCODEC363を直結するため
の回線切替回路である。ADPCM361は、例えば、日本電気
製のμPD77C30,CODEC363は、日立製作所製のHD44278を
用いるものとする。
The B channel control unit 36 includes a driver 364 and a line switching circuit for connecting to the ADPCM 361, the CODEC 363, and the handset 365.
362, and is controlled by the main processor unit 34 through the local bus a345. ADPCM361, B1, B2 of ISDN line 371
The 64Kbps PCM audio from the channel or the handset 365 is compressed to 32Kbps or 24Kbps and recorded on the RAMe312, or the compressed audio from the RAMe312 is expanded to 64Kbps POM audio, and
A compression / decompression circuit for sending to the 1, B2 channel or the handset 365. The CODEC 363 is a digital / analog conversion circuit that converts between 64 Kbps PCM audio and analog audio. The line switching circuit 362 connects the B1 channel 373 and the B2 channel 374 to the line 327, the line 337 or the ADPCM361 or the CODE.
It is a line switching circuit for connecting to C363 or directly connecting ADPCM361 and CODEC363. For the ADPCM361, for example, the μPD77C30 and CODEC363 manufactured by NEC use HD44278 manufactured by Hitachi, Ltd.

速度整合部38はローカルバスa345を通してCPUa341で
制御され、回線327と回線326,回線337と回線336との間
で速度整合を行う。
The speed matching unit 38 is controlled by the CPU a341 through the local bus a345, and performs speed matching between the line 327 and the line 326, and between the line 337 and the line 336.

回線ドライバ37は、ローカルバスa345を通してCPUa34
1で制御され、多重化されているISDN回線371からDチャ
ネル372,B1チャネル373,B2チャネル374を分離するもの
で、例えば、日本電気製のμPD98201GFを用いるものと
する。
The line driver 37 is connected to the CPUa34 through the local bus a345.
The D channel 372, the B1 channel 373, and the B2 channel 374 are separated from the multiplexed ISDN line 371 controlled and multiplexed by 1. For example, μPD98201GF manufactured by NEC Corporation is used.

メモリシェア部31は、RAMe312,コントローラe311で構
成される。RAMe312は、システムバス22とローカルバスe
313の両方からアクセスできる読みだし/書き込み可能
なメモリであり、512Kバイトの容量を持つ。コントロー
ラe311は、システムバス22とローカルバスe313からRAMe
312に同時にメモリアクセスしたときのメモリ競合調
停,主プロセッサ部34,副プロセッサ部32,副プロセッサ
e33からローカルバスe313の使用要求に対してのバス競
合調停,システムプロセッサ部23が主プロセッサ部34に
動作指示したり、報告を受けるためのコマンドハンドシ
ェイク制御、を行う。
The memory sharing unit 31 includes a RAM e312 and a controller e311. RAMe312 is connected to system bus 22 and local bus e
It is a read / write memory that can be accessed from both the 313 and has a capacity of 512K bytes. The controller e311 sends the RAMe from the system bus 22 and the local bus e313.
Memory contention arbitration when simultaneously accessing memory 312, main processor section 34, sub processor section 32, sub processor
Bus contention arbitration for the use request of the local bus e313 from e33, and command handshake control for the system processor unit 23 to instruct the main processor unit 34 to operate or receive a report are performed.

第4図は、RAMe312のメモリ記憶状態を示す。通信ア
ダプタ3の立ち上げは、すぐに使用しないCPUa341,CPUb
321及びCPUc331の送受信バッファ領域を用いて行う。シ
ステムプロセッサ部23は第4図の送受信バッファ領域に
CPUa341のプログラムを入れ、CPUa341にプログラムロー
ディングの指示を行う。ローディングはROMa342のプロ
グラムで行い、RAMa343に該当プログラムをローディン
グした後は第4図の記憶状態になる。
FIG. 4 shows the memory storage state of the RAMe 312. Start up communication adapter 3 for CPUa341, CPUb
This is performed using the transmission / reception buffer area of the CPU 321 and the CPU c331. The system processor unit 23 is located in the transmission / reception buffer area shown in FIG.
The CPUa341 program is inserted, and the CPUa341 is instructed to load a program. Loading is performed by the program in the ROMa 342, and after loading the corresponding program into the RAMa 343, the storage state shown in FIG. 4 is established.

CPUa341で用いるエリアには初期設定ブロック,Dチャ
ネルのデータ通信に使う送信バッファ,受信バッファ,
音声通信に使う音声蓄積エリアがある。CPUb321で用い
るエリアとしては、初期設定ブロック,Bチャネルのデー
タ通信に使う送信バッファ,受信バッファがある。
Areas used by the CPUa341 include initialization blocks, transmission buffers and reception buffers used for D-channel data communication,
There is a voice storage area used for voice communication. Areas used by the CPU b 321 include an initialization block, a transmission buffer and a reception buffer used for B-channel data communication.

CPUc331で用いるエリアとしては、初期設定ブロック,
Bチャネルのデータ通信に使う送信バッファ,受信バッ
ファがある。初期設定ブロックは、最初に、システムプ
ロセッサ部23と通信アダプタ3で動作条件を取り決める
のに用いるエリアであり、例えば、システムプロセッサ
部23で設定する最大送受信データ長やタイムアウト値,
アダプタで設定する送信バッファ,受信バッファの位置
やサイズなどがある。通信制御プログラムA,通信制御プ
ログラムBは、CPUb321,CPUc331で実行するプログラム
であり、RAMe312に常駐させておく。主プロセッサ部34
が必要に応じて、副プロセッサ部32または副プロセッサ
部33にダウンローディングすることにより、通信制御プ
ログラムを自由に交換することができる。
The areas used by the CPUc331 include the initialization block,
There is a transmission buffer and a reception buffer used for B channel data communication. The initial setting block is an area used to determine operating conditions between the system processor unit 23 and the communication adapter 3 at first. For example, the maximum transmission / reception data length, timeout value,
There are the position and size of the transmission buffer and reception buffer set by the adapter. The communication control program A and the communication control program B are programs executed by the CPUs b321 and c331, and are resident in the RAMe 312. Main processor 34
The communication control program can be freely exchanged by downloading to the sub-processor unit 32 or the sub-processor unit 33 as necessary.

障害ロギングエリアは、通信アダプタ3内で生じた通
信エラーやハードウェアエラーを記憶しておくところ
で、CPUa341,CPUb321,CPUc331で共通に使用する。
The fault logging area stores communication errors and hardware errors occurring in the communication adapter 3 and is commonly used by the CPUa341, CPUb321, and CPUc331.

第5図は、第1図の通信アダプタ3内部にある4つの
ローカルバス325,335,313,345のメモリ空間を表したも
のであり、これは、各ローカルバスに接続されているCP
Uから見たハードウェア資源のメモリ空間位置を表した
ものとも言える。図中の太線は実在しているローカルバ
スの場所を表し、他のローカルバスから見えるのは第5
図のようなマッピングされた位置となる。
FIG. 5 shows the memory space of the four local buses 325, 335, 313, 345 inside the communication adapter 3 of FIG. 1, which is the CP connected to each local bus.
It can also be said to represent the memory space position of the hardware resource as viewed from U. The bold line in the figure indicates the location of the actual local bus, and the other local bus can see
The mapped position is as shown in the figure.

ローカルバスb325は、1Mバイトのメモリ空間を持ち、
メモリ空間の最下位部から、プログラムが格納される32
KバイトのRAMb322とコントローラb324を、メモリ空間の
最上位部にRAMe321を割当てている。副プロセッサ部32
は主プロセッサ部34のもとで動作する従属プロセッサで
あるため、副プロセッサ部32から別の副プロセッサ部33
や主プロセッサ部34のハードウェア資源は見えない。
The local bus b325 has a memory space of 1 Mbyte,
The program is stored from the lowest part of the memory space 32
K bytes of RAMb322 and controller b324 are allocated, and RAMe321 is allocated at the top of the memory space. Sub-processor 32
Is a subordinate processor that operates under the main processor unit 34, so that the sub processor unit 32
And the hardware resources of the main processor unit 34 are not visible.

ローカルバスc335は、1Mバイトのメモリ空間を持ち、
メモリ空間の最下位部から、プログラムが格納される32
KバイトのRAMc332とコントローラc334を、メモリ空間の
最上位部にRAMe312を割当てている。副プロセッサ部33
は主プロセッサ部34のもとで動作する従属プロセッサで
あるため、副プロセッサ部33から別の副プロセッサ部32
や主プロセッサ部34のハードウェア資源は見えない。
The local bus c335 has a memory space of 1 MB,
The program is stored from the lowest part of the memory space 32
A K byte RAMc332 and a controller c334 are allocated, and a RAMe312 is allocated at the top of the memory space. Sub-processor 33
Is a subordinate processor that operates under the main processor unit 34, so that the sub processor unit 33
And the hardware resources of the main processor unit 34 are not visible.

ローカルバスe313は、1Mバイトの空間を持ち、メモリ
空間の最下位部にコントローラe311,メモリ空間の最上
位部にRAMe312を割当てる。また、ローカルバスb325お
よびローカルバスc335のハードウェア資源であるRAMc33
2,コントローラc334,RAMb322,コントローラb324をロー
カルバスa345からアクセスできるようにするため、第5
図のようなローカルバスe313のメモリ空間に一旦マッピ
ングする。RAMb322とコントローラb324は、ローカルバ
スb325とローカルバスe313とではメモリ空間が異なる。
このアドレス変換はコントローラb324で行っている。ま
た、RAMc332とコントローラc334については、コントロ
ーラc334がアドレス変換を行っている。
The local bus e313 has a space of 1 Mbyte, and allocates the controller e311 to the lowest part of the memory space and the RAMe312 to the highest part of the memory space. Also, RAMc33 which is a hardware resource of the local bus b325 and the local bus c335
Second, to make the controller c334, the RAMb322, and the controller b324 accessible from the local bus a345,
It is once mapped in the memory space of the local bus e313 as shown. The RAMb322 and the controller b324 have different memory spaces between the local bus b325 and the local bus e313.
This address conversion is performed by the controller b324. In addition, the controller c334 performs address conversion for the RAM c332 and the controller c334.

ローカルバスa345は、1Mバイトのメモリ空間を持ち、
メモリ空間の最下位部からROMa342,RAMa343,コントロー
ラa344,コントローラd345,回線ドライバ37,ADPCM361,CO
DEC363,コントローラe311,コントローラc334,コントロ
ーラb324,RAMc332,RAMb322,RAMe312を割り付けてある。
コントローラe311,RAMc332,コントローラa344,RAMb322,
コントローラb324はローカルバスe313とローカルバスa3
45とではメモリ空間が異なるが、このアドレス変換はコ
ントローラa344で行っている。
The local bus a345 has a memory space of 1 Mbyte,
ROMa342, RAMa343, controller a344, controller d345, line driver 37, ADPCM361, CO
DEC 363, controller e311, controller c334, controller b324, RAMc332, RAMb322, and RAMe312 are allocated.
Controller e311, RAMc332, Controller a344, RAMb322,
Controller b324 has local bus e313 and local bus a3
Although the memory space differs from that of the 45, this address conversion is performed by the controller a344.

第6図は、第1図のコントローラe311の構成を示すブ
ロック図である。コントローラe311は、システムバス22
を制御するシステムバス制御部311,ローカルバスe313を
制御するローカルバスe制御部3113,システムバス22と
ローカルバスe313から同時にRAMe312をアクセスしたと
きのメモリ競合調停を行うRAM制御部3112,起動フラグ31
15,起動レジスタ3116,報告フラグ3118,報告レジスタ311
7及びローカルバスe競合調停部3114からなる。起動フ
ラグ3115,起動レジスタ3116は、システムプロセッサ部2
3から主プロセッサ部34への動作指示の有無を示すフラ
グ、動作指示情報を格納するレジスタであり、報告フラ
グ3118,報告レジスタ3117は、主プロセッサ部34からシ
ステムプロセッサ部23への報告を示すフラグ、報告情報
を格納するレジスタである。ローカルバスe競合調停部
3114は、ローカルバスe313を主プロセッサ部34,副プロ
セッサ部32,副プロセッサ部33が使用するためのバスア
クセス競合調停を行う。
FIG. 6 is a block diagram showing a configuration of the controller e311 in FIG. The controller e311 is connected to the system bus 22
, A local bus e controller 3113 for controlling the local bus e313, a RAM controller 3112 for arbitrating memory contention when the RAM e312 is simultaneously accessed from the system bus 22 and the local bus e313, and a start flag 31
15, Startup register 3116, Report flag 3118, Report register 311
7 and a local bus e contention arbitration unit 3114. The start flag 3115 and the start register 3116 are stored in the system processor unit 2
A flag indicating whether or not there is an operation instruction from 3 to the main processor unit 34, and a register for storing operation instruction information.A report flag 3118 and a report register 3117 are flags indicating a report from the main processor unit 34 to the system processor unit 23. , A register for storing report information. Local bus e contention arbitration unit
A bus access competition arbitration unit 3114 performs bus access competition for using the local bus e313 by the main processor unit 34, the sub processor unit 32, and the sub processor unit 33.

システムバス22とローカルバスe313は独立した非同期
バスであり、お互いを意識せずにRAMe312を自由にアク
セスしたい。そこで、RAM制御部3112では、先着順にRAM
e312へのアクセス権を認め、片方のバスがRAMe312をア
クセス中のとき他方のバスからのアクセスを持たせるよ
うにする。
The system bus 22 and the local bus e313 are independent asynchronous buses and want to freely access the RAMe312 without being aware of each other. Therefore, the RAM control unit 3112
The access right to e312 is granted so that when one bus is accessing RAM e312, the other bus has access.

次に、第6図を用いてシステムプロセッサ部23から主
プロセッサ部34への動作指示を、送信を例に説明する。
システムプロセッサ部23のCPU2は、RAMe312に送信デー
タを設定し起動レジスタ3116に送信指示動作情報を設定
した後、起動フラグ3115をセットする。これにより、ロ
ーカルバスe313を介して主プロセッサ部34のCPUa341に
割り込みが発生する。CPUa341ではこの割り込みによりC
PU2から動作起動がかかったことを知る。その後、CPUa3
41は起動レジスタ3116の内容をRAMa343内に退避し、起
動フラグ3115をリセットした後、動作指示内容にしたが
ってデータ送信を開始する。起動フラグ3115はCPU2から
読み出し可能であり、CPU2は起動フラグ3115がリセット
されたことで、主プロセッサ部34が次の動作指示を受け
入れ可能であることを知る。
Next, an operation instruction from the system processor unit 23 to the main processor unit 34 will be described with reference to FIG.
The CPU 2 of the system processor unit 23 sets the transmission data in the RAMe 312, sets the transmission instruction operation information in the activation register 3116, and then sets the activation flag 3115. As a result, an interrupt occurs in the CPUa 341 of the main processor unit 34 via the local bus e313. In CPUa341, this interrupt causes C
Knows that operation has started from PU2. After that, CPUa3
41 saves the contents of the activation register 3116 in the RAMa 343, resets the activation flag 3115, and starts data transmission according to the operation instruction. The start flag 3115 can be read from the CPU 2, and the CPU 2 knows that the main processor unit 34 can accept the next operation instruction by resetting the start flag 3115.

これは、主プロセッサ部34がCPU2からの動作指示を、
紛失することなく連続的に受け入れることを可能にする
ためのインタフェースである。
This means that the main processor unit 34 receives an operation instruction from the CPU 2,
This is an interface that enables continuous acceptance without loss.

また、該処理は、データ通信とは非同期に、割り込み
処理として速やかに実行される。
This process is executed promptly as an interrupt process asynchronously with the data communication.

次に受信動作について説明する。CPUa341はLAPD処理
部35に対し受信したデータをRAMe312の方に格納するこ
とを指示する。LAPD処理部35はCPUa341の指示にしたが
ってデータを受信し、受信動作を終結すると、CPUa341
に割り込みで受信があったことを知らせる。CPUa341はL
APD処理部35の終結状態を見にいき、受信が正常に行わ
れていたことを確認すると、受信報告情報を報告レジス
タ3117に設定し報告フラグ3118をセットする。これによ
りCPU2へ割り込みが発生し、CPU2は、情報レジスタ3117
の報告情報を読み取り報告フラグ3118をリセットする。
CPUa341は報告フラグ3118がリセットされたことで、次
の主プロセッサ部34からの報告をCPU2が受け入れ可能で
あることを知る。
Next, the receiving operation will be described. The CPUa341 instructs the LAPD processing unit 35 to store the received data in the RAMe312. The LAPD processing unit 35 receives the data according to the instruction of the CPUa341, and terminates the receiving operation.
To notify that there was an interruption. CPUa341 is L
Going to the termination state of the APD processing unit 35 and confirming that the reception has been normally performed, the reception report information is set in the report register 3117 and the report flag 3118 is set. As a result, an interrupt occurs to CPU2, and CPU2
The report information is read and the report flag 3118 is reset.
The CPUa 341 knows that the report from the main processor unit 34 can be accepted by the CPU 2 by resetting the report flag 3118.

これは、CPU2がCPUa341からの報告を、紛失すること
なく連続的に受け入れることを可能にするためのインタ
フェースである。
This is an interface for enabling the CPU 2 to continuously receive the report from the CPUa341 without losing it.

起動レジスタ3116はCPU2から読みだし/書き込み可能
なレジスタ,報告レジスタ3117はCPUa341から読みだし
/書き込み可能なレジスタである。いずれも、読み出し
を可能にしているのは、レジスタの故障チェックを書き
込み側のCPUで行うためである。
The start register 3116 is a register readable / writable from the CPU 2, and the report register 3117 is a register readable / writable from the CPUa341. In both cases, reading is enabled because the CPU on the writing side performs a failure check on the register.

次にローカルバスe競合調停部3114の動作概要を説明
する。バス使用要求信号(REQ)と使用許可信号(ACK)
は、主プロセッサ部34,副プロセッサ部32,副プロセッサ
部33がローカルバスe313の使用を要求する信号とそれに
対して使用を許可する信号である。(ADR)は1Mバイト
空間を表す20本のアドレス信号、(DATA)は8ビットか
らなるデータ信号、(AE)は(ADR)が有効になったこ
とを知らせるアドレスイネーブル信号、(R/W)は読み
だし/書き込みの方向を表すリードライト信号、(RD
Y)は(DATA)が有効になったことを知らせるレディ信
号であり、これらの信号は、主プロセッサ部34,副プロ
セッサ部32,副プロセッサ部33に共通の信号である。
Next, an outline of the operation of the local bus e contention arbitration unit 3114 will be described. Bus use request signal (REQ) and use permission signal (ACK)
Are a signal requesting the main processor unit 34, the sub processor unit 32, and the sub processor unit 33 to use the local bus e313, and a signal permitting use of the local bus e313. (ADR) is 20 address signals representing a 1-Mbyte space, (DATA) is an 8-bit data signal, (AE) is an address enable signal indicating that (ADR) is enabled, (R / W) Is a read / write signal indicating the read / write direction, (RD
Y) is a ready signal for notifying that (DATA) has become valid, and these signals are common to the main processor unit 34, the sub processor unit 32, and the sub processor unit 33.

第7図は、主プロセッサ部34がRAMe312を読み出す場
合、書き込む場合のタイムチャートの例を示す。主プロ
セッサ部34からローカルバスe313の使用要求信号(REQ
a)をオンにすると、ローカルバスe競合調停部3114で
は、バスの使用状況を調べ、ローカルバスe313が使用中
の場合は使用終了を待った後、使用許可信号(ACKa)を
オンにして主プロセッサ部34にバス使用権を与える。主
プロセッサ部34では、(ACKa)がオンになると、(R/
W)信号を読みだし方向にセットし、読み出すRAMe312の
アドレスを(ADR)に出力して(AE)をオンにする。ロ
ーカルバスe制御部3113は、ローカルバスe313の(AD
R)により、コントローラe311またはRAMe312がアクセス
されたか否かを常時監視している。いま、(AE),(AD
R)と(R/W)によりRAMe312に読みだし要求があったこ
とが分かると、ローカルバスe制御部3113では、RAMe制
御部3112にRAMe312のデータ読み出しを指示する。デー
タが読み出されると、ローカルバスe制御部3113では、
これを(DATA)信号に出力するとともに、(RDY)信号
をあらかじめ決められた期間オンにする。主プロセッサ
部34では、(RDY)信号がオンになったタイミングで(D
ATA)からデータを取り出すことになる。終結の方法
は、ローカルバスe競合調停部3114が(RDY)がオンか
らオフになるのをみて(ACKa)をオフにし、これによ
り、主プロセッサ部34では、(REQa),(R/W),(AD
R),(AE)を直ちにオフする。(DATA)は(RDY)がオ
フになったタイミングでオフになる。(RDY)がオフに
なった後、規定時間後にローカルバスe313は開放され、
次の使用要求を受け付けることができるようになる。
FIG. 7 shows an example of a time chart when the main processor 34 reads out and writes the RAMe 312. The use request signal (REQ
When a) is turned on, the local bus e contention arbitration unit 3114 checks the bus use status, waits for use termination if the local bus e313 is in use, turns on the use permission signal (ACKa), and turns on the main processor. The right to use the bus is given to the unit 34. In the main processor unit 34, when (ACKa) is turned on, (R /
W) Set the signal in the reading direction, output the address of the RAMe 312 to be read out to (ADR), and turn on (AE). The local bus e control unit 3113 controls the (AD) of the local bus e313.
R) constantly monitors whether or not the controller e311 or RAMe312 has been accessed. Now, (AE), (AD
When it is found from (R) and (R / W) that a read request has been made to the RAMe 312, the local bus e control unit 3113 instructs the RAMe control unit 3112 to read data from the RAMe 312. When the data is read, the local bus e control unit 3113
This is output as a (DATA) signal, and the (RDY) signal is turned on for a predetermined period. In the main processor unit 34, at the timing when the (RDY) signal is turned on, (DDY)
ATA). As for the termination method, the local bus e contention arbitration unit 3114 turns off (ACKa) when (RDY) is turned off from on, so that the main processor unit 34 (REQa), (R / W) , (AD
Turn off R) and (AE) immediately. (DATA) turns off at the timing when (RDY) turns off. After (RDY) is turned off, the local bus e313 is released after a specified time,
The next use request can be accepted.

主プロセッサ部34からRAMe312にデータを書き込む方
法も同様の手順となる。主プロセッサ部34からローカル
バスe313の使用要求信号(REQa)をオンにすると、ロー
カルバスe競合調停部3114では、バスの使用状況を調
べ、ローカルバスe313が使用中の場合は使用終了を待っ
た後、使用許可信号(ACKa)をオンにして主プロセッサ
部34にバス使用権を与える。主プロセッサ部34では、
(ACKa)がオンになると、(R/W)信号を書き込み方向
にセットし、書き込むRAMe312のアドレスデータを(AD
R),(DATA)に出力し、(AE)をオンにする。ローカ
ルバスe制御部3113は、ローカルバスe313の(ADR)に
より、コントローラe311またはRAMe312がアクセスされ
たか否かを常時監視している。いま、(AE),(ADR)
と(R/W)によりRAMe312に書き込み要求があったことが
分かると、ローカルバスe制御部3113では、RAMe制御部
3112にRAMe312へのデータ書き込みを指示する。ローカ
ルバスe制御部3113では、データ書き込んでいる間(RD
Y)信号をオンにする。終結の方法は、ローカルバスe
競合調停部3114が(RDY)がオンからオフになるのをみ
て(ACKa)をオフにし、これにより、主プロセッサ部34
では、(REQa),(R/W),(ADR),(AE)を直ちにオ
フにする。(DATA)は(RDY)がオフになったタイミン
グでオフになる。(RDY)がオフになった後、規定時間
にローカルバスe313は開放され、次の使用要求を受け付
けることができるようになる。
A method of writing data from the main processor unit 34 to the RAMe 312 has the same procedure. When the use request signal (REQa) of the local bus e313 is turned on from the main processor unit 34, the local bus e contention arbitration unit 3114 checks the bus use status, and waits for the end of use if the local bus e313 is in use. Then, the use permission signal (ACKa) is turned on to give the bus right to the main processor unit 34. In the main processor section 34,
When (ACKa) is turned on, the (R / W) signal is set in the writing direction, and the address data of the RAMe 312 to be written is set to (AD
R), output to (DATA) and turn on (AE). The local bus e control unit 3113 constantly monitors whether (ADR) of the local bus e313 has accessed the controller e311 or the RAM e312. Now, (AE), (ADR)
And (R / W) indicate that a write request has been issued to the RAMe 312.
Instruct 3112 to write data to RAMe 312. In the local bus e control unit 3113, while data is being written (RD
Y) Turn on the signal. Termination method is local bus e
The contention arbitration unit 3114 turns off (ACKa) when (RDY) is turned off from on, and thereby the main processor unit 34
Then, (REQa), (R / W), (ADR) and (AE) are immediately turned off. (DATA) turns off at the timing when (RDY) turns off. After (RDY) is turned off, the local bus e313 is opened at a specified time, and the next use request can be accepted.

第6図のコントローラe311には、アダプタ識別機能、
RAMe312位置指定機能およびスロット識別機能がある。
The controller e311 shown in FIG.
RAMe312 has a position designation function and a slot identification function.

アダプタ識別機能とは、1台のワークステーションに
同一のアダプタを複数枚搭載したり、異なるアダプタと
混合させて使うことができるようにしたものである。ア
ダプタ自身には、あらかじめ識別コードを割当ててお
き、これをシステムプロセッサ部23から読むことができ
るようにする。第6図において、コントローラe311を通
信アダプタ3に実装すると、アダプタボードからアダプ
タID信号3119がコントローラe311に入力される。CPU2が
システムバス22を通してアダプタIDの読みだし要求を行
うと、システムバス制御部3111ではこのアダプタID3119
信号をそのままCPU2に送る。本実施例では、アダプタID
を、例えば、2進の“1011"を用いるものとする。
The adapter identification function is such that a plurality of identical adapters can be mounted on one workstation, or can be used in combination with different adapters. An identification code is assigned to the adapter itself in advance, and this can be read from the system processor unit 23. In FIG. 6, when the controller e311 is mounted on the communication adapter 3, an adapter ID signal 3119 is input from the adapter board to the controller e311. When the CPU 2 issues a request to read an adapter ID through the system bus 22, the system bus control unit 3111
The signal is sent to CPU2 as it is. In this embodiment, the adapter ID
For example, the binary "1011" is used.

RAMe位置指定機能は、通信アダプタに設けたRAMe312
がシステムプロセッサ部23からみえるアドレスをダイナ
ミックにロケーションできるようにしたものである。第
6図のシステムバス制御部3111の中にRAMeポインタを持
つ。RAMeポインタはシステムバス22から見たRAMe312の
先頭位置を表すレジスタで、システムプロセッサ部23か
ら最初に設定される。設定以降、システムバス制御部31
11では、システムバス22のアドレスとRAMeポインタを比
較し、該当しているときにRAMe制御部3112に対してRAMe
312への読みだし/書き込み要求を行う。
The RAMe position designation function uses the RAMe312
Is capable of dynamically locating an address seen from the system processor unit 23. A RAMe pointer is provided in the system bus control unit 3111 shown in FIG. The RAMe pointer is a register indicating the head position of the RAMe 312 viewed from the system bus 22, and is set first by the system processor unit 23. After setting, the system bus controller 31
At 11, the address of the system bus 22 is compared with the RAMe pointer, and the RAMe pointer is
A read / write request to 312 is made.

スロット識別機能は、1台のワークステーションに用
意されている複数のスロットに対し、スロットには無関
係に通信アダプタ3を挿入できるようにしたものであ
る。第6図で、各スロットにはシステムバス22の信号の
他にユニークなスロット番号221が設けられている。シ
ステムバス制御部3111では、このスロット番号221を入
力し、その番号に応じてシステムプロセッサ部23から見
た各種レジスタのアドレスを変える。システムプロセッ
サ部23から見えるレジスタには、アダプタIDやRAMeポイ
ンタ、第6図の起動フラグ3115,起動レジスタ3116,報告
レジスタ3117,報告フラグ3118がある。これらは、後え
ば、第8図に示すように、16Mバイトのメモリ空間を持
つシステムバス22に対してスロット番号0は16進で“F3
0000−F31FFF"を割り付け、以降8Kバイトごとに割り付
ける。
The slot identification function is such that the communication adapter 3 can be inserted into a plurality of slots prepared in one workstation regardless of the slot. In FIG. 6, each slot is provided with a unique slot number 221 in addition to the signal of the system bus 22. The system bus control unit 3111 inputs the slot number 221 and changes the addresses of various registers viewed from the system processor unit 23 according to the number. The registers visible from the system processor unit 23 include an adapter ID, a RAMe pointer, a start flag 3115, a start register 3116, a report register 3117, and a report flag 3118 in FIG. For example, as shown in FIG. 8, the slot number 0 is "F3" in hexadecimal for the system bus 22 having a memory space of 16 Mbytes.
0000-F31FFF ", and every 8K bytes thereafter.

第9図は、第1図のコントローラb324の構成を示すブ
ロック図である。コントローラb324は、ローカルバスe3
13を制御するローカルバス制御部3241,ローカルバスb32
5を制御するローカルバスb制御部3247,起動フラグ324
3,起動レジスタ3244,報告フラグ3246,報告レジスタ3245
及びアドレス変換部3242からなる。起動フラグ3243,起
動レジスタ3244は、主プロセッサ部34から副プロセッサ
部32への動作指示の有無を示すフラグ,動作指示情報を
格納するレジスタであり、報告フラグ3246,報告レジス
タ3245は、副プロセッサ部32から主プロセッサ部34への
報告を示すフラグ,報告情報を格納するレジスタであ
る。
FIG. 9 is a block diagram showing the configuration of the controller b324 in FIG. The controller b324 is connected to the local bus e3
Local bus control unit 3241 that controls 13 Local bus b32
5 local bus b control unit 3247, start flag 324
3, start register 3244, report flag 3246, report register 3245
And an address conversion unit 3242. The start flag 3243 and the start register 3244 are flags that indicate the presence or absence of an operation instruction from the main processor unit 34 to the sub-processor unit 32, and registers that store operation instruction information. The report flag 3246 and the report register 3245 are the sub-processor units. This is a register that stores a flag indicating report from the 32 to the main processor unit 34 and report information.

アドレス変換部3242は、RAMb322をローカルバスe313
からアクセスするとき、第5図に示したローカルバスb3
25へのアドレス変換を行う。ローカルバスe313からロー
カルバス325へのアクセスしか許していないため、矢印
は片方向となる。
The address conversion unit 3242 transfers the RAMb322 to the local bus e313.
When accessing from the local bus b3 shown in FIG.
Performs address translation to 25. Since only access from the local bus e313 to the local bus 325 is permitted, the arrow is unidirectional.

次に、第9図を用いて主プロセッサ部34から副プロセ
ッサ部32への動作指示を、送信を例に説明する。主プロ
セッサ部34のCPUa341は、RAMe312に送信データを設定し
起動レジスタ3244に送信指示動作情報を設定した後、起
動フラグ3243をセットする。これにより、ローカルバス
b325を介して副プロセッサ部32のCPUb321に割り込みが
発生する。CPUb321ではこの割り込みによりCPUa341から
動作起動がかかったことを知る。その後、CPUb321は起
動レジスタ3244の内容をRAMb322内に退避し、起動フラ
グ3243をリセットした後、動作指示内容にしたがってデ
ータ送信を開始する。起動フラグ3243はCPUa341から読
み出し可能であり、CPUa341は起動フラグ3243がリセッ
トされたことで、副プロセッサ部32が次の動作指示を受
け入れ可能であることを知る。
Next, an operation instruction from the main processor unit 34 to the sub-processor unit 32 will be described with reference to FIG. 9, taking transmission as an example. The CPUa 341 of the main processor unit 34 sets the transmission data in the RAMe 312 and sets the transmission instruction operation information in the activation register 3244, and then sets the activation flag 3243. This allows the local bus
An interrupt is generated in the CPU b321 of the sub processor unit 32 via b325. The CPUb321 knows that the operation is started from the CPUa341 by this interrupt. After that, the CPUb 321 saves the contents of the start register 3244 in the RAMb 322, resets the start flag 3243, and starts data transmission according to the operation instruction contents. The activation flag 3243 can be read from the CPUa341, and the CPUa341 knows that the sub-processor unit 32 can accept the next operation instruction by resetting the activation flag 3243.

これは、副プロセッサ部32がCPUa341からの動作指示
を、紛失することなく連続的に受け入れることを可能に
するためのインタフェースである。
This is an interface for enabling the sub-processor unit 32 to continuously accept the operation instruction from the CPUa 341 without losing it.

また、該処理は、データ通信とは非同期に、割り込み
処理として速やかに実行される。
This process is executed promptly as an interrupt process asynchronously with the data communication.

次に受信動作について説明する。CPUb321はシリアル
コントローラb323に対し受信したデータをARMe312の方
に格納することを指示する。シリアルコントローラb323
はCPUb321の指示にしたがってデータを受信し受信動作
を終結すると、CPUb321に受信があったことを割り込み
で知らせる。CPUb321はシリアルコントローラb323の終
結状態を見にいき受信が正常に行われていたことを確認
すると、受信報告情報を報告レジスタ3245に設定し報告
フラグ3246をセットする。これによりCPUa341へ割り込
みが発生し、CPUa341は、報告レジスタ3245の報告情報
を読み取り、報告フラグ3246をリセットする。CPUb321
は報告フラグ3246がリセットされたことで、次の副プロ
セッサ部32からの報告をCPUa341が受け入れ可能である
ことを知る。
Next, the receiving operation will be described. The CPU b321 instructs the serial controller b323 to store the received data in the ARMe 312. Serial controller b323
When receiving the data according to the instruction of the CPUb321 and ending the receiving operation, the CPUb321 notifies the CPUb321 of the reception by an interrupt. When checking that the serial controller b323 has been properly received by checking the termination state of the serial controller b323, the CPU b321 sets the reception report information in the report register 3245 and sets the report flag 3246. This causes an interrupt to the CPUa341, and the CPUa341 reads the report information of the report register 3245 and resets the report flag 3246. CPUb321
Knows that the report flag 3246 has been reset, so that the CPUa 341 can accept the next report from the sub-processor unit 32.

これは、CPUa341がCPUb321からの報告を、紛失するこ
となく連続的に受け入れることを可能にするためのイン
タフェースである。
This is an interface for enabling the CPUa341 to continuously receive the report from the CPUb321 without losing it.

起動レジスタ3244はCPUa341から読みだし/書き込み
可能なレジスタ,報告レジスタ3245はCPUb321から読み
だし/書き込み可能なレジスタである。いずれも、読み
出しを可能にしているのは、レジスタの故障チェックを
書き込み側のCPUで行うためである。
The start register 3244 is a register readable / writable from the CPUa341, and the report register 3245 is a register readable / writable from the CPUb321. In both cases, reading is enabled because the CPU on the writing side performs a failure check on the register.

信号3248はコントローラb324とコントローラc334を識
別するためのコントローラIDである。コントローラb324
とコントローラc334は同一回路であり、コントローラID
3248により2つを識別する。ローカルバスe制御部3241
では、コントローラID3248を使ってローカルバスe313か
ら副プロセッサ部32に書き込み/読みだし要求ができた
かどうかを判断する。アドレス変換部3242では、コント
ローラID3248を使って第5図のようなアドレス変換を行
う。なお、コントローラID3248は、ローカルバスb制御
部3247を通して副プロセッサ部32のプログラムで読むこ
ともできる。
Signal 3248 is a controller ID for identifying controller b324 and controller c334. Controller b324
And the controller c334 are the same circuit, and the controller ID is
The two are identified by 3248. Local bus e control unit 3241
Then, it is determined whether a write / read request has been made from the local bus e313 to the sub-processor unit 32 using the controller ID 3248. The address conversion unit 3242 performs an address conversion as shown in FIG. 5 using the controller ID 3248. Note that the controller ID 3248 can also be read by the program of the sub processor unit 32 through the local bus b control unit 3247.

第10図は、第1図のコントローラc334の構成を示すブ
ロック図である。コントローラc334は、ローカルバスe3
13を制御するローカルバスe制御部3341,ローカルバスc
335を制御するローカルバスc制御部3347,起動フラグ33
43,起動レジスタ3344,報告フラグ3346,報告レジスタ334
5,アドレス変換部3342からなる。起動フラグ3343,起動
レジスタ3344は、主プロセッサ部34から副プロセッサ部
33への動作指示の有無を示すフラグ,動作指示情報を格
納するレジスタであり、報告フラグ3346,報告レジスタ3
345は、副プロセッサ部33から主プロセッサ部34への報
告を示すフラグ,報告情報を格納するレジスタである。
FIG. 10 is a block diagram showing a configuration of the controller c334 in FIG. The controller c334 is connected to the local bus e3
Local bus e control unit 3341 that controls 13 Local bus c
Local bus c control unit 3347 for controlling 335, start flag 33
43, start register 3344, report flag 3346, report register 334
5, comprising an address conversion unit 3342. The start flag 3343 and the start register 3344 are transmitted from the main processor unit 34 to the sub processor unit.
This register stores a flag indicating the presence or absence of an operation instruction to 33, and operation instruction information.
A register 345 stores a flag indicating a report from the sub processor unit 33 to the main processor unit 34 and report information.

アドレス変換部3342は、RAMc332をローカルバスe313
からアクセスするとき、第5図に示したローカルバスc3
35へのアドレス変換を行う。ローカルバスe313からロー
カルバスc335へのアクセスしか許していないため、矢印
は片方向となる。
The address conversion unit 3342 transfers the RAMc 332 to the local bus e313.
When accessing from the local bus c3 shown in FIG.
Performs address translation to 35. Since only access from the local bus e313 to the local bus c335 is permitted, the arrow is unidirectional.

次に、第10図を用いて主プロセッサ部34から副プロセ
ッサ部33への動作指示を、送信を例に説明する。主プロ
セッサ部34のCPUa341は、RAMe312に送信データを設定し
起動レジスタ3344に送信指示動作情報を設定した後、起
動フラグ3343をセットする。これにより、ローカルバス
c335を介して副プロセッサ部33のCPUc331に割り込みが
発生する。CPUc331ではこの割り込みによりCPUa341から
動作起動がかかったことを知る。その後、CPUc331は起
動レジスタ3344の内容をRAMc332内に退避し、起動フラ
グ3343をリセットした後、動作指示内容にしたがってデ
ータ送信を開始する。起動フラグ3343はCPUa341から読
み出し可能であり、CPUa341は起動フラグ3343がリセッ
トされたことで、副プロセッサ部33が次の動作指示を受
け入れ可能であることを知る。
Next, an operation instruction from the main processor section 34 to the sub-processor section 33 will be described with reference to FIG. The CPUa 341 of the main processor 34 sets transmission data in the RAMe 312 and sets transmission instruction operation information in the activation register 3344, and then sets the activation flag 3343. This allows the local bus
An interrupt is generated in the CPU c331 of the sub processor unit 33 via c335. The CPUc331 knows that the operation has been started from the CPUa341 by this interrupt. Thereafter, the CPU c331 saves the contents of the activation register 3344 in the RAMc332, resets the activation flag 3343, and starts data transmission according to the operation instruction. The activation flag 3343 can be read from the CPUa341, and the CPUa341 knows that the sub-processor 33 can accept the next operation instruction by resetting the activation flag 3343.

これは、副プロセッサ部33がCPUa341からの動作指示
を、紛失することなく連続的に受け入れることを可能に
するためのインタフェースである。
This is an interface for enabling the sub-processor unit 33 to continuously accept the operation instruction from the CPUa 341 without losing it.

また、該処理は、データ通信とは非同期に、割り込み
処理として速やかに実行される。
This process is executed promptly as an interrupt process asynchronously with the data communication.

次に受信動作について説明する。CPUc331はシリアル
コントローラc333に対し受信したデータをRAMe312の方
に格納することを指示する。シリアルコントローラc333
はCPUc331の指示にしたがってデータを受信し受信動作
を終結すると、CPUc331に受信があったことを割り込み
で知らせる。CPUc331はシリアルコントローラc333の終
結状態を見にいき受信が正常に行われていたことを確認
すると、受信報告情報を報告レジスタ3345に設定し報告
フラグ3346をセットする。これによりCPUa341へ割り込
みが発生し、CPUa341は、報告レジスタ3345の報告情報
を読み取り、報告フラグ3346をリセットする。CPUc331
は報告フラグ3346がリセットされたことで、次の副プロ
セッサ部33からの報告をCPUa341が受け入れ可能である
ことを知る。
Next, the receiving operation will be described. The CPU c331 instructs the serial controller c333 to store the received data in the RAMe312. Serial controller c333
After receiving the data according to the instruction of the CPU c331 and terminating the receiving operation, the CPU c331 notifies the CPU c331 of the reception by an interrupt. When checking that the serial controller c333 has been properly received by checking the termination state of the serial controller c333, the CPU c331 sets the reception report information in the report register 3345 and sets the report flag 3346. This causes an interrupt to the CPUa341, and the CPUa341 reads the report information of the report register 3345 and resets the report flag 3346. CPUc331
Knows that the report flag 3346 has been reset, so that the CPUa 341 can accept the next report from the sub-processor unit 33.

これは、CPUa341がCPUc331からの報告を、紛失するこ
となく連続的に受け入れることを可能にするためのイン
タフェースである。
This is an interface for enabling the CPUa341 to continuously receive the report from the CPUc331 without losing it.

起動レジスタ3344はCPUa341から読みだし/書き込み
可能なレジスタ,報告レジスタ3345はCPUc331から読み
だし/書き込み可能なレジスタである。いずれも、読み
出しを可能にしているのは、レジスタの故障チェックを
書き込み側のCPUで行うためである。
The start register 3344 is a register readable / writable from the CPUa341, and the report register 3345 is a register readable / writable from the CPUc331. In both cases, reading is enabled because the CPU on the writing side performs a failure check on the register.

信号3348はコントローラb324とコントローラc334を識
別するためのコントローラIDである。コントローラb324
とコントローラc334は同一回路であり、コントローラID
3348により2つを識別する。ローカルバスe制御部3341
では、コントローラID3348を使ってローカルバスe313か
ら副プロセッサ部33に書き込み/読みだし要求がきたか
どうかを判断する。アドレス変換部3342では、コントロ
ーラID3348を使って第5図のようなアドレス変換を行
う。なお、コントローラID3348は、ローカルバスc制御
部33を通して副プロセッサ部33のプログラムで読むこと
ができる。
Signal 3348 is a controller ID for identifying controller b324 and controller c334. Controller b324
And the controller c334 are the same circuit, and the controller ID is
The two are identified by 3348. Local bus e controller 3341
Then, it is determined whether a write / read request has been received from the local bus e313 to the sub-processor unit 33 using the controller ID 3348. The address conversion unit 3342 performs an address conversion as shown in FIG. 5 using the controller ID 3348. Note that the controller ID 3348 can be read by a program of the sub processor unit 33 through the local bus c control unit 33.

第11図は、第1図のコントローラa344の構成を示すブ
ロック図である。コントローラa344は、ローカルバスe3
13を制御するローカルバスe制御部3441,ローカルバスa
345を制御するローカルバスa制御部3443,アドレス変換
部3442,割り込み制御部3444からなる。アドレス変換部3
442は、CPUa341がコントローラe311,RAMc332,コントロ
ーラc334,RAMb322,コントローラb324をアクセスすると
き、第5図に示したローカルバスe313へのアドレス変換
を行う。CPUa341からの単方向アクセスとなるため、矢
印は片方向となる。割り込み制御部3444は、コントロー
ラe311内の起動フラグ3115からの割り込み信号INTe,コ
ントローラb324内の起動フラグ3243からの割り込み信号
INTb,コントローラc334内の起動フラグ3343からの割り
込み信号INTc,CPUd351からの受信終了割り込み信号、回
線ドライバ37からの異常通知割り込み信号、CPUa341が
内蔵するDMA制御部からのADPCM終了割り込み信号の6つ
の割り込みを制御する。割り込み信号の中のADPCM終了
割り込みは音声の登録・再生に用いるもので、CPUa341
内蔵のDMA制御部とADPCM361を組合せて使う。CPUa341は
登録・再生時間をバイト数でDMA制御部に設定し、DMA制
御部とADPCM361に起動をかける。DMA制御部は、録音の
時にはADPCM361からの圧縮音声をRAMe312に転送し、再
生の時にはRAMe312にある圧縮音声をADPCM361に転送す
る。いずれの場合も転送が終了した時点でCPUa341にADP
CM終了割り込み信号を発生する。このようにすればプロ
グラムを介することなく自動的に音声の入出力を行うこ
とができる。
FIG. 11 is a block diagram showing a configuration of the controller a344 in FIG. Controller a344 is connected to local bus e3
Local bus e control unit 3441 that controls 13 Local bus a
It comprises a local bus a control unit 3443 for controlling the 345, an address conversion unit 3442, and an interrupt control unit 3444. Address converter 3
Reference numeral 442 performs address conversion to the local bus e313 shown in FIG. 5 when the CPU a341 accesses the controllers e311, RAMc332, controller c334, RAMb322, and controller b324. Since the access is unidirectional from the CPUa341, the arrow is unidirectional. The interrupt control unit 3444 includes an interrupt signal INTe from the start flag 3115 in the controller e311 and an interrupt signal from the start flag 3243 in the controller b324.
Six interrupts, INTb, an interrupt signal INTC from the start flag 3343 in the controller c334, a reception end interrupt signal from the CPU d351, an abnormality notification interrupt signal from the line driver 37, and an ADPCM end interrupt signal from the DMA control unit incorporated in the CPUa341 Control. The ADPCM end interrupt in the interrupt signal is used for audio registration and playback.
Use a combination of the built-in DMA controller and ADPCM361. The CPUa341 sets the registration / playback time in the DMA control unit in the number of bytes, and activates the DMA control unit and the ADPCM361. The DMA control unit transfers the compressed sound from the ADPCM 361 to the RAMe 312 during recording, and transfers the compressed sound from the RAMe 312 to the ADPCM 361 during reproduction. In any case, ADP is sent to CPUa341 when transfer is completed.
Generates CM end interrupt signal. This makes it possible to automatically input and output voice without using a program.

6つの割り込み信号は割り込み制御部3444で論理和さ
れ、いずれかの信号がオンになったとき、ローカルバス
a345を介してCPUa341に割り込みを発生する。割り込み
を受けたCPUa341では、ローカルバスa制御部3443を通
して割り込み制御部3444から割り込み要因を読みだし、
発生した割り込みに対する処理を行う。複数の割り込み
が同時に発生したときは、CPUa341でプライオリティを
付け、プライオリティの低い割り込みに対して、割り込
み制御部3444のマスクレジスタにより割り込みをマスク
して待たせるようにする。
The six interrupt signals are logically ORed by the interrupt controller 3444, and when any of the signals is turned on, the local bus
An interrupt is generated to CPUa341 via a345. Upon receiving the interrupt, the CPUa341 reads the interrupt factor from the interrupt control unit 3444 through the local bus a control unit 3443,
Performs processing for the interrupt that has occurred. When a plurality of interrupts occur at the same time, the CPUa341 assigns a priority, and masks the low-priority interrupt by the mask register of the interrupt control unit 3444 so as to wait.

第12図は、第1図の回線切替回路362の構成を示すブ
ロック図である。回線切替回路362は、レジスタ3621,B1
チャネル選択回路3622,B2チャネル選択回路3623からな
る。レジスタ3621は、B1チャネル,B2チャネル切替情報
を記憶するレジスタで、ローカルバスa345を介してCPUa
341からセットされる。レジスタ3621は8ビットのレジ
スタで、レジスタ情報は4ビットずつに分けてB1チャネ
ル選択回路3622,B2チャネル選択回路3623に入力され
る。B1チャネル選択回路3622では、回線ドライバ37で分
離されたB1チャネル373を、レジスタ3621の内容にした
がって、シリアルコントローラb323の回線326,シリアル
コントローラc333の回線336,CODEC363,ADPCM361のいず
れかまたは複数に接続する。B2チャネル選択回路3623で
も同様に、回線ドライバ37で分離されたB2チャネル374
を、レジスタ3621の内容にしたがって、回線327,回線33
7,CODEC363,ADPCM361のいずれかまたは複数に接続す
る。B1チャネル選択回路3622で接続された回線とB2チャ
ネル選択回路3623で接続された回線はそれぞれ論理和さ
れる。B1またはB2チャネルはハンドセット365につなぐ
と同時にRAMe312にも録音することができる。この場
合、レジスタ3621は2進で“11000000"または“0000110
0"をセットすればよい。ハンドセット365とRAMe312でロ
ーカルに録音・再生を行う場合は、レジスタ3621に、上
記同様に、2進で“11000000"または“00001100"をセッ
トするとともに、回線ドライバ37にB1チャネル373また
はB2チャネル374をオープンにしてISDN回線371と切り離
すように指示すればよい。
FIG. 12 is a block diagram showing a configuration of the line switching circuit 362 in FIG. The line switching circuit 362 includes the registers 3621 and B1
It comprises a channel selection circuit 3622 and a B2 channel selection circuit 3623. The register 3621 is a register for storing B1 channel and B2 channel switching information, and is used to store the CPUa via the local bus a345.
Set from 341. The register 3621 is an 8-bit register, and the register information is input to the B1 channel selection circuit 3622 and the B2 channel selection circuit 3623 in 4-bit units. The B1 channel selection circuit 3622 connects the B1 channel 373 separated by the line driver 37 to one or more of the line 326 of the serial controller b323, the line 336 of the serial controller c333, the CODEC 363, and the ADPCM 361 according to the contents of the register 3621. I do. Similarly, the B2 channel selection circuit 3623 separates the B2 channel 374 separated by the line driver 37.
To the lines 327 and 33 according to the contents of the register 3621.
7, Connect to one or more of CODEC363 and ADPCM361. The lines connected by the B1 channel selection circuit 3622 and the lines connected by the B2 channel selection circuit 3623 are respectively ORed. The B1 or B2 channel can be connected to the handset 365 and simultaneously recorded to the RAMe 312. In this case, the register 3621 is binary “11000000” or “0000110”.
0 "may be set. When recording / reproducing locally with the handset 365 and the RAMe 312," 11000000 "or" 00001100 "is set to the register 3621 in the same manner as described above, and the line driver 37 is set. It may be instructed to open the B1 channel 373 or the B2 channel 374 and disconnect from the ISDN line 371.

第19図は、第1図の速度整合部38の構成を示すブロッ
ク図である。速度整合部38はROM381と整合処理部388で
構成され、整合処理部388は、ROMアクセス制御部382,上
位インタフェース制御部383,回線337と回線336の速度整
合を行う送信速度変換部A384と受信速度変換部A385,回
線327と回線326の速度整合を行う送信速度変換部B386と
受信速度変換部B387からなる。ここで本通信アダプタか
らISDN方向にデータが流れることを送信,逆方向を受信
と呼ぶことにする。
FIG. 19 is a block diagram showing a configuration of the speed matching unit 38 of FIG. The speed matching unit 38 includes a ROM 381 and a matching processing unit 388. The matching processing unit 388 includes a ROM access control unit 382, an upper interface control unit 383, a transmission speed conversion unit A384 that performs speed matching between the line 337 and the line 336, and a reception unit. It comprises a speed conversion unit A385, a transmission speed conversion unit B386 and a reception speed conversion unit B387 that perform speed matching between the lines 327 and 326. Here, the flow of data from this communication adapter in the ISDN direction is called transmission, and the reverse direction is called reception.

つぎに第19図の速度整合方法の概要を説明する。速度
整合はCCITT勧告I.463,I.461で規定された速度整合仕様
に準拠した変換手順で行う。速度整合の対象になるのは
B1チャネル,B2チャネルの送受信データであり、それぞ
れ独立に速度変換を行う。変換速度には600bps,1200bps
……があり、第1図の主プロセッサ部34からローカルバ
スa345を介して各速度変換部384〜387に指示される。速
度変換は変換1,変換2の2段階で行う。但し、32Kbps以
上では変換1は行わない。変換1ではISDNの64Kbpsシリ
アルデータと中間速度データの変換を行う。中間速度デ
ータの転送速度は、最終的に整合され副プロセッサ部3
2,33のデータとなる速度整合シリアルデータの整合速度
によって決まる。例えば、整合速度すなわち変換速度が
4800bpsの場合は中間速度は8Kbpsになる。これは64Kbps
のISDNシリアルデータを1/8に間引くことによって実現
する。変換2では変換1で変換された中間速度データと
速度整合シリアルデータの変換を行う。変換はROM381に
記憶されている変換フォーマットにしたがう。変換フォ
ーマットは整合速度毎に異なり、例えば4800bpsの場
合,第20図のようになる。中間速度データをオクテット
番号0のビット番号1からオクテット番号0ビット番号
2……オクテット番号0ビット番号8……オクテット番
号9ビット番号8の順に並べ、この80ビットを1フレー
ムとして変換を行う。第20図に示すフレーム構造の中
で、オクテット番号0(ビット値がすべて0)とオクテ
ット番号1〜9のビット番号1(ビット値が1)の17ビ
ットはフレーム同期用ビットで、第20図のようなビット
パターンになったときにフレームと認識する。第20図の
E1〜E7ビットは整合速度を確認するためのビットであ
る。第20図のDビットは速度整合されたシリアルデータ
で、D1,D2……D48の順に出力される。すなわち、ISDNの
伝送速度が64Kbpsであるのに対し中間速度で1/8の8Kbps
に減速され、これが1フレーム80ビットの中からD1〜D
48の48ビットに間引かれて最終的に4800bpsの速度にな
る。第20図のSビットとXビットの8ビットは回線制御
情報を伝送するために使用するステータスビットであ
る。例えばCCITT勧告V.24インタフェースを持つ端末を
相手に通信する場合、S1ビットは、送信に対してはV.24
回路107であるデータセットレディ信号になり、受信に
対してはV・24回路108のデータ端末レディ信号とな
る。このステータスビットは速度整合シリアルデータと
一緒に副プロセッサ部32及び33で処理することもできる
が、ここでは通信アダプタ3を統括制御している主プロ
セッサ部34で処理を行う。B1チャネル,B2チャネルの送
信ステータスビットはいずれも主プロセッサ部34からロ
ーカルバスa345を介して速度整合部38に送られ、速度整
合部38が受信したB1チャネル,B2チャネルの受信ステー
タスビットは、逆に、ローカルバスa345を介して主プロ
セッサ部34に送られる。
Next, an outline of the speed matching method of FIG. 19 will be described. Speed matching is performed by a conversion procedure conforming to the speed matching specifications specified in CCITT Recommendations I.463 and I.461. The target of speed matching is
It is transmission / reception data of the B1 channel and the B2 channel, and performs speed conversion independently. 600bps, 1200bps for conversion speed
Are instructed from the main processor 34 in FIG. 1 to the speed converters 384 to 387 via the local bus a345. Speed conversion is performed in two stages, conversion 1 and conversion 2. However, conversion 1 is not performed at 32 Kbps or more. In the conversion 1, conversion is performed between ISDN 64Kbps serial data and intermediate speed data. The transfer speed of the intermediate speed data is finally matched and the
It is determined by the matching speed of the speed matching serial data which becomes 2,33 data. For example, if the matching speed, or conversion speed, is
In the case of 4800bps, the intermediate speed becomes 8Kbps. This is 64Kbps
It is realized by thinning out ISDN serial data to 1/8. In the conversion 2, the intermediate speed data converted in the conversion 1 and the speed matching serial data are converted. Conversion follows the conversion format stored in the ROM 381. The conversion format differs for each matching speed. For example, in the case of 4800 bps, the conversion format is as shown in FIG. The intermediate speed data is arranged in the order of bit number 1 of octet number 0 to bit number 2 of octet number 0 bit number... Octet number 0 bit number 8... Octet number 9 bit number 8, and 80 bits are converted as one frame. In the frame structure shown in FIG. 20, 17 bits of octet number 0 (bit values are all 0) and bit number 1 (bit value 1) of octet numbers 1 to 9 are frame synchronization bits. Is recognized as a frame when a bit pattern such as Fig. 20
E 1 to E 7 bits are bits for checking the matching speed. The D bit in FIG. 20 is serial data whose speed has been matched, and is output in the order of D 1 , D 2 ... D 48 . That is, while the transmission speed of ISDN is 64 Kbps, 8 Kbps of 1/8 at the intermediate speed
Is decelerated, which D 1 to D from the frame 80 bits
Decimation of 48 to 48 bits eventually results in a speed of 4800 bps. Eight bits of the S bit and the X bit in FIG. 20 are status bits used for transmitting line control information. For example, when communicating terminal having a CCITT Recommendation V.24 interface to the other, S 1 bit, for transmission V.24
It becomes a data set ready signal of the circuit 107, and becomes a data terminal ready signal of the V • 24 circuit 108 for reception. This status bit can be processed by the sub-processor units 32 and 33 together with the speed matching serial data. In this case, however, the processing is performed by the main processor unit 34 that controls the communication adapter 3. The transmission status bits of the B1 channel and the B2 channel are both sent from the main processor unit 34 to the speed matching unit 38 via the local bus a345, and the reception status bits of the B1 channel and the B2 channel received by the speed matching unit 38 are inverted. Then, it is sent to the main processor section 34 via the local bus a345.

つぎに速度整合の具体的な方法について第19図を用い
て説明する。
Next, a specific method of speed matching will be described with reference to FIG.

2つの送信速度変換部384と386は同じ構成をとり、2
つの受信速度変換部385と387も同じ構成をとる。また、
送信速度変換部と受信速度変換部とはデータの方向が逆
になっているだけで変換方法は同じである。ここでは受
信速度変換部A385を代表して説明する。受信速度変換部
A385には速度レジスタ,ステータスレジスタ,第1変換
部,第2変換部,ROMアドレス生成部がある。速度レジス
タは変換速度を記憶するレジスタで主プロセッサ部34が
上位インタフェース制御部383を介して速度値を設定す
る。ステータスレジスタは受信フレームから取出したス
テータスビットを記憶するレジスタで、この値は必要に
応じて上位インタフェース制御部383を介して主プロセ
ッサ部34に報告される。第1変換部は回線337からの受
信信号を速度レジスタの値に応じて間引きながら中間速
度データをつくり、これを第2変換部に出力する。第2
変換部では中間データから速度レジスタの値に応じてフ
レームを作り出し、フレーム内の各ビットをROM381の内
容にしたがって処理するために、オクテット番号,ビッ
ト番号を順次ROMアドレス生成部に送る。ROMアドレス生
成部では速度レジスタから速度情報と第2変換部からの
オクテット番号,ビット番号によってROMのアドレスを
決定しこれをROMアクセス制御部382に送る。ROMアクセ
ス制御部382ではこのROMアドレス位置の情報をROM381か
ら読み出す。読み出されたROM情報は、ROMアドレス生成
部を通して第2変換部に渡される。第2変換部は、ROM
情報にしたがってステータスビットをステータスレジス
タに,データビットを回線336に出力する。
The two transmission rate converters 384 and 386 have the same configuration and
The two receiving speed converters 385 and 387 have the same configuration. Also,
The transmission method is the same as that of the transmission speed conversion unit and the reception speed conversion unit except that the data direction is reversed. Here, the reception speed conversion unit A385 will be described as a representative. Receiving speed converter
The A385 has a speed register, a status register, a first converter, a second converter, and a ROM address generator. The speed register is a register for storing the conversion speed, and the main processor unit 34 sets a speed value via the upper interface control unit 383. The status register is a register for storing the status bits extracted from the received frame, and this value is reported to the main processor unit 34 via the upper interface control unit 383 as necessary. The first converter creates intermediate speed data while thinning out the received signal from the line 337 according to the value of the speed register, and outputs this to the second converter. Second
The conversion unit creates a frame from the intermediate data in accordance with the value of the speed register, and sequentially sends an octet number and a bit number to the ROM address generation unit in order to process each bit in the frame according to the contents of the ROM 381. The ROM address generator determines the ROM address based on the speed information from the speed register and the octet number and bit number from the second converter, and sends this to the ROM access controller 382. The ROM access control unit 382 reads the information of the ROM address position from the ROM 381. The read ROM information is passed to the second conversion unit through the ROM address generation unit. The second conversion unit is a ROM
The status bit is output to the status register and the data bit is output to the line 336 according to the information.

第19図の上位インタフェース制御部383はローカルバ
スa345を通して主プロセッサ部34と各速度変換部384〜3
87との間のデータの受け渡しを制御する。主プロセッサ
部34からのデータとしては速度情報と受信ステータス情
報があり、主プロセッサ部34から必要に応じて速度情報
を4つの速度変換部384〜387の速度レジスタのいずれか
に、送信ステータス情報を送信速度変換部A384,B386の
ステータスレジスタのいずれかに送る。主プロセッサ部
34へのデータとしては受信ステータス情報があり、主プ
ロセッサ部34が必要に応じて受信速度変換部A385,B387
のステータスレジスタのいずれかから読み出す。
The upper interface controller 383 in FIG. 19 communicates with the main processor 34 and the speed converters 384 to 3 via the local bus a345.
Controls the transfer of data to and from 87. The data from the main processor unit 34 includes speed information and reception status information, and the main processor unit 34 transmits the speed information to one of the speed registers of the four speed conversion units 384 to 387 as necessary, and transmits the transmission status information. The data is sent to one of the status registers of the transmission speed conversion units A384 and B386. Main processor
The data to 34 includes reception status information, and the main processor unit 34 controls the reception speed conversion units A385 and B387 as necessary.
Read from any of the status registers.

ROMアクセス制御部382は4つの速度変換部384〜387か
らの要求に応じてROMの読み出しを行う。回線337の送信
信号と受信信号および回線327の送信信号と受信信号は
すべて64Kbpsのビットタイミングで同期化されており、
4つの速度変換部もこのビットタイミングで動作する。
したがって速度変換部からROMアクセス制御部382へのRO
Mアクセス要求も同時に起きる。
The ROM access control unit 382 reads the ROM in response to requests from the four speed conversion units 384 to 387. The transmission signal and the reception signal of the line 337 and the transmission signal and the reception signal of the line 327 are all synchronized at a bit timing of 64 Kbps,
The four speed converters also operate at this bit timing.
Therefore, the RO from the speed conversion unit to the ROM access control unit 382
An M access request also occurs at the same time.

一方、ROMの読み出し位置は4つの速度変換部384〜38
7でそれぞれ異なる。そこでROMアクセス制御部では、時
分割でROM381を読み出し、4つのROMデータが揃ったと
ころで速度変換部に送る。
On the other hand, the read position of the ROM has four speed conversion units 384 to 38.
7 different each. Therefore, the ROM access control unit reads the ROM 381 in a time-division manner and sends it to the speed conversion unit when the four ROM data are completed.

ROM381は第20図に示したフレーム構造における各ビッ
トの処理内容を記憶しておくものである。第21図にROM
内容の1例を示す。ROMは2Kバイトの容量を持ち、これ
を4つの速度変換部用に分け、さらに変換速度によって
4分割する。この単位領域が1フレーム構造データとな
る。1つの領域に2つ以上の変換速度が書かれているの
は中間速度が異なるだけでフレームは同一構造をとるた
めである。1つの領域の中は16オクテット分×8ビット
分の容量がある。データは1バイトを単位とし1バイト
で1ビットの処理内容を記述する。例えば送信データに
対しては速度整合データ,送信ステータスデータ,
“0"または“1"の固定データのいずれかを,受信デー
タに対しては速度整合データ,受信ステータスデー
タのいずれかを選択して記述する。
The ROM 381 stores the processing contents of each bit in the frame structure shown in FIG. ROM in Figure 21
An example of the content is shown. The ROM has a capacity of 2 Kbytes, which is divided into four for the speed converter, and further divided into four according to the conversion speed. This unit area becomes one frame structure data. The reason why two or more conversion speeds are written in one area is that the frames have the same structure except for the intermediate speed. One area has a capacity of 16 octets × 8 bits. The data describes the processing contents of one bit in one byte unit. For example, for transmission data, speed matching data, transmission status data,
Either “0” or “1” fixed data is selected, and for received data, either speed matching data or reception status data is selected and described.

以上説明したように、ROMを用いて速度変換を行うた
め、ROMを変換するだけでフレーム構造を簡単に変更す
ることができる。また、第21図の例では各速度変換部毎
に変換規則データを持たせたが、変換速度に対応してデ
ータを1つにすることも可能で、このようにすればROM
の容量を小さく押えることができる。
As described above, since the speed conversion is performed using the ROM, the frame structure can be easily changed only by converting the ROM. Further, in the example of FIG. 21, the conversion rule data is provided for each speed conversion unit, but it is also possible to use one data corresponding to the conversion speed.
Capacity can be kept small.

また、受信速度変換部において第20図のようなフレー
ム構造を作ったあとEビットを判定することにより受信
データの伝送速度を知ることができる。この認識した伝
送速度で速度変換部を動作させれば主プロセッサ部34か
らの指示がなくても速度整合を自動で行うことも可能に
なる。
Also, the transmission rate of the received data can be known by determining the E bit after the frame rate as shown in FIG. 20 is created in the reception rate conversion unit. By operating the speed conversion unit at the recognized transmission speed, it becomes possible to automatically perform speed matching without an instruction from the main processor unit 34.

第13図は、第1図の通信アダプタ3の実装の例を示す
図である。通信アダプタ3は335mm×100mmのサイズのボ
ード50に収めてある。図中Xta11は19.6608MHzの水晶発
信器であり、コントローラe311で波形整形してCPUa341,
CPUb321,CPUc331の3つのCPUに出力する。Xta12は16.38
4MHzの水晶発信器であり、コントローラa344で波形整形
し、2分周して、8.192MHzのクロックをADPCM361とCPUd
351に出力する。なお1チップCPUd351は、LAPD処理部35
の回路をすべて1チップに収めている。Xta13は12.288M
Hzの水晶発信器であり、回線ドライバ37に直接接続され
る。横長または縦長の長方形部品は回路をドライブする
ためのモジュールタイプのプルアップ抵抗である。リレ
ーは、通信アダプタ3が無通電のときに通信アダプタ3
からISDN回線371を切り離すためのものである。2つの
パルストランスは、送信信号,受信信号の直流分をカッ
トして交流結合させるためのものである。無記名のIC
は、システムバス22とローカルバスe313のアドレス信号
の一部をRAMe312に供給するためのマルチプレクサ回
路,ローカルバスe313とローカルバスa345のアドレス信
号の一部を直結するための回路である。本通信アダプタ
3にはISDN回線371を接続するための回線コネクタ52と
ハンドセット365を接続するためのハンドセットコネク
タ53とワークステーション1本体に接続するための本体
コネクタ51がある。通信アダプタ3をワークステーショ
ン1の空スロットに挿入すると、本体コネクタにより通
信アダプタ3が電気的,論理的にシステムプロセッサ部
23とつながる。
FIG. 13 is a diagram showing an example of mounting the communication adapter 3 of FIG. The communication adapter 3 is housed on a board 50 having a size of 335 mm × 100 mm. In the figure, Xta11 is a 19.6608 MHz crystal oscillator, and the waveform is shaped by the controller e311 and the CPUa341,
Output to three CPUs CPUb321 and CPUc331. Xta12 is 16.38
This is a 4MHz crystal oscillator. The waveform is shaped by the controller a344, divided by 2, and the 8.192MHz clock is sent to the ADPCM361 and CPUd.
Output to 351. Note that the one-chip CPU d 351 is
Are all contained on one chip. Xta13 is 12.288M
Hz crystal oscillator, which is directly connected to the line driver 37. Horizontal or vertical rectangular components are module-type pull-up resistors for driving circuits. The relay operates when the communication adapter 3 is not energized.
For disconnecting the ISDN line 371 from the network. The two pulse transformers are used to cut the DC components of the transmission signal and the reception signal and to perform AC coupling. Anonymous IC
Is a multiplexer circuit for supplying a part of the address signals of the system bus 22 and the local bus e313 to the RAM e312, and a circuit for directly connecting a part of the address signals of the local bus e313 and the local bus a345. The communication adapter 3 includes a line connector 52 for connecting an ISDN line 371, a handset connector 53 for connecting a handset 365, and a main body connector 51 for connecting to the workstation 1 main body. When the communication adapter 3 is inserted into the empty slot of the workstation 1, the communication adapter 3 is electrically and logically connected to the system processor unit by the connector of the main body.
Connect with 23.

第14図は通信アダプタ3の立ち上げ時の動作例を示す
フローチャートである。通信アダプタ3に電源が入る
と、主プロセッサ部34のCPUa341はROMa342のプログラム
を0番地から実行する。一方、電源が投入されるとコン
トローラb324,コントローラc334はローカルバスb325,ロ
ーカルバスc335に対してリセットを発行し続けるため、
CPUb321,CPUc331はいずれも停止状態にある。CPUa341
は、ステップA1で、CPUa341からアクセスできるメモリ
やレジスタをすべて読みだし/書き込みチェックを行
い、ステップA2で、コントローラe311を通してCPU2にチ
ェック結果を報告し、ステップA3で、CPU2からの起動を
待つ。CPU2からプログラムローディングの動作指示がく
ると、CPUa341は、ステップA4で、RAMe312からRAMa343
にプログラムをローディングし、ローディングが終る
と、ステップA5で、ローディング終了報告をCPU2に返し
てローディングしたRAMa343のプログラムにジャンプす
る。RAMa343のプログラムでは、ステップA6で、CPUa341
への割り込みを受付可能状態にし、ステップA7で、割り
込み待ち状態となる。
FIG. 14 is a flowchart showing an operation example when the communication adapter 3 starts up. When the power of the communication adapter 3 is turned on, the CPUa 341 of the main processor 34 executes the program of the ROMa 342 from address 0. On the other hand, when the power is turned on, the controller b324 and the controller c334 continue to issue resets to the local bus b325 and the local bus c335.
Both CPUb321 and CPUc331 are in a stopped state. CPUa341
Performs a read / write check on all memories and registers accessible from the CPU a341 in step A1, reports a check result to the CPU 2 through the controller e311 in step A2, and waits for activation from the CPU 2 in step A3. When a program loading operation instruction is received from the CPU 2, the CPU a341 proceeds from the RAMe 312 to the RAMa 343 in step A4.
When the loading is completed, in step A5, a loading completion report is returned to the CPU 2 and the program jumps to the loaded RAMa343 program. In the program of RAMa343, in step A6, CPUa341
Then, an interrupt to the server is made ready to be accepted, and in step A7, an interrupt waiting state is set.

第15図(a)はCPU2からの割り込み処理フローチャー
トである。CPU2からCPUa341の起動はすべて割り込みINT
eで受ける。CPUa341がCPU2から“CPUbプログラムローデ
ィング”起動を受けると、ステップB1で、指定された通
信制御プログラムAまたはBをRAMe312からRAMb322に転
送し、転送終了後、ステップB2で、コントローラb324に
ローカルバスb325のリセットを解除を指示する。これに
より、CPUb321はRAMb332のプログラムを0番地から実行
する。ローディングを終了しCPUb321を起動すると、CPU
a341は、ステップB3で、CPU2に対してプログラムローデ
ィングが終了した旨を報告し、割り込み処理を抜けても
とのステップA7へ戻り、次の割り込みを待つ。
FIG. 15A is a flowchart of an interrupt process from the CPU 2. All startup of CPUa341 from CPU2 is interrupt INT
Receive with e. When the CPUa341 receives the “CPUb program loading” activation from the CPU2, the specified communication control program A or B is transferred from the RAMe312 to the RAMb322 in step B1, and after the transfer is completed, the local bus b325 is transferred to the controller b324 in step B2. Instruct to cancel reset. As a result, the CPUb 321 executes the program in the RAM b 332 from address 0. When loading is completed and CPUb321 is started, the CPU
In step B3, a341 reports to the CPU2 that the program loading has been completed, returns to step A7 after exiting the interrupt processing, and waits for the next interrupt.

CPUa341がCPU2から“CPUcプログラムローディング”
起動を受けると、ステップB5で、指示された通信制御プ
ログラムAまたはBをRAMe312からRAMc332に転送し、転
送終了後、ステップB6で、コントローラc334にローカル
バスc335のリセットを解除を指示する。これにより、CP
Uc331はRAMc332のプログラムを0番地から実行する。ロ
ーディングを終了しCPUc331を起動すると、CPUa341は、
ステップB7で、CPU2に対してプログラムローディングが
終了した旨を報告し、割り込み処理を抜けてもとのステ
ップA7に戻り、次の割り込みを待つ。
CPUa341 “CPUc program loading” from CPU2
Upon receiving the activation, in step B5, the designated communication control program A or B is transferred from the RAMe 312 to the RAM c332, and after the transfer is completed, in step B6, the controller c334 is instructed to release the reset of the local bus c335. This allows the CP
Uc331 executes the program of RAMc332 from address 0. When loading is finished and CPUc331 is started, CPUa341
At step B7, the CPU 2 is notified of the end of the program loading, and the process returns to step A7 after exiting the interrupt processing, and waits for the next interrupt.

上述したように、副プロセッサ部32と副プロセッサ部
33ではRAMe312上の通信制御プログラムAまたはBのい
ずれでも実行することができる。第16図にローディング
の様子を示す。本実施例においては、通信制御プログラ
ムをRAMe312からRAMb322またはRAMc332にコピーする方
法をとっているため、2つの通信制御プログラムAとB
を2つの副プロセッサ部32と33でそれぞれ実行させるこ
ともできるし、例えば、1つの通信制御プログラムAを
2つの副プロセッサ部32と33の両方で実行させることも
できる。
As described above, the sub processor unit 32 and the sub processor unit
At 33, either the communication control program A or B on the RAMe 312 can be executed. Fig. 16 shows the loading. In the present embodiment, the method of copying the communication control program from the RAMe 312 to the RAMb322 or RAMc332 is adopted.
Can be executed by the two sub-processor units 32 and 33, respectively. For example, one communication control program A can be executed by both the two sub-processor units 32 and 33.

CPUa341がCPU2から“CPUb送信”起動を受けると、ス
テップB4で、副プロセッサ部32に“送信”起動をかけ、
割り込み処理を抜けてもとのステップA7へ戻り、次の割
り込みを待つ。送信データはRAMe312のCPUb用送信バッ
ファに格納されている。CPU2への送信終了報告はINTb割
り込み処理の中で行う。
When the CPUa341 receives the “CPUb transmission” activation from the CPU2, the CPUa341 activates the “transmission” activation to the sub processor unit 32 in step B4.
After exiting the interrupt processing, the process returns to step A7 and waits for the next interrupt. The transmission data is stored in the CPUb transmission buffer of the RAMe 312. The transmission end report to the CPU 2 is made in the INTb interrupt processing.

CPUa341がCPU2から“CPUc送信”起動を受けると、ス
テップB8で、副プロセッサ部33に“送信”起動をかけ、
割り込み処理を抜けてもとのステップA7へ戻り、次の割
り込みを待つ。送信データはRAMe312のCPUc用送信バッ
ファに格納されている。CPU2への送信終了報告はINTc割
り込み処理の中で行う。
When the CPUa341 receives the “CPUc transmission” activation from the CPU2, the CPUa341 activates the “transmission” activation to the sub-processor unit 33 in step B8.
After exiting the interrupt processing, the process returns to step A7 and waits for the next interrupt. The transmission data is stored in the CPUc transmission buffer of the RAMe 312. The transmission end report to the CPU 2 is made in the INTc interrupt processing.

CPUa341がCPU2から“呼設定”起動を受けると、ステ
ップB9でCCITT勧告I.451にしたがって呼制御処理を行
い、ステップB10で、LAPD処理部35に“呼設定”起動を
かけ、割り込み処理を抜けてもとのステップA7へ戻り、
次の割り込みを待つ。呼設定のための詳細情報は、RAMe
312のCPUa用送信バッファに格納されている。CPU2への
呼設定終了報告はINTd割り込み処理の中で行う。
When the CPUa341 receives the "call setting" activation from the CPU2, the call control processing is performed in accordance with CCITT recommendation I.451 in step B9, and in step B10, the "call setting" activation is performed on the LAPD processing unit 35 to exit the interrupt processing. Return to the original step A7,
Wait for the next interrupt. Detailed information for call setup can be found in RAMe
312 are stored in the CPUa transmission buffer. The call setting completion report to the CPU 2 is made in the INTd interrupt processing.

CPUa341がCPU2から“Dチャネルパケット送信”起動
を受けると、ステップB11で、LAPD処理部35に“パケッ
ト送信”起動をかけ、割り込み処理を抜けてもとのステ
ップA7へ戻り、次の割り込みを待つ。送信データは、RA
Me312のCPUa用送信バッファに格納されている。CPU2へ
のDチャネルパケット送信終了報告はINTd割り込み処理
の中で行う。
When the CPUa341 receives the "D channel packet transmission" activation from the CPU2, the CPUa341 activates the "packet transmission" to the LAPD processing unit 35 in step B11, returns to step A7 after exiting the interrupt processing, and waits for the next interruption. . The transmission data is RA
It is stored in the transmission buffer for CPU3a of Me312. The D-channel packet transmission completion report to the CPU 2 is made in the INTd interrupt processing.

CPUa341がCPU2から“回転ドライバ“起動を受ける
と、ステップB12で、回線ドライバ37にISDN回線を活性
状態にすることを指示し、ステップB13で、CPU2に回線
ドライバ起動終了報告を行い、割り込み処理を抜けても
とのステップA7へ戻り、次の割り込みを待つ。回線ドラ
イバ37では、ISDNのレイヤ1プロトコルにしたがってIS
DN回線を使用可能状態にする。
When the CPUa341 receives the "rotation driver" startup from the CPU2, it instructs the line driver 37 to activate the ISDN line in step B12, and in step B13, reports the completion of the line driver startup to the CPU2, and executes the interrupt processing. The process returns to the original step A7 and waits for the next interrupt. In the line driver 37, the IS
Enable the DN line.

CPUa341がCPU2から“CODEC"起動を受けると、ステッ
プB14で、CODEC363に動作モードを設定し、ステップB1
で、CPU2に終了報告を行い、割り込み処理を抜けてもと
のステップA7へ戻り、次の割り込みを待つ。CODEC363へ
の動作モード情報は、RAMe312のCPUa用初期設定ブロッ
クに収納されている。
When the CPUa341 receives the "CODEC" activation from the CPU2, the operation mode is set in the CODEC363 in step B14, and the operation mode is set in step B1.
Then, a completion report is sent to the CPU 2 and the process returns to the original step A7 after exiting the interrupt processing, and waits for the next interrupt. The operation mode information for the CODEC 363 is stored in the CPUa initialization block of the RAMe 312.

CPUa341がCPU2から“ADPCM"起動を受けると、ステッ
プB16で、ADPCM361及びCPUa341内蔵のDAM制御部に動作
モードを設定し、割り込み処理を抜けてもとのステップ
A7へ戻り、次の割り込みを待つ。動作モード情報は、CP
U2が起動するときにコントローラe311内の起動レジスタ
3116に格納する。CPU2へのADPCM終了報告はCPUa341内蔵
のDMA制御部からの割り込み処理の中で行う。
When the CPUa341 receives the “ADPCM” activation from the CPU2, in step B16, the operation mode is set in the ADPCM361 and the DAM control unit built in the CPUa341, and the process exits from the interrupt processing.
Return to A7 and wait for the next interrupt. The operation mode information is CP
Start register in controller e311 when U2 starts
Store in 3116. The ADPCM completion report to the CPU 2 is made in the interrupt processing from the DMA control unit built in the CPUa341.

CPUa341がCPU2から“回線切替”起動を受けると、ス
テップB17で、回線切替回路362に切替情報を設定し、ス
テップB18で、CPU2に終了報告を行い、割り込み処理を
抜けてもとのステップA7へ戻り、次の割り込みを待つ。
回線切替情報はRAMe312の起動レジスタ3116で渡され
る。
When the CPUa341 receives the "line switching" activation from the CPU2, it sets the switching information in the line switching circuit 362 in step B17, reports the completion to the CPU2 in step B18, and goes to the original step A7 after exiting the interrupt processing. Return and wait for the next interrupt.
The line switching information is passed by the activation register 3116 of the RAMe 312.

ステップB19,B20,B21は速度整合部38に対する処理で
あり、CPU2からの指示でCPUa341は、ステップB19で変換
速度情報を,ステップB20で送信ステータス情報を速度
整合部38に設定する。設定する情報はRAMe312の起動レ
ジスタ3116で渡される。ステップB21では速度整合部38
から受信ステータス情報を読み出して報告レジスタ3117
を通してCPU2に報告する。処理が終わるともとのステッ
プA7へ戻り、次の割り込みを待つ。
Steps B19, B20, and B21 are processing for the speed matching unit 38. In response to an instruction from the CPU 2, the CPUa341 sets the conversion speed information in step B19 and the transmission status information in step B20 to the speed matching unit 38. The information to be set is passed by the activation register 3116 of the RAMe 312. In step B21, the speed matching unit 38
Reads the reception status information from the
To CPU2. The process returns to step A7 at the end of the process, and waits for the next interrupt.

第15図(b)は副プロセッサ部32からの割り込み処理
フローチャートである。
FIG. 15 (b) is a flowchart of an interrupt process from the sub processor unit 32.

CPUa341がCPUb321から”送信完了”起動を受けると、
ステップC1で、CPU2に送信完了の旨を報告し、割り込み
処理を抜けてもとのステップA7へ戻り、次の割り込みを
待つ。
When CPUa341 receives “transmission complete” activation from CPUb321,
In step C1, the CPU notifies the CPU 2 of the completion of transmission, returns to step A7 after exiting the interrupt processing, and waits for the next interrupt.

CPUa341がCPUb321から“受信”報告を受けると、ステ
ップC2で、CPU2に受信があった旨を報告し、割り込み処
理を抜けてもとのステップA7へ戻り、次の割り込みを待
つ。受信データは、RAMe312のCPUb用受信バッファに格
納されている。データ位置,データ長等の受信詳細情報
は、コントローラb324の報告レジスタ3245に格納されて
おり、これをコントローラe311の報告レジスタ3117にコ
ピーしてCPU2に通知する。
When the CPUa341 receives the "reception" report from the CPUb321, it reports to the CPU2 in step C2 that there is a reception, returns to step A7 after exiting the interrupt processing, and waits for the next interrupt. The reception data is stored in the CPUb reception buffer of the RAMe312. The detailed reception information such as the data position and the data length is stored in the report register 3245 of the controller b324, which is copied to the report register 3117 of the controller e311 and notified to the CPU 2.

第15図(c)は副プロセッサ部33からの割り込み処理
フローチャートである。
FIG. 15 (c) is a flowchart of an interrupt process from the sub processor unit 33.

CPUa341がCPUcから“送信完了”起動を受けると、ス
テップD1で、CPU2に送信完了の旨を報告し、割り込み処
理を抜けてもとのステップA7へ戻り、次の割り込みを待
つ。
When the CPUa341 receives the "transmission complete" activation from the CPUc, it reports the completion of transmission to the CPU2 in step D1, returns to step A7 after exiting the interrupt processing, and waits for the next interrupt.

CPUa341がCPUc331から“受信”報告を受けると、ステ
ップD2で、CPU2に受信があった旨を報告し、割り込み処
理を抜けてもとのステップA7へ戻り、次の割り込みを待
つ。受信データは、RAMe312のCPUc用受信バッファに格
納されている。データ位置,データ長等の受信詳細情報
は、コントローラc334の報告レジスタ3345に格納されて
おり、これをコントローラe311の報告レジスタ3117にコ
ピーしてCPU2に通知する。
When the CPUa341 receives the "reception" report from the CPUc331, in step D2, it reports that the reception has been made to the CPU2, returns to step A7 after exiting the interrupt processing, and waits for the next interrupt. The reception data is stored in the reception buffer for CPUc of the RAMe312. The reception detailed information such as the data position and the data length is stored in the report register 3345 of the controller c334, and is copied to the report register 3117 of the controller e311 and notified to the CPU 2.

第15図(d)はLAPD処理部35からの割り込み処理フロ
ーチャートである。
FIG. 15D is a flowchart of an interrupt process from the LAPD processing unit 35.

CPUa341がLAPD処理部35から“パケット送信完了”報
告を受けると、ステップE1で、CPU2にDチャネルパケッ
ト送信完了の旨を報告し、割り込み処理を抜けてもとの
ステップA7へ戻り、次の割り込みを待つ。
When the CPUa341 receives the "packet transmission completion" report from the LAPD processing unit 35, it reports the completion of the D-channel packet transmission to the CPU2 in step E1, returns to step A7 after exiting the interrupt processing, and returns to the next interrupt. Wait for.

CPUa341がLAPD処理部35から“受信”報告を受ける
と、ステップE2で、CPU2に受信があった旨を報告し、割
り込み処理を抜けてもとのステップA7へ戻り、次の割り
込みを待つ。受信データは、RAMe312のCPUa用受信バッ
ファに格納されている。データ位置,データ長等の受信
詳細情報は、コントローラe311の報告レジスタ3117を使
ってCPU2に通知する。
When the CPUa341 receives the "reception" report from the LAPD processing unit 35, it reports the reception to the CPU2 in step E2, returns to step A7 after exiting the interrupt processing, and waits for the next interrupt. The received data is stored in the CPUa reception buffer of the RAMe312. The reception detailed information such as the data position and the data length is notified to the CPU 2 using the report register 3117 of the controller e311.

CPUa341がLAPD処理部34から“呼設定完了”報告を受
けると、ステップE3で、CPU2に呼設定完了の旨を報告
し、割り込み処理を抜けてもとのステップA7へ戻り、次
の割り込みを待つ。
When the CPUa341 receives the "call setting completion" report from the LAPD processing unit 34, it reports the call setting completion to the CPU2 in step E3, returns to step A7 after exiting the interrupt processing, and waits for the next interrupt. .

CPUa341がLAPD処理部35から“着呼”報告を受ける
と、ステップE4で、CCITT勧告I.451にしたがって呼制御
処理を行い、ステップE5で、CPU2に着呼があった旨を報
告し、割り込み処理を抜けてもとのステップA7へ戻り、
次の割り込みを待つ。着呼した詳細情報はRAMe312のCPU
a用受信バッファに格納されている。
When the CPUa 341 receives the report of the “call” from the LAPD processing unit 35, it performs a call control process in step E4 in accordance with CCITT recommendation I.451, and reports in step E5 that the CPU 2 has received a call, After exiting the process, return to the original step A7,
Wait for the next interrupt. The detailed information of the incoming call is the RAMe312 CPU
It is stored in the receiving buffer for a.

第15図(e)は回線ドライバ37からの割り込み処理フ
ローチャートである。回線ドライバ37は、ISDN回線が非
活性状態になったり同期が外れたりした時に割り込みを
発生する。CPUa341が回線ドライバ37から割り込みを受
けると、ステップF1で、RAMe312の障害ロギングエリア
に回線障害内容をロギングし、ステップF2で、CPU2に回
線に障害があった旨を報告し、割り込み処理を抜けても
とのステップA7へ戻り、次の割り込みを待つ。
FIG. 15 (e) is a flowchart of an interrupt process from the line driver 37. The line driver 37 generates an interrupt when the ISDN line becomes inactive or loses synchronization. When the CPUa341 receives an interrupt from the line driver 37, in step F1, the content of the line fault is logged in the fault logging area of the RAMe312, and in step F2, the CPU2 reports that the line has a fault and exits the interrupt processing. Return to step A7 and wait for the next interrupt.

第15図(f)はCPUa341内蔵DMA制御部からの割り込み
処理フローチャートである。CPUa341がCPUa341内蔵のDM
A制御部から割り込みを受けると、ステップG1で、CPU2
にADPCM動作終了した旨を報告し、割り込み処理を抜け
てもとのステップA7へ戻り、次の割り込みを待つ。
FIG. 15 (f) is a flowchart of an interrupt process from the DMA control unit built in the CPUa341. CPUa341 is DM built in CPUa341
A When an interrupt is received from the control unit, the CPU 2
To report that the ADPCM operation has ended, return to step A7 after exiting the interrupt processing, and wait for the next interrupt.

次に、CPUb321,CPUc331の動作について説明する。 Next, the operation of the CPUb321 and CPUc331 will be described.

CPUb321とCPUc331は同一プログラムを実行するものと
する。その通信制御プログラムの構造の例を第17図に示
す。プログラムはHDLC−BAとHDLC−UNの2つのプロトコ
ルを持ち、どちらか一方を選択して使うことになる。選
択には、システムプロセッサ部23からの指示と、回線か
らくる受信フレームで自動的に選択する場合がある。
CPUb321 and CPUc331 execute the same program. FIG. 17 shows an example of the structure of the communication control program. The program has two protocols, HDLC-BA and HDLC-UN, and selects one of them for use. The selection may be automatically made based on an instruction from the system processor unit 23 and a received frame coming from the line.

第18図に通信制御プログラムの動作フローチャートを
示す。ここでは、CPUb321を例に挙げ、また、CPUa341か
らの起動に対しては割り込みを用いずにフラグセンスで
行うものとする。最初に、ステップH1で、シリアルコン
トローラb323を初期化して受信準備を行い、ステップH2
で、CPUa341から“プロトコル選択”起動があったか否
かを調べる。もし起動があれば、ステップH3で、指定さ
れたHDLC−BA,HDLC−UNのいずれか一方を選び、ステッ
プH4で、CPUa341に選択終了報告を返し、ステップH5
で、BA,UNのいずれかに分岐する。ステップH5でBAに分
岐すると、ステップH6で、CPUa341から“送信”起動が
あったか否かを調べる。もし起動があった時には、ステ
ップH7で、HDLC−BAによる送信処理を行い、ステップH8
で、CPUa341に送信終了報告を行ってステップH6に戻
る。ステップH6でCPUa341からの起動が無かったとき
は、ステップH9で受信状態を調べ、回線からのデータ受
信があったときは、ステップH10で、HDLC−BAによる受
信処理を行い、ステップH11で、CPUa341に受信があった
旨を報告してステップH6に戻る。ステップH9で受信が無
かったときはそのままステップH6に戻る。
FIG. 18 shows an operation flowchart of the communication control program. Here, the CPUb321 is taken as an example, and activation from the CPUa341 is performed by flag sensing without using an interrupt. First, in step H1, the serial controller b323 is initialized to prepare for reception, and in step H2
Then, it is checked whether or not “protocol selection” is activated from the CPUa 341. If there is activation, in step H3, either the designated HDLC-BA or HDLC-UN is selected, and in step H4, a selection completion report is returned to the CPUa341, and step H5
Then, branch to either BA or UN. When branching to BA in step H5, it is checked in step H6 whether or not "transmission" has been activated by the CPUa341. If there is activation, in step H7, transmission processing by HDLC-BA is performed, and in step H8
Then, a transmission completion report is sent to the CPUa341, and the process returns to step H6. If there is no activation from the CPU a341 in step H6, the reception state is checked in step H9, and if data is received from the line, reception processing by HDLC-BA is performed in step H10, and in step H11, the CPUa341 And the process returns to step H6. If there is no reception in step H9, the process returns to step H6.

第18図のステップH5でUNに分岐した場合は、ステップ
H12からステップH17のフローで送受信処理されるが、制
御手順がHDLC−UNになるだけでフロー自身はステップH6
からステップH11と同じになるので、ここでは省略す
る。
If branching to UN at step H5 in FIG. 18,
The transmission / reception processing is performed in the flow from step H12 to step H17.
Since this is the same as step H11, the description is omitted here.

第18図のステップH2でCPUa341からの起動が無かった
ときは、ステップH18で、受信状態を調べ、回線からの
データがあった時、ステップH19で、HDLC−BA,HDLC−UN
のいずれか1つを選択し、ステップH20で、分岐する。
選択方法は、受信フレームの中の制御フィールドを調
べ、非同期平衡モード(SARM:2進“11111100"または2
進“11110100")のときはHDLC−BA,正規応答モード(SN
RM:2進"11001001"または2進“11000001")のときはHDL
C−UNとなる。
In step H2 of FIG. 18, when there is no activation from the CPUa341, the reception state is checked in step H18, and when there is data from the line, in step H19, HDLC-BA, HDLC-UN
Is selected, and the process branches at step H20.
As for the selection method, the control field in the received frame is checked, and the asynchronous balanced mode (SARM: binary “11111100” or 2
Hex "11110100", HDLC-BA, normal response mode (SN
RM: Binary "11001001" or binary "11000001") for HDL
C-UN.

CPUd351の動作については日本電気のμPD72305を用い
るのでここでは説明を省略する。
Since the operation of the CPU d351 uses the μPD72305 of NEC, the description is omitted here.

上記実施例では、副プロセッサ部32,33にROMを使って
いないが、実施例の構成のままでROMを付加することも
できる。
In the above embodiment, a ROM is not used for the sub-processor units 32 and 33, but a ROM can be added with the configuration of the embodiment.

第1図の実施例では、副プロセッサ部32,副プロセッ
サ部33はそれぞれRAMb322,RAMc332を持ち、このRAMに主
プロセッサ部34からプログラムをダウンローディングす
る方法をとっているが、RAMb322,RAMc332のかわりに伝
送制御手順のプログラムを書き込んだROMを用いれば、
プログラムをダウンローディングする手順が省ける。
In the embodiment of FIG. 1, the sub-processor unit 32 and the sub-processor unit 33 have a RAMb322 and a RAMc332, respectively, and the method of downloading a program from the main processor unit 34 to the RAM is adopted. If you use a ROM in which a program for the transmission control procedure is written,
Eliminates the need to download programs.

副プロセッサ部32,副プロセッサ部33全体をそれぞれ
1チップマイコンに書き換えたり、速度整合部38も加え
て1チップマイコンにすれば、第13図のパッケージがさ
らに小型になる。このとき、本実施例のように、プログ
ラムをRAMb322,RAMc332にダウンローディングしてもよ
いし、これらのRAMのかわりに上記のようなプログラム
をあらかじめ書き込んだROMを用いることもできる。
If the whole of the sub-processor unit 32 and the sub-processor unit 33 is rewritten to a one-chip microcomputer, or if the speed matching unit 38 is added to a one-chip microcomputer, the package shown in FIG. At this time, as in the present embodiment, the program may be downloaded to the RAMb 322 or RAMc 332, or a ROM in which the above-described program is previously written may be used instead of the RAM.

第1図の実施例では、副プロセッサ部32,33はROMを持
たないため、電源投入時はリセットされた状態で停止し
ており、主プロセッサ部34からプログラムをダウンロー
ディングしてもらうまでは動けない。そこで、主プロセ
ッサ部34の中のROMa342を副プロセッサ部32,33から使え
るようにする。まず、ROMa342のメモリ空間を3つに分
割する。具体的には、第5図のローカルバスaメモリ空
間にあるROMaを3分割し、その中の2つをローカルバス
bメモリ空間およびローカルバスcメモリ空間の最下位
部にマッピングし、RAMb,RAMcはその上にロケーション
する。これは、第9図コントローラb324のアドレス変換
部3242,第10図コントローラc334のアドレス変換部3342,
第11図コントローラa344のアドレス変換部3442のアドレ
スマッピング内容を変更し、本実施例で禁止している副
プロセッサ部32,33から主プロセッサ部34のハードウェ
ア資源へのアクセスを許可するようにコントローラb32
4,コントローラc334,コントローラa344を修正する。こ
のようにすれば、副プロセッサ部32,33は、電源投入と
同時にROMa342のプログラムを動かすことができ、自己
診断や自分自身でプログラムをRAMにローディングする
ことができる。また、ROMを含むハードウェアが故障し
てもROMを使って故障解析を行うことができる。
In the embodiment shown in FIG. 1, since the sub-processor units 32 and 33 do not have a ROM, they are stopped in a reset state when the power is turned on, and cannot be operated until the main processor unit 34 downloads the program. Absent. Therefore, the ROMa 342 in the main processor unit 34 is made usable from the sub processor units 32 and 33. First, the memory space of the ROMa 342 is divided into three. Specifically, the ROMa in the local bus a memory space of FIG. 5 is divided into three, and two of them are mapped to the lowest part of the local bus b memory space and the local bus c memory space, and RAMb, RAMc Is located above it. This corresponds to the address conversion unit 3342 of the controller b324 in FIG. 9, the address conversion unit 3342 of the controller c334 in FIG.
FIG. 11 The controller changes the address mapping contents of the address conversion unit 3442 of the controller a344 so as to permit access to the hardware resources of the main processor unit 34 from the sub-processor units 32 and 33 prohibited in this embodiment. b32
4. Modify the controller c334 and controller a344. In this way, the sub-processor units 32 and 33 can run the program in the ROMa 342 at the same time as the power is turned on, and can self-diagnose or load the program into the RAM by themselves. Further, even if hardware including the ROM fails, failure analysis can be performed using the ROM.

第1図の実施例において、LAPD処理部35を取り除けば
ISDN以外の多重回線の制御が可能になり、副プロセッサ
部を追加していけば複数回線の制御も可能になる。
In the embodiment of FIG. 1, the LAPD processing unit 35 is removed.
Control of multiple lines other than ISDN becomes possible, and control of multiple lines becomes possible by adding a sub-processor unit.

また、第1図の実施例で、LAPD処理部35と回線ドライ
バ37を取り除けば2回線を直接接続し制御することがで
き、副プロセッサ部を追加していけば複数回線の制御も
1枚の通信アダプタで可能になる。例えば、第2図のGW
13,14において、LAN側の通信制御を第1図の副プロセッ
サ部で処理すれば、LANからの通信データが共有メモリR
AMe312を介してそのままISDNに送信できるので、システ
ムプロセッサの負荷が軽くなるとともに、データの移動
が無いのでスループットが向上する。
In the embodiment of FIG. 1, two lines can be directly connected and controlled by removing the LAPD processing unit 35 and the line driver 37, and the control of a plurality of lines can be performed by adding a sub-processor unit. It becomes possible with a communication adapter. For example, GW in FIG.
13 and 14, if the communication control on the LAN side is processed by the sub-processor unit of FIG.
Since the data can be directly transmitted to the ISDN via the AMe312, the load on the system processor is reduced, and the throughput is improved because there is no data movement.

第1図でローカルバスb325とローカルバスc335を1本
のバスにしコントローラb324とコントローラc334を1つ
にまとめることができる。この場合、1つのバス上でCP
Uが2個動作するため、第1図の実施例よりも性能が多
少劣化するが、例えば、RAMb322にHDLC−BAの処理プロ
グラム、RAMc332にHDLC−UNの処理プログラムをあらか
じめローディングしておけば、HDLC−BAとHDLC−UNを2
個のCPUで同時に動かすことができるし、必要に応じてR
AMb322のHDLC−BAプログラム1つを2個のCPUで共有し
て使うこともできる。このようにすれば、伝送制御手順
を変更する度にRAMe312からプログラムをダウンローデ
ィングする必要がなく、RAMe312に副プロセッサ用プロ
グラムを常駐させておかなくて済む。
In FIG. 1, the local bus b325 and the local bus c335 can be made into one bus, and the controller b324 and the controller c334 can be integrated into one. In this case, CP on one bus
Since two U's operate, the performance is slightly degraded as compared with the embodiment of FIG. 1. For example, if the processing program of HDLC-BA is loaded in RAMb322 and the processing program of HDLC-UN is loaded in RAMc332 in advance, HDLC-BA and HDLC-UN 2
CPUs can be run at the same time.
One HDLC-BA program of AMb322 can be shared and used by two CPUs. By doing so, it is not necessary to download the program from the RAMe 312 every time the transmission control procedure is changed, and the sub-processor program does not need to be resident in the RAMe 312.

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

以上説明したように、本発明によれば、複数の通信制
御プログラムが独立に動作するので、通信路ごとに異な
る通信手順で、高速通信が実現できる。このとき相手局
に合わせてデータ伝送速度を調整することができる。ま
た、1つの通信制御プログラムに複数の通信プロトコル
を持つので、プロトコルの変換が高速且つ簡単になる。
As described above, according to the present invention, since a plurality of communication control programs operate independently, high-speed communication can be realized by a different communication procedure for each communication path. At this time, the data transmission speed can be adjusted according to the partner station. Further, since one communication control program has a plurality of communication protocols, protocol conversion can be performed quickly and easily.

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

第1図は本発明の一実施例を示すワークステーションの
ブロック構成図、第2図は本実施例を利用したネットワ
ーク構成図、第3図はワークステーションきょう体の配
置図、第4図は共有メモリの記憶状態を表した図、第5
図はローカルバスのメモリ空間を表した図、第6図,第
9図,第10図,第11図,第12図,第19図は第1図の代表
ブロックの詳細構成図、第7図はローカルバスのタイム
チャート、第8図はスロットに対応したメモリマップ、
第13図は通信アダプタの実装図、第14図,第15図は通信
アダプタの動作の一例を示すフローチャート、第16図は
通信制御プログラムのローディング例を示す図、第17図
は通信制御プログラムの構成図、第18図は通信制御プロ
グラムの動作フローチャート、第20図は速度整合に使う
フレームの構造図、第21図は速度整合用ROMの内容を表
わした図である。 1……ワークステーション、 23……システムプロセッサ部、 3……通信アダプタ、34……主プロセッサ部、 32,33……副プロセッサ部、 35……LAPD処理部、 36……Bチャネル制御部、37……回線ドライバ、 38……速度整合部。
FIG. 1 is a block diagram of a workstation showing an embodiment of the present invention, FIG. 2 is a diagram of a network using this embodiment, FIG. 3 is a layout diagram of a workstation housing, and FIG. The figure showing the storage state of the memory, the fifth
The figure shows the memory space of the local bus, FIG. 6, FIG. 9, FIG. 10, FIG. 11, FIG. 12, FIG. 19 is the detailed block diagram of the representative block of FIG. Is a time chart of the local bus, FIG. 8 is a memory map corresponding to the slot,
FIG. 13 is a mounting diagram of a communication adapter, FIGS. 14 and 15 are flowcharts showing an example of the operation of the communication adapter, FIG. 16 is a diagram showing an example of loading a communication control program, and FIG. FIG. 18 is a configuration diagram, FIG. 18 is an operation flowchart of a communication control program, FIG. 20 is a structural diagram of a frame used for speed matching, and FIG. 21 is a diagram showing the contents of a speed matching ROM. 1 ... workstation, 23 ... system processor section, 3 ... communication adapter, 34 ... main processor section, 32,33 ... sub-processor section, 35 ... LAPD processing section, 36 ... B channel control section, 37: Line driver 38: Speed matching unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 平松 仁昌 神奈川県秦野市堀山下1番地 株式会社 日立製作所神奈川工場内 (56)参考文献 特開 平2−244940(JP,A) 特開 平1−126044(JP,A) 特開 昭63−88937(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04L 29/06 ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Yoshimasa Hiramatsu 1st Horiyamashita, Hadano-shi, Kanagawa Hitachi, Ltd. Kanagawa Plant (56) References JP-A-2-244940 (JP, A) JP-A-1 -1226044 (JP, A) JP-A-63-88937 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) H04L 29/06

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の通信路を含むマルチ回線に接続さ
れ、該マルチ回線の通信制御を行う通信アダプタであっ
て、各々が各通信路に対する通信制御を行うために独立
に動作可能な複数の通信処理部と、前記通信処理部が通
信プロトコルに応じて通信制御を行うために実行する通
信制御プログラムを複数個保持するメモリとを有し、前
記複数の通信処理部の各々は前記メモリからダウンロー
ドされた前記通信制御プログラムを格納するための書き
込み可能メモリを備え、上位システムからの指示に応じ
て前記複数の通信処理部の各々に対して前記複数の通信
制御プログラムの中の指定された通信制御プログラムを
前記メモリから各通信処理部の前記書き込み可能メモリ
にダウンロードし、前記マルチ回線に含まれる複数の通
信路の各々に対して対応する通信プロトコルに基づいた
通信制御プログラムを実行する通信処理部を接続するこ
とを特徴とする通信アダプタ。
1. A communication adapter connected to a multi-line including a plurality of communication paths and controlling communication of the multi-line, wherein each of the plurality of communication adapters is operable independently to control communication for each communication path. A communication processing unit, and a memory for holding a plurality of communication control programs executed by the communication processing unit to perform communication control according to a communication protocol, wherein each of the plurality of communication processing units is downloaded from the memory. Communication control program specified in the plurality of communication control programs for each of the plurality of communication processing units in accordance with an instruction from a host system. Downloading a program from the memory to the writable memory of each communication processing unit, Communication adapter characterized by connecting the communication processing unit that executes a communication control program based on a communication protocol to respond.
【請求項2】前記通信路の伝送速度を送信相手側の伝送
速度に応じて制御する手段をさらに有することを特徴と
する請求項1記載の通信アダプタ。
2. The communication adapter according to claim 1, further comprising means for controlling a transmission speed of said communication path according to a transmission speed of a transmission partner.
【請求項3】前記複数の通信路を前記マルチ回線に多重
化する手段をさらに有することを特徴とする請求項1ま
たは2に記載の通信アダプタ。
3. The communication adapter according to claim 1, further comprising means for multiplexing the plurality of communication paths into the multi-line.
JP2119809A 1989-05-12 1990-05-11 Communication adapter Expired - Fee Related JP2880249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2119809A JP2880249B2 (en) 1989-05-12 1990-05-11 Communication adapter

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11730189 1989-05-12
JP1-117301 1989-05-12
JP2119809A JP2880249B2 (en) 1989-05-12 1990-05-11 Communication adapter

Publications (2)

Publication Number Publication Date
JPH0372755A JPH0372755A (en) 1991-03-27
JP2880249B2 true JP2880249B2 (en) 1999-04-05

Family

ID=26455444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2119809A Expired - Fee Related JP2880249B2 (en) 1989-05-12 1990-05-11 Communication adapter

Country Status (1)

Country Link
JP (1) JP2880249B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023228305A1 (en) * 2022-05-25 2023-11-30 日本電信電話株式会社 Signal transfer device, communication system, and signal transfer method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023228305A1 (en) * 2022-05-25 2023-11-30 日本電信電話株式会社 Signal transfer device, communication system, and signal transfer method

Also Published As

Publication number Publication date
JPH0372755A (en) 1991-03-27

Similar Documents

Publication Publication Date Title
US5204949A (en) Multi-channel/multi-circuit communication controller
JP3504505B2 (en) DSP-based multi-bus multiplex communication adapter
US5771232A (en) Expandable local inter-system bus architecture in a multiplexed environment
JPH01241935A (en) Synchronized formatter
EP0288636A2 (en) Network communications adapter
US6195359B1 (en) Intelligent router for remote internet access
JPH0758881A (en) Computer system
US5608889A (en) DNA controller with wrap-around buffer mode
JPS61196652A (en) Voice/data total service system
JP2880249B2 (en) Communication adapter
US6178180B1 (en) Communications adapter for processing ATM and ISDN data
US20020144065A1 (en) Message-based memory system for DSP storage expansion
JP2624817B2 (en) Communication adapter
JPH0827770B2 (en) Telecommunication packet switching equipment
JP2585426B2 (en) Multi-line communication control method and device
JP2002524889A (en) Resource interface unit for telecommunication switch nodes
JPH07271654A (en) controller
CN118656048B (en) Cross-domain audio sharing method, device, electronic device and storage medium
JPH04255050A (en) Communication controller
EP1459191B1 (en) Communication bus system
JP2721290B2 (en) Communication control device
JP2677387B2 (en) Data conversion system
KR100223045B1 (en) Multi-function terminal device and control method of ISDN
JPS6332300B2 (en)
CN121070526A (en) System and method for supporting simultaneous use of sound card by multiple application programs

Legal Events

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