JPH0787436B2 - Time slot switching control method - Google Patents

Time slot switching control method

Info

Publication number
JPH0787436B2
JPH0787436B2 JP20900091A JP20900091A JPH0787436B2 JP H0787436 B2 JPH0787436 B2 JP H0787436B2 JP 20900091 A JP20900091 A JP 20900091A JP 20900091 A JP20900091 A JP 20900091A JP H0787436 B2 JPH0787436 B2 JP H0787436B2
Authority
JP
Japan
Prior art keywords
time slot
line
control
allocation
circuit
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
JP20900091A
Other languages
Japanese (ja)
Other versions
JPH0548557A (en
Inventor
竜生 菱田
芳雅 末続
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP20900091A priority Critical patent/JPH0787436B2/en
Priority to EP92301858A priority patent/EP0507452B1/en
Priority to DE69229297T priority patent/DE69229297T2/en
Priority to US07/846,903 priority patent/US5303230A/en
Publication of JPH0548557A publication Critical patent/JPH0548557A/en
Publication of JPH0787436B2 publication Critical patent/JPH0787436B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ISDN等の時分割多
重データ通信システムにおいて、システムの信頼性を向
上するために通信制御装置が二重回路化されている場
合、各回路のタイムスロットの使用について排他制御を
高速で行うタイムスロット切り替え制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time-division multiplex data communication system such as ISDN, in which a time slot of each circuit is provided when a communication control device has a dual circuit in order to improve system reliability. Regarding usage, the present invention relates to a time slot switching control method for performing exclusive control at high speed.

【0002】[0002]

【従来の技術】近年のコンピュータネットワークの増大
にともない、高速かつ大量のデータ転送および、データ
転送の高信頼性が要求されている。このため、ISDN
等の時分割多重データ通信システムを使用することによ
って高速かつ大量のデータ転送を実現し、通信制御装置
を多重化することによってシステムの高信頼性を提供す
ることが考えられる。
2. Description of the Related Art With the recent increase in computer networks, high-speed and large-volume data transfer and high reliability of data transfer are required. Therefore, ISDN
It is conceivable to realize high-speed and large-volume data transfer by using a time-division multiplex data communication system, etc., and to provide high reliability of the system by multiplexing communication control devices.

【0003】通信制御装置を多重化する場合、複数の通
信制御部が同一データを扱わなくてはならないのでデー
タおよび通信制御の一貫性を保持することが重要とな
る。図15は、従来の二重化通信制御装置の構成を示
す。図15において、通信制御装置は、二重化バスを介
して計算機と接続されている。
When multiplexing communication control devices, it is important to maintain consistency of data and communication control because a plurality of communication control units must handle the same data. FIG. 15 shows the configuration of a conventional duplex communication control device. In FIG. 15, the communication control device is connected to a computer via a redundant bus.

【0004】二重化バスは、#0Bおよび#1Bの2つ
のバスからなる。通信制御装置は、二重回路化されてお
り、バス#0Bに接続された#0系回路と、バス#1B
に接続された#1系回路からなる。#0系、#1系のい
ずれの回路も、マイクロプロセッサ1、タイムスロット
制御部2、N個の回線制御部3を有する。
The duplex bus consists of two buses # 0B and # 1B. The communication control device has a dual circuit and includes a # 0 system circuit connected to the bus # 0B and a bus # 1B.
# 1 system circuit connected to. Each of the circuits of the # 0 system and the # 1 system has a microprocessor 1, a time slot control unit 2, and N line control units 3.

【0005】各系の回路において、マイクロプロセッサ
1は、通信制御プログラムを実行し、N回線(チャネ
ル)データをN個1組の回線制御部3へ送ると共にタイ
ムスロット制御部2に対して、回線のタイムスロットへ
の割り当てを指示する回線割り当て命令を送りタイムス
ロット制御を行わせる。回線制御部3は、ISDN回線
の手順制御を行い、各回線のデータをタイムスロット制
御部2へ出力する。
In the circuit of each system, the microprocessor 1 executes a communication control program, sends N line (channel) data to a set of N line control units 3 and sends a time slot control unit 2 a line. A time-slot control is performed by sending a line allocation command instructing the allocation of the time slot to the time slot. The line control unit 3 controls the procedure of the ISDN line and outputs the data of each line to the time slot control unit 2.

【0006】タイムスロット制御部2は、各回線制御部
3からのチャネルデータを入力し、マイクロプロセッサ
1からの回線割り当て命令に従って、タイムスロットと
回線アドレスを対応付ける。
The time slot control unit 2 inputs the channel data from each line control unit 3 and associates the time slot with the line address in accordance with the line allocation instruction from the microprocessor 1.

【0007】図16はチャネルデ−タの構成を示す。デ
ータの送受信の最小単位はタイムスロット(TS)であ
る。各タイムスロットは8ビットのデータを含む。n個
のタイムスロットで1フレームが形成される。このデー
タ構成により物理的に一本の伝送路を通じて最大n回線
(チャネル)分のデータを伝送することができる。
FIG. 16 shows the structure of channel data. The minimum unit of data transmission / reception is a time slot (TS). Each time slot contains 8 bits of data. One frame is formed by n time slots. With this data structure, it is possible to physically transmit data for up to n lines (channels) through one transmission path.

【0008】データを送受信するには、例えば、TS1
にはチャネル1、TS2にはチャネル2というように対
応付けてチャネルをタイムスロットに割り当てる。チャ
ネルのデータを送信するときには、対応するタイムスロ
ットの時に伝送路上に乗せ、受信する時には、対応する
タイムスロットの時に伝送路から抽出する。
To send and receive data, for example, TS1
Are assigned to time slots and channel 2 is assigned to TS2, and channels are assigned to time slots. When the channel data is transmitted, it is placed on the transmission line at the corresponding time slot, and when it is received, it is extracted from the transmission line at the corresponding time slot.

【0009】また、必要によっては、一つのチャネルを
複数のタイムスロットに割り当てて送受信することによ
り伝送速度を上げることができる。例えば、一つのチャ
ネルに二つのタイムスロットを使えば一つの場合の二倍
の伝送速度で送受信することができる。
If necessary, one channel can be assigned to a plurality of time slots for transmission / reception to increase the transmission rate. For example, if two time slots are used for one channel, transmission / reception can be performed at twice the transmission rate as in one case.

【0010】図15に戻って、#0系および#1系のタ
イムスロット制御部2はいずれもフレーム制御部4に接
続されている。フレーム制御部4は、タイムスロット制
御部2からのフレーム信号に対しフレーム同期信号の付
与等を行いISDN網へ出力する。
Returning to FIG. 15, the time slot control units 2 of the # 0 system and the # 1 system are both connected to the frame control unit 4. The frame control unit 4 adds a frame synchronization signal to the frame signal from the time slot control unit 2 and outputs it to the ISDN network.

【0011】以前の通信制御装置においては、マイクロ
プロセッサ1を1台しか具備しておらず、従って、タイ
ムスロットの切り替えはこの1台マイクロプロセッサ1
上にある通信制御プログラムが行っていたため、このマ
イクロプロセッサ1に障害が起きた場合や、マイクロプ
ロセッサ1上の通信制御プログラムに障害が起きた場
合、この通信制御装置の信頼性は損なわれてしまうもの
となっていた。
In the previous communication control device, only one microprocessor 1 was provided. Therefore, the switching of the time slot is performed by this one microprocessor 1.
Since the communication control program above has performed, if the microprocessor 1 fails, or if the communication control program on the microprocessor 1 fails, the reliability of this communication control device is impaired. It was a thing.

【0012】従って、マイクロプロセッサ1やこのマイ
クロプロセッサ1上の通信制御プログラムに障害が起き
ても動作し続けるようにマイクロプロセッサ1を2個具
備することにより、システムの信頼性の向上をはかった
ものである。
Therefore, the system reliability is improved by providing two microprocessors 1 so as to continue operating even if a failure occurs in the microprocessor 1 or the communication control program on the microprocessor 1. Is.

【0013】[0013]

【発明が解決しようとする課題】システムの信頼性を向
上するために二重化された通信制御装置においては、各
マイクロプロセッサ1が、通信制御プログラムによって
タイムスロットの排他制御を行う手法が考えられる。
In the duplicated communication control device for improving the reliability of the system, it is conceivable that each microprocessor 1 performs exclusive control of time slots by a communication control program.

【0014】すなわち、2つのマイクロプロセッサ1
は、常に現在どのタイムスロットが使用されているかを
監視し合うと共に、この監視情報を基に、同じタイムス
ロットが同時に2つのマイクロプロセッサ1から使用さ
れないように、タイムスロットの割り当てや切り替えを
制御しなければならない。
That is, two microprocessors 1
Always monitors which time slot is currently being used and controls the allocation and switching of time slots based on this monitoring information so that the same time slot is not used by two microprocessors 1 at the same time. There must be.

【0015】このような通信制御プログラムによるタイ
ムスロット制御方式は、ソフトウェア(通信制御プログ
ラム)のエラー、例えば、バグによって障害が発生し、
ハードウェアの誤動作、この場合には、タイムスロット
を二重に割り当ててしまう場合があり、信頼性を損なう
という問題が生じていた。
In the time slot control method using such a communication control program, a failure occurs due to an error of software (communication control program), for example, a bug,
Malfunction of hardware, in this case, timeslots may be doubly assigned, causing a problem of impairing reliability.

【0016】本発明は、マイクロプロセッサ1上の通信
制御プログラムがタイムスロットの排他制御を行なうの
でなく、より高速で高信頼なデジタル通信に対応する通
信制御装置を提供することを目的とする。
It is an object of the present invention to provide a communication control device for high-speed and highly reliable digital communication, in which the communication control program on the microprocessor 1 does not exclusively control the time slots.

【0017】[0017]

【課題を解決するための手段】本発明によるタイムスロ
ット切り替え制御方式は、時分割多重通信システムの通
信制御装置において、それぞれ、通信制御プログラムを
実行する二つのプロセッサと、二つのプロセッサの各々
から、それぞれ回線データを入力し、回線制御を行う二
組の回線制御部と、二組の回線制御部の各組から、それ
ぞれデータを入力し、タイムスロットと回線アドレスの
対応付けを行うと共に、現在の対応付けの状態を記憶す
る二つのタイムスロット制御部と、二つのプロセッサの
各々から、対応するタイムスロット制御部に対して、回
線をタイムスロットに割り当てるように指示する回線割
り当て命令を送る手段と、二つのタイムスロット制御部
の各々から対応するプロセッサに対して、回線のタイム
スロットへの割り当てを取り止めたことを通知する通知
信号を送る手段と、二つのタイムスロット制御部の一方
から他方に対して、回線のタイムスロットへの割り当て
を禁止する排他制御信号を送る手段とを具備して構成さ
れる。
A time slot switching control system according to the present invention, in a communication control device of a time division multiplex communication system, comprises two processors for executing a communication control program, and two processors for executing the communication control program. Inputs data from each of the two sets of line control units and two sets of line control units that input line data and control the line, respectively, and associate the time slot with the line address. Two time slot control units that store the state of association, means for sending a line assignment command from each of the two processors to the corresponding time slot control unit, instructing to assign a line to a time slot, From each of the two time slot control units, the corresponding processor is allocated to the time slot of the line. Means for sending a notification signal notifying that the time slot has been canceled, and means for sending an exclusive control signal for prohibiting the allocation of the time slot of the line from one of the two time slot control units to the other. Composed.

【0018】また、上記タイムスロット切り替え制御方
式は、二つのタイムスロット制御部に優先順位を付与す
る手段を備え、回線割り当て命令が、二つのタイムスロ
ット制御部に対して、同じタイムスロットに同時に回線
アドレスを指示した場合、優先順位の高いタイムスロッ
ト制御部は、回線をタイムスロットに割り当て、他方の
タイムスロット制御部は、プロセッサに対して割り当て
ることができなかった回線アドレスを通知するようにそ
れぞれ制御するように構成される。
Further, the time slot switching control system includes means for giving priority to the two time slot control units, and the line allocation command instructs the two time slot control units to connect to the same time slot at the same time. When an address is specified, the higher priority time slot control unit assigns a line to a time slot, and the other time slot control unit controls the processor to notify each line address that could not be assigned. To be configured.

【0019】[0019]

【作用】上記構成により、各タイムスロット制御部は、
対応するプロセッサからの回線割り当て命令によって指
示されたタイムスロットが現在使用されていない場合、
そのタイムスロットに回線を割り当てると共に、他方の
タイムスロット制御部に対して排他制御信号を送ること
によって、そのタイムスロットの使用を禁止する。
With the above configuration, each time slot control section
If the timeslot indicated by the line allocation instruction from the corresponding processor is not currently in use,
The use of the time slot is prohibited by assigning a line to the time slot and sending an exclusive control signal to the other time slot control unit.

【0020】排他制御信号を受信したタイムスロット制
御部は、もし、そのタイムスロットを使用していたらそ
のタイムスロットと回線アドレスの対応づけを取りや
め、プロセッサに対して取りやめられた回線のアドレス
を通知する。
The time slot control unit which has received the exclusive control signal cancels the correspondence between the time slot and the line address if the time slot is used and notifies the processor of the canceled line address. .

【0021】各タイムスロット制御部は、対応するプロ
セッサからの回線割り当て命令によって指示されたタイ
ムスロットが現在使用中のときは、そのタイムスロット
の使用を新たに指示された回線に切り替えると共に、割
り当てを解除された回線のアドレスを対応するプロセッ
サへ通知する。また、二つのタイムスロット制御部は、
優先順位をつけられる。
When the time slot designated by the line allocation instruction from the corresponding processor is currently in use, each time slot control unit switches the use of the time slot to the newly designated line and allocates the time slot. The address of the released line is notified to the corresponding processor. Also, the two time slot control units are
Can be prioritized.

【0022】回線割り当て命令が、二つのタイムスロッ
ト制御部に対して、同じタイムスロットに同時に回線ア
ドレスを指示した場合、優先順位の高いタイムスロット
制御部は、回線をタイムスロットに割り当て、他方のタ
イムスロット制御部は、プロセッサに対して、割り当て
ることができなかった回線アドレスを通知するようにそ
れぞれ制御する。
When the line allocation command instructs the two time slot control units to simultaneously specify the line address in the same time slot, the time slot control unit with the higher priority allocates the line to the time slot and the other time slot is controlled. The slot controller controls the processors so as to notify the line addresses that could not be assigned.

【0023】上述のように、タイムスロットの排他制御
は、ハードウェアでもチェックされるため、たとえ、ソ
フトウェアに障害が発生し、タイムスロットを二重に割
り当てようとしても、この障害を検出することができ
る。この時、違法な割り当てを受け取ってもハードウェ
アは正常に動作する。
As described above, the exclusive control of the time slot is also checked by the hardware. Therefore, even if a failure occurs in the software and the timeslot is duplicated, this failure can be detected. it can. At this time, the hardware will operate normally even if an illegal allocation is received.

【0024】[0024]

【実施例】以下、本発明の実施例について詳細に説明す
る。図1は、本発明によるタイムスロット切り替え制御
方式の構成を示す。図1において、図8と同一の参照番
号は同一の機能のものを示す。
EXAMPLES Examples of the present invention will be described in detail below. FIG. 1 shows the configuration of a time slot switching control system according to the present invention. In FIG. 1, the same reference numerals as those in FIG. 8 indicate the same functions.

【0025】図1において、通信制御装置は、二重化バ
スの#0Bおよび#1Bにそれぞれ接続される#0系お
よび#1系回路を有している。#0系、#1系の各回路
は、通信制御プログラムを実行するマイクロプロセッサ
10、タイムスロットと回線アドレスの対応付けを行う
タイムスロット制御部12およびISDN回線の手順制
御を行う一組の回線制御部13を有する。
In FIG. 1, the communication control device has # 0 system and # 1 system circuits connected to the redundant buses # 0B and # 1B, respectively. Each circuit of the # 0 system and the # 1 system includes a microprocessor 10 that executes a communication control program, a time slot control unit 12 that associates a time slot with a line address, and a set of line control that controls the ISDN line procedure. It has a part 13.

【0026】マイクロプロセッサ10は、データ線11
によって、N個の回線制御部13と接続され、制御線1
5および17によってタイムスロット制御部2と接続さ
れる。制御線15を通じて、マイクロプロセッサ10か
らタイムスロット制御部12へ回線割り当て命令が送ら
れる。
The microprocessor 10 has a data line 11
Is connected to the N line control units 13 by the control line 1
5 and 17 connect to the time slot controller 2. A line allocation command is sent from the microprocessor 10 to the time slot control unit 12 through the control line 15.

【0027】制御線17を通じて、タイムスロット制御
部12からマイクロプロセッサ10へ、回線アドレス通
知割込み信号が送られる。
A line address notification interrupt signal is sent from the time slot controller 12 to the microprocessor 10 through the control line 17.

【0028】回線アドレス通知割込み信号は、タイムス
ロット制御部12が、マイクロプロセッサ10の回線割
り当て命令及び他系のタイムスロット制御部12からの
後述する排他制御信号により、回線をタイムスロットに
割り当てたり、割り当てを解除したり、回線が使用中に
変更された場合に、その回線アドレスをマイクロプロセ
ッサ10に通知するための信号である。
As for the line address notification interrupt signal, the time slot control unit 12 allocates a line to a time slot according to a line allocation command of the microprocessor 10 and an exclusive control signal from the time slot control unit 12 of another system, which will be described later. It is a signal for notifying the microprocessor 10 of the line address when the line is released or the line is changed during use.

【0029】#0および#1両系のタイムスロット制御
部12は、制御線16Aおよび16Bによって相互に接
続される。制御線16Aを通じて、#0系タイムスロッ
ト制御回路12から、また、制御線16Bを通じて、#
1系タイムスロット制御回路12から、それぞれ、他系
のタイムスロット制御回路12に対して排他制御信号が
送られる。
The time slot control units 12 of both # 0 and # 1 are connected to each other by control lines 16A and 16B. From the # 0 system time slot control circuit 12 through the control line 16A, and through the control line 16B,
An exclusive control signal is sent from the 1-system time slot control circuit 12 to the other-system time slot control circuits 12, respectively.

【0030】排他制御信号は、タイムスロット制御回路
12がマイクロプロセッサ10から、あるタイムスロッ
トに対する回線の割り当てを指示する回線割り当て命令
を受けたとき、他系のタイムスロット制御回路12に対
して、このタイムスロットを使用しないように依頼する
ための制御信号である。各系のタイムスロット制御回路
12は、フレーム制御回路14を介して、網と接続され
る。
The exclusive control signal is sent to the time slot control circuit 12 of another system when the time slot control circuit 12 receives from the microprocessor 10 a line allocation command for instructing the allocation of a line to a certain time slot. This is a control signal for requesting not to use the time slot. The time slot control circuit 12 of each system is connected to the network via the frame control circuit 14.

【0031】図2は、タイムスロット制御部12の一実
施例の構成を示す。図2において、タイムスロット割り
当て回路18は、マイクロプロセッサ10と制御線15
および17によって接続されると共に、制御線16Aお
よび16Bによって他系のタイムスロット割り当て回路
18と接続される。タイムスロット割り当て回路18
は、また、タイムスロット管理テーブル19と接続され
る。
FIG. 2 shows the configuration of an embodiment of the time slot controller 12. In FIG. 2, the time slot allocation circuit 18 includes a microprocessor 10 and a control line 15.
And 17 and the control lines 16A and 16B to the time slot allocation circuit 18 of the other system. Time slot allocation circuit 18
Is also connected to the time slot management table 19.

【0032】タイムスロット管理テーブル19はタイム
スロット番号と、そのタイムスロットが使用されている
かどうかを示すEフラグおよびそのタイムスロットに割
り当てられている回線アドレスとを対応付けて格納する
メモリによって構成される。
The time slot management table 19 is composed of a time slot number, an E flag indicating whether or not the time slot is being used, and a line address assigned to the time slot in association with each other. .

【0033】LNC(回線制御部)選択回路20は、回
線制御部13およびタイムスロット管理テーブル19と
接続され、タイムスロット管理テーブル19の内容を基
にして、現在使用される回線制御回路13を選択する。
The LNC (line control unit) selection circuit 20 is connected to the line control unit 13 and the time slot management table 19, and selects the line control circuit 13 currently used based on the contents of the time slot management table 19. To do.

【0034】以下、1図および2図に示すタイムスロッ
ト切り替え制御方式の動作について図3〜図7を参照し
て説明する。 (1)図3は初期状態における、#0および#1系のタ
イムスロット制御部12のタイムスロット管理テーブル
19の各内容を示す。
The operation of the time slot switching control system shown in FIGS. 1 and 2 will be described below with reference to FIGS. (1) FIG. 3 shows the contents of the time slot management table 19 of the # 0 and # 1 time slot control units 12 in the initial state.

【0035】(2)図3の初期状態において、#0系の
通信制御プログラムが、タイムスロット1に対して回線
アドレス5を割り当てる回線割り当て命令を発行したと
すると、#0系のタイムスロット割り当て回路18は、
タイムスロット管理テーブル19のタイムスロット1の
Eフラグをチェックする。
(2) If the communication control program of the # 0 system issues a line allocation command for allocating the line address 5 to the time slot 1 in the initial state of FIG. 3, the time slot allocation circuit of the # 0 system. 18 is
The E flag of the time slot 1 of the time slot management table 19 is checked.

【0036】この場合、Eフラグは“1”ではないの
で、指示された回線アドレスをタイムスロット1にセッ
トするとともに、#1系タイムスロット制御部12に対
してこのタイムスロット1の使用を取りやめるよう依頼
する排他制御信号を発行する。
In this case, since the E flag is not "1", the instructed line address is set in the time slot 1 and the # 1 system time slot control unit 12 stops using this time slot 1. Issue the exclusive control signal to request.

【0037】#1系のタイムスロット制御部12では、
このタイムスロットを使用しているかどうかタイムスロ
ット管理テーブル19のEフラグをチェックし、この場
合“0”なのでこの排他制御信号に対しては何も実行し
ない。
In the # 1 system time slot controller 12,
Whether or not this time slot is used is checked by checking the E flag of the time slot management table 19, and since it is "0" in this case, nothing is executed for this exclusive control signal.

【0038】また、初期状態において、#1系の通信制
御プログラムがタイムスロット3に対して、回線アドレ
ス7を割り当てる回線割り当て命令を発行すると、#0
系と同様に他系との衝突はなく、従って、回線7はタイ
ムスロット3に割り当てられる。図4は、このときのタ
イムスロット管理テーブル9の内容を示す。
In the initial state, when the communication control program of the # 1 system issues a line allocation command for allocating the line address 7 to the time slot 3, # 0
As with the system, there is no collision with other systems, so line 7 is assigned to time slot 3. FIG. 4 shows the contents of the time slot management table 9 at this time.

【0039】図4の状態において#1系のマイクロプロ
セッサが、タイムスロット1に対して回線アドレス2を
割り当てる回線割り当て命令を発行したとすると、#1
系タイムスロット制御部12において、タイムスロット
割り当て回路18は、タイムスロット管理テーブル19
のタイムスロット1のEフラグをチェックする。
If the microprocessor of the # 1 system issues a line assignment instruction to assign the line address 2 to the time slot 1 in the state of FIG. 4, # 1
In the system time slot control unit 12, the time slot allocation circuit 18 uses the time slot management table 19
Check the E flag of time slot 1 of.

【0040】この場合“1”でないので、指示された回
線アドレスをタイムスロット1にセットするとともに、
#0系タイムスロット制御部12に対してこのタイムス
ロット1の使用を取りやめるよう依頼する排他制御信号
を発行する。
In this case, since it is not "1", the designated line address is set in time slot 1 and
An exclusive control signal is issued to the # 0 system time slot control unit 12 requesting to cancel the use of the time slot 1.

【0041】#0系タイムスロット制御部12では、こ
のタイムスロットを使用しているかどうかタイムスロッ
ト管理テーブル19のEフラグをチェックし、この場合
“1”なのでこのEフラグを“0”にリセットすると共
に、使用していた回線アドレス(この場合5)をマイク
ロプロセッサ10に通知する回線アドレス通知割込み信
号を発行する。図5は、この時点でのタイムスロット管
理テーブル19の状態を示す。
The # 0 system time slot control unit 12 checks the E flag of the time slot management table 19 to see if this time slot is being used. Since it is "1" in this case, this E flag is reset to "0". At the same time, it issues a line address notification interrupt signal for notifying the microprocessor 10 of the line address used (5 in this case). FIG. 5 shows the state of the time slot management table 19 at this point.

【0042】(4)次に、図5の状態において、#1系
マイクロプロセッサ10がタイムスロット3に対して回
線アドレス6を割り当てる回線割り当て命令を発行した
とする。#1系タイムスロット割り当て回路18は、タ
イムスロット管理テーブル19のタイムスロット3のE
フラグをチェックする。
(4) Next, in the state of FIG. 5, it is assumed that the # 1 system microprocessor 10 issues a line allocation instruction for allocating the line address 6 to the time slot 3. The # 1 system time slot allocation circuit 18 uses the E of the time slot 3 of the time slot management table 19.
Check the flag.

【0043】この場合“1”なので、指示された回線ア
ドレスをセットするとともに、新たにセットされる前の
回線アドレス(この場合7)をマイクロプロセッサ10
に通知する回線アドレス通知割込み信号を発行し、さら
に#0系タイムスロット制御部12に対して、このタイ
ムスロット3の使用を取りやめるよう依頼する排他制御
信号を発行する。
In this case, since it is "1", the designated line address is set, and the line address before being newly set (7 in this case) is set in the microprocessor 10.
A line address notification interrupt signal for notifying the same is issued, and an exclusive control signal for requesting the # 0 system time slot control unit 12 to stop using this time slot 3 is issued.

【0044】#0系タイムスロット制御部12ではこの
タイムスロットを使用しているかどうかタイムスロット
管理テーブル19のEフラグをチェックし、この場合
“0”なのでこの排他制御信号に対しては何も実行しな
い。図6はこの時点でのタイムスロット管理テーブル1
9の状態を示す。
The # 0 system time slot controller 12 checks the E flag of the time slot management table 19 to see if this time slot is being used. In this case, since it is "0", nothing is executed for this exclusive control signal. do not do. FIG. 6 shows the time slot management table 1 at this point.
9 shows the state 9.

【0045】(5)図6の状態において、#0と#1の
マイクロプロセッサ10から同時にタイムスロット2に
対して回線アドレス8と回線アドレス9をそれぞれ割り
当てる回線割り当て命令が発行されたとする。
(5) In the state shown in FIG. 6, it is assumed that the microprocessors # 0 and # 1 simultaneously issue line assignment instructions for assigning the line address 8 and the line address 9 to the time slot 2.

【0046】各系のタイムスロット割り当て回路18
は、タイムスロット2のEフラグが“0”なのでEフラ
グを“1”にセットし、各々指示された回線アドレスを
割り当て、各々、他系のタイムスロット制御部12に対
してタイムスロット2の使用を取りやめるように依頼す
る排他制御信号を発行する。
Time slot allocation circuit 18 for each system
Sets the E flag to "1" because the E flag of the time slot 2 is "0", allocates each designated line address, and uses the time slot 2 to the time slot control units 12 of other systems. Issue an exclusive control signal requesting to cancel.

【0047】この時、予め#0系の方が優先順位が高い
ように設定されていたとすると、この設定により#0系
は排他制御信号を無視するが、優先順位の低い#1系は
排他制御信号によりタイムスロット2のEフラグを
“0”にリセットするとともに、マイクロプロセッサ1
0に対して割り当てることができなかった回線アドレス
(この場合9)を通知する回線アドレス通知割込み信号
を発行する。図7は、この時点でのタイムスロット管理
テーブル19の状態を示す。
At this time, if it is preliminarily set that the priority of the # 0 system is higher, the exclusion control signal is ignored by the # 0 system by this setting, but the exclusive control of the # 1 system having a lower priority is performed. The signal resets the E flag of the time slot 2 to "0" and the microprocessor 1
A line address notification interrupt signal for notifying the line address that could not be assigned to 0 (9 in this case) is issued. FIG. 7 shows the state of the time slot management table 19 at this point.

【0048】図8は図1の通信制御装置を具体的に示し
たものである。図8において、二つの同一の構成を持つ
タイムスロット制御部100は、それぞれ、#0系およ
び#1系のプロセッサ101と接続される。
FIG. 8 specifically shows the communication control device of FIG. In FIG. 8, two time slot control units 100 having the same configuration are connected to the # 0 system and # 1 system processors 101, respectively.

【0049】タイムスロット制御部100は、タイムス
ロット対チャネルナンバの割り当ておよび解除を行うタ
イムスロット割り当て回路102、プロセッサ101か
らのMST/SLV指示信号(優先順位信号)を受信し
てどちらの系に優先権があるかを判別するMST/SL
V回路103、タイムスロットとチャネルナンバの対応
表をメモリに保持するTS−TABLE104、および
チャネル毎のLNCを選択するLNC選択回路105に
より構成されている。
The time slot control section 100 receives the MST / SLV instruction signal (priority signal) from the time slot allocation circuit 102 for allocating and deallocating time slot to channel number, and the processor 101, and gives priority to which system. MST / SL to determine if you have the right
A V circuit 103, a TS-TABLE 104 that holds a correspondence table of time slots and channel numbers in a memory, and an LNC selection circuit 105 that selects an LNC for each channel.

【0050】図9はMST/SLV回路103の詳細回
路図である。図9において、各MST/SLV回路は自
系のプロセッサからのMST/SLV信号と他系のMS
T/SLV回路からのMST/SLVとに基づき優先権
の有無を判定し、タイムスロット割り当て回路102へ
優先権を持つことを示すMST信号を出力する。
FIG. 9 is a detailed circuit diagram of the MST / SLV circuit 103. In FIG. 9, each MST / SLV circuit has an MST / SLV signal from its own processor and an MS of another system.
The presence / absence of the priority is determined based on the MST / SLV from the T / SLV circuit, and the MST signal indicating the priority is output to the time slot allocation circuit 102.

【0051】MST/SLV回路103は、自系のプロ
セッサからのMST信号と他系のMST/SLV回路1
03からのMST信号のORと、自系のプロセッサから
のSLV信号と他系のMST/SLV回路からのSLV
信号のNORとのANDをとり、このAND出力をD−
FF106のD入力とする。
The MST / SLV circuit 103 includes an MST signal from the processor of its own system and the MST / SLV circuit 1 of the other system.
OR of MST signal from 03, SLV signal from own system processor and SLV from other system MST / SLV circuit
AND with the signal NOR, and output this AND with D-
It is the D input of FF106.

【0052】D−FF106はMST信号を自系のタイ
ムスロット割り当て回路102へ出力する。 また、各
MST/SLV回路は、自系のプロセッサ101からの
MST信号およびSLV信号を他系のMST/SLV回
路103へ送る。
The D-FF 106 outputs the MST signal to its own time slot allocation circuit 102. Further, each MST / SLV circuit sends the MST signal and SLV signal from the processor 101 of its own system to the MST / SLV circuit 103 of the other system.

【0053】初期状態において、D−FF106はSL
Vすなわち“0”にセットされている。この状態で、少
なくとも一方のプロセッサ101からのMST信号が活
性状態であり、かつ、両方のSLV信号が非活性状態で
ある時、D−FF106は“1”すなわちMSTにセッ
トされ、それ以外の時はSLVにセットされる。
In the initial state, the D-FF 106 is SL
V, that is, set to "0". In this state, when the MST signal from at least one of the processors 101 is active and both SLV signals are inactive, the D-FF 106 is set to "1", that is, MST, and otherwise. Is set to SLV.

【0054】MST/SLV回路103は、他系のMS
T/SLV回路103と同時にMST信号を出力しない
ように制御する必要がある。そのため、一方がSLVに
セットされたらMST信号を他方へ送り、一方がMST
にセットされたらSLV信号を他方へ送る。
The MST / SLV circuit 103 is an MS of another system.
It is necessary to control so as not to output the MST signal at the same time as the T / SLV circuit 103. Therefore, if one is set to SLV, send the MST signal to the other,
When set to, the SLV signal is sent to the other.

【0055】もし両方のMST/SLV回路103がS
LVを指示された場合は、各々のMST/SLV回路か
らMST信号が他のMST/SLV回路へ送られるが、
MST信号とSLV信号が混在した場合にはSLV信号
の指示を優先させることにより、両方のMST/SLV
回路103のD−FF106が同時にMSTにセットさ
れることを防いでいる。
If both MST / SLV circuits 103 are S
When the LV is instructed, the MST signal is sent from each MST / SLV circuit to another MST / SLV circuit.
When the MST signal and the SLV signal are mixed, priority is given to the instruction of the SLV signal, so that both MST / SLV signals are given.
The D-FF 106 of the circuit 103 is prevented from being set to MST at the same time.

【0056】図10はタイムスロット割り当て回路10
2の回路図である。各タイムスロット割り当て回路10
2は、カウンタ107、タイムスロット割り当て/解除
部108、およびTS−TABLE管理部109を有す
る。
FIG. 10 shows a time slot allocation circuit 10
2 is a circuit diagram of FIG. Each time slot allocation circuit 10
2 has a counter 107, a time slot allocation / deallocation unit 108, and a TS-TABLE management unit 109.

【0057】カウンタ107は、1タイムスロットのビ
ットをカウントし、ビット1をFRM RD信号として
TS−TABLE104へ送り、ビット2をTS−TA
BLE管理部109へ送り、ビット8をタイムスロット
割り当て/解除部108およびTS−TABLE管理部
109へおくる。
The counter 107 counts the bits of one time slot, sends the bit 1 as a FRM RD signal to the TS-TABLE 104, and the bit 2 of the TS-TA.
It is sent to the BLE management unit 109, and bit 8 is sent to the time slot allocation / deallocation unit 108 and TS-TABLE management unit 109.

【0058】タイムスロット割り当て/解除部108
は、自系のプロセッサ101からのタイムスロット割り
当て/解除命令を実行し、また、他系のタイムスロット
割り当て回路108との間で同じタイムスロットを奪い
合いしないための排他制御を行い、更に、タイムスロッ
トを他系に奪われたり自分でチャネルナンバを変更した
場合に奪われたチャネルナンバまたは変更したチャネル
ナンバを自系のプロセッサ101に通知する。
Time slot allocation / deallocation unit 108
Executes a time slot allocation / deallocation instruction from the processor 101 of its own system, and performs exclusive control so as not to compete with the time slot allocation circuit 108 of another system for the same time slot. If the channel number is lost to another system or the channel number is changed by itself, the lost channel number or the changed channel number is notified to the processor 101 of the own system.

【0059】タイムスロット割り当て/解除部108が
チャネル割り当て命令を受け取ると、TS−TABLE
104の該当するタイムスロットにチャネルナンバを書
き込みチャネル割り当てを行う。
When the time slot allocation / deallocation unit 108 receives the channel allocation command, TS-TABLE
A channel number is written in a corresponding time slot of 104 and channel allocation is performed.

【0060】この時、既にタイムスロットが使用されて
いたら、そのタイムスロットとチャネルの対応を取り止
め、新しく指示されたチャネルナンバを割り当て、プロ
セッサ101に対して変更前のチャネルナンバを通知す
るチャネルナンバ通知割り込み信号を送る。
At this time, if the time slot has already been used, the correspondence between the time slot and the channel is canceled, the newly designated channel number is assigned, and the processor 101 is notified of the channel number before the change. Send an interrupt signal.

【0061】また、タイムスロットにチャネルナンバを
割り当てた場合、他系のタイムスロット割り当て回路1
02に対してそのタイムスロットにチャネルを割り当て
ることを禁止するSLT DSBL信号を送る。
When channel numbers are assigned to the time slots, the time slot assignment circuit 1 of the other system is used.
02, sends a SLT DSBL signal that prohibits allocating a channel to that time slot.

【0062】SLT DSBL信号を受け取った他系の
タイムスロット割り当て回路102のタイムスロット割
り当て/解除部108は、該当するタイムスロットを使
用している場合はそのタイムスロットとチャネルの対応
を取り止めると共に、取り止められたチャネルを通知す
るチャネルナンバ通知割り込み信号をプロセッサ101
へ送る。
Upon receiving the SLT DSBL signal, the time slot allocating / deallocating unit 108 of the time slot allocating circuit 102 of the other system cancels the correspondence between the time slot and the channel when the corresponding time slot is used and cancels it. A channel number notification interrupt signal for notifying the selected channel
Send to.

【0063】TS−TABLE管理部109は自系のT
S−TABLEを管理する。
The TS-TABLE management unit 109 is the T of its own system.
Manage S-TABLE.

【0064】図11はTS−TABLE104の入出力
を示す。TS−TABLE104はデュアルポートRA
Mで構成されており、同時に二つの入出力が可能であ
る。
FIG. 11 shows the input / output of the TS-TABLE 104. TS-TABLE104 is dual port RA
It is composed of M, and is capable of two inputs and outputs at the same time.

【0065】TS−TABLE104のポート0はタイ
ムスロット割り当て/解除部108との間で、命令によ
る読み書きに使用され、ポート1はTS−TABLE管
理部109との間で、現在使用されているタイムスロッ
トの読み書きに使用される。
Port 0 of TS-TABLE 104 is used for reading and writing by a command with time slot allocation / deallocation unit 108, and port 1 is currently used with TS-TABLE management unit 109 for a time slot. Used for reading and writing.

【0066】図12はTS−TABLEの内容を示す。
TS−TABLE104においては、タイムスロットと
チャネルとをフラグEおよびE0によって対応付ける。
EとE0の両方共”0”の時はタイムスロットが使用さ
れていないことを示し、そのタイムスロットのチャネル
ナンバは無効である。
FIG. 12 shows the contents of TS-TABLE.
In the TS-TABLE 104, time slots and channels are associated with each other by flags E and E0.
When both E and E0 are "0", it means that the time slot is not used, and the channel number of the time slot is invalid.

【0067】Eが“0”でE0が“1”の場合は、タイ
ムスロット割り当て命令を受け取ったがまだそのタイム
スロットは使用されていないことを示し、そのタイムス
ロットのチャネルナンバは新たに対応付けられたチャネ
ルナンバである。
When E is "0" and E0 is "1", it indicates that the time slot allocation command has been received but the time slot is not yet used, and the channel number of the time slot is newly associated. This is the assigned channel number.

【0068】EとE0が両方とも“1”の場合は、この
タイムスロットが現在使用されていることを示す。Eが
“1”でE0が“0”の場合は、現在このタイムスロッ
トは使用中であるが、タイムスロット解除命令を受け取
ったことを示す。
If both E and E0 are "1", this indicates that this time slot is currently used. When E is "1" and E0 is "0", this time slot is currently in use, but a time slot release command has been received.

【0069】図13はタイムスロット割り当て/解除部
108の詳細回路図である。図13において、命令レジ
スタ110はプロセッサ101からのタイムスロット割
り当て/解除命令を一時保持する。
FIG. 13 is a detailed circuit diagram of the time slot allocation / deallocation unit 108. In FIG. 13, an instruction register 110 temporarily holds a time slot allocation / deallocation instruction from the processor 101.

【0070】タイムスロット割り当て/解除命令はビッ
トS,ビットR,チャネルナンバ、およびタイムスロッ
トナンバを含む。Sは、この命令が割り当て命令である
時に“1”にセットされ、Rはこの命令が解除命令であ
る時に“1”にセットされる。
The time slot allocation / deallocation instruction includes a bit S, a bit R, a channel number, and a time slot number. S is set to "1" when this instruction is an allocation instruction, and R is set to "1" when this instruction is a release instruction.

【0071】命令レジスタ110に命令がセットされる
と、TS−TABLE104から対応するタイムスロッ
トのチャネルナンバとフラグEとを読み出すと同時に現
在実行中のタイムスロットナンバをフレーム制御部から
受け、これと命令で与えられたタイムスロットナンバと
を比較回路111で比較する。
When an instruction is set in the instruction register 110, the channel number of the corresponding time slot and the flag E are read from the TS-TABLE 104, and at the same time, the currently executed time slot number is received from the frame control unit and the instruction The comparison circuit 111 compares the time slot number given in step 1).

【0072】比較回路111の比較結果が一致の場合
は、現在使用中のチャネルナンバは変更することができ
ないので命令の実行を待たせる。命令レジスタ110に
Sがセットされている場合は、比較回路112によって
現在のチャネルナンバと命令で与えられたチャネルナン
バとを比較する。
If the comparison result of the comparison circuit 111 is a match, the channel number currently in use cannot be changed, and therefore the execution of the instruction is made to wait. When S is set in the instruction register 110, the comparison circuit 112 compares the current channel number with the channel number given by the instruction.

【0073】比較回路111および112の各結果並び
にフラグEの値によって、命令による割り当てが新規割
り当てか割り当て変更かがゲート回路群によって判断さ
れる。上記判断の結果割り当て変更の場合は、通知チャ
ネルナンバレジスタ13にTS−TABLE104のチ
ャネルナンバを書き込みプロセッサ101へ送る。
Based on the results of the comparison circuits 111 and 112 and the value of the flag E, the gate circuit group determines whether the allocation by the instruction is a new allocation or an allocation change. When the allocation is changed as a result of the above determination, the channel number of TS-TABLE 104 is written to the notification channel number register 13 and sent to the processor 101.

【0074】また、新規割り当ておよび割り当て変更の
場合は、SLT DSBL信号を他のタイムスロット割
り当て/解除部108へ送る。割り当て解除は、レジス
タ110にRがセットされ、かつ、比較回路111の比
較結果が不一致の時、あるいは、他系からSLT DS
BL信号を受けた時に行われる。
In the case of new allocation and allocation change, the SLT DSBL signal is sent to another time slot allocation / deallocation unit 108. The allocation is released when R is set in the register 110 and the comparison result of the comparison circuit 111 does not match, or when the SLT DS from another system.
It is performed when the BL signal is received.

【0075】NANDゲート14およびANDゲート1
5は、両系のタイムスロット割り当て/解除部108に
同時にタイムスロット割り当て命令が与えられた場合、
即ち、両系からSLT DSBL信号が同時に出された
場合、MST/SLV回路103により決定されたマス
タ側の系にこの信号を無視させるための回路である。
NAND gate 14 and AND gate 1
5 indicates that when a time slot allocation command is given to the time slot allocation / deallocation units 108 of both systems at the same time,
That is, when the SLT DSBL signals are output from both systems at the same time, this is a circuit for causing the system on the master side determined by the MST / SLV circuit 103 to ignore this signal.

【0076】また、SLT DSBL信号を受取り、か
つ、該当するタイムスロットが使用されていた場合に
は、通知チャネルナンバレジスタ13にTS−TABL
E104のチャネルナンバを書き込み、プロセッサ10
1へ通知する。
When the SLT DSBL signal is received and the corresponding time slot is used, TS-TABL is set in the notification channel number register 13.
The channel number of E104 is written, and the processor 10
Notify 1.

【0077】新規割り当て、割り当て変更、あるいは割
り当て解除が確定すると、対応するデータがTS−TA
BLE104に書き込まれると同時に、レジスタ110
がリセットされる。なお、16は、ゲート17の二つの
入力のタイミングを合致させるための調整回路である。
When new allocation, allocation change, or deallocation is confirmed, the corresponding data is TS-TA.
At the same time as being written to the BLE 104, the register 110
Is reset. Reference numeral 16 is an adjusting circuit for matching the timings of the two inputs of the gate 17.

【0078】図14はTS−TABLE管理部109の
詳細回路図である。タイムスロットのビット1で、カウ
ンタ107のBIT1信号により、現在進行中のタイム
スロットのEおよびE0がTS−TABLE104から
読出される。
FIG. 14 is a detailed circuit diagram of the TS-TABLE management unit 109. At bit 1 of the time slot, the BIT1 signal of the counter 107 causes the time slots E and E0 currently in progress to be read from the TS-TABLE 104.

【0079】読み出されたEおよびE0は、ビット2の
タイミングで、それぞれ、フリップフロップ118およ
び119にセットされる。セットされたEおよびE0が
両方共“0”あるいは“1”の場合は何も動作しない。
The read E and E0 are set in the flip-flops 118 and 119, respectively, at the timing of bit 2. If both the set E and E0 are "0" or "1", no operation is performed.

【0080】Eが“0”でE0が“1”の時には、TS
−TABLE104の対応するEに“1”を、ビット8
のタイミングで書き込む。また、Eが“1”でE0が
“0”の時には、TS−TABLE104の対応するE
に“0”を、ビット8のタイミングで書き込む。
When E is "0" and E0 is "1", TS
-“1” is set to the corresponding E in the TABLE 104, bit 8
Write at the timing of. When E is “1” and E0 is “0”, the corresponding E of TS-TABLE 104 is
"0" is written to the bit 8 at the timing of bit 8.

【0081】上述のように、本発明によるタイムスロッ
ト制御方式を用いた通信制御装置では、二つの系のプロ
セッサからどのような回線割り当て命令が発行されて
も、必ずどちらか一方の系だけにしか回線アドレスが割
り当てられず、従って、同じタイムスロットを両系から
使用されないように保障することができる。
As described above, in the communication control device using the time slot control method according to the present invention, no matter what line allocation command is issued from the processors of the two systems, only one of the systems is surely issued. No line address is assigned and therefore the same time slot can be guaranteed not to be used by both systems.

【0082】また、プロセッサは、回線アドレスの割り
当てに失敗したり、今まで使用していた回線アドレスが
無効になった場合にのみ、回線アドレス通知割込み信号
によりどの回線が使用できなくなったか知ることが可能
となり、従って、プロセッサおよび通信制御プログラム
の負荷を減らすことが可能となる。
Further, the processor can know which line cannot be used by the line address notification interrupt signal only when the line address allocation fails or the line address used up to now becomes invalid. Therefore, the load on the processor and the communication control program can be reduced.

【0083】上述の各実施例ではタイムスロット制御部
が2個の場合をしめしたが、2個以上用いてもよい。そ
の場合には、全てのタイムスロット制御部を一対一に排
他制御信号で結ぶことが必要である。
In each of the above-mentioned embodiments, the case where the number of time slot control units is two is shown, but two or more time slot control units may be used. In that case, it is necessary to connect all the time slot control units one-to-one with an exclusive control signal.

【0084】[0084]

【発明の効果】以上説明したように、本発明によれば、
多重化された通信制御装置において、従来救済できなか
った通信制御プログラムの障害も救済することが可能と
なる。従って、システム全体の障害救済率が向上され多
重化通信制御装置の信頼性の向上に寄与するところが大
きい。
As described above, according to the present invention,
In the multiplexed communication control device, it is possible to remedy a failure of the communication control program that could not be remedied in the past. Therefore, the fault recovery rate of the entire system is improved, which largely contributes to the improvement of the reliability of the multiplex communication control device.

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

【図1】本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an exemplary embodiment of the present invention.

【図2】図1のタイムスロット制御部の構成を示す図で
ある。
FIG. 2 is a diagram showing a configuration of a time slot control unit in FIG.

【図3】図1の回路の動作を説明するための図(その
1)である。
FIG. 3 is a diagram (No. 1) for explaining the operation of the circuit of FIG. 1;

【図4】図1の回路の動作を説明するための図(その
2)である。
FIG. 4 is a diagram (No. 2) for explaining the operation of the circuit of FIG. 1;

【図5】図1の回路の動作を説明するための図(その
3)である。
5 is a diagram (No. 3) for explaining the operation of the circuit of FIG. 1. FIG.

【図6】図1の回路の動作を説明するための図(その
4)である。
FIG. 6 is a diagram (No. 4) for explaining the operation of the circuit of FIG. 1;

【図7】図1の回路の動作を説明するための図(その
5)である。
FIG. 7 is a diagram (No. 5) for explaining the operation of the circuit of FIG. 1;

【図8】図1の通信制御装置を具体的に示す図である。FIG. 8 is a diagram specifically showing the communication control device of FIG. 1.

【図9】MST/SLV回路の回路図である。FIG. 9 is a circuit diagram of an MST / SLV circuit.

【図10】タイムスロット割り当て回路の回路図であ
る。
FIG. 10 is a circuit diagram of a time slot allocation circuit.

【図11】TS−TABLEの入出力を示す図である。FIG. 11 is a diagram showing input / output of TS-TABLE.

【図12】TS−TABLEの内容を示す図である。FIG. 12 is a diagram showing the contents of TS-TABLE.

【図13】タイムスロット割り当て/解除部の回路図で
ある。
FIG. 13 is a circuit diagram of a time slot allocation / deallocation unit.

【図14】TS−TABLE管理部の回路図である。FIG. 14 is a circuit diagram of a TS-TABLE management unit.

【図15】従来の技術を説明するための図である。FIG. 15 is a diagram for explaining a conventional technique.

【図16】フレームの構成を示す図である。FIG. 16 is a diagram showing a structure of a frame.

【符号の説明】[Explanation of symbols]

1 マイクロプロセッサ 2 タイムスロット制御部 3 回線制御部 4 フレーム制御部 10 マイクロプロセッサ 11 データ線 12 タイムスロット制御部 13 回線制御部 14 フレーム制御部 15,16A,16B,17 制御線 18 タイムスロット割り当て回路 19 タイムスロット管理テーブル 20 LNC選択回路 100 タイムスロット制御部 101 プロセッサ 102 タイムスロット割り当て回路 103 MST/SLV回路 104 TS−TABLE 105 LNC選択回路 106 D−FF 107 カウンタ 108 タイムスロット割り当て/解除部 109 TS−TABLE管理部 110 レジスタ 111,112 比較回路 113 通知チャネルナンバレジスタ 114,115,117 ゲート 116 遅延回路 118,119 フリップフロップ MST/SLV マスタ−スレーブ指示信号 MST マスタ信号 SLV スレーブ信号 SLT DSBL 排他制御信号 I/O WR,I/O RD,I/O DATA,FR
M WR,FRM RD,FRM DATA 信
号 E,E0 フラグ
1 Microprocessor 2 Time slot control unit 3 Line control unit 4 Frame control unit 10 Microprocessor 11 Data line 12 Time slot control unit 13 Line control unit 14 Frame control unit 15, 16A, 16B, 17 Control line 18 Time slot allocation circuit 19 Time slot management table 20 LNC selection circuit 100 Time slot control unit 101 Processor 102 Time slot allocation circuit 103 MST / SLV circuit 104 TS-TABLE 105 LNC selection circuit 106 D-FF 107 Counter 108 Time slot allocation / deallocation unit 109 TS-TABLE Management unit 110 Registers 111, 112 Comparison circuit 113 Notification channel number register 114, 115, 117 Gate 116 Delay circuit 118, 119 Flops MST / SLV master - slave indication signal MST master signal SLV slave signal SLT DSBL exclusive control signal I / O WR, I / O RD, I / O DATA, FR
M WR, FRM RD, FRM DATA signal E, E0 flag

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 時分割多重通信システムの通信制御装置
において、 それぞれ、通信制御プログラムを実行する二つのプロセ
ッサと、 前記二つのプロセッサの各々から、それぞれ回線データ
を入力し、回線制御を行う二組の回線制御部と、 前記二組の回線制御部の各組から、それぞれデータを入
力し、タイムスロットと回線アドレスの対応付けを行う
と共に、現在の対応付けの状態を記憶する二つのタイム
スロット制御部と、 前記二つのプロセッサの各々から、対応する前記タイム
スロット制御部に対して、回線をタイムスロットに割り
当てるように指示する回線割り当て命令を送る手段と、 前記二つのタイムスロット制御部の各々から対応する前
記プロセッサに対して、回線のタイムスロットへの割り
当てを取り止めたことを通知する通知信号を送る手段
と、 前記二つのタイムスロット制御部の一方から他方に対し
て、回線のタイムスロットへの割り当てを禁止する排他
制御信号を送る手段とを具備し、 各前記タイムスロット制御部は、対応する前記プロセッ
サからの回線割り当て命令によって指示されたタイムス
ロットが現在使用されていない場合、そのタイムスロッ
トに回線を割り当てると共に、他方のタイムスロット制
御部に対して排他制御信号を送ることによって、そのタ
イムスロットの使用を禁止し、 回線割り当て命令によ
って指示されたタイムスロットが現在使用中のときは、
そのタイムスロットの使用を新たに指示された回線に切
り替えると共に、割り当てを解除された回線のアドレス
を対応する前記プロセッサへ通知し、 他方の前記タイムスロット制御部から排他制御信号を受
信したときは、もし、そのタイムスロットを使用してい
たらそのタイムスロットと回線アドレスの対応付けを取
り止め、前記プロセッサに対して取りやめられた回線ア
ドレスを通知するように、制御することを特徴とするタ
イムスロット切り替え制御方式。
1. A communication control device for a time division multiplex communication system, comprising two processors each for executing a communication control program, and two sets for respectively performing line control by inputting line data from each of the two processors. Line control unit and two sets of line control units, each of which inputs data to associate a time slot with a line address and stores the current association state. Unit, means for sending a line assignment command from each of the two processors to the corresponding time slot control unit, and an instruction to assign a line to a time slot, and from each of the two time slot control units Notification to notify the corresponding processor that the allocation to the time slot of the line has been canceled And a means for transmitting an exclusive control signal for prohibiting the allocation of the time slot of the line from one of the two time slot control units to the other, and each of the time slot control units, If the time slot indicated by the line allocation instruction from the corresponding processor is not currently in use, the line is allocated to the time slot and an exclusive control signal is sent to the other time slot control unit to Prohibits the use of time slots, and when the time slot indicated by the line allocation instruction is currently in use,
When the use of the time slot is switched to the newly designated line, the address of the line that has been deallocated is notified to the corresponding processor, and when an exclusive control signal is received from the other time slot control unit, If the time slot is being used, the time slot switching control method is characterized in that the time slot is not associated with the line address and the processor is notified of the canceled line address. .
【請求項2】 前記二つのタイムスロット制御部に優先
順位を付与する手段を備え、 回線割り当て命令が、前記二つのタイムスロット制御部
に対して、同じタイムスロットに同時に回線アドレスを
指示した場合、優先順位の高い前記タイムスロット制御
部は、回線をタイムスロットに割り当て、 他方のタイムスロット制御部は、前記マイクロプロセッ
サに対して割り当てることができなかった回線アドレス
を通知するようにそれぞれ制御することを特徴とする請
求項1のタイムスロット切り替え制御方式。
2. A means for assigning a priority to the two time slot control units, wherein the line allocation command instructs the two time slot control units to simultaneously specify line addresses in the same time slot, The time slot control unit having a high priority assigns a line to a time slot, and the other time slot control unit controls the microprocessor to notify each of the line addresses that cannot be assigned. The time slot switching control method according to claim 1, wherein
JP20900091A 1991-03-06 1991-08-21 Time slot switching control method Expired - Fee Related JPH0787436B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP20900091A JPH0787436B2 (en) 1991-08-21 1991-08-21 Time slot switching control method
EP92301858A EP0507452B1 (en) 1991-03-06 1992-03-04 Fault tolerant communication control processor
DE69229297T DE69229297T2 (en) 1991-03-06 1992-03-04 Fault-tolerant communication control processor
US07/846,903 US5303230A (en) 1991-03-06 1992-03-06 Fault tolerant communication control processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20900091A JPH0787436B2 (en) 1991-08-21 1991-08-21 Time slot switching control method

Publications (2)

Publication Number Publication Date
JPH0548557A JPH0548557A (en) 1993-02-26
JPH0787436B2 true JPH0787436B2 (en) 1995-09-20

Family

ID=16565650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20900091A Expired - Fee Related JPH0787436B2 (en) 1991-03-06 1991-08-21 Time slot switching control method

Country Status (1)

Country Link
JP (1) JPH0787436B2 (en)

Also Published As

Publication number Publication date
JPH0548557A (en) 1993-02-26

Similar Documents

Publication Publication Date Title
US5185877A (en) Protocol for transfer of DMA data
US5313467A (en) Integrated communication link having a dynamically allocatable bandwidth and protocol for transmission of allocation information over the link
US6378021B1 (en) Switch control method and apparatus in a system having a plurality of processors
EP0184976B1 (en) Apparatus for interfacing between at least one channel and at least one bus
US4468733A (en) Multi-computer system with plural serial bus loops
EP1477899B1 (en) Data processing apparatus and method
GB2156554A (en) Processing system with shared data
EP1701271A1 (en) Electronic apparatus system with master node and slave node
EP0333593B1 (en) A data processing system capable of fault diagnosis
US5163138A (en) Protocol for read write transfers via switching logic by transmitting and retransmitting an address
JPS63106059A (en) Fast bit interleaved time-sharing multiplexer for multinode communication system
US6131114A (en) System for interchanging data between data processor units having processors interconnected by a common bus
KR100473814B1 (en) Duplicated system and method using a serial to deserialize
EP1890439B1 (en) Data processing management apparatus, mode management apparatus and mode management method
US5303230A (en) Fault tolerant communication control processor
JP2979771B2 (en) Information processing apparatus and bus control method thereof
JPH0787436B2 (en) Time slot switching control method
JP3080552B2 (en) Memory device for multi-computer system
JP3772358B2 (en) Switching device
KR100228306B1 (en) Hot-standby multiplexer and implementation method
JP2617037B2 (en) Communication control device
JPH05308399A (en) Duplex communication control
JP2507140B2 (en) Multiple parallel data bus device
JPH08221289A (en) Control system for duplex system
JPH05250224A (en) Monitoring control system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960409

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees