JPS62149245A - Duplex system for electronic exchange - Google Patents

Duplex system for electronic exchange

Info

Publication number
JPS62149245A
JPS62149245A JP19661686A JP19661686A JPS62149245A JP S62149245 A JPS62149245 A JP S62149245A JP 19661686 A JP19661686 A JP 19661686A JP 19661686 A JP19661686 A JP 19661686A JP S62149245 A JPS62149245 A JP S62149245A
Authority
JP
Japan
Prior art keywords
group
common
data
common bus
board group
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.)
Granted
Application number
JP19661686A
Other languages
Japanese (ja)
Other versions
JPH0834510B2 (en
Inventor
▲閏▼井 清
Kiyoshi Urui
Masakazu Shirakawa
雅一 白川
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

Abstract

PURPOSE:To prevent system-down by switching the 1st and 2nd common buses and connecting it to the 3rd common bus if a fault takes place in any function equipment in a group so as to connect the entire other group of the 1st board group to the 2nd board group. CONSTITUTION:The 1st kind board groups 141, 142 mounted with a main CPU, a local CPU, a common memory and a time switch 4 whose fault relates directly to the system-down of an electronic exchange are duplicated in various function equipment provided in a common shelf. The 2nd kind of board group 143 not relating directly to the system-down is not duplicated. The 1st common bus 151 is connected to the 3rd common bus 153 via a switch group 154 and when the function equipment on the board group 141 is in the operating state and a fault takes place therein, the switch group 154 is all turned off, the 2nd common bus 152 is connected to the 3rd common bus 153, the board group 154 is operative instead to cope with the occurrence of the fault.

Description

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

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

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

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

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

゛[発明の構成]    ′ (問題点を解決するための手段) 本発明においては、シェルフ内に電源とともに実装され
た各種の機能装置が設けられた複数個の基板のうち、障
害発生時に電子交換機のシステムダウンに直接関与する
交換処理を司るプロセッサ、メモリおよび時分割タイム
スロットの変換のためのタイムスイッチ等の機能装置が
設けられた第1種の基板群のみ二重化して、その二重化
された各群をそれぞれ第1および第2の共通バスに接続
する。一方、障害が発生しても電子交換機のシステムダ
ウンに直接関与しない通話管理等のアプリケーションサ
ービスを司るプロセッサのような機能装置が設けられた
第2種の基板群は二重化せず、第1および第2の共通バ
スのいずれかが選択的に接続される第3の共通バスに接
続する。そして、電源は二重化されるとともにその各電
源は二重化された第1種の基板群に対しては個別に電力
供給を行ない、第2種の基板群に対しては分担して電力
供給を行なうように結線される。ざらに二重化された第
1種の基板群は第1および第2の共通バスの一方を介し
て第3の共通バスに接続されている一方の群内の少なく
とも一つに障害が発生したとき、他方の群が第1および
第2の共通バスの他方を介して第3の共通バスに接続さ
れる。
[Structure of the Invention] (Means for Solving the Problems) In the present invention, when a failure occurs, one of the plurality of boards on which various functional devices are mounted together with the power supply in the shelf is activated. Only the first type of board group, which is equipped with functional devices such as processors, memory, and functional devices such as time switches for converting time-division time slots, which are directly involved in system downtime, is duplicated, and each of the duplicated groups are connected to first and second common buses, respectively. On the other hand, the second type of board group, which is equipped with functional devices such as processors that handle application services such as call management, which are not directly involved in system down of the electronic exchange even if a failure occurs, is not duplicated; Either one of the two common buses is selectively connected to a third common bus. The power supplies are duplicated, and each power supply individually supplies power to the duplicated group of type 1 boards, and shares power to the group of type 2 boards. is connected to. The roughly duplicated first type board group is connected to the third common bus via one of the first and second common buses, and when a failure occurs in at least one of the groups, The other group is connected to a third common bus via the other of the first and second common buses.

(作用) 第1種の基板群のうち第2種の基板群と接続されている
一方の群内のいずかの機能装置に障害が発生すると、第
1および第2の共通バスが切換えて第3の共通バスに接
続されることにより、第1の基板群のうち他方の群全体
が一方の群全体に代えて第2の基板群と接続され、シス
テムダウンが回避される。この場合、障害発生時のバス
の切換え制御手段としては、第1および第2の共通バス
と第3の共通バスとの接続を切換えるだけでよく、非常
に単純で′あり、ハードウェアも簡単で済む。
(Function) When a failure occurs in one of the functional devices in one of the first type board groups connected to the second type board group, the first and second common buses are switched. By being connected to the third common bus, the entire other group of the first boards is connected to the second board group instead of the entire one group, thereby avoiding a system down. In this case, the means for controlling bus switching when a failure occurs is simply switching the connections between the first and second common buses and the third common bus, which is very simple and requires simple hardware. It's over.

また、二重化された電源はそれぞれ、二重化された第1
の基板群の一方の群と、第2の基板群の中の機能装置に
電力を供給できる容量があればよく、二重化された全て
の装置に電力供給を行なう場合に比べて小容量でよい。
In addition, each redundant power supply has a redundant first power supply.
It is sufficient to have the capacity to supply power to one group of the board groups and the functional devices in the second board group, and the capacity is smaller than that required when power is supplied to all the duplicated devices.

(実施例) 第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と、通話
管理、メッセージング、ディレクトリ等の各種アプリケ
ーションを司るアプリケーションCPIJ (Acpu
 )カード12と、これらメインCPUカード11およ
びアプリケーションCPUカード12とライン/トラン
ク(L/T)カード21との間の通信制御や、ソフトに
おける入出力レベル変換等を行なうローカルCPU (
Lcpu )カード13、および時分割タイムスロット
の変換を行なうタイムスイッチ(TSW)カード14等
の共通制御部を構成するカード(カード状の回路装置)
が実装されている。なお、本発明ではこれら共通制御シ
ェルフ1内の各種カード11〜14を総称して共通制御
カードという。また、各共通制御カード11〜14内の
プロセッサは共通バス15に接続された共通メモリ16
を介して相互に通信を行なうことができる。
The common control shelf 1 includes a main CPU (Mcpu) card 11 that handles exchange processing, maintenance, etc., and an application CPIJ (acpu) that handles various applications such as call management, messaging, and directories.
) card 12, the main CPU card 11, application CPU card 12, and line/trunk (L/T) card 21, and a local CPU (
A card (card-shaped circuit device) that constitutes a common control unit such as the Lcpu ) card 13 and the time switch (TSW) card 14 that converts time division time slots.
has been implemented. 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 each common control card 11 to 14 are connected to a common memory 16 connected to a common bus 15.
They can communicate with each other via.

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

次に、第1図の各部について詳細に説明する。Next, each part of FIG. 1 will be explained in detail.

第3図はライン/トランクカード21のうち、特にディ
ジタル電話機31に接続されるライン/トランクカード
の内部構成を示す。第3図においてディジタル電話機用
LS I (DTLS I)32は、ディジタル電話1
131と、ライン/トランクカードおよびこれに接続さ
れる電話機や局線等をコントロールするCPUからなる
ボートコントローラ(PC)33との間の通信制御を行
なうLSIである。また、インターフェースLSI(I
LSI)34はボートコントローラ33と共通制御シェ
ルフ1内のローカルCPL113(第1図)との間の通
信制御を行なうLSIであり、後述するようにスレーブ
・モードで動作するものとする。
FIG. 3 shows the internal configuration of the line/trunk card 21, particularly the line/trunk card connected to the digital telephone 31. As shown in FIG. In FIG. 3, a digital telephone LS I (DTLS I) 32 is a digital telephone 1.
131 and a boat controller (PC) 33 consisting of a CPU that controls line/trunk cards and telephones and office lines connected thereto. In addition, an interface LSI (I
The LSI 34 is an LSI that controls communication between the boat controller 33 and the local CPL 113 (FIG. 1) in the common control shelf 1, and operates in slave mode as described later.

第4図は共通制御シェルフ1内のローカルCPUカード
13の内部構成を示す。第4図において、インターフェ
ースLSI (ILSI)41は第3図におけるインタ
ーフェースLSI34と同一構成であるが、外部からの
モード設定入力を異にしており、後述するようにマスク
・モードで動作する。ローカルメモリ42は〇−カルC
PU(Lcpu)43を動作させるためのプログラムや
データを格納するためのものであり、バッファ45は共
通バス15とローカルCPUカード13内のローカルバ
ス46とを接続したり切離したりするためのものである
ローカルCPU43が共通バス15をアクセスする時は
、デコーダ44が共通メモリ71(後述)に割当てられ
たアドレスを検出したとき、バッファ45をオンにして
共通バス15とローカルバス46とを接続する。なお、
ローカルメモリ42と共通メモリ71は異なるアドレス
が割当てられている。
FIG. 4 shows the internal configuration of the local CPU card 13 within the common control shelf 1. In FIG. 4, an interface LSI (ILSI) 41 has the same configuration as the interface LSI 34 in FIG. 3, but has a different mode setting input from the outside, and operates in a mask mode as described later. Local memory 42 is 〇-Cal C
The buffer 45 is used to store programs and data for operating the PU (Lcpu) 43, and the buffer 45 is used to connect and disconnect the common bus 15 and the local bus 46 in the local CPU card 13. When a certain local CPU 43 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. In addition,
Different addresses are assigned to the local memory 42 and the common memory 71.

第5図は共通制御シェルフ1内のメインCPUカード1
1の内部構成を示す。図に示すようにメインCPUカー
ド11は第4図に示したローカルCPUカード13とほ
ぼ同一構成であり、ローカルメモリ51.メインCPt
J (Mcpu ) 52.デコーダ53.バッフ?5
4およびローカルバス55を有する。但し、メインCP
Uカード11はコントロールハイウェイ3に接続されて
いないためインターフェースLSIは内蔵しない。
Figure 5 shows the main CPU card 1 in the common control shelf 1.
The internal configuration of 1 is shown. As shown in the figure, the main CPU card 11 has almost the same configuration as the local CPU card 13 shown in FIG. 4, and the local memory 51. Main CPt
J (Mcpu) 52. Decoder 53. Buff? 5
4 and a local bus 55. However, the main CP
Since the U 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 also has the same configuration as the main CPU card 11 shown in FIG.

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

第7図は共通制御シェルフ1内の共通メモリカード16
の内部構成であり、共通メモリ71とデコーダ72およ
びバッファ73を有し、共通メモリ71をアクセスする
方法は第6図に示したタイムスイッチカード14におけ
る上述したアクセス方法と同様である。
FIG. 7 shows the common memory card 16 in the common control shelf 1.
It has an internal configuration including 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 access method described above for the time switch card 14 shown in FIG.

次に、第8図を参照して共通制御シェルフ1における共
通制御カード内のプロセッサ、例えば第4図に示したロ
ーカルCPUカード13内のローカルCPU43と、第
3図に示したライン/トランクカード21内のプロセッ
サ(ボートコントローラ33)との間の通信方式につい
て説明する。
Next, referring to FIG. 8, the processors 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. The communication method with the processor (boat controller 33) inside the boat will be explained.

前述したように、こうした異なるシェルフ内のプロセッ
サ間の通信は、割込み制御によりシリアル伝送で行なわ
れる。
As described above, communication between processors in different shelves is performed by serial transmission under interrupt control.

第8図において、コントロールハイウェイ3はデータハ
イウェイ(データ入出力線)、フレーム同期信号伝送線
およびデータハイウェイクロツタの伝送線を有し、PC
Mハイウェイ4はPCMハイウェイクロックの伝送線と
PCMハイウェイフレーム同期信号の伝送線を有する。
In FIG. 8, the control highway 3 has a data highway (data input/output line), a frame synchronization signal transmission line, and a data highway cross transmission line,
The M highway 4 has a transmission line for a PCM highway clock and a transmission line for a PCM highway frame synchronization signal.

ローカルCPUカード13内のクロック発生器47はコ
ントロールハイウェイ3にデータハイウェイクロツタを
送出する。一方、ライン/トランクカード21内の回線
対応部36はC0DECや5LIC等を含む。
A clock generator 47 in the local CPU card 13 sends a data highway clock to the control highway 3. On the other hand, the line corresponding section 36 in the line/trunk card 21 includes a CODEC, 5LIC, and the like.

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

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

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

ボートコントローラ33は割込み要求を受けると、イン
ターフェースLSI34内の受信レジスタから受信デー
タを読出し、そのデータに従ってライン/トランクカー
ド21の制御を行なう。回線対応部36へのデータの送
出に際しては、ボートコントローラ33がインターフェ
ースLSI34内の回線対応部制御部に制御データを書
込んだ後、インターフェースLSI34が回線対応部3
6にその制御データを送出する。
When the boat controller 33 receives an interrupt request, it reads the received data from the reception register in the interface LSI 34 and controls the line/trunk card 21 in accordance with the data. When sending data to the line correspondence section 36, the boat controller 33 writes control data to the line correspondence section control section in the interface LSI 34, and then the interface LSI 34 sends the data to the line correspondence section 3.
The control data is sent to 6.

回線対応部36の状態、またはディジタル電話機31等
の加入者端末等からのデータは、インターフェースLS
I34内の回線対応部制御部のI10レジスタに周期的
に取込まれる。そして、ボートコントローラ33はこの
I10レジスタ内のデータを周期的に読込むことにより
、回線対応部36の状態変化またはローカルCPU43
に対する制御データを、インターフェースLSI34内
の送信レジスタに書込む。この後、インターフェースL
SI34は外部からのタイムスロット指定アドレスによ
り与えられるタイムスロットにおいて、送信レジスタの
内容をコントロールハイウェイ3のデータハイウェイ(
データ出力線)に出力する。
The status of the line support section 36 or data from subscriber terminals such as the digital telephone 31 are transmitted to the interface LS.
It is periodically fetched into the I10 register of the line correspondence section control section in I34. By periodically reading the data in the I10 register, the boat controller 33 detects changes in the state of the line corresponding section 36 or changes the state of the local CPU 43.
control data for is written to the transmission register in the interface LSI 34. After this, interface L
The SI 34 transfers the contents of the transmission register to the data highway (
data output line).

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

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

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

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

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

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

また、ローカルCPU (Lcpu )43.メインC
PU (Mcpu )およびアプリケーションCPU(
Act)u)が、共通バス15上の共通メモリ16を介
して接続されていることにより、1ylcpu −1c
pu、 l cpu −A cpu、M cpu −A
 cpu間の通信を柔軟に行なうことができるため、よ
り高度のサービスを実時間性を保ちながら行なうことが
可能である。
Also, local CPU (Lcpu) 43. Main C
PU (Mcpu) and application CPU (
Act)u) is connected via the common memory 16 on the common bus 15, so that 1ylcpu -1c
pu, l cpu-A cpu, M cpu-A
Since communication between CPUs can be performed flexibly, it is possible to provide more advanced services while maintaining real-time performance.

さらに、シリアル伝送領域とパラレル伝送領域との間に
位置するローカルCPU43によって、第9図に示すよ
うにライン/トランクカード21の処理レベルである物
理レベルから、ローカルCPtJ43の処理レベルであ
る論理レベルへの変換を行なえば、メインCPU52は
入出力を最大抽象化したレベルで扱うことができる。な
お、第9図はうイン/トランクカード21.ローカルC
PU43およびメインCPU52のそれぞれの機能と、
これらプロセッサ相互間の通信データの具体例を示して
いる。このようにするとローカルCPU43が加入者端
末やトランクとの間のコマンドデータ送出コントロール
を行なうことができ、メインCPtJ52がコマンドデ
ータの管理を行なう必要がなくなるため、メインCPU
52の負荷が軽減され、変更、付加等が容易となって拡
張性が向上し、生産性も高まるという利点がある。
Further, as shown in FIG. 9, the local CPU 43 located between the serial transmission area and the parallel transmission area moves 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 CPtJ 43. By performing this conversion, the main CPU 52 can handle input and output at the highest level of abstraction. In addition, Figure 9 crawl-in/trunk card 21. Local C
Each function of PU43 and main CPU52,
A specific example of communication data between these processors is shown. In this way, the local CPU 43 can control command data transmission between subscriber terminals and trunks, and there is no need for the main CPtJ 52 to manage command data.
There are advantages in that the load on the computer 52 is reduced, changes, additions, etc. are facilitated, expandability is improved, and productivity is also increased.

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

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

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

回線対応部制御部105は入力レジスタ106.出力レ
ジスタ107および入出力モードを指定する入出力指定
レジスタ108を有し、回線対応部36(第8図)と接
続される。
The line correspondence unit control unit 105 has an input register 106. It has an output register 107 and an input/output designation register 108 for designating an input/output mode, and is connected to the line correspondence section 36 (FIG. 8).

PCMタイムスロット制御部109はPCMフレーム同
期PCMFSとPCMクロックPCMCLKによりタイ
ムスロットの数をカウントして、ボートコントローラ3
3によりPCMタイムスロット指定レジスタ110に設
定されたPCMタイムスロットアドレスと比較し、これ
らが一致したときにGODECに対してフレーム同期を
与える制御を行なう。
The PCM time slot control unit 109 counts the number of time slots using the PCM frame synchronization PCMFS and the PCM clock PCMCLK, and controls the boat controller 3.
3, the address is compared with the PCM time slot address set in the PCM time slot designation register 110, and when they match, control is performed to provide frame synchronization to the GODEC.

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

なお、ローカルCPU43から同一データを複数のボー
トコントローラ33に伝送する方法としては、■各ボー
トコントローラに通常の発信を順次行ない、同一データ
を伝送する方法と、■上述したようにボートコントロー
ラ33が接続された複数のインターフェースLSI34
を代表するグループアドレスに伝送データを付加して伝
送する方法とが考えられる。■の方法は簡便ではあるが
、各ボートコントローラに対して個別にアドレスと伝送
データを順次伝送しなければならない。これに対し、■
の方法においてはローカルCPU43と複数のボートコ
ントローラ33との間で一度に伝送を行なうことができ
るので、伝送に要する時間が短縮され、ローカルCPt
J43の負荷も軽減される。   − 次に、本実施例における伝送信号フォーマットを第11
図を参照して説明する。同図に示すように、ヘッダ、ア
ドレス、制御データ、情報データにより1フレームを形
成している。アドレスは単一のボートコントローラ33
に個別にデータを伝送する場合の個別アドレスと、複数
のボートコントローラ33に対して同一データを伝送す
る回報アドレスと、全てのボートコントローラ33に対
して同一データを伝送する一斉同報アドレスとに分けら
れる。個別アドレス、同報アドレス、−斉同報アドレス
の区別を表わす情報(識別子という)は、第11図の下
側に示したアドレスフォーマット中の上位(MSB側)
2ビツトが使用される。
Note that there are two methods for transmitting the same data from the local CPU 43 to multiple boat controllers 33: (1) sending normal calls to each boat controller in sequence and transmitting the same data; (2) transmitting the same data to each boat controller in sequence; and (2) transmitting the same data to each boat controller 33 as described above. Multiple interface LSI34
A possible method is to add transmission data to a representative group address and transmit the data. Although method (2) is simple, it requires sequentially transmitting addresses and transmission data to each boat controller individually. On the other hand, ■
In the method described above, transmission can be performed between the local CPU 43 and a plurality of boat controllers 33 at once, so the time required for transmission is shortened, and the local CPU 43
The load on J43 is also reduced. - Next, the transmission signal format in this embodiment is
This will be explained with reference to the figures. As shown in the figure, one frame is formed by a header, address, control data, and information data. Address is a single boat controller 33
The addresses are divided into individual addresses for transmitting data individually to multiple boat controllers 33, broadcast addresses for transmitting the same data to multiple boat controllers 33, and simultaneous broadcast addresses for transmitting the same data to all boat controllers 33. It will be done. Information (referred to as an identifier) indicating the distinction between an individual address, a broadcast address, and a simultaneous broadcast address is the upper part (MSB side) in the address format shown in the lower part of Figure 11.
2 bits are used.

個別アドレスの場合は、このアドレスの区別を示す上位
2ビツトの識別子に続いて、単一のインターフェースL
SIアドレス(ILSIアドレス)が、また同報の場合
は任意に指定されたグループを示すグループアドレスが
それぞれ付加される。
In the case of an individual address, the upper 2-bit identifier indicating the distinction of this address is followed by a single interface L.
An SI address (ILSI address) is added, and in the case of broadcasting, a group address indicating an arbitrarily designated group is added.

今、第12図に示すように単一のグループアドレス(#
A)が複数めインターフェースLSIのアドレス情報を
代表しているものとすると、ローカルCPLJ43から
複数のボートコントローラ33に接続されたインターフ
ェースLSI34に対して同一データを伝送する場合に
は、第11図に示したようにアドレスフォーマット中の
上位2ビツトに識別子“10゛°を設定し、引続き#1
〜#nの代表アドレスとして#Aを付加すればよい。
Now, a single group address (#
Assuming that A) represents the address information of the plurality of interface LSIs, when transmitting the same data from the local CPLJ 43 to the interface LSIs 34 connected to a plurality of boat controllers 33, the address information shown in FIG. As shown above, set the identifier “10°” in the upper 2 bits of the address format, and continue with #1.
#A may be added as a representative address of ~#n.

これによりローカルCPU43からのデータは、−回の
発信操作により複数のボートコントローラ33に接続さ
れたインターフェースLSI34に送られることになる
As a result, data from the local CPU 43 is sent to the interface LSI 34 connected to the plurality of boat controllers 33 by - times of transmission operations.

こうしてローカルCPLJ43からのデータが送られた
インターフェースLSI34においては、データハイウ
ェイを介して受信したデータからグループアドレスを抽
出し、予め登録されているグループアドレスと比較する
。この比較の結果、両アドレスが一致したときに伝送デ
ータ中の情報データを受信する。なお、第12図におい
てはグループアドレス#A、#Bは、そのインターフェ
ースLSI34が設けられたうイン/トランクカード2
1が標準電話機(STT)に接続されたカードであるこ
とを示している。このライン/トランクカードはローカ
ルCPU43からの伝送データを受信できるが、他のラ
イン/トランクカードは同じデータを受信できない。
The interface LSI 34 to which the data from the local CPLJ 43 has been sent in this way extracts a group address from the data received via the data highway and compares it with a 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 addition, in FIG. 12, group addresses #A and #B correspond to the in/trunk card 2 in which the interface LSI 34 is installed.
1 indicates a card connected to a standard telephone (STT). This line/trunk card can receive transmitted data from local CPU 43, but other line/trunk cards cannot receive the same data.

第13因は上述した処理を行なうためのライン/トラン
ク21内に設けられるアドレス処理回路の構成を示した
ものであり、受信したアドレスの上位2ビツト(li別
子)はセレクタ131のE、−8端子(制御入力端子)
に供給される。セレクタ131のA、B端子(データ入
力端子)にはライン/トランク21内のメモリ132に
記憶されているグループアドレスと個々のインターフェ
ースLSI34に割当てられたLSIアドレスがそれぞ
れ供給される。セレクタ131からは(E、S)−(0
,O)のときLSIアドレスが、また(E。
The thirteenth factor shows the configuration of the address processing circuit provided in the line/trunk 21 for performing the above-mentioned processing, and the upper two bits (li identifier) of the received address are E, - of the selector 131. 8 terminals (control input terminals)
supplied to The A and B terminals (data input terminals) of the selector 131 are supplied with the group address stored in the memory 132 in the line/trunk 21 and the LSI address assigned to the individual interface LSI 34, respectively. From the selector 131, (E, S)-(0
, O), the LSI address is also (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に対応する個別
アドレス(LS Iアドレス)である場合と、受信した
インターフェースLSIを含む同報アドレス(グループ
アドレス)である場合と、−斉同報アドレスである場合
に、アドレスに続く情報データを受信せよとの要求が発
せられる。
When S)=(1,0), each group address is output and supplied to the first input terminal of the comparator 133. Address information following the upper two bits of the received address is supplied to the second input terminal of the comparator 133, and when the values at the first and second input terminals match, the output of the comparator 133 becomes "1". On the other hand, the information on the upper two bits of the received address is further input to the two-person gate 134, and it is determined whether the upper two bits are "11", that is, whether the received address is a broadcast address. The output of the AND gate 134 and the output of the comparator 133 are input to a two-man OR gate 135. The “1” output of the OR gate 135 becomes a reception request to the port controller 33. That is, when the receiving address is an individual address (LSI address) corresponding to the received interface LSI, when it is a broadcast address (group address) including the received interface LSI, and when it is a -broadcast address. A request is issued to receive the information data following the address.

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

次に、本実施例における二重化方式について説明する。Next, the duplication method in this embodiment will be explained.

この二重化は共通制御シェルフ1に適用される。第14
図は共通制御シェルフ1内の二重化構造を説明するため
の図であり、(a)は正面図、(b)は背面図である。
This duplication is applied to the common control shelf 1. 14th
The figures are diagrams for explaining the duplex structure within the common control shelf 1, with (a) being a front view and (b) being a rear view.

第14図の(a)と(b)とでは左右が逆になっている
The left and right sides of FIG. 14 (a) and (b) are reversed.

第14図に示すように、共通制御シェルフ1内に設けら
れた各種の機能装置のうち、障害発生が電子交換機のシ
ステムダウンに直接関与するメインCPU (Mcpu
 ) 、 O−カルCPU (Lcpu ) 。
As shown in FIG. 14, among the various functional devices provided in the common control shelf 1, the main CPU (Mcpu
), O-cal CPU (Lcpu).

共通メモリおよびタイムスイッチ(TSW)が実装され
た第1種の基板群は141,142で示す如く二重化さ
れ、シェルフ1内の左右に配置されている。
The first type of board group on which the common memory and time switch (TSW) are mounted is duplicated as shown at 141 and 142 and placed on the left and right sides of the shelf 1.

また、障害が発生してもシステムダウンに直接関与しな
いアプリケーションCPU (ACpu )が実装され
た第2種の基板群143は二重化されず、シェルフ1内
の中央部に配置されている。そして、これらの機能装置
に電力を供給する電源も144゜145で示す如く二重
化され、シェルフ1内の左右両端に配置されている。
Further, the second type board group 143 on which application CPUs (ACpu) which are not directly involved in system down even if a failure occurs is mounted is not duplicated and is placed in the center of the shelf 1. The power supplies for supplying power to these functional devices are also duplicated as shown at 144 and 145, and are placed at both left and right ends of the shelf 1.

第1種の基板群141,142は第1および第2の共通
バス151,152にそれぞれ接続され、第2種の基板
群143は第3の共通バス153に接続されている。
The first type of substrate groups 141 and 142 are connected to first and second common buses 151 and 152, respectively, and the second type of substrate group 143 is connected to a third common bus 153.

これらの共通バス141〜143と電源線156,15
7およびアース線158は、シェルフ1のマザーボード
にパターン化されている。
These common buses 141 to 143 and power lines 156 and 15
7 and ground wire 158 are patterned on the motherboard of shelf 1.

第1および第2の共通バス151,152と第3の共゛
通バス153との間には、バス切換え用のスイッチ群1
54,155が挿入されている。第15図はスイッチ群
154の詳細を示したもので、逆並列接続された2個の
方向性を持つゲートG1.G2を単位スイッチとして構
成され、スイッチコントロール線81.82により制御
される。ゲートQ1.Q2は対応するスイッチコントロ
ール線81.32が“H”レベルになったときオンとな
る。従って、例えば81 = ”H” 、82−“L 
IIとすれば、信号は共通バス153から共通バス15
1側へのみ伝達される。
Between the first and second common buses 151, 152 and the third common bus 153, there is a switch group 1 for bus switching.
54,155 is inserted. FIG. 15 shows details of the switch group 154, in which two directional gates G1. It is constructed using G2 as a unit switch and is controlled by switch control lines 81 and 82. Gate Q1. Q2 is turned on when the corresponding switch control line 81.32 becomes "H" level. Therefore, for example, 81 = "H", 82 - "L"
II, the signal is transferred from the common bus 153 to the common bus 15.
It is transmitted only to one side.

ゲートG1.G2はオフのとき出力がオーブンとなる。Gate G1. When G2 is off, the output is oven.

スイッチ群155についても同様に構成されているもの
とする。
It is assumed that the switch group 155 is configured similarly.

第1種の基板群141,142のうちの一方141が動
作状態にあるときは、スイッチ群154に接続されたス
イッチコントロール線S1.S2が必要に応じて“H″
または“L”レベルに設定され、第1の共通バス151
と第3の共通バス153とが接続される。そのとき、ス
イッチ群155に接続されたスイッチコントロール線は
全て“L IIレベルである。
When one of the first type board groups 141 and 142 is in an operating state, the switch control line S1. S2 becomes “H” as necessary
or set to “L” level, and the first common bus 151
and a third common bus 153 are connected. At this time, all switch control lines connected to the switch group 155 are at the "L II level."

逆に第1種の基板群141,142のうちの他方142
が動作状態にあるときは、スイッチ群155に接続され
たスイッチコントロール線S1,82がR/W(リード
/ライト)信号、チップセレクト信号等により適宜“H
″または“L IIレベルに設定され、第2の共通バス
152と第3の共通バス153とが接続され、そのとき
スイッチ群154に接続されたスイッチコントロール線
は全て°゛L”レベルとなる。
Conversely, the other one 142 of the first type substrate group 141, 142
is in the operating state, the switch control lines S1 and 82 connected to the switch group 155 are appropriately set to "H" by the R/W (read/write) signal, chip select signal, etc.
'' or ``L II level, and the second common bus 152 and third common bus 153 are connected, and at that time, all the switch control lines connected to the switch group 154 are at the ``L'' level.

このように第1および第2の共通バス151,152は
選択的に第3の共通バス153と接続され、それによっ
て第1の基板群141,142と第2の基板群143と
が選択的に接続される。
In this way, the first and second common buses 151, 152 are selectively connected to the third common bus 153, thereby selectively connecting the first board group 141, 142 and the second board group 143. Connected.

今、第1の共通バス151がスイッチ群154を介して
第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 common bus 153 via the switch group 154, and the first board group 141
, 142 is in an operating state, if a fault occurs in any of the functional devices on this board group 141, this fault is detected as follows, and the fault is detected based on it. The switch group 154 is all turned off, the second common bus 152 is connected to the third common bus 153, and the board group 142 becomes operational instead of the board group 142 to deal with the occurrence of a failure.

メインCPU52の障害検出手段としては、第16図に
示すようにウォッチドッグタイマ161を用いればよい
。ウォッチドッグタイマ161はカウンタ162と、カ
ウンタ162にクロックを供給するクロック発生器16
3とで構成され、カウンタ162はメインCPLI52
が実行するプログラムによっである一定時間毎にクリア
される。例えばクロック周期を10fllSeCとして
、カウンタ162がクロックを10個連続してカウント
したときMcpu障害発生通知線164を“′H″レベ
ルにして障害発生を通知するものとする。プログラムが
暴走する等の障害が発生した場合は、10m5ecx 
10= 100m5ec以内にカウンタ162のクリア
信号を発生できないので、カウンタ162により障害発
生が検出され、その検出結果がMCI)tl障害通知1
164に出されることになる。なお、0−カルCPLJ
43の障害発生の検出も、同様にウォッチドッグタイマ
を用いて行なうことができる。
As a failure detection means for 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 16 that supplies a clock to the counter 162.
3, and the counter 162 is the main CPLI 52.
It is cleared at regular intervals by the program executed by the program. For example, assume that the clock period is 10flSeC, and when the counter 162 counts 10 consecutive clocks, the McPU fault occurrence notification line 164 is set to the "'H" level to notify the occurrence of a fault. If a problem occurs such as the program running out of control, 10m5ecx
10 = Since a clear signal for the counter 162 cannot be generated within 100m5ec, the occurrence of a fault is detected by the counter 162, and the detection result is MCI)tl fault notification 1
It will be released on 164th. In addition, 0-CalCPLJ
Detection of the occurrence of a failure in No. 43 can be similarly performed using a watchdog timer.

一方、タイムスイッチ(TSW)の障害検出は、メイン
CPU52で使用してしないタイムスロットを選択して
、そのタイムスロットでテストパターンをPCMハイウ
ェイ4へ送出し、PCMハイウェイ4を介して折返され
てきたテストパターンと送出したテストパターンとを比
較することによって行なうことができる。すなわち、両
テストパターンが一致すれば正常、不一致であれば異常
と判定される。このとき、PCMハイウェイ4でのテス
トパターンの折返ルは、第17図に示すようにタイムス
イッチカード14にループ用スイッチ170を設け、こ
れをメインCPLJ52からの命令によりテストパター
ン送出時のタイムスロットでのみ閉じてループを形成す
るようにすればよい。
On the other hand, time switch (TSW) failure detection is performed by selecting an unused time slot in the main CPU 52, sending a test pattern to the PCM highway 4 in that time slot, and returning the test pattern via the PCM highway 4. This can be done by comparing the test pattern with the sent test pattern. 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 looping of the test pattern on the PCM highway 4 is performed by providing a looping switch 170 on the time switch card 14 as shown in FIG. It is only necessary to close only one loop to form a loop.

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

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

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

一方、二重化された電源144.145は電源線156
゜157をそれぞれ介して第1の基板群141,142
のそれぞれに接続されるとともに、ダイオード159゜
160をそれぞれ介して二重化された第2の基板群14
3に接続されており、二重化された第1の基板群141
,142のいずれか一方の群内の機能装置にそれぞれ電
力を供給するとともに、二重化されていない第2の基板
群143内の機能装置に対してはロードシェアの形で分
担して電力を供給する。従って、二重化された電源の各
々が二重化された機能装置および二重化されない機能装
置の全てに電力を供給する従来技術に比較して、電力容
量が小さくて済む。なお、電源線156,157を第2
の基板群143に直接接続すると、電源151,152
間で電位の高い方から低い方へと電流が流れてしまう。
On the other hand, the redundant power supply 144.145 is connected to the power supply line 156.
The first substrate group 141, 142 is connected to the first substrate group 141, 142 through
A second board group 14 which is connected to each of
3, and the redundant first board group 141
. . Therefore, compared to the prior art in which each of the duplicated power supplies supplies power to all of the duplicated functional devices and non-duplicated functional devices, the power capacity can be reduced. Note that the power lines 156 and 157 are
When connected directly to the board group 143, the power supplies 151, 152
Current flows from the side with higher potential to the side with lower potential.

ダイオード159,160はこのような逆流現象を防止
するためのものである。
The diodes 159 and 160 are for preventing such a backflow phenomenon.

[発明の効果] 本発明による電子交換機の二重化方式は、簡単なハード
ウェアによって障害発生に対処することが可能であり、
同時に二重化された電源のそれぞれの容量が最小限で済
むという利点があり、交換機の小型化および低価格化に
寄与することができる。
[Effects of the Invention] The redundant system for electronic exchanges according to the present invention can deal with the occurrence of failures using simple hardware.
At the same time, there is an advantage that the capacity of each of the duplicated power supplies can be kept to a minimum, and this can contribute to downsizing and lowering the cost of switching equipment.

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

第1図は本発明の一実施例に係る電子交換礪の概略構成
を示す図、第2図は同電子交換機のシェルフ積層構造を
示す図、第3図は同実施例におけるライン/トランクカ
ードの内部構成を示す図、第4図は同実施例における〇
−カルCPtJカードの内部構成を示す図、第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・・・ローカルCPLI、52・・・メイ
ンCPLI、71・・・共通メモリ、141,142・
・・第1の基板群、143・・・第2の基板群、144
,145・・・N源、151〜153・・・第1〜第3
の共通バス、154,155・・・バス切換え用スイッ
チ群、159,160・・・逆流防止用ダイオード、1
61・・・ウォッチドッグタイマ。 出願人代理人 弁理士 鈴江武彦 j Q ヤr 〆
FIG. 1 is a diagram showing a schematic configuration of an electronic exchange according to an embodiment of the present invention, FIG. 2 is a diagram showing a stacked shelf structure of the electronic exchange, and FIG. 3 is a diagram showing a line/trunk card in the same embodiment. Figure 4 is a diagram showing the internal configuration of the 〇-Cal CPtJ card in the same embodiment, Figure 5 is a diagram showing the internal configuration of the main CPU card in the same embodiment, and Figure 6 is a diagram showing the internal configuration of the main CPU card in the same embodiment. FIG. 7 is a diagram showing the internal configuration of the time switch card in the example, FIG. 7 is a diagram showing the internal configuration of the common memory card in the example, and FIG. 8 is a diagram showing the local CPU card and line /
Diagram for explaining the communication method in the trunk card, No. 9
The figure shows a specific example of the distribution of functions between the line/trunk card, the local CPU, and the main CPU, and the communication data between them. Figure 13 shows a transmission signal format for explaining the data transmission method from the local CPU to the port controller in the line/trunk card in the embodiment; the 12th factor is a conceptual diagram for explaining the data transmission method; 14(a) and 14(b) are diagrams showing the configuration of the address receiving circuit in the line/trunk card used to implement the same data transmission method, and FIGS. 15 is a diagram showing details of the bus switching switch group in FIG. 14, and FIGS. 16 to 18 are fault detection accompanying the duplex system. A diagram to explain the means,
FIGS. 19 and 20 are diagrams for explaining the conventional duplex system. 1...Common control shelf, 2a-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...Boat controller, 34.41...・Interface LSI, 43... Local CPLI, 52... Main CPLI, 71... Common memory, 141, 142.
...First board group, 143...Second board group, 144
, 145...N source, 151-153...first to third
common bus, 154, 155... bus switching switch group, 159, 160... backflow prevention diode, 1
61...Watchdog timer. Applicant's agent Patent attorney Takehiko Suzue

Claims (3)

【特許請求の範囲】[Claims] (1)機能装置が設けられた複数個の基板および該基板
に電力を供給する電源を実装したシェルフを有する電子
交換機において、 前記基板のうち障害発生時に電子交換機のシステムダウ
ンに直接関与する機能装置が設けられた第1種の基板群
は二重化されるとともに、その二重化された各群がそれ
ぞれ第1および第2の共通バスに接続され、 障害が発生しても電子交換機のシステムダウンに直接関
与しない機能装置が設けられた第2種の基板群は二重化
されず、第1および第2の共通バスのいずれかが選択的
に接続される第3の共通バスに接続され、 前記電源は二重化されるとともにその各電源は二重化さ
れた第1種の基板群に対しては個別に電力供給を行ない
、第2種の基板群に対しては分担して電力供給を行なう
ように結線され、 さらに二重化された第1種の基板群は第1および第2の
共通バスの一方を介して第3の共通バスに接続されてい
る一方の群内の少なくとも一つに障害が発生したとき、
他方の群が第1および第2の共通バスの他方を介して第
3の共通バスに接続されることを特徴とする電子交換機
の二重化方式。
(1) In an electronic exchange having a shelf equipped with a plurality of circuit boards provided with functional devices and a power source for supplying power to the circuit boards, a functional device that is directly involved in system down of the electronic exchange when a failure occurs among the circuit boards. The first type of board group equipped with is duplicated, and each of the duplicated groups is connected to the first and second common buses, so that even if a failure occurs, it will not be directly involved in the system down of the electronic exchange. The second type of board group provided with functional devices that do not have the same function is not duplexed and is connected to a third common bus to which either the first or second common bus is selectively connected, and the power supply is duplexed. At the same time, each power supply is wired in such a way that it individually supplies power to the redundant type 1 board group, and shares the power supply to the second type board group, and further redundancy occurs. When a failure occurs in at least one of the first type board groups connected to the third common bus via one of the first and second common buses,
A duplex system for electronic exchanges, characterized in that the other group is connected to a third common bus via the other of the first and second common buses.
(2)第1の基板群は障害発生時に電子交換機のシステ
ムダウンに直接関与する機能装置として、交換処理を司
るプロセッサ、メモリおよび時分割タイムスロットの変
換のためのタイムスイッチが設けられたものであり、第
2の基板群は障害が発生しても電子交換機のシステムダ
ウンに直接関与しない機能装置として、通話管理等のア
プリケーションサービスを司るプロセッサが設けられた
ものであることを特徴とする特許請求の範囲第1項記載
の電子交換機の二重化方式。
(2) The first board group is a functional device that is directly involved in system down of the electronic exchange when a failure occurs, and is equipped with a processor that controls exchange processing, memory, and a time switch for converting time division time slots. A patent claim characterized in that the second board group is provided with a processor that manages application services such as call management as a functional device that does not directly contribute to system down of the electronic exchange even if a failure occurs. A redundant system for electronic exchanges as described in item 1.
(3)電源は第1の基板群のいずれか一つの群と、第2
の基板群とに同時に電力を供給できる容量を有するもの
であることを特徴とする特許請求の範囲第1項記載の電
子交換機の二重化方式。
(3) The power supply is connected to one of the first substrate groups and the second substrate group.
2. A redundant system for an electronic exchange according to claim 1, characterized in that the system has a capacity to simultaneously supply power to a group of boards.
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
JP60-193396 1985-09-02
JP19339685 1985-09-02

Publications (2)

Publication Number Publication Date
JPS62149245A true JPS62149245A (en) 1987-07-03
JPH0834510B2 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)

Cited By (1)

* 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

Citations (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

Patent Citations (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

Cited By (1)

* 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

Also Published As

Publication number Publication date
JPH0834510B2 (en) 1996-03-29

Similar Documents

Publication Publication Date Title
US6233635B1 (en) Diagnostic/control system using a multi-level I2C bus
US4442502A (en) Digital information switching system
EP0333593B1 (en) A data processing system capable of fault diagnosis
US6985482B2 (en) Cross-bar switch system with redundancy
JPS59106056A (en) Failsafe type data processing system
EP1890439B1 (en) Data processing management apparatus, mode management apparatus and mode management method
US4710952A (en) Distributed control type electronic switching system
JPH0154920B2 (en)
JPS62149245A (en) Duplex system for electronic exchange
EP0067519B1 (en) Telecommunications system
JPH10262272A (en) Simple interface for time division multiplex communication medium
JP3194923B2 (en) Electronic exchange
JP3194922B2 (en) Electronic exchange
JPH03238539A (en) Memory access controller
JPH1051514A (en) Interface device
JP3194924B2 (en) Electronic exchange
CN115086579B (en) Video matrix redundancy backup method and device, terminal equipment and storage medium
US7353418B2 (en) Method and apparatus for updating serial devices
JP2857212B2 (en) Configuration control method of multiprocessor system
JPS638500B2 (en)
US7289615B2 (en) Private branch exchange and private branch exchange control method
JPS61118847A (en) Simultaneous access control system of memory
KR100465300B1 (en) Device for interface control of Peripheral Processor
EP0400930A2 (en) Realtime redundant operating system
JPS63165948A (en) Interface system for common memory

Legal Events

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