KR20050079432A - Apparatus and method of router information management in distributed router - Google Patents

Apparatus and method of router information management in distributed router Download PDF

Info

Publication number
KR20050079432A
KR20050079432A KR1020040007682A KR20040007682A KR20050079432A KR 20050079432 A KR20050079432 A KR 20050079432A KR 1020040007682 A KR1020040007682 A KR 1020040007682A KR 20040007682 A KR20040007682 A KR 20040007682A KR 20050079432 A KR20050079432 A KR 20050079432A
Authority
KR
South Korea
Prior art keywords
information
router
routing
router information
routing processor
Prior art date
Application number
KR1020040007682A
Other languages
Korean (ko)
Other versions
KR100560753B1 (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 KR1020040007682A priority Critical patent/KR100560753B1/en
Publication of KR20050079432A publication Critical patent/KR20050079432A/en
Application granted granted Critical
Publication of KR100560753B1 publication Critical patent/KR100560753B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables

Landscapes

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

Abstract

본 발명은 분산 구조 라우터의 라우터 정보 관리 방법 및 그 장치에 관한 것으로, 적어도 하나 이상의 라우팅 프로세서를 포함하는 분산 구조 라우터에서 라우터 정보를 각 라우팅 프로세서에 동일하게 저장되도록 하고, 또한, 각 라우팅 프로세서가 라우팅 정보를 사용할 시점에만 라우터 정보가 제공되도록 하여, 불필요한 라우팅 프로세서의 계산 처리 과정을 제거하는 것이다.The present invention relates to a method and apparatus for managing router information of a distributed router, and to allow router information to be equally stored in each routing processor in a distributed router including at least one or more routing processors. The router information is provided only when the information is used, thereby eliminating unnecessary routing processor calculations.

Description

분산 구조 라우터의 라우터 정보 관리 방법 및 그 장치{apparatus and method of router information management in Distributed Router} Apparatus and method of router information management in Distributed Router}

본 발명은 분산 구조 라우터의 라우터 정보 관리 방법 및 그 장치에 관한 것으로, 더욱 자세하게는, 분산 구조 라우터에 포함되는 적어도 하나 이상의 라우팅 프로세서가 라우터 정보가 필요한 경우에만 변경되는 라우터 정보를 획득하여, 각 라우팅 프로세서의 라우팅 처리 능력을 향상시키는 분산 구조 라우터의 라우터 정보 관리 방법 및 그 장치에 관한 것이다.The present invention relates to a method and apparatus for managing router information of a distributed router, and more particularly, at least one routing processor included in a distributed router obtains router information changed only when router information is needed, thereby allowing each routing. The present invention relates to a method and apparatus for managing router information of a distributed router that improves a routing processing capability of a processor.

일반적으로 라우터(router)는 입력 포트(input port), 출력 포트(output port), 스위칭 패브릭(switching fabric), 라우팅 프로세서(routing processor)의 4가지 구성 요소로 이루어져 있다. 입력 포트는 물리적 링크와의 접점이며 패킷(packet)을 받아 들이기 위한 관문이다. 스위칭 패브릭은 입력 포트를 출력 포트로 내부 접속시킨다. 출력 포트는 패킷을 출력 링크로 내보내기 위해 패킷을 축적하고 스케쥴링(scheduling)한다. 마지막으로 라우팅 프로세서는 라우팅 프로토콜(protocol)을 처리하고, 패킷 포워딩(forwarding)에 이용되는 포워딩 테이블을 생성한다.In general, a router is composed of four components: an input port, an output port, a switching fabric, and a routing processor. The input port is the point of contact with the physical link and the gateway to accepting packets. The switching fabric internally connects the input port to the output port. The output port accumulates and schedules the packets to send the packets to the output link. Finally, the routing processor handles the routing protocol and creates a forwarding table that is used for packet forwarding.

라우팅 기능을 프로세싱 환경에서 실행되는 소프트웨어로 구현하는 경우, 그 처리 성능이 패킷의 입력 속도를 따라가지 못하면 병목현상이 발생한다. 또한 라우팅 과정에서도 입력된 패킷에 새로운 헤더 정보를 붙여 다시 송신하는 패킷 포워딩 부분이 트래픽의 흐름속도에 종속된 부분이다.If the routing function is implemented in software running in the processing environment, bottlenecks occur when the processing power does not keep up with the input rate of the packet. In addition, in the routing process, the packet forwarding part that retransmits the header with new header information is dependent on the flow rate of traffic.

최근에 인터넷 트래픽이 기하급수적으로 증가하면서 이러한 인터넷 트래픽의 증가를 수용하기 위해 분산 구조를 가진 분산 라우터가 제안되고 있다.Recently, as the Internet traffic increases exponentially, a distributed router having a distributed structure has been proposed to accommodate such an increase in Internet traffic.

또한 라우팅 기능을 고속화하기 위해서 패킷 포워딩 부분을 분리시킨 고속 포워딩 엔진 기술이 개발되고 있는 실정이다.In addition, a high speed forwarding engine technology that separates a packet forwarding part has been developed to speed up a routing function.

따라서 시스템 구조 측면에서 포워딩 엔진 유니트를 공유하는 형태인 서버형 구조 보다는 포워딩 엔진을 각 라인접속 유니트에 분산 위치시키는 분산형 구조를 선호하는 추세이다.Therefore, in terms of the system structure, a distributed structure in which the forwarding engine is distributed to each line connection unit is preferred to the server type structure in which the forwarding engine unit is shared.

이러한 분산형 라우터는 라우팅 기능 및 패킷 포워딩 기능을 서로 다른 프로세서에서 분산적으로 수행하는데 상세한 내용을 도면을 참고로하여 설명하기로 한다.Such a distributed router performs a routing function and a packet forwarding function on different processors in a distributed manner, and details thereof will be described with reference to the accompanying drawings.

도 1은 종래의 분산 구조 라우터의 구성을 설명하기 위한 내부 블록 도면이다.1 is an internal block diagram illustrating a configuration of a conventional distributed router.

도 1을 참조하면, 분산 구조 라우터는 입출력을 위한 물리적 연결부(11∼1n)와, 라우팅 기능 및 패킷 포워딩 기능을 수행하는 라우팅 프로세서(21∼2n)와, 각 라우팅 프로세서(21∼2n)간의 라우팅 정보 교환 및 연결 버스를 제공하는 스위칭부(30) 및 리던던시(redundancy)를 위한 백업용 스위칭부(31)로 구성된다.Referring to FIG. 1, a distributed router includes a physical connection unit 11 to 1n for input / output, a routing processor 21 to 2n for performing a routing function and a packet forwarding function, and routing between each routing processor 21 to 2n. And a switching unit 30 for providing information exchange and connection buses, and a backup switching unit 31 for redundancy.

라우팅 프로세서(21∼2n)는 물리적 연결부(11~1n)를 통해 연결되는 외부 피어(peer)의 엔트리 정보를 라우팅 프로토콜에 따라 처리하여, 최적 라우트를 결정하고, 라우팅 테이블(21a~2na)을 저장한다.The routing processors 21 to 2n process the entry information of the external peers connected through the physical connection units 11 to 1n according to the routing protocol to determine the optimal route, and store the routing tables 21a to 2na. do.

그리고, 라우팅 프로세서(21~2n)는 입력되는 패킷을 목적지 주소로 전송하는 포워딩을 처리하기 위하여, 라우팅 테이블(21a∼2na)에서 출력 포트를 검색한다.The routing processors 21 to 2n then search for output ports in the routing tables 21a to 2na in order to process forwarding for transmitting the incoming packet to the destination address.

예를 들면, 제 2 물리적 연결부(12)가 200.1.1.1 주소를 가진 네트워크와 연결되어 있고, 제 1 물리적 연결부(11)를 통하여 제 1 라우팅 프로세서(21)로 목적지주소가 200.1.1.1인 패킷이 들어오면, 제 1 라우팅 프로세서(21)는 라우팅 테이블(21a)을 검색한다. For example, a packet having a destination address of 200.1.1.1 is connected to the first routing processor 21 through the first physical connection 11 and the second physical connection 12 is connected to the network having the address 200.1.1.1. Upon entering, the first routing processor 21 searches the routing table 21a.

이때 라우팅 테이블(21a)의 라우팅 엔트리에서 목적지 주소 200.1.1.1에 해당하는 물리적 연결부(11~1n) 주소 10.2.1.1이 검색된다. At this time, the physical connection parts 11 to 1n address 10.2.1.1 corresponding to the destination address 200.1.1.1 are searched for in the routing entry of the routing table 21a.

따라서 스위칭부(30)에서 패킷이 제 2 라우팅 프로세서(22)를 통해 제 2 물리적 연결부(12)로 포워딩되도록 스위칭한다.Accordingly, the switching unit 30 switches the packet to be forwarded to the second physical connection unit 12 through the second routing processor 22.

이러한, 일반적인 분산 구조 라우터의 각 라우팅 프로세서(21~2n)는 동일한 라우터 정보를 가져야 한다. 즉, 각 라우팅 프로세서(21~2n)가 하나의 라우터가 동작하는 것과 동일하게 동작해야 함으로, 라우터 식별자 정보(Router ID) 등과 같은 라우터 정보를 유지하고 있어야만 각 라우팅 프로세서(21~2n)에서 올바른 라우팅 정보를 생성할 수 있다.Each routing processor 21-2n of this general distributed router should have the same router information. That is, since each routing processor 21 to 2n should be operated in the same manner as one router operates, only routing information such as router ID information and the like should be maintained for each routing processor 21 to 2n. Information can be generated.

그러나, 일반적인 분산 구조 라우터는 관리자로부터 라우터 정보가 설정/변경되거나, 설정된 배치표(configuration)에서 라우터 정보를 읽어오는 경우, 즉, 분산 구조 라우터의 라우터 정보가 변경되면, 각 라우팅 프로세서(21~2n)는 설정된 라우터 정보를 갱신하고, 라우팅 테이블(21a~2na)에 저장된 라우팅 정보를 갱신된 라우터 정보에 따라 변경한 후, 이웃한 라우터들로 변경된 라우팅 정보를 전송해야 한다.However, in a general distributed router, when the router information is set / changed from an administrator or when the router information is read from the set configuration, that is, when the router information of the distributed router is changed, each routing processor 21 to 2n is used. Updates the set router information, changes the routing information stored in the routing tables 21a to 2na according to the updated router information, and then transmits the changed routing information to neighboring routers.

이러한 일반적인 분산 구조 라우터의 라우터 정보 변경 방법은, 라우터 정보가 변경되는 모든 경우에 이웃한 라우터들로 변경되는 라우팅 정보를 전송함으로 네트워크를 통해 교환되는 트래픽이 증가한다.The router information changing method of the general distributed architecture router increases the traffic exchanged through the network by transmitting routing information that is changed to neighboring routers whenever the router information is changed.

또한, 분산 구조 라우터의 하나의 라우팅 프로세서에서 라우터 정보를 변경하면, 나머지 라우팅 프로세서가 변경되는 라우터 정보에 따라 라우팅 테이블(21a~2na)에 저장된 라우팅 정보를 변경해야 함으로, 분산 구조 라우터가 처리하는 라우팅 정보를 계산하는 작업이 증가하게 된다.In addition, when the router information is changed in one routing processor of the distributed router, the routing information stored in the routing tables 21a to 2na must be changed according to the changed router information. The work of calculating information increases.

이는 각 라우팅 프로세서(21~2n)의 라우팅 처리 능력을 감소시키는 결과를 초래한다.This results in reducing the routing processing capability of each routing processor 21-2n.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위하여 창안된 것으로, 적어도 하나 이상의 라우팅 프로세서를 포함하는 분산 구조 라우터에서 라우터 정보를 각 라우팅 프로세서에 동일하게 저장되도록 하고, 각 라우팅 프로세서가 라우팅 정보를 사용할 시점에만 라우터 정보가 제공되도록 하여, 불필요한 라우팅 프로세서의 계산 처리 과정을 제거하는 분산 구조 라우터의 라우터 정보 관리 방법 및 그 장치를 제공하는 것에 그 목적이 있다. Accordingly, the present invention was devised to solve the above problems, and in a distributed router including at least one routing processor, router information is equally stored in each routing processor, and each routing processor uses routing information. It is an object of the present invention to provide a method and apparatus for managing router information of a distributed router, in which router information is provided only at a time point, thereby eliminating unnecessary computation of routing processors.

상기 목적을 달성하기 위한 본 발명의 일측면에 따른 분산 구조 라우터는, 본 발명에 따른 분산 구조 라우터는, 네트워크를 통해 외부 피어와 연결되어, 설정된 라우팅 프로토콜에 따라 피어에 대한 라우팅 처리를 수행해야 하는 경우, 상기 라우팅 처리에 필요한 상기 분산 구조 라우터에 설정된 라우터 정보를 요청하는 라우터 정보 요청 메시지를 생성하고, 라우터 정보 요청 메시지에 대한 응답 메시지에서 라우터 정보를 추출하여, 라우팅 처리를 수행하는 적어도 하나 이상의 라우팅 프로세서와, 각 라우팅 프로세서에 동일하게 저장해야 하는 라우터 정보를 저장하는 라우터 정보 저장부와, 각 라우팅 프로세서로부터 라우터 정보 요청 메시지가 수신되면, 라우터 정보 저장부에 저장된 라우팅 정보가 포함되는 응답 메시지를 전송하여, 각 라우터 프로세서의 라우터 정보를 동기화하는 정보 동기화부를 포함한다.In accordance with one aspect of the present invention, a distributed router according to an aspect of the present invention may be connected to an external peer through a network to perform routing processing for a peer according to a set routing protocol. At least one routing for generating a router information request message requesting the router information set in the distributed router required for the routing process, extracting the router information from the response message to the router information request message, and performing the routing process A router information storage unit for storing the router information that should be stored in each routing processor in the same manner, and a response message including the routing information stored in the router information storage unit when a router information request message is received from each routing processor. Each router The information includes a synchronization information for synchronizing the router processor.

그리고, 본 발명에 따른 각 라우팅 프로세서는, 라우팅 프로토콜에 따라 라우팅 처리를 수행해야 하면, 라우터 정보 요청 메시지를 생성하고, 응답 메시지에서 라우터 정보를 추출하는 메시지 처리부를 포함한다.Each routing processor according to the present invention includes a message processing unit for generating a router information request message and extracting router information from the response message when it is necessary to perform routing processing according to a routing protocol.

한편, 본 발명의 다른 측면에 따른 분산 구조 라우터의 라우터 정보 관리 방법은, 각 라우팅 프로세서에 동일하게 저장되어, 네트워크로 연결되는 피어에 대한 라우팅 처리를 할 때 필요한 상기 분산 구조 라우터에 설정되는 라우터 정보를 저장하는 단계와, 각 라우팅 프로세서가 라우팅 프로토콜에 따라 외부 피어에 대한 라우팅 처리를 수행해야 하는 경우, 라우팅 처리에 필요한 분산 구조 라우터에 설정된 라우터 정보를 요청하는 라우터 정보 요청 메시지를 생성하는 단계와, 각 라우팅 프로세서로부터 라우터 정보 요청 메시지가 수신되면, 저장된 라우터 정보가 포함되는 응답 메시지를 생성하여, 해당 라우팅 프로세서로 전송하는 단계와, 라우팅 프로세서가 응답 메시지에서 라우터 정보를 추출하고, 라우터 정보와 라우팅 프로토콜에 따라 피어의 라우팅 정보를 생성하는 단계를 포함한다.On the other hand, the router information management method of the distributed router according to another aspect of the present invention, the router information is stored in each routing processor, the router information is set in the distributed router required for routing processing for peers connected to the network Storing a router; and generating a router information request message for requesting router information set in a distributed router required for routing processing when each routing processor needs to perform routing processing for an external peer according to a routing protocol; When the router information request message is received from each routing processor, generating a response message including the stored router information, transmitting the generated router message to the corresponding routing processor, and the routing processor extracts the router information from the response message, and the router information and the routing protocol. Based on peer And a step of generating the routing information.

그리고, 본 발명에 따른 분산 구조 라우터의 라우터 정보 관리 방법은, 각 라우팅 프로세서가 응답 메시지를 수신하고, 그에 대한 확인 메시지를 생성하여 전송하는 단계와, 응답 메시지를 전송하고, 소정 시간동안 해당 라우팅 프로세서로부터 확인 메시지가 수신되지 않는 경우, 응답 메시지를 해당 라우팅 프로세서로 재 전송하는 단계를 더 포함한다.The router information management method of the distributed router according to the present invention comprises the steps of: each routing processor receiving a response message, generating and transmitting an acknowledgment message, transmitting the response message, and transmitting the response message for a predetermined time; If no acknowledgment message is received, the method further includes re-sending the response message to the routing processor.

또한, 본 발명에 따른 분산 구조 라우터의 라우터 정보 관리 방법에서 라우터 정보를 저장하는 단계는, 분산 구조 라우터의 초기 구동시 기설정되는 라우터 정보를 저장하는 단계와, 각 라우팅 프로세서에서 네트워크와 연결되는 인터페이스 정보에 따라 라우터 정보를 갱신하는 경우, 해당 라우팅 프로세서가 갱신하는 라우터 정보를 획득하여 저장된 라우터 정보를 변경하는 단계를 포함한다.Further, in the router information management method of the distributed router according to the present invention, the storing of router information may include storing router information preset when the distributed router is initially driven, and an interface connected to a network in each routing processor. If the router information is updated according to the information, obtaining the router information updated by the corresponding routing processor and changing the stored router information.

아울러, 본 발명에 따른 분산 구조 라우터의 라우터 정보 관리 방법에서 라우터 정보의 전송은, 라우터 정보가 갱신되는 횟수에 따라 저장된 라우터 정보에 순차 정보를 설정하는 단계와, 제 1 라우팅 프로세서와, 제 2 라우팅 프로세서로부터 순차적으로 라우터 정보 요청 메시지가 수신되면, 해당 라우팅 프로세서로부터 전송되는 라우터 정보 요청 메시지의 횟수 정보를 파악하는 단계와, 제 1 라우팅 프로세서로 라우터 정보가 포함되는 응답 메시지를 전송하고, 제 2 라우팅 프로세서로부터 수신된 정보 요청 메시지의 횟수 정보와 순차 정보를 비교하여, 동일하면, 라우터 정보가 변경된 것으로 판단하여, 변경된 라우터 정보를 전송하고, 동일하지 않으면, 제 1 라우팅 프로세서로 전송한 라우터 정보와 동일한 라우터 정보를 전송하는 단계와, 각 라우팅 프로세서로 응답 메시지를 전송하고, 정보 요청 메시지의 횟수 정보를 증가시키는 단계를 포함한다.In addition, in the router information management method of the distributed router according to the present invention, the router information may be transmitted by setting sequential information in the stored router information according to the number of times the router information is updated, the first routing processor, and the second routing. When the router information request messages are sequentially received from the processor, determining the number of times of the router information request message transmitted from the corresponding routing processor, transmitting a response message including the router information to the first routing processor, and transmitting the second routing information. By comparing the number information of the information request message received from the processor and the sequential information, if it is the same, it is determined that the router information has changed, and transmits the changed router information, and if it is not the same, the same as the router information transmitted to the first routing processor Sending router information, and each router Sending a response message to a querying processor and incrementing information on the number of times of the information request message.

이하 본 발명에 따른 분산 구조 라우터의 라우터 정보 관리 방법 및 그 장치를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, a method and apparatus for managing router information of a distributed router according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 바람직한 실시예에 따른 분산 구조 라우터의 구성을 설명하기 위한 내부 블록 도면이다.2 is an internal block diagram illustrating a configuration of a distributed router according to a preferred embodiment of the present invention.

도 2를 참조하면, 본 발명에 따른 분산 구조 라우터는, 패킷의 입출력을 위한 물리적 연결부(11∼1n)와, 라우팅 기능 및 패킷 포워딩 기능을 수행하는 라우팅 프로세서(21∼2n)와, 각 라우팅 프로세서(21∼2n)간의 라우팅 정보 교환 및 연결 버스를 제공하는 스위칭부(30) 및 리던던시(redundancy)를 위한 백업용 스위칭부(31)로 구성된다.Referring to FIG. 2, the distributed router according to the present invention includes a physical connection unit 11 to 1n for input / output of a packet, a routing processor 21 to 2n for performing a routing function and a packet forwarding function, and each routing processor. And a switching unit 30 for providing routing information exchange and connection buses between 21 and 2n, and a backup switching unit 31 for redundancy.

그리고, 각 라우팅 프로세서(21~2n)는 라우팅 테이블(21a~2na) 및 메시지 처리부(21b~2nb)를 포함하고, 스위칭부(30는 정보 동기화부(30a) 및 라우터 정보 저장부(30b)를 포함한다.Each routing processor 21-2n includes a routing table 21a-2na and a message processing unit 21b-2nb, and the switching unit 30 includes an information synchronization unit 30a and a router information storage unit 30b. Include.

이때, 라우터 정보는 각 라우팅 프로세서(21~2n)가 설정된 라우팅 프로토콜에 따라 네트워크로 연결되는 피어에 대한 라우팅 처리를 해야 하는 경우에 필요로 하는 분산 구조 라우터에 설정되는 라우터 식별자 정보 또는 인터페이스 정보 등이 해당 될 수 있으며, 이하 본 발명의 상세 설명에서는 각 라우팅 프로세서(21~2n)에 동일하게 설정되어야 하는 라우터 정보의 일례로 라우터 식별자 정보를 들어 설명한다.In this case, the router information may include router identifier information or interface information set in a distributed router required when the routing processors 21 to 2n need to perform routing processing for peers connected to a network according to a set routing protocol. In the following detailed description of the present invention, router identifier information is described as an example of router information that should be equally set in each routing processor 21 to 2n.

각 라우팅 프로세서(21~2n)는 초기 부팅시 기 설정된 라우터 식별자 정보 및 설정된 라우팅 프로토콜을 이용하여, 라우팅 정보를 계산하고, 라우팅 테이블(21a~2na)에 저장한 후, 라우터 식별자 선택 조건에 따라 변경되는 라우터 식별자 정보를 이용하여 라우팅 정보를 다시 계산한다.Each routing processor 21 to 2n calculates routing information by using the preset router identifier information and the set routing protocol at initial booting, stores them in the routing tables 21a to 2na, and then changes them according to the router identifier selection condition. The routing information is recalculated using the router identifier information.

이때, 라우터 식별자 선택 조건의 제 1 조건은 루프백(loopback) 인터페이스로 할당된 인터페이스의 IP 주소이고, 제 2 조건은 루프백 인터페이스 이외의 인터페이스 IP 주소 중 가장 큰 인터페이스 IP 주소이다.In this case, the first condition of the router identifier selection condition is an IP address of an interface allocated as a loopback interface, and the second condition is the largest interface IP address among interface IP addresses other than the loopback interface.

여기서, 루프백 인터페이스란, 네트워크 시스템에서 네트워크 목적지로 보내지는 시험 인터페이스를 의미한다.Here, the loopback interface means a test interface sent from the network system to the network destination.

예를 들면, 각 라우팅 프로세서(21~2n)는 루프백 인터페이스가 설정되지 않은 상태에서 라우터 식별자 정보가 설정되는 경우, 즉, 제 2 조건에 따라 라우터 식별자 정보를 선택한 상태에서 제 1 조건이 부합되는 경우, 루프백 인터페이스 IP 주소로 라우터 식별자 정보를 변경한다.For example, each routing processor 21 to 2n is configured when router identifier information is set without a loopback interface, that is, when the first condition is met while router identifier information is selected according to the second condition. Change the router identifier information to the loopback interface IP address.

또한, 각 라우팅 프로세서(21~2n)에서 처리하는 라우팅 프로토콜은, 크게 내부 게이트웨이 프로토콜(IGP : Interior Gateway Protocols)과 외부 게이트웨이 프로토콜(EGP : Exterior Gateway Protocols)로 구분된다.In addition, the routing protocols processed by each routing processor 21-2n are largely classified into Interior Gateway Protocols (IGP) and Exterior Gateway Protocols (EGP).

IGP는 한 도메인내에서 사용되는 라우팅 프로토콜로서, IPv4에서 현재 사용되는 대표적인 IGP용 프로토콜로는 RIP(Routing Information Protocol), OSPF(Open Shortest Path First), IS-IS(Intermediate System to Intermediate System) 등이 있다.IGP is a routing protocol used in one domain. Representative IGP protocols currently used in IPv4 include Routing Information Protocol (RIP), Open Shortest Path First (OSPF), and Intermediate System to Intermediate System (IS-IS). have.

EGP는 도메인 간을 연결하는 인터넷 라우팅 프로토콜로써, 대표적인 EGP용 프로토콜로는 BGP(Border Gateway Protocol) 등이 있다.EGP is an Internet routing protocol that connects domains. Typical EGP protocols include Border Gateway Protocol (BGP).

그리고, 각 라우팅 프로세서(21~2n)의 각 메시지 처리부(21b~2nb)는 해당 라우팅 프로세서(21~2n)가 올바른 라우터 식별자 정보를 이용하여 라우팅 정보를 계산할 수 있도록 라우터 정보를 요청하는 정보 요청 메시지를 생성하여, 스위칭부(30)로 전송한다.In addition, each message processing unit 21b to 2nb of each routing processor 21 to 2n requests an information request message for requesting router information so that the routing processor 21 to 2n calculates routing information using correct router identifier information. Generates and transmits to the switching unit (30).

이때, 각 메시지 처리부(21b~2nb)는 해당 라우팅 프로세서(21~2n)가 물리적 연결부(11~1n)를 통해 연결되는 외부 피어에 대한 라우팅 정보를 생성해야 할 때 정보 요청 메시지를 생성하거나, 소정 주기로 정보 요청 메시지를 생성할 수 있다.In this case, each message processing unit 21b to 2nb generates an information request message when the corresponding routing processor 21 to 2n needs to generate routing information for an external peer connected through the physical connection units 11 to 1n, or The information request message can be generated periodically.

그리고, 각 메시지 처리부(21b~2nb)는 전송한 정보 요청 메시지에 대한 응답으로 수신되는 응답 메시지에서 라우터 식별자 정보를 추출하여, 해당 라우팅 프로세서(21~2n)로 제공한다.Each message processing unit 21b to 2nb extracts router identifier information from the response message received in response to the transmitted information request message and provides the same to the corresponding routing processors 21 to 2n.

각 라우팅 프로세서(21~2n)는 메시지 처리부(21b~2nb)로부터 제공되는 라우터 식별자 정보를 이용하여, 외부 피어에 대한 라우팅 정보를 생성하고, 라우팅 테이블(21a~2na)에 저장한다.Each routing processor 21 to 2n generates routing information for the external peer using the router identifier information provided from the message processing units 21b to 2nb, and stores the routing information for the external peers and stores them in the routing tables 21a to 2na.

한편, 스위칭부(30)의 정보 동기화부(30a)는 각 라우팅 프로세서(21~2n)에서 선택한 라우터 식별자 정보를 획득하여 라우터 정보 저장부(30b)에 저장한다.On the other hand, the information synchronization unit 30a of the switching unit 30 obtains the router identifier information selected by each routing processor 21-2n and stores it in the router information storage unit 30b.

또한, 정보 동기화부(30a)는 관리자로부터 설정/변경되는 라우터 식별자 정보를 저장한다.In addition, the information synchronization unit 30a stores the router identifier information that is set / changed by the administrator.

이때, 관리자가 라우터 식별자 정보를 설정/변경하는 방법은, 관리자가 CLI(command line interface)(미도시) 또는 NMS(network management system)를 통해 설정/변경할 수 있다.In this case, the administrator may set / change the router identifier information through a command line interface (CLI) (not shown) or a network management system (NMS).

여기서, CLI는 컴퓨터 운영체계 또는 응용프로그램과 같은 관리자 인터페이스를 말하며, 관리자는 정해진 영역에 명령어를 입력하고, 대상 시스템으로부터 이에 대한 응답을 받은 다음, 또다시 다른 명령어를 입력하는 식으로 진행된다. Here, the CLI refers to an administrator interface such as a computer operating system or an application program, and the administrator inputs a command in a predetermined area, receives a response from the target system, and then inputs another command.

그리고, NMS는 시스템 관리자가 네트워크 또는 시스템을 통제하는데 사용되는 소프트웨어를 말하며, 하나의 프로그램 또는 일련의 프로그램들로 구성될 수 있는고, 네트워크의 장치와, 그 장치의 동작 감시, 통할하는 SNMP (Simple Network Management Protocol) 같은 프로토콜을 이용한다.In addition, NMS refers to software used by a system administrator to control a network or system, and may be configured as a program or a series of programs. Use a protocol such as Network Management Protocol.

그리고, 정보 동기화부(30a)는 각 라우팅 프로세서(21~2n)로부터 정보 요청 메시지가 전송되면, 라우터 정보 저장부(30b)에 저장된 라우터 식별자 정보, 즉 라우터 정보가 포함되는 응답 메시지를 생성하여, 전송하고, 해당 라우팅 프로세서(21~2n)로부터 확인 메시지가 전송되는지 여부를 판단한다.When the information request message is transmitted from each routing processor 21 ˜ 2n, the information synchronization unit 30a generates a response message including router identifier information stored in the router information storage unit 30b, that is, router information. It determines whether or not the confirmation message is transmitted from the routing processor (21 ~ 2n).

또한, 정보 동기화부(30a)는 해당 라우팅 프로세서(21~2n)로부터 확인 메시지가 소정 시간동안 수신되지 않으면, 라우터 정보가 포함되는 응답 메시지를 재 전송한다.In addition, the information synchronization unit 30a retransmits the response message including the router information when the confirmation message is not received from the routing processors 21 ˜ 2n for a predetermined time.

도 3은 본 발명의 바람직한 실시예에 따라 메시지를 교환하는 흐름을 설명하기 위한 흐름도이다.3 is a flowchart illustrating a flow of exchanging messages according to a preferred embodiment of the present invention.

도 3에 참조하면, 먼저 스위칭부(30)의 정보 동기화부(30a)는 라우터 식별자 정보, 즉 라우터 정보를 라우터 정보 저장부(30b)에 저장한다.Referring to FIG. 3, first, the information synchronization unit 30a of the switching unit 30 stores router identifier information, that is, router information in the router information storage unit 30b.

이때, 각 라우팅 프로세서(21~2n)가 라우터 식별자 정보를 변경하거나, 관리자가 변경하면, 정보 동기화부(30a)는 변경되는 라우터 식별자 정보를 저장한다.At this time, if each routing processor 21 to 2n changes the router identifier information or the administrator changes, the information synchronization unit 30a stores the changed router identifier information.

그리고, 제 1 메시지 처리부(21b)는 제 1 라우팅 프로세서(21)가 올바른 라우터 식별자 정보를 이용하여 라우팅 정보를 계산할 수 있도록 라우터 식별자 정보를 요청하는 정보 요청 메시지를 생성하여, 스위칭부(30)로 전송한다(S 10).The first message processor 21b generates an information request message for requesting router identifier information so that the first routing processor 21 calculates routing information using the correct router identifier information. Transmit (S 10).

그리고, 스위칭부(30)의 정보 동기화부(30a)는 제 1 라우팅 프로세서(21)로부터 정보 요청 메시지가 전송되면, 라우터 정보 저장부(30b)에 저장된 라우터 식별자 정보가 포함되는 응답 메시지를 생성하여, 제 2 라우팅 프로세서(21)로 전송한다(S 11).When the information request message is transmitted from the first routing processor 21, the information synchronization unit 30a of the switching unit 30 generates a response message including router identifier information stored in the router information storage unit 30b. In operation S 11, the second routing processor 21 transmits the second routing processor 21 to the second routing processor 21.

제 1 라우팅 프로세서(21)의 제 1 메시지 처리부(21b)는 스위칭부(30)로부터 수신되는 응답 메시지에서 라우터 정보 즉, 라우터 식별자 정보를 추출하여 제 1 라우팅 프로세서(21)로 제공한다.The first message processing unit 21b of the first routing processor 21 extracts router information, that is, router identifier information, from the response message received from the switching unit 30 and provides the same to the first routing processor 21.

그리고, 제 1 라우팅 프로세서(21)는 제 1 메시지 처리부(21b)로부터 제공되는 라우터 식별자 정보를 이용하여, 라우팅 정보를 계산하여, 라우팅 테이블(21a)에 저장한다.The first routing processor 21 calculates routing information using the router identifier information provided from the first message processing unit 21b and stores the routing information in the routing table 21a.

제 1 메시지 처리부(21b)는 응답 메시지에서 라우터 식별자 정보를 추출하고, 확인 메시지를 생성하여, 스위칭부(30)로 전송한다(S 12).The first message processor 21b extracts router identifier information from the response message, generates a confirmation message, and transmits the confirmation message to the switching unit 30 (S 12).

이때, 스위칭부(30)의 정보 동기화부(30a)는 소정 시간동안 제 1 라우팅 프로세서(21)로부터 확인 메시지가 전송되지 않으면, 라우터 식별자 정보가 포함된 응답 메시지를 재전송한다.At this time, the information synchronization unit 30a of the switching unit 30 retransmits the response message including the router identifier information if the confirmation message is not transmitted from the first routing processor 21 for a predetermined time.

만약, 한 라우팅 프로세서(21~2n)가 라우터 식별자 정보를 다시 변경하거나, 관리자가 다시 변경하면, 정보 동기화부(30a)는 변경되는 라우터 식별자 정보를 라우터 정보 저장부(30b)에 저장한다(S 13).If one routing processor 21-2n changes the router identifier information again or the administrator changes it again, the information synchronization unit 30a stores the changed router identifier information in the router information storage unit 30b (S). 13).

그리고, 제 2 메시지 처리부(22b)는 제 2 라우팅 프로세서(22)가 올바른 라우터 식별자 정보를 이용하여 라우팅 정보를 계산할 수 있도록 라우터 식별자 정보를 요청하는 정보 요청 메시지를 생성하여, 스위칭부(30)로 전송한다(S 14).The second message processor 22b generates an information request message requesting router identifier information so that the second routing processor 22 calculates routing information using the correct router identifier information. Transmit (S 14).

이때, 스위칭부(30)의 정보 동기화부(30a)는 라우터 식별자 정보가 다시금 변경되어, 제 2 라우팅 프로세서(22)로 전송할 라우터 식별자 정보가 제 1 라우팅 프로세서(21)로 전송한 라우터 식별자 정보가 다르게되는 상황이 발생할 수도 있다.In this case, the router identifier information is changed again in the information synchronization unit 30a of the switching unit 30 so that the router identifier information transmitted to the second routing processor 22 is transmitted to the first routing processor 21. Different situations may arise.

따라서, 스위칭부(30)의 정보 동기화부(30a)는 각 라우팅 프로세서(21~2n)로 전송하는 라우터 정보의 동기를 맞추어야 한다.Therefore, the information synchronization unit 30a of the switching unit 30 must synchronize the router information transmitted to each routing processor 21 to 2n.

도 4a, 4b, 4c, 4d는 본 발명의 바람직한 실시예에 따라 정보 동기화부가 관리하는 정보 테이블을 설명하기 위한 도면이다.4A, 4B, 4C, and 4D are diagrams for explaining an information table managed by an information synchronization unit according to a preferred embodiment of the present invention.

도 4a는 정보 테이블이 초기화된 상태를 도시한 것으로, 정보 동기화부(30a)는 분산 구조 라우터의 초기 구동시 또는 재 부팅시 정보 테이블의 각 변수 값들을 초기화한다.4A illustrates a state in which the information table is initialized. The information synchronization unit 30a initializes each variable value of the information table when the distributed router is initially driven or rebooted.

이때, 순차(current) ID 필드에 저장되는 변경되는 라우터 정보, 즉 라우터 식별자 정보의 순차 변수 값을 저장하고, 각 라우팅 프로세서(RP) 필드는 해당 라우팅 프로세서(21~2n)로부터 정보 요청 메시지가 전송된 횟수 정보의 횟수 변수 값을 저장한다.At this time, the changed router information stored in the current ID field, that is, the sequential variable value of the router identifier information is stored, and each routing processor (RP) field transmits an information request message from the corresponding routing processors 21 to 2n. Stores the variable value of the count information.

또한, 정보 테이블은 라우터 정보 저장부(30b)의 일 영역에 저장되는 것이 바람직하다.In addition, the information table is preferably stored in one area of the router information storage unit 30b.

그리고, 정보 동기화부(30a)는 초기 설정되는 라우터 식별자 정보를 저장하면서, 순차 변수 값을 1로 증가시키고, 제 1 라우팅 프로세서(21)로부터 정보 요청 메시지가 전송되면, 도 4b에 도시된 것과 같이, 제 1 라우팅 프로세서(21) 필드(RP-1)의 횟수 변수 값을 1로 증가시키면서 라우터 식별자 정보가 포함되는 응답 메시지를 제 1 라우팅 프로세서(21)로 전송한다.Then, the information synchronization unit 30a increases the sequential variable value to 1 while storing the router identifier information that is initially set, and when the information request message is transmitted from the first routing processor 21, as shown in FIG. 4B. The response message including the router identifier information is transmitted to the first routing processor 21 while increasing the value of the number variable of the first routing processor 21 field RP-1 to 1.

한편, 정보 동기화부(30a)는 제 2 라우팅 프로세서(22)로부터 정보 요청 메시지가 전송되면, 제 2 라우팅 프로세서(22) 필드(RP-2)의 횟수 변수 값인 0과, 순차 변수 값인 1을 비교한 결과, 횟수 변수 값이 순차 변수 값보다 작으므로, 라우터 식별자 정보가 변경되지 않은 것으로 판단하여, 제 1 라우팅 프로세서(21)로 전송한 라우터 식별자 정보가 포함되는 응답 메시지를 전송한다.Meanwhile, when the information request message is transmitted from the second routing processor 22, the information synchronization unit 30a compares 0, the number variable value of the second routing processor 22 field RP-2, and 1, which is a sequential variable value. As a result, since the count variable value is smaller than the sequential variable value, it is determined that the router identifier information has not been changed, and a response message including the router identifier information transmitted to the first routing processor 21 is transmitted.

그리고, 정보 동기화부(30a)는 도 4c에 도시된 것과 같이, 제 2 라우팅 프로세서(22) 필드의 횟수 변수 값을 1로 증가시킨다.Then, the information synchronization unit 30a increases the value of the number of times variable in the second routing processor 22 field to 1, as shown in FIG. 4C.

반면, 정보 동기화부(30)는 각 라우팅 프로세서(21~2n)에서 다른 IP 주소를 라우터 식별자 정보로 변경하거나, 관리자가 변경하면, 신규 라우터 식별자 정보를 획득하여, 라우터 정보 저장부(30b)에 저장하고, 순차 변수 값을 2로 증가시킨다.On the other hand, the information synchronization unit 30 changes the other IP address to the router identifier information in each routing processor 21 to 2n or, if the administrator changes it, acquires new router identifier information to the router information storage unit 30b. Save and increment the sequential variable value to 2.

그리고, 정보 동기화부(30b)는 제 2 라우팅 프로세서(22)로부터 다시 정보 요청 메시지가 전송되면, 도 4d에 도시된 것과 같은 정보 테이블에서 순차 변수 값인 2와, 횟수 변수 값인 2를 비교한 결과, 동일함으로 신규 라우팅 식별자 정보를 전송하지 않은 라우팅 프로세서로 판단하여, 신규 라우터 식별자 정보가 포함되는 응답 메시지를 제 2 라우팅 프로세서(22)로 전송한다.When the information request message is transmitted again from the second routing processor 22, the information synchronization unit 30b compares the sequential variable value 2 with the number variable value 2 in the information table as shown in FIG. 4D. It is determined that the routing processor does not transmit the new routing identifier information as the same, and a response message including the new router identifier information is transmitted to the second routing processor 22.

즉, 정보 동기화부(30a)는 변경되는 라우터 정보의 순차 정보와, 각 라우팅 프로세서(21~2n)가 라우터 정보를 수신하는 정보 요청 메시지의 전송 횟수 정보를 비교하여, 각 라우팅 프로세서(21~2n)로 전송되는 라우터 정보를 동일하게 유지한다.That is, the information synchronization unit 30a compares the sequential information of the changed router information with the information on the number of times of transmission of the information request message for which the routing processors 21 to 2n receive the router information, and compares each routing processor 21 to 2n. The router information sent to) remains the same.

즉, 정보 동기화부(30a)는 제 2 라우팅 프로세서(22)로부터 정보 요청 메시지가 전송되면(S 14), 라우터 식별자 정보의 순차 정보와, 정보 요청 메시지의 전송 횟수 정보를 비교하여, 라우터 식별자 정보가 포함되는 응답 메시지를 제 2 라우팅 프로세서(22)로 전송한다(S 15).That is, when the information request message is transmitted from the second routing processor 22 (S 14), the information synchronization unit 30a compares the sequential information of the router identifier information with the transmission count information of the information request message, and thus the router identifier information. A response message including a is transmitted to the second routing processor 22 (S 15).

제 2 라우팅 프로세서(22)의 제 2 메시지 처리부(22b)는 스위칭부(30)로부터 수신되는 응답 메시지에서 라우터 정보 즉, 라우터 식별자 정보를 추출하여 제 2 라우팅 프로세서(21)로 제공한다.The second message processor 22b of the second routing processor 22 extracts router information, that is, router identifier information, from the response message received from the switching unit 30 and provides the same to the second routing processor 21.

그리고, 제 2 라우팅 프로세서(22)는 제 1 메시지 처리부(22b)로부터 제공되는 라우터 식별자 정보를 이용하여, 라우팅 정보를 계산하고, 라우팅 테이블(21a)에 저장한다.The second routing processor 22 calculates routing information using the router identifier information provided from the first message processing unit 22b and stores the routing information in the routing table 21a.

제 2 메시지 처리부(21b)는 응답 메시지에서 라우터 식별자 정보를 추출하고, 확인 메시지를 생성하여, 스위칭부(30)로 전송한다(S 12).The second message processor 21b extracts router identifier information from the response message, generates a confirmation message, and transmits the confirmation message to the switching unit 30 (S 12).

이때, 스위칭부(30)의 정보 동기화부(30a)는 소정 시간동안 제 2 라우팅 프로세서(22)로부터 확인 메시지가 전송되지 않으면, 라우터 식별자 정보가 포함된 응답 메시지를 재 전송한다.At this time, if the confirmation message 30a of the switching unit 30 does not transmit the confirmation message from the second routing processor 22 for a predetermined time, the information synchronization unit 30a retransmits the response message including the router identifier information.

도 5는 본 발명의 바람직한 실시예에 따른 분산 구조 라우터의 라우터 정보 관리 방법의 흐름을 설명하기 위한 플로우챠트 도면이다.5 is a flowchart illustrating a flow of a router information management method of a distributed router according to a preferred embodiment of the present invention.

도 5를 참조하면, 먼저 스위칭부(30)의 정보 동기화부(30a)는 각 라우팅 프로세서(21~2n)로 전송할 라우터 정보 즉, 라우터 식별자 정보와, 라우터 식별자 정보의 순차 정보를 라우터 정보 저장부(30b)의 일 영역에 저장한다(S 1).Referring to FIG. 5, first, the information synchronization unit 30a of the switching unit 30 stores router information, that is, router identifier information and sequence information of router identifier information, to be transmitted to each routing processor 21 ˜ 2n. It stores in one area of 30b (S1).

이때, 각 라우팅 프로세서(21~2n)가 라우터 식별자 정보를 변경하거나, 관리자가 변경하면, 정보 동기화부(30a)는 변경되는 라우터 식별자 정보를 저장하면서, 순차 정보를 증가시킨다.At this time, when each routing processor 21 to 2n changes the router identifier information or the administrator changes, the information synchronization unit 30a increments the information while storing the changed router identifier information.

그리고, 정보 동기화부(30a)는 각 라우팅 프로세서(21~2n)로부터 정보 요청 메시지가 수신되는지 여부를 확인하여(S 2), 정보 요청 메시지가 수신되면, 라우터 정보 저장부(30b)에 저장된 순차 정보와, 해당 라우팅 프로세서(21~2n)가 정보 요청 메시지를 전송하여 라우터 식별자 정보를 변경한 횟수 정보를 비교한다(S 3).The information synchronization unit 30a checks whether an information request message is received from each routing processor 21 ˜ 2n (S 2), and when the information request message is received, sequentially stores the information in the router information storage unit 30 b. The information is compared with the information on the number of times that the routing identifiers 21 to 2n change the router identifier information by transmitting the information request message (S 3).

그 비교 결과, 정보 동기화부(30a)는 저장된 순차 정보와, 횟수 정보가 동일하지 않으면, 라우터 식별자 정보의 변경이 없다고 판단하여, 이전 라우팅 프로세서(21~2n)로 전송한 라우터 식별자 정보가 포함되는 응답 메시지를 해당 라우팅 프로세서(21~2n)로 전송한다(S 4).As a result of the comparison, if the stored sequential information and the number of times information are not the same, the information synchronization unit 30a determines that there is no change of the router identifier information, and includes the router identifier information transmitted to the previous routing processors 21 to 2n. The response message is transmitted to the corresponding routing processors 21 to 2n (S 4).

반면, 비교 결과, 정보 동기화부(30a)는 순차 정보와, 횟수 정보가 동일하면, 라우터 식별자 정보가 변경되어 신규 라우터 식별자 정보가 저장되어 있다고 판단하여, 신규 라우터 식별자 정보가 포함되는 응답 메시지를 해당 라우팅 프로세서(21~2n)로 전송한다(S 5).On the other hand, as a result of the comparison, the information synchronization unit 30a determines that the router identifier information is changed and the new router identifier information is stored when the sequential information and the number of times information are the same. The data is transmitted to the routing processors 21 to 2n (S 5).

그리고, 정보 동기화부(30a)는 라우터 정보 저장부(30b)의 일 영역을 해당 라우팅 프로세서(21~2n)에 할당하여, 횟수 정보를 저장한다.The information synchronization unit 30a allocates an area of the router information storage unit 30b to the routing processors 21 to 2n to store the count information.

즉, 해당 라우팅 프로세서(21~2n)의 횟수 정보를 증가시켜 저장한다(S 6).That is, the number information of the routing processors 21 to 2n is increased and stored (S6).

아울러, 정보 동기화부(30a)는 해당 라우팅 프로세서(21~2n)로 응답 메시지를 전송하고, 소정 시간동안 확인 메시지가 수신되지 않으면, 라우터 식별자 정보가 포함된 응답 메시지를 재전송한다(S 8).In addition, the information synchronization unit 30a transmits a response message to the corresponding routing processors 21 to 2n, and if no confirmation message is received for a predetermined time, retransmits the response message including the router identifier information (S 8).

이상에서 본 발명은 기재된 구체 예에 대해서만 상세히 설명하였지만 본 발명의 기술 사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허청구범위에 속함은 당연한 것이다.Although the present invention has been described in detail only with respect to the described embodiments, it will be apparent to those skilled in the art that various modifications and changes are possible within the technical spirit of the present invention, and such modifications and modifications belong to the appended claims.

상기한 바와 같이, 본 발명에 따르면, 적어도 하나 이상의 라우팅 프로세서를 포함하는 분산 구조 라우터에서 라우터 정보를 각 라우팅 프로세서에 동일하게 저장되도록 하고, 각 라우팅 프로세서가 라우팅 정보를 사용할 시점에만 라우터 정보가 제공되도록 하여, 불필요한 라우팅 프로세서의 계산 처리 과정을 제거할 수 있는 효과가 있다. As described above, according to the present invention, in a distributed router including at least one or more routing processors, router information is equally stored in each routing processor, and the router information is provided only at the time when each routing processor uses the routing information. As a result, an unnecessary calculation process of the routing processor can be eliminated.

도 1은 종래의 분산 구조 라우터의 구성을 설명하기 위한 내부 블록 도면.1 is an internal block diagram illustrating a configuration of a conventional distributed router.

도 2는 본 발명의 바람직한 실시예에 따른 분산 구조 라우터의 구성을 설명하기 위한 내부 블록 도면.2 is an internal block diagram illustrating a configuration of a distributed router according to a preferred embodiment of the present invention.

도 3은 본 발명의 바람직한 실시예에 따라 메시지를 교환하는 흐름을 설명하기 위한 흐름도.3 is a flow chart illustrating the flow of exchanging messages in accordance with a preferred embodiment of the present invention.

도 4a, 4b, 4c, 4d는 본 발명의 바람직한 실시예에 따라 정보 동기화부가 관리하는 정보 테이블을 설명하기 위한 도면.4A, 4B, 4C, and 4D are diagrams for explaining an information table managed by an information synchronization unit according to a preferred embodiment of the present invention.

도 5는 본 발명의 바람직한 실시예에 따른 분산 구조 라우터의 라우터 정보 관리 방법의 흐름을 설명하기 위한 플로우챠트 도면.5 is a flowchart illustrating a flow of a router information management method of a distributed router according to a preferred embodiment of the present invention.

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

11~1n : 물리적 연결부 21~2n : 라우팅 프로세서11 ~ 1n: Physical connection part 21 ~ 2n: Routing processor

21a~2na : 라우팅 테이블 22a~2na : 메시지 처리부21a ~ 2na: routing table 22a ~ 2na: message processing unit

30 : 스위칭부 30a : 정보 동기화부30: switching unit 30a: information synchronization unit

30b : 라우터 정보 저장부 31 : 백업용 스위칭부30b: router information storage unit 31: backup switching unit

Claims (8)

분산 구조 라우터에 있어서, In a distributed router, 네트워크를 통해 외부 피어와 연결되어, 설정된 라우팅 프로토콜에 따라 상기 피어에 대한 라우팅 처리를 수행해야 하는 경우, 상기 분산 구조 라우터에 설정된 라우터 정보를 요청하는 라우터 정보 요청 메시지를 생성하고, 상기 라우터 정보 요청 메시지에 대한 응답 메시지에서 라우터 정보를 추출하여, 상기 라우팅 처리를 수행하는 적어도 하나 이상의 라우팅 프로세서;When connected to an external peer through a network to perform routing processing for the peer according to a set routing protocol, a router information request message for requesting router information set in the distributed router is generated, and the router information request message is generated. At least one routing processor for extracting router information from a response message for performing the routing process; 상기 각 라우팅 프로세서에 동일하게 저장해야 하는 라우터 정보를 저장하는 라우터 정보 저장부;A router information storage unit for storing router information which should be stored in the respective routing processors in the same manner; 상기 각 라우팅 프로세서로부터 라우터 정보 요청 메시지가 수신되면, 상기 라우터 정보 저장부에 저장된 라우터 정보가 포함되는 응답 메시지를 전송하여, 각 라우터 프로세서의 라우터 정보를 동기화하는 정보 동기화부를 포함하는 분산 구조 라우터.When the router information request message is received from each routing processor, a distributed structure router including an information synchronization unit for transmitting the response message including the router information stored in the router information storage unit, to synchronize the router information of each router processor. 제 1항에 있어서, 상기 각 라우팅 프로세서는,The method of claim 1, wherein each routing processor, 상기 추출된 라우터 정보와 상기 라우팅 프로토콜에 따라 상기 피어에 대한 라우팅 정보를 생성하고, 상기 네트워크로 연결되는 인터페이스 정보에 따라 라우터 정보가 갱신되면, 상기 갱신된 라우터 정보에 따라 해당 피어의 라우팅 정보를 재 설정하는 것을 특징으로 하는 분산 구조 라우터.When the router information is generated according to the extracted router information and the routing protocol and the router information is updated according to the interface information connected to the network, the routing information of the corresponding peer is reconstructed according to the updated router information. Distributed architecture router, characterized in that the setting. 제 1항 또는 제 2항에 있어서, 상기 정보 동기화부는,The method according to claim 1 or 2, wherein the information synchronization unit, 상기 각 라우팅 프로세서로부터 최초 라우터 정보 요청 메시지가 수신되면, 초기 구동시 설정되는 라우터 정보를 전송하고, 상기 각 라우팅 프로세서가 인터페이스 정보에 따라 라우터 정보를 갱신하면, 상기 라우터 정보 저장부에 저장된 라우터 정보로 상기 갱신된 라우터 정보로 변경한 후, 라우터 정보 요청 메시지가 수신되면, 상기 변경된 라우터 정보를 전송하는 것을 특징으로 하는 분산 구조 라우터.When the first router information request message is received from each routing processor, the router information set during initial operation is transmitted, and when each routing processor updates the router information according to the interface information, the router information stored in the router information storage unit is transferred. And after the router information request message is received after changing to the updated router information, transmitting the changed router information. 제 3항에 있어서, 상기 정보 동기화부는,The method of claim 3, wherein the information synchronization unit, 상기 라우터 정보 저장부에 저장된 라우터 정보가 갱신된 순차 정보와, 상기 각 라우팅 프로세서로부터 전송되는 라우터 정보 요청 메시지의 횟수 정보를 비교한 결과에 따라 상기 라우터 정보를 전송하여, 상기 각 라우팅 프로세서의 라우터 정보를 동일하게 유지하는 것을 특징으로 하는 분산 구조 라우터.The router information is transmitted according to a result of comparing the sequential information of the router information stored in the router information storage unit with the information on the number of times of the router information request message transmitted from each routing processor, and the router information of each routing processor. Distributed router, characterized in that to keep the same. 적어도 하나 이상의 라우팅 프로세서를 포함하는 분산 구조 라우터의 라우터 정보 관리 방법에 있어서, In the router information management method of a distributed router comprising at least one routing processor, 상기 각 라우팅 프로세서에 동일하게 저장되어, 네트워크로 연결되는 피어에 대한 라우팅 처리를 할 때 필요한 상기 분산 구조 라우터에 설정되는 라우터 정보를 저장하는 단계;Storing router information which is stored in each of the routing processors in the same manner and is set in the distributed router required for routing processing to peers connected to a network; 상기 각 라우팅 프로세서가 라우팅 프로토콜에 따라 외부 피어에 대한 라우팅 처리를 수행해야 하는 경우, 상기 분산 구조 라우터에 설정된 라우터 정보를 요청하는 라우터 정보 요청 메시지를 생성하는 단계;Generating a router information request message requesting router information set in the distributed router when each routing processor needs to perform routing processing for an external peer according to a routing protocol; 상기 각 라우팅 프로세서로부터 라우터 정보 요청 메시지가 수신되면, 상기 저장된 라우터 정보가 포함되는 응답 메시지를 생성하여, 해당 라우팅 프로세서로 전송하는 단계;When a router information request message is received from each routing processor, generating a response message including the stored router information and transmitting the response message to the corresponding routing processor; 상기 라우팅 프로세서가 상기 응답 메시지에서 상기 라우터 정보를 추출하고, 상기 라우터 정보와 상기 라우팅 프로토콜에 따라 상기 피어의 라우팅 정보를 생성하는 단계를 포함하는 분산 구조 라우터의 라우터 정보 관리 방법.And the routing processor extracting the router information from the response message and generating routing information of the peer according to the router information and the routing protocol. 제 5항에 있어서, The method of claim 5, 상기 각 라우팅 프로세서가 응답 메시지를 수신하고, 그에 대한 확인 메시지를 생성하여 전송하는 단계;Receiving, by each routing processor, a response message, and generating and sending a confirmation message therefor; 상기 응답 메시지를 전송하고, 소정 시간동안 해당 라우팅 프로세서로부터 확인 메시지가 수신되지 않는 경우, 상기 응답 메시지를 해당 라우팅 프로세서로 재 전송하는 단계를 더 포함하는 분산 구조 라우터의 라우터 정보 관리 방법.And transmitting the response message and resending the response message to the routing processor when a confirmation message is not received from the routing processor for a predetermined time. 제 5항에 있어서, 상기 라우터 정보를 저장하는 단계는,The method of claim 5, wherein storing the router information comprises: 상기 분산 구조 라우터의 초기 구동시 기설정되는 라우터 정보를 저장하는 단계;Storing router information preset when the distributed router is initially driven; 상기 각 라우팅 프로세서에서 네트워크와 연결되는 인터페이스 정보에 따라 라우터 정보를 갱신하는 경우, 해당 라우팅 프로세서가 갱신하는 라우터 정보를 획득하여 저장된 라우터 정보를 변경하는 단계를 포함하는 분산 구조 라우터의 라우터 정보 관리 방법.And updating router information according to interface information connected to a network in each routing processor, and obtaining router information updated by the corresponding routing processor and changing stored router information. 제 5항에 있어서, 상기 라우터 정보의 전송은,The method of claim 5, wherein the transmission of the router information, 상기 라우터 정보가 갱신되는 횟수에 따라 저장된 라우터 정보에 순차 정보를 설정하는 단계;Setting sequentially information on the stored router information according to the number of times the router information is updated; 제 1 라우팅 프로세서와, 제 2 라우팅 프로세서로부터 순차적으로 상기 라우터 정보 요청 메시지가 수신되면, 해당 라우팅 프로세서로부터 전송되는 라우터 정보 요청 메시지의 횟수 정보를 파악하는 단계;When the router information request message is sequentially received from the first routing processor and the second routing processor, determining the number of times of the router information request message transmitted from the corresponding routing processor; 상기 제 1 라우팅 프로세서로 상기 라우터 정보가 포함되는 응답 메시지를 전송하고, 상기 제 2 라우팅 프로세서로부터 수신된 정보 요청 메시지의 횟수 정보와 상기 순차 정보를 비교하여, 동일하면, 상기 라우터 정보가 변경된 것으로 판단하여, 변경된 라우터 정보를 전송하고, 동일하지 않으면, 제 1 라우팅 프로세서로 전송한 라우터 정보와 동일한 라우터 정보를 전송하는 단계;And transmits a response message including the router information to the first routing processor, compares the information on the number of times of the information request message received from the second routing processor and the sequential information, and determines that the router information has been changed. Transmitting the changed router information, and if not the same, transmitting the same router information as the router information transmitted to the first routing processor; 상기 각 라우팅 프로세서로 응답 메시지를 전송하고, 상기 정보 요청 메시지의 횟수 정보를 증가시키는 단계를 포함하는 분산 구조 라우터의 라우터 정보 관리 방법.And transmitting a response message to each routing processor and increasing information on the number of times of the information request message.
KR1020040007682A 2004-02-05 2004-02-05 apparatus and method of router information management in Distributed Router KR100560753B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040007682A KR100560753B1 (en) 2004-02-05 2004-02-05 apparatus and method of router information management in Distributed Router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040007682A KR100560753B1 (en) 2004-02-05 2004-02-05 apparatus and method of router information management in Distributed Router

Publications (2)

Publication Number Publication Date
KR20050079432A true KR20050079432A (en) 2005-08-10
KR100560753B1 KR100560753B1 (en) 2006-03-13

Family

ID=37266365

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040007682A KR100560753B1 (en) 2004-02-05 2004-02-05 apparatus and method of router information management in Distributed Router

Country Status (1)

Country Link
KR (1) KR100560753B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101385749B1 (en) * 2008-01-08 2014-04-17 삼성전자주식회사 Router-ID setup system and control method in network for supporting more than at least
KR20160086462A (en) * 2015-01-09 2016-07-20 주식회사 케이티 Method and system for synchronizing user information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100453817B1 (en) * 2002-06-05 2004-10-20 한국전자통신연구원 A high speed router system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101385749B1 (en) * 2008-01-08 2014-04-17 삼성전자주식회사 Router-ID setup system and control method in network for supporting more than at least
KR20160086462A (en) * 2015-01-09 2016-07-20 주식회사 케이티 Method and system for synchronizing user information

Also Published As

Publication number Publication date
KR100560753B1 (en) 2006-03-13

Similar Documents

Publication Publication Date Title
KR100542341B1 (en) Apparatus for distributively processing BGP protocol and method thereof
CA2666425C (en) Path mtu discovery in network system
US7457251B1 (en) Technique for group-based routing update with limited per neighbor/adjacency customization
US8391134B2 (en) Routing protocols for accommodating nodes with redundant routing facilities
US7054311B2 (en) Methods and apparatus for storage and processing of routing information
US7710899B1 (en) System and method for speeding border gateway protocol graceful restart
US20050169281A1 (en) Distributed router
AU2004306715A1 (en) Distributed software architecture for implementing the border gateway protocol (BGP)
JP4789425B2 (en) Route table synchronization method, network device, and route table synchronization program
JP2000295291A (en) Data transmission system
JP2007195180A (en) Routing system and route update method
US7969907B2 (en) System for scheduling scans of interior nodes of a network domain for reachability events
US7633874B1 (en) Soft notification messaging for a routing protocol
EP0969630A1 (en) Method for sharing network information and router apparatus
KR100475436B1 (en) distributed router and ARP packet processing method thereof
WO2013062070A1 (en) Control apparatus, communication system, virtual network management method, and program
KR100560753B1 (en) apparatus and method of router information management in Distributed Router
Cisco Multiprotocol BGP (MP-BGP) Support for CLNS
Cisco ISO CLNS Commands
Cisco ISO CLNS Commands
Cisco ISO CLNS Commands
Cisco ISO CLNS Commands
Cisco ISO CLNS Commands
Cisco ISO CLNS Commands
Cisco ISO CLNS Commands

Legal Events

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

Payment date: 20130227

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140227

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee