KR100423391B1 - A Processing Method of the Distributed Forwarding Table in the High Speed Router - Google Patents

A Processing Method of the Distributed Forwarding Table in the High Speed Router Download PDF

Info

Publication number
KR100423391B1
KR100423391B1 KR10-2002-0022052A KR20020022052A KR100423391B1 KR 100423391 B1 KR100423391 B1 KR 100423391B1 KR 20020022052 A KR20020022052 A KR 20020022052A KR 100423391 B1 KR100423391 B1 KR 100423391B1
Authority
KR
South Korea
Prior art keywords
forwarding
entry
processor
routing
line card
Prior art date
Application number
KR10-2002-0022052A
Other languages
Korean (ko)
Other versions
KR20030083864A (en
Inventor
고광호
박현
정영식
이형호
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to KR10-2002-0022052A priority Critical patent/KR100423391B1/en
Publication of KR20030083864A publication Critical patent/KR20030083864A/en
Application granted granted Critical
Publication of KR100423391B1 publication Critical patent/KR100423391B1/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/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/44Distributed routing
    • 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

Abstract

본 발명은 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법에 관한 것으로서 특히, 고속 라우터 시스템에서 소프트웨어 버스와 같은 미들웨어 통신 기법을 적용하여 효율적인 분산 포워딩 기능을 가능하도록 하여 데이터 처리의 효율성을 향상시키는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법에 관한 것이다. 이를 위하여 본 발명은, 라우팅 프로세서 다수의 라인카드 프로세서와 미들웨어 통신 버스를 통해 병렬로 연결되어 병렬 포워딩되는 고속 라우터 시스템에서의 분산 포워딩 테이블 처리방법에 있어서, 라우팅 프로세서 내에 포워딩 테이블 및 인접 테이블을 설정하고 초기화하는 제1 단계; 라인카드 프로세서의 초기화 요구 메시지를 수신하여 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블과 동일한 포워딩 테이블 및 인접 테이블을 상기 해당 라인카드 프로세서에 생성하는 제2 단계; 상기 라우팅 프로세서가 라우팅 엔트리의 추가/삭제/변경 메시지를 수신하면 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블에 포워딩 엔트리 및 인접 엔트리를 각각 추가/삭제/변경한 후 라인카드 프로세서로 상기 엔트리 추가/삭제/변경 메시지를 전송하는 제3 단계; 및 상기 라인카드 프로세서에서 상기 메시지를 수신하고 상기 메시지에 대응하는 포워딩 엔트리 및 인접 엔트리를 상기 제2 단계에서 생성된 포워딩 테이블 및 인접 테이블에 추가/삭제/변경하는 제4 단계를 포함한다.The present invention relates to a distributed forwarding table processing method in a high-speed router system, and more particularly, in a high-speed router system by applying a middleware communication technique such as a software bus in a high-speed router system to enable an efficient distributed forwarding function to improve data processing efficiency. The present invention relates to a distributed forwarding table processing method. To this end, the present invention provides a distributed forwarding table processing method in a high-speed router system in which a plurality of line card processors and a plurality of line card processors and a middleware communication bus are connected in parallel and parallel forwarding, and a forwarding table and an adjacent table are set in the routing processor. Initiating a first step; Receiving a initialization request message of a line card processor and generating a forwarding table and a neighbor table identical to the forwarding table and the neighbor table of the routing processor in the corresponding line card processor; When the routing processor receives the addition / delete / change message of the routing entry, the forwarding entry and the neighbor entry are added / deleted / changed to the forwarding table and the neighbor table of the routing processor, respectively, and then the entry / deletion / Transmitting a change message; And a fourth step of receiving the message at the line card processor and adding / deleting / changing a forwarding entry and a neighbor entry corresponding to the message to the forwarding table and the neighbor table generated in the second step.

Description

고속 라우터 시스템에서 분산 포워딩 테이블 처리방법{A Processing Method of the Distributed Forwarding Table in the High Speed Router}A processing method of the distributed forwarding table in the high speed router

본 발명은 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법에 관한 것으로서 보다 상세하게는, 고속 라우터 시스템에서 소프트웨어 버스와 같은 미들웨어 통신 기법을 적용하여 효율적인 분산 포워딩 기능을 가능하도록 하여 데이터 처리의 효율성을 향상시키는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법에 관한 것이다.The present invention relates to a distributed forwarding table processing method in a high-speed router system. More particularly, the present invention relates to a high-speed router system by applying a middleware communication technique such as a software bus to enable an efficient distributed forwarding function to improve data processing efficiency. Distributed forwarding table processing method in a router system.

일반적으로 데이터 망의 고속 통신을 위하여 고속 라우터 시스템에서는 분산 포워딩 기능 구조하에서 병렬 포워딩을 제공함으로써 고속 라우팅을 제공한다.In general, a high-speed router system provides high-speed routing by providing parallel forwarding in a distributed forwarding function structure for high-speed communication of a data network.

통신 서비스 기술 분야에서 종래에 발표된 기술은 포워딩 테이블을 모든 포워딩 기능에 분배하는 것이 아니라 모든 포워딩 기능에서 접근할 수 있는 기억저장영역에 저장하여 이를 함께 참조하는 방식을 사용하였다. 그러나, 이러한 방식은 여러 개의 포워딩 기능이 물리적으로 독립된 구조에서는 사용할 수 없었다. 또한, 종래의 다른 기술에서는 여러 개의 포워딩 기능을 분리하였으나 이는 특정 장치의 구조에 한정되었으며, 라우팅 프로세서와 라인카드간에 통상적으로 프로세서간 통신(IPC;Inter Processor Communication)에 의한 메시지 전송에 의하여 포워딩 테이블을 전달함으로써, 해당 응용에서 라우터 프로세서와 라인카드간의 통신 절차를 직접 제어해야 하므로 그 복잡성을 피할 수 없었다.In the field of communication service technology, a technology previously disclosed uses a method of referencing the forwarding table by storing the forwarding table in a storage storage area accessible to all forwarding functions, rather than distributing it to all forwarding functions. However, this method could not be used in a structure in which multiple forwarding functions are physically independent. In addition, in the related art, a number of forwarding functions have been separated, but this is limited to the structure of a specific device, and a forwarding table is typically formed by message transmission by an interprocessor communication (IPC) between a routing processor and a line card. By passing the complexity, the application must directly control the communication process between the router processor and the line card.

본 발명은 상기 문제를 해결하기 위해 것으로서 그 목적은, 병렬 포워딩을 가능하게 하는 분산 포워딩을 제공하고, 분산 포워딩시 요구되는 분산 포워딩 정보인 분산 포워딩 테이블과 인접 테이블 정보를 효율적으로 일치화시켜주기 위해 분산 처리 미들웨어 통신기법을 적용하여 응용 프로그램의 편의성을 제공함으로써 고속 라우터에서 포워딩 성능을 향상시키는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법 및 이를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object thereof is to provide distributed forwarding that enables parallel forwarding, and to efficiently match distributed forwarding table and neighbor table information, which are distributed forwarding information required for distributed forwarding. To provide a distributed forwarding table processing method and a computer-readable recording medium recording a program for realizing the same in a high-speed router system that improves forwarding performance in a high-speed router by applying a distributed processing middleware communication technique. have.

도 1은 본 발명의 고속 라우터 시스템의 일실시예에 따른 물리적 구성도.1 is a physical diagram of an embodiment of a fast router system of the present invention.

도 2는 본 발명에 따른 미들웨어 통신 버스를 이용한 분산 포워딩을 위한 논리적 구성도.2 is a logical diagram for distributed forwarding using a middleware communication bus in accordance with the present invention.

도 3은 본 발명의 라우터 시스템에서의 테이블 엔트리 추가/삭제/변경을 위한 미들웨어 API 기능 정의 표.3 is a table entry for adding / deleting / changing the router system of the present invention Middleware API feature definition table.

도 4는 본 발명에 따른 라우팅 프로세서(RP)의 포워딩 관리자 초기화과정을 보이는 흐름도.4 is a diagram of a routing processor (RP) in accordance with the present invention. Flowchart showing the forwarding manager initialization process.

도 5는 본 발명에 따른 라우팅 프로세서(RP)의 포워딩 관리자에서 라인카드의 초기화 요구 처리 절차도.5 is a diagram of a forwarding manager of a routing processor (RP) according to the present invention; Line card Initialization request processing procedure diagram.

도 6은 본 발명에 따른 라우팅 프로세서(RP)의 미들웨어 핸들러의 초기화 절차도.6 is a diagram illustrating an initialization procedure of a middleware handler of the routing processor RP according to the present invention.

도 7은 본 발명에 따른 라인카드 프로세서(LP)의 미들웨어 처리자의 초기화 절차도.7 is an initialization procedure of the middleware processor of the line card processor LP according to the present invention.

도 8은 본 발명에 따른 라우팅 프로세서(RP)의 포워딩 관리자의 라우팅 엔트리 추가/삭제/변경 절차도.8 is a diagram of a forwarding manager of a routing processor (RP) according to the present invention. Diagram of adding / deleting / changing routing entries.

도 9는 본 발명에 따른 라우팅 프로세서(RP)의 미들웨어 핸들러의 라우팅 엔트리 추가/삭제/변경 절차도.9 is a diagram illustrating a routing entry add / delete / change procedure of a middleware handler of a routing processor (RP) according to the present invention.

도 10은 본 발명에 따른 라인카드 프로세서(LP)의 미들웨어 처리자의 라우팅 엔트리 추가/삭제/변경 절차도.10 is a flowchart illustrating a routing entry addition / deletion / change of a middleware processor of a line card processor LP according to the present invention.

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

100 : 라우팅 시스템 101.200 : 라우팅 프로세서(RP)100: routing system 101.200: routing processor (RP)

102,209 : 라인카드 프로세서(LP) 103 : 스위치102,209 line card processor (LP) 103: switch

201 : 포워딩 관리자 202 : 라우팅 테이블201: forwarding manager 202: routing table

203,211 : 포워딩 테이블 204,212 : 인접 테이블203,211: Forwarding Table 204,212: Adjacent Table

205 : 시스템 관리자 206 : 미들웨어 핸들러205: System Administrator 206: Middleware Handler

207 : 주소결정프로토콜(ARP) 208 : 미들웨어 통신버스207 Address Resolution Protocol (ARP) 208 Middleware Communication Bus

210 : 미들웨어 처리자210: middleware handler

상기의 목적을 달성하기 위하여 본 발명은, 라우팅 프로세서 다수의 라인카드 프로세서와 미들웨어 통신 버스를 통해 병렬로 연결되어 병렬 포워딩되는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법에 있어서, 라우팅 프로세서 내에 포워딩 테이블 및 인접 테이블을 설정하고 초기화하는 제1 단계; 라인카드 프로세서의 초기화 요구 메시지를 수신하여 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블과 동일한 포워딩 테이블 및 인접 테이블을 상기 해당 라인카드 프로세서에 생성하는 제2 단계; 상기 라우팅 프로세서가 라우팅 엔트리의 추가/삭제/변경 메시지를 수신하면 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블에 포워딩 엔트리 및 인접 엔트리를 각각 추가/삭제/변경한 후 라인카드 프로세서로 상기 엔트리 추가/삭제/변경 메시지를 전송하는 제3 단계; 및 상기 라인카드 프로세서에서 상기 메시지를 수신하고 상기 메시지에 대응하는 포워딩 엔트리 및 인접 엔트리를 상기 제2 단계에서 생성된 포워딩 테이블 및 인접 테이블에 추가/삭제/변경하는 제4 단계를 포함한다.In order to achieve the above object, the present invention provides a distributed forwarding table processing method in a high speed router system in which a plurality of line card processors and a plurality of line card processors and a middleware communication bus are connected in parallel and forwarded in parallel. A first step of setting up and initializing a table; Receiving a initialization request message of a line card processor and generating a forwarding table and a neighbor table identical to the forwarding table and the neighbor table of the routing processor in the corresponding line card processor; When the routing processor receives the addition / delete / change message of the routing entry, the forwarding entry and the neighbor entry are added / deleted / changed to the forwarding table and the neighbor table of the routing processor, respectively, and then the entry / deletion / Transmitting a change message; And a fourth step of receiving the message at the line card processor and adding / deleting / changing a forwarding entry and a neighbor entry corresponding to the message to the forwarding table and the neighbor table generated in the second step.

여기서, 상기 라우팅 프로세서 내의 포워딩 테이블은 라우팅 시스템의 라우팅 엔트리의 추가/삭제/변경과 연동하여 포워딩 엔트리의 추가/삭제/변경되고, 상기 라우팅 프로세서에서 라우팅 엔트리의 추가/삭제/변경 메시지를 수신하면 각각의 메시지에 대응하는 미들웨어 API를 호출하고 상기 미들웨어 API 호출에 따라 라우팅 프로세서 및 라인카드 프로세서의 해당 테이블 엔트리를 각각 추가/삭제/변경한다.Here, the forwarding table in the routing processor is added / deleted / changed in conjunction with the addition / deletion / change of the routing entry of the routing system, and when the routing processor receives the addition / delete / change message of the routing entry, Call the middleware API corresponding to the message of and add / delete / change corresponding table entries of the routing processor and the line card processor, respectively, according to the middleware API call.

나아가, 상기 제2 단계는 상기 라인카드 프로세서의 초기화 요구 메시지가호출되면 상기 라우팅 프로세서는 포워딩 테이블 및 인접 테이블로부터 각각 다수개의 포워딩 엔트리 및 인접 엔트리로 패킷을 구성하여 상기 라인카드 프로세서로 각각 전송하는 단계 및 상기 라인카드 프로세서에서 상기 전송된 패킷을 수신하여 포워딩 테이블 및 인접 테이블을 생성하여 상기 각 테이블을 구성하는 단계를 포함한다.Further, in the second step, when the initialization request message of the line card processor is called, the routing processor constructs a packet of a plurality of forwarding entries and neighbor entries from the forwarding table and the neighbor table, respectively, and transmits the packet to the line card processor. And generating the forwarding table and the adjacent table by receiving the transmitted packet in the line card processor to configure each table.

한편, 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블의 테이블 엔트리 추가/삭제/변경과 연동하여 상기 라인카드 프로세서의 포워딩 테이블 및 인접 테이블의 테이블 엔트리가 추가/삭제/변경되어 상호 일치성을 제공한다.Meanwhile, in conjunction with adding / deleting / changing table entries of the forwarding table and the neighbor table of the routing processor, table entries of the forwarding table and the neighbor table of the line card processor are added / deleted / modified to provide mutual correspondence.

또한, 본 발명에 따른 방법은 미들웨어를 이용하여 포워딩 테이블 및 인접 테이블을 구성하고 포워딩 정보를 추가/삭제/변경한다.In addition, the method according to the present invention configures the forwarding table and the adjacent table using middleware and adds / deletes / changes forwarding information.

또한, 상기 목적을 달성하기 위해 본 발명은, 라우터 시스템에, 라우팅 프로세서 내에 포워딩 테이블 및 인접 테이블을 설정하고 초기화하는 제1 기능; 라인카드 프로세서의 초기화 요구 메시지를 수신하여 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블과 동일한 포워딩 테이블 및 인접 테이블을 상기 해당 라인카드 프로세서에 생성하는 제2 기능; 상기 라우팅 프로세서가 라우팅 엔트리의 추가/삭제/변경 메시지를 수신하면 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블에 포워딩 엔트리 및 인접 엔트리를 각각 추가/삭제/변경한 후 라인카드 프로세서로 상기 엔트리 추가/삭제/변경 메시지를 전송하는 제3 기능; 및 상기 라인카드 프로세서에서 상기 메시지를 수신하고 상기 메시지에 대응하는 포워딩 엔트리 및인접 엔트리를 상기 제2 기능에서 생성된 포워딩 테이블 및 인접 테이블에 추가/삭제/변경하는 제4 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a router system, comprising: a first function of setting and initializing a forwarding table and an adjacent table in a routing processor; A second function of receiving an initialization request message of a line card processor and generating a forwarding table and a neighbor table identical to the forwarding table and the neighbor table of the routing processor in the corresponding line card processor; When the routing processor receives the addition / delete / change message of the routing entry, the forwarding entry and the neighbor entry are added / deleted / changed to the forwarding table and the neighbor table of the routing processor, respectively, and then the entry / deletion / A third function of sending a change message; And a program for realizing a fourth function of receiving the message in the line card processor and adding / deleting / changing a forwarding entry and an adjacent entry corresponding to the message to the forwarding table and the neighbor table generated in the second function. Provide a computer-readable recording medium for recording.

본 발명은 라우팅 프로세서가 라인카드 프로세서의 포워딩 테이블 정보와 인접 테이블 정보를 생성하고 유지해주는 방법으로, 라인카드 프로세서의 초기화 단계로서 해당 라인카드로부터 초기화 요구를 접수하여서 해당 라인카드 프로세서에 포워딩 테이블(Forwarding Table)과 인접 테이블(Adjacency Table)을 생성하며, 상기 테이블 생성이 완료되면, 포워딩 서비스가 가능하며 신규 라인카드의 추가나 라우팅 엔트리의 추가에 따른 변화를 민감하게 모든 라인카드의 포워딩 테이블과 인접 테이블에 반영해 준다. 이때에 N-Copy의 분산 포워딩 정보에 대하여 미들웨어를 사용하여 정보의 추가/삭제/변경을 용이하게 제공하므로 그 효율성을 보장한다.The present invention provides a routing processor for generating and maintaining forwarding table information and neighbor table information of a line card processor. The initialization process of the line card processor receives an initialization request from the line card and forwards the table to the line card processor. Table) and adjacency table, and when the table generation is completed, forwarding service is available and changes to the addition of a new line card or the addition of a routing entry are sensitive to the forwarding table and the adjacent table of all line cards. Reflect. At this time, since the middleware is used for the distributed forwarding information of the N-Copy, it is easy to add, delete, or change the information, thereby ensuring its efficiency.

본 발명에서는 라우팅 프로세서와 다수개의 라인카드로 구성된 고속 라우터 시스템에서 상기 라우팅 프로세서는 라우팅 기능을 처리하고 상기 라인카드는 분산 포워딩을 통하여 라우터의 성능을 향상시키기 위하여 미들웨어 통신 기법을 적용하여 포워딩 관련 테이블들을 처리하는 방법을 제시한다.In the present invention, in the high-speed router system composed of a routing processor and a plurality of line cards, the routing processor processes a routing function and the line cards apply forwarding-related tables by applying a middleware communication technique to improve router performance through distributed forwarding. It suggests how to deal with it.

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

도 1은 본 발명의 고속 라우터 시스템의 일실시예에 따른 물리적 구성도를나타낸다. 도 1에 도시된 바와 같이, 본 발명에 따른 고속 라우터 시스템(100)은 라우팅 프로세서(RP;Routing Processor)(101), 다수의 라인카드(LP;Linecard Processor)(102) 및 이들을 상호 연결하는 스위치(103)로 구성된다. 상기 라우팅 프로세서(101)는 주로 라우팅 테이블을 관리하는 라우팅 프로토콜을 처리하며, 전반적인 라우팅 제어기능을 담당하며, 상기 라인카드(102)는 망이나 호스트와 연결되는 포트를 가지며, 주로 외부 인터페이스 기능을 담당한다. 상기 라인카드는 최대 N개까지 확장이 가능한 구조를 가진다. 또한, 상기 스위치(103)는 라우팅 프로세서와 라인카드들 간의 통신을 가능케 하는 장치로서 상기 라우팅 프로세서(101)와 라인카드(102)가 스위치를 통하여 연결된다. 상기 라인카드(103)의 인터페이스 포트는 근거리 통신망(LAN;Local Area Network) 및 광대역 통신망(WAN;Wide Area Network) 인터페이스를 제공하므로 다른 라우터(104)나 호스트(106)가 물리적으로 직접 연결가능하며, 워크스테이션 서버(105)가 근거리 통신망(LAN) 형태로도 연결될 수 있다.Figure 1 shows a physical diagram according to an embodiment of a high speed router system of the present invention. As shown in FIG. 1, a fast router system 100 according to the present invention includes a routing processor (RP) 101, a plurality of linecard processors (LP) 102, and a switch interconnecting them. It consists of 103. The routing processor 101 mainly handles a routing protocol that manages a routing table, and is in charge of overall routing control. The line card 102 has a port connected to a network or a host, and is mainly responsible for an external interface function. do. The line card has a structure that can be expanded up to N. In addition, the switch 103 is a device that enables communication between the routing processor and the line cards, the routing processor 101 and the line card 102 is connected through a switch. The interface port of the line card 103 provides a local area network (LAN) and a wide area network (WAN) interface, so that another router 104 or a host 106 may be physically connected directly. The workstation server 105 may also be connected in a local area network (LAN) form.

도 2는 본 발명에 따른 미들웨어 통신 버스를 이용한 분산 포워딩을 위한 논리적 구성도를 나타낸 것으로서, 도 1에 도시한 고속 라우터 시스템의 분산 포워딩의 기능적인 측면에서 상세히 나타낸 도면이다. 도 2에 도시된 바와 같이, 라우팅 프로세서(200)에는 3개의 주요 테이블이 존재하는데, 이것은 라우팅 테이블(202)과 포워딩 테이블(203) 인접 테이블(204)이다. 상기 라우팅 테이블(202)은 라우팅 프로토콜이 수행되면서 생성되고, 상기 포워딩 테이블(203)은 라우팅 엔트리의 추가/삭제/변경에 따라서 포워딩 엔트리가 추가/삭제/변경되는 의존적인 구조를 가지며, 상기 인접 테이블(204)은 라인 인터페이스의 다음 홉(Next Hop)에 대한 정보를 가지며, 이는 주소결정프로토콜(ARP;Address Resolution Protocol)(207)에 의해서 얻어진다.FIG. 2 is a diagram illustrating a logical configuration for distributed forwarding using a middleware communication bus according to the present invention. FIG. 2 is a detailed diagram of a functional function of distributed forwarding of the fast router system shown in FIG. 1. As shown in FIG. 2, there are three main tables in the routing processor 200, which are the routing table 202 and the forwarding table 203 adjacent table 204. The routing table 202 is generated while a routing protocol is performed, and the forwarding table 203 has a dependent structure in which forwarding entries are added / deleted / changed according to addition / delete / change of routing entries, and the neighbor table 204 has information about the next hop of the line interface, which is obtained by the Address Resolution Protocol (ARP) 207.

또한, 상기 라우팅 프로세서(200)에는 시스템 관리자(205)와 포워딩 관리자(201)가 존재하며, 상기 시스템 관리자(205)는 시스템의 초기화, 새로운 라인카드가 추가나 삭제 등의 시스템의 구성을 관리해주며, 상기 포워딩 관리자(201)는 상기 라우팅 프로세서(200)와 라인카드(209)의 포워딩 정보를 구축 및 유지해준다.In addition, a system manager 205 and a forwarding manager 201 exist in the routing processor 200. The system manager 205 manages the configuration of a system such as initializing a system, adding or deleting a new line card, and the like. The forwarding manager 201 builds and maintains forwarding information of the routing processor 200 and the line card 209.

한편, 미들웨어 통신 버스(208)는 소프트웨어 버스로서, 상기 라우팅 프로세서(200)의 미들웨어 핸들러(206)와 상기 라인카드(209)의 미들웨어 처리자(210)의 전용통신 채널로 간주되며, 물리적으로는 이더넷(Ethernet)으로 구성된다. 상기 라인카드(209)에는 상기 라우팅 프로세서(200)의 복사본인 포워딩 테이블(211)과 인접테이블(212)이 존재하며, 이것은 각 라인카드(209)가 분산 포워딩을 수행하는데 필수적인 정보이다. 상기 라인카드의 인터페이스에는 예로서 GE(Gigabit Ethernet) Port(213)와 POS(Packet Over SONET) Port(214) 등이 있다.Meanwhile, the middleware communication bus 208 is a software bus, which is regarded as a dedicated communication channel between the middleware handler 206 of the routing processor 200 and the middleware processor 210 of the line card 209, and is physically Ethernet. It consists of (Ethernet). The line card 209 includes a forwarding table 211 and a neighbor table 212, which are copies of the routing processor 200, which is essential information for each line card 209 to perform distributed forwarding. Examples of the interface of the line card include a Gigabit Ethernet (GE) Port 213 and a Packet Over SONET (POS) Port 214.

도 3은 본 발명의 라우터 시스템에서 테이블의 엔트리 추가/삭제/변경을 위한 미들웨어 API(Application Program Interface;응용프로그램 인터페이스) 기능 정의 표이다. 도 3에 나타난 바와 같이, M_init(301)는 라인카드(209)를 초기화하기 위하여 포워딩 관리자(201)가 미들웨어 핸들러(206)에게 요구하는 API로서, 상기 라우팅 프로세서(200)의 미들웨어 핸들러(206)는 상기 포워딩 관리자(201)로부터 상기 라인카드(209)의 초기화 요구를 수신하여 상기 라우팅 프로세서(200)의 포워딩 테이블과 인접 테이블을 해당 라인카드(209)로 전달한다. 상기 해당 라인카드(209)의 미들웨어 처리자(210)는 이를 수신하여 해당 테이블을 초기화한다. M_add(302)는 테이블 엔트리가 추가 될 때 상기 포워딩 관리자(201)로부터 호출되며, 상기 미들웨어 핸들러(206)는 상기 라우팅 프로세서(200)에서 해당 테이블에 엔트리를 추가한 후, 모든 라인카드(209)의 미들웨어 처리자(210)에게 해당 테이블 엔트리 추가를 방송한다. M_delete(303)는 테이블 엔트리가 삭제 될 때 상기 포워딩 관리자(201)로부터 호출되며, 상기 미들웨어 핸들러(206)는 상기 라우팅 프로세서(200)에서 해당 테이블 엔트리를 삭제한 후, 모든 라인카드(209)의 미들웨어 처리자(210)에게 해당 테이블 엔트리 삭제를 방송한다. M_change(304)는 테이블 엔트리가 변경 될 때 상기 포워딩 관리자(201)로부터 호출되며, 상기 미들웨어 핸들러(206)는 상기 라우팅 프로세서(200)에서 해당 테이블에 엔트리를 변경한 후, 모든 라인카드(209)의 미들웨어 처리자(210)에게 해당 테이블 엔트리 변경을 방송한다.3 is a table for adding / deleting / changing entries in a router system according to the present invention. Middleware API (Application Program Interface) function definition table. As shown in FIG. 3, M_init 301 is an API requested by the forwarding manager 201 to the middleware handler 206 to initialize the line card 209, and the middleware handler 206 of the routing processor 200. Receives the initialization request of the line card 209 from the forwarding manager 201 and transfers the forwarding table and the neighbor table of the routing processor 200 to the line card 209. The middleware processor 210 of the line card 209 receives this to initialize the table. M_add 302 is called from the forwarding manager 201 when a table entry is added, and the middleware handler 206 adds an entry to the table in the routing processor 200 and then all line cards 209. The middleware processor 210 broadcasts the corresponding table entry addition. M_delete 303 is called from the forwarding manager 201 when a table entry is deleted, and the middleware handler 206 deletes the corresponding table entry from the routing processor 200 and then deletes all of the line cards 209. The tableware deletion is broadcast to the middleware processor 210. M_change 304 is called from the forwarding manager 201 when a table entry is changed, and the middleware handler 206 changes the entry to the table in the routing processor 200 and then all line cards 209. It broadcasts the corresponding table entry change to the middleware processor 210.

도 4는 본 발명에 따른 라우팅 프로세서(RP)의 포워딩 관리자 초기화과정을 보이는 흐름도이다. 먼저, 포워딩 테이블(203)을 설정하고 관리 통신채널을 설정한다(S401). 이어, 시스템 관리자(205)로부터 메시지를 기다리며 대기상태를 유지한다(S402). 이때, 상기 시스템 관리자(205)로부터 라인카드 인터페이스에 대한 물리적 구성 정보인 인터넷 프로토콜(IP) 주소 구성 정보에 대한 메시지를 수신한 경우에는(S404), 포워딩 테이블(203)을 초기화하고(S407) 상기 시스템 관리자(205)로부터의 메시지 수신을 위해 대기 상태로 들어간다(S411).4 is a diagram of a routing processor (RP) in accordance with the present invention. This is a flow chart showing the forwarding manager initialization process. First, the forwarding table 203 is set and a management communication channel is set (S401). Subsequently, the system manager 205 waits for a message and maintains a standby state (S402). At this time, when receiving a message for the Internet protocol (IP) address configuration information, which is physical configuration information for the line card interface from the system manager 205 (S404), the forwarding table 203 is initialized (S407). The system enters a standby state for receiving a message from the system manager 205 (S411).

만약, 상기 시스템 관리자(205)로부터 IP주소의 추가에 대한 메시지를 수신한 경우에는(405) 미들웨어 API인 M_add(IP)를 호출하고(S408), 상기 시스템 관리자(205)로부터 IP주소의 삭제 메시지를 수신한 경우에는(S405) 미들웨어 API인 M_delete(IP)를 호출하며(S409), 상기 시스템 관리자(205)로부터 매체접근제어(MAC ;Media Access Control) 주소 변경의 메시지를 수신한 경우에는(S406) 미들웨어 API인 M_change(MAC)를 호출한다(S410). 상기 단계(S408,S409,410)에서 각각의 호출이 처리되면, 라인카드(209)로부터 상기 라인카드 초기화 요구를 기다리거나 시스템 관리자로부터의 메시지 수신을 위하여 대기 상태로 들어간다(S411).If a message for the addition of the IP address is received from the system manager 205, the M_add (IP) which is a middleware API is called (S408), and the deletion message of the IP address is received from the system manager 205. In the case of receiving a message (S405), M_delete (IP), which is a middleware API, is called (S409), and when a message of a media access control (MAC) address change is received from the system manager 205 (S406). ) M_change (MAC), which is a middleware API, is called (S410). When each call is processed in steps S408, S409 and 410, the line card 209 waits for the line card initialization request or enters a standby state for receiving a message from a system manager (S411).

도 5는 본 발명에 따른 라우팅 프로세서(RP)의 포워딩 관리자에서 라인카드의 초기화 요구에 대한 처리 절차도이다. 포워딩 관리자(201)는 라인카드(209)로부터 초기화 요구 신호를 기다리다가(S501) 초기화 요구 신호가 수신되면(S502), 라인카드(209)의 번호를 확인하여 상기 번호가 정상인지 판단한다(S503). 상기 단계(S503)에서의 판단결과 상기 라인카드의 번호가 정상이면, 미들웨어 API인 M_init(LP#)를 호출하여(S504) 미들웨어 핸들러(206)의 초기화 절차를 수행하도록 한다(S505). 그러나, 상기 단계(S503)에서의 판단결과, 상기 라인카드의 번호가 정상이 아니면 대기(Waiting) 상태로 들어간다(S506).5 is a diagram of a forwarding manager of a routing processor (RP) according to the present invention; Line card This is a procedure for processing an initialization request. The forwarding manager 201 waits for an initialization request signal from the line card 209 (S501), and when an initialization request signal is received (S502), checks the number of the line card 209 to determine whether the number is normal (S503). ). As a result of the determination in step S503, if the line card number is normal, M_init (LP #), which is a middleware API, is called (S504) to perform the initialization procedure of the middleware handler 206 (S505). However, as a result of the determination in step S503, if the number of the line card is not normal, it enters a waiting state (S506).

도 6은 본 발명에 따른 라우팅 프로세서(RP)의 미들웨어 핸들러의 초기화 절차도이다. 라우팅 프로세서(200)의 미들웨어 핸들러(206)는 포워딩 관리자(201)에 의한 M_init(LP#) 호출시에 활성화되고(S601), 포워딩 테이블(203)로부터 다수개의 포워딩 엔트리로 패킷을 구성하여(S602) 해당 라인카드(209)의 미들웨어 처리자(210)에게 포워딩 엔트리 패킷을 전송한다(S603). 이후, 상기 미들웨어 처리자(210)로부터 ACK가 전송되었는지 판단하여(S604), ACK가 전송되지 않았으면 포워딩 엔트리 패킷을 재전송하고(S605), ACK가 전송되었으면 인접 테이블에 대하여 다수개의 인접 엔트리로 패킷을 구성하여(S606), 해당 라인카드(209)의 미들웨어 처리자(210)에게 인접 엔트리 패킷을 전송한다(S607).6 is a diagram illustrating an initialization procedure of a middleware handler of the routing processor RP according to the present invention. The middleware handler 206 of the routing processor 200 is activated at the M_init (LP #) call by the forwarding manager 201 (S601), and constructs a packet with a plurality of forwarding entries from the forwarding table 203 (S602). The forwarding entry packet is transmitted to the middleware processor 210 of the corresponding line card 209 (S603). Subsequently, it is determined whether the ACK is transmitted from the middleware processor 210 (S604). If the ACK is not transmitted, the forwarding entry packet is retransmitted (S605). If the ACK is transmitted, the packet is transmitted to a plurality of neighbor entries for the neighbor table. In step S606, the adjacent entry packet is transmitted to the middleware processor 210 of the line card 209 (S607).

이어, 상기 단계(S607)의 전송에 대한 ACK를 확인하여(S608), ACK가 아니면 인접 엔트리 패킷을 재전송하고(S609), ACK이면 바로 대기 상태로 들어간다(S610).Subsequently, after confirming the ACK for the transmission of the step (S607) (S608), if not the ACK retransmits the adjacent entry packet (S609), if the ACK immediately enters the standby state (S610).

도 7은 본 발명에 따른 라인카드 프로세서(LP)의 미들웨어 처리자의 초기화 절차도이다. 라인카드(209)의 미들웨어 처리자(210)가 대기상태에서 라우팅 프로세서(200)의 미들웨어 핸들러(206)로부터 포워딩 엔트리 패킷을 수신하면(S701) 포워딩 테이블(203)을 구성하고(S702), 상기 과정이 정상적으로 실행되었는지를 확인하여(S703), 정상이면 미들웨어 핸들러(206)에게 ACK를 전송하고(S704), 비정상이면 NAK를 전송하고(S705) 대기상태로 돌아간다(S706).7 is an initialization procedure of the middleware processor of the line card processor LP according to the present invention. When the middleware processor 210 of the line card 209 receives the forwarding entry packet from the middleware handler 206 of the routing processor 200 in the standby state (S701), configures the forwarding table 203 (S702). Check whether it is normally executed (S703), if normal, sends an ACK to the middleware handler 206 (S704), if abnormal, transmits a NAK (S705) and returns to the standby state (S706).

한편, 상기 라인카드(209)의 미들웨어 처리자(210)가 대기상태에서 라우팅 프로세서(200)의 미들웨어 핸들러(206)로부터 인접 엔트리 패킷을 수신하면(S707)인접 테이블(204)을 구성하고(S708), 상기 과정이 정상적으로 실행되었는지 확인하여(S709), 정상이면 상기 라우팅 프로세서(200)의 미들웨어 핸들러(206)에게 ACK를 전송하고(S710), 비정상이면 NAK를 전송하고(S711) 대기상태로 돌아간다(S712).On the other hand, when the middleware processor 210 of the line card 209 receives the adjacent entry packet from the middleware handler 206 of the routing processor 200 in the standby state (S707) and configures the adjacent table 204 (S708). In operation S709, if the process is normally performed, an ACK is transmitted to the middleware handler 206 of the routing processor 200, and if it is abnormal, a NAK is transmitted (S711), and the process returns to the standby state. (S712).

도 8은 본 발명에 따른 라우팅 프로세서(RP)의 포워딩 관리자의 라우팅 엔트리 추가/삭제/변경 절차도이다. 라우팅 엔트리의 추가/삭제/변경의 경우, 포워딩 관리자(201)는 시스템 관리자(205)로부터의 메시지를 수신하기 위해 대기상태로 있다가(S801), 상기 시스템 관리자(205)로부터 각각의 라우팅 엔트리 추가 메시지를 수신하는 경우(S802) 미들웨어 API 인 M_add(RT)를 호출함으로써(S805), 그 역할을 다한 것이다. 나머지는 미들웨어 핸들러(206)와 미들웨어 처리자(210)가 각각 하기에서 설명할 도 9 및 도 10과 같이 처리함으로써, N-Copy의 테이블을 일치시키는 일을 담당하게 된다. 따라서 미들웨어로 인하여 포워딩 관리자(201)의 편의성이 제공된다.8 is a diagram of a forwarding manager of a routing processor (RP) according to the present invention. This is a procedure for adding / deleting / changing routing entries. In the case of adding / deleting / changing a routing entry, the forwarding manager 201 is in a waiting state to receive a message from the system manager 205 (S801), and adds each routing entry from the system manager 205. When receiving the message (S802) by calling the middleware API M_add (RT) (S805), the role is fulfilled. The rest is handled by the middleware handler 206 and the middleware processor 210 as shown in FIG. 9 and FIG. 10, which will be described below, to match the N-Copy table. Thus, the convenience of the forwarding manager 201 is provided due to the middleware.

또한, 상기 포워딩 관리자(201)가 상기 시스템 관리자(205)로부터 라우팅 엔트리 삭제 메시지를 수신하는 경우는(S803) 미들웨어 API 인 M_delete(RT)를 호출하며(S806), 라우팅 엔트리 변경 메시지를 수신하는 경우는(S804) 미들웨어 API 인 M_change(RT)를 호출한 후(S807), 대기(Waiting) 상태로 들어간다(S808).In addition, when the forwarding manager 201 receives a routing entry deletion message from the system manager 205 (S803), it calls M_delete (RT), which is a middleware API (S806), and receives a routing entry change message. (S804) After calling the middleware API M_change (RT) (S807), and enters the waiting state (S808).

도 9는 본 발명에 따른 라우팅 프로세서(RP)의 미들웨어 핸들러의 라우팅 엔트리 추가/삭제/변경 절차도이다. 미들웨어 핸들러(901)는 포워딩 관리자(201)로부터, 미들웨어 API 인 M_add(entry)가 호출되면(S902) 라우팅 프로세서(200)의 포워딩 테이블(203) 및 인접 테이블(204)에 각각 포워딩 엔트리 및 인접 엔트리를 추가하고(S904), 활성화된 모든 라인카드(209)로 M_add(entry)를 전송한다(S907).9 is a flowchart illustrating a routing entry addition / deletion / change of a middleware handler of the routing processor RP according to the present invention. When the middleware handler 901 calls the middleware API M_add (entry) from the forwarding manager 201 (S902), the middleware handler 901 forwards the entry and the neighbor entry to the forwarding table 203 and the neighbor table 204 of the routing processor 200, respectively. Add (S904) and transmit M_add (entry) to all activated line cards 209 (S907).

또한, 상기 포워딩 관리자(201)로부터, 미들웨어 API 인 M_delete(entry)가 호출되면(S902) 상기 라우팅 프로세서(200)의 포워딩 테이블(203) 및 인접 테이블(204)에 각각 포워딩 엔트리 및 인접 엔트리를 삭제하고(S905), 활성화된 모든 라인카드(209)로 M_delete(entry)를 전송한다(S908).Also, when M_delete (entry), which is a middleware API, is called from the forwarding manager 201 (S902), the forwarding entry and the neighbor entry are deleted in the forwarding table 203 and the neighbor table 204 of the routing processor 200, respectively. In operation S905, M_delete (entry) is transmitted to all activated line cards 209 (S908).

한편, 상기 포워딩 관리자(201)로부터, 미들웨어 API 인 M_change(entry)가 호출되면(S903) 라우팅 프로세서(200)의 포워딩 테이블(203) 및 인접 테이블(204)에 각각 포워딩 엔트리 및 인접 엔트리를 변경하고(S906), 활성화된 모든 라인카드(209)로 M_change(entry)를 전송한다(S909). 상기 단계(S907,S908,S909)의 실행 이후, 대기(Waiting) 상태로 들어간다(S910).Meanwhile, when M_change (entry), which is a middleware API, is called from the forwarding manager 201 (S903), the forwarding entry and the neighbor entry are changed in the forwarding table 203 and the neighbor table 204 of the routing processor 200, respectively. In operation S 906, M_change (entry) is transmitted to all activated line cards 209 (S909). After execution of the above steps (S907, S908, S909), it enters the waiting state (S910).

도 10은 본 발명에 따른 라인카드 프로세서(LP)의 미들웨어 처리자의 라우팅 엔트리 추가/삭제/변경 절차도이다. 미들웨어 처리자(210)는 라우팅 프로세서(200)의 미들웨어 핸들러(206)로부터, 미들웨어 API 인 M_add(entry)를 수신하면(S1001) 자신의 라인카드(209)의 포워딩 테이블(211)에 포워딩 엔트리 및 인접 엔트리를 추가함으로써(S1004) 상기 라우팅 프로세서(200)와의 일관성을 제공하게 된다.10 is a flowchart illustrating a routing entry addition / deletion / change of a middleware processor of the line card processor LP according to the present invention. When the middleware processor 210 receives the middleware API M_add (entry) from the middleware handler 206 of the routing processor 200 (S1001), the forwarding entry and the neighboring entry are forwarded to the forwarding table 211 of its line card 209. Adding an entry (S1004) provides consistency with the routing processor 200.

상기 미들웨어 처리자(210)가 상기 미들웨어 핸들러(206)로부터, 미들웨어 API 인 M_delete(entry)를 수신하면(S1002) 자신의 라인카드(209)의 포워딩테이블(211) 및 인접 테이블(212)에서 각각 해당 포워딩 엔트리를 삭제한다(S1005).When the middleware processor 210 receives the middleware API M_delete (entry) from the middleware handler 206 (S1002), the middleware processor 210 corresponds to the forwarding table 211 and the neighbor table 212 of its line card 209, respectively. The forwarding entry is deleted (S1005).

상기 미들웨어 처리자(210)가 상기 미들웨어 핸들러(206)로부터, 미들웨어 API 인 M_change(entry)를 수신하면(S1003) 자신의 라인카드(209)의 포워딩 테이블(211) 및 인접 테이블(212)에서 해당 포워딩 엔트리를 변경한다(S1006). 그리고 나서 대기(Waiting) 상태로 들어간다(S1007).When the middleware processor 210 receives M_change (entry), which is a middleware API, from the middleware handler 206 (S1003), the forwarding table 211 and the neighbor table 212 of its own line card 209 are forwarded. The entry is changed (S1006). Then, the process enters the waiting state (S1007).

이상에서 설명한 바와 같이, 도 4 내지 도 10에서의 절차를 참조하면, 라우팅 프로세서(200)와 모든 라인카드(209)의 포워딩 테이블 및 인접 테이블의 데이터의 일치성을 보장해주며, 미들웨어는 지원되는 도구들을 사용하여 적은 노력으로도 구현이 용이하며, 이로 인하여 포워딩 관리자의 업무가 단순화됨을 알 수 있다.As described above, referring to the procedures in FIGS. 4 to 10, the data of the forwarding table and the neighbor table of the routing processor 200 and all the line cards 209 are guaranteed, and the middleware is a supported tool. It can be seen that the implementation is easy with little effort, which simplifies the task of the forwarding manager.

상술한 상세한 설명 및 도면의 내용은 본 발명의 이해를 돕기 위한 실시예를 설명한 것으로서 본 발명이 속하는 기술분야의 통상의 지식을 가진 자라면 본 발명의 정신을 벗어나지 않는 범위에서 변경, 치환 또는 수정이 가능할 것이다. 따라서, 본 발명의 권리의 범위는 상기한 상세한 설명에 의해 결정되는 것이 아니라 첨부한 청구범위에 결정되어야만 할 것이다.The above detailed description and the contents of the drawings have been described for the purpose of understanding the present invention, and those skilled in the art to which the present invention belongs may change, substitute, or modify the scope without departing from the spirit of the present invention. It will be possible. Therefore, the scope of the present invention should be determined by the appended claims rather than by the foregoing description.

상술한 바와 같이 본 발명은 하기와 같은 효과를 가진다.As described above, the present invention has the following effects.

첫째, 라우팅과 포워딩의 분리함으로써 병렬 포워딩 제공이 가능하다.First, parallel forwarding can be provided by separating routing and forwarding.

둘째, 분산 포워딩을 위한 포워딩/인접 테이블 구성을 구성할 수 있다.Second, forwarding / adjacent table configuration for distributed forwarding can be configured.

셋째, 분산 포워딩이 가능하므로 고속 포워딩 제공이 가능하다.Third, it is possible to provide high-speed forwarding because distributed forwarding is possible.

넷째, 미들웨어 통신 기법을 적용하므로 응용과 통신을 분리하여 독립성 부여할 수 있다.Fourth, since middleware communication technique is applied, independence can be given by separating application and communication.

다섯째, 미들웨어 통신 기법을 적용하므로 데이터의 일관성을 높일 수 있다.Fifth, applying the middleware communication technique can improve the data consistency.

여섯째, 미들웨어 API의 제공으로 원격 테이블 관리의 간편화할 수 있다.Sixth, it is possible to simplify remote table management by providing a middleware API.

일곱째, 포워딩 관리자에게 메시지 송수신에 대한 부담을 없애고 단순성을 지원하므로 블록 구현을 용이하게 할 수 있다.Seventh, it can facilitate the block implementation by eliminating the burden of sending and receiving messages to the forwarding manager and supporting simplicity.

Claims (7)

라우팅 프로세서 다수의 라인카드 프로세서와 미들웨어 통신 버스를 통해 병렬로 연결되어 병렬 포워딩되는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법에 있어서,Routing processor A distributed forwarding table processing method in a high-speed router system connected in parallel through a plurality of line card processor and a middleware communication bus in parallel forwarding, 라우팅 프로세서 내에 포워딩 테이블 및 인접 테이블을 설정하고 초기화하는 제1 단계;A first step of setting up and initializing a forwarding table and an adjacent table in the routing processor; 라인카드 프로세서의 초기화 요구 메시지를 수신하여 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블과 동일한 포워딩 테이블 및 인접 테이블을 상기 해당 라인카드 프로세서에 생성하는 제2 단계;Receiving a initialization request message of a line card processor and generating a forwarding table and a neighbor table identical to the forwarding table and the neighbor table of the routing processor in the corresponding line card processor; 상기 라우팅 프로세서가 라우팅 엔트리의 추가/삭제/변경 메시지를 수신하면 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블에 포워딩 엔트리 및 인접 엔트리를 각각 추가/삭제/변경한 후 라인카드 프로세서로 상기 엔트리 추가/삭제/변경 메시지를 전송하는 제3 단계; 및When the routing processor receives the addition / delete / change message of the routing entry, the forwarding entry and the neighbor entry are added / deleted / changed to the forwarding table and the neighbor table of the routing processor, respectively, and then the entry / deletion / Transmitting a change message; And 상기 라인카드 프로세서에서 상기 메시지를 수신하고 상기 메시지에 대응하는 포워딩 엔트리 및 인접 엔트리를 상기 제2 단계에서 생성된 포워딩 테이블 및 인접 테이블에 추가/삭제/변경하는 제4 단계를 포함하는 것을 특징으로 하는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법.And receiving, by the line card processor, a fourth step of adding / deleting / changing a forwarding entry and a neighbor entry corresponding to the message to the forwarding table and the neighbor table generated in the second step. Distributed forwarding table processing method in high speed router system. 제 1항에 있어서,The method of claim 1, 상기 라우팅 프로세서 내의 포워딩 테이블은 라우팅 시스템의 라우팅 엔트리의 추가/삭제/변경과 연동하여 포워딩 엔트리의 추가/삭제/변경되는 것을 특징으로 하는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법.The forwarding table in the routing processor adds / deletes / changes forwarding entries in conjunction with adding / deleting / changing routing entries of a routing system. 제 1항에 있어서,The method of claim 1, 상기 라우팅 프로세서에서 라우팅 엔트리의 추가/삭제/변경 메시지를 수신하면 각각의 메시지에 대응하는 미들웨어 API를 호출하고 상기 미들웨어 API 호출에 따라 라우팅 프로세서 및 라인카드 프로세서의 해당 테이블 엔트리를 각각 추가/삭제/변경하는 것을 특징으로 하는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법.When the routing processor receives the add / delete / change message of the routing entry, it calls the middleware API corresponding to each message and adds / deletes / changes the corresponding table entries of the routing processor and the line card processor respectively according to the middleware API call. Distributed forwarding table processing method in a high-speed router system, characterized in that the. 제 1항에 있어서, 상기 제2 단계는,The method of claim 1, wherein the second step, 상기 라인카드 프로세서의 초기화 요구 메시지가 호출되면 상기 라우팅 프로세서는 포워딩 테이블 및 인접 테이블로부터 각각 다수개의 포워딩 엔트리 및 인접 엔트리로 패킷을 구성하여 상기 라인카드 프로세서로 각각 전송하는 단계; 및When the initialization request message of the line card processor is called, the routing processor constructs a packet of a plurality of forwarding entries and neighbor entries from a forwarding table and a neighbor table, respectively and transmits the packet to the line card processor; And 상기 라인카드 프로세서에서 상기 전송된 패킷을 수신하여 포워딩 테이블 및 인접 테이블을 생성하여 상기 각 테이블을 구성하는 단계를 포함하는 것을 특징으로 하는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법.And generating the forwarding table and the adjacent table by receiving the transmitted packet in the line card processor to configure the respective forwarding table. 제 1항에 있어서,The method of claim 1, 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블의 테이블 엔트리 추가/삭제/변경과 연동하여 상기 라인카드 프로세서의 포워딩 테이블 및 인접 테이블의 테이블 엔트리가 추가/삭제/변경되어 상호 일치성을 제공하는 것을 특징으로 하는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법.The table entry of the line card processor and the table entry of the neighboring table are added / deleted / modified in association with the forwarding table of the routing processor and the table entry of the neighboring table to provide mutual correspondence. Distributed forwarding table processing method in high speed router system. 제 1항 내지 제 5항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 5, 미들웨어를 이용하여 포워딩 테이블 및 인접 테이블을 구성하고 포워딩 정보를 추가/삭제/변경하는 것을 특징으로 하는 고속 라우터 시스템에서 분산 포워딩 테이블 처리방법.A method of processing distributed forwarding tables in a high speed router system, comprising configuring forwarding tables and neighboring tables using middleware and adding / deleting / modifying forwarding information. 라우터 시스템에,On the router system, 라우팅 프로세서 내에 포워딩 테이블 및 인접 테이블을 설정하고 초기화하는 제1 기능;A first function of establishing and initializing a forwarding table and an adjacent table in the routing processor; 라인카드 프로세서의 초기화 요구 메시지를 수신하여 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블과 동일한 포워딩 테이블 및 인접 테이블을 상기 해당 라인카드 프로세서에 생성하는 제2 기능;A second function of receiving an initialization request message of a line card processor and generating a forwarding table and a neighbor table identical to the forwarding table and the neighbor table of the routing processor in the corresponding line card processor; 상기 라우팅 프로세서가 라우팅 엔트리의 추가/삭제/변경 메시지를 수신하면 상기 라우팅 프로세서의 포워딩 테이블 및 인접 테이블에 포워딩 엔트리 및 인접 엔트리를 각각 추가/삭제/변경한 후 라인카드 프로세서로 상기 엔트리 추가/삭제/변경 메시지를 전송하는 제3 기능; 및When the routing processor receives the addition / delete / change message of the routing entry, the forwarding entry and the neighbor entry are added / deleted / changed to the forwarding table and the neighbor table of the routing processor, respectively, and then the entry / deletion / A third function of sending a change message; And 상기 라인카드 프로세서에서 상기 메시지를 수신하고 상기 메시지에 대응하는 포워딩 엔트리 및 인접 엔트리를 상기 제2 기능에서 생성된 포워딩 테이블 및 인접 테이블에 추가/삭제/변경하는 제4 기능;A fourth function of receiving the message at the line card processor and adding / deleting / changing a forwarding entry and a neighbor entry corresponding to the message to the forwarding table and the neighbor table generated in the second function; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR10-2002-0022052A 2002-04-22 2002-04-22 A Processing Method of the Distributed Forwarding Table in the High Speed Router KR100423391B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0022052A KR100423391B1 (en) 2002-04-22 2002-04-22 A Processing Method of the Distributed Forwarding Table in the High Speed Router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0022052A KR100423391B1 (en) 2002-04-22 2002-04-22 A Processing Method of the Distributed Forwarding Table in the High Speed Router

Publications (2)

Publication Number Publication Date
KR20030083864A KR20030083864A (en) 2003-11-01
KR100423391B1 true KR100423391B1 (en) 2004-03-18

Family

ID=32380024

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0022052A KR100423391B1 (en) 2002-04-22 2002-04-22 A Processing Method of the Distributed Forwarding Table in the High Speed Router

Country Status (1)

Country Link
KR (1) KR100423391B1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100617720B1 (en) * 2002-11-30 2006-08-28 삼성전자주식회사 Dynamic management method for forwarding information in distributed router architecture
KR100591107B1 (en) * 2004-02-02 2006-06-19 삼성전자주식회사 apparatus and method of routing processing in distributed router
KR100703306B1 (en) * 2005-03-07 2007-04-03 삼성전자주식회사 Apparatus and method for encoding and decoding in mobile communication system
KR100715678B1 (en) * 2005-12-05 2007-05-09 한국전자통신연구원 Router system in a distributed forwarding structure and method for controlling forwarding of the same
KR100779101B1 (en) * 2005-12-07 2007-11-27 한국전자통신연구원 Method for managing router advertisement in dispersed router and apparatus thereof
KR100792600B1 (en) * 2006-12-08 2008-01-09 한국전자통신연구원 Hardware binding cache apparatus for tunneling mobile node packet in the large scale home agent router and its method
CN107368373A (en) * 2017-07-19 2017-11-21 上海航天电子通讯设备研究所 A kind of method of the software bus data communication management based on static programming
CN114844832A (en) * 2022-03-22 2022-08-02 阿里云计算有限公司 Hardware forwarding table item configuration method, equipment, medium and product

Also Published As

Publication number Publication date
KR20030083864A (en) 2003-11-01

Similar Documents

Publication Publication Date Title
WO2019223447A1 (en) Routing generation method and device
EP3225014B1 (en) Source ip address transparency systems and methods
US7526569B2 (en) Router and address identification information management server
CN103118148B (en) A kind of ARP buffering updating method and equipment
US20090063706A1 (en) Combined Layer 2 Virtual MAC Address with Layer 3 IP Address Routing
US7254620B2 (en) Storage system
CN107070691A (en) Docker containers across host communication method and system
US8984114B2 (en) Dynamic session migration between network security gateways
EP4096172A1 (en) Method for generating forwarding entry, method for sending message, network device, and system
US7532620B2 (en) Routing table synchronization method, network apparatus, and routing table synchronization program
CN110572439B (en) Cloud monitoring method based on metadata service and virtual forwarding network bridge
CN113872845B (en) Method for establishing VXLAN tunnel and related equipment
US20060209830A1 (en) Packet processing system including control device and packet forwarding device
US20080205376A1 (en) Redundant router having load sharing functionality
CN111711705B (en) Method and device for realizing network connection based on bidirectional NAT (network Address translation) by proxy node
KR100423391B1 (en) A Processing Method of the Distributed Forwarding Table in the High Speed Router
CN115379010A (en) Container network construction method, device, equipment and storage medium
CN113839862B (en) Method, system, terminal and storage medium for synchronizing ARP information between MCLAG neighbors
EP4184873A1 (en) Communication method, cp device, and nat device
JPH1065735A (en) Address resolving device
WO2009146615A1 (en) A processing method, a system and a processor for network address translation service
CN109951388B (en) Routing uninterrupted method and main control board
KR100431206B1 (en) Table management methode for distributed forwarding in high speed router
CN115118478A (en) Data transmission method, system, equipment and storage medium based on gatekeeper
CN112953858A (en) Message transmission method in virtual network, electronic device and storage medium

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: 20090303

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee