KR20010066161A - Apparatus for dual link - Google Patents

Apparatus for dual link Download PDF

Info

Publication number
KR20010066161A
KR20010066161A KR1019990067747A KR19990067747A KR20010066161A KR 20010066161 A KR20010066161 A KR 20010066161A KR 1019990067747 A KR1019990067747 A KR 1019990067747A KR 19990067747 A KR19990067747 A KR 19990067747A KR 20010066161 A KR20010066161 A KR 20010066161A
Authority
KR
South Korea
Prior art keywords
link
bit pattern
processing unit
signal
central processing
Prior art date
Application number
KR1019990067747A
Other languages
Korean (ko)
Inventor
황보종태
Original Assignee
김진찬
주식회사 머큐리
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 김진찬, 주식회사 머큐리 filed Critical 김진찬
Priority to KR1019990067747A priority Critical patent/KR20010066161A/en
Publication of KR20010066161A publication Critical patent/KR20010066161A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/20Automatic or semi-automatic exchanges with means for interrupting existing connections; with means for breaking-in on conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/18Comparators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

PURPOSE: An apparatus for diagnosing duplicated links is provided to simply confirm the abnormality of duplicated links in active and standby states. CONSTITUTION: An A-link abnormality detection apparatus is comprised of an abnormal mode setup circuit(120), a bit pattern generation circuit(130), a comparison circuit(140), and an interrupt generation circuit(150). The abnormal mode setup circuit(120) contains a mode register(121) and a timer(123). The timer(122) provides a cycle signal to the mode register(121). The mode register(121) provides an A-loop signal to a loop circuit when an interrupt bit and a selective bit are enabled. The bit pattern generation circuit(130) is composed of a bit pattern generator(131), a shift register(132) and a multiplexer(MUX11). The bit pattern generator(131) receives and stores a bit pattern provided from a CPU and provides it to the shift register(132). The shift register(132) provides the bit pattern to the multiplexer(MUX11) sequentially, corresponding to a transmitting clock(TxC). The multiplexer(MUX11) selectively outputs either the bit pattern of the shift register(132) or output data(TxD(A)) according to the control of the CPU. The comparison circuit(140) is composed of a multiplexer(MUX12), a shift register(141) and a comparator(142). The multiplexer(MUX12) selects the data provided from a link or the data provided from the multiplexer(MUX11) and provides the selected data to the shift register(141). The shift register(141) synchronizes the data of the multiplexer(MUX12) with a receiving clock(RxC) and supplies the data to the comparator(142). The comparator(142) compares the data of the shift register(141) and the data of the bit pattern generator(131) and provides a normal(or abnormal) indication signal to the interrupt generation circuit(150). The interrupt generation circuit(150) is comprised of a status register(151) and an interrupt request part(152). The status register(151) stores the normal(or abnormal) indication signal and provides the stored signal to the interrupt request part(152) and the CPU. The interrupt request part(152) supplies an interrupt signal to the CPU if the cycle signal from the timer(122) and the normal(or abnormal) indication signal from the status register(151) are supplied.

Description

이중화 링크 진단 장치{APPARATUS FOR DUAL LINK}Redundant Link Diagnostic Device {APPARATUS FOR DUAL LINK}

본 발명은 전전자 교환기에 관한 것으로서, 더욱 상세하게는 이중화 링크에서 액티브(active)/스탠바이(stand by)상태의 링크의 이상 여부를 진단할 수 있는 장치에 관한 것이다.The present invention relates to an electronic switch, and more particularly, to an apparatus capable of diagnosing an abnormal link in an active / standby state in a redundant link.

전전자 교환기는 교환 기능을 수행하기 위하여 분산 제어 형태로 구성되며, 고유 기능을 수행하는 프로세서 시스템간에는 상호 통신하면서 작업을 수행한다. 이에 따라 교환기 내부에는 프로세서간 통신을 위해 메시지들이 해당 주소로 전달되도록 하는 고속 실시간 하드웨어 모듈이 존재하며, 프로세들은 이 모듈과 정합되어 프로세서간 통신을 행한다.The electronic switchgear is configured in a distributed control form to perform a switching function, and performs tasks while communicating with each other between processor systems performing a unique function. Accordingly, there is a high speed real-time hardware module inside the switch that allows messages to be delivered to a corresponding address for interprocessor communication, and the processors are matched with the module to perform interprocessor communication.

이러한 교환기의 내부 구조는 신뢰성을 위하여 각각의 프로세서 및 정합 회로가 이중화되어 있다. 도 1은 이중화된 프로세서 블록이 프로세서간 통신을 위하여 정합되는 구성도가 도시되어 있다.The internal structure of these exchanges is redundant with each processor and matching circuit for reliability. 1 illustrates a configuration in which a redundant processor block is matched for interprocessor communication.

도시된 바와 같이 하나의 프로세서 블록에는 두 개의 출력 라인(Tx(A), Tx(B)) 및 두 개의 입력 라인(Rx(A), Rx(B))이 연결되어 있다. 이 라인(Tx(A), Tx(B)), (Rx(A), Rx(B))들은 버퍼(B1-B4)들을 거쳐 직렬 입출력 회로(1)에 연결되며, 이 직렬 입출력 회로(1)들은 중앙 처리 장치(2)와 메모리(3)에 연결되어 있다. 중앙 처리 장치(2)로부터의 전송 데이터들은 직렬 입출력 회로(1)를 거쳐 버퍼(B1, B2)를 통해 출력 라인(Tx(A), Tx(B))으로 출력되며, 입력 라인(Rx(A), Rx(B))으로부터의 데이터들은 버퍼(B3, B4) 및 멀티플렉서(MUX1)를 거쳐 직렬 입출력 회로(1)에 제공되고, 직렬 입출력 회로(1)를 통해 메모리(3)에 제공된다. 즉, 프로세서 블록으로부터 출력되는 데이터들은 두 개의 라인(Tx(A), Tx(B))으로 출력되며, 프로세서 블록은 두 개의 라인(Rx(A), Rx(B))을 통하여 데이터를 입력한다.As shown, two output lines Tx (A) and Tx (B) and two input lines Rx (A) and Rx (B) are connected to one processor block. These lines Tx (A), Tx (B), (Rx (A), Rx (B)) are connected to the serial input / output circuit 1 via the buffers B1-B4, and the serial input / output circuit 1 Are connected to the central processing unit 2 and the memory 3. The transmission data from the central processing unit 2 is output to the output lines Tx (A) and Tx (B) via the buffers B1 and B2 via the serial input / output circuit 1 and the input lines Rx (A ), The data from Rx (B) is provided to the serial input / output circuit 1 via the buffers B3 and B4 and the multiplexer MUX1 and to the memory 3 via the serial input / output circuit 1. That is, data output from the processor block is output in two lines Tx (A) and Tx (B), and the processor block inputs data through two lines Rx (A) and Rx (B). .

도 2에는 상술한 프로세서 블록을 이중화하여 라우팅 모듈(10) 즉, 통신을 중재하는 모듈과 연결하는 상태가 도시되어 있다. 도시된 바와 같이 라우팅 모듈(10)에는 다수의 정합 회로(M1-Mn)가 연결되어 있으며, 이들 정합 회로(M1-Mn)들에는 이중화 구성된 프로세서 블록(P11, P12)들이 연결되어 있다. 프로세서 블록(P11,P12)들은 도 1의 프로세서 블록과 동일한 구성을 가지며, 정합 회로(M1-Mn)와 연결되어 있다. 이하에서는 정합 회로(M1)와 연결되는 프로세서 블록(P11,P12)의 관계에 대하여 설명하나, 정합 회로(M2-Mn)들 역시 도시하지 않은 프로세서 블록과 동일한 관계가 있음은 본 발명의 기술 분야에서 통상의 지식을 가진 자는 용이하게 알 수 있을 것이다.2 illustrates a state in which the above-described processor block is duplexed and connected to the routing module 10, that is, a module for mediating communication. As shown, a plurality of matching circuits M1 -Mn are connected to the routing module 10, and redundant matching processor blocks P11 and P12 are connected to the matching circuits M1 -Mn. The processor blocks P11 and P12 have the same configuration as the processor block of FIG. 1 and are connected to the matching circuits M1-Mn. Hereinafter, the relationship between the processor blocks P11 and P12 connected to the matching circuit M1 will be described. However, the matching circuits M2-Mn also have the same relationship as the processor block (not shown). One of ordinary skill will readily know.

