KR20030057808A - Method and Apparatus for detecting and transmitting of Error using PLD - Google Patents

Method and Apparatus for detecting and transmitting of Error using PLD Download PDF

Info

Publication number
KR20030057808A
KR20030057808A KR1020010087897A KR20010087897A KR20030057808A KR 20030057808 A KR20030057808 A KR 20030057808A KR 1020010087897 A KR1020010087897 A KR 1020010087897A KR 20010087897 A KR20010087897 A KR 20010087897A KR 20030057808 A KR20030057808 A KR 20030057808A
Authority
KR
South Korea
Prior art keywords
error
cpu
error signal
transmitting
pld
Prior art date
Application number
KR1020010087897A
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 KR1020010087897A priority Critical patent/KR20030057808A/en
Publication of KR20030057808A publication Critical patent/KR20030057808A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0721Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment within a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0772Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE: A method and device for detecting and transmitting an error using a PLD(Programmable Logic Device) is provided to simplify configuration of an IPC module and to reduce a cost for designing a system. CONSTITUTION: A line interface module(300) communicates with a management module(320). The line interface module(300) transmits data to an IPC module(310). The IPC module(310) processes data transmitted from the line interface module(300) through the management module(320). The IPC module(310) includes a switch module(314) and a PLD(318). The switch module(314) selects a path of the data transmitted from the line interface module(300) and transmits the data through the path to the management module(320). The PLD(318) senses a signal transmission process between the line interface module(300) and the management module(320) and recognizes an error. The PLD(318) transmits a recognized error signal to the management module(320). The management module(320) receives the error signal transmitted from the PLD(318) and controls the error.

Description

PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치{Method and Apparatus for detecting and transmitting of Error using PLD}Method and Apparatus for detecting and transmitting errors using PLD {Method and Apparatus for detecting and transmitting of Error using PLD}

본 발명은 CPU(Central Processing Unit)가 없는 IPC(Interprocess Communication)모듈에서 에러를 검출하고 전달하는 방법 및 장치에 관한 것으로, 특히 PLD(Programable Logic Device)를 이용하여 IPC 모듈에서 에러를 검출할 수 있는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for detecting and transmitting an error in an IPC (Interprocess Communication) module without a central processing unit (CPU). In particular, an error can be detected in an IPC module using a programmable logic device (PLD). A method and apparatus for detecting and communicating errors using a PLD.

IPC는 프로그래머가 하나의 운영체계에서 동시에 수행될 개별 프로그램을 생성하고 다룰수 있도록 해주는 프로그래밍 인터페이스 집합으로서, 하나의 프로그램이 동시에 많은 사용자의 요구를 처리할 수 있도록 한다.IPC is a set of programming interfaces that allow programmers to create and manipulate individual programs that will run concurrently on one operating system, allowing one program to handle the needs of many users at the same time.

단일 사용자의 요구가 운영체계에서 여러 프로세스를 수행시키는 결과를 가져올 수 있기 때문에 이러한 사용자를 위해 프로세스간 통신이 필요하게 되는데 IPC는 이를 가능하게 할 수 있다.Because the needs of a single user can result in running multiple processes in the operating system, interprocess communication is required for these users, and IPC can make this possible.

그런데 프로세스간 통신을 하는데 있어서 에러가 발생하는 문제점이 있다.However, there is a problem that an error occurs in the communication between processes.

이러한 에러가 발생되는 문제를 줄이기 위해 에러를 검출하기 위한 기술이 다양하게 제시되고 있다. 예를들어 IPC 모듈에 별도의 CPU를 두어 에러를 검출하는 방법 등을 들수 있다. 여기서는 CPU를 통한 에러 검출 및 전송 방법과 라인 인터페이스 모듈에 별도의 에러 검출 핀을 두어 에러를 검출할 수있는 방법을 위주로 설명하기로 한다.Various techniques for detecting errors have been proposed to reduce the problem of such errors. For example, there is a method of detecting an error by having a separate CPU in the IPC module. Here, the method of detecting and transmitting the error through the CPU and the method of detecting the error by providing a separate error detecting pin in the line interface module will be described.

도 1은 종래의 CPU를 통한 에러 검출 및 전달 장치의 구성도이다.1 is a configuration diagram of an error detection and transmission apparatus through a conventional CPU.

도 1을 참조하면, CPU를 통한 에러 검출 및 전달 시스템은 라인 인터페이스 모듈(Line intrerface Module)(100a, 100b...이하 100으로 칭함), IPC(Interprocess Communication) 모듈(110), 관리 모듈(Management Module)(120)을 포함한다. 상기 라인 인터페이스 모듈(Line intrerface Module)(100)은 상기 관리모듈(Management Module)(120)과 통신을 주고 받을 수 있는 시스템이다.Referring to Figure 1, the error detection and transmission system via the CPU is a line interface module (Line intrerface Module) (100a, 100b ... hereinafter referred to as 100), IPC (Interprocess Communication) module 110, management module (Management) Module 120). The line intrerface module 100 is a system that can communicate with the management module 120.

즉, 라인 인터페이스 모듈(100)은 데이터를 IPC모듈(110)에 전송한다.That is, the line interface module 100 transmits data to the IPC module 110.

상기 IPC 모듈(110)은 상기 라인 인터페이스 모듈(100)로부터 전송된 데이터를 상기 관리 모듈(120)과의 통신을 통해 처리한다.The IPC module 110 processes data transmitted from the line interface module 100 through communication with the management module 120.

상기 IPC모듈(110)은 스위치 모듈(Switch Module)(114)과 CPU(118)를 포함한다. 상기 스위치 모듈(Switch Module)(114)은 상기 라인 인터페이스 모듈(100)로부터 전송된 데이터의 경로등을 선택하여 상기 데이터를 상기 관리 모듈(120)에 전송한다. 상기 CPU(118)는 상기 라인 인터페이스 모듈(100)과 상기 관리 모듈(120)의 신호 전송 과정을 감시하여 에러를 감지하는 역할을 한다.The IPC module 110 includes a switch module 114 and a CPU 118. The switch module 114 selects a path of data transmitted from the line interface module 100 and transmits the data to the management module 120. The CPU 118 monitors signal transmission processes of the line interface module 100 and the management module 120 to detect an error.

상기 CPU(118)는 상기 감지된 에러 신호를 상기 관리 모듈(120)에 전송한다.The CPU 118 transmits the detected error signal to the management module 120.

상기 관리 모듈(120)은 상기 CPU(118)로부터 전송된 에러 신호를 수신하여 에러를 제어하는 역할을 한다. 즉, 상기 관리 모듈(120)은 전체 시스템을 제어 관리하는 역할을 한다.The management module 120 controls an error by receiving an error signal transmitted from the CPU 118. That is, the management module 120 controls the entire system.

도 2는 종래의 CPU를 사용하지 않고 에러 검출 및 전달을 하는 시스템의 구성도이다.2 is a configuration diagram of a system for error detection and transmission without using a conventional CPU.

도 2를 참조하면, CPU를 사용하지 않고 에러 검출 및 전달을 하는 시스템은 라인 인터페이스 모듈(Line intrerface Module)(200a, 200b...이하 200으로 칭함), IPC 모듈(210), 관리모듈(Management Module)(220)을 포함한다.Referring to FIG. 2, a system for detecting and transmitting an error without using a CPU includes a line intrerface module (200a, 200b ... hereinafter referred to as 200), an IPC module 210, and a management module. Module 220).

상기 라인 인터페이스 모듈(Line intrerface Module)(200)은 상기 관리 모듈(220)과 통신을 주고 받는 시스템이다. 또한, 상기 라인 인터페이스 모듈(210)은 각 모듈마다 에러 신호를 검출하고 상기 검출된 에러 신호를 상기 관리 모듈(Management Module)(220)로 전송할 수 있는 별도의 에러 검출용 핀을 포함한다. 상기 IPC 모듈(210)은 스위치 모듈(Switch Module)을 포함한다.The line interface module 200 is a system for communicating with the management module 220. In addition, the line interface module 210 includes a separate error detection pin for detecting an error signal for each module and transmitting the detected error signal to the management module 220. The IPC module 210 includes a switch module.

이하 도 1과 중복되는 부분의 상세한 설명은 도 1을 참조한다. 여기에서, 도 1과 도 2의 차이를 살펴보면, 도 1은 CPU가 에러를 감지하고, 상기 감지된 에러 신호를 관리 모듈에 전송하는데, 도 2는 라인 인터페이스 모듈에 에러 검출용 핀이 별도로 있어, 상기 에러 검출용 핀이 에러를 검출하고 상기 검출된 에러 신호를 상기 관리 모듈에 전송한다.Hereinafter, a detailed description of portions overlapping with FIG. 1 will be described with reference to FIG. 1. Here, referring to the difference between FIG. 1 and FIG. 2, FIG. 1 detects an error by a CPU and transmits the detected error signal to a management module. In FIG. 2, there is a separate pin for error detection in the line interface module. The error detecting pin detects an error and transmits the detected error signal to the management module.

그러나, 상기와 같은 종래에는 IPC 모듈에서 에러의 검출과 전달을 위해서CPU를 사용해야 하기 때문에 비용이 비싸지고, IPC 모듈의 구성도가 복잡해지는 문제점이 있다.However, in the related art, since the CPU must be used to detect and transmit an error in the IPC module, the cost is high and the configuration of the IPC module is complicated.

또한, IPC 모듈에서 CPU를 사용하기 때문에 소프트웨어의 처리 시간이 오래 걸리는 문제점이 있다.In addition, there is a problem that the processing time of the software takes a long time because the CPU is used in the IPC module.

또한, 각 라인 인터페이스 모듈(Line intrerface Module)에서 별도의 에러 검출용 핀을 사용하기 때문에 에러 검출 방법이 각각의 라인 인터페이스 모듈(Line intrerface Module)로 분산되는 문제점이 있다.In addition, since a separate error detecting pin is used in each line interface module, an error detection method is distributed to each line intrerface module.

또한, 관리모듈(Management Module)에서 복수의 라인 인터페이스 모듈(Line intrerface Module)과 핀으로 연결되어야하기 때문에 에러 처리가 분산되고, 백 플레인(back plane)이 복잡해지는 단점이 있다.In addition, since the management module must be connected to a plurality of line interface modules (Line intrerface Module) pins, error processing is distributed, and the back plane is complicated.

또한, 에러가 발생할 때마다 메인 시스템에 에러 신호를 전송하므로 메인 시스템에 과부하가 걸리는 문제점이 있다.In addition, since an error signal is transmitted to the main system whenever an error occurs, the main system is overloaded.

따라서, 본 발명의 목적은 PLD를 이용하여 에러를 검출하고 전달하므로 IPC 모듈의 구성도가 단순해지고, 시스템 설계의 비용을 적게 하는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공하는데 있다.Accordingly, an object of the present invention is to provide a method and apparatus for detecting and transmitting an error using a PLD which makes the configuration of the IPC module simple and reduces the cost of system design since the error is detected and transmitted using the PLD. .

본 발명의 다른 목적은 소프트웨어의 처리 시간을 줄일 수 있는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공하는데 있다.Another object of the present invention is to provide a method and apparatus for detecting and transmitting an error using a PLD that can reduce processing time of software.

본 발명의 또 다른 목적은 별도의 에러 검출용 핀을 사용하는 것이 아니라PLD를 사용하므로 에러 처리가 집중화되어 에러의 고속 처리가 가능한 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공하는데 있다.Still another object of the present invention is to provide a method and apparatus for detecting and transmitting an error using a PLD that can be processed at a high speed because error processing is concentrated because a PLD is used instead of a separate error detecting pin. .

본 발명의 또 다른 목적은 멀티플레서를 사용하여 PLD의 입출력 핀을 반으로 줄이고, MACRO CELL을 줄일 수 있어서 적은 용량의 PLD를 사용할 수 있는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공하는데 있다.It is still another object of the present invention to provide a method and apparatus for detecting and transmitting an error using a PLD that can reduce an input / output pin of a PLD in half using a multiplexer and reduce a MACRO CELL. It is.

본 발명의 또 다른 목적은 에러가 발생할 때마다 메인 시스템에 에러 신호를 전송하지 않고 에러 신호를 저장하였다가 상기 에러 신호가 일정 횟수만큼되면, 에러 신호를 전송하므로 메인 시스템의 과부하를 줄일 수 있는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공하는데 있다.Another object of the present invention is to store an error signal without transmitting an error signal to the main system whenever an error occurs, and when the error signal is a predetermined number of times, an error signal is transmitted, thereby reducing the overload of the main system. It is to provide a method and apparatus for detecting and transmitting an error using.

도 1은 종래의 CPU를 통한 에러 검출 및 전달 장치의 구성도.1 is a configuration diagram of an error detection and transmission apparatus through a conventional CPU.

도 2는 종래의 CPU를 사용하지 않고 에러 검출 및 전달을 하는 장치의 구성도.2 is a configuration diagram of an apparatus for error detection and transmission without using a conventional CPU.

도 3은 본 발명의 바람직한 일 실시예에 따른 PLD(Programable Logic Device)를 이용한 에러 검출 및 전달 장치의 구성도.3 is a block diagram of an error detection and transmission apparatus using a programmable logic device (PLD) according to an embodiment of the present invention.

도 4a는 본 발명의 바람직한 일 실시예에 따른 PLD를 구현하기 위한 상태도를 나타낸 도면.4A illustrates a state diagram for implementing a PLD according to a preferred embodiment of the present invention.

도 4b는 본 발명의 바람직한 다른 실시예에 따른 PLD를 구현하기 위한 흐름도를 나타낸 도면.4B is a flow diagram for implementing a PLD according to another preferred embodiment of the present invention.

도 5는 본 발명의 바람직한 다른 실시예에 따른 PLD와 이중화된 CPU를 이용한 에러 검출 및 전달 장치의 구성도.5 is a block diagram of an error detection and transmission apparatus using a PLD and a redundant CPU according to another embodiment of the present invention.

도 6은 본 발명의 일 실시예에 따른 PLD와 이중화된 CPU를 이용한 에러 검출 및 전달 방법을 나타낸 흐름도.6 is a flowchart illustrating an error detection and transmission method using a PLD and a redundant CPU according to an embodiment of the present invention.

도 7은 본 발명의 바람직한 다른 실시예에 따른 PLD와 이중화된 CPU를 이용한 에러 검출 및 전달 방법을 나타낸 흐름도.7 is a flowchart illustrating an error detection and transmission method using a PLD and a redundant CPU according to another embodiment of the present invention.

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

100, 200, 300, 500 : 라인 인터페이스 모듈100, 200, 300, 500: line interface module

110, 210, 310, 510 : IPC 모듈 114, 214, 314, 514 : 스위치 모듈110, 210, 310, 510: IPC module 114, 214, 314, 514: switch module

118 : CPU 120, 220, 320, 520 : 관리 모듈118: CPU 120, 220, 320, 520: management module

318, 518 : PLD 530 : 멀티플렉서318, 518: PLD 530: multiplexer

524 : 활동 CPU 528 : 예비 CPU524: Activity CPU 528: Spare CPU

상기 목적들을 달성하기 위하여 본 발명의 일 측면에 따르면, 인터페이스 모듈과 관리 모듈 사이의 데이터 전송 과정에서 에러를 검출하고 전달하는 방법에 있어서, 에러 신호가 감지되는지의 여부를 판단하고, 상기 판단 결과 에러 신호가 감지되면, 상기 에러 신호가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가한 후, 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 상기 관리 모듈에 에러 신호를 전송하는 PLD를 이용하여 에러를 검출하고 전달하는 방법을 제공할 수 있다.According to an aspect of the present invention to achieve the above object, in the method for detecting and transmitting an error in the data transmission process between the interface module and the management module, it is determined whether an error signal is detected, the determination result error When the signal is detected, storing the information of the state in which the error signal is detected, increasing the error counter, and using the PLD for transmitting an error signal to the management module when the increased error counter exceeds a predetermined number of times. To provide a method for detecting and communicating errors.

상기 에러 신호가 감지된 각 상태의 정보는 데이터 전송의 맨 마지막 단계에 저장되는 것을 포함한다.Information of each state in which the error signal is detected includes storing at the last stage of data transmission.

상기 판단 결과 에러 신호가 감지되면, 상기 에러 신호가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가하는 것에서 상기 에러 신호가 감지된 상태는 미리 정해진 일정 시간이 경과되면 초기 상태로 되돌아갈 수 있다.When the error signal is detected as a result of the determination, the information on the state where the error signal is detected is stored, and when the error counter is increased, the state where the error signal is detected may return to an initial state after a predetermined time elapses. .

상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 상기 관리 모듈에 에러 신호를 전송하는 것에서 미리 정해진 일정 시간이 경과되면 초기 상태로 되돌아갈 수 있다.When the incremented error counter exceeds a predetermined number of times, the controller may return to an initial state after a predetermined time elapses in transmitting an error signal to the management module.

본 발명의 다른 측면에 따르면, 인터페이스 모듈과 관리 모듈 사이의 데이터 전송 과정에서 에러를 검출하고 전달하는 방법에 있어서, 상기 관리 모듈에서 활동 CPU 정보와 예비 CPU 정보를 수신하고, 에러 신호가 감지되는지의 여부를 판단하여, 상기 에러 신호가 감지되면, 상기 에러 신호가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가한 후, 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 상기 에러 신호와 상기 수신된 활동 CPU 정보를 멀티플렉서에 전송하면, 상기 멀티플렉서는 상기 수신된 활동 CPU정보에 상응하는 활동 CPU에 상기 수신된 에러 신호를 전송하는 PLD를 이용하여 에러를 검출하고 전달하는 방법을 제공할 수 있다.According to another aspect of the present invention, a method for detecting and transmitting an error in a data transmission process between an interface module and a management module, wherein the management module receives active CPU information and spare CPU information and determines whether an error signal is detected. If it is determined whether or not the error signal is detected, the information on the detected state of the error signal is stored, and if the error counter is increased, and if the increased error counter exceeds a predetermined number of times, the error signal and the When the received activity CPU information is transmitted to the multiplexer, the multiplexer may provide a method for detecting and transmitting an error using a PLD for transmitting the received error signal to the activity CPU corresponding to the received activity CPU information. .

상기 활동 CPU는 현재 동작하고 있는 CPU이고, 상기 예비 CPU는 상기 활동 CPU가 문제가 생겼을 경우, 상기 활동 CPU를 대체해서 작동하기 위한 CPU이다.The active CPU is a CPU that is currently operating, and the spare CPU is a CPU for operating by replacing the active CPU when the active CPU has a problem.

본 발명의 또다른 측면에 따르면, 인터페이스 모듈과 관리 모듈 사이의 신호 전송 과정에서 에러를 검출하는 장치에 있어서, 상기 인터페이스 모듈과 상기 관리 모듈 사이에서 송수신 신호들을 스위칭하는 스위칭 수단, 상기 신호 전송 과정에서에러를 감지하여 상기 에러가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가한 후, 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 에러 신호를 전송하는 에러 신호 감지 수단을 포함하는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공할 수 있다.According to another aspect of the invention, in the device for detecting an error in the signal transmission process between the interface module and the management module, switching means for switching the transmission and reception signals between the interface module and the management module, in the signal transmission process A PLD including error signal detecting means for detecting an error, storing information of the detected state, increasing the error counter, and transmitting an error signal when the increased error counter exceeds a predetermined number of times; It is possible to provide a method and apparatus for detecting and conveying an error by using the same.

상기 에러 신호 감지 수단은 PLD일 수 있다.The error signal detecting means may be a PLD.

본 발명의 또다른 측면에 따르면, 인터페이스 모듈과 관리 모듈 사이의 신호 전송 과정에서 에러를 검출하고 전달하는 장치에 있어서, 상기 인터페이스 모듈과 상기 관리 모듈 사이에서 송수신 신호들을 스위칭하는 스위칭 수단, 상기 관리 모듈에서 CPU 정보를 수신하고, 에러 신호가 감지되면, 상기 에러 신호가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가한 후, 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 상기 에러 신호와 상기 수신된 CPU 정보를 전송하는 에러 신호 감지 수단, 상기 수신된 CPU 정보에서 활동 CPU에게 상기 수신된 에러 신호를 전송하는 전송 수단을 포함하는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공할 수 있다.According to another aspect of the present invention, an apparatus for detecting and transmitting an error in a signal transmission process between an interface module and a management module, the switching means for switching the transmission and reception signals between the interface module and the management module, the management module Receives the CPU information, stores the information of the detected state of the error signal, increases the error counter, and if the increased error counter exceeds a predetermined number of times, And a method and apparatus for detecting and transmitting an error using a PLD including an error signal detecting means for transmitting the received CPU information and a transmitting means for transmitting the received error signal to an active CPU in the received CPU information. can do.

상기 관리 모듈은 활동 CPU와 예비 CPU를 포함하는 이중화 CPU이고, 상기 CPU 정보는 활동 CPU와 예비 CPU의 구별 정보이다.The management module is a redundant CPU including an active CPU and a spare CPU, and the CPU information is distinguishing information between the active CPU and the spare CPU.

상기 전송 수단은 멀티플렉서일 수 있다.The transmission means may be a multiplexer.

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

도 3은 본 발명의 바람직한 일 실시예에 따른 PLD(Programable Logic Divice)를 이용한 에러 검출 및 전달 장치의 구성도이다.3 is a block diagram of an error detection and transmission apparatus using a programmable logic division (PLD) according to an embodiment of the present invention.

도 3을 참조하면, PLD(Programable Logic Divice)를 이용한 에러 검출 및 전달 장치는 라인 인터페이스 모듈(Line intrerface Module)(300a, 300b...이하 300으로 칭함), IPC 모듈(310), 관리모듈(Management Module)(320)을 포함한다.Referring to FIG. 3, an error detection and transmission apparatus using a programmable logic division (PLD) includes a line intrerface module (300a, 300b, hereinafter referred to as 300), an IPC module 310, and a management module ( Management module 320).

상기 라인 인터페이스 모듈(Line intrerface Module)(300)은 상기 관리 모듈(Management Module)(320)과 통신을 주고 받을 수 있는 시스템이다.The line intrerface module 300 is a system capable of communicating with the management module 320.

즉, 라인 인터페이스 모듈(300)은 데이터를 IPC모듈(310)에 전송한다.That is, the line interface module 300 transmits data to the IPC module 310.

상기 IPC 모듈(310)은 상기 라인 인터페이스 모듈(300)로부터 전송된 데이터를 상기 관리 모듈(320)과의 통신을 통해 처리한다. 상기 IPC모듈(310)은 스위치 모듈(Switch Module)(314)과 PLD(318)를 포함한다.The IPC module 310 processes data transmitted from the line interface module 300 through communication with the management module 320. The IPC module 310 includes a switch module 314 and a PLD 318.

상기 스위치 모듈(Switch Module)(314)은 상기 라인 인터페이스 모듈(100)로부터 전송된 데이터의 경로등을 선택하여 상기 관리 모듈(320)에 전송한다.The switch module 314 selects a path of data transmitted from the line interface module 100 and transmits the selected path to the management module 320.

상기 PLD(318)는 상기 라인 인터페이스 모듈(300)과 상기 관리 모듈(Management Module)(320)의 신호 전송 과정을 감시하여 에러를 감지하는 역할을 한다. 상기 PLD(318)는 상기 감지된 에러 신호를 상기 관리 모듈(320)에 전송한다.The PLD 318 detects an error by monitoring a signal transmission process between the line interface module 300 and the management module 320. The PLD 318 transmits the detected error signal to the management module 320.

상기 관리 모듈(320)은 상기 PLD(318)로부터 전송된 에러 신호를 수신하여 에러를 제어하는 역할을 한다. 즉, 상기 관리 모듈(320)은 전체 시스템을 제어 관리하는 역할을 한다.The management module 320 controls an error by receiving an error signal transmitted from the PLD 318. That is, the management module 320 serves to control and manage the entire system.

이하 PLD에서 에러 신호를 검출하고 전송하는 방법에 대한 상세한 설명은 도4a 내지 도 4b를 참조한다.Hereinafter, a detailed description of a method of detecting and transmitting an error signal in a PLD will be described with reference to FIGS. 4A to 4B.

도 4a는 본 발명의 바람직한 일 실시예에 따른 PLD를 구현하기 위한 상태도를 나타낸 도면이다.4A is a diagram illustrating a state diagram for implementing a PLD according to an exemplary embodiment of the present invention.

도 4a를 참조하면, S0의 상태는 시스템이 초기화 되기 전의 상태로 리셋(Reset)이 걸려 있는 상태이므로, 클럭(clock)과 카운트(count) 모두 0인 상태이다. S1의 상태는 '리셋=1'이고 초기화 단계일 수 있다. 예를 들어, 카운터를 3비트 카운트(3bit count)라 하면, S1은 '000'인 상태가 된다.Referring to FIG. 4A, since the state of S0 is a state before the system is initialized, Reset is applied, so both the clock and the count are zero. The state of S1 may be 'reset = 1' and may be an initialization step. For example, if the counter is a 3-bit count, S1 is in a '000' state.

S2는 S1의 상태에서 카운터가 증가된 상태이다. 예를 들면, 상기 S2의 카운트는 '001'일 수 있다. 상기 S2의 상태에서 에러가 발생하면, 상기 S2의 정보는 마지막 단계인 S4로 전송되어 저장된다. 또한, 상기 S2에서 에러가 발생되면, 상기 S4는 에러 카운터를 1증가 시킬 수 있다. 따라서, 상기 S4에는 S2의 카운터는 '001', 에러카운트 '1회'등의 형태로 S2의 정보가 저장된다.S2 is a state where the counter is increased in the state of S1. For example, the count of S2 may be '001'. If an error occurs in the state of the S2, the information of the S2 is transmitted and stored in the last step S4. In addition, if an error occurs in S2, S4 may increase the error counter by one. Therefore, in S4, the information of S2 is stored in the form of a counter of S2 in the form of "001", an error count "once", or the like.

상기 S2와 같이 S3에서 에러가 발생하면, 상기 S3의 정보는 마지막 단계인 S4로 전송되어 저장된다. 또한, 상기 S4는 에러 카운터를 1증가 시킬 수 있다. 따라서, S4는 카운트 '011', 에러카운트 '2회' 등의 형태로 정보가 저장된다.If an error occurs in S3 as in S2, the information of S3 is transmitted to and stored in S4, which is the last step. In addition, the S4 may increase the error counter by one. Therefore, in S4, information is stored in the form of a count '011', an error count 'twice', and the like.

여기에서 만약 상기 S4의 에러 카운터가 가득차면, 상기 S4는 관리 모듈에 에러 신호를 전송한다. 상기 S4는 에러 신호를 전송한 후, 미리 정해진 일정 시간이 경과되면, S1의 상태가 된다.Here, if the error counter of S4 is full, S4 sends an error signal to the management module. After the predetermined time elapses after the error signal is transmitted, S4 enters the state of S1.

도 4b는 본 발명의 바람직한 다른 실시예에 따른 PLD를 구현하기 위한 흐름도를 나타낸 도면이다.4B is a flowchart illustrating a PLD according to another preferred embodiment of the present invention.

도 4b를 참조하면, 리셋, 클럭, 카운터가 0인 S1 즉, 초기화 상태이다(S400). 신호가 전송되면, S2 상태(예를 들면, 3비트의 경우 카운터=001일 수 있다)가 된다(S405).Referring to FIG. 4B, the reset, clock, and counter are S1, that is, an initialization state (S400). When the signal is transmitted, the state is S2 (for example, in the case of 3 bits, the counter may be 001) (S405).

상기 S2에서 에러가 감지되면(S410), 상기 S2 정보는 S4로 전송되어 저장된다(S415). 그런다음 S4의 에러 카운터는 1회 증가된다(S420). 예를들어 3비트 카운터의 경우를 살펴보자. 상기 S2의 카운터가 '001'일 경우, 상기 S2의 카운터는 상기 S4의 카운터에 '001'의 형태로 저장된다. 상기 S4의 에러 카운터는 '001' 또는 '1회' 등의 형태로 저장될 수 있다.If an error is detected in S2 (S410), the S2 information is transmitted and stored in S4 (S415). Then, the error counter of S4 is incremented once (S420). For example, consider the case of a 3-bit counter. When the counter of S2 is '001', the counter of S2 is stored in the form of '001' in the counter of S4. The error counter of S4 may be stored in the form of '001' or 'once'.

단계 420을 수행한 후, S4의 에러 카운터가 가득찼는지의 여부를 판단한다(S425). 단계 425의 결과 S4의 에러 카운터가 가득찼다면, S4는 관리 모듈에 에러 신호를 전송할 수 있다(S430).After performing step 420, it is determined whether the error counter of S4 is full (S425). If the result of step 425 is the error counter of S4 is full, S4 may transmit an error signal to the management module (S430).

만약, 단계 425의 결과 상기 S4의 에러 카운터가 가득차지 않았다면, S2가 에러 감지후 일정 시간이 경과 되었는지의 여부를 판단한다(S450).If, as a result of step 425, the error counter of S4 is not full, S2 determines whether a predetermined time has elapsed after detecting the error (S450).

단계 450의 판단 결과, 상기 S2의 에러 감지후 일정 시간이 경과되면, 상기 S2는 S1의 초기화 상태가 된다(S400). 상기 일정 시간은 시스템 개발자, 관리자에 의해 임으로 설정 또는 변경될 수 있다.As a result of the determination in step 450, if a predetermined time elapses after the detection of the error in S2, the S2 is in the initialization state of S1 (S400). The predetermined time may be arbitrarily set or changed by a system developer or an administrator.

만약, 단계 410의 판단 결과 S2에서 에러 신호가 감지되지 않으면, 상기 S2는 S3상태로 된다(S435). 상기 S3는 예를 들어, 카운터가 3비트인 경우 '010'일 수 있다. 그런다음 상기 S3에서 에러 신호가 감지되는지의 여부를 판단한다(S440).If the error signal is not detected in S2 as a result of the determination of step 410, the S2 is in the S3 state (S435). For example, S3 may be '010' when the counter has 3 bits. Then, it is determined whether an error signal is detected in S3 (S440).

단계 440의 판단 결과, 상기 S3에서 에러 신호가 감지되면, 상기 S3는 S4로 전송되고, 카운터는 '011'등의 형태로 S4에 저장된다(S445). 그런다음 S4의 에러 카운터는 '010' 또는 '2회' 등의 형태로 증가된다(S420).As a result of the determination of step 440, if an error signal is detected in S3, S3 is transmitted to S4, and the counter is stored in S4 in the form of '011' or the like (S445). Then, the error counter of S4 is incremented in the form of '010' or 'twice', etc. (S420).

만약, 단계 440의 판단 결과 S3에서 에러가 감지되지 않으면, S3는 S4에 데이터를 전송한다(S455).If an error is not detected in S3 as a result of the determination of step 440, S3 transmits data to S4 (S455).

단계 420을 수행한 후, S4의 에러 카운터가 가득찼는지의 여부를 판단한다(S425). 단계 425의 결과 S4의 에러 카운터가 가득찼다면, S4는 관리 모듈에 에러 신호를 전송한다(S430). 예를 들어 S4의 최대 수용 에러 카운터가 '2회'로 설정된 경우를 살펴보자. S2와 S3에서 에러가 감지되면, 상기 S4의 에러 카운터는 가득차게 되어 에러 신호를 관리 모듈에 전송한다.After performing step 420, it is determined whether the error counter of S4 is full (S425). If the result of step 425 is the error counter of S4 is full, S4 transmits an error signal to the management module (S430). For example, consider the case where the maximum acceptance error counter of S4 is set to 'twice'. If an error is detected in S2 and S3, the error counter of S4 becomes full and transmits an error signal to the management module.

상기 S4는 에러 신호를 전달한 후 자동적으로 S1의 초기화 상태가 된다.S4 is automatically initialized to S1 after transmitting the error signal.

도 5는 본 발명의 바람직한 일 실시예에 따른 PLD와 이중화된 CPU를 이용한 에러 검출 및 전달 장치의 구성도를 나타낸 도면이다.5 is a diagram illustrating a configuration of an error detection and transmission apparatus using a PLD and a redundant CPU according to an exemplary embodiment of the present invention.

도 5를 참조하면, PLD와 이중화된 CPU를 이용한 에러 검출 및 전달 시스템은 라인 인터페이스 모듈(Line intrerface Module)(500a, 500b,....이하 500으로 칭함), IPC 모듈(510), 관리모듈(520), 멀티플렉서(MUX, Multiplexer)(530)를 포함한다.Referring to FIG. 5, an error detection and transmission system using a PLD and a redundant CPU includes a line intrerface module (500a, 500b,... 500 hereinafter), an IPC module 510, a management module. 520, a multiplexer (MUX) 530.

상기 IPC 모듈(510)은 스위치 모듈(Switch Module)(514)과 PLD(Programable Logic Device)(518)를 포함한다. 상기 스위치 모듈(514)은 이중화된 CPU와 라인 인터페이스 모듈(500)간의 데이터를 송수신 하는 기능을 수행한다.The IPC module 510 includes a switch module 514 and a programmable logic device (PLD) 518. The switch module 514 transmits and receives data between the redundant CPU and the line interface module 500.

상기 관리모듈(520)은 활동 CPU(Active CPU)(524), 예비 CPU(Standby CPU)(528)를 포함한다. 상기 활동 CPU(Active CPU)(524)는 현재 동작하고 있는 CPU일 수 있다. 상기 예비 CPU(Standby CPU)(528)는 상기 활동 CPU(524)가 문제가 생겼을 경우, 상기 활동 CPU(524)를 대체해서 작동하기 위한 CPU일 수 있다.The management module 520 includes an active CPU 524 and a standby CPU 528. The active CPU 524 may be a CPU currently operating. The standby CPU 528 may be a CPU to replace the active CPU 524 when the active CPU 524 has a problem.

또한, 상기 관리모듈(520)은 상기 활동 CPU(524)와 상기 예비 CPU(528)간에 서로 주고 받는 신호를 PLD(518)에 보내주는 역할을 한다.In addition, the management module 520 transmits signals to and from the active CPU 524 and the spare CPU 528 to each other to the PLD 518.

상기 PLD(518)는 관리모듈(520)에서 전송된 신호를 수신하여 활동 CPU(524)와 예비 CPU(528)를 구별한다. 예를 들어, 활동 CPU(524)는 'low' 또는 '0'에서 신호를 전송하고, 예비 CPU(528)는 'HIGH' 또는 '1'에서 신호를 전송하는 경우를 살펴보자. 'LOW'상태에서 신호가 전송되면, 상기 PLD(518)는 상기 신호를 전송한 CPU가 활동 CPU(524)라는 것을 알 수 있다. 상기와 같이 상기 PLD(518)는 어떤 CPU가 활동 CPU(524)인지 판단할 수 있다.The PLD 518 receives a signal transmitted from the management module 520 to distinguish the active CPU 524 from the spare CPU 528. For example, consider the case where the active CPU 524 transmits a signal at 'low' or '0', and the spare CPU 528 transmits a signal at 'HIGH' or '1'. When a signal is sent in the 'LOW' state, the PLD 518 may know that the CPU that sent the signal is an active CPU 524. As above, the PLD 518 may determine which CPU is the active CPU 524.

또한, 상기 PLD(518)는 에러를 검출하고 상기 검출된 에러에 상응하는 에러 신호를 멀티플렉서(530)에 전송하는 역할을 한다. 즉, 상기 PLD(518)는 상기 활동 CPU(524)와 상기 예비 CPU(528)의 정보를 포함하는 CPU 정보와 에러 신호를 멀티플렉서(530)에 전송하는 역할을 한다.In addition, the PLD 518 detects an error and transmits an error signal corresponding to the detected error to the multiplexer 530. That is, the PLD 518 transmits CPU information including the information of the active CPU 524 and the spare CPU 528 and an error signal to the multiplexer 530.

상기 멀티플렉서(530)는 상기 PLD(518)에서 전송된 CPU 정보와 에러 신호를 수신하여, 상기 활동 CPU(524)에게 상기 에러 신호를 전송한다.The multiplexer 530 receives the CPU information and the error signal transmitted from the PLD 518 and transmits the error signal to the active CPU 524.

즉, 상기 멀티플렉서(530)은 PLD(518)의 복수의 출력 회로에서 입력되는 에러 정보 중 적어도 하나의 입력 신호를 선택하여 출력하는 역할을 한다.That is, the multiplexer 530 selects and outputs at least one input signal among error information input from a plurality of output circuits of the PLD 518.

도 6은 본 발명의 일 실시예에 따른 PLD와 이중화된 CPU를 이용한 에러 검출 및 전달 방법을 나타낸 흐름도이다.6 is a flowchart illustrating an error detection and transmission method using a PLD and a redundant CPU according to an embodiment of the present invention.

도 6을 참조하면, 라인 인터페이스 모듈과 관리 모듈사이의 데이터 전송 과정에서 상기 관리 모듈의 CPU 정보를 수신한다(S600). 즉, 상기 관리 모듈로부터 활동 CPU와 예비 CPU의 구별 정보를 수신한다. 예를 들어, 활동 CPU는 'low' 또는 '0'에서 신호를 전송하고, 예비 CPU는 'HIGH' 또는 '1'에서 신호를 전송하는 경우를 살펴보자. 'LOW'상태에서 신호가 전송되면, 상기 신호를 전송한 CPU가 활동 CPU이고, 'HIGH'상태에서 신호가 전송되면, 상기 신호를 전송한 CPU가 예비 CPU라고 할 수 있다.Referring to FIG. 6, CPU information of the management module is received in a data transmission process between the line interface module and the management module (S600). That is, the discrimination information between the active CPU and the spare CPU is received from the management module. For example, consider the case where the active CPU sends a signal at 'low' or '0' and the spare CPU sends a signal at 'HIGH' or '1'. When a signal is transmitted in the 'LOW' state, the CPU that transmits the signal is an active CPU, and when the signal is transmitted in the 'HIGH' state, the CPU that transmits the signal may be a spare CPU.

단계 600의 수행후, 데이터의 전송 과정에서 에러가 감지되는지의 여부를 판단한다(S610). 단계 610의 결과 에러가 감지되면, 상기 수신된 CPU 정보로부터 활동 CPU를 표시한 CPU정보와 에러 신호를 멀티플렉서에 전송한다(S620). 그런다음 상기 멀티플레서는 상기 활동 CPU에 상기 에러 신호를 전송한다(S630).After performing step 600, it is determined whether an error is detected in the data transmission process (S610). If an error is detected as a result of step 610, the CPU information and an error signal indicating an active CPU are transmitted to the multiplexer from the received CPU information (S620). Then, the multiplexer transmits the error signal to the active CPU (S630).

만약 단계 610의 결과, 에러가 감지되지 않으면, 단계를 종료한다.If, as a result of step 610, no error is detected, the step ends.

도 7은 본 발명의 바람직한 다른 실시예에 따른 PLD와 이중화된 CPU를 이용한 에러 검출 및 전달 방법을 나타낸 흐름도이다.7 is a flowchart illustrating an error detection and transmission method using a PLD and a redundant CPU according to another exemplary embodiment of the present invention.

도 7을 참조하면, 라인 인터페이스 모듈과 관리 모듈사이의 데이터 전송 과정에서 상기 관리 모듈의 CPU 정보를 수신한다(S700). 상기 CPU정보는 활동 CPU와 예비 CPU의 구별 정보일 수 있다.Referring to FIG. 7, in the data transmission process between the line interface module and the management module, CPU information of the management module is received (S700). The CPU information may be distinguishing information between an active CPU and a spare CPU.

단계 700의 수행후, 데이터의 전송 과정에서 에러가 감지되는지의 여부를 판단한다(S710). 단계 710의 결과 에러가 감지되면, 상기 에러가 감지된 상태의 정보를 저장한 후, 에러 카운터를 증가한다(S720).After performing step 700, it is determined whether an error is detected in the data transmission process (S710). If an error is detected as a result of step 710, after storing the information of the detected state, the error counter is incremented (S720).

그런다음 상기 증가된 에러 카운터가 미리 정해진 일정 회수를 넘었는지를 판단한다(S730). 단계 730의 판단 결과, 상기 에러 카운터가 미리 정해진 일정 회수를 넘었다면, 상기 수신된 CPU 정보로부터 활동 CPU를 표시한 CPU정보와 에러 신호를 멀티플렉서에 전송한다(S740). 그런다음 상기 멀티플레서는 상기 활동 CPU에 상기 에러 신호를 전송한다(S750).Then, it is determined whether the increased error counter has exceeded a predetermined number of times (S730). As a result of the determination in step 730, if the error counter exceeds a predetermined number of times, CPU information indicating an active CPU and an error signal are transmitted from the received CPU information to the multiplexer (S740). Then, the multiplexer transmits the error signal to the active CPU (S750).

만약 단계 730의 결과 상기 에러 카운터가 미리 정해진 일정회수를 넘지 않았다면, 관리 모듈에 데이터를 전송할 수 있다(S760).If the error counter does not exceed a predetermined number of times as a result of step 730, data may be transmitted to the management module (S760).

본 발명은 상기 실시예에 한정되지 않으며, 많은 변형이 본 발명의 사상 내에서 당 분야에서 통상의 지식을 가진 자에 의하여 가능함은 물론이다.The present invention is not limited to the above embodiments, and many variations are possible by those skilled in the art within the spirit of the present invention.

상술한 바와 같이 본 발명에 따르면, PLD를 이용하여 에러 검출 및 전달하여 IPC 모듈의 구성도가 단순해지고, 시스템 설계의 비용을 적게 하는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공할 수 있다.As described above, according to the present invention, there is provided a method and apparatus for detecting and transmitting an error using a PLD, which simplifies the configuration of an IPC module by detecting and transmitting an error using a PLD and reduces the cost of system design. Can be.

또한, 본 발명에 따르면, 소프트웨어의 처리 시간을 줄일 수 있는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공할 수 있다.In addition, according to the present invention, it is possible to provide a method and apparatus for detecting and transmitting an error using a PLD that can reduce the processing time of the software.

또한, 본 발명에 따르면, 별도의 에러 검출용 핀을 사용하는 것이 아니라 PLD를 사용하므로 에러 처리가 집중화되어 에러의 고속 처리가 가능한 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공할 수 있다.In addition, according to the present invention, since a PLD is used instead of a separate error detecting pin, a method and an apparatus for detecting and transmitting an error using a PLD capable of high-speed processing of an error can be provided. have.

또한, 본 발명에 따르면 멀티플레서를 사용하여 PLD의 입출력 핀을 반으로 줄이고, MACRO CELL을 줄일 수 있어서 적은 용량의 PLD를 사용할 수 있는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공할 수 있다.In addition, according to the present invention can provide a method and apparatus for detecting and transmitting an error using a PLD that can reduce the input and output pins of the PLD in half and reduce the MACRO CELL using a multiplexer. Can be.

또한, 본 발명에 따르면 에러가 발생할 때마다 메인 시스템에 에러 정보를 전송하지 않고 에러 정보를 저장하였다가 상기 에러 정보가 일정 횟수만큼되면, 에러 정보를 전송하므로 메인 시스템의 과부하를 줄일 수 있는 PLD를 이용하여 에러를 검출하고 전달하는 방법 및 장치를 제공할 수 있다.In addition, according to the present invention, when the error occurs, the error information is stored without transmitting the error information to the main system, and when the error information is a certain number of times, the error information is transmitted, thereby reducing the overload of the main system. It is possible to provide a method and apparatus for detecting and conveying an error by using the same.

Claims (12)

인터페이스 모듈과 관리 모듈 사이의 데이터 전송 과정에서 에러를 검출하고 전달하는 방법에 있어서,In the method for detecting and transmitting an error in the data transmission process between the interface module and the management module, 에러 신호가 감지되는지의 여부를 판단하는 단계;Determining whether an error signal is detected; 상기 판단 결과 에러 신호가 감지되면, 상기 에러 신호가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가하는 단계; 및If the error signal is detected as a result of the determination, storing information of the state where the error signal is detected, and incrementing an error counter; And 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 상기 관리 모듈에 에러 신호를 전송하는 단계;If the incremented error counter exceeds a predetermined number of times, transmitting an error signal to the management module; 를 포함하는 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 방법.Method for detecting and transmitting errors using a PLD, characterized in that it comprises a. 제 1항에 있어서,The method of claim 1, 상기 에러 신호가 감지된 각 상태의 정보는 데이터 전송의 맨 마지막 단계에 저장되는 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 방법.Information of each state in which the error signal is detected is stored at the last stage of data transmission. 제 1항에 있어서,The method of claim 1, 상기 판단 결과 에러 신호가 감지되면, 상기 에러 신호가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가하는 단계에서 상기 에러 신호가 감지된 상태는 미리 정해진 일정 시간이 경과되면 초기 상태로 되돌아가는 단계가 수행되는 것을특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 방법.If the error signal is detected as a result of the determination, storing the information of the state in which the error signal is detected, and returning to the initial state after the predetermined time elapses when the error signal is detected in the step of increasing the error counter A method for detecting and communicating errors using a PLD characterized in that is performed. 제 1항에 있어서,The method of claim 1, 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 상기 관리 모듈에 에러 신호를 전송하는 단계에서 미리 정해진 일정 시간이 경과되면 초기 상태로 되돌아가는 단계가 수행되는 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 방법.If the incremented error counter exceeds a predetermined number of times, the step of returning to an initial state after a predetermined time elapses in the step of transmitting an error signal to the management module is performed using the PLD. How to detect and deliver. 인터페이스 모듈과 관리 모듈 사이의 데이터 전송 과정에서 에러를 검출하고 전달하는 방법에 있어서,In the method for detecting and transmitting an error in the data transmission process between the interface module and the management module, 상기 관리 모듈에서 활동 CPU 정보와 예비 CPU 정보를 수신하는 단계;Receiving activity CPU information and spare CPU information at the management module; 에러 신호가 감지되는지의 여부를 판단하는 단계;Determining whether an error signal is detected; 상기 에러 신호가 감지되면, 상기 에러 신호가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가하는 단계;If the error signal is detected, storing information on a state in which the error signal is detected, and incrementing an error counter; 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 상기 에러 신호와 상기 수신된 활동 CPU 정보를 멀티플렉서에 전송하는 단계; 및If the incremented error counter exceeds a predetermined number of times, transmitting the error signal and the received activity CPU information to a multiplexer; And 상기 멀티플레서는 상기 수신된 활동 CPU정보에 상응하는 활동 CPU에 상기 수신된 에러 신호를 전송하는 단계The multiplexer transmitting the received error signal to an active CPU corresponding to the received active CPU information. 를 포함하는 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 방법.Method for detecting and transmitting errors using a PLD, characterized in that it comprises a. 제 5항에 있어서,The method of claim 5, 상기 활동 CPU는 현재 동작하고 있는 CPU이고, 상기 예비 CPU는 상기 활동 CPU가 문제가 생겼을 경우, 상기 활동 CPU를 대체해서 작동하기 위한 CPU인 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 방법.The active CPU is a CPU that is currently operating, and the spare CPU is a CPU for operating by replacing the active CPU when the active CPU has a problem. . 인터페이스 모듈과 관리 모듈 사이의 신호 전송 과정에서 에러를 검출하고 전달하는 장치에 있어서,An apparatus for detecting and transmitting an error in a signal transmission process between an interface module and a management module, 상기 인터페이스 모듈과 상기 관리 모듈 사이에서 송수신 신호들을 스위칭하는 스위칭 수단;Switching means for switching transmission and reception signals between the interface module and the management module; 상기 신호 전송 과정에서 에러를 감지하여 상기 에러가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가한 후, 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 에러 신호를 전송하는 에러 신호 감지 수단Error signal detecting means for detecting an error in the signal transmission process, storing information of the detected state, increasing the error counter, and transmitting an error signal when the increased error counter exceeds a predetermined number of times. 를 포함하는 PLD를 이용하여 에러를 검출하고 전달하는 장치.Apparatus for detecting and transmitting errors using a PLD comprising a. 제 7항에 있어서,The method of claim 7, wherein 상기 에러 신호 감지 수단은 PLD인 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 장치.And the error signal detecting means is a PLD. 인터페이스 모듈과 관리 모듈 사이의 신호 전송 과정에서 에러를 검출하고 전달하는 장치에 있어서,An apparatus for detecting and transmitting an error in a signal transmission process between an interface module and a management module, 상기 인터페이스 모듈과 상기 관리 모듈 사이에서 송수신 신호들을 스위칭하는 스위칭 수단;Switching means for switching transmission and reception signals between the interface module and the management module; 상기 관리 모듈에서 CPU 정보를 수신하고, 에러 신호가 감지되면, 상기 에러 신호가 감지된 상태의 정보를 저장하고, 에러 카운터를 증가한 후, 상기 증가된 에러 카운터가 미리 정해진 일정 횟수를 넘는 경우, 상기 에러 신호와 상기 수신된 CPU 정보를 전송하는 에러 신호 감지 수단; 및When the management module receives the CPU information, when the error signal is detected, stores the information of the detected state of the error signal, increases the error counter, and when the incremented error counter exceeds a predetermined number of times, Error signal detecting means for transmitting an error signal and the received CPU information; And 상기 수신된 CPU 정보에서 활동 CPU에게 상기 수신된 에러 신호를 전송하는 전송수단Transmission means for transmitting the received error signal to an active CPU in the received CPU information 를 포함하는 PLD를 이용하여 에러를 검출하고 전달하는 장치.Apparatus for detecting and transmitting errors using a PLD comprising a. 제 9항에 있어서,The method of claim 9, 상기 관리 모듈은 활동 CPU와 예비 CPU를 포함하는 이중화 CPU인 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 장치.And the management module is a redundant CPU including an active CPU and a spare CPU. 제 9항에 있어서,The method of claim 9, 상기 CPU 정보는 활동 CPU와 예비 CPU의 구별 정보인 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 장치.And the CPU information is distinguishing information between an active CPU and a spare CPU. 제 9항에 있어서,The method of claim 9, 상기 전송 수단은 멀티플렉서인 것을 특징으로 하는 PLD를 이용하여 에러를 검출하고 전달하는 장치.And said transmitting means is a multiplexer.
KR1020010087897A 2001-12-29 2001-12-29 Method and Apparatus for detecting and transmitting of Error using PLD KR20030057808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010087897A KR20030057808A (en) 2001-12-29 2001-12-29 Method and Apparatus for detecting and transmitting of Error using PLD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010087897A KR20030057808A (en) 2001-12-29 2001-12-29 Method and Apparatus for detecting and transmitting of Error using PLD

Publications (1)

Publication Number Publication Date
KR20030057808A true KR20030057808A (en) 2003-07-07

Family

ID=32215572

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010087897A KR20030057808A (en) 2001-12-29 2001-12-29 Method and Apparatus for detecting and transmitting of Error using PLD

Country Status (1)

Country Link
KR (1) KR20030057808A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272719A (en) * 1995-03-30 1996-10-18 Mitsubishi Electric Corp Communication interface circuit
JPH1196084A (en) * 1997-09-16 1999-04-09 Anritsu Corp Fault detector
KR20030027351A (en) * 2001-09-28 2003-04-07 엘지전자 주식회사 Method of duplication for the management port using the bus switching
KR20030039873A (en) * 2001-11-16 2003-05-22 엘지전자 주식회사 Apparatus and method of multi-frame processing
KR20040059556A (en) * 2002-12-27 2004-07-06 유티스타콤코리아 유한회사 Apparatus and Method for capacity increment to data process using dual CPU module in IS-95C PCF block

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272719A (en) * 1995-03-30 1996-10-18 Mitsubishi Electric Corp Communication interface circuit
JPH1196084A (en) * 1997-09-16 1999-04-09 Anritsu Corp Fault detector
KR20030027351A (en) * 2001-09-28 2003-04-07 엘지전자 주식회사 Method of duplication for the management port using the bus switching
KR20030039873A (en) * 2001-11-16 2003-05-22 엘지전자 주식회사 Apparatus and method of multi-frame processing
KR20040059556A (en) * 2002-12-27 2004-07-06 유티스타콤코리아 유한회사 Apparatus and Method for capacity increment to data process using dual CPU module in IS-95C PCF block

Similar Documents

Publication Publication Date Title
US5280283A (en) Memory mapped keyboard controller
US4729124A (en) Diagnostic system
EP0556314B1 (en) Method and apparatus for providing down-loaded instructions for execution by a peripheral controller
CN100388219C (en) Arbitration method and system for redundant controllers
EP0117432B1 (en) Enhanced reliability interrupt control apparatus
CA1231458A (en) System for controlling transfer of commands between processors
US5021777A (en) Mode-selectable communications system
US6065069A (en) Circuit for sensing and automatically switching between an internal and external user I/O device
WO2000079398A2 (en) Common motherboard interface for processor modules of multiple architectures
KR20030057808A (en) Method and Apparatus for detecting and transmitting of Error using PLD
US20050216619A1 (en) Programmable peripheral switch
TWI782305B (en) Server system
KR100431464B1 (en) System and Method of Connecting Alarm Signals
KR20040010570A (en) Old-port node detection and hub port bypass
KR100564235B1 (en) Dual control appratus and method of micro controller in RTU
CN110784376A (en) Equipment with Ethernet PHY register detection function, detection method and device
KR20020009167A (en) UART Serial Communication Controller And Control Method In Multi-Processor Board
KR920009097B1 (en) Maintenance apparatus for signal terminal group of common line signal device
KR200271640Y1 (en) PGA having an interrupt expansion logic
JP2956385B2 (en) Bus line monitoring method
CN117785760A (en) Serial port communication circuit, board card and server
KR930006894B1 (en) Signal terminal group matching circuit
KR0168943B1 (en) Automatic initializing apparatus of limited common memory type atm switch
CN113886041A (en) Access management method and device for interrupt event in CPLD
JPH08191319A (en) Data communication system

Legal Events

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