KR19990058819A - Router and memory management method of full-duplex architecture using flash memory - Google Patents

Router and memory management method of full-duplex architecture using flash memory Download PDF

Info

Publication number
KR19990058819A
KR19990058819A KR1019970078993A KR19970078993A KR19990058819A KR 19990058819 A KR19990058819 A KR 19990058819A KR 1019970078993 A KR1019970078993 A KR 1019970078993A KR 19970078993 A KR19970078993 A KR 19970078993A KR 19990058819 A KR19990058819 A KR 19990058819A
Authority
KR
South Korea
Prior art keywords
data
memory
router
pure
gcin
Prior art date
Application number
KR1019970078993A
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 KR1019970078993A priority Critical patent/KR19990058819A/en
Publication of KR19990058819A publication Critical patent/KR19990058819A/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 플래시 메모리를 이용한 전이중화 구조의 라우터 및 메모리 관리 방법에 관한 것으로서, 특히 패킷 통신 및 마이크로 프로세서를 사용하는 전자 통신 시스템에서, 고속으로 유입되는 상위 레벨 데이터 링크 제어(HDLC) 패킷 데이터를 1:N과 N:1로 라우팅할 수 있는 라우터 및 메모리 관리 방법에 관한 것이다.The present invention relates to a router and a memory management method of a full-duplex structure using flash memory. In particular, in an electronic communication system using a packet communication and a microprocessor, high-level data link control (HDLC) packet data flowing at high speed is 1 It is about routers and memory management that can be routed to: N and N: 1.

본 발명은 게이트웨이 통신 인터페이스 네트워크와 연결된 라우팅 경로를 이중화하고 두 경로의 라우팅을 제어하는 디지털 신호처리 프로세서(DSP)가 두 경로의 데이터를 항상 공유하도록 함으로써, 하나의 경로에 장애가 발생하여도 패킷 데이터의 손실 없이 다른 경로로 즉시 절체할 수 있도록 한다.According to the present invention, a digital signal processing processor (DSP), which duplicates a routing path connected to a gateway communication interface network and controls routing of two paths, always shares data of two paths, so that even if one path fails, Allow for immediate transfer to another path without loss.

또한 본 발명은 데이터의 분석 및 라우팅을 위해 사용되는 중앙 처리 장치(CPU) 및 디지털 신호처리 프로세서(DSP)의 동작을 위한 기본 프로그램 데이터를 플래시 메모리에 저장하고, 상위 네트워크 관리자로부터 프로그램 데이터를 다운로드 받도록 함으로써 프로그램의 변경시 메모리의 교환 없이 간단히 수행할 수 있다.In addition, the present invention is to store the basic program data for the operation of the central processing unit (CPU) and digital signal processing processor (DSP) used for analysis and routing of data in the flash memory, and to download the program data from the upper network manager This makes it easy to change the program without changing the memory.

Description

플래시 메모리를 이용한 전이중화 구조의 라우터 및 메모리 관리 방법Full-duplex Router and Memory Management Method Using Flash Memory

본 발명은 플래시 메모리(Flash Memory)를 이용한 전이중화(Full Duplex) 구조의 라우터(Router) 및 메모리 관리 방법에 관한 것으로서, 특히 패킷 통신 및 마이크로 프로세서를 사용하는 전자 통신 시스템에서, 고속으로 유입되는 상위 레벨 데이터 링크 제어(High-level Data Link Control: HDLC) 패킷 데이터(packet data)를 1:N과 N:1로 라우팅(Routing)할 수 있는 라우터 및 메모리 관리 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a router and a memory management method of a full duplex structure using a flash memory, and in particular, in an electronic communication system using a packet communication and a microprocessor, a high speed introduced at high speed. High-level Data Link Control (HDLC) The present invention relates to a router and a memory management method capable of routing packet data in 1: N and N: 1.

전송 링크를 통한 신호의 전송을 위해서는 그 전송 매체인 데이터 링크 제어와 데이터 링크 프로토콜(Data Link Protocol)이 필요하다. HDLC는 데이터 링크를 제어하기 위한 대표적인 프로토콜로서, 국제 표준화 기구(International Organization for Standardization: ISO)에 의하여 규정된 것이다. HDLC는 동기 전송 방식을 사용하며, 단일한 프레임 포맷으로 모든 종류의 데이터와 제어 교환에 사용한다.Transmission of signals over a transmission link requires data link control and a data link protocol. HDLC is a representative protocol for controlling data links and is defined by the International Organization for Standardization (ISO). HDLC uses synchronous transmission and is used for all kinds of data and control exchanges in a single frame format.

전송될 데이터는 HDLC에서 사용되기 위하여 몇 가지 오버헤드와 함께 조합되어 하나의 프레임을 이룬다. HDLC에서 사용되는 프레임은 8비트의 시작 플래그(Flag) 필드(Field)와, 1개 이상의 옥텟(8비트)으로 구성된 어드레스(Address) 필드와, 8 또는 16 비트의 제어(Control) 필드와, 실제 데이터인 임의 크기의 정보(Information) 필드와, 16 또는 32 비트의 프레임 체크 시퀀스(Frame Check Sequence: FCS) 필드 및 8비트의 끝 플래그 필드로 구성된다. 상기와 같이 구성된 프레임은 하나의 패킷화 되어, 데이터 링크를 통하여 전송된다.The data to be transmitted is combined with some overhead to form one frame for use in HDLC. Frames used in HDLC include an 8-bit Start Flag field, an Address field consisting of one or more octets (8 bits), an 8- or 16-bit Control field, It consists of an information field of arbitrary size that is data, a frame check sequence (FCS) field of 16 or 32 bits, and an end flag field of 8 bits. The frame configured as described above is packetized and transmitted through the data link.

데이터 링크를 통하여 전송된 패킷 데이터는 서로 다른 프로토콜을 사용할 수도 있는 다른 네트워크에서도 사용할 수 있도록 라우터를 통해 데이터로 변환되어 분석된다. 상기와 같은 역할을 수행하는 라우터는 N개의 링크와 N개의 링크를 연결하기 위한 N:N 구조를 가지며, 호의 접속과 데이터와 인터럽트의 전송, 호의 제거, 리셋(Reset) 및 시스템 재시작(Restart)등의 동작을 수행하게 된다.Packet data transmitted through the data link is converted into data through a router and analyzed for use in other networks that may use different protocols. A router that performs the above role has an N: N structure for connecting N links and N links, and connects a call, transmits data and interrupts, removes a call, resets, restarts a system, and the like. Will perform the operation of.

게다가 종래 기술에 의해 패킷 데이터를 전송하는 라우터는 프로세서를 구동하는 기본 프로그램을 EPROM(Erasable Programmable Read Only Memory)에 저장하고 있다.In addition, a router for transmitting packet data according to the prior art stores a basic program for driving a processor in an erasable programmable read only memory (EPROM).

가입자가 증가되고 회선이 복잡해짐에 따라 단일한 링크를 여러 개의 링크로 접속하거나, 반대로 여러 개의 링크를 통하여 전송된 데이터를 단일한 링크로 접속할 필요가 생기게 되었다. 그러므로 이에 따라 단일한 데이터 링크 경로를 통하여 전송된 HDLC 데이터 패킷을 대기 시간 없이 실시간으로 분석 처리하여 다수의 전송 링크로 전송할 수 있는 라우터를 구현할 필요성이 발생하였다.As the number of subscribers increases and the complexity of the circuits increases, there is a need to connect a single link to multiple links, or conversely, to connect data transmitted through multiple links to a single link. Therefore, there is a need to implement a router that can analyze HDLC data packets transmitted through a single data link path in real time without waiting time and transmit them to multiple transmission links.

N:N 라우터는 N개의 노드에서 전송되어 오는 패킷 데이터를 N개의 노드로 출력한다. 그러므로 N개의 노드로부터 입력되는 패킷 데이터를, 실시간으로 하나의 노드로 전송할 수 없다. 또한 라우터를 구성하는 보드 중 프로세서 보드의 기본 프로그램은 EPROM에 저장되어 있다. EPROM을 사용한 시스템에서는 프로그램을 바꾸거나 향상시킬 때 전기적으로 프로그램을 지울 수 없다. 그러므로 원하는 프로그램을 외부에서 프로그래밍하고 있는 EPROM으로 교체해야 한다는 문제점을 가진다.N: N routers output packet data transmitted from N nodes to N nodes. Therefore, packet data input from N nodes cannot be transmitted to one node in real time. In addition, the basic program of the processor board among the boards configuring the router is stored in the EPROM. On systems using EPROM, you cannot electrically erase a program when you change or improve it. Therefore, there is a problem that the desired program should be replaced with the EPROM that is being programmed externally.

따라서 본 발명은 상기한 바와 같은 문제점을 해결하기 위하여, 전 이중화 구조로 N개의 패킷 데이터를 실시간으로 분석 처리하는 1:N 및 N:1 양방향 라우터를 구성하는 것을 제 1 의 목적으로 하며, 데이터 프로세싱을 위한 동작 관련 메모리를 교체하지 않고도 상위의 시스템으로부터 데이터를 로딩받아 프로그램을 변경할 수 있는 라우터 및 메모리 관리 방법을 제공하는 것을 제 2 의 목적으로 한다.Therefore, in order to solve the above problems, the present invention has a first object of configuring a 1: N and N: 1 bidirectional router that analyzes N packet data in real time with a full duplex structure, and processes data. It is a second object of the present invention to provide a router and a memory management method capable of changing a program by loading data from an upper system without replacing an operation related memory.

도 1 은 본 발명에 의한 전이중화 구조 라우터의 구조도.1 is a structural diagram of a full-duplex router according to the present invention.

도 2 는 본 발명에 의한 라우터의 RMCA 모듈의 세부 구조도.2 is a detailed structural diagram of an RMCA module of a router according to the present invention;

도 3 은 본 발명에 의한 플래시 메모리의 구성도.3 is a block diagram of a flash memory according to the present invention;

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

100 : 게이트웨이 통신 인터페이스 네트워크(GCIN)100: Gateway communication interface network (GCIN)

110,130 : GCIN 노드110,130: GCIN Node

120,125,140,145 : 버퍼120,125,140,145: buffer

200 : 라우터 주 제어 장치200: router main control unit

210,215,240,245 : 버퍼210,215,240,245: buffer

220,225,250,255 : 중앙 처리 장치220,225,250,255: Central Processing Unit

230,260 : 디지털 신호처리 프로세서230,260: Digital Signal Processing Processor

221,226 : 양방향 포트 램(DPRAM)221,226: Bidirectional Port RAM (DPRAM)

222,232,227 : 정적 램(SRAM)222,232,227: static RAM

223,233,228 : 플래시 메모리223,233,228: flash memory

상기 제 1 의 목적을 달성하기 위하여 창안된 본 발명의 바람직한 일 실시예는,One preferred embodiment of the present invention devised to achieve the first object,

HDLC 패킷 데이터를 전송하는 게이트웨이 통신 인터페이스 네트워크(GCIN) 노드와 버퍼를 포함하는 GCIN과; GCIN으로부터 유입된 HDLC 패킷 데이터를 임시 저장하는 버퍼와, 버퍼로부터 유입된 HDLC 패킷 데이터를 변형(deformatting)하여 추출된 순수 데이터를 메모리에 저장하는 중앙 처리 장치(CPU), 메모리에 저장된 순수 데이터를 분석 및 라우팅하여 채널 카드로 정합하는 디지털 신호처리 프로세서(DSP), 및 순수 데이터를 저장하는 메모리을 포함하는 제 1 경로와; GCIN으로부터 유입된 HDLC 패킷 데이터를 임시 저장하는 버퍼와, 버퍼로부터 유입된 HDLC 패킷 데이터를 변형(deformatting)하여 추출된 순수 데이터를 메모리에 저장하는 CPU, 메모리에 저장된 순수 데이터를 분석 및 라우팅하여 채널 카드로 정합하는 DSP, 및 순수 데이터를 저장하는 메모리을 포함하는 제 2 경로를 포함한다.A GCIN comprising a buffer and a Gateway Communication Interface Network (GCIN) node for transmitting HDLC packet data; Analyzes the buffer to temporarily store HDLC packet data from GCIN, the central processing unit (CPU) to store the extracted pure data in memory by deformatting the HDLC packet data from the buffer, and the pure data stored in memory A first path comprising a digital signal processing processor (DSP) for routing and matching to a channel card, and a memory for storing pure data; A channel card that analyzes and routes a buffer that temporarily stores HDLC packet data imported from GCIN, a CPU that stores extracted pure data in memory by deformatting HDLC packet data imported from buffer, and pure data stored in memory. And a second path including a DSP to match the memory, and a memory to store the pure data.

본 발명의 일 실시예에 있어서, 상기 제 1 경로와 제 2 경로는 데이터를 항상 공유하는 것이 바람직하며,In one embodiment of the present invention, it is preferable that the first path and the second path always share data,

상기 제 1 경로와 제 2 경로는 하나의 경로에 장애가 발생한 경우 다른 경로로 절체되는 것이 바람직하며,Preferably, the first path and the second path are switched to another path when one path fails.

상기 중앙 처리 장치는 HDLC 패킷 데이터를 분석하여 추출된 순수 데이터를 직접 메모리 액세스를 이용하여 메모리에 저장하는 것이 바람직하며,Preferably, the central processing unit stores the pure data extracted by analyzing HDLC packet data in a memory using direct memory access.

상기 순수 데이터를 저장하는 메모리는 양방향 포트 램(DPRAM)인 것이 바람직하며,The memory for storing the pure data is preferably a bidirectional port RAM (DPRAM),

하나의 패킷 데이터가 완전히 메모리로 전송되면, 상기 DSP는 COMMPORT1의 직접 메모리 액세스를 이용하여 메모리의 데이터를 DSP 영역의 메모리로 이동하고, 해당 데이터를 분석 라우팅하여 채널 카드로 정합하는 것이 바람직하며, 상기 DSP 영역의 메모리는 정적 램(SRAM)인 것이 바람직하다.When one packet data is completely transferred to the memory, the DSP moves data of the memory to the memory of the DSP area using the direct memory access of COMMPORT1, and analyzes and routes the corresponding data to match the channel card. The memory in the DSP area is preferably static RAM (SRAM).

또한 상기 제 2 의 목적을 달성하기 위한 본 발명의 바람직한 제 2 의 실시예는,In addition, a second preferred embodiment of the present invention for achieving the second object,

HDLC 패킷 데이터를 전송하는 GCIN과, GCIN을 통해서 전송된 HDLC 패킷 데이터를 분석하여 순수 데이터를 추출하고 순수 데이터를 분석 라우팅하여 채널 카드로 정합하는 다수의 프로세서를 포함하는 라우터에 있어서, 상기 다수의 프로세서에서 사용되는 부터(Booter)와 응용 프로그램(Application Program)을 위한 데이터는 상위 네트워크 관리자로부터 다운로딩받아 사용한다.A router comprising: a GCIN for transmitting HDLC packet data; and a plurality of processors for analyzing pure HDLC packet data transmitted through GCIN, extracting pure data, and analyzing and routing pure data to match a channel card. The data for Booter and Application Program used by is downloaded from upper network administrator.

또한 상기 제 2 의 목적을 달성하기 위한 본 발명의 바람직한 제 3 의 실시예는,In addition, a third preferred embodiment of the present invention for achieving the second object,

HDLC 패킷 데이터를 전송하는 GCIN과, GCIN을 통해서 전송된 HDLC 패킷 데이터를 분석하여 순수 데이터를 추출하고 순수 데이터를 분석 라우팅하여 채널 카드로 정합하는 다수의 프로세서를 포함하는 라우터에 있어서, 상기 다수의 프로세서에서 사용되는 부터와 응용 프로그램은 플래시 메모리에 로딩되어 있다.A router comprising: a GCIN for transmitting HDLC packet data; and a plurality of processors for analyzing pure HDLC packet data transmitted through GCIN, extracting pure data, and analyzing and routing pure data to match a channel card. From and used in the application is loaded in flash memory.

본 발명의 제 3 의 실시예에 있어서, 상기 플래시 메모리는, 상기 다수의 프로세서가 동작을 하기 위한 최소의 프로그램을 저장하는 디버그 영역과; 부터와 응용 프로그램을 위한 영역을 포함하는 것이 바람직하며,In a third embodiment of the present invention, the flash memory includes: a debug area for storing a minimum program for the plurality of processors to operate; It is preferable to include the area from and to the application,

상기 플래시 메모리는, 부터와 응용 프로그램을 위한 예비 영역을 추가로 포함하는 것이 바람직하며,Preferably, the flash memory further includes a spare area for the application program.

상기 부터와 응용 프로그램을 위한 예비 영역은 부터와 응용 프로그램을 위한 본래 영역과 분리하여 존재하도록 하는 것이 바람직하며,Preferably, the spare area for the above and the application program exists separately from the original area for the and the application program.

상기 예비 영역과 본래 영역의 데이터는 상위 네트워크 관리자로부터 다운로딩받는 것이 바람직하다.It is preferable that data of the spare area and the original area be downloaded from an upper network manager.

또한 상기 제 2 의 목적을 달성하기 위한 본 발명의 바람직한 제 4 의 실시예는,In addition, a fourth preferred embodiment of the present invention for achieving the second object,

상위 네트워크 관리자로부터 부터와 응용 프로그램 데이터를 다운로드받아 동작하는 프로세서에 있어서, 상위 네트워크 관리자로부터 다운로드된 데이터를 검사하여 에러가 없으면 데이터의 끝에 버전을 붙이는 제 1 단계와; 이중화된 메모리 영역 중 종래 버전의 메모리 영역을 찾아 종래 버전의 메모리 영역을 초기화 시키는 제 2 단계; 초기화된 종래 버전의 메모리 영역에 다운로드된 데이터를 이동하는 제 3 단계; 및 데이터의 이동이 정상적으로 완료되면 프로세서를 부팅한 다음, 로드된 부터와 응용 프로그램을 실행하는 제 4 단계를 포함한다.14. A processor for downloading and operating application program data from a higher network manager, the processor comprising: a first step of checking data downloaded from a higher network manager and attaching a version to the end of the data if there is no error; A second step of initializing a conventional version memory area by finding a conventional version memory area among the duplicated memory areas; Moving the downloaded data to the initialized conventional memory area; And a fourth step of booting the processor when the movement of data is normally completed, and then executing the loaded application.

본 발명의 제 4 의 실시예에 있어서, 상기 라우터의 메모리 관리 방법은, 데이터의 이동 중에 시스템에 이상이 발생하여 콜드 스타트(Cold Start)되거나 시스템에 리셋이 걸린 경우, 디버그 프로그램을 수행한 다음 이중화된 메모리 영역 중에서 가장 최신의 버전을 선택하여 부팅하는 단계를 추가적으로 포함하는 것이 바람직하다.According to a fourth embodiment of the present invention, the memory management method of the router may be redundant after performing a debug program when a cold start or reset occurs due to an abnormality in the system during data movement. It is preferable to further include the step of booting by selecting the most recent version of the memory area.

본 발명은 하나의 노드로 유입되는 고속 HDLC 패킷 데이터를 실시간으로 분석하여 N개의 노드로 출력하며, N개로 유입되는 패킷 데이터를 실시간으로 처리하여 하나의 노드로 전송하는 1:N 및 N:1 양방향 라우터에 관한 것이다. 본 발명에 의한 라우터는 전이중화 구조로 하나의 노드 또는 버퍼에 고장이 발생하여도, 절체에 따른 패킷 데이터의 손실이 없도록 고안하였다. 또한 플래시 메모리를 이용하여 프로그램의 변경시 상위의 시스템에서 프로그램을 로딩받아 수행하도록 한다.The present invention analyzes high-speed HDLC packet data flowing into one node in real time and outputs it to N nodes, and processes 1: N and N: 1 bidirectional processes N packet data in real time and transmits it to one node. It's about routers. The router according to the present invention is designed to prevent packet data loss due to switching even when a failure occurs in one node or buffer in a full-duplex structure. In addition, when a program is changed using a flash memory, the program is loaded and executed from a higher system.

도 1 은 본 발명에 의한 전이중화 구조 라우터의 구조도를 나타낸 것이다. 도시된 바와 같이, 고속 HDLC 패킷 형태로 유입되는 데이터를 순수 데이터로 변환하여 실시간으로 분석 처리 전송하는 게이트웨이 통신 인터페이스 네트워크(Gateway Communication Interface Network: GCIN)(100)와; 상기 GCIN 인터페이스와 연결된 라우터의 라우터 주 제어 장치(Router Main Control Assembly: RMCA) 모듈(Module)(200)을 포함한다.1 shows a structural diagram of a full-duplex router according to the present invention. As shown, a gateway communication interface network (GCIN) 100 for converting data flowing in the form of high-speed HDLC packets into pure data for analysis and transmission in real time; A router main control assembly (RMCA) module 200 of a router connected to the GCIN interface is included.

상기 GCIN(100)는 서로간에 신호를 송수신하는 2개의 GCIN 노드(110)(130)와, 각 GCIN 노드에 2개씩 부착되어 있는 4개의 버퍼(120)(125)(140)(145)로 구성된다.The GCIN 100 is composed of two GCIN nodes 110 and 130 for transmitting and receiving signals to each other, and four buffers 120, 125, 140, and 145 attached two to each GCIN node. do.

상기 RMCA 모듈(200)은 서로 이중화 되어 있는 2개의 RMCA 블럭으로 구성된다. 각각의 RMCA 블럭은 활성(Active) 또는 대기(Standby) 상태로 동작하는 이중화 구조를 가진다. 각각의 RMCA 블럭은 상기 GCIN 인터페이스의 버퍼(120)(125)(140)(145)와 데이터를 송수신하는 버퍼(210)(215)(240)(245)를 각각 2개씩 가지며, 4개의 버퍼(210)(215)(240)(245)는 각각 중앙 처리 장치(220)(225)(250)(255)에 연결되어 있다.The RMCA module 200 is composed of two RMCA blocks that are duplicated with each other. Each RMCA block has a redundant structure that operates in either an active or standby state. Each RMCA block has two buffers 210, 215, 240, and 245 for transmitting and receiving data to and from the buffers 120, 125, 140, and 145 of the GCIN interface. 210, 215, 240 and 245 are connected to central processing unit 220, 225, 250 and 255, respectively.

상기 RMCA 블럭들은 각각 디지털 신호처리 프로세서(230)(235)에 의하여 제어된다. 각각의 RMCA 블럭을 제어 하는 디지털 신호처리 프로세서(230)(235)는 서로간에 정상 상태 여부를 진단하여, 활성과 대기 상태를 절체할 수 있도록 한다. 각 디지털 신호처리 프로세서(230)(235)는 항상 데이터를 공유함으로써, RMCA 모듈이 경로를 바꾸더라도 절체에 따른 패킷 데이터의 손실이 없도록 한다.The RMCA blocks are each controlled by digital signal processing processors 230 and 235. The digital signal processing processors 230 and 235 which control each RMCA block diagnose the normal state with each other, so that the active and standby states can be switched. The digital signal processing processors 230 and 235 always share data so that there is no loss of packet data due to switching even if the RMCA module changes the path.

도 2 는 본 발명에 의한 라우터의 RMCA 모듈의 세부 구조도를 나타낸 것이다. 도시된 바와 같이, 서로 이중화 되어 있으며 GCIN과 연결된 버퍼(210)(215)를 제어하는 중앙 처리 장치(220)(225)와; 상기 중앙 처리 장치(220)(225)를 제어하는 디지털 신호처리 프로세서(230)를 포함한다.2 shows a detailed structural diagram of an RMCA module of a router according to the present invention. As shown, the central processing unit (220) (225) (225) that is redundant with each other and controls the buffer (210) (215) connected to the GCIN; And a digital signal processor 230 for controlling the central processing unit 220, 225.

이하 라우터의 주 제어 보드의 활성화된 RMCA 모듈의 동작에 대하여 설명한다. GCIN으로부터 유입되는 HDLC 패킷 데이터는 중앙 처리 장치(220)(225)의 SCC1(Serial Communication Controller 1) 포트를 통해서 변형(deformatting)된다. HDLC 패킷 데이터로부터 추출된 순수 데이터는 중앙 처리 장치(220)(225)의 직접 메모리 액세스(Direct Memory Access: DMA)를 이용하여 양방향 포트 램(Dual Port Random Access Memory: DPRAM) 1(221)(226)으로 보내진다.Hereinafter, the operation of the activated RMCA module of the main control board of the router will be described. HDLC packet data coming from the GCIN is deformatted through the Serial Communication Controller 1 (SCC1) port of the central processing unit 220 (225). The pure data extracted from the HDLC packet data is a dual port random access memory (DPRAM) 1 (221) (226) using a direct memory access (DMA) of the central processing unit 220 (225). Is sent).

하나의 패킷 데이터와 완전히 DPRAM1으로 전송되면, 디지털 신호처리 프로세서(230)의 COMMPORT1 의 직접 메모리 액세스가 DPRAM1의 데이터를 디지털 신호처리 프로세서 영역의 SRAM(Static RAM)(232)으로 이동시킨다. 디지털 신호처리 프로세서(230)는 이 데이터를 분석 라우팅하여, 4개의 COMMPORT를 통해 4개의 채널 카드 인터페이스로 전송한다.When one packet data is completely transferred to DPRAM1, direct memory access of COMMPORT1 of digital signal processing processor 230 moves data of DPRAM1 to static RAM (SRAM) 232 in the digital signal processing processor area. The digital signal processing processor 230 analyzes and routes this data to four channel card interfaces via four COMMPORTs.

상기와 같은 구조를 통해, 두 개의 중앙 처리 장치(220)(225) 중의 하나에 장애가 발생하더라도, 디지털 신호 처리 프로세서는 언제나 정확한 데이터를 실시간으로 처리할 수 있게 된다.Through such a structure, even if one of the two central processing units 220 and 225 fails, the digital signal processing processor can always process accurate data in real time.

상기 중앙 처리 장치(220)(225)와 디지털 신호처리 프로세서(230)는 상위 네트워크 관리자로부터 부터(Booter)와 응용 프로그램(Application Program)을 로딩받는다. 로딩받은 데이터는 중앙 처리 장치(220)(225)와 디지털 신호처리 프로세서(230)의 플래시 메모리에 로딩된다. 도 3 은 본 발명에 의한 플래시 메모리의 구성도를 나타낸 것이다. 도시된 바와 같이, 디버그(Debug) 영역과 두 부분의 부터 및 응용 프로그램 영역으로 구성된다.The central processing unit 220, 225 and the digital signal processing processor 230 are loaded from the upper network manager (Booter) and the application program (Application Program). The loaded data is loaded into the flash memory of the central processing unit 220, 225 and the digital signal processor 230. 3 shows a configuration diagram of a flash memory according to the present invention. As shown, it consists of a debug area and two parts from and to the application area.

상기 디버그 영역은 중앙 처리 장치(220)(225)가 동작을 하기 위한 최소한의 프로그램이 존재하는 영역이다. A영역과 B영역은 네트워크 관리자에서 로딩되는 부터와 응용 프로그램의 영역이다. A영역과 B영역은 네트워크 관리자에서 로딩한 데이터의 버전과 로딩 시기에 따라, 새 버전(New version)과 종래 버전(Old version)으로 나누어진다. 만약 네트워크 관리자로부터 프로그램을 로딩하여, RAM으로부터 어느 한 영역으로 데이터를 이동(MOVE)할 때, 갑자기 시스템에 이상(전원 차단)이 생겼을 때, 또는 콜드 리셋(Cold Reset)에 대비하여 백업용으로 두 영역에 데이터를 분리 저장한다.The debug area is an area where a minimum program for the CPU 220 and 225 to operate is present. Areas A and B are areas from and loaded by the network manager. Areas A and B are divided into a new version and an old version according to the version of the data loaded by the network manager and the loading time. If you load a program from a network administrator and move the data from RAM to a certain area, suddenly there is a problem with the system (power off), or two areas for backup in case of a cold reset. Separate and store data in.

네트워크 관리자에서 다운로드된 프로그램 데이터는 중앙 처리 장치가 관할하는 RAM 영역에 존재한다. 중앙 처리 장치는 다운로드된 데이터를 확인하여, 에러가 발생하지 않고 완벽하게 다운로드 되었으면, 로드된 데이터의 끝에 버전을 붙인다. 그리고 플래시 메모리 두 영역 중 종래 버전을 찾아 종래 영역을 초기화 시킨 후, 램에 로드된 데이터를 플래시 메모리로 이동한다. 이동이 완료되면 중앙 처리 장치는 웜 스타트(Warm Start)를 수행하고 나서, 최근에 로드된 부터와 프로그램을 실행한다.The program data downloaded from the network manager resides in the RAM area controlled by the central processing unit. The central processing unit checks the downloaded data and appends a version to the end of the loaded data if it is downloaded completely without errors. After retrieving the conventional version of the two areas of the flash memory and initializing the conventional area, the data loaded in the RAM is moved to the flash memory. When the movement is complete, the central processing unit performs a warm start, and then executes a program from the most recently loaded.

만약 RAM에 로드된 데이터를 플래시 메모리로 이동하는 중에 시스템에 이상이 발생하여, 콜드 스타트(Cold Start) 되거나 시스템에 완전한 리셋이 걸렸을 경우, 중앙 처리 장치는 디버그 프로그램을 수행하고, 플래시 메모리에서 각 부터 영역의 끝에 붙어 있는 버전을 비교하여 최신의 버전 데이터로 부팅한다.If a problem occurs while moving data loaded in RAM to flash memory and the system starts cold or the system has been reset completely, the central processing unit executes a debug program. Compare versions attached to the end of the zone and boot with the latest version data.

상기한 바와 같이 동작하는 본 발명은,The present invention operating as described above,

하나의 노드로 유입되는 고속 HDLC 패킷 데이터를 실시간으로 분석하여 N개의 노드로 출력하며, N개의 경로로 유입되는 패킷 데이터를 실시간으로 처리하여 하나의 노드로 전송할 수 있다. 시스템의 안정화를 위해서 전 이중화 구조를 채택하였으며, 플래시 메모리를 이용한 설계를 통하여 메모리를 교체하지 않고도 네트워크 관리자로부터 부터와 응용 프로그램을 다운받을 수 있도록 한다.High speed HDLC packet data flowing into one node is analyzed in real time and output to N nodes, and packet data flowing into N paths can be processed in real time and transmitted to one node. In order to stabilize the system, a full redundancy structure is adopted, and the design using flash memory allows the application to be downloaded from the network manager without replacing the memory.

Claims (15)

HDLC 패킷 데이터를 전송하는 게이트웨이 통신 인터페이스 네트워크(GCIN) 노드와 버퍼를 포함하는 GCIN과;A GCIN comprising a buffer and a Gateway Communication Interface Network (GCIN) node for transmitting HDLC packet data; GCIN으로부터 유입된 HDLC 패킷 데이터를 임시 저장하는 버퍼와, 버퍼로부터 유입된 HDLC 패킷 데이터를 변형(deformatting)하여 추출된 순수 데이터를 메모리에 저장하는 중앙 처리 장치(CPU), 메모리에 저장된 순수 데이터를 분석 및 라우팅하여 채널 카드로 정합하는 디지털 신호처리 프로세서(DSP) 및 순수 데이터를 저장하는 메모리를 포함하는 제 1 경로와;Analyzes the buffer to temporarily store HDLC packet data from GCIN, the central processing unit (CPU) to store the extracted pure data in memory by deformatting the HDLC packet data from the buffer, and the pure data stored in memory And a first path comprising a digital signal processing processor (DSP) for routing to a channel card and a memory for storing pure data; GCIN으로부터 유입된 HDLC 패킷 데이터를 임시 저장하는 버퍼와, 버퍼로부터 유입된 HDLC 패킷 데이터를 변형(deformatting)하여 추출된 순수 데이터를 메모리에 저장하는 CPU, 메모리에 저장된 순수 데이터를 분석 및 라우팅하여 채널 카드로 정합하는 DSP 및 순수 데이터를 저장하는 메모리를 포함하는 제 2 경로를 포함하는, 플래시 메모리를 이용한 전이중화 구조의 라우터.A channel card that analyzes and routes a buffer that temporarily stores HDLC packet data imported from GCIN, a CPU that stores extracted pure data in memory by deformatting HDLC packet data imported from buffer, and pure data stored in memory. And a second path comprising a DSP to match with a memory and a memory for storing pure data. 제 1 항에 있어서, 상기 제 1 경로와 제 2 경로는 데이터를 항상 공유하는, 플래시 메모리를 이용한 전이중화 구조의 라우터.The router of claim 1, wherein the first path and the second path always share data. 제 1 항에 있어서, 상기 제 1 경로와 제 2 경로는 하나의 경로에 장애가 발생한 경우 다른 경로로 절체되는, 플래시 메모리를 이용한 전이중화 구조의 라우터.The router of claim 1, wherein the first path and the second path are switched to another path when a failure occurs in one path. 제 1 항에 있어서, 상기 CPU는 HDLC 패킷 데이터를 분석하여 추출된 순수 데이터를 직접 메모리 액세스를 이용하여 메모리에 저장하는, 플래시 메모리를 이용한 전이중화 구조의 라우터.The router of claim 1, wherein the CPU analyzes the HDLC packet data and stores the extracted pure data in a memory using direct memory access. 제 1 항에 있어서, 상기 순수 데이터를 저장하는 메모리는 양방향 포트 램(DPRAM)인, 플래시 메모리를 이용한 전이중화 구조의 라우터.2. The router of claim 1, wherein the memory for storing pure data is a bidirectional port RAM (DPRAM). 제 1 항에 있어서, 하나의 패킷 데이터가 완전히 메모리로 전송되면, 상기 DSP는 COMMPORT1의 직접 메모리 액세스를 이용하여 메모리의 데이터를 DSP 영역의 메모리로 이동하고, 해당 데이터를 분석 라우팅하여 채널 카드로 정합하는, 플래시 메모리를 이용한 전이중화 구조의 라우터.The method of claim 1, wherein when one packet data is completely transferred to the memory, the DSP moves data of the memory to the memory of the DSP area using direct memory access of COMMPORT1, and analyzes and routes the corresponding data to the channel card. Router of full-duplex structure using flash memory. 제 6 항에 있어서, 상기 DSP 영역의 메모리는 정적 램(SRAM)인, 플래시 메모리를 이용한 전이중화 구조의 라우터.7. The router of claim 6, wherein the memory of the DSP region is a static RAM. HDLC 패킷 데이터를 전송하는 GCIN과, GCIN을 통해서 전송된 HDLC 패킷 데이터를 분석하여 순수 데이터를 추출하고 순수 데이터를 분석 라우팅하여 채널 카드로 정합하는 다수의 프로세서를 포함하는 라우터에 있어서,A router comprising a GCIN for transmitting HDLC packet data and a plurality of processors for analyzing pure HDLC packet data transmitted through GCIN, extracting pure data, and analyzing and routing the pure data to a channel card. 상기 다수의 프로세서에서 사용되는 부터(Booter)와 응용 프로그램(Application Program)을 위한 데이터는 상위 네트워크 관리자로부터 다운로딩받아 사용하는, 플래시 메모리를 이용한 전이중화 구조의 라우터.The router of the full-duplex structure using flash memory, the data for the booter and the application program used in the plurality of processors are downloaded from the upper network manager. HDLC 패킷 데이터를 전송하는 GCIN과, GCIN을 통해서 전송된 HDLC 패킷 데이터를 분석하여 순수 데이터를 추출하고 순수 데이터를 분석 라우팅하여 채널 카드로 정합하는 다수의 프로세서를 포함하는 라우터에 있어서,A router comprising a GCIN for transmitting HDLC packet data and a plurality of processors for analyzing pure HDLC packet data transmitted through GCIN, extracting pure data, and analyzing and routing the pure data to a channel card. 상기 다수의 프로세서에서 사용되는 부터와 응용 프로그램은 플래시 메모리에 로딩되어 있는, 플래시 메모리를 이용한 전이중화 구조의 라우터.The application of the plurality of processors and the application program is loaded in the flash memory, the router of the full-duplex structure using the flash memory. 제 9 항에 있어서, 상기 플래시 메모리는, 상기 다수의 프로세서가 동작을 하기 위한 최소의 프로그램을 저장하는 디버그 영역과;10. The system of claim 9, wherein the flash memory comprises: a debug area for storing a minimum program for the plurality of processors to operate; 부터와 응용 프로그램을 위한 영역을 포함하는, 플래시 메모리를 이용한 전이중화 구조의 라우터.Router with full-duplex architecture using flash memory, containing domains for application. 제 10 항에 있어서, 상기 플래시 메모리는, 부터와 응용 프로그램을 위한 예비 영역을 추가로 포함하는, 플래시 메모리를 이용한 전이중화 구조의 라우터.11. The router of claim 10, wherein the flash memory further comprises a spare area for the application program. 제 11 항에 있어서, 상기 부터와 응용 프로그램을 위한 예비 영역은 부터와 응용 프로그램을 위한 본래 영역과 분리하여 존재하도록 하는, 플래시 메모리를 이용한 전이중화 구조의 라우터.12. The router of claim 11, wherein the spare area for and from the application program exists separately from the original area for and from the application program. 제 12 항에 있어서, 상기 예비 영역과 본래 영역의 데이터는 상위 네트워크 관리자로부터 다운로딩받는, 플래시 메모리를 이용한 전이중화 구조 라우터.The router of claim 12, wherein data of the spare area and the original area is downloaded from a higher network manager. 상위 네트워크 관리자로부터 부터와 응용 프로그램 데이터를 다운로드받아 동작하는 프로세서에 있어서,In the processor that operates by downloading the application data from the upper network administrator, 상위 네트워크 관리자로부터 다운로드된 데이터를 검사하여 에러가 없으면 데이터의 끝에 버전을 붙이는 제 1 단계와;Checking the data downloaded from the upper network manager and attaching a version to the end of the data if there is no error; 이중화된 메모리 영역 중 종래 버전의 메모리 영역을 찾아 종래 버전의 메모리 영역을 초기화 시키는 제 2 단계;A second step of initializing a conventional version memory area by finding a conventional version memory area among the duplicated memory areas; 초기화된 종래 버전의 메모리 영역에 다운로드된 데이터를 이동하는 제 3 단계; 및Moving the downloaded data to the initialized conventional memory area; And 데이터의 이동이 정상적으로 완료되면 프로세서를 부팅한 다음, 로드된 부터와 응용 프로그램을 실행하는 제 4 단계를 포함하는, 플래시 메모리를 이용한 전이중화 구조 라우터의 메모리 관리 방법.And a fourth step of booting the processor when the data movement is completed normally and then executing the loaded application and executing the application program. 제 14 항에 있어서, 상기 라우터의 메모리 관리 방법은,15. The method of claim 14, wherein the memory management method of the router, 데이터의 이동 중에 시스템에 이상이 발생하여 콜드 스타트(Cold Start)되거나 시스템에 리셋이 걸린 경우, 디버그 프로그램을 수행한 다음 이중화된 메모리 영역 중에서 가장 최신의 버전을 선택하여 부팅하는 단계를 추가적으로 포함하는, 플래시 메모리를 이용한 전이중화 구조 라우터의 메모리 관리 방법.In the event of an abnormality in the system during a data movement and a cold start or reset of the system, the method may further include executing a debug program and then booting by selecting the latest version among the redundant memory areas. Memory management method of full-duplex router using flash memory.
KR1019970078993A 1997-12-30 1997-12-30 Router and memory management method of full-duplex architecture using flash memory KR19990058819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970078993A KR19990058819A (en) 1997-12-30 1997-12-30 Router and memory management method of full-duplex architecture using flash memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970078993A KR19990058819A (en) 1997-12-30 1997-12-30 Router and memory management method of full-duplex architecture using flash memory

Publications (1)

Publication Number Publication Date
KR19990058819A true KR19990058819A (en) 1999-07-26

Family

ID=66180939

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970078993A KR19990058819A (en) 1997-12-30 1997-12-30 Router and memory management method of full-duplex architecture using flash memory

Country Status (1)

Country Link
KR (1) KR19990058819A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010053200A (en) * 1999-04-27 2001-06-25 마츠시타 덴끼 산교 가부시키가이샤 Program downloading device and program downloading method
KR20020025585A (en) * 2000-09-29 2002-04-04 양명희 A router having a network monitoring function via graphic user interface
KR100429258B1 (en) * 2001-06-11 2004-04-29 엘지전자 주식회사 Structure and Method of Configuration Saving of Extendable Memory Interface in the Router
KR100487570B1 (en) * 2002-11-28 2005-05-03 엘지전자 주식회사 Apply embody method snmp and other applications in linux
KR100528410B1 (en) * 1998-12-03 2006-01-27 유티스타콤코리아 유한회사 Synchronization Signal and Packet Status Information Control Device in High Level Data Link Control Communication

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100528410B1 (en) * 1998-12-03 2006-01-27 유티스타콤코리아 유한회사 Synchronization Signal and Packet Status Information Control Device in High Level Data Link Control Communication
KR20010053200A (en) * 1999-04-27 2001-06-25 마츠시타 덴끼 산교 가부시키가이샤 Program downloading device and program downloading method
KR20020025585A (en) * 2000-09-29 2002-04-04 양명희 A router having a network monitoring function via graphic user interface
KR100429258B1 (en) * 2001-06-11 2004-04-29 엘지전자 주식회사 Structure and Method of Configuration Saving of Extendable Memory Interface in the Router
KR100487570B1 (en) * 2002-11-28 2005-05-03 엘지전자 주식회사 Apply embody method snmp and other applications in linux

Similar Documents

Publication Publication Date Title
US6975587B1 (en) Mechanism for automatic protection switching in a router
US6032190A (en) System and method for processing data packets
US5678006A (en) Network switch having network management agent functions distributed among multiple trunk and service modules
KR100938767B1 (en) Method and apparatus for switching between active and standby switch fabrics with no loss of data
US7269661B2 (en) Method using receive and transmit protocol aware logic modules for confirming checksum values stored in network packet
US6105151A (en) System for detecting network errors
EP0823164A1 (en) System and method for dynamic network topology exploration
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
US6977924B1 (en) Control and distribution protocol for a portable router framework
KR19990058819A (en) Router and memory management method of full-duplex architecture using flash memory
US6603742B1 (en) Network reconfiguration
JP2003060666A (en) Redundant system of ethernet transmission line
US6034943A (en) Adaptive communication node for use in an inter-processor communications system
EP1250781B1 (en) Combination switch and routing-switching radio base station
KR100755978B1 (en) In-band management of a stacked group of switches by a single cpu
CN1326066C (en) Communication method and its device during process
EP1476986B1 (en) Information communication controller interface apparatus and method
KR100811675B1 (en) method and apparatus for multi-function combination board
KR970000069B1 (en) Internal network interface for mobile communication system
KR0148458B1 (en) Call control subsystem of bsc in cdma mobile communication system
KR100318946B1 (en) Apparatus and method for data transmission using AT switch fabric in multiprocessor communication system
KR100440578B1 (en) The Method of Operator Message Process between the Internal Functional Processors in High Speed Router
KR0152391B1 (en) Interfacing between bsc network &amp; selector/transcoder in cdma mobile communication system
KR100538025B1 (en) A multi mode apparatus and constitution method of the next generation mobile communication base station system
KR100403215B1 (en) Multi Link Intefacing Architecture And Link Port Dual Method In VOP Gateway

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application