정합 회로(M1)는 도시된 바와 같이 두 개의 정합부(21,22)로 구성되며, 이들 정합부(21,22)들은 프로세서 블록(P11,P12)들과 교차 연결되어 있다. 여기서, 링크(AA)는 라인(Tx(A)) 및 (Rx(A))이 합쳐진 것을 의미하며, 링크(BA)는 라인 (Tx(B)) 및 (Rx(B))이 합쳐진 것을 의미한다. 즉, 프로세서 블록(P11)은 링크(AA)/또는 (BA)을 통하여 정합부(21 또는 22)와 연결되어 라우팅 모듈(10)과 통신하나, 통신중에 링크(AA)/또는 (BA)에 이상이 발생하면 통신 링크를 (BA)/또는 (AA)로 절체하므로써 라우팅 모듈(10)과 통신을 계속할 수 있다.As shown, the matching circuit M1 includes two matching parts 21 and 22, and the matching parts 21 and 22 are cross-connected with the processor blocks P11 and P12. Here, the link AA means that the lines Tx (A) and Rx (A) are combined, and the link BA means that the lines Tx (B) and Rx (B) are combined. do. In other words, the processor block P11 is connected to the matching unit 21 or 22 through the link AA / or BA to communicate with the routing module 10, but is in communication with the link AA / or BA during communication. If an abnormality occurs, communication with the routing module 10 can be continued by switching the communication link to (BA) / or (AA).

마찬가지로 프로세서 블록(P12)은 링크(AB)/또는 (BB)를 통하여 정합부(21,22)와 연결되어 라우팅 모듈(10)과 통신한다. 여기서, 링크(AB)는 는 라인(Tx(A) 및 (Rx(A))이 합쳐진 것을 의미하며, 링크(BB)는 라인 (Tx(B)) 및 (Rx(B))이 합쳐진 것을 의미한다. 프로세서 블록(P12)은 링크(AB)/또는 (BB)을 통한 통신중에 링크(AB)/또는 (BB)에 이상이 발생하면 통신 링크를 (BB)/또는 (AB)로 절체하므로써 라우팅 모듈(10)과 통신을 계속할 수 있다.In the same manner, the processor block P12 is connected to the matching units 21 and 22 through a link AB / or BB to communicate with the routing module 10. Here, the link AB means that the lines Tx (A) and Rx (A) are combined, and the link BB means that the lines Tx (B) and Rx (B) are combined. The processor block P12 routes the communication link to (BB) / or (AB) when an error occurs in the link (AB) / or (BB) during communication via the link (AB) / or (BB). Communication with module 10 may continue.

여기서, 프로세서 블록(P11,P12)들은 정합부(21),(22)를 통하여 이중화 구성되어 있는 상태이므로 프로세서 블록(P11,P12)들은 상호 이중화 절체가 가능함을 알 수 있다. 즉, 프로세서 블록(P111,P12)들은 선택적으로 액티브/스탠바이로 구동이 가능하다. 따라서, 프로세서 블록(P11,P12)들과 연결된 링크(AA, AB, BA, BB)들은 프로세서 블록(P11),(P12)들중 액티브 상태의 프로세서 블록 그리고, 액티브 상태의 프로세서 블록중 액티브 상태의 프로세서 블록과 연결된 링크(이하, 활성화 링크라 함)에 한하여 데이터 통신이 행하여지며, 활성화 링크를 제외한 나머지 링크를 통하여는 데이터 통신이 행하여지지 않는다. 활성화된 링크를 통해서만 데이터 통신이 행하여지므로 프로세서 블록(P11,P12)은 활성화된 링크의 정상 작동 여무를 판단할 수 있다. 즉, 활성화된 링크를 통하여 수신되는 데이터의 에러 여부 등을 이용하여 링크의 정상 작동 여부를 판단할 수 있는 것이다. 활성화된 링크(예컨데,AA)가 비 정상 작동하는 경우에 액티브 상태의 프로세서 블록(예컨데, P11)은 자신의 링크들중 비활성화된 링크(BA)를 활성화시키고, 활성화된 링크(BA)를 통하여 데이터 통신을 계속하여 행하며 , 이 경우에도 링크(BA)가 비 정상 작동하는 경우에는 스탠바이 상태의 프로세서 블록(P12)이 액티브 상태로 전환되어 다른 링크(예컨데 BA)를 통하여 라우팅 모듈(10)과 통신을 계속하여 행하게 된다.Here, since the processor blocks P11 and P12 are redundantly configured through the matching units 21 and 22, it can be seen that the processor blocks P11 and P12 are capable of mutually redundant switching. That is, the processor blocks P111 and P12 may be selectively driven in active / standby mode. Therefore, the links AA, AB, BA, and BB connected to the processor blocks P11 and P12 are in the active state among the processor blocks P11 and P12 and in the active state among the active processor blocks. Data communication is performed only on a link connected to the processor block (hereinafter referred to as an activation link), and data communication is not performed through the remaining links except the activation link. Since data communication is performed only through the activated link, the processor blocks P11 and P12 may determine whether the activated link is normally operated. That is, it is possible to determine whether the link is normally operated by using an error of data received through the activated link. In the event that an active link (eg AA) is in abnormal operation, the active processor block (eg P11) activates the inactive link BA of its own links and the data through the activated link BA. Communication continues, and in this case, when the link BA is abnormally operated, the processor block P12 in the standby state is switched to the active state to communicate with the routing module 10 through another link (for example, BA). Will continue.

상술한 설명에서 알 수 있는 바와 같이 종래의 이중화 링크에서 액티브 상태 즉, 활성화 상태의 링크는 통신중인 데이터의 에러 여부로서 링크의 이상 여부를 판단할 수 있으나, 비활성화 상태의 링크들은 링크의 이상 여부를 판단할 수 있는 방법이 없다. 따라서, 활성화 링크를 통한 통신중 링크의 이상으로 다른 링크를 활성화시킨 결과, 이 링크 역시 이상 동작하는 경우에는 다시 다른 링크를 활성화시켜야 하므로 링크의 절체 동작 및 프로세서 모듈의 액티브/스탠바이 절체 동작을 연속하여 수행하여 하는 경우가 발생하며, 이로 인하여 시스템 전체가 다운되는 경우가 발생할 수도 있다는 문제가 있었다.As can be seen from the above description, in a conventional redundant link, an active state, that is, an active state link, may determine whether the link is abnormal as an error of data being communicated, but the inactive link may determine whether the link is abnormal. There is no way to judge. Therefore, as a result of activating another link due to an abnormal link during communication through an active link, if another link malfunctions, the other link must be activated again. Therefore, the link switching operation and the active / standby switching operation of the processor module are continuously performed. There is a problem that it may occur, and this may cause the whole system to be down.

본 발명은 이러한 문제를 해결하기 위한 것으로서 본 발명의 목적은 이중화 구성의 링크들에서 액티브/ 스탠바이 상태의 링크의 이상 여부를 간단히 확인할 수 있는 장치를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to provide an apparatus capable of simply checking whether an active / standby link is abnormal in links of a redundant configuration.

이러한 목적을 달성하기 위하여 본 발명은, 라우팅 모듈과 제 1 및 제 2 링크를 통하여 이중화 구성되며, 상기 라우팅 모듈과 통신을 행하는 중앙 처리 장치를 갖는 제 1 및 제 2 프로세서 블록으로 구성된 이중화 링크 진단 장치에 있어서, 라우팅 모듈과 제 1 및 제 2 링크 사이에 연결되어 라우팅 모듈과 제 1 및 제 2 프로세서 블록간의 데이터 송수신을 정합하며, 루프 신호에 따라 제 1 및 제 2 링크를 통하여 제 1 및 제 2 프로세서 블록으로부터 제공되는 신호를 제 1 및 제 2 프로세서 블록으로 궤환시키는 루프 회로를 갖는 정합 회로를 더 구비하며; 제 1 및 제 2 프로세서 블록내에 제 1 링크의 이상 여부를 감시하는 제 1 링크 이상 검출 장치와, 제 2 링크의 이상 여부를 감시하는 제 2 링크 이상 검출 장치가 각각 구성되며, 제 1 및 제 2 링크 이상 검출 장치는 중앙 처리 장치의 제어에 따라 중앙 처리 장치와 제 1 및 제 2 링크간 데이터의 송수신 통로를 제공하고, 중앙 처리 장치의 제어에 따라 소정의 비트 패턴을 생성하여 제 1 및 제 2 링크에 제공하며 루프 신호를 루프 회로에 제공하고 궤환된 비트 패턴과 생성된 비트 패턴을 비교하여 제 1 및 제 2 링크의 이상 여부를 감지하여 중앙 처리 장치에 제공하도록 구성된다.In order to achieve the above object, the present invention provides a redundant link diagnosis apparatus comprising a first processor and a second processor block, which are redundantly configured through a routing module and first and second links, and having a central processing unit communicating with the routing module. A method comprising: connecting between a routing module and a first and a second link to match data transmission and reception between the routing module and the first and second processor blocks, and through the first and second links in accordance with a loop signal. A matching circuit having a loop circuit for returning a signal provided from the processor block to the first and second processor blocks; A first link abnormality detecting device for monitoring an abnormality of a first link and a second link abnormality detecting device for monitoring an abnormality of a second link are respectively configured in the first and second processor blocks. The link abnormality detection apparatus provides a transmission / reception path of data between the central processing unit and the first and second links under the control of the central processing unit, and generates a predetermined bit pattern under the control of the central processing unit to generate the first and second links. And provide the loop signal to the loop circuit and compare the feedback bit pattern with the generated bit pattern to detect an abnormality of the first and second links and provide it to the central processing unit.

도 1은 이중화 링크를 갖는 종래 프로세서 블록의 구성도,1 is a block diagram of a conventional processor block having a redundant link,

도 2는 라우팅 모듈에 프로세서 블록이 이중화된 상태를 도시한 도면,2 is a diagram illustrating a state in which a processor block is duplicated in a routing module;

도 3은 본 발명에 따른 이중화 링크 진단 장치의 개략 블록도,3 is a schematic block diagram of a redundant link diagnosis apparatus according to the present invention;

도 4는 본 발명에 따른 이중화 링크 진단 장치에 구성되는 루프 회로의 개념도,4 is a conceptual diagram of a loop circuit configured in the redundant link diagnosis apparatus according to the present invention;

도 5는 본 발명에 따른 이중화 링크 진단 장치내 링크 이상 검출 장치의 상세 블록도,5 is a detailed block diagram of a link failure detection apparatus in a redundant link diagnostic apparatus according to the present invention;

도 6은 본 발명에 따른 이중화 링크 진단 장치내 모드 레지스터에 저장되는 비트 내용의 일예를 도시한 도면.FIG. 6 is a diagram showing an example of bit contents stored in a mode register in a redundant link diagnosis apparatus according to the present invention; FIG.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

120 : 이상 모드 설정 회로 121 : 모드 레지스터120: abnormal mode setting circuit 121: mode register

122 : 타이머 130 : 비트 패턴 발생 회로122: timer 130: bit pattern generation circuit

131 : 비트 패턴 발생기 132 : 시프트 레지스터131: bit pattern generator 132: shift register

140 : 비교 회로 141 : 시프트 레지스터140: comparison circuit 141: shift register

142 : 비교기 150 : 인터럽트 발생 회로142: comparator 150: interrupt generation circuit

151 : 상태 레지스터 152 : 인터럽트 요구부151: status register 152: interrupt request unit

이하, 본 발명의 일 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 따른 프로세서 블럭(100)의 개략 블록도이다. 도시된 바와 같이 본 발명의 프로세서 블록(100)내에는 종래와 동일하게 중앙 처리 장치(101), 직렬 입출력 회로(102), 메모리(103) 및 버퍼(B1-B4)를 구비하고 있으며, 직렬 입출력 회로(102)와 버퍼(B1-B4) 사이에는 본 발명의 링크 이상 검출 장치(104)가 구성되어 있다. 링크 이상 검출 장치(104)는 도시된 바와 같이 A 링크 이상 검출 장치(105) 및 B 링크 이상 검출 장치(106)으로 구성된다.3 is a schematic block diagram of a processor block 100 in accordance with the present invention. As shown in the figure, the processor block 100 of the present invention includes a central processing unit 101, a serial input / output circuit 102, a memory 103, and buffers B1-B4 as in the prior art. Between the circuit 102 and the buffers B1-B4, the link failure detection device 104 of the present invention is configured. The link failure detection device 104 is composed of an A link failure detection device 105 and a B link failure detection device 106 as shown.

A/B링크 이상 검출 장치(105, 106)는 후술하는 바와 같이 중앙 처리 장치(101)로부터 어드레스, 데이터 및 제어 신호를 인가받아 이상 검출 모드/정상 모드로 동작한다. 정상 모드시에 A/B링크 이상 검출 장치(105),(106)는 중앙 처리 장치(101)로부터의 데이터들을 정상적으로 버퍼(B1),(B2)에 제공하고,버퍼(B3),(B4)로부터 제공되는 데이터들을 직렬 입출력 회로(102)에 저장하나, 이상 검출 모드시에 A/B링크 이상 검출 장치(105),(106)는 소정의 비트 패턴 정보 및 A/B 루프 신호를 발생, 출력한다. 비트 패턴 정보는 정합부(도 2에서의 M1-Mn중 어느 하나)를 통하여 궤환되어 다시 A/B 링크 이상 검출 장치(105),(106)에 제공되고, A/B 링크 이상 검출 장치(105),(106)는 궤환된 비트 패턴과 송출하였던 비트 패턴을 비교하여 서로 상이한 경우에는 링크의 이상 상태를 중앙 처리 장치(101)에 제공할 수 있다. 여기서, 상술한 바와 같이 링크 이상 검출 장치(105),(106)는 링크(A,B)별로 구성되어 있으며, A 링크 이상 검출 장치(105)는 링크(A)에 대한 데이터(TxD(A), RxD(A))의 송수신 및 비트 패턴 정보의 발생 및 비교를 행하며, A 루프 신호만을 선택적으로 출력함은 후술하는 설명으로부터 용이하게 알 수 있을 것이다 또한, B 링크 이상 검출 장치(106)는 링크(B)에 대한 데이터(TxD(B), RxD(B))의 송수신 및 비트 패턴 정보의 발생 및 비교를 행하며, B 루프 신호만을 선택적으로 출력함은 후술하는 설명으로부터 용이하게 알 수 있을 것이다The A / B link fault detection apparatuses 105 and 106 receive an address, data and a control signal from the central processing unit 101 and operate in the fault detection mode / normal mode as described later. In the normal mode, the A / B link abnormality detection device 105, 106 normally provides data from the central processing unit 101 to the buffers B1, B2, and buffers B3, B4. Data stored in the serial input / output circuit 102, but in the abnormality detection mode, the A / B link abnormality detection devices 105 and 106 generate and output predetermined bit pattern information and A / B loop signals. do. The bit pattern information is fed back through the matching unit (any one of M1-Mn in FIG. 2) and provided to the A / B link abnormality detecting apparatuses 105 and 106 again, and the A / B link abnormality detecting apparatus 105 is provided. ) And 106 may compare the feedback bit pattern with the transmitted bit pattern and provide the central processing unit 101 with an abnormal state of the link if they are different from each other. Here, as described above, the link abnormality detecting apparatuses 105 and 106 are configured for each of the links A and B, and the A link abnormality detecting apparatus 105 includes data about the link A (TxD (A)). , RxD (A)) transmits and receives, and generates and compares bit pattern information, and selectively outputs only the A loop signal. It will be readily understood from the following description that the B link abnormality detection device 106 provides a link. Transmitting and receiving data (TxD (B), RxD (B)) and generating and comparing bit pattern information for (B), and selectively outputting only the B loop signal will be easily understood from the following description.

A/B 링크 이상 검출 장치(105, 106)는 비트 패턴 정보의 발생 및 비교를 중앙 처리 장치(101)로부터의 제어에 따른 소정 주기를 갖고 행하여 소정 주기에 도달하면 즉, 비트 패턴 정보의 발생 시점에는 소정의 인터럽트 신호를 중앙 처리 장치(101)에 제공하므로서 중앙 처리 장치(101)가 데이터의 전송 즉, 라우팅 모듈로 데이터의 전송을 일시 정지하도록 한다.The A / B link abnormality detection apparatuses 105 and 106 perform generation and comparison of the bit pattern information with a predetermined period according to the control from the central processing unit 101, and when the predetermined period is reached, that is, when the bit pattern information occurs In the following, a predetermined interrupt signal is provided to the CPU 101 so that the CPU 101 temporarily suspends the data transmission, that is, the data transmission to the routing module.

상술한 설명에서 이상 검출 장치(104)는 이상 검출 모드시에 링크(A,B)의 이상 여부를 비트 패턴으로서 검출할 수 있는 것으로 설명되었으나, 이상 검출 모드는 상술한 바와 같이 링크(A, B)의 이상 여부를 검출하는 링크 이상 검출 모드와 이상 검출 장치(104) 보드의 내부의 이상 여부를 판단할 수 있는 보드내 이상 검출 모드로 작동할 수도 있으며, 보드내 이상 검출 모드에 대하여는 상세히 후술하였다.In the above description, it has been described that the abnormality detecting device 104 can detect whether the link A or B is abnormal in the abnormal detection mode as a bit pattern, but the abnormality detection mode is the link A and B as described above. It can also be operated in the link abnormality detection mode for detecting the abnormality of the board) and the in-board abnormality detection mode in which the abnormality of the board of the abnormality detection device 104 can be determined. .

A/B 루프 신호는 도 4에 도시된 바와 같이 정합부(200 : 도 3의 M1-Mn에 대응함)에 제공되며, 정합부(200)내에는 도시된 바와 같이 루프 회로(211)가 구성된다. 루프 회로(211)는 점선으로 도시된 바와 같이 라인(TA),(TB)를 통하여 입력된 데이터들을 다시 출력 라인(RA, RB)으로 귀환시키는 역할을 행하는 것으로서, A루프 신호가 제공되면 A 라인(TA)의 데이타(TxD(A))만을 궤환(RxD(A))시키고, B루프 신호가 제공되면 B라인(TB)의 데이타(TxD(B))을 궤환(RxD(B))시키도록 구성되어 있다.The A / B loop signal is provided to the matching unit 200 (corresponding to M1-Mn in FIG. 3) as shown in FIG. 4, and the loop circuit 211 is configured as shown in the matching unit 200. . The loop circuit 211 serves to return data inputted through the lines TA and TB back to the output lines RA and RB as shown by a dotted line. When the A loop signal is provided, the A line is provided. Only the data of TTA (TxD (A)) is fed back (RxD (A)), and if the B loop signal is provided, the data of the B line (TB) (TxD (B)) is fed back (RxD (B)). Consists of.

루프 회로(211)는 A/B루프 신호가 제공되지 않을 때에는 라인(TA),(TB)을 통하여 제공된 데이타를 수신하여 송신용 선입 선출 버퍼(212)를 통해 라우팅 모듈에 제공하며, 수신용 선입 선출 버퍼(213)를 통하여 제공되는 라우팅 모듈의 데이터를 수신하여 라인(RA),(RB)을 통하여 이상 검출 장치(104)에 제공한다.When the A / B loop signal is not provided, the loop circuit 211 receives the data provided through the lines TA and TB and provides the received data to the routing module through the first-in first-out buffer 212 for transmission. Data of the routing module provided through the selection buffer 213 is received and provided to the abnormality detection device 104 through the lines RA and RB.

도 5에는 상술한 A/B 링크 이상 검출 장치(105),(106)들중 A 링크 이상 검출 장치(105)의 상세 블록도가 도시되어 있다. 도시된 바와 같이 A 링크 이상 검출 장치(105)는 이상 모드 설정 회로(120), 비트 패턴 발생 회로(130), 비교 회로(140) 및 인터럽트 발생 회로(150)를 구비한다. 중앙 처리 장치(101)는 이러한 A 링크 이상 검출 장치(105)의 작동을 제어하기 위해 도 3에 도시된 바와 같이 제어 버스를통하여 어드레스, 데이터, 제어 신호를 링크 이상 검출 장치(105)에 제공한다. 여기서, 어드레스 신호는 링크 이상 검출 장치(105)내의 구성 요소들을 지정하기 위한 것이며, 데이터는 상술한 비트 패턴 또는 링크 이상 검출 장치(105)의 작동에 필요한 데이터들을 의미하고, 제어 신호는 링크 이상 검출 장치(105)내의 구성 요소에 데이터들의 저장/독취를 제어하기 위한 것임은 후술하는 설명으로부터 용이하게 알 수 있을 것이다.FIG. 5 shows a detailed block diagram of the A link failure detection device 105 among the above-described A / B link failure detection devices 105 and 106. As illustrated, the A-link abnormality detecting device 105 includes an abnormal mode setting circuit 120, a bit pattern generating circuit 130, a comparing circuit 140, and an interrupt generating circuit 150. The central processing unit 101 provides the link abnormality detecting device 105 with an address, data, and a control signal through the control bus as shown in FIG. 3 to control the operation of the A link abnormality detecting device 105. . Here, the address signal is for designating the components in the link abnormality detecting apparatus 105, and the data means the data necessary for the operation of the bit pattern or the link abnormality detecting apparatus 105 described above, and the control signal is the link abnormality detecting. It will be readily apparent from the following description that the purpose is to control the storage / reading of data in components within the device 105.

링크 이상 검출 장치(105)내의 이상 모드 설정 회로(120)는 모드 레지스터(121) 및 타이머(123)로 구성되어 있으며, 모드 레지스터(121)는 도 6에 도시된 바와 같이 비트 패턴을 궤환시킬 링크(A) 선택용 비트(b1), 링크(B) 선택용 비트(b2), 보드(105) 선택용 비트(b3), 보드 (106) 선택용 비트(b4), 타이머용 비트(b5) 및 인터럽트용 비트(b6)가 구성되며, 이러한 비트(b1-b6)들은 중앙 처리 장치(101)의 데이터에 의하여 선택적으로 인에이블된다. 즉, 비트(b1)가 인에이블 되었다는 것은 링크(A)가 선택되었다는 의미이며, 비트(b2)가 인에이블 되었다는 것은 링크(B)가 선택되었다는 의미이고, 비트(b3)가 인에이블되었다는 것은 보드(105) 즉, A 링크 이상 검출 장치가 선택되었다는 의미이고, 비트(b4)가 인에이블되었다는 것은 보드(106) 즉, B 링크 이상 검출 장치가 선택되었다는 의미이다. 또한, 비트(b5)가 인에이블 되었다는 것은 타이머(122)를 인에이블시키라는 의미이며, 비트(b6)가 인에이블되었다는 것은 이상 검출 모드를 수행하라는 의미이다.The abnormal mode setting circuit 120 in the link abnormality detecting apparatus 105 is composed of a mode register 121 and a timer 123, and the mode register 121 is a link for returning a bit pattern as shown in FIG. (A) bit (b1) for selection, bit (b2) for selecting link (B), bit (b3) for selecting board 105, bit (b4) for selecting board 106, bit (b5) for timer, and Interrupt bits b6 are configured, and these bits b1-b6 are selectively enabled by data of the central processing unit 101. That is, bit b1 enabled means that link A is selected, bit b2 enabled means that link B is selected, and bit b3 enabled is the board 105. That is, the A-link anomaly detection device is selected, and that bit b4 is enabled means that the board 106, that is, the B-link anomaly detection device, is selected. In addition, enabling bit b5 means enabling the timer 122, and enabling bit b6 means performing an abnormal detection mode.

또한, 모드 레지스터(121)에는 타이머(122)로부터 주기 신호가 제공되며, 모드 레지스터(121)는 상기 인터럽트용 비트(b6)가 인에이블되어 있고, 상기 비트(b1)가 인에이블되어 있을때에 A루프 신호를 도 4의 루프 회로(211)에 제공한다.In addition, a period signal is provided to the mode register 121 from the timer 122, and the mode register 121 is A when the interrupt bit b6 is enabled and the bit b1 is enabled. The loop signal is provided to the loop circuit 211 of FIG.

타이머(122)는 모드 레지스터(121)의 타이머용 비트(b5)가 인에이블되었을 때에 작동하며, 그 계수값은 중앙 처리 장치(101)에 의하여 제공된다. 타이머(122)는 중앙 처리 장치(101)의 계수값까지 내부 클럭이 계수되면 주기가 종료하였다는 주기 신호를 모드 레지스터(121) 및 인터럽트 발생 회로(150)의 인터럽트 요구부(152)에 제공한다.The timer 122 operates when the timer bit b5 of the mode register 121 is enabled, and its count value is provided by the central processing unit 101. The timer 122 provides the period register 121 and the interrupt request unit 152 of the interrupt generating circuit 150 when the internal clock is counted up to the count value of the central processing unit 101, indicating that the cycle has ended. .

비트 패턴 발생 회로(130)는 비트 패턴 발생기(131), 시프트 레지스터(132) 및 멀티플렉서(MUX11)로 구성되며, 비트 패턴 발생기(131)는 중앙 처리 장치(101)로부터의 비트 패턴을 저장하고, 이를 시프트 레지스터(132)에 제공한다.Bit pattern generator circuit 130 is composed of a bit pattern generator 131, a shift register 132 and a multiplexer (MUX11), the bit pattern generator 131 stores a bit pattern from the central processing unit 101, This is provided to the shift register 132.

시프트 레지스터(132)는 전송용 클럭(TxC)에 대응하여 비트 패턴을 순차적으로 멀티플렉서(MUX11)에 제공하며, 멀티플렉서(MUX11)의 다른 일단에는 직렬 입출력 회로(102)의 출력 데이터(TxD(A))가 제공된다. 멀티플렉서(MUX11)는 중앙 처리 장치(101)로부터의 제어에 따라 이들 신호 즉, 시프트 레지스터(132)의 비트 패턴 또는 출력 데이터(TxD(A))들중 하나를 선택하여 출력한다. 멀티플렉서(MUX11)로부터의 출력 데이터들은 링크(TA) 및 비교 회로(140)에 제공된다.The shift register 132 sequentially provides the bit pattern to the multiplexer MUX11 in response to the transmission clock TxC, and outputs the data TxD (A) of the serial input / output circuit 102 to the other end of the multiplexer MUX11. ) Is provided. The multiplexer MUX11 selects and outputs one of these signals, that is, the bit pattern of the shift register 132 or the output data TxD (A) under the control from the central processing unit 101. Output data from the multiplexer MUX11 is provided to the link TA and comparison circuit 140.

비교 회로(140)는 멀티플렉서(MUX12), 시프트 레지스터(141) 및 비교기(142)로 구성되며, 멀티플렉서(MUX12)는 링크(RA)로부터 제공되는 데이터 또는 멀티플렉서(MUX11)로부터 제공되는 데이터를 중앙 처리 장치(101)의 제어에 따라 선택하여시프트 레지스터(141)에 제공한다. 시프트 레지스터(141)는 멀티플렉서(MUX12)로부터의 데이터를 수신용 클럭(RxC)에 동기시켜 비교기(142)에 제공한다. 비교기(142)에는 시프트 레지스터(141) 및 비트 패턴 발생기(131)로부터의 데이터들이 제공되며, 비교기(142)는 이 두 블록으로부터의 데이터를 비교하여 동일 여부를 알리는 신호 즉, 이상/정상 여부 신호를 인터럽트 발생 회로(150)에 제공한다.The comparison circuit 140 is composed of a multiplexer MUX12, a shift register 141, and a comparator 142. The multiplexer MUX12 centrally processes data provided from the link RA or data provided from the multiplexer MUX11. Selected under control of the device 101 and provided to the shift register 141. The shift register 141 provides the data from the multiplexer MUX12 to the comparator 142 in synchronization with the reception clock RxC. The comparator 142 is provided with data from the shift register 141 and the bit pattern generator 131, and the comparator 142 compares the data from these two blocks to indicate whether they are the same, i.e., an abnormal / normal signal. To the interrupt generation circuit 150.

인터럽트 발생 회로(150)는 상태 레지스터(151) 및 인터럽트 요구부(152)를 구비하며, 상태 레지스터(151)는 비교기(142)의 이상/정상 여부 신호를 저장하며, 저장된 신호를 인터럽트 요구부(152) 및 중앙 처리 장치(101)에 제공한다. 인터럽트 요구부(152)는 타이머(122)로부터 주기 신호 및 이상/정상 여부 신호가 제공되면 중앙 처리 장치(101)에 인터럽트 신호를 제공한다.The interrupt generating circuit 150 includes a status register 151 and an interrupt requesting unit 152. The status register 151 stores an abnormal / normal signal of the comparator 142, and stores the stored signal in the interrupt requesting unit ( 152 and the central processing unit 101. The interrupt request unit 152 provides the interrupt signal to the central processing unit 101 when the periodic signal and the abnormal / normal status signal are provided from the timer 122.

이하에서는 상술한 구성을 갖는 본 발명의 작동에 대하여 상세히 설명한다.Hereinafter, the operation of the present invention having the above-described configuration will be described in detail.

먼저, 정상 모드의 경우 즉, 중앙 처리 장치(101)의 데이터(TxD(A))를 라우팅 모듈로 전송하고, 라우팅 모듈로부터의 데이터(RxD(A))를 메모리(101)에 수신, 저장하는 모드의 경우를 설명한다.First, in the normal mode, that is, the data TxD (A) of the central processing unit 101 is transmitted to the routing module, and the data RxD (A) from the routing module is received and stored in the memory 101. The case of a mode is demonstrated.

정상 모드의 경우에, 중앙 처리 장치(101)는 멀티플렉서(MUX11)를 제어하여 데이터(TxD(A))를 루프 회로(211)로 제공케 한다. 이때 A 링크 이상 검출 장치(105)는 디스에이블 상태가 되므로 A루프 신호는 루프 회로(211)에 제공되지 않으므로, 루프 회로(211)는 링크(TA)를 통하여 제공되는 데이터(TxD)를 버퍼(212)에 제공한다. 또한, 버퍼(213)를 통하여 제공되는 라우팅 모듈로부터의 데이터(RxD(A))는 링크 이상 검출 장치(105)의 라인(143)을 통하여 직렬 입출력 회로(102)에 제공된다.In the normal mode, the central processing unit 101 controls the multiplexer MUX11 to provide the data TxD (A) to the loop circuit 211. At this time, since the A-link abnormality detection device 105 is in a disabled state, the A-loop signal is not provided to the loop circuit 211, so that the loop circuit 211 buffers the data TxD provided through the link TA. 212). In addition, data RxD (A) from the routing module provided through the buffer 213 is provided to the serial input / output circuit 102 through the line 143 of the link failure detection device 105.

다음으로 이상 검출 모드의 경우를 보면, 이상 검출 모드는 상술한 바와 같이 링크 이상 검출 모드와 보드내 이상 검출 모드로 구분할 수 있으며, 링크 이상 검출 모드의 경우에 중앙 처리 장치(102)는 모드 레지스터(121)의 링크(A) 선택용 비트(b1), 타이머용 비트(b5) 및 인터럽트용 비트(b6)를 인에이블 시키고, 타이머(122)에 요구되는 시간 즉, 이상 검출 모드를 수행할 주기를 제공하며, 비트 패턴 발생기(131)에는 시험을 위한 소정의 비트 패턴을 제공하여 저장한다.Next, in the case of the abnormality detection mode, the abnormality detection mode can be divided into the link abnormality detection mode and the on-board abnormality detection mode as described above, and in the case of the link abnormality detection mode, the central processing unit 102 is a mode register ( The link A selection bit b1, the timer bit b5, and the interrupt bit b6 of the 121 are enabled, and a period of time required for the timer 122, that is, a period for performing the abnormal detection mode is set. The bit pattern generator 131 provides and stores a predetermined bit pattern for a test.

상술한 과정에 의하여 모드 레지스터(121)의 비트(b5)가 인에이블됨에 따라 타이머(122)는 구동을 개시하며 중앙 처리 장치(101)에 의하여 설정된 소정 시간이 경과하면 주기 신호를 상태 레지스터(151) 및 인터럽트 요구부(152)에 제공한다. 인터럽트 요구부(152)는 주기 신호에 대응하여 인터럽트 신호를 중앙 처리 장치(101)에 제공하여 중앙 처리 장치(101)로 하여금 데이터(TxD(A))의 송출을 잠시 중단하도록 한다. 또한, 중앙 처리 장치(101)는 인터럽트 신호에 대응하여 멀티플렉서(MUX11)로 하여금 시프트 레지스터(132)의 출력을 루프 회로(211)에 제공하도록 제어하며, 멀티플렉서(MUX12)로 하여금 루프 회로(211)의 데이터를 시프트 레지스터(141)에 제공하도록 제어한다.As the bit b5 of the mode register 121 is enabled by the above-described process, the timer 122 starts driving, and when the predetermined time set by the central processing unit 101 elapses, the cycle signal is sent to the status register 151. And the interrupt request unit 152. The interrupt request unit 152 provides the interrupt signal to the central processing unit 101 in response to the periodic signal to cause the central processing unit 101 to temporarily stop the transmission of the data TxD (A). In addition, the central processing unit 101 controls the multiplexer MUX11 to provide the output of the shift register 132 to the loop circuit 211 in response to the interrupt signal, and causes the multiplexer MUX12 to perform the loop circuit 211. Control is provided to the shift register 141.

또한, 타이머(122)의 주기 신호에 응하여 모드 레지스터(121)는 비트(b1)의 인에이블 상태에 따라 A루프 신호를 루프 회로(211)에 제공하므로서 루프 회로(211)는 링크(TA)로부터 제공되는 신호를 링크(RA)로 궤환시켜 다시 링크 이상 검출 장치(105)에 제공하도록 한다.In addition, in response to the periodic signal of the timer 122, the mode register 121 provides the A loop signal to the loop circuit 211 according to the enable state of the bit b1, so that the loop circuit 211 is disconnected from the link TA. The provided signal is fed back to the link RA to be provided to the link failure detection device 105 again.

이때, 비트 패턴 발생기(131)에는 중앙 처리 장치(101)로부터 소정의 비트 패턴이 제공되며, 비트 패턴 발생기(131)는 제공된 비트 패턴을 시프트 레지스터(132)에 제공한다. 시프트 레지스터(132)는 이 비트 패턴을 클럭(TxC)에 동기되어 멀티플렉서(MUX11)에 제공하므로 비트 패턴은 루프 회로(211)를 통하여 다시 멀티플렉서(MUX12)에 제공된다. 멀티플렉서(MUX12)는 중앙 처리 장치(101)의 제어에 따라 이 비트 패턴을 순차적으로 비교기(142)에 제공한다. 비교기(142)의 다른 일단에는 비트 패턴 발생기(131)의 비트 패턴이 제공되고 있으며, 비교기(142)는 시프트 레지스터(141)의 비트 패턴과 비트 패턴 발생기(131)의 비트 패턴을 비교하여 이상/정상 여부 신호를 상태 레지스터(151)에 저장한다. 즉, 비교한 두 패턴이 서로 상이한 경우에는 이상 신호를 상태 레지스터(151)에 제공하나, 두 패턴이 서로 동일한 경우에는 정상 신호를 상태 레지스터(151)에 제공한다.In this case, the bit pattern generator 131 is provided with a predetermined bit pattern from the central processing unit 101, and the bit pattern generator 131 provides the provided bit pattern to the shift register 132. Since the shift register 132 provides this bit pattern to the multiplexer MUX11 in synchronization with the clock TxC, the bit pattern is provided to the multiplexer MUX12 again through the loop circuit 211. The multiplexer MUX12 sequentially provides the bit pattern to the comparator 142 under the control of the central processing unit 101. The other end of the comparator 142 is provided with a bit pattern of the bit pattern generator 131, and the comparator 142 compares the bit pattern of the shift register 141 with the bit pattern of the bit pattern generator 131 to determine whether the bit pattern is abnormal / The normal status signal is stored in the status register 151. That is, when the two compared patterns are different from each other, the abnormal signal is provided to the status register 151. However, when the two patterns are the same, the normal signal is provided to the status register 151.

상태 레지스터(151)의 이상/정상 여부 신호는 인터럽트 요구부(152)에 제공되며, 인터럽트 요구부(152)는 이상 신호가 제공될 때에 인터럽트 신호를 다시 중앙 처리 장치(101)에 제공한다. 즉, 인터럽트 요구부(152)는 타이머(122)로부터 주기 신호가 제공될 때 그리고 상태 레지스터(151)로부터 이상 신호가 제공될 때에 중앙 처리 장치(101)에 인터럽트 신호를 제공하는 것이다.The abnormal / normal status signal of the status register 151 is provided to the interrupt request unit 152, and the interrupt request unit 152 provides the interrupt signal back to the central processing unit 101 when the abnormal signal is provided. That is, the interrupt request unit 152 provides the interrupt signal to the central processing unit 101 when the periodic signal is provided from the timer 122 and when the abnormal signal is provided from the status register 151.

이러한 인터럽트 신호가 발생하면 중앙 처리 장치(10)는 상태 레지스터(151)내의 정보를 독출하므로써 링크의 이상 상태인지 또는 타이머의 주기 신호에 의한 인터럽트 상태인지를 알 수 있다. 즉, 중앙 처리 장치(101)는 인터럽트 신호가 제공되면, 상태 레지스터(151)내의 정보를 독출하여 링크의 이상 신호가 저장되어 있는 경우에는 링크의 시험 결과 이상이 발생하였음을 알 수 있으며, 상태 레지스터(161)내에 정상 신호가 저장되어 있는 경우에는 타이머(122)의 주기 신호에 의한 인터럽트 상태로 파악하고 멀티플렉서(MUX11)의 입력을 시프트 레지스터(132)의 신호로 선택하는 것이다.When such an interrupt signal is generated, the central processing unit 10 reads the information in the status register 151 to determine whether the link is in an abnormal state or an interrupt state due to a timer cycle signal. That is, when the interrupt signal is provided, the central processing unit 101 reads the information in the status register 151, and if the abnormal signal of the link is stored, the central processing unit 101 may know that an abnormality has occurred in the test result of the link. In the case where the normal signal is stored in 161, it is regarded as the interrupt state caused by the periodic signal of the timer 122, and the input of the multiplexer MUX11 is selected as the signal of the shift register 132.

상술한 설명으로부터 알 수 있는 바와 같이 링크 이상 검출 모드에서는 비트 패턴 발생기(131)로부터의 비트 패턴이 루프 회로(211)를 통하여 다시 궤환되고, 궤환된 비트 패턴이 원래의 비트 패턴 즉, 비트 패턴 발생기(131)의 비트 패턴과 일치하는가를 판단하여 링크의 이상 여부를 간단히 검출할 수 있다.As can be seen from the above description, in the link abnormality detection mode, the bit pattern from the bit pattern generator 131 is fed back through the loop circuit 211, and the returned bit pattern is the original bit pattern, that is, the bit pattern generator. It is possible to easily detect whether a link is abnormal by determining whether it matches the bit pattern of 131.

다음으로 보드내 이상 검출 모드를 살펴보면, 중앙 처리 장치(101)는 모드 레지스터(121)의 보드(105) 선택용 비트(b3), 타이머용 비트(b5) 및 인터럽트용 비트(b6)를 인에이블 시키고, 타이머(122)에 필요한 시간 즉, 이상 여부를 체킹하고자자 하는 주기 시간을 제공하며, 비트 패턴 발생기(131)에는 시험을 위한 소정의 비트 패턴을 제공하여 저장한다.Next, referring to the on-board abnormality detection mode, the central processing unit 101 enables the board 105 selection bit b3, the timer bit b5, and the interrupt bit b6 in the mode register 121. In addition, a time required for the timer 122, that is, a cycle time to check whether there is an abnormality, is provided, and the bit pattern generator 131 provides and stores a predetermined bit pattern for a test.

상술한 과정에 의하여 모드 레지스터(121)의 비트(b5)가 인에이블됨에 따라 타이머(122)는 구동을 개시하며 설정된 소정 시간이 경과하면 주기 신호를 상태 레지스터(151) 및 인터럽트 요구부(152)에 제공한다. 인터럽트 요구부(152)는 주기 신호에 대응하여 인터럽트 신호를 중앙 처리 장치(101)에 제공하므로써 중앙 처리 장치(101)는 보드내 이상 검출 모드를 개시하여 데이터(TxD(A))의 송출을 잠시 중단한다. 또한, 중앙 처리 장치(101)는 인터럽트 신호에 대응하여 멀티플렉서(MUX11)로 하여금 시프트 레지스터(132)의 출력을 루프 회로(211)에 제공하도록 제어하며, 멀티플렉서(MUX12)로 하여금 멀티플렉서(MUX11)의 데이터를 시프트 레지스터(141)에 제공하도록 제어한다.As the bit b5 of the mode register 121 is enabled by the above-described process, the timer 122 starts driving, and when a predetermined time elapses, the cycle signal is sent to the status register 151 and the interrupt request unit 152. To provide. The interrupt request unit 152 provides the interrupt signal to the central processing unit 101 in response to the periodic signal so that the central processing unit 101 starts the on-board abnormality detection mode to temporarily transmit the data TxD (A). Stop. Further, the central processing unit 101 controls the multiplexer MUX11 to provide the output of the shift register 132 to the loop circuit 211 in response to the interrupt signal, and causes the multiplexer MUX12 to control the multiplexer MUX11. Control to provide data to the shift register 141.

따라서, 시프트 레지스터(141)의 비트 패턴은 비교기(142)를 통하여 비트 패턴 발생기(131)의 비트 패턴과 비교되고, 이상/정상 여부 신호가 상태 레지스터(151)에 제공된다. 상태 레지스터(151)의 이상/정상 여부 신호는 링크 이상 검출 모드에서와 동일하게 인터럽트 요구부(152)에 제공되므로, 인터럽트 요구부(152)는 인터럽트 신호를 중앙 처리 장치(101)에 인터럽트 신호를 제공하고, 중앙 처리 장치(101)는 이 인터럽트 신호에 따라 상태 레지스터(151)내의 정보를 독출하여 보드내 이상 상태 여부를 판단할 수 있다.Accordingly, the bit pattern of the shift register 141 is compared with the bit pattern of the bit pattern generator 131 through the comparator 142, and an abnormal / normal signal is provided to the status register 151. Since the abnormal / normal status signal of the status register 151 is provided to the interrupt request unit 152 as in the link fault detection mode, the interrupt request unit 152 sends an interrupt signal to the central processing unit 101. The central processing unit 101 can read the information in the status register 151 according to the interrupt signal to determine whether there is an abnormal state in the board.

상술한 설명으로부터 알 수 있는 바와 같이 보드내 이상 검출 모드에서는 링크 이상 모드와 동일하게 작동하나 다만 멀티플렉서(MUX12)로 하여금 멀티플렉서(MUX11)의 비트 패턴을 비교기(142)에 제공하는 것이 상이하다.As can be seen from the above description, the on-board abnormality detection mode operates in the same manner as the link abnormality mode, except that the multiplexer MUX12 provides the bit pattern of the multiplexer MUX11 to the comparator 142.

이와 같이 본 발명에서는 라우팅 모듈과 통신하는 이중화 프로세서 블록들에 링크의 이상 여부를 검사할 수 있는 링크 이상 검출 장치를 구성하므로써, 액티브 및 스탠바이 링크의 이상 여부를 간단히 검사할수 있으며, 특히 링크 이상 검출 장치의 이상 여부를 간단히 검사할 수 있다는 효과가 있다.As described above, in the present invention, by configuring a link abnormality detecting apparatus capable of inspecting a link abnormality in the redundant processor blocks communicating with the routing module, it is possible to simply check whether the active and standby links are abnormal, and in particular, the link abnormality detecting apparatus. There is an effect that can be easily checked for abnormalities.

Claims (7)

라우팅 모듈과 제 1 및 제 2 링크를 통하여 이중화 구성되며, 상기 라우팅 모듈과 통신을 행하는 중앙 처리 장치를 갖는 제 1 및 제 2 프로세서 블록으로 구성된 이중화 링크 진단 장치에 있어서,10. A redundant link diagnostic apparatus comprising first and second processor blocks redundantly configured through a routing module and first and second links and having a central processing unit communicating with the routing module. 상기 라우팅 모듈과 상기 제 1 및 제 2 링크 사이에 연결되어 상기 라우팅 모듈과 상기 제 1 및 제 2 프로세서 블록간의 데이터 송수신을 정합하며, 루프 신호에 따라 상기 제 1 및 제 2 링크를 통하여 상기 제 1 및 제 2 프로세서 블록으로부터 제공되는 신호를 상기 제 1 및 제 2 프로세서 블록으로 궤환시키는 루프 회로를 갖는 정합 회로를 더 구비하며;Connected between the routing module and the first and second links to match data transmission and reception between the routing module and the first and second processor blocks, the first through the first and second links in accordance with a loop signal; And a matching circuit having a loop circuit for feedbacking a signal provided from a second processor block to the first and second processor blocks; 상기 제 1 및 제 2 프로세서 블록내에 상기 제 1 링크의 이상 여부를 감시하는 제 1 링크 이상 검출 장치와, 상기 제 2 링크의 이상 여부를 감시하는 제 2 링크 이상 검출 장치가 각각 구성되며, 상기 제 1 및 제 2 링크 이상 검출 장치는 상기 중앙 처리 장치의 제어에 따라 상기 중앙 처리 장치와 상기 제 1 및 제 2 링크간 데이터의 송수신 통로를 제공하고, 상기 중앙 처리 장치의 제어에 따라 소정의 비트 패턴을 생성하여 상기 제 1 및 제 2 링크에 제공하며 상기 루프 신호를 상기 루프 회로에 제공하고 상기 궤환된 비트 패턴과 상기 생성된 비트 패턴을 비교하여 상기 제 1 및 제 2 링크의 이상 여부를 감지하여 상기 중앙 처리 장치에 제공하도록 구성된 이중화 링크 진단 장치.A first link failure detection device configured to monitor an abnormality of the first link and a second link failure detection device configured to monitor an abnormality of the second link are respectively configured in the first and second processor blocks. The first and second link abnormality detection apparatuses provide a passage for transmitting and receiving data between the central processing unit and the first and second links according to the control of the central processing unit, and the predetermined bit pattern according to the control of the central processing unit. Generates and provides the first and second links, provides the loop signal to the loop circuit, compares the feedbacked bit pattern with the generated bit pattern, and detects whether the first and second links are abnormal. Redundant link diagnostic device configured to provide to the central processing unit. 제 1 항에 있어서,The method of claim 1, 상기 제 1 및 제 2 링크 이상 검출 장치는,The first and second link failure detection device, 상기 중앙 처리 장치의 제어에 따라 상기 비트 패턴을 생성하고, 생성된 비트 패턴을 상기 제 1 및 제 2 링크 이상 검출 장치내에서 궤환시키고, 궤환된 비트 패턴과 상기 생성된 비트 패턴을 비교하여 상기 제 1 및 제 2 링크 이상 검출 장치의 이상 여부를 각각 감지하여 상기 중앙 처리 장치에 제공하도록 구성된 이중화 링크 진단 장치.The bit pattern is generated according to the control of the central processing unit, and the generated bit pattern is feedback in the first and second link abnormality detection devices, and the feedback bit pattern is compared with the generated bit pattern. And a redundant link diagnosis device configured to detect an abnormality of the first and second link failure detection devices and provide the same to the central processing unit. 제 2 항에 있어서,The method of claim 2, 상기 제 1 및 제 2 링크 이상 검출 장치는,The first and second link failure detection device, 상기 중앙 처리 장치의 제어에 따라 링크 이상 검출 모드 및 보드내 이상 모 검출 모드를 소정 주기 마다 설정하여 상기 루프 신호를 선택적으로 출력하는 상기 이상 모드 설정 회로와;The abnormal mode setting circuit for selectively outputting the loop signal by setting a link abnormality detection mode and an on-board abnormality detection mode every predetermined period according to the control of the central processing unit; 상기 중앙 처리 장치로부터의 비트 패턴을 제공받아 상기 비트 패턴을 순차적으로 생성하며, 상기 비트 패턴 및 상기 프로세서 블록의 데이터를 상기 제 1/제 2 링크를 통하여 출력하는 비트 패턴 발생 회로와;A bit pattern generation circuit receiving the bit pattern from the central processing unit and sequentially generating the bit pattern, and outputting the bit pattern and data of the processor block through the first / second link; 상기 제 1/제 2링크를 통하여 제공되는 데이터를 상기 제 1/제2프로세서 블록으로 제공하며, 상기 비트 패턴 발생 회로의 비트 패턴과 상기 제 1/제 2 링크를 통하여 제공되는 데이터를 비교하여 이상/정상 여부 신호를 출력하는 비교 회로와;The data provided through the first / second link is provided to the first / second processor block, and the bit pattern of the bit pattern generation circuit is compared with the data provided through the first / second link. A comparison circuit for outputting a normal status signal; 상기 이상/정상 여부 신호에 따라 상기 중앙 처리 장치에 인터럽트 신호를제공하여 상기 중앙 처리 장치로 하여금 상기 이상/정상 여부 신호를 체킹하도록 하는 인터럽트 발생 회로를 구비하는 이중화 링크 진단 장치.And an interrupt generating circuit for providing an interrupt signal to the central processing unit according to the abnormal / normal signal to cause the central processing unit to check the abnormal / normal signal. 제 3 항에 있어서, 상기 이상 모드 설정 회로는,The circuit of claim 3, wherein the abnormal mode setting circuit comprises: 상기 중앙 처리 장치로부터 링크 이상 검출 모드 및 보드내 이상 검출 모드 및 타이머 인에이블 모드의 정보를 입력하여 저장하는 모드 레지스터와;A mode register for inputting and storing information of a link abnormality detection mode, an on-board abnormality detection mode, and a timer enable mode from the central processing unit; 상기 모드 레지스터의 타이머 인에이블 정보에 따라 구동하여 상기 중앙 처리 장치로부터의 시간값까지 계수하여 상기 주기 신호를 출력하는 타이머로 구성된 이중화 링크 진단 장치.And a timer for driving according to the timer enable information of the mode register and counting the time value from the central processing unit to output the periodic signal. 제 4 항에 있어서, 상기 비트 패턴 발생 회로는,The circuit of claim 4, wherein the bit pattern generation circuit comprises: 상기 중앙 처리 장치로부터의 비트 패턴을 연속하여 생성 출력하는 비트 패턴 발생기와;A bit pattern generator for continuously generating and outputting a bit pattern from the central processing unit; 상기 비트 패턴 발생기의 비트 패턴을 입력하여 순차 출력하는 제 1 시프트 레지스터와;A first shift register configured to input and sequentially output the bit pattern of the bit pattern generator; 상기 상기 중앙 처리 장치의 제어에 따라 상기 프로세서 블록의 데이터 또는 상기 제 1 시프트 레지스터의 비트 패턴을 상기 제1/제 2 링크에 제공하므로써 상기 루프 회로에 공급하는 제 1 멀티플렉서를 구비하는 이중화 링크 진단 장치.A redundancy link diagnostic apparatus having a first multiplexer which supplies data of the processor block or bit patterns of the first shift register to the first / second link to the loop circuit under control of the central processing unit . 제 5 항에 있어서, 상기 비교 회로는,The method of claim 5, wherein the comparison circuit, 상기 제 1/제 2 링크로 수신되는 상기 루프 회로의 데이터 또는 상기 제 1 멀티플렉서의 출력을 상기 중앙 처리 장치의 제어에 따라 선택 출력하는 제 2 멀티플렉서와;A second multiplexer for selectively outputting data of the loop circuit or an output of the first multiplexer received through the first / second link under the control of the central processing unit; 상기 멀티플렉서의 출력을 순차 출력하는 제 2 시프트 레지스터와;A second shift register for sequentially outputting the output of the multiplexer; 상기 비트 패턴 발생기와 상기 제 2 시프트 레지스터의 출력을 비교하여 이상/정상 여부 신호를 제공하는 비교기를 구비하는 이중화 링크 진단 장치.And a comparator for comparing an output of the bit pattern generator and the output of the second shift register to provide an abnormal / normal signal. 제 6 항에 있어서, 상기 인터럽트 발생 회로는,The circuit of claim 6, wherein the interrupt generation circuit comprises: 상기 비교기로부터의 이상/정상 여부 신호를 저장하는 상태 레지스터와;A status register for storing an abnormal / normal signal from the comparator; 상기 상태 레지스터내의 이상/정상 여부 신호 및 상기 타이머의 주기 신호에 따라 상기 중앙 처리 장치에 인터럽트 신호를 제공하는 인터럽트 요구부를 구비하며,An interrupt request unit for providing an interrupt signal to the central processing unit according to an abnormality / normal status signal in the status register and a periodic signal of the timer; 상기 중앙 처리 장치는 상기 인터럽트 신호에 따라 상기 상태 레지스터의 이상/정상 여부 신호에 의하여 링크/보드내의 이상 여부를 감지하며, 출력 데이터의 송신을 선택적으로 일시 정지하도록 구성된 이중화 링크 진단 장치.And the central processing unit is configured to detect an abnormality in a link / board by an abnormality / normality signal of the status register according to the interrupt signal, and to selectively pause transmission of output data.
KR1019990067747A 1999-12-31 1999-12-31 Apparatus for dual link KR20010066161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990067747A KR20010066161A (en) 1999-12-31 1999-12-31 Apparatus for dual link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990067747A KR20010066161A (en) 1999-12-31 1999-12-31 Apparatus for dual link

Publications (1)

Publication Number Publication Date
KR20010066161A true KR20010066161A (en) 2001-07-11

Family

ID=19634845

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990067747A KR20010066161A (en) 1999-12-31 1999-12-31 Apparatus for dual link

Country Status (1)

Country Link
KR (1) KR20010066161A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0799531A (en) * 1993-09-28 1995-04-11 Nec Corp Path monitor system
JPH08139731A (en) * 1994-11-08 1996-05-31 Fujitsu Ltd Duplex transmission system switching method
KR19980032722U (en) * 1996-12-04 1998-09-05 정장호 Dish-Bus Loopback Test System on Link Board of Electronic Switching System
JPH10303913A (en) * 1997-04-25 1998-11-13 Hitachi Ltd Path switching system in atm network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0799531A (en) * 1993-09-28 1995-04-11 Nec Corp Path monitor system
JPH08139731A (en) * 1994-11-08 1996-05-31 Fujitsu Ltd Duplex transmission system switching method
KR19980032722U (en) * 1996-12-04 1998-09-05 정장호 Dish-Bus Loopback Test System on Link Board of Electronic Switching System
JPH10303913A (en) * 1997-04-25 1998-11-13 Hitachi Ltd Path switching system in atm network

Similar Documents

Publication Publication Date Title
US6035416A (en) Method and apparatus for interface dual modular redundancy
CN117785614A (en) Fault monitoring and switching method for dual-redundancy computer
KR20010066161A (en) Apparatus for dual link
JP2010238000A (en) Device for bus connection/disconnection of module
KR100299673B1 (en) How to test standby link of interprocessor communication device
KR100333484B1 (en) Fault tolerance control system with duplicated data channel by a method of concurrent writes
JPS6032374B2 (en) data transmission equipment
KR0152229B1 (en) Low price duplication node
KR930006863B1 (en) Supervising circuit for a receiving bus
KR930006862B1 (en) Triple modular redundency method
KR100279714B1 (en) Clock generator device
KR920009097B1 (en) Maintenance apparatus for signal terminal group of common line signal device
KR930011202B1 (en) Control operations sending and receiving circuit
KR100388979B1 (en) Inter-processor communication signal analysis device
KR0161163B1 (en) The duplex architecture for global bus about duplex gate-way mode in the full electronic switching system
KR100279930B1 (en) Method and apparatus for standby path test in interprocessor communication
KR930006894B1 (en) Signal terminal group matching circuit
JP2737294B2 (en) Duplex receiver
JPH08163162A (en) Loop type data transmitter
JP3291729B2 (en) Redundant computer system
JP2004334548A (en) Failure monitoring system for distributed supervisory control system
KR100606888B1 (en) Apparatus and Method to Duplicate Controlling Digital Tranceiver Board in Mobile Communication System
JPS58105649A (en) Data trnsmitting method for double loop-like trasnmission system
JPH04172723A (en) Communication transmission system
JP2022131114A (en) Diagnostic device for communication cable and diagnostic method for communication cable

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E601 Decision to refuse application