KR20080053115A - Packet switching system for load shared switch redundancy - Google Patents

Packet switching system for load shared switch redundancy Download PDF

Info

Publication number
KR20080053115A
KR20080053115A KR1020060125105A KR20060125105A KR20080053115A KR 20080053115 A KR20080053115 A KR 20080053115A KR 1020060125105 A KR1020060125105 A KR 1020060125105A KR 20060125105 A KR20060125105 A KR 20060125105A KR 20080053115 A KR20080053115 A KR 20080053115A
Authority
KR
South Korea
Prior art keywords
packet
switch
unit
information
forwarding
Prior art date
Application number
KR1020060125105A
Other languages
Korean (ko)
Other versions
KR100867991B1 (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 KR1020060125105A priority Critical patent/KR100867991B1/en
Publication of KR20080053115A publication Critical patent/KR20080053115A/en
Application granted granted Critical
Publication of KR100867991B1 publication Critical patent/KR100867991B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/552Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/20Hop count for routing purposes, e.g. TTL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

A packet switching system for distributed processing redundancy is provided to distribute and transfer traffic load when duplicated switch devices are normal and not to transfer a packet to a switch in an abnormal status when a switch is abnormal, thereby performing switching for fast packet transmission by changing a switching selection bit field and minimizing a packet loss. A packet switching system for distributed processing redundancy comprises packet switch units(100,101), control units(102,103), and plural packet processing units(104~107). The packet switch units include at least two switches, makes the switches duplicated, receives a packet to each of the duplicated switches, and switches and outputs the packet. At least one of the control units is operated in an active mode in the packet switch units. The other of the control units is operated in a standby mode in the packet switch units. Each of the plural packet processing units are connected to each switch in the duplicated packet switch to input the packet to the packet switch units or receive the packet switched and outputted by the packet switch units.

Description

분산 처리 이중화 패킷 스위칭 시스템{Packet switching system for load shared switch redundancy}Distributed processing redundant packet switching system {Packet switching system for load shared switch redundancy}

도 1은 본 발명에 따른 분산 처리 이중화 패킷 스위칭 시스템의 구성의 일 예를 블록으로 도시한 것이다.1 is a block diagram showing an example of the configuration of a distributed processing redundant packet switching system according to the present invention.

도 2는 본 발명에 따른 패킷 처리 장치의 구성의 일 예를 도시한 것이다.2 shows an example of the configuration of a packet processing apparatus according to the present invention.

도 3은 본 발명에 따른 패킷 처리부의 구조의 일 예를 도시한 것이다.3 illustrates an example of a structure of a packet processing unit according to the present invention.

도 4는 본 발명에 따라 패킷 포워딩을 위한 스위치 선택 제어 레지스터 구조를 도시한 것이다.4 illustrates a switch selection control register structure for packet forwarding in accordance with the present invention.

도 5는 스위치 상태 천이에 따른 스위치 선택 제어 방법에 대한 상태를 도시한 것이다.5 shows a state of a switch selection control method according to a switch state transition.

도 6은 스위치 경로 선택 제어를 위한 논리도를 도시한 것이다.6 shows a logic diagram for switch path selection control.

본 발명은 통신 및 컴퓨터 시스템에 관한 것으로서, 고신뢰성을 가지는 패킷처리 기능을 제공하는 시스템에 관한 것이다.TECHNICAL FIELD The present invention relates to communication and computer systems, and more particularly, to a system for providing a packet processing function having high reliability.

기존의 패킷 스위칭 장치는 패킷 처리 기능과 스위치 기능이 밀결합되어 있 으며 시스템의 고 신뢰성과 용량 확장이 용이하지 않다. 또한 장치에 고장이 난 경우 별다른 대책이 없다는 문제도 가지고 있다.Conventional packet switching devices are tightly coupled with packet processing and switch functions, and the system's high reliability and capacity expansion are not easy. It also has the problem that there is no countermeasure in the event of a device failure.

본 발명이 이루고자 하는 기술적인 과제는, 상기의 문제점들을 해결하기 위해, 신뢰성과 용량 확장을 용이하게 하면서도 고장이 난 경우에 대비할 수 있는 분산 처리 이중화 패킷 스위칭 시스템을 제공하는데 있다.The technical problem to be achieved by the present invention is to provide a distributed processing redundant packet switching system that can be prepared in case of failure while facilitating reliability and capacity expansion to solve the above problems.

상기 기술적 과제를 해결하기 위한 본 발명에 의한, 분산 처리 이중화 패킷 스위칭 시스템은, 최소 2개의 스위치를 포함하여 그 스위치들이 이중화되어, 패킷을 상기 이중화된 스위치들 각각의 입력으로 받아 스위칭해서 출력하는 패킷 스위치부; 상기 패킷 스위치부에서 최소 하나는 액티브 모드로, 다른 하나는 대기 모드로 동작하는 제어부; 및 상기 이중화된 패킷 스위치 내의 각 스위치와 각각 모두 연결되어 패킷을 상기 패킷 스위치부로 입력하거나 상기 패킷 스위치부에서 스위칭되어 출력되는 패킷을 입력받는 복수의 패킷 처리 장치;를 포함하는 것을 특징으로 한다.In the distributed processing redundant packet switching system according to the present invention for solving the above technical problem, a packet including at least two switches, the switches are duplicated, receiving and switching the packet as an input of each of the redundant switches to output Switch unit; A controller for operating at least one of the packet switch unit in an active mode and the other in a standby mode; And a plurality of packet processing apparatuses connected to each switch in the redundant packet switch, respectively, to receive a packet into the packet switch unit or to receive a packet that is switched and output from the packet switch unit.

상기 부하 분산 구조로 이중화된 패킷 스위치는 입력되는 패킷을 스위칭하여 출력하게 하게 하며, 상기 패킷 처리 장치는 상기 패킷 스위치부로부터 출력되어 입력되는 패킷들을 처리한다.The packet switch duplexed with the load balancing structure causes the input packet to be switched and outputted, and the packet processing apparatus processes the packets output from the packet switch unit.

상기 제어부는 상기 패킷 스위치부 중에서 이상이 발생한 경우 그 이상이 발생한 스위치로부터 출력이 발생하지 않도록 하는 것을 특징으로 하며, 상기 제어부 가 각 스위치마다 별도로 존재하는 경우 상기 액티브 모드로 동작하는 스위치에 대응하는 제어부는 상기 패킷 처리 장치들과 패킷 스위칭 및 패킷 처리에 필요한 제어 메시지를 교환한다.The controller may be configured to prevent an output from being generated from a switch in which an error occurs when an error occurs in the packet switch unit. The controller corresponding to a switch operating in the active mode when the controller is separately present in each switch. Exchanges control messages necessary for packet switching and packet processing with the packet processing apparatuses.

그리고 상기 제어부는 상기 패킷 스위치부 중에서 이상이 발생한 경우 이를 상기 복수의 패킷 처리 장치 각각에 전달하여, 그 이상이 발생한 스위치로부터 출력을 무시하도록 한다.The controller transmits the abnormality among the packet switch units to each of the plurality of packet processing apparatuses so as to ignore the output from the switch in which the abnormality occurs.

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

도 1은 본 발명에 따른 분산 처리 이중화 패킷 스위칭 시스템의 구성의 일 예를 블록으로 도시한 것이다.1 is a block diagram showing an example of the configuration of a distributed processing redundant packet switching system according to the present invention.

이 시스템은, 최소 2개의 스위치(100, 101)를 포함하여 그 스위치들이 이중화되어, 상기 이중화된 스위치들 각각의 입력을 받아 스위칭해서 출력하는 패킷 스위치부(100, 101), 패킷 스위치부 중의 최소 하나는 액티브 모드로, 다른 하나는 대기 모드로 동작하는 제어부(102, 103), 이중화된 패킷 스위치 내의 각 스위치와 각각 모두 연결되어 패킷을 패킷 스위치부(100, 101)로 입력하거나 패킷 스위치부(100, 101)에서 스위칭되어 출력되는 패킷을 입력받는 복수의 패킷 처리 장치(104 내지 107)를 포함한다.This system includes at least two switches (100, 101), the switches are redundant, the packet switch unit (100, 101) for receiving and switching the input of each of the redundant switches, the minimum of the packet switch unit One is in the active mode, the other is in the standby mode, the control unit (102, 103), respectively connected to each switch in the redundant packet switch to input the packet to the packet switch unit (100, 101) or packet switch unit ( A plurality of packet processing devices (104 to 107) for receiving a packet that is switched and output in the 100, 101.

도 1에서 패킷 스위치부는 패킷 스위치 A(100)와 패킷 스위치 B(101)의 2개의 스위치로 구성된 것으로 예를 들었으며, 이하에서는 상기 두 개의 패킷 스위치 가 있는 것으로 하여 설명을 진행할 것이다.In FIG. 1, the packet switch unit includes two switches, a packet switch A 100 and a packet switch B 101. Hereinafter, the packet switch unit will be described as having the two packet switches.

일단 이중화를 위해 두 배의 용량을 사용한 것이므로 본 발명에 따른 도 1의 스위칭 시스템은 패킷 처리 용량 확장이 용이한 것을 알 수 있다. 또한 도 1과 같은 본 발명에 적용되는 이중 패킷 스위칭 시스템은 고가용성 및 신뢰성을 제공한다.Since the double capacity is used for redundancy, it can be seen that the switching system of FIG. 1 according to the present invention can easily expand the packet processing capacity. In addition, the dual packet switching system applied to the present invention as shown in FIG. 1 provides high availability and reliability.

이중화되어 있는 패킷 스위치 장치(100, 101)는 표준화되어 있는 10G XAUI 인터페이스를 통하여 패킷 처리 장치들 (104~107)과 연결된다. 분산되어 있는 각 패킷 처리 장치들(104 내지 107)은 각각 2개의 XAUI 인터페이스를 통하여 패킷 스위치 장치 A 및 B(100, 101)와 연결된다. The redundant packet switch devices 100 and 101 are connected to the packet processing devices 104 to 107 through a standardized 10G XAUI interface. Each of the distributed packet processing devices 104 to 107 is connected to the packet switch devices A and B 100 and 101 through two XAUI interfaces, respectively.

이때, 하나의 XAUI 인터페이스는 패킷 스위치A(100)와 연결되고 또 다른 하나의 XAUI 인터페이스는 패킷 스위치B(101)와 연결된다. 이중화되어 있는 패킷 스위치는 정상인 상태에서는 패킷 스위칭 기능을 모두 수행하고 비정상인 상태에서는 정상인 스위치를 통하여 패킷 스위칭을 수행하도록 한다. 따라서 본 발명에 따른 패킷 스위치 시스템은 정상인 상태에서 패킷 처리 장치로부터의 패킷 처리를 분산시켜 처리하는 부하 분산 기능을 가진다.At this time, one XAUI interface is connected to the packet switch A (100) and another XAUI interface is connected to the packet switch B (101). The duplicated packet switch performs all packet switching functions in a normal state and performs packet switching through a normal switch in an abnormal state. Therefore, the packet switch system according to the present invention has a load balancing function for distributing and processing packet processing from the packet processing apparatus in a normal state.

제어부(102, 103)는 패킷 스위칭 시스템의 라우팅 프로토콜 수행 및 상태 관리, 유지 보수 기능을 수행하는 주 제어부로, 두 개의 제어부는 상호 협상하여 액티브, 스탠바이로 동작한다. The controllers 102 and 103 are main controllers that perform routing protocol performance, state management, and maintenance functions of the packet switching system. The two controllers operate as active and standby by negotiating with each other.

액티브 제어부는 패킷 처리 장치들(104 내지 107)과 제어 메시지 전달 경로(109)를 통하여 각종 제어 메시지들을 교환한다. 제어 메시지 전달 경로를 통하 여 패킷 전달에 필요한 각종 테이블 정보도 전달된다. 참조번호 110의 경로를 통해 패킷 스위치 장치의 정상/비정상을 나타내는 신호가 각 패킷 처리 장치로 직접 연결되어 스위치 장치의 고장에 대하여 패킷 전달 경로에 있어 스위치 장치 선택을 곧 바로 할 수도 있다.The active control unit exchanges various control messages with the packet processing apparatuses 104 to 107 via the control message transmission path 109. Various table information necessary for packet delivery is also delivered through the control message delivery path. A signal indicating normal / abnormal of the packet switch device is directly connected to each packet processing device through the path of reference numeral 110 to immediately select the switch device in the packet forwarding path for the failure of the switch device.

참조번호 111은 가입자 망정합을 나타내는 예를 들면 1 Gbps의 인터페이스를 나타낸다.Reference numeral 111 denotes, for example, an interface of 1 Gbps indicating subscriber network matching.

도 2는 본 발명에 따른 패킷 처리 장치의 구성의 일 예를 도시한 것이다. 패킷 처리 장치는 패킷 처리 제어부(200), 스위치 정합부(201), 패킷 처리부(202), 가입자 다중화 정합부(206)를 포함하며, 패킷 처리부(202)는 룩업 엔진(205), 포워딩 메모리(204), 패킷 메모리(203)와 밀결합되어 패킷의 저장, 경로 설정, 전달 기능을 수행한다.2 shows an example of the configuration of a packet processing apparatus according to the present invention. The packet processing apparatus includes a packet processing control unit 200, a switch matching unit 201, a packet processing unit 202, and a subscriber multiplexing matching unit 206. The packet processing unit 202 includes a lookup engine 205 and a forwarding memory ( 204 is tightly coupled with the packet memory 203 to store, route, and forward packets.

패킷 처리 제어부(200)은 스위치 장치의 제어부((102, 103)와 제어 메시지 경로(109)를 통하여 패킷 전달 제어 및 테이블 정보를 송수신하며, 스위치 상태 신호(110 혹은 207)를 감지하여 패킷 스위치 A(100) 또는 B(101)로의 경로 제어 기능을 수행한다. The packet processing control unit 200 transmits and receives packet forwarding control and table information through the control message paths 109 and the control units 102 and 103 of the switch device, and detects the switch status signal 110 or 207 to transmit the packet switch A. A path control function to the 100 or the B 101 is performed.

스위치 정합부(208)는 패킷 스위치 A(100) 또는 B(101)와 연결되는 두개의 XAUI 인터페이스(208, 209)를 제공한다. 룩업 엔진(205)은 수신된 패킷의 전달 정책에 따라 룩업 키에 대한 검색 기능을 수행하여 일치하는 키에 해당하는 인덱스 값을 패킷 처리부(202)로 전달한다. 포워딩 메모리(204)는 해당 패킷의 전달에 필요한 포워딩 정보에 대한 각종 테이블을 저장하는 메모리로 다음 홉(Next hop) 정 보, 스위치 경로 정보, 패킷 전달 허용 여부 정보 등을 포함한다. 패킷 메모리(203)는 수신된 패킷을 포워딩 정보에 따라 스케쥴링에 의해 다음 홉으로 전달할 때까지 일시적으로 저장한다.The switch matching unit 208 provides two XAUI interfaces 208 and 209 connected with the packet switch A 100 or the B 101. The lookup engine 205 performs a search function on the lookup key according to the delivery policy of the received packet, and delivers the index value corresponding to the matching key to the packet processor 202. The forwarding memory 204 is a memory that stores various tables of forwarding information necessary for forwarding a packet, and includes next hop information, switch path information, and packet forwarding information. The packet memory 203 temporarily stores the received packet until delivered to the next hop by scheduling according to the forwarding information.

가입자 다중화 정합부(205)는 복수의 가입자 단말과 연결(210)되어 복수의 가입자로부터의 패킷을 다중화하여 패킷 처리부(202)로 전달하거나 패킷 처리부(202)에서 처리된 패킷을 해당되는 사용자 단말로 전송한다.The subscriber multiplexing matching unit 205 is connected to a plurality of subscriber stations 210 to multiplex packets from a plurality of subscribers and deliver them to the packet processing unit 202 or to transfer the packets processed by the packet processing unit 202 to a corresponding user terminal. send.

도 3은 본 발명에 따른 패킷 처리부의 구조의 일 예를 도시한 것이다.3 illustrates an example of a structure of a packet processing unit according to the present invention.

패킷 처리 장치 내부의 패킷 처리부(202)는 패킷 헤더 처리부(300), 룩업 처리부(301), 포워딩 정보 추출부(304), 패킷 헤더 조작부(307) 및 패킷 조합부(308)를 포함하고 있으며, 스위치 정합부(311)를 통해 패킷 스위치 A(100) 또는 B(101)와 연결된다.The packet processing unit 202 inside the packet processing apparatus includes a packet header processing unit 300, a lookup processing unit 301, a forwarding information extraction unit 304, a packet header operation unit 307, and a packet combination unit 308. The switch matching unit 311 is connected to the packet switch A (100) or B (101).

패킷 헤더 처리부(300)는 IP 패킷이 수신될 때 패킷 헤더를 분석하여 패킷 헤더의 오류 검사 및 포워딩 정책에 따른 MAC 주소, IP 주소, TCP 포트 정보 등의 룩업 키를 추출한다. When the IP packet is received, the packet header processing unit 300 analyzes the packet header and extracts a lookup key such as MAC address, IP address, and TCP port information according to an error checking and forwarding policy of the packet header.

룩업 처리부(301)는 패킷 헤더 처리부(300)에서 추출된 룩업 키를 룩업 엔진(205)에 전달하여 키 값에 일치하는 인덱스 정보를 받는다. 참조번호 303의 화살표는 룩업 엔진(205)으로 전달하는 룩업 키를 나타내고, 참조번호 302의 화살표는 룩업 엔진(205)으로부터 받는 인덱스 정보를 나타낸다. The lookup processor 301 transmits the lookup key extracted by the packet header processor 300 to the lookup engine 205 to receive index information corresponding to the key value. An arrow 303 denotes a lookup key transmitted to the lookup engine 205, and an arrow 302 denotes index information received from the lookup engine 205.

포워딩 정보 추출부(304)는 룩업 처리부(301)로부터 받은 인덱스 값을 이용하여 포워딩 메모리(204)에 저장되어 있는 포워딩 정보를 페치(fetch)한다. 포워딩 정보는 {다음 홉 포트(next hop port) 정보, 스위치 정합 포트 정보, 다음 홉(next hop) MAC 정보, QoS 정보, 패킷 수락 여부 정보 등}을 포함하여 구성된다. The forwarding information extractor 304 fetches the forwarding information stored in the forwarding memory 204 by using the index value received from the lookup processor 301. The forwarding information includes {next hop port information, switch matching port information, next hop MAC information, QoS information, packet acceptance information, etc.}.

본 발명에서는 이와 같은 정보 중에서 스위치 정합 포트 정보를 활용하여 부하 분산 이중화 스위치의 스위치 이중화 제어 기능을 수행한다. 306의 화살표는 포워딩 메모리(204)로의 어드레싱을 나타내고 참조번호 305는 해당 포워딩 정보를 포워딩 메모리(204)로부터 페치(fetch)하는 것을 나타내고 있다.In the present invention, the switch redundancy control function of the load balancing redundant switch is performed by using the switch matching port information among such information. An arrow 306 indicates addressing to the forwarding memory 204 and reference numeral 305 indicates fetching the corresponding forwarding information from the forwarding memory 204.

패킷 헤더 조작부(307)는 포워딩 정보 추출부(304)에서 추출된 포워딩 정보를 활용하여 다음 홉(next hop)으로 전달될 패킷에 대하여 TTL값 변경, MAC 주소 변경, QoS 정보 변경을 포함하는 헤더 조작 기능을 수행한다. The packet header manipulator 307 utilizes forwarding information extracted by the forwarding information extractor 304 to manipulate a header including a TTL value change, a MAC address change, and a QoS information change for a packet to be delivered to the next hop. Perform the function.

패킷 조합부(308)는 패킷 메모리(203)로부터 패킷을 읽어서 변경된 패킷 헤더와 조합하여 스위치 정합부(311)로 전달한다. 참조번호 310과 309의 화살표는 전달될 패킷을 읽기 위한 포인터와 패킷 데이터를 각각 나타낸다.The packet combiner 308 reads the packet from the packet memory 203, combines the changed packet header, and delivers the packet to the switch matcher 311. Arrows 310 and 309 denote pointers and packet data for reading the packet to be delivered, respectively.

도 4는 본 발명에 따라 패킷 포워딩을 위한 스위치 선택 제어 레지스터 구조를 나타내고 있다. 4 illustrates a switch selection control register structure for packet forwarding according to the present invention.

참조번호 400은 포워딩 메모리에 저장되어 있는 포워딩 테이블 정보 중 스위치A, 스위치B로 향하는 경로를 나타내는 두개의 비트를 표시하고 있다. 이때, 해당 비트가1인 경우 해당되는 스위치를 선택한다는 의미이다. 예를 들어, 스위치A, 스위치B가 정상적일 경우 비트 A B =  10 일 경우에는 스위치A를 선택하고 AB = 01 일 경우에는 스위치B 경로를 선택한다는 것을 나타내고 있다. 스위치 선택 제어 정합부(401)는 스위치 선택을 제어하는 기능부를 나타내는 것으로 스위치A, 스 위치B중 스위치의 비정상적인 상태가 발생한 경우 이미 설정되어 있던 포워딩 테이블의 스위치 선택 비트와 패킷 처리 제어부(200)로부터 설정되는 마스크 비트 및 경로 제어 비트를 조합하여 스위치 선택 경로를 제어한다. 참조번호 402는 상기 스위치 선택 제어 기능을 하는 스위치 정합부(401)에서 결정된 최종의 다음 홉(next hop) 포워딩 레지스터를 나타내고 있다. 참조번호 403의 도표는 참조번호 401의 제어부에서 스위치의 상태에 따라 제어하는 포워딩 레지스터 상태를 나타내고 있다.Reference numeral 400 denotes two bits indicating a path to switch A and switch B of the forwarding table information stored in the forwarding memory. In this case, when the corresponding bit is 1, it means that the corresponding switch is selected. For example, when switch A and switch B are normal, bit A B = '10' selects switch A, and when AB = '01', selects switch B path. The switch selection control matching unit 401 indicates a function unit for controlling switch selection. When an abnormal state of the switch A or switch B occurs, the switch selection control matching unit 401 is configured from the switch selection bit of the forwarding table and the packet processing control unit 200 that have already been set. The mask selection path and the path control bits that are set are combined to control the switch selection path. Reference numeral 402 denotes a final next hop forwarding register determined by the switch matching unit 401 serving as the switch selection control function. The reference numeral 403 shows a state of the forwarding register controlled by the control unit of the reference numeral 401 according to the state of the switch.

도 5는 스위치 상태 천이에 따른 스위치 선택 제어 방법에 대한 상태를 도시한 것이다.5 shows a state of a switch selection control method according to a switch state transition.

이중화로 구성되어 있는 스위치A, 스위치B 두장의 스위치에 대한 상태는 4개의 상태로 분류할 수 있다. S0(500)의 상태는 스위치A, 스위치B가 모두 정상 상태, S1(501)은 스위치A 정상, 스위치B 비정상 상태, S2(502) 상태는 스위치A 비정상, 스위치B 정상 상태, S3(503)은 스위치A, 스위치B 모두 비정상 상태를 각각 나타내고 있다.The states of two switches, Switch A and Switch B, which consist of redundancy, can be classified into four states. The state of S0 500 is switch A, switch B is all normal state, S1 (501) is switch A normal, switch B abnormal state, S2 502 states are switch A abnormal, switch B normal state, S3 503 Denotes an abnormal state in both switch A and switch B, respectively.

각 상태에서 두 비트 A1 B1은 포워딩 메모리(204)로부터 페치한 스위치 선택 비트 필드를 나타내고, A2 B2의 두 비트는 스위치 상태에 따른 제어용 마스크 비트를 나타낸다. 이것은 포워딩 테이블로부터 페치한 스위치 선택 비트를 적용하지 않기 위한 마스크용으로 사용된다. A3 B3의 두 비트는 스위치A, 스위치B 두 스위치의 상태에 따른 스위치 선택 제어용으로 사용된다. In each state, two bits A1 B1 represent a switch select bit field fetched from the forwarding memory 204, and two bits of A2 B2 represent a control mask bit according to the switch state. This is used for the mask to not apply the switch select bit fetched from the forwarding table. The two bits of A3 and B3 are used for switch selection control depending on the state of switches A and B.

S0 상태에서는 두 스위치가 모두 정상이므로 참조번호 504와 같이 마스크를 시키지 않고 A2 B2= 11 로 강제 스위치 선택 비트를 설정하지 않는다(A3 B3= 00 ). S0 상태에서 스위치B가 비정상이고 스위치A가 정상이면 S1 상태로 천이되고, 포워딩 메모리(204)로부터 페치한 스위치 선택 비트 필드A1B1의 두 비트에 대하여 마스크 기능을 수행하기 위하여 참조번호 505와 같이 A2 B2= 00 로 설정하고 스위치A를 강제 선택하도록 두 비트 A3 B3 = 10 으로 설정한다. 또한 S1 상태에서 스위치B가 정상 상태로 되면 S0상태로 천이되고, 참조번호 504와 같이 각 비트를 설정하여 포워딩 테이블에 설정된 스위치로 경로 설정이 되게 한다. In the S0 state, both switches are normal, so do not set the forced switch select bit with A2 B2 = 11 without masking as shown at 504 (A3 B3 = 00). If the switch B is abnormal in the S0 state and the switch A is normal, the state transitions to the S1 state and A2 B2 as shown by reference numeral 505 to perform a mask function on two bits of the switch select bit field A1B1 fetched from the forwarding memory 204. Set it to '00' and set two bits A3 B3 = '10' to force switch A to be selected. When the switch B is in the normal state in the S1 state, the state transitions to the S0 state, and as shown by reference numeral 504, each bit is set so that the path is set to the switch set in the forwarding table.

한편, S0 상태에서 스위치A가 비정상 상태가 되면 S2 상태로 천이되고, 포워딩 메모리로부터 페치한 스위치 선택 비트 필드 A1 B1의 두 비트에 대하여 참조번호 506에서와 같이 마스크 기능을 수행하고(A2 B2= 00 ) 스위치B를 강제 선택하도록 두 비트 A3 B3= 01 으로 설정한다. 또한 S2 상태에서 스위치A가 정상 상태로 되면 S0상태로 천이되고 참조번호 504와 같이 각 비트를 설정하여 포워딩 테이블에 설정된 스위치로 경로 설정이 되게 한다.On the other hand, if the switch A becomes abnormal in the S0 state, the state transitions to the S2 state, and the mask function is performed on the two bits of the switch select bit field A1 B1 fetched from the forwarding memory as in reference numeral 506 (A2 B2 = # 00). Set bit 2 A3 B3 = 01 to force selection of switch B. In addition, when the switch A is in the normal state in the S2 state, the state transitions to the S0 state, and each bit is set as shown by reference numeral 504 to set the path to the switch set in the forwarding table.

S1, S2 상태에서 스위치A, 스위치B가 각각 비정상 상태로 갈 경우(두 스위치가 모두 비정상 상태) S3 상태로 천이되며, 참조번호 507과 같이 제어 비트를 설정하여 패킷 전달이 되지 않도록 한다. If switch A and switch B go to abnormal state in both S1 and S2 state (both switches are abnormal state), the state transitions to S3 state, and the control bit is set as indicated by reference numeral 507 to prevent packet forwarding.

S3상태에서 스위치A가 정상이되면 S1 상태로 천이되고 스위치B가 정상이 되면 S2상태로 천이되어 패킷이 그 상태에 대응하는 해당 스위치로 전달된다.In the S3 state, when the switch A becomes normal, the state transitions to the S1 state. When the switch B becomes the normal state, the state transitions to the S2 state, and the packet is delivered to the corresponding switch corresponding to the state.

도 6은 스위치 경로 선택 제어를 위한 논리도를 도시한 것이다.6 shows a logic diagram for switch path selection control.

도 5에서 언급한 바와 같이 두 비트 A1 B1은 포워딩 메모리로부터 페치한 스 위치 선택 비트 필드를 나타내고, A2 B2두 비트는 스위치 상태에 따른 제어용 마스크 비트를 나타낸다. 이것은 포워딩 테이블로부터 페치한 스위치 선택 비트를 적용하지 않기 위한 마스크용으로 사용된다. As mentioned in FIG. 5, two bits A1 B1 indicate a switch select bit field fetched from the forwarding memory, and two bits A2 B2 indicate a control mask bit according to a switch state. This is used for the mask to not apply the switch select bit fetched from the forwarding table.

A1은 마스크 값을 나타내는 A2와 논리곱으로 동작하여, A2=0이면 A1의 값이 마스킹되고 스위치 상태에 따라 설정되는 A3와 논리합으로 동작하여 최종 스위치 선택의 결과인 SA의 비트 상태를 결정한다. 마찬가지로 B1은 마스크 값을 나타내는 B2와 논리곱으로 동작하여 B2=0이면 B1의 값이 마스킹되고 스위치 상태에 따라 설정되는 B3와 논리합으로 동작하여 최종 스위치 선택의 결과인 SB의 비트 상태를 결정한다.A1 operates logically with A2 representing the mask value, and if A2 = 0, the value of A1 is masked and operates with OR, which is set according to the switch state, to determine the bit state of the SA that is the result of the final switch selection. Similarly, B1 operates by AND with B2 representing a mask value. If B2 = 0, the value of B1 is masked and operates with OR with B3 set according to the switch state to determine the bit state of SB that is the result of the final switch selection.

상기와 같은 본 발명은 광가입자망과 같은 다수의 PON 가입자를 수용하는 용량 확장 용이한 패킷 스위칭 시스템에 적용될 수 있고, 패킷 스위치 장치가 정상적일 경우에는 패킷 트래픽에 대하여 부하를 분산하여 처리하다가 하나의 스위치 장치에 고장이 발생한 경우 고장 발생된 스위치 장치로 스위칭 되던 패킷을 정상적인 스위치 장치를 통하여 트래픽 서비스가 계속되도록 한다.As described above, the present invention can be applied to an easy-to-capacity packet switching system for accommodating a plurality of PON subscribers such as an optical subscriber network. In the case where the packet switch device is normal, the load is distributed and processed for packet traffic. If a failure occurs in the switch device, the packet service that was switched to the failed switch device continues traffic service through the normal switch device.

즉, 본 발명은 이중화로 구성되어 있는 패킷 스위치 장치가 정상적일 경우에는 패킷 트래픽에 대하여 부하를 분산하여 처리하다가 하나의 스위치 장치에 고장이 발생한 경우 고장 발생된 스위치 장치로 스위칭 되던 패킷을 정상적인 스위치 장치를 통하여 트래픽 서비스가 계속되도록 하는 기능을 제공한다.That is, according to the present invention, if the packet switch device composed of redundancy is normally handled by distributing the load to the packet traffic, if a failure occurs in one switch device, the packet switched to the failed switch device is normally switched. It provides a function to continue the traffic service through.

본 발명에 의하면, 최소 2개의 스위치를 포함하여 그 스위치들이 이중화되 어, 같은 패킷을 동시에 상기 이중화된 스위치들 각각의 입력으로 받아 스위칭해서 출력하는 패킷 스위치부, 패킷 스위치부에서 최소 하나는 액티브 모드로, 다른 하나는 대기 모드로 동작하는 제어부; 이중화된 패킷 스위치 내의 각 스위치와 각각 모두 연결되어 패킷을 패킷 스위치부로 입력하거나 패킷 스위치부에서 스위칭되어 출력되는 패킷을 입력받는 복수의 패킷 처리 장치를 포함하여, 이중화된 스위치 장치가 모두 정상일 경우에는 트래픽 부하가 분산되어 전달되도록 하고, 하나의 스위치가 비정상 상태로 될 경우에는 패킷 처리 장치에서 비정상 상태의 스위치로 패킷이 전달되지 않도록 한다. 그리고 포워딩 정보 중 스위치 선택 비트 필드를 변경시킴으로서 신속한 패킷 전달의 스위치 절체를 할 수 있으며 그 결과 패킷 유실을 최소화 할 수 있는 효과를 제공한다.According to the present invention, a packet switch unit including at least two switches, the switches of which are redundant, receiving and switching the same packet as an input of each of the redundant switches at the same time. The other, the control unit operating in the standby mode; Each packet is connected to each switch in the redundant packet switch, and includes a plurality of packet processing apparatuses for receiving a packet to the packet switch unit or a packet output from the packet switch unit. The load is distributed and transmitted, and when one switch is in an abnormal state, the packet processing device does not transmit the packet to the abnormal state switch. And by changing the switch selection bit field of the forwarding information, it is possible to switch the switch of the fast packet forwarding, and as a result, it is possible to minimize the packet loss.

Claims (11)

최소 2개의 스위치를 포함하여 그 스위치들이 이중화되어, 패킷을 상기 이중화된 스위치들 각각의 입력으로 받아 스위칭해서 출력하는 패킷 스위치부; A packet switch unit including at least two switches, the switches of which are duplexed to receive a packet as an input of each of the duplexed switches, and to output the packet; 상기 패킷 스위치부에서 최소 하나는 액티브 모드로, 다른 하나는 대기 모드로 동작하는 제어부; 및 A controller for operating at least one of the packet switch unit in an active mode and the other in a standby mode; And 상기 이중화된 패킷 스위치 내의 각 스위치와 각각 모두 연결되어 패킷을 상기 패킷 스위치부로 입력하거나 상기 패킷 스위치부에서 스위칭되어 출력되는 패킷을 입력받는 복수의 패킷 처리 장치;를 포함하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.And a plurality of packet processing apparatuses connected to each switch in the redundant packet switch, respectively, to input a packet to the packet switch unit or to receive a packet that is switched and output from the packet switch unit. Packet switching system. 제1항에 있어서,The method of claim 1, 상기 제어부는 정상적인 스위치에 대하여 입력되는 모든 패킷을 스위칭하여 출력하게 하게 하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.And the controller is configured to switch and output all packets inputted to a normal switch. 제1항 또는 제2항에 있어서,The method according to claim 1 or 2, 상기 제어부는 상기 패킷 스위치부 중에서 이상이 발생한 경우 그 이상이 발생한 스위치로부터 출력이 발생하지 않도록 하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.And the controller is configured to prevent an output from being generated from a switch in which an error occurs when an error occurs in the packet switch unit. 제1항 또는 제2항에 있어서,The method according to claim 1 or 2, 상기 제어부가 각 스위치마다 별도로 존재하는 경우 상기 액티브 모드로 동작하는 스위치에 대응하는 제어부는 상기 패킷 처리 장치들과 패킷 스위칭 및 패킷 처리에 필요한 제어 메시지를 교환하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.When the control unit exists separately for each switch, the control unit corresponding to the switch operating in the active mode exchanges a control message for packet switching and packet processing with the packet processing apparatuses. . 제1항 또는 제2항에 있어서,The method according to claim 1 or 2, 상기 제어부는 상기 패킷 스위치부 중에서 이상이 발생한 경우 이를 상기 복수의 패킷 처리 장치 각각에 전달하여, 그 이상이 발생한 스위치로부터 출력을 무시하도록 하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.The control unit transmits the abnormality in the packet switch unit to each of the plurality of packet processing apparatuses, so that the output is ignored by the switch in which the abnormality occurs. 제1항 또는 제2항에 있어서,The method according to claim 1 or 2, 상기 패킷 스위치부의 각 스위치는 상기 패킷 처리 장치들 각각과 10G XAUI 인터페이스를 통해 연결되는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템. Each switch of the packet switch unit is connected to each of the packet processing apparatus via a 10G XAUI interface. 제1항 또는 제2항에 있어서, The method according to claim 1 or 2, 상기 패킷 처리 장치 각각은,Each of the packet processing apparatus, 상기 제어부와 패킷 전달 제어 및 테이블 정보를 송수신하며, 스위치의 상태에 대한 신호를 입력으로 하여 상기 패킷 스위치 내의 각 스위치로의 경로 제어를 하는 패킷 처리 제어부;A packet processing control unit for transmitting and receiving packet transmission control and table information to the control unit and controlling a path to each switch in the packet switch by receiving a signal of a switch state; 상기 패킷 스위치 내의 각 스위치와 연결되는 복수의 인터페이스를 제공하는 스위치 정합부;A switch matching unit providing a plurality of interfaces connected to each switch in the packet switch; 상기 스위치 정합부로부터 전송되는 스위치 정합부로 전송하는 패킷의 저장, 경로 설정, 전달 기능을 포함하는 패킷 처리를 수행하는 패킷 처리부;A packet processing unit which performs packet processing including a function of storing, routing, and forwarding a packet transmitted from the switch matching unit to the switch matching unit; 수신된 패킷의 전달 정책에 따라 룩업 키에 대한 검색 기능을 수행하여 일치하는 키에 해당하는 인덱스 값을 상기 패킷 처리부로 전달하는 룩업 엔진;A lookup engine that performs a search function on a lookup key according to a delivery policy of a received packet and delivers an index value corresponding to a matching key to the packet processor; 다음 홉(next hop) 정보, 스위치 경로 정보, 패킷 전달 허용 여부를 포함하는 해당 패킷의 전달에 필요한 포워딩 정보에 대한 테이블을 저장하는 포워딩 메모리;A forwarding memory configured to store a table of forwarding information necessary for forwarding the corresponding packet including next hop information, switch path information, and whether packet forwarding is allowed; 수신된 패킷을 상기 포워딩 정보에 따라 스케쥴링에 의해 다음 홉으로 전달할 때까지 일시적으로 저장하는 패킷 메모리; 및A packet memory for temporarily storing the received packet until it is delivered to the next hop by scheduling according to the forwarding information; And 복수의 가입자 단말과 연결되어 복수의 가입자로부터의 패킷을 다중화하여 상기 패킷 처리부로 전달하거나 상기 패킷 처리부에서 처리된 패킷을 해당되는 사용자 단말로 전송하는 가입자 다중화 정합부;를 포함하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.A subscriber multiplexing matching unit connected to a plurality of subscriber stations and multiplexing packets from a plurality of subscribers to the packet processing unit or transmitting a packet processed by the packet processing unit to a corresponding user terminal; Processing redundant packet switching system. 제7항에 있어서,The method of claim 7, wherein 상기 패킷 처리부는,The packet processing unit, IP 패킷이 수신될 때 패킷 헤더를 분석하여 패킷 헤더의 오류 검사 및 포워 딩 정책에 따른 MAC주소, IP 주소, TCP 포트 정보 등 룩업 키를 추출하는 패킷 헤더 처리부;A packet header processing unit for analyzing a packet header when an IP packet is received and extracting a lookup key such as MAC address, IP address, and TCP port information according to an error checking and forwarding policy of the packet header; 상기 패킷 헤더 처리부에서 추출된 룩업 키를 상기 룩업 엔진에 전달하여 키 값에 일치하는 인덱스 정보를 받는 룩업 처리부;A lookup processing unit which delivers the lookup key extracted by the packet header processing unit to the lookup engine and receives index information corresponding to the key value; 상기 룩업 처리부의 인덱스 정보를 이용하여 상기 포워딩 메모리에 저장되어 있는 포워딩 정보를 페치(fetch)하는 포워딩 정보 추출부;A forwarding information extraction unit for fetching forwarding information stored in the forwarding memory using index information of the lookup processing unit; 포워딩 정보 추출부에서 추출된 포워딩 정보를 활용하여 다음 홉(next hop)으로 전달될 패킷에 대하여 TTL값 변경, MAC 주소 변경, QoS 정보 변경을 포함하는 헤더 조작 기능을 수행하는 패킷 헤더 조작부; 및A packet header operation unit configured to perform a header manipulation function including a TTL value change, a MAC address change, and a QoS information change for a packet to be delivered to the next hop by using the forwarding information extracted by the forwarding information extractor; And 상기 패킷 메모리로부터 패킷을 읽어서 변경된 패킷 헤더와 조합하여 상기 스위치 정합부로 전달하는 패킷 조합부;를 포함하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.And a packet combiner which reads a packet from the packet memory and combines the changed packet header with the changed packet header to the switch matching unit. 제8항에 있어서,The method of claim 8, 상기 포워딩 정보는 다음 홉 포트(next hop port) 정보, 스위치 정합 포트 정보, 다음 홉 MAC 정보, QoS 정보, 패킷 수락 여부 정보를 포함하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.The forwarding information includes next hop port information, switch matching port information, next hop MAC information, QoS information, and packet acceptance information. 제9항에 있어서,The method of claim 9, 상기 포워딩 정보 중의 다음 홉(next hop) 포워딩 테이블 정보에 포함된 스 위치 경로 선택 필드 및 다음 홉 포워딩 레지스터에 포함된 스위치 경로 선택 필드의 값에 따라 패킷을 전달할 스위치가 결정되는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.Distributed processing characterized in that the switch to forward the packet is determined according to the value of the switch path selection field included in the next hop forwarding table information of the forwarding information and the switch path selection field included in the next hop forwarding register. Redundant Packet Switching System. 제10항에 있어서,The method of claim 10, 상기 패킷을 전달할 스위치를 결정할 때에 상기 제어부로부터 전달되는 각 스위치 상태에 대한 정보도 추가 입력으로 하여 패킷 전달할 스위치를 결정하는 것을 특징으로 하는 분산 처리 이중화 패킷 스위칭 시스템.And deciding which switch to forward the packet to by further inputting information on the state of each switch transmitted from the control unit when determining the switch to forward the packet to.
KR1020060125105A 2006-12-08 2006-12-08 Packet switching system for load shared switch redundancy KR100867991B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060125105A KR100867991B1 (en) 2006-12-08 2006-12-08 Packet switching system for load shared switch redundancy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060125105A KR100867991B1 (en) 2006-12-08 2006-12-08 Packet switching system for load shared switch redundancy

Publications (2)

Publication Number Publication Date
KR20080053115A true KR20080053115A (en) 2008-06-12
KR100867991B1 KR100867991B1 (en) 2008-11-10

Family

ID=39807595

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060125105A KR100867991B1 (en) 2006-12-08 2006-12-08 Packet switching system for load shared switch redundancy

Country Status (1)

Country Link
KR (1) KR100867991B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9665457B2 (en) 2014-02-12 2017-05-30 Electronics & Telecommunications Research Institute Method for controlling process based on network operation mode and apparatus therefor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100450769B1 (en) * 2002-11-01 2004-10-01 한국전자통신연구원 Redundancy switch controller of packet switch board and method thereof
KR100603599B1 (en) * 2004-11-25 2006-07-24 한국전자통신연구원 Apparatus and Method for Redundancy Control of Redundancy Switch Board
KR100945526B1 (en) * 2005-07-06 2010-03-09 삼성탈레스 주식회사 Duplexer switch of duplexer system
KR20070082790A (en) * 2006-02-17 2007-08-22 삼성전자주식회사 Apparatus and method for in ethernet system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9665457B2 (en) 2014-02-12 2017-05-30 Electronics & Telecommunications Research Institute Method for controlling process based on network operation mode and apparatus therefor

Also Published As

Publication number Publication date
KR100867991B1 (en) 2008-11-10

Similar Documents

Publication Publication Date Title
KR100831639B1 (en) Information processing apparatus, communication load decentralizing method, and communication system
US7693169B2 (en) Transmission apparatus and frame transmission method
US7660239B2 (en) Network data re-routing
US11121959B2 (en) Built in alternate links within a switch
US8154994B2 (en) Header conversion technique
US20070177589A1 (en) Network system and node redundancy method of network system
US7706259B2 (en) Method for implementing redundant structure of ATCA (advanced telecom computing architecture) system via base interface and the ATCA system for use in the same
US6895531B2 (en) Method and system for routing packets without losing packets by monitoring outgoing lines
JP3811007B2 (en) Virtual connection protection switching
JP3008850B2 (en) Network server redundant configuration method
US8897133B2 (en) Multi-stage switch fabric
JP5692860B2 (en) Transmission device and interface device
KR100428773B1 (en) Router System and Method for Duplication of Forwarding Engine Utilizing
KR100867991B1 (en) Packet switching system for load shared switch redundancy
JP4764733B2 (en) Network relay device
US6801498B1 (en) Asynchronous transfer mode communication equipment and method for switching virtual path of same
KR20000034159A (en) Method for cutting cross dual path of atm exchange
KR100403215B1 (en) Multi Link Intefacing Architecture And Link Port Dual Method In VOP Gateway
JP2000269891A (en) Optical line concentrator and method for switching active system/standby system
KR101004669B1 (en) Network contents secure system for multiplex traffic route
KR100705592B1 (en) Access node and method for sending/receiving packet thereof
KR100538025B1 (en) A multi mode apparatus and constitution method of the next generation mobile communication base station system
KR20050003684A (en) Duplex board of communication system and operation method thereof
KR100399839B1 (en) Device and method for controlling mcb dual in dslam system
JP2000092085A (en) Information repeater

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application
AMND Amendment
J201 Request for trial against refusal decision
B701 Decision to grant
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee