KR101051713B1 - Apparatus for duplexing lan ports and method for operating the same - Google Patents

Apparatus for duplexing lan ports and method for operating the same Download PDF

Info

Publication number
KR101051713B1
KR101051713B1 KR1020100120166A KR20100120166A KR101051713B1 KR 101051713 B1 KR101051713 B1 KR 101051713B1 KR 1020100120166 A KR1020100120166 A KR 1020100120166A KR 20100120166 A KR20100120166 A KR 20100120166A KR 101051713 B1 KR101051713 B1 KR 101051713B1
Authority
KR
South Korea
Prior art keywords
lan
port
switch module
ping signal
lan port
Prior art date
Application number
KR1020100120166A
Other languages
Korean (ko)
Inventor
임청
Original Assignee
삼성탈레스 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성탈레스 주식회사 filed Critical 삼성탈레스 주식회사
Priority to KR1020100120166A priority Critical patent/KR101051713B1/en
Application granted granted Critical
Publication of KR101051713B1 publication Critical patent/KR101051713B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/103Active monitoring, e.g. heartbeat, ping or trace-route with adaptive polling, i.e. dynamically adapting the polling rate

Abstract

PURPOSE: A LAN port dualization apparatus and a duplication method thereof are provided to change to other LAN port linkage route when an error affects in a LAN port, the error is immediately detected. CONSTITUTION: When an error is detected in a first LAN port during communication by using the first LAN port, a LAN board(200) varies a communications route to a second LAN port(S508). The LAN board transmits the ping signal including a MAC address of the second LAN port through a changed second LAN port to the external of a network switch module(300) that is equipped with a MAC table. A network switch module renews a transmission/reception destination to the MAC address of the second LAN port(S512). A second port that transmited the ping signal performs network communication with the network switch module that received the ping signal(S514).

Description

랜포트 이중화 장치 및 이중화 방법{Apparatus for duplexing lan ports and method for operating the same}LANport duplexing device and duplication method {Apparatus for duplexing lan ports and method for operating the same}

본 발명은 네트워크 시스템의 랜(LAN; local area network) 환경의 안정성을 높이기 위한 방법에 관한 것으로서, 특히 다중으로 랜을 연결하고, 적절히 절체하여 실시간 운영체제에서도 서비스의 끊김 없이 안정성 있게 랜 환경을 구현할 수 있도록 하는 랜포트 이중화 장치 및 이중화 방법에 관한 것이다.The present invention relates to a method for enhancing the stability of a local area network (LAN) environment of a network system. In particular, the present invention relates to a multi-LAN connection, and is appropriately switched to implement a LAN environment stably without interruption of services even in a real-time operating system. The present invention relates to a LAN duplication apparatus and a duplication method.

종래에는 실시간 운영체제 환경(예컨대, VxWorks OS 시스템)에서 랜(LAN)을 통한 시스템의 안정성을 위하여 두 개의 라인을 통해 랜(LAN)을 연결함으로써, 한 개의 랜이 장애발생으로 인해 서비스가 불가능할 때 나머지 하나의 랜을 이용하여 지속적으로 서비스를 받을 수 있도록 하였다. 이를 위하여 도 1에 도시한 바와 같이, 물리적으로 구분되는 2개의 랜 보드(110,120;LAN Board)로 이루어지는 랜포트 이중화 모듈(100)을 이용하여, 랜의 안정화를 도모하였다.Conventionally, LAN is connected through two lines in a real-time operating system environment (eg, VxWorks OS system) for stability of a system through a LAN, so that when one LAN is out of service due to a failure, One LAN was used to continuously receive the service. To this end, as illustrated in FIG. 1, LAN stabilization is achieved using a LAN duplication module 100 including two LAN boards 110 and 120 physically separated.

그러나, 도 1과 같은 종래의 2개의 물리적인 랜 보드(110,120)로 된 랜포트 이중화 모듈(100)을 이용하여 랜의 안정화를 도모할 경우 다음과 같은 문제가 있다.However, when stabilizing a LAN using the LAN duplication module 100 including two conventional LAN boards 110 and 120 as shown in FIG. 1, there are the following problems.

첫째, 물리적인 랜 보드 2개로 된 랜포트 이중화 모듈로 구현할 경우, 구매 비용이 증가하는 문제가 있다. 즉, 임베디드 환경의 H/W 구현된 랜 포트 이중화 모듈의 경우 구입 비용이 상당하여 개발 비용의 상당 부분을 차지하는 문제가 있다. 또한, 제품 단종으로 인해 추후 대체품 교체로 인한 시스템 H/W 및 S/W적인 변경 비용이 발생하게 된다.First, when implemented as a LAN duplication module consisting of two physical LAN boards, there is a problem that the purchase cost increases. In other words, the LAN port duplication module implemented in the embedded environment has a problem in that the purchase cost is considerable and takes up a large part of the development cost. In addition, product discontinuance incurs system H / W and S / W change costs due to replacement replacement.

둘째, 하나의 랜 보드가 에러가 생겨 다른 랜 보드로 랜을 연결할 경우, 일일이 물리적인 사람의 작업에 의해 랜선을 다른 랜 보드에 연결해야 하는 불편이 있다.Second, when one LAN board has an error and connects the LAN to another LAN board, it is inconvenient to connect the LAN line to another LAN board by a physical person.

세째, 하나의 랜 보드에서 에러가 생겨 다른 랜 보드로 랜을 연결하는 절체시간이 소요되기 때문에, 데이터의 연속적인 수신이 불량한 문제가 있다.Third, since an error occurs in one LAN board and transfer time is required to connect the LAN to another LAN board, there is a problem in that continuous reception of data is poor.

네째, 에러가 생겨 다른 랜 보드로 랜선을 연결한 경우, 새롭게 연결된 랜 보드가 정상적으로 동작되는지를 확인할 수 없어 데이터 송수신에 있어 문제가 발생할 여지가 있다.Fourth, when the LAN line is connected to another LAN board due to an error, it is not possible to check whether the newly connected LAN board is normally operated, which may cause a problem in data transmission and reception.

본 발명의 기술적 과제는 2개의 랜보드 모듈없이 단일의 랜보드 환경에서 랜포트 이중화를 구현하는데 있다. 또한, 랜포트 에러 발생 시에 이를 즉시 검출하여 다른 랜포트로 연결 경로를 변경하는데 있다. 또한, 랜포트 통신 경로 변경 후에 즉각적으로 변경된 랜포트를 통하여 통신이 이루어지도록 하는데 있다.The technical problem of the present invention is to implement LAN port duplication in a single LAN board environment without two LAN board modules. In addition, when a LAN error occurs, it is immediately detected to change the connection path to another LAN port. In addition, after the change of the LAN port communication path is to communicate through the changed LAN port immediately.

본 발명의 실시 형태는 랜보드에 구비된 제1,제2랜포트의 MAC 주소를 동일하게 할당하는 과정과, 상기 제1랜포트를 이용한 통신 도중에 제1랜포트의 에러 검출될 시에, 상기 제2랜포트로 통신 경로를 변경하는 과정과, 변경된 상기 제2랜포트를 통하여 핑신호를 외부의 네트워크 스위치 모듈로 전송하는 과정과, 상기 핑신호를 전송한 제2랜포트와 상기 핑신호를 수신한 네트워크 스위치 모듈간에 네트워크 통신이 이루어지는 과정을 포함한다.According to an embodiment of the present invention, when the MAC addresses of the first and second LANs provided in the LAN board are identically allocated, and an error of the first LAN is detected during communication using the first LAN, Changing a communication path to a second LAN, transmitting a ping signal to an external network switch module through the changed second LAN, and transmitting the ping signal to the second LAN and the ping signal. Network communication is performed between the received network switch modules.

상기 에러 검출은, 랜포트의 상태를 기록한 상태 레지스터 값을 판독하여 이루어지거나, 또는, 상기 상태 레지스터 값을 주기적으로 판독하는 폴링 방식, 또는, 상기 상태 레지스터 값의 변동을 인터럽팅 통보받는 인터럽트 방식으로 이루어진다.The error detection may be performed by reading a status register value that records the status of the LAN port, or by a polling method that periodically reads the status register value, or an interrupt method that is notified of an interruption of the change of the status register value. Is done.

상기 네트워크 스위치모듈은 MAC 테이블을 구비하며, 상기 핑신호를 전송한 제2랜포트의 MAC 주소를 상기 MAC 테이블에 기록하며, 송수신 목적지를 종래의 제1랜포트에서 핑신호 수신된 제2랜포트로 MAC 테이블을 갱신하는 랜포트 이중화 방법.The network switch module includes a MAC table, records the MAC address of the second LAN that transmitted the ping signal in the MAC table, and transmits / receives the destination to the second LAN. LAN duplication method of updating the MAC table.

본 발명의 실시예인 랜포트 이중화 장치는, 외부의 네트워크 스위치 모듈의 각 포트와 각각 연결된 제1,제2랜포트와, 상기 제1랜포트와 연결되어 네트워트 프로토콜을 처리하는 프로토콜 처리부와, 상기 제1,제2랜포트의 에러 검출 여부에 따라서, 상기 랜포트와 프로토콜 처리부간의 연결 경로를 변경하는 먹스 인터페이스부를 포함한다.LAN port redundancy apparatus according to an embodiment of the present invention, the first and second ports respectively connected to each port of the external network switch module, a protocol processor connected to the first port to process a network protocol, and the first And a mux interface unit for changing a connection path between the LAN port and the protocol processing unit according to whether an error is detected in the first and second LAN ports.

본 발명의 실시예에 따르면 2개의 랜보드 모듈없이 단일의 랜보드 환경에서 랜포트 이중화를 구현함으로써, 개발 비용을 절감할 수 있다. 또한, 별도의 H/W 추가 없이 단일 보드 내에서 랜포트 이중화를 손쉽게 구현할 수 있다. 또한, 랜포트 경로 변경 후에 통신 단절을 최소화함으로써, 통신 품질을 향상시킬 수 있다.According to an embodiment of the present invention, by implementing LAN port duplication in a single LAN board environment without two LAN board modules, development costs can be reduced. In addition, LAN redundancy can be easily implemented within a single board without adding additional hardware. In addition, the communication quality can be improved by minimizing the communication disconnection after the LAN path change.

도 1은 물리적으로 구분되는 2개의 랜 보드로 이루어지는 랜포트 이중화 모듈을 도시한 사시도이다.
도 2는 본 발명의 실시 예에 따른 멀티 랜포트를 가진 랜보드 및 네트워크 스위치모듈을 도시한 그림이다.
도 3은 정상 모드로 동작 시에 프로토콜 처리부가 제1랜포트에 연결되어 있는 모습을 도시한 그림이다.
도 4는 제1랜포트 에러 검출 시에 프로토콜 처리부가 제2랜포트에 연결되어 있는 모습을 도시한 그림이다.
도 5는 본 발명의 실시예에 따른 랜포트 이중화 과정을 도시한 흐름도이다.
1 is a perspective view illustrating a LAN port duplication module consisting of two LAN boards physically separated.
2 is a view showing a LAN board and a network switch module having a multi-lanport according to an embodiment of the present invention.
3 is a diagram illustrating a protocol processor connected to the first LAN when operating in the normal mode.
4 is a diagram illustrating a state in which a protocol processing unit is connected to a second LAN when the first LAN error is detected.
5 is a flowchart illustrating a LAN duplication process according to an exemplary embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 실시 예를 더욱 상세히 설명하기로 한다. 그러나 본 발명은 이하에서 개시되는 실시 예에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시 예들은 본 발명의 개시가 완전하도록 하며, 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이다. 도면상에서 동일 부호는 동일한 요소를 지칭한다. Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention in more detail. However, the present invention is not limited to the embodiments disclosed below, but will be implemented in various forms, and only the embodiments are intended to complete the disclosure of the present invention and to those skilled in the art to fully understand the scope of the invention. It is provided to inform you. Like numbers refer to like elements in the figures.

도 2는 본 발명의 실시 예에 따른 멀티 랜포트를 가진 랜보드 및 네트워크 스위치모듈을 도시한 그림이다.2 is a view showing a LAN board and a network switch module having a multi-lanport according to an embodiment of the present invention.

랜보드(200)에는 본체와 연결되는 커넥터(290)가 구비되어, 상기 커넥터(290)를 통하여 본체와의 데이터 교환이 이루어진다. 또한, 랜보드(200)에는 랜 통신을 처리하는 랜 프로세스 칩 및 드라이버 칩이 실장되어, 상기 칩의 동작에 의해 랜포트의 동작 제어를 수행하여 외부에 있는 네트워크 스위치모듈(300)과 네트워크 통신을 수행한다.The LAN board 200 is provided with a connector 290 connected to the main body, and the data exchange with the main body through the connector 290 is made. In addition, the LAN board 200 is equipped with a LAN process chip and a driver chip for processing the LAN communication, and performs the operation control of the LAN port by the operation of the chip to perform network communication with the external network switch module 300 To perform.

랜보드(200)는 두 개 이상의 랜포트(210,220)를 구비하고 있어 이러한 멀티 랜포트를 이용하여 랜의 송수신 이중화를 수행할 수 있다. 물론, 도 2의 그림에서는 설명의 이해를 돕기 위하여 2개의 랜포트(210,220) 및 이와 연결된 스위치모듈 포트(310,320)만을 도시하였으나, 그 이상의 갯수의 랜포트가 구비되어 본 발명의 실시예가 적용될 수 있음은 자명할 것이다.LAN board 200 is provided with two or more LAN ports (210, 220) can perform the transmission and reception duplex of the LAN by using the multi-lanport. Of course, although only two LAN ports 210 and 220 and the switch module ports 310 and 320 connected thereto are illustrated in the figure of FIG. 2, the embodiments of the present invention may be applied to a larger number of LAN ports. Will be self explanatory.

각 랜포트(210,220)는 동일한 IP와 MAC 주소가 할당되어 있다. 각 랜포트(210,220)는 랜선을 통해 연결되는 외부의 네트워크 스위치모듈(예컨대, 공유기, 허브 등)에 있는 스위치모듈 포트(310,320)에 각각 연결된다. 스위치모듈 포트(310,320) 각각은 랜보드의 각 랜포트(210,220)에 랜선을 통해 연결되며, 하나의 스위치모듈 포트(예컨대,310) 및 이에 연결되어 있는 랜보드의 랜포트(210)를 통하여 네트워크 통신이 이루어진다. 즉, 랜보드의 각 랜포트가 동일한 MAC 주소를 가지고 있지만, 랜선을 통해 연결되는 외부의 네트워크 스위치모듈은 하나의 스위치모듈 포트를 통하여 랜보드의 랜포트와 네트워크 통신을 수행한다.Each LAN port 210 and 220 is assigned the same IP and MAC address. Each LAN port 210, 220 is connected to the switch module ports 310, 320 in the external network switch module (for example, router, hub, etc.) connected via a LAN line. Each of the switch module ports 310 and 320 is connected to each LAN port 210 and 220 of the LAN board through a LAN line, and has a network through one switch module port (eg, 310) and the LAN port 210 of the LAN board connected thereto. Communication takes place. That is, although each LAN port of the LAN board has the same MAC address, the external network switch module connected through the LAN line performs network communication with the LAN port of the LAN board through one switch module port.

본 발명의 실시예는 랜보드(200)에 구비된 다수의 랜포트 중에서 하나의 랜포트에서 에러가 발생될 시에, 이를 검출하여 송수신 랜포트를 변경하여 변경된 랜포트를 통하여 데이터 끊김없이 송수신이 이루어지도록 하는 것이다. 예를 들어, 제1랜포트(210)에 정전압(ESD), 물리적인 쇼트 등으로 인하여 제1랜포트(210)가 고장났을 경우, 이를 랜 프로세스 칩이 감지하여 제1랜포트(210)와의 연결을 끊고 제2랜포트(220)를 활성화시켜 연결경로를 변경함으로써, 네트워크 통신 데이터를 끊어짐 없이 송수신할 수 있도록 한다.
According to the embodiment of the present invention, when an error occurs in one LAN port among a plurality of LAN ports provided in the LAN board 200, the transmission and reception is performed without changing data by changing the transmission and reception LAN port. To make it happen. For example, when the first LAN 210 has failed due to a constant voltage (ESD), a physical short, etc. in the first LAN 210, the LAN process chip detects this and exchanges the first LAN with the first LAN 210. By disconnecting and activating the second LAN 220 to change the connection path, network communication data can be transmitted and received without interruption.

도 3 및 도 4는 본 발명의 실시예에 따른 랜포트 이중화 장치의 블록도로서, 도 3은 정상 모드로 동작 시에 프로토콜 처리부가 제1랜포트에 연결되어 있는 모습을 도시한 그림이고, 도 4는 제1랜포트 에러 검출 시에 프로토콜 처리부가 제2랜포트에 연결되어 있는 모습을 도시한 그림이다.3 and 4 are block diagrams of a LAN duplication apparatus according to an exemplary embodiment of the present invention. FIG. 3 is a diagram illustrating a protocol processor connected to a first LAN when operating in a normal mode. 4 is a diagram showing a state in which the protocol processing unit is connected to the second LAN when the first LAN error is detected.

참고로, 도 3 및 도 4에 도시된 프로토콜 처리부(260), MUX 인터페이스부(250), 랜포트 드라이버(230,240), 랜포트(210,220)는 도 1의 랜보드 상의 프로세스 칩, 드라이버 칩 등에 구현된 기능 블록으로서, H/W 또는 S/W 상으로 구현되는 기능 블록을 말한다.For reference, the protocol processing unit 260, the MUX interface unit 250, the LAN port drivers 230 and 240, and the LAN ports 210 and 220 illustrated in FIGS. 3 and 4 may be implemented in a process chip, a driver chip, or the like on the LAN board of FIG. 1. As a functional block, it refers to a functional block implemented on H / W or S / W.

랜포트(210,220)는 랜 네트워크 망에 연결되는 매체로서, 다수의 랜포트가 구비되어 각각의 랜포트는 외부의 네트워크 스위치모듈(300;예컨대, 공유기, 허브 등)에 있는 각각의 스위치모듈 포트(310,320)에 연결된다.The LAN ports 210 and 220 are media connected to a LAN network network, and a plurality of LAN ports are provided so that each LAN port is provided with a respective switch module port (for example, a router, a hub, etc.) in an external network switch module 300 (eg, a router, a hub, etc.). 310,320).

랜포트 드라이버(230,240)는 각 랜포트마다 구비되어, 연결된 해당 랜포트의 드라이버를 구성하고, 이를 통해 랜포트에 대한 드라이버 구동을 수행한다. 또한 랜포트 드라이버(230,240)는 각각 담당하는 랜포트의 상태(status)를 주기적으로 상태 레지스터(status register)에 기록한다. 상기 상태 레지스터는, 랜포트의 동작에러 상태, 통신 상태 등을 기록하고 있다.The LAN port drivers 230 and 240 are provided for each LAN port, configure a driver of the corresponding LAN port, and perform driver driving for the LAN port. In addition, the LAN driver 230 and 240 periodically records the status of the LAN port in charge in a status register. The status register records an operation error state, a communication state, and the like of the LAN port.

프로토콜 처리부(260)는, 랜 포트(210,220)를 통해 들어오는 패킷 데이터에 대해 프로토콜 처리하는 기능을 수행한다.The protocol processor 260 performs protocol processing on packet data coming through the LAN ports 210 and 220.

먹스 인터페이스부(250;Mux Interface module)는 랜포트(210,220)와 프로토콜 처리부(260)간의 연결 경로를 먹싱(muxing)하여 선택 연결하는 기능을 수행한다. 평소에는 도 3과 같이 제1랜포트 드라이버(230)와 프토토콜 처리부(260)를 연결하고 있다가, 제1랜포트 드라이버(230)에 연결되어 있는 제1랜포트(210)의 에러가 검출될 시에, 도 4와 같이 제1랜포트 드라이버(230)와의 연결을 끊고 제2랜포트(220)에 연결된 제2랜포트 드라이버(240)와 프로토콜 처리부(260)를 연결하는 먹싱을 수행한다.The mux interface module 250 performs a function of muxing the connection path between the LAN ports 210 and 220 and the protocol processor 260 to selectively connect the mux interface module 250. Usually, as shown in FIG. 3, the first LAN driver 230 and the protocol processing unit 260 are connected, and an error of the first LAN 210 connected to the first LAN driver 230 is detected. In this case, as shown in FIG. 4, the first LAN driver 230 is disconnected and the second LAN driver 240 connected to the second LAN 220 is connected to the protocol processor 260. .

상술하면, 먹스 인터페이스부(250)는, 현재 연결되어 있는 제1랜포트(210)의 에러를 주기적으로 검출(polling)하여, 제1랜포트의 에러가 검출될 시에는 제1랜포트(210)와 관련된 제1랜포트 드라이버(230)와의 연결을 끊고 제2랜포트 드라이버(240)와 프로토콜 처리부(260)를 상호 연결한다. 먹스 인터페이스부(250)가 제2랜포트로 연결 경로 변경을 수행하고 난 후에는, 프로토콜 처리부(260)는 핑신호(ping signal)를 제2랜포트(220)를 통해서 네트워크 스위치모듈(300)에 전송한다. 상기 네트워크 스위치모듈(300)은, 상기 핑신호를 수신한 이후부터 상기 핑신호가 전송되어온 제2랜포트(210) 및 스위치모듈 제2포트(320)를 통하여 데이터를 송수신한다.
In detail, the MUX interface unit 250 periodically detects an error of the first LAN 210 that is currently connected, and when the error of the first LAN is detected, the first LAN 210 is detected. The first LAN driver 230 and the second LAN driver 240 and the protocol processor 260 are interconnected. After the MUX interface unit 250 changes the connection path to the second LAN, the protocol processor 260 transmits a ping signal through the second LAN 220 to the network switch module 300. To transmit. The network switch module 300 transmits and receives data through the second LAN port 210 and the switch module second port 320 to which the ping signal has been transmitted since receiving the ping signal.

이를 위하여 네트워크 스위치모듈(300)은 스위치모듈 포트별로 랜보드의 각 랜포트의 MAC이 할당되어 있으며 전송에 사용중인 스위치모듈 포트가 기록된 MAC 테이블이 [표 1]에 기술된다.To this end, the network switch module 300 is assigned a MAC of each LAN port of the LAN board for each switch module port, and the MAC table for recording the switch module port being used for transmission is described in [Table 1].

스위치모듈 포트Switch module port 연결되어 있는 랜포트의 MAC주소 MAC address of the connected LAN port 사용중 여부In use 스위칭모듈 제1포트Switching module first port 00. 03. A9. 85. 3C. 8E00. 03. A9. 85. 3C. 8E OO 스위치모듈 제2포트2nd switch module -- XX ...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...

상기 [표 1]에 기재된 바와 같이, 평소에는 네트워크 스위치 모듈은 랜보드의 제1랜포트(210)에 연결되어 있는 스위치모듈 제1포트(310)를 통하여 네트워크 통신을 하다가, 제1랜포트(210) 에러로 인하여 제2랜포트(220)를 거친 스위치모듈 제2포트(320)로부터 핑신호를 받게되면, 핑신호에 포함되어 있는 MAC 주소를 스위치모듈 제2포트에 [표 2]와 같이 MAC테이블에 기록한 후 사용중 여부 필드를 기존의 스위치모듈 제1포트(310)에서 스위치모듈 제2포트(320)으로 갱신한다. 그 후, 스위치모듈 제2포트(320)를 통하여 데이터를 랜보드의 제2랜포트(220)로 전송하게 된다.As shown in Table 1, normally, the network switch module performs network communication through the switch module first port 310 connected to the first LAN port 210 of the LAN board. 210) If a ping signal is received from the switch module second port 320 through the second LAN port 220 due to an error, the MAC address included in the ping signal is transmitted to the switch module second port as shown in [Table 2]. After recording in the MAC table, the field in use is updated from the existing switch module first port 310 to the switch module second port 320. Thereafter, the data is transmitted to the second LAN port 220 of the LAN board through the switch module second port 320.

포트port 랜포트의 MACLAN port MAC 사용중 여부In use 제1포트1st port 00. 03. A9. 85. 3C. 8E00. 03. A9. 85. 3C. 8E XX 제2포트2nd port 00. 03. A9. 85. 3C. 8E00. 03. A9. 85. 3C. 8E OO ...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...

이하에서는, 상기 과정들을 도 5의 흐름도와 함께 상술한다.
Hereinafter, the processes will be described in detail with the flowchart of FIG. 5.

도 5는 본 발명의 실시예에 따른 랜포트 이중화 과정을 도시한 흐름도이다.5 is a flowchart illustrating a LAN duplication process according to an exemplary embodiment of the present invention.

이하, 설명에서는 랜보드에 구비된 제1랜포트 및 제2포트를 예를 들어 설명하겠으나, 그 이상의 랜포트를 가진 경우에도 본 발명이 적용될 수 있음은 자명할 것이다.In the following description, the first and second ports provided on the LAN board will be described by way of example. However, it will be apparent that the present invention can be applied even when the LAN port has more than one.

우선, 랜보드(LAN Board)는 초기화 과정을 가진다(S502). 상기 초기화는 랜보드에 장착된 제1랜포트 및 제2랜포트의 MAC 주소를 동일한 MAC 주소로 설정하는 작업을 수행한다.First, the LAN board has an initialization process (S502). The initialization is performed to set MAC addresses of the first and second LANs mounted on the LAN board to the same MAC address.

상기 초기화 과정(S502)이 이루어지고 난 후, 랜보드의 제1랜포트와 네트워크 스위치모듈(공유기, 허브 등)은 서로 랜선을 통하여 네트워크 데이터를 주고받는다(S504).After the initialization process S502 is performed, the first LAN of the LAN board and the network switch module (router, hub, etc.) exchange network data with each other through a LAN line (S504).

랜보드의 먹스 인터페이스부는 현재 통신중인 제1랜포트에 이상이 있어 랜포트 에러가 검출되는지를 판단한다(S506). 상기 랜포트 에러 검출은, 랜포트의 상태(status)를 기록한 상태 레지스터(status register) 값을 보고 파악할 수 있다. 상기 상태 레지스터는 랜포트의 정상 동작 여부를 기록하고 있어, 이러한 상태 레지스터를 통하여 제1랜포트의 이상 여부를 파악할 수 있다.The mux interface unit of the LAN board determines whether a LAN error is detected due to an error in the first LAN currently being communicated (S506). The LAN error detection may be determined by looking at a status register value that records the status of the LAN port. The status register records whether the LAN port is normally operating, and thus, the status register can determine whether the first LAN is abnormal.

상기 랜포트 에러 검출은, 상기와 같이 랜보드의 먹스 인터페이스부가 주기적으로 드라이버의 상태 레지스터(status register)을 판독하는 폴링(polling) 방식으로 이루어질 수 있으며, 다른 실시예로서, 상태 레지스터의 에러 비트값이 에러로 기록될 때 자동적으로 에러 사실을 먹스 인터페이스부에 인터럽팅 통보하는 인터럽트 방식으로 이루어질 수 있다.The LAN error detection may be performed by a polling method in which a mux interface unit of the LAN board periodically reads a status register of a driver. In another embodiment, the error bit value of the status register is determined. When this error is recorded, it can be made in an interrupt manner that automatically notifies the mux interface unit of the fact of the error.

제1랜포트의 에러가 검출될 시(S506a)에는, 랜보드의 먹스 인터페이스부는 제1랜포트의 동작을 정지시키고, 프로세스 처리부의 연결 경로를 제2랜포트로 변경하는 경로 변경 작업을 수행한다(S508).When an error of the first LAN is detected (S506a), the MUX interface unit of the LAN board stops the operation of the first LAN and performs a path changing operation of changing the connection path of the process processor to the second LAN. (S508).

그 후, 랜보드의 프로세스 처리부는 핑신호를 발생시켜 제2랜포트를 통하여 네트워크 스위치모듈로 전송한다(S510). 상기 핑(ping) 신호는 테스트 신호로서 임의의 패킷에 송신되는 제2랜포트의 MAC주소를 포함하여 전송되는 테스트 패킷 신호이다.Thereafter, the process processor of the LAN board generates a ping signal and transmits the generated signal to the network switch module through the second LAN (S510). The ping signal is a test packet signal including a MAC address of a second LAN transmitted in an arbitrary packet as a test signal.

네트워크 스위치모듈은 제2랜포트에 연결된 스위치모듈 제2포트를 통하여 상기 핑 신호를 수신하여, MAC 테이블을 갱신한다(S512). 즉, 수신한 핑신호에 포함된 MAC 주소로서 제2랜포트의 MAC주소를 할당하고, 스위치모듈 제2포트를 통해 네트워크 통신할 것임을 갱신 설정한다. 그 후, 네트워크 스위치모듈은, 스위치모듈 제2포트를 통하여 랜보드의 제2랜포트와 데이터 송수신한다(S514).The network switch module receives the ping signal through the switch module second port connected to the second LAN, and updates the MAC table (S512). That is, the MAC address of the second LAN is assigned as the MAC address included in the received ping signal, and the network module is updated through the switch module second port. Thereafter, the network switch module transmits and receives data to and from the second LAN port of the LAN board through the switch module second port (S514).

결국, 초기화 과정에서 제1랜포트와 제2랜포트에 동일한 MAC주소를 할당하였기 때문에, 제2랜포트를 통해 전송되는 핑신호에는 제1랜포트와 동일한 MAC 주소를 가지게 된다. 따라서 제1랜포트에서 제2랜포트로 연결경로 변경될 때 동일한 MAC 주소를 사용하기 때문에 MAC 할당 및 교환에 별도의 소요 시간을 필요로 하지 않아, 연속적인 데이터 전송이 가능하게 된다.As a result, since the same MAC address is allocated to the first and second LANs during the initialization process, the ping signal transmitted through the second LAN has the same MAC address as the first LAN. Therefore, since the same MAC address is used when the connection path is changed from the first LAN to the second LAN, a separate time is not required for MAC allocation and exchange, thereby enabling continuous data transmission.

본 발명을 첨부 도면과 전술된 바람직한 실시예를 참조하여 설명하였으나, 본 발명은 그에 한정되지 않으며, 후술되는 특허청구범위에 의해 한정된다. 따라서, 본 기술분야의 통상의 지식을 가진 자라면 후술되는 특허청구범위의 기술적 사상에서 벗어나지 않는 범위 내에서 본 발명을 다양하게 변형 및 수정할 수 있다.Although the invention has been described with reference to the accompanying drawings and the preferred embodiments described above, the invention is not limited thereto, but is defined by the claims that follow. Accordingly, one of ordinary skill in the art may variously modify and modify the present invention without departing from the spirit of the following claims.

200: 랜보드 210: 제1랜포트
220: 제2랜포트 230: 제1랜포트 드라이버
240: 제2랜포트 드라이버 250: 먹스 인터페이스부
260: 프로토콜 처리부 300: 네트워크 스위치모듈
310: 스위치모듈 제1포트 320: 스위치모듈 제2포트
200: LAN board 210: First LAN
220: second LAN 230: first LAN driver
240: second LAN driver 250: mux interface unit
260: protocol processing unit 300: network switch module
310: switch module first port 320: switch module second port

Claims (8)

랜보드에 구비된 제1,제2랜포트의 MAC 주소를 동일하게 할당하는 과정;
상기 제1랜포트를 이용한 통신 도중에 제1랜포트의 에러 검출될 시에, 상기 제2랜포트로 통신 경로를 변경하는 과정;
변경된 상기 제2랜포트를 통하여, 상기 제2랜포트의 MAC 주소를 포함한 핑신호를 MAC 테이블을 구비한 외부의 네트워크 스위치 모듈로 전송하는 과정; 및
상기 네트워크 스위치 모듈은 송수신 목적지를 상기 제2랜포트의 MAC 주소로 갱신하는 과정; 및
상기 핑신호를 전송한 제2랜포트와 상기 핑신호를 수신한 네트워크 스위치 모듈간에 네트워크 통신이 이루어지는 과정
을 포함하는 랜포트 이중화 방법.
Allocating MAC addresses of the first and second LANs provided in the LAN board in the same manner;
Changing a communication path to the second LAN when an error of the first LAN is detected during the communication using the first LAN;
Transmitting a ping signal including a MAC address of the second LAN to an external network switch module having a MAC table through the changed second LAN; And
Updating, by the network switch module, a transmission / reception destination to a MAC address of the second LAN; And
Network communication is performed between the second LAN port that transmits the ping signal and the network switch module that receives the ping signal.
LAN port duplication method comprising a.
청구항 1에 있어서, 상기 에러 검출은, 랜포트의 상태를 기록한 상태 레지스터 값을 판독하여 이루어지는 랜포트 이중화 방법.The LAN port redundancy method according to claim 1, wherein the error detection is performed by reading a state register value in which the state of the LAN is recorded. 청구항 2에 있어서, 상기 에러 검출은, 상기 상태 레지스터 값을 주기적으로 판독하는 폴링 방식, 또는, 상기 상태 레지스터 값의 변동을 인터럽팅 통보받는 인터럽트 방식으로 이루어지는 랜포트 이중화 방법.The method of claim 2, wherein the error detection is performed by a polling method for periodically reading the status register value or an interrupt method that is notified of a change in the status register value. 삭제delete 청구항 1에 있어서, 상기 핑신호를 전송한 제2랜포트의 MAC 주소를 상기 MAC 테이블에 기록하며, 송수신 목적지를 종래의 제1랜포트에서 핑신호 수신된 제2랜포트로 MAC 테이블을 갱신하는 랜포트 이중화 방법.The method according to claim 1, wherein the MAC address of the second LAN to which the ping signal is transmitted is recorded in the MAC table, and the transmission / reception destination is updated to the MAC table to the second LAN that received the ping signal from the conventional first LAN. LANport redundancy method. 삭제delete 삭제delete 삭제delete
KR1020100120166A 2010-11-30 2010-11-30 Apparatus for duplexing lan ports and method for operating the same KR101051713B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100120166A KR101051713B1 (en) 2010-11-30 2010-11-30 Apparatus for duplexing lan ports and method for operating the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100120166A KR101051713B1 (en) 2010-11-30 2010-11-30 Apparatus for duplexing lan ports and method for operating the same

Publications (1)

Publication Number Publication Date
KR101051713B1 true KR101051713B1 (en) 2011-07-26

Family

ID=44924045

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100120166A KR101051713B1 (en) 2010-11-30 2010-11-30 Apparatus for duplexing lan ports and method for operating the same

Country Status (1)

Country Link
KR (1) KR101051713B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017119887A1 (en) * 2016-01-07 2017-07-13 Hewlett-Packard Development Company, L.P. Use of a network address by a network accessory

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000056007A (en) * 1999-02-12 2000-09-15 윤종용 Apparatus and method for duplicating main control processor of pico base transceiver station
KR20030013803A (en) * 2001-08-09 2003-02-15 엘지전자 주식회사 Plural LAN structure and switching method in network system
KR20030022598A (en) * 2001-09-11 2003-03-17 엘지전자 주식회사 Ethernet connection apparatus and method using hot standby double process board and one repeater/hub
JP2006333077A (en) 2005-05-26 2006-12-07 Nippon Telegr & Teleph Corp <Ntt> Line redundancy method and relaying device to be used therein

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000056007A (en) * 1999-02-12 2000-09-15 윤종용 Apparatus and method for duplicating main control processor of pico base transceiver station
KR20030013803A (en) * 2001-08-09 2003-02-15 엘지전자 주식회사 Plural LAN structure and switching method in network system
KR20030022598A (en) * 2001-09-11 2003-03-17 엘지전자 주식회사 Ethernet connection apparatus and method using hot standby double process board and one repeater/hub
JP2006333077A (en) 2005-05-26 2006-12-07 Nippon Telegr & Teleph Corp <Ntt> Line redundancy method and relaying device to be used therein

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017119887A1 (en) * 2016-01-07 2017-07-13 Hewlett-Packard Development Company, L.P. Use of a network address by a network accessory
US10862861B2 (en) 2016-01-07 2020-12-08 Hewlett-Packard Development Company, L.P. Use of a network address by a network accessory
US11218441B2 (en) 2016-01-07 2022-01-04 Hewlett-Packard Development Company, L.P. Use of a network address by a network accessory

Similar Documents

Publication Publication Date Title
US8134922B2 (en) Reducing flooding in a bridged network
CN102088411B (en) Integrated switch
US11582141B2 (en) Traffic forwarding method and traffic forwarding apparatus
EP2361467B1 (en) Redundant intermediary switch solution for detecting and managing fibre channel over ethernet (fcoe) switch failures
CA2564057C (en) Method of switching between network connection devices using redundancy protocol and pseudo redundant configuration setting means and network system
US20170346733A9 (en) Triple-tier anycast addressing
US10594588B2 (en) Built in alternate links within a switch
US10587535B2 (en) Adding a network port to a network interface card via NC-SI embedded CPU
KR102569484B1 (en) Systems and methods for supporting inter-chassis manageability of nvme over fabrics based systems
US7706259B2 (en) Method for implementing redundant structure of ATCA (advanced telecom computing architecture) system via base interface and the ATCA system for use in the same
US10331598B2 (en) Adding a network port to a network interface card
KR20060042394A (en) Subscriber unit redundant system and subscriber unit redundant method
KR101051713B1 (en) Apparatus for duplexing lan ports and method for operating the same
JP3908596B2 (en) Call server and its port switching method
US7864786B2 (en) Repeater apparatus for supporting a plurality of protocols, and a method for controlling protocol conversion in the repeater apparatus
US20080037419A1 (en) System for improving igp convergence in an aps environment by using multi-hop adjacency
US6859459B1 (en) High-speed/high-reliability ether transmission system and I/F apparatus
US10735310B2 (en) Controller, method for adjusting flow rule, and network communication system
US9438744B2 (en) Method and data transmission device for data transmission within an xDSL data transmission system connecting at least two ethernet networks via xDSL links
US8553530B1 (en) Operating state control in redundancy protection systems
JP2002026956A (en) Automatic path selection system and its method
JP3709401B2 (en) Data relay apparatus and data relay method
KR100521136B1 (en) Duplication apparatus and method of an ethernet switch using relay port
JP2008288937A (en) Switching hub device
KR20030096692A (en) Apparatus for controlling link error in subnet and method thereof

Legal Events

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

Payment date: 20140630

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150629

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160629

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20170628

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190701

Year of fee payment: 9