[go: up one dir, main page]

JPH0834510B2 - Redundant system of electronic exchange - Google Patents

Redundant system of electronic exchange

Info

Publication number
JPH0834510B2
JPH0834510B2 JP61196616A JP19661686A JPH0834510B2 JP H0834510 B2 JPH0834510 B2 JP H0834510B2 JP 61196616 A JP61196616 A JP 61196616A JP 19661686 A JP19661686 A JP 19661686A JP H0834510 B2 JPH0834510 B2 JP H0834510B2
Authority
JP
Japan
Prior art keywords
group
data
common
electronic exchange
duplicated
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
JP61196616A
Other languages
Japanese (ja)
Other versions
JPS62149245A (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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Publication of JPS62149245A publication Critical patent/JPS62149245A/en
Publication of JPH0834510B2 publication Critical patent/JPH0834510B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Exchanges (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は電子交換機に係り、特に障害発生に対処する
ための二重化方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Field of Industrial Application) The present invention relates to an electronic exchange, and more particularly to a duplex system for coping with a failure occurrence.

(従来の技術) 電話交換機には高い信頼性が要求されるため、障害に
対処するための二重化方式が種々提案されている。従来
の二重化方式としては、例えば第19図に示すようにプロ
セッサ(CPU)とメモリを二重化して、プロセッサとメ
モリとの全ての組合せを用意しておき、障害発生時にそ
の組合せを切換える方式や、第20図に示すようにある特
定の機能を持つN個のプロセッサのうちどれかに障害が
発生すると、余分に一つ用意しておいたプロセッサに切
換えるN+1方式がある。勿論、プロセッサやメモリ等
の機能装置のほか、これらに電力供給を行なう電源も二
重化される。
(Prior Art) Since a telephone switchboard is required to have high reliability, various duplex systems for coping with a failure have been proposed. As a conventional duplication method, for example, as shown in FIG. 19, by duplicating the processor (CPU) and the memory, preparing all combinations of the processor and the memory, and switching the combinations when a failure occurs, As shown in FIG. 20, when a failure occurs in any of N processors having a specific function, there is an N + 1 method in which an extra processor is switched to. Of course, in addition to the functional devices such as the processor and the memory, the power supplies for supplying power to these are also duplicated.

しかしながら、これら従来の二重化方式はいずれも障
害発生時のバスの切換え制御のために複雑なハードウェ
アを必要とする。また、二重化された電源の各々が二重
化されたプロセッサ,メモリ等の機能装置のすべてに電
力を供給できるだけの極めて大きな容量が必要となる。
However, each of these conventional duplex systems requires complicated hardware for bus switching control when a failure occurs. In addition, each of the redundant power supplies requires an extremely large capacity to supply power to all the functional devices such as the redundant processors and memories.

(発明が解決しようとする問題点) このように従来の二重化方式では、ハードウェアが複
雑となり、また電源容量も大きくなるために、装置の大
型化と高価格化を招くという問題があった。
(Problems to be Solved by the Invention) As described above, the conventional duplex system has a problem in that the hardware becomes complicated and the power supply capacity also becomes large, so that the apparatus becomes large in size and expensive.

本発明はこのような問題点を解決するためになされた
もので、簡単な構成により障害発生に対処でき、しかも
電源容量も低減される電子交換機の二重化方式を提供す
ることを目的とする。
The present invention has been made to solve such a problem, and an object of the present invention is to provide a duplex system of an electronic exchange capable of coping with the occurrence of a failure with a simple configuration and reducing the power supply capacity.

[発明の構成] (問題点を解決するための手段) 本発明においては、シェルフ内に電源とともに実装さ
れた各種の機能装置が設けられた複数個の基板のうち、
障害発生時に電子交換機のシステムダウンに直接関与す
る交換処理を司るプロセッサ,メモリおよび時分割タイ
ムスロットの変換のためのタイムスイッチ等の機能装置
が設けられた第1種の基板群のみ二重化して、その二重
化された各群をそれぞれ第1および第2の共通バスに接
続する。一方、障害が発生しても電子交換機のシステム
ダウンに直接関与しない通話管理等のアプリケーション
サービスを司るプロセッサのような機能装置が設けられ
た第2種の基板群は二重化せず、第1および第2の共通
バスのいずれかがバススイッチ群により選択的に接続さ
れる第3の共通バスに接続する。そして、電源は二重化
されるとともにその各電源は二重化された第1種の基板
群に対しては個別に電力供給を行ない、第2種の基板群
に対しては分担して電力供給を行なうように結線され
る。さらに二重化された第1種の基板群は、各基板ごと
に障害検出手段を備え、第1および第2の共通バスの一
方を介して第3の共通バスに接続されている第1の基板
群のうちの一方の群内の少なくとも一つに障害が発生し
たことが上記障害検出手段により検出されたとき、その
障害発生を上記第1種の基板群のうちの他方の基板群に
割り込みをかけて通知し、この障害発生通知を受けた他
方の群が上記バススイッチ群を切替制御することで、上
記一方の群に代わって他方の群が上記第3の共通バスに
接続される。
[Structure of the Invention] (Means for Solving Problems) In the present invention, among a plurality of substrates provided with various functional devices mounted in a shelf together with a power source,
When only a first-type board group provided with a functional unit such as a processor, a memory, and a time switch for converting a time-division time slot that directly controls the system down of the electronic exchange when a failure occurs, is duplicated, Each of the duplicated groups is connected to the first and second common buses, respectively. On the other hand, the second type board group provided with a functional device such as a processor that manages application services such as call management that does not directly contribute to the system down of the electronic exchange even if a failure occurs is not duplicated. One of the two common buses is connected to the third common bus which is selectively connected by the bus switch group. Then, the power supplies are duplicated, and each of the power supplies individually supplies power to the duplicated first type substrate group and shares power to the second type substrate group. Is connected to. Further, the duplicated first-type board group is provided with a failure detection unit for each board, and is connected to the third common bus via one of the first and second common buses. When at least one of the groups of one of the groups is detected by the failure detecting means, the occurrence of the failure is interrupted to the other of the first type board groups. The other group, which has received the fault occurrence notification, controls the switching of the bus switch group, so that the other group is connected to the third common bus in place of the one group.

(作用) 第1種の基板群のうち第2種の基板群と接続されてい
る一方の群内のいずれかの機能装置に障害が発生する
と、第1および第2の共通バスが切り替わって第3の共
通バスに接続され、これにより第1種の基板群のうちの
他方の群全体が一方の群全体に代わって第2種の基板群
と接続されることになり、システムダウンが回避され
る。
(Operation) When a failure occurs in any one of the functional devices in one of the first-type substrate groups connected to the second-type substrate group, the first and second common buses are switched and the first and second common buses are switched. 3 common bus, so that the whole other group of the first type substrate group is connected to the second type substrate group instead of the whole one group, and system down is avoided. It

この場合、障害発生時のバスの切替制御は、第1種の
基板群のうち運用中の群の障害発生を各基板に対応付け
て設けられた障害検出手段により検出し、この障害発生
を第1種の基板群のうち待機中の群に割り込みにより通
知し、この通知を受けた待機中の群によりバススイッチ
群を切り替えることにより行なっている。すなわち、第
1種の基板群自身により障害監視とバスの切替制御が行
なわれる。このため、第1種の基板群とは別に切替制御
装置を設け、この切替制御装置において運用中の群の障
害を監視して障害が検出されるとバススイッチ群を切替
える場合に比べて、ハード構成が簡単になりこれにより
装置のコストダウンを図ることができる。
In this case, the bus switching control upon occurrence of a failure detects the failure occurrence of the operating group of the first type board group by the failure detecting means provided in association with each board, and detects the occurrence of the failure. This is performed by notifying a waiting group of one type of board group by interruption and switching the bus switch group by the waiting group which has received this notification. That is, fault monitoring and bus switching control are performed by the first-type board group itself. For this reason, compared to the case where a switching control device is provided separately from the first type board group and the switching control device monitors a fault in the operating group and switches the bus switch group when a fault is detected, The structure is simplified, and thus the cost of the device can be reduced.

また、二重化された電源はそれぞれ、二重化された第
1種の基板群の一方の群と、第2種の基板群の中の機能
装置に電力を供給できる容量があればよく、二重化され
た全ての装置に電力供給を行なう場合に比べて小容量で
よい。
In addition, it is sufficient for each of the redundant power supplies to have a capacity capable of supplying electric power to one group of the redundant type 1 board group and the functional device in the type 2 board group. The capacity may be smaller than that in the case of supplying power to the device.

(実施例) 第1図は本発明の一実施例に係る電子交換機の概略構
成図であり、共通制御シェルフ1と、複数のライン/ト
ランクシェルフ2a〜2nを第2図に示すように積層した構
造となっている。
(Embodiment) FIG. 1 is a schematic configuration diagram of an electronic exchange according to an embodiment of the present invention, in which a common control shelf 1 and a plurality of line / trunk shelves 2a to 2n are stacked as shown in FIG. It has a structure.

共通制御シェルフ1には交換処理,メインテナンス等
を司るメインCPU(Mcpu)カード11と、通話管理,メッ
セージング,ディレクトリ等の各種アプリケーションを
司るアプリケーションCPU(Acpu)カード12と、これら
メインCPUカード11およびアプリケーションCPUカード12
とライン/トランク(L/T)カード21との間の通信制御
や、ソフトにおける入出力レベル変換等を行なうローカ
ルCPU(Lcpu)カード13、および時分割タイムスロット
の変換を行なうタイムスイッチ(TSW)カード14等の共
通制御部を構成するカード(カード状の回路装置)が実
装されている。なお、本発明ではこれら共通制御シェル
フ1内の各種カード11〜14を総称して共通制御カードと
いう。また、各共通制御カード11〜14内のプロセッサは
共通バス15に接続された共通メモリ16を介して相互に通
信を行なうことができる。
In the common control shelf 1, a main CPU (Mcpu) card 11 that manages exchange processing and maintenance, an application CPU (Acpu) card 12 that manages various applications such as call management, messaging, and directory, and these main CPU card 11 and applications. CPU card 12
Communication between the line / trunk (L / T) card 21 and the local CPU (Lcpu) card 13 that performs input / output level conversion in software, and the time switch (TSW) that converts time-division time slots. A card (card-shaped circuit device) that constitutes a common control unit such as the card 14 is mounted. In the present invention, the various cards 11 to 14 in the common control shelf 1 are collectively referred to as a common control card. Further, the processors in the common control cards 11 to 14 can communicate with each other via the common memory 16 connected to the common bus 15.

一方、ライン/トランクシェルフ2a〜2n内には、電話
機やデータ端末等の加入者端末が接続されるライン/ト
ランク(L/T)カード21が回線数に応じて実装されてい
る。共通制御シェルフ1とライン/トランクシェルフ2a
〜2n間は、ローカルCPUカード13からライン/トランク
カード21への送信用データハイウェイとライン/トラン
クカード21からローカルCPUカード13への受信用データ
ハイウェイを含むシリアル伝送のためのコントロールハ
イウェイ3と、タイムスイッチカード14とライン/トラ
ンクカード21との間に接続されたPCMタイムスロット入
替えのためのPCMハイウェイ4により接続されている。
On the other hand, in the line / trunk shelves 2a to 2n, line / trunk (L / T) cards 21 to which subscriber terminals such as telephones and data terminals are connected are mounted according to the number of lines. Common control shelf 1 and line / trunk shelf 2a
Between 2n, a control highway 3 for serial transmission including a data highway for transmission from the local CPU card 13 to the line / trunk card 21 and a data highway for reception from the line / trunk card 21 to the local CPU card 13, The time switch card 14 and the line / trunk card 21 are connected by a PCM highway 4 for PCM time slot replacement.

次に、第1図の各部について詳細に説明する。第3図
はライン/トランクカード21のうち、特にディジタル電
話機31に接続されるライン/トランクカードの内部構成
を示す。第3図においてディジタル電話機用LSI(DTLS
I)32は、ディジタル電話機31と、ライン/トランクカ
ードおよびこれに接続される電話機や局線等をコントロ
ールするCPUからなるポートコントローラ(PC)33との
間の通信制御を行なうLSIである。また、インターフェ
ースLSI(ILSI)34はポートコントローラ33と共通制御
シェルフ1内のローカルCPU13(第1図)との間の通信
制御を行なうLSIであり、後述するようにスレーブ・モ
ードで動作するものとする。
Next, each part of FIG. 1 will be described in detail. FIG. 3 shows the internal structure of the line / trunk card 21, particularly the line / trunk card connected to the digital telephone 31. In Figure 3, the digital telephone LSI (DTLS
Reference numeral I) 32 is an LSI for controlling communication between the digital telephone 31 and a port / trunk card and a port controller (PC) 33 which is composed of a CPU for controlling telephones, office lines and the like connected to the line / trunk card. An interface LSI (ILSI) 34 is an LSI that controls communication between the port controller 33 and the local CPU 13 (FIG. 1) in the common control shelf 1, and operates in slave mode as described later. To do.

第4図は共通制御シェルフ1内のローカルCPUカード1
3の内部構成を示す。第4図において、インターフェー
スLSI(ILSI)41は第3図におけるインターフェースLSI
34と同一構成てあるが、外部からのモード設定入力を異
にしており、後述するようにマスタ・モードで動作す
る。ローカルメモリ42はローカルCPU(Lcpu)43を動作
させるためのプログラムやデータを格納するためのもの
であり、バッファ45は共通バス15とローカルCPUカード1
3内のローカルバス46とを接続したり切離したりするた
めのものであるローカルCPU43が共通バス15をアクセス
する時は、デコーダ44が共通メモリ71(後述)に割当て
られたアドレスを検出したとき、バッファ45をオンにし
て共通バス15とローカルバス46とを接続する。なお、ロ
ーカルメモリ42と共通メモリ71は異なるアドレスが割当
てられている。
4 shows the local CPU card 1 in the common control shelf 1.
The internal structure of 3 is shown. In FIG. 4, the interface LSI (ILSI) 41 is the interface LSI in FIG.
It has the same configuration as 34, but has a different mode setting input from the outside, and operates in master mode as described later. The local memory 42 is for storing programs and data for operating the local CPU (Lcpu) 43, and the buffer 45 is the common bus 15 and the local CPU card 1
When the local CPU 43, which is for connecting to or disconnecting from the local bus 46 in 3, accesses the common bus 15, when the decoder 44 detects an address assigned to the common memory 71 (described later), The buffer 45 is turned on to connect the common bus 15 and the local bus 46. Note that different addresses are assigned to the local memory 42 and the common memory 71.

第5図は共通制御シェルフ1内のメインCPUカード11
の内部構成を示す。図に示すようにメインCPUカード11
は第4図に示したローカルCPUカード13とほぼ同一構成
であり、ローカルメモリ51,メインCPU(Mcpu)52,デコ
ーダ53,バッファ54およびローカルバス55を有する。但
し、メインCPUカード11はコントロールハイウェイ3に
接続されていないためインターフェースLSIは内蔵しな
い。
FIG. 5 shows the main CPU card 11 in the common control shelf 1.
The internal structure of is shown. Main CPU card 11 as shown
Has almost the same configuration as the local CPU card 13 shown in FIG. 4, and has a local memory 51, a main CPU (Mcpu) 52, a decoder 53, a buffer 54 and a local bus 55. However, since the main CPU card 11 is not connected to the control highway 3, it does not include an interface LSI.

なお、図示していないが、共通制御シェルフ1内のア
プリケーションCPUカード12も第5図に示したメインCPU
カード11と同一構成である。
Although not shown, the application CPU card 12 in the common control shelf 1 is also the main CPU shown in FIG.
It has the same structure as the card 11.

第6図は共通制御シェルフ1内のタイムスイッチカー
ド14の内部構成であり、タイムスイッチコントローラ及
びタイムスイッチ61と、デコーダ62およびバッファ63を
有する。タイムスイッチカード14はメインCPU52によっ
てのみアクセスされるようになっており、具体的にはデ
コーダ62が共通バス15上のアドレスがタイムスイッチコ
ントロール用のアドレスと一致したか否かをモニター
し、一致したときのみバッファ63をオンにしてタイムス
イッチコントローラ及びタイムスイッチ61を共通バス15
に接続する。
FIG. 6 shows the internal structure of the time switch card 14 in the common control shelf 1, which has a time switch controller and time switch 61, a decoder 62 and a buffer 63. The time switch card 14 is designed to be accessed only by the main CPU 52. Specifically, the decoder 62 monitors whether the address on the common bus 15 matches the address for time switch control, and it matches. Only when the buffer 63 is turned on, the time switch controller and the time switch 61 are connected to the common bus 15
Connect to.

第7図は共通接続シェルフ1内の共通メモリカード16
の内部構成であり、共通メモリ71とデコーダ72およびバ
ッファ73を有し、共通メモリ71をアクセスする方法は第
6図に示したタイムスイッチカード14における上述した
アクセス方法と同様である。
FIG. 7 shows a common memory card 16 in the common connection shelf 1.
The internal configuration of FIG. 6 has a common memory 71, a decoder 72 and a buffer 73, and the method of accessing the common memory 71 is the same as the above-described access method in the time switch card 14 shown in FIG.

次に、第8図を参照して共通制御シェルフ1における
共通制御カード内のプロセッサ、例えば第4図に示した
ローカルCPUカード13内のローカルCPU43と、第3図に示
したライン/トランクカード21内のプロセッサ(ポート
コントローラ33)との間の通信方式について説明する。
前述したように、こうした異なるシェルフ内のプロセッ
サ間の通信は、割込み制御によりシリアル伝送で行なわ
れる。
Next, referring to FIG. 8, a processor in the common control card in the common control shelf 1, for example, the local CPU 43 in the local CPU card 13 shown in FIG. 4 and the line / trunk card 21 shown in FIG. A communication method with the internal processor (port controller 33) will be described.
As described above, the communication between the processors in different shelves is performed by serial transmission by interrupt control.

第8図において、コントロールハイウェイ3はデータ
ハイウェイ(データ入出力線),フレーム周期信号伝送
線およびデータハイウェイクロックの伝送線を有し、PC
Mハイウェイ4はPCMハイウェイクロックの伝送線とPCM
ハイウェイフレーム周期信号の伝送線を有する。ローカ
ルCPUカード13内のクロック発生器47はコントロールハ
イウェイ3にデータハイウェイクロックを送出する。一
方、ライン/トランクカード21内の回線対応部36はCODE
CやSLIC等を含む。
In FIG. 8, the control highway 3 has a data highway (data input / output line), a frame cycle signal transmission line and a data highway clock transmission line,
M highway 4 is a PCM highway clock transmission line and PCM
It has a transmission line of a highway frame period signal. The clock generator 47 in the local CPU card 13 sends the data highway clock to the control highway 3. On the other hand, the line corresponding part 36 in the line / trunk card 21 is CODE
Including C and SLIC.

本実施例ではインターフェースLSIとしてモード設定
入力により2つのモード、すなわちタイムスロットの変
化点に同期して予め自己に割当てられたタイムスロット
でデータを送出する機能を持つマスタ・モードと、外部
からのタイムスロット指定アドレスにより得られるタイ
ムスロットアドレスでのみデータを送出できる機能を持
つスレーブ・モードとに切換えが可能に構成されたもの
が使用される。
In this embodiment, as an interface LSI, there are two modes by mode setting input, that is, a master mode having a function of transmitting data in a time slot assigned to itself in synchronization with a change point of a time slot, and a time from an external source. A slave mode having a function of transmitting data only at the time slot address obtained by the slot designation address is used.

ローカルCPUカード13内のインターフェースLSI41はマ
スタ・モードで動作し、ローカルCPUとコントロールハ
イウェイ3間に挿入される。このインターフェースLSI4
1からコントロールハイウェイ3へのデータの送出は、
タイムスロットの変化点に同期して行なわれる。また、
ライン/トランクカード21内のインターフェースLSI34
からのデータの受信に際しては、ヘッダを検出したとき
に受信を行ない、ローカルCPU43に対し受信要求として
の割込み要求を行なう。
The interface LSI 41 in the local CPU card 13 operates in the master mode and is inserted between the local CPU and the control highway 3. This interface LSI4
Sending data from 1 to control highway 3
It is performed in synchronization with the changing point of the time slot. Also,
Interface LSI 34 in line / trunk card 21
When the header is detected, the data is received, and an interrupt request as a reception request is made to the local CPU 43.

ライン/トランクカード21内のインターフェースLSI3
4はスレーブ・モードで動作し、コントロールハイウェ
イ3およびPCMハイウェイ4と当該カード21内の各ポー
トの入出力を制御するポートコントローラ33とを接続す
る。このインターフェースLSI34からコントロールハイ
ウェイ3へのデータの送出は、外部からのタイムスロッ
ト指定アドレスにより指定されるタイムスロットにおい
てのみ可能である。また、インターフェースLSI34の受
信に際しては、ヘッダを検出した後コントロールハイウ
ェイ3を介してデータを受信し、その受信データのアド
レスが外部からのタイムスロット指定アドレスと一致し
たときのみ、その受信データを有効と判断して、ポート
コントローラ33に対し受信要求としての割込み要求を発
生する。
Interface LSI3 in line / trunk card 21
4 operates in the slave mode and connects the control highway 3 and the PCM highway 4 to the port controller 33 that controls the input / output of each port in the card 21. Data can be sent from the interface LSI 34 to the control highway 3 only in a time slot designated by a time slot designation address from the outside. Further, upon reception of the interface LSI 34, the data is received via the control highway 3 after detecting the header, and the received data is validated only when the address of the received data matches the time slot designated address from the outside. It makes a determination and issues an interrupt request as a reception request to the port controller 33.

ポートコントローラ33は割込み要求を受けると、イン
ターフェースLSI34内の受信レジスタから受信データを
読出し、そのデータに従ってライン/トランクカード21
の制御を行なう。回線対応部36へのデータの送出に際し
ては、ポートコントローラ33がインターフェースLSI34
内の回線対応制御部に制御データを書込んだ後、インタ
ーフェースLSI34が回線対応部36にその制御データを送
出する。
When the port controller 33 receives the interrupt request, it reads the reception data from the reception register in the interface LSI 34, and according to the data, the line / trunk card 21
Is controlled. When sending data to the line interface 36, the port controller 33
After writing the control data in the line corresponding control unit, the interface LSI 34 sends the control data to the line corresponding unit 36.

回線対応部36の状態、またはディジタル通話機31等の
加入者端末等からのデータは、インターフェースLSI34
内の回線対応部制御部のI/Oレジスタに周期的に取込ま
れる。そして、ポートコントローラ33はこのI/Oレジス
タ内のデータを周期的に読込むことにより、回線対応部
36の状態変化を検出し、この状態変化またはローカルCP
U43に対する制御データを、インターフェースLSI34内の
送信レジスタに書込む。この後、インターフェースLSI3
4は外部からのタイムスロット指定アドレスにより与え
られるタイムスロットにおいて、送信レジスタの内容を
コントロールハイウェイ3のデータハイウェイ(データ
出力線)に出力する。
The status of the line interface 36 or data from a subscriber terminal such as the digital telephone 31 is determined by the interface LSI 34.
It is periodically taken into the I / O register of the line interface control unit. Then, the port controller 33 periodically reads the data in this I / O register to
Detects 36 state changes and detects this state change or local CP
The control data for U43 is written to the transmission register in the interface LSI34. After this, the interface LSI3
Reference numeral 4 outputs the contents of the transmission register to the data highway (data output line) of the control highway 3 in the time slot given by the time slot designation address from the outside.

次に、本発明の特徴をなす共通制御シェルフ1内の各
プロセッサ間、すなわち各共通制御カードに設けられた
プロセッサ間の通信方式について説明する。共通制御シ
ェルフ1内のプロセッサ間通信には、各ローカルCPU43
が傘下のライン/トランクカード21から収集した加入者
端末の状態に関するデータおよび加入者端末からのデー
タを所定レベルまで処理したものをメインCPU52または
アプリケーションCPUに伝えるためのデータ伝送と、メ
インCPU52およびアプリケーションCPUがそれぞれ交換処
理して得た端末制御データをローカルCPU43側に伝える
ためのデータ伝送とがある。
Next, a communication system between the processors in the common control shelf 1, which is a feature of the present invention, that is, between the processors provided in each common control card will be described. For communication between processors in the common control shelf 1, each local CPU 43
Data transmission for transmitting to the main CPU52 or the application CPU the data related to the status of the subscriber terminal collected from the line / trunk card 21 under its control and the data processed from the subscriber terminal to a predetermined level, and the main CPU52 and the application. There is a data transmission for transmitting the terminal control data obtained by each CPU through the exchange processing to the local CPU 43 side.

前述したように、こうした同一シェルフ内のプロセッ
サ間の通信は、共通バス15に各プロセッサが共通にアク
セスすることのできる共通メモリ16を接続し、この共通
メモリ16に送信すべきデータを書込み、またこの共通メ
モリ16から受信すべきデータを読出すことにより行なわ
れる。
As described above, the communication between the processors in the same shelf is performed by connecting the common bus 16 to the common memory 16 that can be commonly accessed by each processor, writing the data to be transmitted to the common memory 16, and This is performed by reading the data to be received from this common memory 16.

共通バスに共通メモリを接続し、その共通メモリを介
して任意のプロセッサ間のデータ伝送を行なう手法自体
は、例えばIEEE796による制御に見られるように公知で
ある。この方法によれば、共通メモリのアクセスを必要
とするプロセッサが共通バス上にコントロール信号を出
し、共通バスをアクセス期間中占有することによってデ
ータ伝送が行なわれる。その場合、複数のプロセッサに
よるアクセスが衝突すれば、所定の優先順位に基づいて
処理が行なわれる。
A method itself in which a common memory is connected to a common bus and data is transmitted between arbitrary processors via the common memory is known as seen in control by IEEE796, for example. According to this method, data is transmitted by a processor requiring access to the common memory issuing a control signal on the common bus and occupying the common bus during the access period. In that case, if access by a plurality of processors collides, processing is performed based on a predetermined priority.

本実施例においては、各ローカルCPU43は加入者端末
側に状態変化が生じる都度、および加入者端末からダイ
ヤル情報が送られてくる都度、その状態またはダイヤル
情報のデータを共通メモリ16に書込む。メインCPU52で
は共通メモリ16の内容を定期的にポーリングすることに
より、各加入者端末の状態変化を知り、それに応じた処
理を行なう。例えば加入者端末からの起呼があると、そ
れを検出して呼処理を行なう。この呼処理の一連のルー
チンの中で、共通メモリ16にもともと格納されているデ
ータ、または加入者端末からローカルCPU43を介して共
通メモリ16に書込まれているデータが必要になると、共
通メモリ16をアクセスしてそのデータを読取って処理を
行なう。この処理の結果、加入者端末側を制御する制御
データが変った場合には、その制御データを共通メモリ
16に書込む。
In this embodiment, each local CPU 43 writes the state or dial information data to the common memory 16 each time a state change occurs on the subscriber terminal side and whenever dial information is sent from the subscriber terminal. By periodically polling the contents of the common memory 16 in the main CPU 52, the state change of each subscriber terminal is known and the corresponding process is performed. For example, if there is a call from the subscriber terminal, it is detected and the call processing is performed. In the series of routines of this call processing, when the data originally stored in the common memory 16 or the data written in the common memory 16 from the subscriber terminal via the local CPU 43 is required, the common memory 16 Is accessed to read the data and perform processing. If the control data for controlling the subscriber terminal side changes as a result of this processing, the control data is changed to a common memory.
Write to 16.

一方、ローカルCPU43においても、加入者端末の制御
データに変更が生じたか否かを判定し、また変更が生じ
た場合その制御データがどういう内容になったかを検知
すべく、共通メモリ16の内容を定期的にポーリングして
いる。
On the other hand, also in the local CPU 43, the contents of the common memory 16 are determined in order to determine whether or not the control data of the subscriber terminal has changed, and to detect the content of the control data when the change has occurred. We regularly poll.

このように各プロセッサ(メインCPU52,ローカルCPU4
3等)が送信すべきデータを共通メモリ16に書込み、ま
た共通メモリ16の内容を定期的にあるいは必要なとき随
時ポーリングし、受信すべきデータを読込むことによ
り、これらのプロセッサ間での通信が行なわれる。この
ようにすると、ローカルCPU43とメインCPU52やアプリケ
ーションCPUとでは機能レベルに差があって、メインCPU
52やアプリケーションCPUにローカルCPU43側からデータ
が集まる関係にあるにも拘らず、メインCPU52やアプリ
ケーションCPU等は自らの処理プログラム(例えば交換
処理プログラム)を中断を来たすことなく実行できるの
で、処理効率が向上する。
In this way, each processor (main CPU52, local CPU4
(3 etc.) writes data to be transmitted to the common memory 16, polls the contents of the common memory 16 periodically or as needed, and reads the data to be received, thereby communicating between these processors. Is performed. By doing this, there is a difference in function level between the local CPU 43, the main CPU 52, and the application CPU, and the main CPU
Despite the fact that data is collected from the local CPU 43 side to the 52 or application CPU, the main CPU 52, the application CPU, etc. can execute their own processing programs (for example, exchange processing programs) without interruption, thus improving processing efficiency. improves.

また、ローカルCPU(Lcpu)43,メインCPU(Mcpu)お
よびアプリケーションCPU(Acpu)が、共通バス15上の
共通メモリ16を介して接続されていることにより、Mcpu
−Lcpu,Lcpu−Acpu,Mcpu−Acpu間の通信を柔軟に行なう
ことができるため、より高度のサービスを実時間性を保
ちながら行なうことが可能である。
In addition, the local CPU (Lcpu) 43, the main CPU (Mcpu), and the application CPU (Acpu) are connected via the common memory 16 on the common bus 15.
Since the communication between -Lcpu, Lcpu-Acpu, and Mcpu-Acpu can be performed flexibly, it is possible to perform higher-level services while maintaining real time.

さらに、シリアル伝送領域とパラレル伝送領域との間
に位置するローカルCPU43によって、第9図に示すよう
にライン/トランクカード21の処理レベルである物理レ
ベルから、ローカルCPU43の処理レベルである論理レベ
ルへの変換を行なえば、メインCPU52は入出力を最大抽
象化したレベルで扱うことができる。なお、第9図はラ
イン/トランクカード21,ローカルCPU43およびメインCP
U52のそれぞれの機能と、これらプロセッサ相互間の通
信データの具体例を示している。このようにするとロー
カルCPU43が加入者端末やトランクとの間のコマンドデ
ータ送出コントロールを行なうことができ、メインCPU5
2がコマンドデータの管理を行なう必要がなくなるた
め、メインCPU52の負荷が軽減され、変更,付加等が容
易となって拡張性が向上し、生産性も高まるという利点
がある。
Further, as shown in FIG. 9, the local CPU 43 located between the serial transmission area and the parallel transmission area changes from the physical level which is the processing level of the line / trunk card 21 to the logical level which is the processing level of the local CPU 43. If the conversion is performed, the main CPU 52 can handle the input / output at the maximum abstraction level. Figure 9 shows the line / trunk card 21, local CPU 43 and main CP.
Each function of U52 and the specific example of the communication data between these processors are shown. In this way, the local CPU 43 can control command data transmission between the subscriber terminal and the trunk, and the main CPU 5
Since the 2 does not need to manage the command data, the load on the main CPU 52 is reduced, and there are advantages that the change and addition are easy, the expandability is improved, and the productivity is increased.

次に、インターフェースLSI(34,41等)の内部構成を
第10図を参照して説明する。インターフェースLSIは前
述したように、コントロールハイウェイ3中のデータハ
イウェイへのデータ送出がタイムスロットの変化点に同
期してなされる機能を持つマスタ・モードと、データハ
イウェイへのデータ送出が外部からのタイムスロット指
定アドレスによって与えられるアドレスに一致したアド
レスのタイムスロットでのみ可能なスレーブ・モードと
に切換えできるように構成されている。モード設定入力
によりマスタ/スレーブのモード切換えを行なう制御部
は、データハイウェイ送受信部101内にある。
Next, the internal configuration of the interface LSI (34, 41, etc.) will be described with reference to FIG. As described above, the interface LSI has a master mode having a function of transmitting data to the data highway in the control highway 3 in synchronization with the changing point of the time slot, and transmitting data to the data highway from the external time. It is arranged to be able to switch to a slave mode which is only possible in the time slot of the address matching the address given by the slot designation address. The control unit for switching the master / slave mode by the mode setting input is in the data highway transmitting / receiving unit 101.

第10図において、データハイウェイ送受信部101はフ
レーム同期信号DHFSおよびデータハイウェイクロックDH
CLKにより動作し、データハイウェイ送信レジスタ102お
よびデータハイウェイ受信レジスタ103を介してデータ
入力線DHINおよびデータ出力線DHOUTとの間でデータの
送受信を行なう。この場合、送受信のタイミングはモー
ドにより異なることは上述した通りである。すなわち、
マスタ・モードではタイムスロットの変化点に同期して
送信レジスタ102内のデータを送出し、受信の場合はヘ
ッダ検出後データを受信して受信レジスタ103に格納す
る。また、スレーブ・モードでは外部からのタイムスロ
ット指定アドレスと一致したアドレスのタイムスロット
においてのみ送信レジスタ102内のデータを送出し、受
信に際してはヘッダ検出後データを受信して、外部から
のタイムスロット指定アドレスと受信データ中のアドレ
スとが一致したときだけ、データを受信レジスタ103に
格納する。
In FIG. 10, the data highway transmitter / receiver 101 uses a frame synchronization signal DHFS and a data highway clock DH.
It operates by CLK and transmits / receives data to / from the data input line DHIN and the data output line DHOUT via the data highway transmission register 102 and the data highway reception register 103. In this case, the transmission / reception timing differs depending on the mode, as described above. That is,
In the master mode, the data in the transmission register 102 is transmitted in synchronization with the change point of the time slot, and in the case of reception, the data after the header detection is received and stored in the reception register 103. In slave mode, the data in the transmission register 102 is sent only in the time slot of the address that matches the external time slot designation address, and when receiving, the data is received after header detection and the external time slot designation is performed. Data is stored in the reception register 103 only when the address and the address in the received data match.

CPUインターフェース制御部104は、データバスからの
アドレスデータをデコードし、インターフェースLSI内
の各ブロックへデータを送出する。
The CPU interface control unit 104 decodes the address data from the data bus and sends the data to each block in the interface LSI.

回線対応制御部105は入力レジスタ106,出力レジスタ1
07および入出力モードを指定する入出力指定レジスタ10
8を有し、回線対応部36(第8図)と接続される。
The line correspondence control unit 105 includes an input register 106 and an output register 1
07 and I / O specification register 10 that specifies the I / O mode
8 and is connected to the line interface 36 (FIG. 8).

PCMタイムスロット制御部109はPCMフレーム同期PCMFS
とPCMクロックPCMCLKによりタイムスロットの数をカウ
ントして、ポートコントローラ33によりPCMタイムスロ
ット指定レジスタ110に設定されたPCMタイムスロットア
ドレスと比較し、これらが一致したときにCODECに対し
てフレーム同期を与える制御を行なう。
The PCM time slot control unit 109 is a PCM frame synchronous PCMFS
And the PCM clock PCMCLK to count the number of time slots, compare with the PCM time slot address set in the PCM time slot specification register 110 by the port controller 33, and when these match, give frame synchronization to the CODEC. Take control.

本実施例の電子交換機において、ローカルCPU43から
複数のポートコントローラ33に対して同一データを伝送
する場合、それらのポートコントローラ33が接続された
スレーブ・モードのインターフェースLSI34に対して共
通のグループアドレスを与えておき、このグループアド
レスを用いてデータを伝送する。このグループアドレス
は複数のインターフェースLSI34のアドレスの集合とし
ての意義を有し、各インターフェースLSI34において予
め登録される。
In the electronic exchange of this embodiment, when the same data is transmitted from the local CPU 43 to a plurality of port controllers 33, a common group address is given to the slave mode interface LSIs 34 to which the port controllers 33 are connected. Data is transmitted using this group address. This group address has a meaning as a set of addresses of a plurality of interface LSIs 34, and is registered in advance in each interface LSI 34.

なお、ローカルCPU43から同一データを複数のポート
コントローラ33に伝送する方法としては、各ポートコ
ントローラに通常の発信を順次行ない、同一データを伝
送する方法と、上述したようにポートコントローラ33
が接続された複数のインターフェースLSI34を代表する
グループアドレスに伝送データを付加して伝送する方法
とが考えられる。の方法は簡便ではあるが、各ポート
コントローラに対して個別にアドレスと伝送データを順
次伝送しなければならない。これに対し、の方法にお
いてはローカルCPU43と複数のポートコントローラ33と
の間で一度に伝送を行なうことができるので、伝送に要
する時間が短縮され、ローカルCPU43の負荷も軽減され
る。
As a method of transmitting the same data from the local CPU 43 to the plurality of port controllers 33, the normal transmission is sequentially performed to each port controller and the same data is transmitted.
A method of adding transmission data to a group address representing a plurality of interface LSIs 34 connected to each other and transmitting the data can be considered. Although the method is simple, it is necessary to sequentially transmit the address and the transmission data individually to each port controller. On the other hand, in the method (1), since the transmission can be performed at once between the local CPU 43 and the plurality of port controllers 33, the time required for the transmission is shortened and the load on the local CPU 43 is also reduced.

次に、本実施例における伝送信号フォーマットを第11
図を参照して説明する。同図に示すように、ヘッダ,ア
ドレス,制御データ,情報データにより1フレームを形
成している。アドレスは単一のポートコントローラ33に
個別にデータを伝送する場合の個別アドレスと、複数の
ポートコントローラ33に対して同一データを伝送する同
報アドレスと、全てのポートコントローラ33に対して同
一データを伝送する一斉同報アドレスとに分けられる。
個別アドレス,同報アドレス,一斉同報アドレスの区別
を表わす情報(識別子という)は、第11図の下側に示し
たアドレスフォーマット中の上位(MSB側)2ビットが
使用される。個別アドレスの場合は、このアドレスの区
別を示す上位2ビットの識別子に続いて、単一のインタ
ーフェースLSIアドレス(ILSIアドレス)が、また同報
の場合は任意に指定されたグループを示すグループアド
レスがそれぞれ付加される。
Next, the transmission signal format in this embodiment is set to the 11th
It will be described with reference to the drawings. As shown in the figure, one frame is formed by the header, address, control data, and information data. The address is an individual address for individually transmitting data to a single port controller 33, a broadcast address for transmitting the same data to a plurality of port controllers 33, and the same data for all port controllers 33. It is divided into a broadcast address to be transmitted.
As the information (identifier) indicating the distinction between the individual address, the broadcast address and the broadcast address, the upper 2 bits (MSB side) in the address format shown in the lower part of FIG. 11 are used. In the case of an individual address, a single interface LSI address (ILSI address) follows the identifier of the upper 2 bits indicating the distinction of this address, and in the case of broadcast, a group address indicating an arbitrarily designated group. Each is added.

今、第12図に示すように単一のグループアドレス(♯
A)が複数のインターフェースLSIのアドレス情報を代
表しているものとすると、ローカルCPU43から複数のポ
ートコントローラ33に接続されたインターフェースLSI3
4に対して同一データを伝送する場合には、第11図に示
したようにアドレスフォーマット中の上位2ビットに識
別子“10"を設定し、引続き♯1〜♯nの代表アドレス
として♯Aを付加すればよい。これによりローカルCPU4
3からのデータは、一回の発信操作により複数のポート
コントローラ33に接続されたインターフェースLSI34に
送られることになる。
Now, as shown in FIG. 12, a single group address (#
If A) represents the address information of a plurality of interface LSIs, the interface LSI 3 connected from the local CPU 43 to the plurality of port controllers 33 will be described.
When transmitting the same data to 4, the identifier “10” is set in the upper 2 bits in the address format as shown in FIG. 11, and then #A is set as the representative address of # 1 to #n. Just add it. This allows local CPU4
The data from 3 is sent to the interface LSI 34 connected to the plurality of port controllers 33 by one transmission operation.

こうしてローカルCPU43からのデータが送られたイン
ターフェースLSI34においては、データハイウェイを介
して受信したデータからグループアドレスを抽出し、予
め登録されているグループアドレスと比較する。この比
較の結果、両アドレスが一致したときに伝送データ中の
情報データを受信する。なお、第12図においてはグルー
プアドレス♯A,♯Bは、そのインターフェースLSI34が
設けられたライン/トランクカード21が標準電話機(ST
T)に接続されたカードであることを示している。この
ライン/トランクカードはローカルCPU43からの伝送デ
ータを受信できるが、他のライン/トランクカードは同
じデータを受信できない。
In the interface LSI 34 to which the data from the local CPU 43 is sent in this way, the group address is extracted from the data received via the data highway and compared with the group address registered in advance. As a result of this comparison, when both addresses match, the information data in the transmission data is received. In FIG. 12, the group addresses #A and #B are assigned to the standard telephone (ST) which is the line / trunk card 21 provided with the interface LSI 34.
The card is connected to T). This line / trunk card can receive transmission data from the local CPU 43, but other line / trunk cards cannot receive the same data.

第13図は上述した処理を行なうためのライン/トラン
ク21内に設けられるアドレス処理回路の構成を示したも
のであり、受信したアドレスの上位2ビット(識別子)
はセレクタ131のE,S端子(制御入力端子)に供給され
る。セレクタ131のA,B端子(データ入力端子)にはライ
ン/トランク21内のメモリ132に記憶されているグルー
プアドレスと個々のインターフェースLSI34に割当てら
れたLSIアドレスがそれぞれ供給される。セレクタ131か
らは(E,S)=(0,0)のときLSIアドレスが、また(E,
S)=(1,0)のときグループアドレスがそれぞれ出力さ
れ、コンパレータ133の第1の入力端子に供給される。
コンパレータ133の第2の入力端子には受信アドレスの
上位2ビットに続くアドレス情報が供給され、これら第
1および第2の入力端子の値が一致したときコンパレー
タ133の出力は“1"となる。一方、受信アドレスの上位
2ビットの情報はさらに2入力アンドゲート134に入力
され、上位2ビットが“11"かどうか、すなわち受信ア
ドレスが一斉同報アドレスかどうかが判定される。この
アンドゲート134の出力とコンパレータ133の出力が2入
力オアゲート135に入力される。オアゲート135の“1"出
力はポートコントローラ33に対する受信要求となる。す
なわち、受信アドレスが受信したインターフェースLSI
に対応する個別アドレス(LSIアドレス)である場合
と、受信したインターフェースLSIを含む同報アドレス
(グループアドレス)である場合と、一斉同報アドレス
である場合に、アドレスに続く情報データを受信せよと
の要求が発せられる。
FIG. 13 shows the configuration of the address processing circuit provided in the line / trunk 21 for performing the above-mentioned processing. The upper 2 bits (identifier) of the received address are shown.
Is supplied to the E and S terminals (control input terminal) of the selector 131. A group address stored in the memory 132 in the line / trunk 21 and an LSI address assigned to each interface LSI 34 are supplied to the A and B terminals (data input terminals) of the selector 131, respectively. From the selector 131, when (E, S) = (0,0), the LSI address is
When S) = (1,0), the group address is output and supplied to the first input terminal of the comparator 133.
The address information following the upper 2 bits of the received address is supplied to the second input terminal of the comparator 133, and when the values of the first and second input terminals match, the output of the comparator 133 becomes "1". On the other hand, the information of the upper 2 bits of the received address is further input to the 2-input AND gate 134, and it is determined whether the upper 2 bits are "11", that is, whether the received address is the broadcast address. The output of the AND gate 134 and the output of the comparator 133 are input to the 2-input OR gate 135. The “1” output of the OR gate 135 becomes a reception request to the port controller 33. That is, the interface LSI whose reception address is received
If it is an individual address (LSI address) corresponding to, a broadcast address (group address) including the received interface LSI, or a broadcast address, the information data following the address should be received. Is issued.

このような構成とすると、システムダウンに際してシ
ステムを立上げる時など、プログラムを各ポートに記憶
させるときに有効である。すなわち、プログラム等のロ
ーディングに要する時間がポート数によらずローディン
グすべきプログラム数によってのみ決まるので、システ
ムの立上げに要する時間が大幅に短縮される。
Such a configuration is effective for storing a program in each port, such as when starting up the system when the system goes down. That is, since the time required for loading a program or the like is determined only by the number of programs to be loaded regardless of the number of ports, the time required to start up the system is greatly shortened.

次に、本実施例における二重化方式について説明す
る。この二重化は共通制御シェルフ1に適用される。第
14図は共通制御シェルフ1内の二重化構造を説明するた
めの図であり、(a)は正面図、(b)は背面図であ
る。第14図の(a)と(b)とでは左右が逆になってい
る。
Next, the duplex system in this embodiment will be described. This duplication applies to the common control shelf 1. First
14A and 14B are views for explaining the duplicated structure in the common control shelf 1, where FIG. 14A is a front view and FIG. 14B is a rear view. The left and right are reversed in FIGS. 14 (a) and 14 (b).

第14図に示すように、共通制御シェルフ1内に設けら
れた各種の機能装置のうち、障害発生が電子交換機のシ
ステムダウンに直接関与するメインCPU(Mcpu),ロー
カルCPU(Lcpu),共通メモリおよびタイムスイッチ(T
SW)が実装された第1種の基板群は141,142で示す如く
二重化され、シェルフ1内の左右に配置されている。ま
た、障害が発生してもシステムダウンに直接関与しない
アプリケーションCPU(Acpu)が実装された第2種の基
板群143は二重化されず、シェルフ1内の中央部に配置
されている。そして、これらの機能装置に電力を供給す
る電源も144,145で示す如く二重化され、シェルフ1内
の左右両端に配置されている。
As shown in FIG. 14, among various functional devices provided in the common control shelf 1, a main CPU (Mcpu), a local CPU (Lcpu), and a common memory whose failure directly affects the system down of the electronic exchange. And time switch (T
The first type board group on which SW) is mounted is duplicated as shown by 141 and 142, and is arranged on the left and right sides in the shelf 1. Further, the second type board group 143 in which the application CPU (Acpu) that is not directly involved in the system down even if a failure occurs is mounted is not duplicated and is arranged in the central portion of the shelf 1. The power supplies for supplying power to these functional devices are also duplicated as shown by 144 and 145, and are arranged at the left and right ends inside the shelf 1.

第1種の基板群141,142は第1および第2の共通バス1
51,152にそれぞれ接続され、第2種の基板群143は第3
の共通バス153に接続されている。これらの共通バス141
〜143と電源線156,157およびアース線158は、シェルフ
1のマザーボードにパターン化されている。
The first-type board groups 141 and 142 are the first and second common buses 1
51 and 152, respectively, and the second type substrate group 143 is the third
Connected to the common bus 153 of the. These common buses 141
˜143 and power lines 156,157 and ground line 158 are patterned on the motherboard of shelf 1.

第1および第2の共通バス151,152と第3の共通バス1
53との間には、バス切換え用のスイッチ群154,155が挿
入されている。第15図はスイッチ群154の詳細を示した
もので、逆並列接続された2個の方向性を持つゲートG
1,G2を単位スイッチとして構成され、スイッチコントロ
ール線S1,S2により制御される。ゲートG1,G2は対応する
スイッチコントロール線S1,S2が“H"レベルになったと
きオンとなる。従って、例えばS1=“H",S2=“L"とす
れば、信号は共通バス153から共通バス151側へのみ伝達
される。ゲートG1,G2はオフのとき出力がオープンとな
る。スイッチ群155についても同様に構成されているも
のとする。
First and second common buses 151, 152 and third common bus 1
A switch group 154, 155 for bus switching is inserted between 53 and. FIG. 15 shows the details of the switch group 154. Two directional gates G are connected in antiparallel.
1, G2 are configured as unit switches, and controlled by switch control lines S1 and S2. The gates G1 and G2 are turned on when the corresponding switch control lines S1 and S2 become "H" level. Therefore, if S1 = "H" and S2 = "L", for example, the signal is transmitted only from the common bus 153 to the common bus 151 side. The outputs of gates G1 and G2 are open when they are off. It is assumed that the switch group 155 is similarly configured.

第1種の基板群141,142のうちの一方141が動作状態に
あるときは、スイッチ群154に接続されたスイッチコン
トロール線S1,S2が必要に応じて“H"または“L"レベル
に設定され、第1の共通バス151と第3の共通バス153と
が接続される。そのとき、スイッチ群155に接続された
スイッチコントロール線は全て“L"レベルである。逆に
第1種の基板群141,142のうちの他方142が動作状態にあ
るときは、スイッチ群155に接続されたスイッチコント
ロール線S1,S2がR/W(リード/ライト)信号,チップセ
レクト信号等により適宜“H"または“L"レベルに設定さ
れ、第2の共通バス152と第3の共通バス153とが接続さ
れ、そのときスイッチ群154に接続されたスイッチコン
トロール線は全て“L"レベルとなる。このように第1お
よび第2の共通バス151,152は選択的に第3の共通バス1
53と接続され、それによって第1の基板群141,142と第
2の基板群143とが選択的に接続される。
When one of the first type substrate groups 141 and 142 is in the operating state, the switch control lines S1 and S2 connected to the switch group 154 are set to "H" or "L" level as necessary, The first common bus 151 and the third common bus 153 are connected. At that time, all the switch control lines connected to the switch group 155 are at the “L” level. On the contrary, when the other of the first type substrate groups 141 and 142 is in the operating state, the switch control lines S1 and S2 connected to the switch group 155 are R / W (read / write) signals, chip select signals, etc. Are appropriately set to "H" or "L" level, the second common bus 152 and the third common bus 153 are connected, and all the switch control lines connected to the switch group 154 at that time are "L" level. Becomes In this way, the first and second common buses 151 and 152 are selectively connected to the third common bus 1
53, so that the first substrate group 141, 142 and the second substrate group 143 are selectively connected.

今、第1の共通バス151がスイッチ群54を介して第3
の共通バス153に接続され、第1の基板群141,142のうち
の一方の基板群141上の機能装置が動作状態にあると
き、この基板群141上の機能装置のいずれかに障害が発
生すると、この障害が以下のように検知され、それに基
づいてスイッチ群154が全てオフになるとともに、第2
の共通バス152が第3の共通バス153と接続され、基板群
142が基板群142に代えて動作状態となり、障害発生に対
処する。
Now, the first common bus 151 is connected to the third group via the switch group 54.
When a functional device on one of the first substrate groups 141 and 142 connected to the common bus 153 of the first substrate group 141, 142 is in an operating state and a failure occurs in any of the functional devices on the substrate group 141, This failure is detected as follows, and based on this, all the switch groups 154 are turned off, and the second
Common bus 152 is connected to the third common bus 153,
The board group 142 becomes the operating state in place of the board group 142, and the failure occurrence is dealt with.

メインCPU52の障害検出手段としては、第16図に示す
ようにウォッチドッグタイマ161を用いればよい。ウォ
ッチドッグタイマ161はカウンタ162と、カウンタ162に
クロックを供給するクロック発生器163とで構成され、
カウンタ162はメインCPU52が実行するプログラムによっ
てある一定時間毎にクリアされる。例えばクロック周期
を10msecとして、カウンタ162がクロックを10個連続し
てカウントしたときMcpu障害発生通知線164を“H"レベ
ルにして障害発生を通知するものとする。プログラムが
暴走する等の障害が発生した場合は、10msec×10=100m
sec以内にカウンタ162のクリア信号を発生できないの
で、カウンタ162により障害発生が検出され、その検出
結果がMcpu障害通知線164に出されることになる。な
お、ローカルCPU43の障害発生の検出も、同様にウォッ
チドッグタイマを用いて行なうことができる。
As a failure detecting means of the main CPU 52, a watchdog timer 161 may be used as shown in FIG. The watchdog timer 161 includes a counter 162 and a clock generator 163 that supplies a clock to the counter 162.
The counter 162 is cleared by the program executed by the main CPU 52 at regular intervals. For example, it is assumed that the clock cycle is set to 10 msec, and when the counter 162 continuously counts 10 clocks, the Mcpu failure occurrence notification line 164 is set to the “H” level to notify the failure occurrence. 10msec × 10 = 100m when a failure such as program runaway occurs
Since the clear signal of the counter 162 cannot be generated within sec, the counter 162 detects the occurrence of a failure, and the detection result is output to the Mcpu failure notification line 164. It should be noted that the detection of the failure occurrence of the local CPU 43 can be similarly performed using the watchdog timer.

一方、タイムスイッチ(TSW)の障害検出は、メインC
PU52で使用してしないタイムスロットを選択して、その
タイムスロットでテストパターンをPCMハイウェイ4へ
送出し、PCMハイウェイ4を介して折返されてきたテス
トパターンと送出したテストパターンとを比較すること
によって行なうことができる。すなわち、両テストパタ
ーンが一致すれば正常,不一致であれば異常と判定され
る。このとき、PCMハイウェイ4でのテストパターンの
折返しは、第17図に示すようにタイムスイッチカード14
にループ用スイッチ170を設け、これをメインCPU52から
の命令によりテストパターン送出時のタイムスロットで
のみ閉じてループを形成するようにすればよい。
On the other hand, the failure detection of the time switch (TSW) is based on the main
By selecting a time slot that is not used by PU52, sending the test pattern to the PCM highway 4 in that time slot, and comparing the test pattern returned via the PCM highway 4 with the sent test pattern. Can be done. That is, if both test patterns match, it is determined to be normal, and if they do not match, it is determined to be abnormal. At this time, the return of the test pattern on the PCM highway 4 is performed by the time switch card 14 as shown in FIG.
A loop switch 170 may be provided in the main CPU 52, and the loop switch 170 may be closed by a command from the main CPU 52 only in the time slot when the test pattern is transmitted.

また、共通メモリ71の障害検出は、共通メモリ71自体
にその機能を持たせることができ、例えば1バイト/8ビ
ット構成の場合は13ビット、また16ビット構成の場合は
22ビットをそれぞれ障害検出用に使用して、公知のエラ
ー検出用LSIを用いて行なえばよい。なお、タイムスイ
ッチおよび共通メモリ71の障害検出は第16図におけるレ
ジスタ165によって行なわれ、TSW障害通知線166および
メモリ障害検知線167にその検出結果がそれぞれ出力さ
れる。
Further, the failure detection of the common memory 71 can be performed by the common memory 71 itself. For example, in the case of 1 byte / 8 bit configuration, 13 bits are used, and in the case of 16 bit configuration,
22 bits may be used for fault detection, and a known error detection LSI may be used. The failure detection of the time switch and the common memory 71 is performed by the register 165 in FIG. 16, and the detection results are output to the TSW failure notification line 166 and the memory failure detection line 167, respectively.

こうして得られた種々の障害検出信号は、第18図に示
すようにOR回路180で合成された後、第1の基板群141,1
42のうち障害発生まで使用されていた基板群(例えば14
1とする)でない他の基板群142上のメインCPU52の割込
み線に入力され、該CPU52のプログラムをスタートさせ
る。この場合、同時にスイッチ群154を全てオフ、スイ
ッチ群155を適宜オンにすることによって、第1の共通
バス151と第3の共通バス153とを切離すとともに、第2
の共通バス152と第3の共通バス153とを接続することは
前述した通りである。
The various fault detection signals thus obtained are combined by the OR circuit 180 as shown in FIG.
Of the 42 boards that were used until the failure occurred (eg 14
It is input to the interrupt line of the main CPU 52 on the other board group 142 which is not 1) to start the program of the CPU 52. In this case, by turning off all the switch groups 154 and turning on the switch groups 155 at the same time, the first common bus 151 and the third common bus 153 are separated and the second common bus 153 is separated.
The common bus 152 and the third common bus 153 are connected as described above.

以上のような二重化方式によれば、スイッチ群154,15
5によって第1および第2の共通バス151,152と第3の共
通バス153との接続をまとめて切換えるだけで障害の発
生に対処することができ、切換え制御のためのハードウ
ェアが非常に簡単となる。
According to the duplication method as described above, the switch groups 154, 15
With 5, the failure occurrence can be dealt with by simply switching the connection between the first and second common buses 151, 152 and the third common bus 153 all together, and the hardware for switching control becomes very simple. .

一方、二重化された電源144,145は電源線156,157をそ
れぞれ介して第1種の基板群141,142のそれぞれに接続
されるとともに、ダイオード159,160をそれぞれ介して
二重化されていない第2種の基板群143に接続されてお
り、二重化された第1の基板群141,142のいずれか一方
の群内の機能装置にそれぞれ電力を供給するとともに、
二重化されていない第2の基板群143内の機能装置に対
してはロードシェアの形で分担して電力を供給する。従
って二重化された電源の各々が二重化された機能装置お
よび二重化されない機能装置の全てに電力を供給する従
来技術に比較して、電力容量が小さくて済む。なお、電
源線156,157を第2の基板群143に直接接続すると、電源
151,152間で電位の高い方から低い方へと電流が流れて
しまう。ダイオード159,160はこのような逆流現象を防
止するためのものである。
On the other hand, the redundant power sources 144 and 145 are connected to the first type substrate groups 141 and 142 via the power lines 156 and 157, respectively, and are connected to the non-redundant second type substrate group 143 via the diodes 159 and 160, respectively. And supplies electric power to the functional devices in either one of the duplicated first substrate groups 141 and 142,
The functional devices in the second substrate group 143 that are not duplicated are shared in the form of load share to supply electric power. Therefore, a smaller power capacity is required as compared with the conventional technology in which each of the redundant power supplies supplies power to all of the functional devices that are duplicated and the functional devices that are not duplicated. If the power supply lines 156 and 157 are directly connected to the second board group 143,
Between 151 and 152, current flows from the higher potential side to the lower potential side. The diodes 159 and 160 are for preventing such a backflow phenomenon.

[発明の効果] 本発明による電子交換機の二重化方式は、簡単なハー
ドウェアによって障害発生に対処することが可能であ
り、同時に二重化された電源のそれぞれの容量が最小限
で済むという利点があり、交換機の小型化および低価格
化に寄与することができる。
[Effects of the Invention] The duplexing method of the electronic exchange according to the present invention has an advantage that it is possible to deal with the occurrence of a failure by simple hardware, and at the same time, the capacity of each redundant power supply can be minimized. This can contribute to downsizing and cost reduction of the exchange.

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

第1図は本発明の一実施例に係る電子交換機の概略構成
を示す図、第2図は同電子交換機のシェルフ積層構造を
示す図、第3図は同実施例におけるライン/トランクカ
ードの内部構成を示す図、第4図は同実施例におけるロ
ーカルCPUカードの内部構成を示す図、第5図は同実施
例におけるメインCPUカードの内部構成を示す図、第6
図は同実施例におけるタイムスイッチカードの内部構成
を示す図、第7図は同実施例における共通メモリカード
の内部構成を示す図、第8図は同実施例における共通制
御シェルフ内のローカルCPUカードとライン/トランク
カード内の通信方式を説明するための図、第9図はライ
ン/トランクカードとローカルCPUおよびメインCPUの機
能配分と相互間の通信データの具体例を示す図、第10図
は同実施例におけるインターフェースLSIの内部構成を
示す図、第11図は同実施例におけるローカルCPUからラ
イン/トランクカード内のポートコントローラへのデー
タ伝送方法を説明するための伝送信号フォーマットを示
す図、第12図は同データ伝送方法を説明するための概念
図、第13図は同データ伝送方法の実施に使用するライン
/トランクカード内のアドレス受信回路の構成を示す
図、第14図(a)(b)は同実施例における二重化方式
を説明するための共通制御シェルフ内の機能装置および
電源の配置を示す正面図および背面図、第15図は第14図
におけるバス切換え用スイッチ群を詳細に示す図、第16
図〜第18図は同二重化方式に付随する障害検出手段を説
明するための図、第19図および第20図は従来の二重化方
式を説明するための図である。 1…共通制御シェルフ、2a〜2n…ライン/トランクシェ
ルフ、3…コントロールハイウェイ、4…PCMハイウェ
イ、11…メインCPUカード、12…アプリケーションCPUカ
ード、13…ローカルCPUカード、14…タイムスイッチカ
ード、15…共通バス、16…共通メモリ、21…ライン/ト
ランクカード、33…ポートコントローラ、34,41…イン
ターフェースLSI、43…ローカルCPU、52…メインCPU、7
1…共通メモリ、141,142…第1の基板群、143…第2の
基板群、144,145…電源、151〜153…第1〜第3の共通
バス、154,155…バス切換え用スイッチ群、159,160…逆
流防止用ダイオード、161…ウォッチドッグタイマ。
FIG. 1 is a diagram showing a schematic structure of an electronic exchange according to an embodiment of the present invention, FIG. 2 is a diagram showing a shelf stacking structure of the electronic exchange, and FIG. 3 is an inside of a line / trunk card in the same embodiment. FIG. 4 is a diagram showing a configuration, FIG. 4 is a diagram showing an internal configuration of a local CPU card in the same embodiment, FIG. 5 is a diagram showing an internal configuration of a main CPU card in the same embodiment, and FIG.
FIG. 7 is a diagram showing the internal structure of the time switch card in the same embodiment, FIG. 7 is a diagram showing the internal structure of the common memory card in the same embodiment, and FIG. 8 is a local CPU card in the common control shelf in the same embodiment. And FIG. 9 is a diagram for explaining the communication system in the line / trunk card, FIG. 9 is a diagram showing a specific example of communication data between the line / trunk card, the local CPU and the main CPU, and FIG. FIG. 11 is a diagram showing an internal configuration of an interface LSI in the embodiment, FIG. 11 is a diagram showing a transmission signal format for explaining a data transmission method from the local CPU to the port controller in the line / trunk card in the embodiment, FIG. FIG. 12 is a conceptual diagram for explaining the data transmission method, and FIG. 13 is an address in the line / trunk card used for implementing the data transmission method. FIGS. 14 (a) and 14 (b) are a front view and a rear view showing the arrangement of functional devices and power supplies in a common control shelf for explaining the duplex system in the same embodiment, and FIG. Fig. 16 is a diagram showing in detail the bus switching switch group in Fig. 14, Fig. 16
FIG. 18 to FIG. 18 are diagrams for explaining the failure detecting means associated with the duplex system, and FIGS. 19 and 20 are diagrams for explaining the conventional duplex system. 1 ... Common control shelf, 2a to 2n ... Line / trunk shelf, 3 ... Control highway, 4 ... PCM highway, 11 ... Main CPU card, 12 ... Application CPU card, 13 ... Local CPU card, 14 ... Time switch card, 15 ... common bus, 16 ... common memory, 21 ... line / trunk card, 33 ... port controller, 34,41 ... interface LSI, 43 ... local CPU, 52 ... main CPU, 7
1 ... Common memory, 141, 142 ... First board group, 143 ... Second board group, 144, 145 ... Power supply, 151-153 ... First to third common bus, 154, 155 ... Bus switching switch group, 159, 160 ... Backflow prevention Diode, 161: Watchdog timer.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】機能装置が設けられた複数個の基板および
該基板に電力を供給する電源を実装したシェルフを有す
る電子交換機において、 前記基板のうち障害発生時に電子交換機のシステムダウ
ンに直接関与する機能装置が設けられた第1種の基板群
は二重化されるとともに、この二重化された各群がそれ
ぞれ第1および第2の共通バスに接続され、 障害が発生しても電子交換機のシステムダウンに直接関
与しない機能装置が設けられた第2種の基板群は二重化
されず、第1および第2の共通バスのいずれかがバスス
イッチ群により選択的に接続される第3の共通バスに接
続され、 前記電源は二重化されるとともにその各電源は二重化さ
れた第1種の基板群に対しては個別に電力供給を行な
い、第2種の基板群に対しては分担して電力供給を行な
うように結線され、 さらに二重化された前記第1種の基板群は、各基板ごと
に障害検出手段を備え、第1および第2の共通バスの一
方を介して第3の共通バスに接続されている前記第1の
基板群のうちの一方の群内の少なくとも一つに障害が発
生したことが前記障害検出手段により検出されたとき、
その障害発生を前記第1種の基板群のうちの他方の基板
群に割り込みにより通知し、この障害発生通知を受けた
他方の群が前記バススイッチ群を切替制御することで、
前記一方の群に代わって他方の群が前記第3の共通バス
に接続されることを特徴とする電子交換機の二重化方
式。
1. An electronic exchange having a plurality of boards provided with functional devices and a shelf having a power supply for supplying electric power to the boards mounted thereon, the electronic exchange being directly involved in system down of the electronic exchange when a failure occurs. The first-type board group provided with the functional devices is duplicated, and the duplicated groups are connected to the first and second common buses, respectively, so that even if a failure occurs, the system of the electronic exchange can be down. The second type substrate group provided with the functional devices not directly involved is not duplicated, and either the first or second common bus is connected to the third common bus selectively connected by the bus switch group. , The power supplies are duplicated, and each of the power supplies individually supplies power to the duplicated first type substrate group and shares power to the second type substrate group. The first-type board group, which is connected in such a manner as to be duplicated, is provided with a failure detection unit for each board, and is connected to the third common bus via one of the first and second common buses. When it is detected by the failure detection means that a failure has occurred in at least one of the one of the first substrate groups,
By notifying the occurrence of the failure to the other board group of the first type board group by interruption, and the other group receiving the failure occurrence notification controls the switching of the bus switch group,
The duplex system of the electronic exchange, wherein the other group is connected to the third common bus in place of the one group.
【請求項2】第1の基板群は、障害発生時に電子交換機
のシステムダウンに直接関与する機能装置として、交換
処理を司るプロセッサ、メモリおよび時分割タイムスロ
ットが設けられたものであり、第2の基板群は障害が発
生しても電子交換機のシステムダウンに直接関与しない
機能装置として、通話管理等のアプリケーションサービ
スを司るプロセッサが設けられたものであることを特徴
とする特許請求の範囲第1項記載の電子交換機の二重化
方式。
2. A first board group is provided with a processor for controlling a switching process, a memory and a time-division time slot as functional devices directly involved in a system down of an electronic exchange when a failure occurs. Claim 1 is characterized in that the circuit board group is provided with a processor for controlling application services such as call management as a functional device that is not directly involved in system down of the electronic exchange even if a failure occurs. Duplex method of electronic exchange described in paragraph.
【請求項3】電源は、二重化された第1種の基板群のい
ずれか一つの群と、第2種の基板群とに同時に電力を供
給できる容量を有するものであることを特徴とする特許
請求の範囲第1項記載の電子交換機の二重化方式。
3. A power supply having a capacity capable of simultaneously supplying electric power to any one of the duplicated type 1 substrate group and the type 2 substrate group. The duplex system for an electronic exchange according to claim 1.
JP61196616A 1985-09-02 1986-08-22 Redundant system of electronic exchange Expired - Fee Related JPH0834510B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP19339685 1985-09-02
JP60-193396 1985-09-02

Publications (2)

Publication Number Publication Date
JPS62149245A JPS62149245A (en) 1987-07-03
JPH0834510B2 true JPH0834510B2 (en) 1996-03-29

Family

ID=16307247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61196616A Expired - Fee Related JPH0834510B2 (en) 1985-09-02 1986-08-22 Redundant system of electronic exchange

Country Status (1)

Country Link
JP (1) JPH0834510B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6431289A (en) * 1987-07-28 1989-02-01 Fuji Denki Reiki Kk Control of vending apparatus
US6574477B1 (en) * 1999-10-06 2003-06-03 Lucent Technologies Inc. Dynamic load balancing during message processing in a wireless communication service network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5895457A (en) * 1981-12-02 1983-06-07 Matsushita Electric Ind Co Ltd Dual system switching controller
JPS58149877U (en) * 1982-03-31 1983-10-07 日本電気株式会社 Dual power supply circuit

Also Published As

Publication number Publication date
JPS62149245A (en) 1987-07-03

Similar Documents

Publication Publication Date Title
US4442502A (en) Digital information switching system
US4975838A (en) Duplex data processing system with programmable bus configuration
US5125081A (en) Inter-configuration changing controller based upon the connection and configuration information among plurality of clusters and the global storage
US5446841A (en) Multi-processor system having shared memory for storing the communication information used in communicating between processors
US4736409A (en) Control data transmission system for private branch exchange
WO1992005643A1 (en) Modular digital telephone system with fully distributed local switching and control
EP0333593B1 (en) A data processing system capable of fault diagnosis
US4345325A (en) Message-interchange circuitry for microprocessors linked by synchronous communication network
JPS59106056A (en) Failsafe type data processing system
EP0073239A1 (en) Multi-processor office system complex
JPH0834510B2 (en) Redundant system of electronic exchange
US6292851B1 (en) System for allowing a supervisory module to obtain alarm and status information from at least one supervised module without having to specify physical addresses
JP3194923B2 (en) Electronic exchange
JP2953438B2 (en) Highway switch control method and method
JP3194922B2 (en) Electronic exchange
JPH03238539A (en) Memory access controller
JP3061016B2 (en) PCM highway extension method
JP3194924B2 (en) Electronic exchange
US20020156963A1 (en) Data processing arrangement and memory system
JP2859229B2 (en) Monitoring and control equipment
EP1074119B1 (en) Method and arrangement related to synchronous switching
JP2847957B2 (en) Extension system
KR100197439B1 (en) Apparatus for communicating processor with device in switching system
JP2553524B2 (en) Bus connection structure of redundant configuration processor of distributed control type electronic exchange.
EP0400930A2 (en) Realtime redundant operating system

Legal Events

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