KR100425580B1 - Asynchronous transfer mode switch and automatic switching method thereof - Google Patents

Asynchronous transfer mode switch and automatic switching method thereof Download PDF

Info

Publication number
KR100425580B1
KR100425580B1 KR10-2001-0050311A KR20010050311A KR100425580B1 KR 100425580 B1 KR100425580 B1 KR 100425580B1 KR 20010050311 A KR20010050311 A KR 20010050311A KR 100425580 B1 KR100425580 B1 KR 100425580B1
Authority
KR
South Korea
Prior art keywords
switch
switch board
input
switching
output
Prior art date
Application number
KR10-2001-0050311A
Other languages
Korean (ko)
Other versions
KR20030017683A (en
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 KR10-2001-0050311A priority Critical patent/KR100425580B1/en
Publication of KR20030017683A publication Critical patent/KR20030017683A/en
Application granted granted Critical
Publication of KR100425580B1 publication Critical patent/KR100425580B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/104Asynchronous transfer mode [ATM] switching fabrics
    • H04L49/105ATM switching elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 이중화된 에이티엠 스위치를 구성하는 두 스위치 보드들간의 자동 절체 장치 및 방법에 관한 것으로, 에이티엠 스위치를 위한 자동 절체 장치는 사용자측에 연결된 복수 개의 라인카드; 상기 라인 카드로부터 입력된 데이터 패킷을 스위칭 하는 동작 모드 및 상기 스위칭을 수행하지 않는 대기 모드 중 서로 다른 어느 하나의 모드를 가지는 제 1 및 제 2 스위치 보드; 및 상기 제 1 및 제 2 스위치 보드와 상기 라인카드 사이에서 상기 데이터 패킷 및 복수 개의 제어 명령들을 전달하는 백플레인을 포함한다. 상기 제 1 및 제 2 스위치 보드들은 상기 동작 모드에 있는 스위치 보드에 장애가 검출될 때, 상기 보드들의 입력에 대한 절체와 출력에 대한 절체를 각각 단계적으로 수행한다. 그리고, 에이티엠 스위치를 위한 자동 절체 방법은, 제 1 스위치 보드에 장애가 검출되었는지 여부를 판별하는 단계; 상기 제 1 스위치 보드에 장애가 검출된 경우, 상기 제 1 및 제 2 스위치 보드들의 입력에 대한 절체를 수행하는 단계; 및 상기 제 1 및 제 2 스위치 보드들의 출력에 대한 절체를 수행하는 단계를 포함한다.The present invention relates to an automatic switching device and method between two switch boards constituting a redundant AMT switch, the automatic switching device for an AT switch comprises a plurality of line cards connected to the user side; First and second switch boards having any one of an operation mode for switching a data packet input from the line card and a standby mode in which the switching is not performed; And a backplane transferring the data packet and a plurality of control commands between the first and second switch boards and the line card. When the first and second switch boards detect a failure in the switch board in the operation mode, the switching of the inputs of the boards and the switching of the outputs are performed step by step. The automatic switching method for the AT switch may include determining whether a failure is detected in the first switch board; Performing a switchover to inputs of the first and second switch boards when a failure is detected in the first switch board; And performing switching to the outputs of the first and second switch boards.

Description

에이티엠 스위치 및 그것의 자동 절체 방법{Asynchronous transfer mode switch and automatic switching method thereof}AMT switch and its automatic switching method {Asynchronous transfer mode switch and automatic switching method

본 발명은 ATM(Asynchronous Transfer Mode) 스위치의 자동 절체에 관한 것으로, 특히 이중화된 ATM 스위치를 구성하는 두 스위치 보드들간의 자동 절체 장치 및 방법에 관한 것이다.The present invention relates to automatic switching of an Asynchronous Transfer Mode (ATM) switch, and more particularly, to an automatic switching device and a method between two switch boards constituting a redundant ATM switch.

디지털 기술이 발달함에 따라 ATM 통신 및 ATM 스위치 네트워크가 점차 대중화되고 있다. ATM 스위치는, 동기적인 스위칭 동작을 수행하는 S-1240 디지털 스위치와 달리 비동기적인 스위칭 동작을 수행하며, 기존의 아날로그, 디지털, 패킷통신방식을 동시에 수용하는 통합통신방식을 지원한다. ATM 스위치는 특히 고속 동작이 가능하기 때문에 주로 155Mbps이상의 디지털 신호를 다루는 B-ISDN용 교환기로 사용된다.With the development of digital technology, ATM communication and ATM switch networks are becoming more and more popular. Unlike the S-1240 digital switch, which performs a synchronous switching operation, the ATM switch performs an asynchronous switching operation and supports an integrated communication method that simultaneously accommodates existing analog, digital, and packet communication methods. ATM switches are particularly used as exchangers for B-ISDN, which handle digital signals above 155Mbps because of their high-speed operation.

이와 같은 ATM 스위치를 사용하는 공중 교환 시스템은, 그것의 운용 시간 동안 서비스의 중단 없이 동작해야만 한다. 그러나, ATM 스위치를 구성하는 부품은 고장이 발생할 가능성을 가지고 있기 때문에, 부품에 고장이 발생하더라도 신뢰성 있고 안정성 있는 서비스를 제공할 수 있는 방안이 요구된다. 이를 위해 일본국 특개평 4-276941호 및 대한민국 특허 등록번호 10-0237398호 등에서는 ATM 스위치를 이중화하여 운용한다.A public switched system using such an ATM switch must operate without interruption of service during its operating time. However, since the components constituting the ATM switch have a possibility of failure, there is a need for a method capable of providing a reliable and stable service even if a component fails. For this purpose, Japanese Patent Laid-Open No. 4-276941 and Korean Patent Registration No. 10-0237398 are used to dualize the ATM switch.

먼저, 일본국 특개평 4-276941호에 개시된 ATM 스위치는 평상시에는 인터페이스를 통해 입력된 셀을 유효셀 축적버퍼나 무효셀 삽입회로를 거치지 않고 통과시킨다. 그리고, 절체요구가 발생하면, 유효셀을 유효셀 축적버퍼에 축적시킴과 동시에 무효셀 삽입회로로 무효셀을 삽입하여 특정 패턴의 유효셀을 발생하고, 이를 이중화된 스위치 보드로 입력한다. 그 후, 특정 패턴의 유효셀이 스위치 보드로부터 라인카드로 입력되는 것이 검출되면, 선택기에 의해 스위치 보드가 절체된다. 이 때, 출력 셀에 포함된 무효셀은 무효셀 제거회로에 의해 제거된 후 인터페이스를 통해 출력된다. 이와 같은 동작을 수행하는 상기 기술은 유효셀 축적버퍼, 무효셀 삽입회로, 무효셀 검출회로, 무효셀 제거회로 등과 같은 부가 회로가 ATM 스위치의 입출력 포트 수에 비례하여 구비되어야만 한다. 따라서, 각 라인카드별로 필요로 하는 부가회로의 양이 많아지는 단점이 있다. 그리고, 임의의 입출력 포트에 해당되는 인터페이스나, 유효셀 또는 무효셀 처리 회로에 장애가 발생되면, 그 포트를 이용하는 서비스가 모두 중단되는 문제가 발생한다. 그리고, 두 개의 스위치 보드는 동일한 동작상태를 가져야하기 때문에, 절체시 두 스위치 보드의 상태가 다를 경우 데이터를 잃어버리는 문제가 발생한다.First, the ATM switch disclosed in Japanese Patent Laid-Open No. 4-276941 normally passes a cell input through an interface without passing through an effective cell accumulation buffer or an invalid cell insertion circuit. When the transfer request occurs, the effective cells are accumulated in the effective cell accumulation buffer, and the invalid cells are inserted into the invalid cell insertion circuit to generate valid cells of a specific pattern and input them into the redundant switch board. After that, when it is detected that an effective cell of a specific pattern is input from the switch board to the line card, the switch board is switched by the selector. At this time, the invalid cells included in the output cells are removed by the invalid cell removal circuit and then output through the interface. In the above technique for performing such an operation, additional circuits such as an effective cell accumulation buffer, an invalid cell insertion circuit, an invalid cell detection circuit, and an invalid cell removal circuit must be provided in proportion to the number of input / output ports of an ATM switch. Therefore, there is a disadvantage in that the amount of additional circuits required for each line card increases. If a failure occurs in an interface corresponding to an input / output port or an effective cell or invalid cell processing circuit, a problem occurs that all services using the port are stopped. In addition, since the two switch boards must have the same operating state, a problem arises in that data is lost when the state of the two switch boards is different.

이와 같은 문제를 해결하기 위해 대한민국특허 등록번호 10-0237398호에 개시된 ATM 스위치에서는 대기 중에 있던 보드가 동작 중에 있던 보드의 각 포트별 공유메모리 버퍼의 쓰기 번지를 복사해 두고 자신의 쓰기 번지를 증가시키며 읽기 번지가 그 처음 쓰기 번지와 같아지면 자신의 동작 모드를 대기 모드로 설정한다. 그 결과, 절체시 두 보드가 동일한 동작 상태를 가지게 되어, 데이터를 잃어버리지 않게 된다. 그러나, 이 기술은 어드레스 버퍼가 FIFO(First In First Out) 방식으로 구성되기 때문에, 모든 출력포트에 대해 쓰기 포인터를 복사하여야 하는 단점이 있다. 특히, 라운드 로빈(round-robin) 방식으로 관리되는 어드레스 버퍼의 쓰기/읽기 포인터는 각각의 출력포트별로 관리되어야 하기 때문에, 포인터를 대기모드의 스위치 보드에 복사할 경우, 다량의 신호가 백플레인(backplane)의 자원을 사용하여야 하는 문제가 발생한다. 이 때, 만약 다량의 신호 대신 소량의 신호를 순차적으로 사용하게 되면 시간지연이 발생하게 되어, 포트별로 쓰기 값의 동기를 새로 맞추어 주는 회로가 추가적으로 요구되는 문제가 발생한다.In order to solve this problem, in the ATM switch disclosed in Korean Patent Registration No. 10-0237398, the write address of the shared memory buffer for each port of the board in standby is copied and the write address is increased. If the read address is the same as the first write address, set its operation mode to standby mode. As a result, the two boards have the same operating state when switching, so that no data is lost. However, this technique has a disadvantage in that the write pointer must be copied to all output ports because the address buffer is configured in FIFO (First In First Out). In particular, since write / read pointers of address buffers managed in a round-robin manner must be managed for each output port, when a pointer is copied to a standby switch board, a large amount of signals are backplaneed. There is a problem that requires the use of resources. At this time, if a small amount of signals are used in sequential order instead of a large amount of signals, a time delay occurs, and a circuit for newly synchronizing the write values for each port is required.

본 발명이 이루고자 하는 기술적 과제는, 데이터의 손실 없이 ATM 스위치에 구비된 스위치 보드들간의 자동 절체를 수행할 수 있는 자동 절체 장치 및 방법을 제공하는데 있다.An object of the present invention is to provide an automatic switching device and method capable of performing automatic switching between switch boards provided in an ATM switch without losing data.

본 발명이 이루고자 하는 기술적 과제는, 간단한 회로 구성을 가지고 ATM 스위치에 구비된 스위치 보드들간의 자동 절체를 수행할 수 있는 자동 절체 장치 및 방법을 제공하는데 있다.An object of the present invention is to provide an automatic switching device and method capable of performing automatic switching between switch boards provided in an ATM switch with a simple circuit configuration.

도 1은 본 발명의 바람직한 실시예에 따른 ATM 스위치의 블록도이다.1 is a block diagram of an ATM switch according to a preferred embodiment of the present invention.

도 2는 도 1에 도시된 스위치 보드들의 절체시 스위치 보드들에 인가되는 명령 및 입출력 패킷들에 대한 타이밍도이다.FIG. 2 is a timing diagram of command and input / output packets applied to switch boards when the switch boards illustrated in FIG. 1 are replaced.

도 3은 본 발명의 바람직한 실시예에 따른 ATM 스위치에 구비된 스위치 보드들 중 동작 모드에 있는 스위치 보드의 자동 절체 방법을 보여주는 흐름도이다.3 is a flowchart illustrating an automatic switching method of a switch board in an operation mode among switch boards provided in an ATM switch according to an exemplary embodiment of the present invention.

도 4는 본 발명의 바람직한 실시예에 따른 ATM 스위치에 구비된 스위치 보드들 중 대기 모드에 있는 스위치 보드의 자동 절체 방법을 보여주는 흐름도이다.4 is a flowchart illustrating an automatic switching method of a switch board in a standby mode among switch boards provided in an ATM switch according to an exemplary embodiment of the present invention.

< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>

1 : ATM 스위치 10 : 라인 카드1: ATM switch 10: line card

20 : 백플레인 100, 200 : 스위치 보드20: backplane 100, 200: switchboard

110, 210 : 스위치 패브릭 120, 220 : 입력 버퍼110, 210: switch fabric 120, 220: input buffer

130, 230 : 출력 버퍼 150, 250 : 절체 제어부130, 230: output buffer 150, 250: switching control

상기의 과제를 이루기 위하여 본 발명에 의한 에이티엠 스위치를 위한 자동 절체 장치는,In order to achieve the above object, the automatic switching device for the ATM switch according to the present invention,

사용자측에 연결된 복수 개의 라인카드; 상기 라인 카드로부터 입력된 데이터 패킷을 스위칭 하는 동작 모드 및 상기 데이터 패킷을 스위칭하지 않는 대기 모드 중 서로 다른 어느 하나의 모드를 가지는 제 1 및 제 2 스위치 보드; 및 상기 제 1 및 제 2 스위치 보드와 상기 라인카드 사이에서 상기 데이터 패킷 및 복수 개의 제어 명령들을 전달하는 백플레인을 포함하되, 상기 제 1 및 제 2 스위치 보드들은 상기 동작 모드에 있는 스위치 보드에 장애가 검출될 때, 상기 보드들의 입력에 대한 절체와 출력에 대한 절체를 각각 단계적으로 수행하는 것을 특징으로 한다.A plurality of line cards connected to the user side; First and second switch boards having any one of an operation mode for switching a data packet input from the line card and a standby mode for not switching the data packet; And a backplane transferring the data packet and a plurality of control commands between the first and second switch boards and the line card, wherein the first and second switch boards detect a failure in the switch board in the operating mode. When performed, the switching for the input of the boards and the switching for the output are characterized in that each step.

상기의 과제를 이루기 위하여 본 발명에 의한 에이티엠 스위치를 위한 자동 절체 장치는,In order to achieve the above object, the automatic switching device for the ATM switch according to the present invention,

사용자측에 연결된 복수 개의 라인카드; 상기 라인 카드로부터 입력된 데이터 패킷을 스위칭 하는 동작 모드 및 상기 데이터 패킷을 스위칭하지 않는 대기 모드 중 서로 다른 어느 하나의 모드를 가지는 제 1 및 제 2 스위치 보드; 상기 제 1 및 제 2 스위치 보드와 상기 라인카드 사이에서 상기 데이터 패킷 및 복수 개의 제어 명령들을 전달하는 백플레인; 및 상기 제 1 및 제 2 스위치 보드들 중 상기 동작 모드에 있는 스위치 보드에 장애가 검출될 때, 상기 제 1 및 제 2 스위치 보드의 입력에 대한 절체와 출력에 대한 절체를 각각 단계적으로 수행시키는 제어 수단을 포함하는 것을 특징으로 한다.A plurality of line cards connected to the user side; First and second switch boards having any one of an operation mode for switching a data packet input from the line card and a standby mode for not switching the data packet; A backplane transferring the data packet and a plurality of control commands between the first and second switch boards and the line card; And control means for performing stepwise switching of inputs and outputs of the first and second switchboards, respectively, when a failure is detected in the switchboard in the operation mode among the first and second switchboards. Characterized in that it comprises a.

상기의 과제를 이루기 위하여 본 발명에 의한 에이티엠 스위치를 위한 자동 절체 방법은,In order to achieve the above object, the automatic switching method for AMT switch according to the present invention,

패킷 스위칭 동작을 수행하는 제 1 스위치 보드와, 상기 제 1 스위치 보드의 스위칭 동작시 스위칭 동작을 수행하지 않고 대기하는 제 2 스위치 보드를 구비한 에이티엠 스위치에 있어서, 제 1 스위치 보드에 장애가 검출되었는지 여부를 판별하는 단계; 상기 제 1 스위치 보드에 장애가 검출된 경우, 상기 제 1 및 제 2 스위치 보드들의 입력에 대한 절체를 수행하는 단계; 및 상기 제 1 및 제 2 스위치 보드들의 출력에 대한 절체를 수행하는 단계를 포함하는 것을 특징으로 한다.In an AMT switch having a first switch board performing a packet switching operation and a second switch board waiting without performing a switching operation during the switching operation of the first switch board, whether a failure is detected in the first switch board. Determining whether or not; Performing a switchover to inputs of the first and second switch boards when a failure is detected in the first switch board; And performing switching to the outputs of the first and second switch boards.

이하에서, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.

도 1은 본 발명의 바람직한 실시예에 따른 ATM 스위치(1)의 블록도이다. 도 1을 참조하면, ATM 스위치(1)는 가변 길이 패킷을 스위칭 하는 제 1 및 제 2 스위치 보드(100, 200), 사용자측에 연결된 복수 개의 라인카드(line card ; 10), 그리고 스위치 보드(100, 200)와 라인카드(10) 사이에 연결되어 상기 ATM 스위치(1)의 메인 데이터 버스 역할을 수행하는 백플레인(backplane ; 20)을 포함한다.1 is a block diagram of an ATM switch 1 according to a preferred embodiment of the present invention. Referring to FIG. 1, an ATM switch 1 includes first and second switch boards 100 and 200 for switching variable length packets, a plurality of line cards connected to a user side, and a switch board 100. And a backplane 20 connected between the line 200 and the line card 10 to serve as a main data bus of the ATM switch 1.

전이중(full duplex)방식으로 연결되는 제 1 및 제 2 스위치 보드(100, 200)는, 스위치 패브릭(switch fabric ; 110, 210), 입력 버퍼(120, 220), 출력 버퍼(130, 230), 및 절체 제어부(150, 250)를 각각 포함한다. 스위치 패브릭(110, 210)은 실제적인 패킷 스위칭 동작을 수행하는 회로로서, 스위치 패브릭(110, 210)에는 입력 버퍼(120, 220), 출력 버퍼(130, 230) 및 절체 제어부(150, 250)가 연결된다. 입력 버퍼(120, 220) 및 출력 버퍼(130, 230)는 삼상 버퍼(tri-state buffer)로 구성되어, 절체 제어부(150, 250)로부터 발생된 패킷 입력 명령(CTL_IN1, CTL_IN2)과 패킷 출력 명령(CTL_OUT1, CTL_OUT2)에 응답해서 패킷을 입력하고 출력하는 기능을 각각 수행한다.The first and second switch boards 100 and 200 connected in a full duplex manner include a switch fabric 110 and 210, an input buffer 120 and 220, an output buffer 130 and 230, And switching units 150 and 250, respectively. The switch fabrics 110 and 210 are circuits for performing an actual packet switching operation. The switch fabrics 110 and 210 have input buffers 120 and 220, output buffers 130 and 230, and a switching controller 150 and 250. Is connected. The input buffers 120 and 220 and the output buffers 130 and 230 are configured as tri-state buffers, and the packet input commands CTL_IN1 and CTL_IN2 and packet output commands generated from the switching controllers 150 and 250 are included. Respond to (CTL_OUT1, CTL_OUT2) to input and output packets respectively.

절체 제어부(150, 250)는 라인 카드(10)로부터 입력되는 데이터 패킷(DATA_IN)이 스위치 패브릭(110, 210)으로 전달될 수 있도록 패킷 입력 명령(CTL_IN1, CTL_IN2)을 발생하여 입력 버퍼(120, 220)의 동작을 제어한다. 그리고, 스위치 패브릭(110, 210)을 통해 스위칭 된 데이터(DATA_OUT)가 백플레인(20)을 통해 라인 카드(10)로 출력될 수 있도록 패킷 출력 명령(CTL_OUT1, CTL_OUT2)을발생하여 출력 버퍼(130, 230)의 동작을 제어한다. 예를 들어, 패킷 입력 명령(CTL_IN1, CTL_IN2)이 1(또는 논리 하이)의 값을 가질 때, 데이터 패킷(DATA_IN)은 입력 버퍼(120, 220)를 통해 스위치 패브릭(110, 210)으로 입력되고, 패킷 입력 명령(CTL_IN1, CTL_IN2)이 0(또는 논리 로우)의 값을 가질 때, 데이터 패킷(DATA_IN)은 스위치 패브릭(110, 210)으로 입력되지 않게 된다. 그리고, 패킷 출력 명령(CTL_OUT1, CTL_OUT2)이 1의 값을 가질 때, 스위치 패브릭(110, 210)에서 출력되는 데이터(DATA_OUT)는 출력 버퍼(130, 230)를 통해 백플레인(20)으로 전달되고, 패킷 출력 명령(CTL_OUT1, CTL_OUT2)이 0의 값을 가질 때, 스위치 패브릭(110, 210)에서 출력되는 데이터(DATA_OUT)는 백플레인(20)으로 출력되지 않고, 하이 임피던스 상태를 가지게 된다. 이와 같은 패킷 입출력 명령들(CTL_IN1, CTL_OUT1, CTL_IN2, CTL_OUT2)은 또한 상대방 스위치 보드(200 또는 100)의 절체 제어부(200또는 100)로 입력되어, 해당 스위치 보드(100 또는 200)의 동작 상태를 알려준다. 즉, 절체 제어부(100 또는 200)는 현재 자신이 동작모드에 있는지 대기모드에 있는지의 여부와, 자신이 동작 가능한지 아닌지 여부를 패킷 입출력 명령들(CTL_IN1, CTL_OUT1, CTL_IN2, CTL_OUT2)을 통해 상대 스위치 보드(200 또는 100)로 전달해 주며, 마찬가지로 상대 스위치 보드로부터 상대보드가 동작모드에 있는지 대기모드에 있는지의 여부와 상대 스위치 보드가 동작가능한지 아닌 지의 여부를 전달받는다. 만일 스위치 보드가 장착되어 있지 않을 경우, 상대방 스위치 보드로 전달되는 패킷 입출력 명령들(CTL_IN1 및 CTL_OUT1, 또는 CTL_IN2 및 CTL_OUT2)은 백플레인(20)에 구비된 풀업 저항(미 도시됨)이나 풀다운 저항(미 도시됨)을 이용해서 대기상태 또는 동작 불가능한 상태를 나타낸다. 각 스위치 보드들은 자신 및 상대 스위치 보드의 동작 상태를 절체하는 데에 이들 명령(CTL_IN1, CTL_OUT1, CTL_IN2, CTL_OUT2)을 사용한다.The transfer control units 150 and 250 generate packet input commands CTL_IN1 and CTL_IN2 so that the data packet DATA_IN input from the line card 10 can be transferred to the switch fabrics 110 and 210. 220 to control the operation. Then, the packet output commands CTL_OUT1 and CTL_OUT2 are generated to output the data DATA_OUT switched through the switch fabrics 110 and 210 to the line card 10 through the backplane 20. 230 to control the operation. For example, when the packet input commands CTL_IN1 and CTL_IN2 have a value of 1 (or logical high), the data packet DATA_IN is input to the switch fabrics 110 and 210 through the input buffers 120 and 220. When the packet input commands CTL_IN1 and CTL_IN2 have a value of 0 (or logical low), the data packet DATA_IN is not input to the switch fabrics 110 and 210. When the packet output commands CTL_OUT1 and CTL_OUT2 have a value of 1, data DATA_OUT output from the switch fabrics 110 and 210 is transferred to the backplane 20 through output buffers 130 and 230. When the packet output commands CTL_OUT1 and CTL_OUT2 have a value of 0, the data DATA_OUT output from the switch fabrics 110 and 210 are not output to the backplane 20 and have a high impedance state. The packet input / output commands CTL_IN1, CTL_OUT1, CTL_IN2, and CTL_OUT2 are also input to the switching control unit 200 or 100 of the counterpart switch board 200 or 100 to inform the operation state of the corresponding switch board 100 or 200. . That is, the transfer control unit 100 or 200 determines whether it is currently in the operation mode or the standby mode and whether or not it is operable or not through the packet I / O commands CTL_IN1, CTL_OUT1, CTL_IN2, and CTL_OUT2. It transmits to (200 or 100), and similarly, the partner switch board receives whether the partner board is in the operation mode or the standby mode and whether the partner switch board is operable or not. If the switch board is not mounted, the packet I / O commands CTL_IN1 and CTL_OUT1, or CTL_IN2 and CTL_OUT2 transmitted to the other switch board are not included in the pull-up resistor (not shown) or pull-down resistor (not shown) included in the backplane 20. Shown) to indicate a standby or inoperable state. Each switch board uses these commands (CTL_IN1, CTL_OUT1, CTL_IN2, CTL_OUT2) to switch the operating state of its own and counterpart switch boards.

절체 제어부(150, 250)는 스위치 보드(100, 200) 내에 구비된 스위치 패브릭(110,210)으로 패킷 스위칭 명령을 발생하여 데이터 패킷의 스위칭 동작을 제어한다. 예를 들어, 패킷 입력 명령(CTL_IN1, CTL_IN2)과 패킷 출력 명령(CTL_OUT1, CTL_OUT2)이 모두 1의 값을 가지는 경우, 절체 제어부(150, 250)는 스위치 패브릭(110, 210)으로 1의 값을 가지는 패킷 스위칭 명령을 발생하여, 입력된 패킷(DATA_IN)을 스위치 패브릭(110, 210)의 출력(DATA_OUT)으로 스위칭 해 준다. 그리고, 패킷 입력 명령(CTL_IN1, CTL_IN2)과 패킷 출력 명령(CTL_OUT1, CTL_OUT2)이 모두 1의 값을 가지지 않는 경우, 절체 제어부(150, 250)는 0의 값을 가지는 패킷 스위칭 명령을 발생하여, 스위치 패브릭(110, 210)으로 하여금 패킷이 입력되어도 스위칭을 하지 않고 내부에 저장만 하도록 한다.The transfer control unit 150 or 250 generates a packet switching command to the switch fabrics 110 and 210 provided in the switch boards 100 and 200 to control the switching operation of the data packet. For example, when the packet input commands CTL_IN1 and CTL_IN2 and the packet output commands CTL_OUT1 and CTL_OUT2 both have a value of 1, the switching controllers 150 and 250 return a value of 1 to the switch fabrics 110 and 210. The branch generates a packet switching command to switch the input packet DATA_IN to the output DATA_OUT of the switch fabrics 110 and 210. When the packet input commands CTL_IN1 and CTL_IN2 and the packet output commands CTL_OUT1 and CTL_OUT2 do not have a value of 1, the switching controllers 150 and 250 generate a packet switching command having a value of 0 to switch. The fabric (110, 210) is to be stored only in the inside without switching even if the packet is input.

이외에도, 절체 제어부(150, 250)는 스위치 보드들(100, 200)의 절체시 백프레셔(backpressure ; BPRES)를 발생하여 라인 카드(10)의 패킷 입력 동작을 일시 중지시키는 동작을 수행한다. 아래에서 상세히 설명하겠지만, 절체 제어부(150, 250)에서 발생되는 상기와 같은 명령들에 의해서 데이터의 손실 없이 두 스위치 보드들(100, 200) 사이의 절체가 단계적으로 수행된다.In addition, the switching controllers 150 and 250 may generate a back pressure (BPRES) when the switch boards 100 and 200 are switched to suspend the packet input operation of the line card 10. As will be described in detail below, the switching between the two switch boards 100 and 200 is performed step by step without losing data by the above commands generated by the switching controllers 150 and 250.

스위치 보드들(100, 200) 사이의 절체에 관한 설명에 앞서, 각 동작 모드별 특성을 살펴보면 다음과 같다. 먼저, 스위치 보드는 보드가 장착된 직후에(즉, 파워 온 리셋 후에) 상대 보드가 동작모드에 있지 않고 자신이 동작가능하면, 자신은 동작모드로 설정된다. 그리고 파워 온 리셋 후에 상대보드가 이미 동작모드에 있으면, 자신은 대기모드로 설정된다. 동작모드에 있는 스위치 보드(100 또는 200)는 패킷 입력 명령(CTL_IN1 또는 CTL_IN2), 패킷 출력 명령(CTL_OUT1 또는 CTL_OUT2), 및 패킷 스위칭 명령 모두가 1의 값으로 활성화된다. 그리고, 대기모드에 있는 스위치 보드(200 또는 100)는 세 가지 신호 모두가 0의 값으로 비활성화 된다. 이 상태에서, 동작모드에 있는 스위치 보드가 사용자의 요구에 의해 절체 예고 신호를 받아들이거나, 또는 소정의 장애상태를 검출하면, 동작모드에 있는 스위치 보드는 자신의 동작 상태를 동작 모드에서 대기 모드로, 상대 스위치 보드의 동작 상태를 대기 모드에서 동작 모드로 바꾸어주는 절체를 실시하게 된다.Prior to the description of switching between the switch boards 100 and 200, the characteristics of each operation mode are as follows. First, the switch board is set to the operation mode immediately after the board is mounted (i.e., after a power-on reset) and the counterpart board is not in the operation mode and is operable by itself. If the opponent board is already in the operation mode after the power-on reset, it is set to the standby mode. The switch board 100 or 200 in the operation mode activates the packet input command CTL_IN1 or CTL_IN2, the packet output command CTL_OUT1 or CTL_OUT2, and the packet switching command with a value of 1. In the standby mode, the switch board 200 or 100 deactivates all three signals with a value of zero. In this state, when the switch board in the operation mode receives the transfer notice signal at the request of the user or detects a predetermined failure state, the switch board in the operation mode transfers its operating state from the operation mode to the standby mode. In this case, the switching of the partner switch board from the standby mode to the operating mode is performed.

도 2는 도 1에 도시된 스위치 보드들(100, 200)의 절체시 스위치 보드들(100, 200)에 인가되는 명령 및 입출력 패킷들에 대한 타이밍도이다. 도 2에 도시된 타이밍도는 제 1 스위치 보드(100)가 동작 모드 상태에서 대기 모드 상태로, 제 2 스위치 보드(200)가 대기 모드 상태에서 동작 모드 상태로 절체 되는 예에 대해 나타내고 있다.FIG. 2 is a timing diagram of command and input / output packets applied to the switch boards 100 and 200 when the switch boards 100 and 200 shown in FIG. 1 are replaced. 2 illustrates an example in which the first switch board 100 is switched from the operation mode state to the standby mode state, and the second switch board 200 is switched from the standby mode state to the operation mode state.

도 2를 참조하면, 먼저 동작중인 제 1 스위치 보드(100)에서 장애가 검출되면, 제 1 스위치 보드(100)는 모든 입력 라인카드(10)로 백프레셔(BPRES)를 발생하여, 데이터 패킷들이 스위치 보드(100)에 입력되지 못하도록 한다. 그러나, ATM 스위치(1)에서 처리하는 패킷들의 길이는 서로 다르고, 패킷들이 시작되는 시작점도 서로 일치하지 않으며, 백프레셔(BPRES)에 의해 패킷이 입력되지 않게 되는 시간도포트마다 다를 수 있으므로, 백프레셔(BPRES)가 인가되는 시점에서 어떤 라인카드들은 패킷을 송신하고 있을 수도 있다. 따라서, 본 발명에 의한 ATM 스위치(1)는, 스위치 보드의 절체시 입력되고 있던 데이터의 손실을 방지하기 위해, 백프레셔(BPRES)의 인가시 동작중인 스위치 보드(100)를 통해 상기 데이터를 마져 받아들이도록 한다. 그리고, 소정의 시간이 경과한 후 상기 데이터 패킷이 모두 입력되고 나면(즉, 패킷 입력의 종료가 검출되면), 동작중인 스위치 보드(100)는 0의 값을 가지는 제 1 패킷 입력 명령(CTL_IN1)을 발생하여 입력 버퍼(120)를 디스에이블 시키고, 이에 대한 정보를 제 2 스위치 보드(200)로 전송한다. 그리고 백프레셔(BPRES)를 해제한다. 제 1 스위치 보드(100)로부터 0의 값을 가지는 제 1 패킷 입력 명령(CTL_IN1)을 받아들인 제 2 스위치 보드(200)는, 상기 패킷 입력 명령(CTL_IN1)에 응답해서 제 2 패킷 입력 명령(CTL_IN2)의 값을 1로 변환하여 입력 버퍼(220)를 인에이블 시키고, 라인 카드(10)로부터 데이터 패킷(DATA_IN)을 받아들이게 한다. 이로써, 두 스위치 보드들(100, 200) 사이의 데이터 입력에 대한 절체가 수행된다.Referring to FIG. 2, when a failure is detected in the first switch board 100 in operation, the first switch board 100 generates a back pressure BBPRES to all the input line cards 10, so that data packets are switched. Do not allow input to the board 100. However, since the lengths of the packets processed by the ATM switch 1 are different, the starting points of the packets do not coincide with each other, and the time at which the packets are not input by the back pressure BBPRES may be different for each port. Some line cards may be transmitting packets at the time when the pressure BPRES is applied. Therefore, the ATM switch 1 according to the present invention, in order to prevent the loss of data that was input during the switching of the switch board, the data through the switch board 100 in operation during the application of the back pressure (BPRES) Accept it. After all of the data packets have been input (ie, the end of packet input is detected) after a predetermined time has elapsed, the operating switch board 100 has a first packet input command CTL_IN1 having a value of 0. Is generated to disable the input buffer 120, and transmits information about the input buffer 120 to the second switch board 200. Then release the back pressure (BPRES). The second switch board 200 which has received the first packet input command CTL_IN1 having a value of 0 from the first switch board 100, responds to the packet input command CTL_IN1 and receives the second packet input command CTL_IN2. ) Is converted to 1 to enable the input buffer 220 and to accept the data packet DATA_IN from the line card 10. In this way, switching of data input between the two switch boards 100 and 200 is performed.

이 경우, 제 1 스위치 보드(100)의 입력은 디스에이블 되었으나 그 출력은 여전히 인에이블 되어 있는 상태에 있고, 제 2 스위치 보드(200)의 입력은 인에이블 되었으나 그 출력은 여전히 디스에이블 되어 있는 상태에 있다. 이 때, 소정의 시간이 경과하여 제 1 스위치 보드(100)에 입력되었던 모든 데이터 패킷이 출력되고 나면(즉, 패킷 출력의 종료가 검출되면), 동작중인 스위치 보드(100)는 제 1 패킷 출력 명령(CTL_OUT1)의 값을 1의 값에서 0의 값으로 변환하여 출력 버퍼(130)를디스에이블 시키고, 이에 대한 정보를 제 2 스위치 보드(200)로 전송한다. 제 1 스위치 보드(100)로부터 0의 값을 가지는 제 1 패킷 출력 명령(CTL_OUT1)을 받아들인 제 2 스위치 보드(200)는 상기 패킷 출력 명령(CTL_OUT1)에 응답해서 제 2 패킷 출력 명령(CTL_OUT2)의 값을 0의 값에서 1의 값으로 변환하여 출력 버퍼(220)를 인에이블 시킨다. 그 결과, 두 스위치 보드들(100, 200) 사이의 데이터 출력에 대한 절체가 수행되어, 제 2 스위치 보드(200)에 의해 스위칭 된 데이터(DATA_OUT)가 백플레인(20)을 통해 데이터라인 카드(10)로 출력되어진다. 이로써 ATM 스위치(1)에 구비된 두 스위치 보드들(100, 200)간의 절체가 완료되어, 제 1 스위치 보드(100)의 동작 상태는 동작 모드에서 대기 모드로 바뀌게 되고, 제 2 스위치 보드(200)의 동작 상태는 대기 모드에서 동작 모드로 바뀌게 된다.In this case, the input of the first switch board 100 is disabled but its output is still enabled, and the input of the second switch board 200 is enabled but its output is still disabled. Is in. At this time, after a predetermined time has elapsed and all data packets input to the first switch board 100 have been output (that is, the end of packet output is detected), the operating switch board 100 outputs the first packet. The output buffer 130 is disabled by converting the value of the command CTL_OUT1 from a value of 1 to a value of 0, and the information about the command CTL_OUT1 is transmitted to the second switch board 200. The second switch board 200 receiving the first packet output command CTL_OUT1 having a value of 0 from the first switch board 100 responds to the packet output command CTL_OUT1 and outputs the second packet output command CTL_OUT2. The value of 0 is converted from a value of 0 to a value of 1 to enable the output buffer 220. As a result, switching of the data output between the two switch boards 100 and 200 is performed so that the data DATA_OUT switched by the second switch board 200 is transferred through the backplane 20 to the data line card 10. Will be printed. As a result, the switching between the two switch boards 100 and 200 provided in the ATM switch 1 is completed, and the operation state of the first switch board 100 is changed from the operation mode to the standby mode, and the second switch board 200 ) Is changed from the standby mode to the operating mode.

여기서, 동작모드에 있는 스위치 보드(100)와 대기모드에 있는 스위치 보드(200) 사이의 신호, 즉 패킷 입력 명령(CTL_IN1, CTL_IN2)나 패킷 출력 명령(CTL_OUT1, CTL_OUT2)은, 절체 제어부(150,250)와, 입력 및 출력 버퍼들(120, 220, 130, 230)과, 상대방 절체 제어부(250,150)에 공통으로 사용될 수도 있고, 각각 별도의 신호로 구성되어 사용될 수도 있다. 그리고, 하나의 신호에 절체에 관련된 복수 개의 정보를 코딩하여 직렬로 주고받을 수도 있다. 예를 들어, 1이 연속으로 두 번 있는 것은 메시지의 시작을, 모두 0인 것은 메시지가 없는 것을, 1101은 입력지시를, 1110은 출력지시를 나타내는 것 등으로 표시하여 구현할 수 있다.Here, the signals between the switch board 100 in the operation mode and the switch board 200 in the standby mode, that is, the packet input commands CTL_IN1 and CTL_IN2 or the packet output commands CTL_OUT1 and CTL_OUT2, are transferred to the switching controllers 150 and 250. The input and output buffers 120, 220, 130, and 230 and the counterpart switching controllers 250 and 150 may be used in common, or may be configured as separate signals. In addition, a plurality of pieces of information related to switching may be coded in one signal and may be exchanged in series. For example, 1 may be displayed twice as the beginning of a message, all 0s indicate no message, 1101 indicates an input instruction, 1110 indicates an output instruction, and the like.

도 3은 본 발명의 바람직한 실시예에 따른 ATM 스위치에 구비된 스위치 보드들(100, 200) 중 동작 모드에 있는 스위치 보드(100)의 자동 절체 방법을 보여주는흐름도이다. 예를 들어, 제 1 스위치 보드(100)의 동작 상태가 동작 모드이고, 제 2 스위치 보드(200)의 동작 상태가 대기 모드일 경우, 상기 두 스위치 보드들(100, 200) 간의 절체는 다음과 같이 수행된다. 먼저, 본 발명에 의한 ATM 스위치(1)는, 동작중이던 스위치 보드(100)에 장애가 검출되었는지 여부를 판별한다(151 단계). 판별 결과, 장애가 검출되었으면 동작중이던 스위치 보드(100)에서 모든 라인 카드(10)로 백프레셔(BPRES)를 발생한다(152 단계). 일반적으로, ATM 스위치(1)에서 처리하는 패킷들의 길이는 서로 다르고, 패킷들이 시작되는 시작점도 일치하지 않으므로, 백프레셔(BPRES)를 인가하는 시점에서 어떤 라인카드들은 패킷을 송신하고 있을 수도 있다. 따라서, 본 발명에 의한 ATM 스위치(1)는, 스위치 보드의 절체시 입력중이던 데이터에 대한 손실을 방지하기 위해서 동작중이던 스위치 보드(100)를 통해 상기 데이터를 마져 입력받는다(153 단계). 이어서, 동작중이던 스위치 보드(100)에 데이터 패킷이 더 이상 입력되지 않는지 여부가 판별된다(154 단계). 판별 결과, 동작중이던 스위치 보드(100)에 데이터 패킷이 더 이상 입력되지 않으면, 동작중이던 스위치 보드(100)의 입력을 디스에이블 시키고 대기중이던 스위치 보드(200)의 입력을 인에이블 시킨 후 백프레셔(BPRES)를 해제한다(155 단계). 이어서, 동작중이던 스위치 보드(100)에 저장되어 있던 패킷을 출력하고(156 단계), 동작중이던 스위치 보드(100)에 저장되어 있던 패킷이 모두 출력되었는지 여부를 판별한다(157 단계). 판별 결과, 동작중이던 스위치 보드(100)에 저장되어 있던 패킷이 모두 출력되었으면, 동작중이던 스위치 보드(100)의 출력을 디스에이블 시키고 대기중이던 스위치 보드(200)의 출력을 인에이블 시킨다(158 단계). 그리고, 스위치 보드(100)의 동작 상태를 동작 모드에서 대기 모드로 바꾸고, 스위치 보드(200)의 동작 상태를 대기 모드에서 동작 모드로 바꾼다(159 단계). 이로써 ATM 스위치(1)에 구비된 두 스위치 보드들(100, 200)간의 절체가 완료되어 진다.3 is a flowchart illustrating an automatic switching method of the switch board 100 in an operation mode among the switch boards 100 and 200 provided in the ATM switch according to the preferred embodiment of the present invention. For example, when the operating state of the first switch board 100 is the operating mode and the operating state of the second switch board 200 is the standby mode, switching between the two switch boards 100 and 200 is as follows. Is performed together. First, the ATM switch 1 according to the present invention determines whether a failure is detected in the switch board 100 in operation (step 151). As a result of the determination, if a failure is detected, the back pressure BPRES is generated from the switch board 100 in operation to all the line cards 10 (step 152). In general, since the lengths of the packets processed by the ATM switch 1 are different from each other and the starting points of the packets do not coincide, some line cards may be transmitting packets at the time of applying the back pressure BPRES. Accordingly, the ATM switch 1 according to the present invention receives the data through the switch board 100 in operation (step 153) in order to prevent the loss of the data being input during switching of the switch board. Subsequently, it is determined whether the data packet is no longer input to the switch board 100 that was in operation (step 154). As a result of the determination, when the data packet is no longer input to the switch board 100 in operation, the input of the switch board 100 in operation is disabled and the input of the switch board 200 in standby is enabled and the back pressure ( BPRES) (step 155). Subsequently, the packet stored in the switch board 100 in operation is output (step 156), and it is determined whether all the packets stored in the switch board 100 in operation are output (step 157). As a result of the determination, when all the packets stored in the switch board 100 in operation are output, the output of the switch board 100 in operation is disabled and the output of the switch board 200 in standby is enabled (step 158). . The operation state of the switch board 100 is changed from the operation mode to the standby mode, and the operation state of the switch board 200 is changed from the standby mode to the operation mode (step 159). As a result, the switching between the two switch boards 100 and 200 provided in the ATM switch 1 is completed.

도 4는 본 발명의 바람직한 실시예에 따른 ATM 스위치에 구비된 스위치 보드들(100, 200) 중 대기 모드에 있는 스위치 보드(200)의 자동 절체 방법을 보여주는 흐름도이다. 도 4를 참조하면, 대기중인 스위치 보드(200)의 동작 상태는 처음에 대기 모드로 설정된다(251 단계). 그리고, 동작중인 스위치 보드(100)로부터 패킷 입력 명령(CTL_IN1)이 수신되었는지 여부가 판별된다(252 단계). 판별 결과, 패킷 입력 명령(CTL_IN1)이 수신되었으면 스위치 보드(200)의 입력 버퍼(220)가 인에이블 되어 패킷(DATA_IN)을 입력받는다(253 단계). 이어서, 동작중인 스위치 보드(100)로부터 패킷 출력 명령(CTL_OUT1)이 수신되었는지 여부가 판별되고(254 단계), 패킷 출력 명령(CTL_OUT1)이 수신되었으면 스위치 보드(200)의 출력 버퍼(230)가 인에이블 되어 제 2 스위치 보드(200)에서 스위칭된 패킷(DATA_OUT)을 백플레인(20)으로 출력한다(255 단계). 그리고, 스위치 보드(200)의 동작 상태를 대기 모드에서 동작 모드로 바꾼다(256 단계).4 is a flowchart illustrating an automatic switching method of the switch board 200 in the standby mode among the switch boards 100 and 200 provided in the ATM switch according to the preferred embodiment of the present invention. Referring to FIG. 4, the operation state of the waiting switch board 200 is initially set to the standby mode (step 251). In operation 252, it is determined whether the packet input command CTL_IN1 is received from the operation switch board 100. As a result of the determination, when the packet input command CTL_IN1 is received, the input buffer 220 of the switch board 200 is enabled to receive the packet DATA_IN (step 253). Subsequently, it is determined whether the packet output command CTL_OUT1 is received from the operating switch board 100 (step 254), and if the packet output command CTL_OUT1 is received, the output buffer 230 of the switch board 200 is set to IN. Able to output the packet (DATA_OUT) switched in the second switch board 200 to the backplane 20 (step 255). Then, the operation state of the switch board 200 is changed from the standby mode to the operation mode (step 256).

이와 같이, 가변길이의 패킷을 스위칭 하는 스위치 보드(100, 200)를 자동 절체하는 것은 간단하지 않다. 왜냐하면 스위치 보드(100, 200) 내의 메모리(미 도시됨)에는 이미 다량의 패킷이 저장되어 있기 때문에, 동작중인 보드와 대기중인 보드를 단순히 절체하는 경우, 동작 중인 스위치 보드 내에 있던 패킷을 잃어버릴 수 있다. 절체시 두 스위치 보드의 상태가 다를 경우 데이터를 잃어버릴 수도 있고, 부가회로의 양이 많아질 수 있으며, 동시에 두 보드에 패킷이 입력되게 되면 동일한 패킷이 두 번 스위칭 될 수 있다. 그러나, 본 발명에 의한 ATM 스위치(1)에 의하면, 두 스위치 보드들(100, 200)의 절체가 각 보드의 입력 및 출력별로 나뉘어 단계적으로 수행되므로, 종래 기술에서 언급했던 일본국 특개평 4-276941호에 개시된 ATM 스위치 및 대한민국특허 등록번호 10-0237398호에 개시된 ATM 스위치에 비해 더욱 간단한 회로 구성을 가질 수 있고, 데이터의 손실 없이 두 스위치 보드들(100, 200) 절체를 자동으로 수행할 수 있다.As such, it is not easy to automatically switch the switch boards 100 and 200 for switching packets of variable length. Because a large amount of packets are already stored in the memory (not shown) in the switch boards 100 and 200, when simply switching between a running board and a waiting board, the packets in the operating switch board may be lost. have. When switching, if the two switch boards are in different states, the data may be lost, the amount of additional circuits may be increased, and the same packets may be switched twice when packets are input to both boards. However, according to the ATM switch 1 according to the present invention, since the switching of the two switch boards 100 and 200 is performed in stages by dividing the input and the output of each board, the Japanese Patent Laid-Open No. 4 mentioned in the prior art. Compared to the ATM switch disclosed in 276941 and the ATM switch disclosed in Korean Patent Registration No. 10-0237398, it can have a simpler circuit configuration, and can automatically switch between the two switch boards 100 and 200 without losing data. have.

이상에서, 본 발명의 실시예로서 하나의 신호를 공유하여, 두 스위치 모드 중 어느 하나의 출력을 구동하고, 다른 하나의 출력은 고 임피던스에 두는 방식에 대해 구체적으로 예시되었으나, 그밖에도 각각 전용 신호를 사용하는 회로에 대해서도 본 발명을 적용할 수 있다.In the above, as an embodiment of the present invention, a single signal is shared to drive an output of any one of the two switch modes, and the other output is specifically illustrated as a method of putting the high impedance, but in addition, each dedicated signal The present invention can also be applied to a circuit using

이상에 설명한 바와 같이, 본 발명에 의한 ATM 스위치 및 그것의 자동 절체 방법에 의하면, 동작 중인 보드에서 절체 조건이 검출되면 모든 입력포트에 백프레셔를 보내어 일시적으로 패킷이 입력되지 않도록 하고, 백프레셔 발생 시점에서 이미 입력되고 있던 패킷을 동작중이던 스위치 보드를 통해 마져 받아들인 후, 패킷의 입력이 종료되면 두 스위치 보드들의 입력을 절체하고, 동작중이던 스위치 보드에 입력되었던 모든 패킷이 출력되고 나면 두 스위치 보드들의 출력을 절체함으로써, 두 스위치 보드들 사이의 절체를 완료한다. 이와 같은 단계적인 절체에 의하면, 스위치 보드들의 절체시 발생될 수 있었던 데이터의 손실이 방지될 수 있고,회로의 구성 또한 간단해 진다.As described above, according to the ATM switch and the automatic switching method thereof according to the present invention, when the switching condition is detected in the operating board, the back pressure is sent to all the input ports so that packets are not temporarily input, and the back pressure is generated. After receiving the packet already input at the time through the operating switch board, when the input of the packet is completed, the inputs of the two switch boards are switched, and after all the packets inputted to the operating switch board are output, the two switch boards are outputted. By switching the output of the two, complete the transfer between the two switch boards. According to such a stepwise switching, the loss of data that may have occurred during the switching of the switch boards can be prevented, and the circuit configuration is also simplified.

Claims (17)

사용자측에 연결된 복수 개의 라인카드;A plurality of line cards connected to the user side; 상기 라인카드로부터 입력된 데이터 패킷을 스위칭 하는 동작 모드에 있는 제 1 스위치 보드;A first switch board in an operating mode for switching data packets input from said line card; 상기 데이터 패킷을 스위칭하지 않는 대기 모드에 있는 제 2 스위치 보드; 및A second switch board in a standby mode that does not switch the data packet; And 상기 제 1 및 제 2 스위치 보드와 상기 라인카드 사이에서 상기 데이터 패킷 및 복수 개의 제어 명령들의 전달을 수행하는 백플레인을 포함하며,A backplane for transferring the data packet and a plurality of control commands between the first and second switch boards and the line card, 상기 제 1 스위치 보드는 상기 스위칭 동작시 장애가 검출되면 상기 복수 개의 라인카드들에게 백프레셔를 출력하여 상기 데이터 패킷의 입력을 차단하고, 상기 제 1 및 제 2 스위치 보드들의 입력에 대한 절체와 출력에 대한 절체를 각각 단계적으로 수행하는 것을 특징으로 하는 에이티엠 스위치.When the first switch board detects a failure during the switching operation, the first switch board outputs a back pressure to the plurality of line cards to block the input of the data packet, and to switch and output the inputs of the first and second switch boards. AMT switch, characterized in that for performing the transfer step by step. 제 1 항에 있어서, 상기 제 1 스위치 보드는,The method of claim 1, wherein the first switch board, 상기 스위칭 동작을 실제적으로 수행하는 제 1 스위치 패브릭;A first switch fabric that actually performs the switching operation; 상기 데이터 패킷을 상기 제 1 스위치 패브릭으로 전달하는 제 1 입력 버퍼;A first input buffer for passing the data packet to the first switch fabric; 상기 제 1 스위치 패브릭에 의해 스위칭된 데이터 패킷을 상기 백플레인으로 출력하는 제 1 출력 버퍼; 및A first output buffer for outputting a data packet switched by the first switch fabric to the backplane; And 상기 제 1 입력 버퍼의 동작을 제어하는 제 1 패킷 입력 명령, 및 상기 제 1 출력 버퍼의 동작을 제어하는 제 1 패킷 출력 명령을 발생하고, 상기 제 1 입력 버퍼 및 상기 제 1 출력 버퍼의 활성화 상태에 따라서 상기 제 1 스위치 패브릭의 상기 스위칭 동작을 제어하는 제 1 절체 제어부를 포함하는 것을 특징으로 하는 에이티엠 스위치.Generating a first packet input command to control an operation of the first input buffer and a first packet output command to control an operation of the first output buffer, wherein an activation state of the first input buffer and the first output buffer is generated; And a first switching control unit for controlling the switching operation of the first switch fabric. 제 2 항에 있어서, 상기 제 2 스위치 보드는,The method of claim 2, wherein the second switch board, 상기 스위칭 동작을 실제적으로 수행하는 제 2 스위치 패브릭;A second switch fabric that actually performs the switching operation; 상기 데이터 패킷을 상기 제 2 스위치 패브릭으로 전달하는 제 2 입력 버퍼;A second input buffer for passing the data packet to the second switch fabric; 상기 제 2 스위치 패브릭에 의해 스위칭된 데이터 패킷을 상기 백플레인으로 출력하는 제 2 출력 버퍼; 및A second output buffer for outputting a data packet switched by the second switch fabric to the backplane; And 상기 제 1 패킷 입력 명령 및 상기 제 1 패킷 출력 명령에 응답해서 상기 제 2 입력 버퍼의 동작을 제어하는 제 2 패킷 입력 명령, 및 상기 제 2 출력 버퍼의 동작을 제어하는 제 2 패킷 출력 명령을 발생하고, 상기 제 2 입력 버퍼 및 상기 제 2 출력 버퍼의 활성화 상태에 따라서 상기 제 2 스위치 패브릭의 상기 스위칭 동작을 제어하는 제 2 절체 제어부를 포함하는 것을 특징으로 하는 에이티엠 스위치.Generating a second packet input command for controlling the operation of the second input buffer and a second packet output command for controlling the operation of the second output buffer in response to the first packet input command and the first packet output command. And a second switching controller configured to control the switching operation of the second switch fabric according to an activation state of the second input buffer and the second output buffer. 제 2 항에 있어서,The method of claim 2, 상기 제 1 절체 제어부는 상기 제 1 스위치 보드가 상기 동작 모드에 있을 때 상기 제 1 스위치 보드에서 오류가 검출되면, 상기 데이터 패킷의 입력을 일시 중시시키기 위해 상기 백프레셔를 모든 라인 카드들로 발생하는 것을 특징으로 하는 에이티엠 스위치.The first switching controller is configured to generate the back pressure to all line cards to pause the input of the data packet if an error is detected in the first switch board when the first switch board is in the operation mode. ATM switch, characterized in that. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 1 절체 제어부는 상기 백프레셔의 발생시 입력되고 있던 데이터 패킷을 상기 제 1 스위치 보드를 통해 마져 받아들인 후, 상기 제 1 패킷 입력 명령에 의해 상기 제 1 입력 버퍼를 디스에이블 시키고 상기 제 2 입력 버퍼를 인에이블 시킴으로서, 상기 제 1 및 제 2 스위치 보드의 입력에 대한 절체를 수행하는 것을 특징으로 하는 에이티엠 스위치.The first transfer control unit accepts the data packet input when the back pressure occurs through the first switch board, and then disables the first input buffer by the first packet input command and then the second input. Atm switch, characterized in that for switching the input of the first and second switch board by enabling a buffer. 제 5 항에 있어서,The method of claim 5, wherein 상기 제 1 절체 제어부는 상기 제 1 및 제 2 스위치 보드의 데이터 입력에 대한 절체 후 상기 제 1 스위치 보드에 저장되었던 상기 데이터 패킷이 모두 출력되고 나면, 상기 제 1 패킷 출력 명령에 의해 상기 제 1 출력 버퍼를 디스에이블 시키고 상기 제 2 출력 버퍼를 인에이블 시킴으로서, 상기 제 1 및 제 2 스위치 보드의 출력에 대한 절체를 수행하는 것을 특징으로 하는 에이티엠 스위치.The first switching control unit outputs the first by the first packet output command after all data packets stored in the first switch board are output after switching to data inputs of the first and second switch boards. Atm switch, characterized in that for switching the output of the first and second switch board by disabling a buffer and enabling the second output buffer. 사용자측에 연결된 복수 개의 라인카드;A plurality of line cards connected to the user side; 상기 라인카드로부터 입력된 데이터 패킷을 스위칭 하는 동작 모드에 있는 제 1 스위치 보드;A first switch board in an operating mode for switching data packets input from said line card; 상기 데이터 패킷을 스위칭하지 않는 대기 모드에 있는 제 2 스위치 보드; 및A second switch board in a standby mode that does not switch the data packet; And 상기 제 1 및 제 2 스위치 보드와 상기 라인카드 사이에서 상기 데이터 패킷 및 복수 개의 제어 명령들을 전달하는 백플레인을 포함하며,A backplane for transferring the data packet and a plurality of control commands between the first and second switch boards and the line card, 상기 제 1 스위치 보드는, 상기 스위칭 동작을 실제적으로 수행하는 제 1 스위치 패브릭; 상기 데이터 패킷을 상기 제 1 스위치 패브릭으로 전달하는 제 1 입력 버퍼; 상기 제 1 스위치 패브릭에 의해 스위칭된 데이터 패킷을 상기 백플레인으로 출력하는 제 1 출력 버퍼; 및 상기 제 1 입력 버퍼의 동작을 제어하는 제 1 패킷 입력 명령과, 상기 제 1 출력 버퍼의 동작을 제어하는 제 1 패킷 출력 명령을 발생하고, 상기 제 1 입력 버퍼 및 상기 제 1 출력 버퍼의 활성화 상태에 따라서 상기 제 1 스위치 패브릭의 상기 스위칭 동작을 단계적으로 제어하는 제 1 절체 제어부를 포함하고,The first switch board comprises: a first switch fabric that actually performs the switching operation; A first input buffer for passing the data packet to the first switch fabric; A first output buffer for outputting a data packet switched by the first switch fabric to the backplane; And generating a first packet input command for controlling an operation of the first input buffer and a first packet output command for controlling an operation of the first output buffer, and activating the first input buffer and the first output buffer. A first switching controller configured to gradually control the switching operation of the first switch fabric according to a state; 상기 제 2 스위치 보드는, 상기 스위칭 동작을 실제적으로 수행하는 제 2 스위치 패브릭; 상기 데이터 패킷을 상기 제 2 스위치 패브릭으로 전달하는 제 2 입력 버퍼; 상기 제 2 스위치 패브릭에 의해 스위칭된 데이터 패킷을 상기 백플레인으로 출력하는 제 2 출력 버퍼; 및 상기 제 1 패킷 입력 명령 및 상기 제 1 패킷 출력 명령에 응답해서 상기 제 2 입력 버퍼의 동작을 제어하는 제 2 패킷 입력 명령과, 상기 제 2 출력 버퍼의 동작을 제어하는 제 2 패킷 출력 명령을 발생하고, 상기 제 2 입력 버퍼 및 상기 제 2 출력 버퍼의 활성화 상태에 따라서 상기 제 2 스위치 패브릭의 상기 스위칭 동작을 단계적으로 제어하는 제 2 절체 제어부를 포함하는 것을 특징으로 하는 에이티엠 스위치.The second switch board comprises: a second switch fabric that actually performs the switching operation; A second input buffer for passing the data packet to the second switch fabric; A second output buffer for outputting a data packet switched by the second switch fabric to the backplane; And a second packet input command for controlling an operation of the second input buffer and a second packet output command for controlling an operation of the second output buffer in response to the first packet input command and the first packet output command. And a second switching controller for generating the second input buffer and controlling the switching operation of the second switch fabric in accordance with activation states of the second input buffer and the second output buffer. 삭제delete 삭제delete 삭제delete 제 7 항에 있어서, 상기 제 1 절체 제어부는 상기 제 1 스위치 보드가 상기 동작 모드에 있을 때 상기 제 1 스위치 보드에서 오류가 검출되면, 상기 데이터 패킷의 입력을 일시 중시시키기 위해 상기 백프레셔를 모든 라인 카드들로 발생하는 것을 특징으로 하는 에이티엠 스위치.10. The apparatus of claim 7, wherein the first switching controller is further configured to stop the back pressure to pause the input of the data packet when an error is detected in the first switch board when the first switch board is in the operation mode. AMT switch, characterized in that generated by the line cards. 제 7 항에 있어서,The method of claim 7, wherein 상기 제 1 절체 제어부는 상기 백프레셔의 발생시 입력되고 있던 데이터 패킷을 상기 제 1 스위치 보드를 통해 마져 받아들인 후, 상기 제 1 패킷 입력 명령에 의해 상기 제 1 입력 버퍼를 디스에이블 시키고 상기 제 2 입력 버퍼를 인에이블 시킴으로서, 상기 제 1 및 제 2 스위치 보드의 입력에 대한 절체를 수행하는 것을 특징으로 하는 에이티엠 스위치.The first transfer control unit accepts the data packet input when the back pressure occurs through the first switch board, and then disables the first input buffer by the first packet input command and then the second input. Atm switch, characterized in that for switching the input of the first and second switch board by enabling a buffer. 제 7 항에 있어서,The method of claim 7, wherein 상기 제 1 절체 제어부는 상기 제 1 및 제 2 스위치 보드의 데이터 입력에 대한 절체 후 상기 제 1 스위치 보드에 저장되었던 상기 데이터 패킷이 모두 출력되고 나면, 상기 제 1 패킷 출력 명령에 의해 상기 제 1 출력 버퍼를 디스에이블 시키고 상기 제 2 출력 버퍼를 인에이블 시킴으로서, 상기 제 1 및 제 2 스위치 보드의 출력에 대한 절체를 수행하는 것을 특징으로 하는 에이티엠 스위치.The first switching control unit outputs the first by the first packet output command after all data packets stored in the first switch board are output after switching to data inputs of the first and second switch boards. Atm switch, characterized in that for switching the output of the first and second switch board by disabling a buffer and enabling the second output buffer. 패킷 스위칭 동작을 수행하는 제 1 스위치 보드와, 상기 제 1 스위치 보드의 스위칭 동작시 스위칭 동작을 수행하지 않고 대기하는 제 2 스위치 보드를 구비한 에이티엠 스위치의 절체 방법에 있어서:In the switching method of the AMT switch having a first switch board for performing a packet switching operation, and the second switch board to wait without performing a switching operation during the switching operation of the first switch board: (a) 상기 제 1 스위치 보드에 장애가 검출되었는지 여부를 판별하여, 상기 제 1 스위치 보드에 장애가 검출된 경우 상기 제 1 스위치 보드에서 모든 라인 카드로 백프레셔를 발생하는 단계;(a) determining whether a failure is detected in the first switch board, and generating a back pressure from the first switch board to all line cards when a failure is detected in the first switch board; (b) 백프레셔가 발생된 시점에서 입력되고 있던 데이터 패킷을 상기 제 1 스위치 보드를 통해 입력받는 단계;(b) receiving a data packet inputted at the time when the back pressure occurs through the first switch board; (c) 상기 제 1 스위치 보드에 데이터 패킷이 더 이상 입력되지 않으면, 상기 제 1 스위치 보드의 입력을 디스에이블 시키고 상기 제 2 스위치 보드의 입력을 인에이블 시킨 후, 상기 백프레셔를 해제하는 단계;(c) if the data packet is no longer input to the first switch board, disabling the input of the first switch board, enabling the input of the second switch board, and then releasing the back pressure; (d) 상기 제 1 스위치 보드에 저장되어 있던 데이터 패킷을 출력하는 단계;(d) outputting a data packet stored in the first switch board; (e) 상기 제 1 스위치 보드에 저장되어 있던 상기 데이터 패킷이 모두 출력되면, 상기 제 1 스위치 보드의 출력을 디스에이블 시키고, 상기 제 2 스위치 보드의 출력을 인에이블 시키는 단계; 및(e) disabling the output of the first switch board and enabling the output of the second switch board when all of the data packets stored in the first switch board are output; And (f) 상기 제 1 스위치 보드의 동작 상태를 상기 동작 모드에서 상기 대기 모드로 변환하고, 상기 제 2 스위치 보드의 동작 상태를 상기 대기 모드에서 상기 동작 모드로 변환하는 단계를 포함하는 것을 특징으로 하는 동작중인 스위치 보드의 자동 절체 방법.(f) converting an operating state of the first switch board from the operating mode to the standby mode, and converting an operating state of the second switch board from the standby mode to the operating mode. Automatic switching method of the switch board in operation. 삭제delete 삭제delete 삭제delete
KR10-2001-0050311A 2001-08-21 2001-08-21 Asynchronous transfer mode switch and automatic switching method thereof KR100425580B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0050311A KR100425580B1 (en) 2001-08-21 2001-08-21 Asynchronous transfer mode switch and automatic switching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0050311A KR100425580B1 (en) 2001-08-21 2001-08-21 Asynchronous transfer mode switch and automatic switching method thereof

Publications (2)

Publication Number Publication Date
KR20030017683A KR20030017683A (en) 2003-03-04
KR100425580B1 true KR100425580B1 (en) 2004-04-03

Family

ID=27720035

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0050311A KR100425580B1 (en) 2001-08-21 2001-08-21 Asynchronous transfer mode switch and automatic switching method thereof

Country Status (1)

Country Link
KR (1) KR100425580B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101349963B1 (en) * 2010-12-23 2014-01-14 한국전자통신연구원 Apparatus for backplane consisted of the system with duplicated switch board

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030064072A (en) * 2002-01-25 2003-07-31 한국전자통신연구원 Double media gateway apparatus and control method thereof in ATM

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990000780A (en) * 1997-06-10 1999-01-15 양승택 Redundancy Control Unit of ATM Switch
KR19990005390A (en) * 1997-06-30 1999-01-25 윤종용 Redundancy Device and Method of ATM Switch Board
KR20000007732A (en) * 1998-07-07 2000-02-07 윤종용 Multi-casting connecting restore device and method at doubled switchboard of asynchronous transfer mode multimedia switching system
KR20000025698A (en) * 1998-10-13 2000-05-06 윤종용 Switch module
KR20010049005A (en) * 1999-11-30 2001-06-15 서평원 ATM Cell Data Protecting Apparatus of ATM Switching System
KR20010049071A (en) * 1999-11-30 2001-06-15 서평원 A duplex controlling apparatus between modules in a Asynchronous Transfer Mode switching system, and control method thereof
KR20010064245A (en) * 1999-12-27 2001-07-09 오길록 ATM access system and method for layer management

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990000780A (en) * 1997-06-10 1999-01-15 양승택 Redundancy Control Unit of ATM Switch
KR19990005390A (en) * 1997-06-30 1999-01-25 윤종용 Redundancy Device and Method of ATM Switch Board
KR20000007732A (en) * 1998-07-07 2000-02-07 윤종용 Multi-casting connecting restore device and method at doubled switchboard of asynchronous transfer mode multimedia switching system
KR20000025698A (en) * 1998-10-13 2000-05-06 윤종용 Switch module
KR20010049005A (en) * 1999-11-30 2001-06-15 서평원 ATM Cell Data Protecting Apparatus of ATM Switching System
KR20010049071A (en) * 1999-11-30 2001-06-15 서평원 A duplex controlling apparatus between modules in a Asynchronous Transfer Mode switching system, and control method thereof
KR20010064245A (en) * 1999-12-27 2001-07-09 오길록 ATM access system and method for layer management

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101349963B1 (en) * 2010-12-23 2014-01-14 한국전자통신연구원 Apparatus for backplane consisted of the system with duplicated switch board

Also Published As

Publication number Publication date
KR20030017683A (en) 2003-03-04

Similar Documents

Publication Publication Date Title
US5617547A (en) Switch network extension of bus architecture
EP0262429B1 (en) Data processor having a high speed data transfer function
JP3039968B2 (en) Instantaneous interruption switching method
KR920013141A (en) Supervisory Control Expansion Method and Circuit of Variable Master Method Using Single Line
JPH0241221B2 (en)
KR100425580B1 (en) Asynchronous transfer mode switch and automatic switching method thereof
US7751312B2 (en) System and method for packet switch cards re-synchronization
KR100533135B1 (en) Remote Power Control Method and Apparatus in Distributed Communication System
JP2658853B2 (en) Communication control device
JPH057213A (en) Atm cell switch system switching system
JPH1051514A (en) Interface device
KR100411435B1 (en) Apparatus and Method For Serving Hot Swap Function In Router System Having Mid-Plane Structure
JP2861595B2 (en) Switching control device for redundant CPU unit
JP2671829B2 (en) Clock switching circuit
JP3575432B2 (en) Line switching device and line switching method
JP3125864B2 (en) Redundant system
EP0651336A1 (en) Switch network extension of bus architecture
KR100311228B1 (en) Cell/Packet Switching System With Multiple Plane Operation
KR100383130B1 (en) Switch Element Used in Distributed Control System
KR100825458B1 (en) Apparatus for Duplexing Board for Network Synchronization Board in Radio Network Controller
KR200310649Y1 (en) Dual active protection on redundant trunk boards
JPH0563802A (en) Duplicate equipment for exchange
KR20040024232A (en) Device of 5g switching in atm system
JPH08191319A (en) Data communication system
JPH08286938A (en) Computer system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20100226

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee