KR0155335B1 - The control method for data communications board and the same duplexing interface circuit - Google Patents

The control method for data communications board and the same duplexing interface circuit

Info

Publication number
KR0155335B1
KR0155335B1 KR1019950009780A KR19950009780A KR0155335B1 KR 0155335 B1 KR0155335 B1 KR 0155335B1 KR 1019950009780 A KR1019950009780 A KR 1019950009780A KR 19950009780 A KR19950009780 A KR 19950009780A KR 0155335 B1 KR0155335 B1 KR 0155335B1
Authority
KR
South Korea
Prior art keywords
channel
state
alarm
data
data path
Prior art date
Application number
KR1019950009780A
Other languages
Korean (ko)
Other versions
KR960038642A (en
Inventor
이찬용
배형득
조무호
조철회
Original Assignee
양승택
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 양승택, 한국전자통신연구원 filed Critical 양승택
Priority to KR1019950009780A priority Critical patent/KR0155335B1/en
Publication of KR960038642A publication Critical patent/KR960038642A/en
Application granted granted Critical
Publication of KR0155335B1 publication Critical patent/KR0155335B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability

Abstract

본 발명은 상용 워크스테이션에 장착되는 데이타 통신용 보드에 관한 것으로 특히, 2개의 채널(A채널, B채널)을 지원하는 데이타 통신용 보드에 이중화 접속기능을 구현하는 방법 및 그 구조에 관한 것인데, 상용 워크스테이션에 장착되어 2개의 통신채널(A채널, B채널)이 구비된 데이타 통신용 보드에 활성(active) 및 대기(standby) 형태로 이중화 통신 경로를 제공하고, 실시간적 절체가 가동하도록 하여 상대 시스템과의 데이타 통신에 있어 신뢰성 있는 접속기능을 제공하는데 있다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a board for data communication mounted on a commercial workstation, and more particularly, to a method and a structure for implementing a redundant connection function on a board for data communication supporting two channels (A channel and B channel). It provides a redundant communication path in the form of active and standby to the data communication board equipped with two communication channels (A channel and B channel) mounted on the station, and enables the real-time transfer to operate. It is to provide a reliable connection function in data communication.

Description

데이타 통신용 보드에서의 이중화 접속 구조 및 그 제어방법Redundant connection structure and control method in data communication board

제1도는 본 발명의 실시예에 따른 데이타 통신용 보드의 구성 블록도이고,1 is a block diagram illustrating a board for data communication according to an embodiment of the present invention.

제2도는 상기 제1도의 통신보드 정합부의 구성 블록도이고,2 is a block diagram of a communication board matching unit of FIG.

제3도는 A채널이 활성화된 경우의 상기 통신보드 정합부의 연결도이고,3 is a connection diagram of the communication board matching unit when the A channel is activated,

제4a도 및 제4b도는 각각 A채널 및 B채널의 이중화 절체과정을 도시한 순서도이다.4A and 4B are flowcharts illustrating a redundancy switching process of A and B channels, respectively.

본 발명은 테이터 통신용 보드에서의 이중화 접속 구조 및 그 제어방법에 관한 것으로 특히, 상용 워크스테이션에 장착되는 데이타 통신용 보드에 있어서, 신뢰성있는 이중화 접속 기능을 수행하도록 하기 위해, 대상 시스템에서 발생되는 경보 표시 신호에 따라 실시간적으로 이중화 절체가 제어되는 2개의 통신 채널을 포함하는 데이타 통신용 보드의 이중화 접속 구조 및 그 제어 방법에 관한 것이다.The present invention relates to a redundant connection structure in a data communication board and a control method thereof. In particular, in a data communication board mounted on a commercial workstation, an alarm indication generated in a target system is performed to perform a reliable redundant connection function. The present invention relates to a redundant connection structure of a data communication board including two communication channels in which redundancy switching is controlled in real time according to a signal, and a control method thereof.

일반적으로, 워크스테이션을 구성하는 각각의 컴퓨터 시스템에서는 네트워크 연결을 위한 데이타 통신용 보드를 구비하고 있다. 이때, 상기 데이타 통신용 보드에 연결되어 데이타 전송경로로 사용되는 접속망의 소손이나 에러발생 등의 이유로 데이타 통신의 장애가 발생되는 것을 방지하기 위하여 현재 통신채널을 이중화한 통신용 보드가 공급중이다.In general, each computer system constituting a workstation has a board for data communication for network connection. At this time, in order to prevent the occurrence of a failure in data communication due to the loss of an access network connected to the data communication board used as a data transmission path or the occurrence of an error, a communication board is being supplied.

그러나, 상기 채널 이중화 기능을 갖는 종래의 통신용 보드는 불의의 통신장애에 대해서 통신 당사자들 간의 의견이 충분히 교환하지 않은 상태에서는 데이타 통신이 불가능할 때가 발생된다.However, in the conventional communication board having the channel redundancy function, data communication is impossible when the communication parties do not sufficiently exchange opinions about an unexpected communication failure.

왜냐하면 A라는 채널을 사용중 데이타 에러가 발생되면, 각 사용자는 현재의 에러상태가 자신의 시스템에서 발생되었는지 아니면, 상기 A라는 채널을 통하여 연결되어 있는 전송망의 에러인지를 인식할 수 없기 때문이다.This is because, if a data error occurs while using the channel A, each user cannot recognize whether the current error condition is in his system or whether it is an error of a transmission network connected through the channel A.

그러므로, 종래의 통신용 보드로는 데이타 통신시 사용자에게 충분한 신뢰성을 인식시켜 줄 수 없으며, 또한, 사용상의 불편함이 발생되는 문제점이 있다.Therefore, the conventional communication board is not able to recognize a sufficient reliability to the user during data communication, and there is a problem that inconvenience in use occurs.

상기와 같은 문제점을 해소하기 위해, 본 발명에서는 2개이 통신 채널을 구비하는 데이타 통신용 보드의 이중화 접속 구조와, 상대 시스템에서 발생되는 경보 표시 신호에 의해 실시간적으로 그 통신 채널이 이중화 절체되도록 제어하는 데이타 통신용 보드의 제어 방법을 제공함으로써, 신뢰성 있는 이중화 접속 기능을 수행하도록 하고자 한다.In order to solve the above problems, in the present invention, the duplex connection structure of the data communication board having two communication channels and the alarm display signal generated from the counterpart system control the duplication transfer in real time. By providing a control method for a data communication board, it is intended to perform a reliable duplex connection function.

상술한 목적을 달성하기 위한 본 발명의 특징은 즉, 이중화 접속기능을 구비한 데이타 통신용 보드는, 상용 워크스테이션이 사용자 영역에서 동작하는 데이타 통신 응용부와; 상용 워크스테이션의 커널 영역에서 동작하는 디바이스 드라이버부(12)와; 상용 워크스테이션에 장착되어 이중화 접속 기능에 의해 상대 시스템과의 통신에 사용되는 통신보드 정합부로 이루어진다.A feature of the present invention for achieving the above object is a data communication board having a redundant connection function, comprising: a data communication application unit in which a commercial workstation operates in a user area; A device driver unit 12 operating in the kernel region of a commercial workstation; It is equipped with a communication board matching unit mounted on a commercial workstation and used for communication with a counterpart system by a redundant connection function.

상기 데이타 통신 응용부는 상대 시스템과의 통신을 위한 것으로, 더욱 상세하게 상위 응용 프로그램에서 전송되어온 메시지를 상대 시스템에 전송하기 위하여 상기 디바이스 드라이버부로 전송하고, 상기 디바이스 드라이버부를 통해 상대 시스템에서 전송된 메시지를 수신한 후 수신된 프레임을 검사하고 분석하여 해당 상위 응용 프로그램으로 전송한다.The data communication application unit is for communication with a counterpart system, and more specifically, transmits a message transmitted from a higher level application program to the device driver unit to transmit the message to the counterpart system, and transmits a message transmitted from the counterpart system through the device driver unit. After receiving, the received frame is inspected, analyzed and transmitted to the upper application.

상용 워크스테이션의 커널 영역에서 동작하는 상기 디바이스 드라이버부는 사용자 영역에서 동작하는 데이타 통신 응용부와 워크스테이션의 내부 시스템 버스에 장착된 통신보드 정합부 사이에 위치하며, 상기 데이타 통신 응용부에서 전송된 메시지를 상기 통신보드 정합부로 전송하고, 상기 통신보드 정합부에서 전송된 메시지를 데이타 통신 응용부로 전송한다.The device driver unit operating in the kernel area of a commercial workstation is located between the data communication application unit operating in the user area and the communication board matching unit mounted on the internal system bus of the workstation, and the message transmitted from the data communication application unit. Transmits the message to the communication board matching unit, and transmits the message transmitted from the communication board matching unit to the data communication application unit.

상용 워크스테이션의 내부 시스템 버스에 장착된 상기 통신보드 정합부는 이중화된 A채널 및 B채널의 상태를 관리하고, 이중화 절체 기능을 수행하며, 활성화된 채널을 통해 상대 시스템에서 전송되어 온 메시지를 상기 디바이스 드라이버부로 전송하고, 상기 디바이스 드라이버부로부터 전송되어 온 메시지를 상대 시스템에 전송한다.The communication board matching unit mounted on the internal system bus of a commercial workstation manages the state of the redundant A and B channels, performs the redundancy switching function, and sends messages transmitted from the counterpart system through the activated channel to the device. It transmits to a driver part, and transmits the message transmitted from the said device driver part to a counterpart system.

또한, 상기 통신보드 정합부는 일정메모리 영역을 이용하여 현재의 데이타 전송 상태와 운용 상태를 상위 디바이스 드라이버부를 통해 상기 테이터 통신 응용부로 통보하고, 수행에 요구되는 목적 코드를 상기 데이타 통신 응용부에서 상기 디바이스 드라이버부를 경유하여 다운로딩 받는다.In addition, the communication board matching unit notifies the data communication application unit of a current data transmission state and an operating state using a certain memory area to the data communication application unit through an upper device driver unit, and the device transmits the object code required for execution to the device. Download via the driver.

더욱 상세하게, 상기 통신보드 정합부는 A채널 및 B채널과, A채널 관리 모듈 및 B채널 관리 모듈과, 통신처리 모듈로 구성된다.More specifically, the communication board matching unit includes an A channel and a B channel, an A channel management module and a B channel management module, and a communication processing module.

상기 A채널 및 B채널은 상기 시스템으로부터 경보 표시 신호와 데이타를 직접 송수신하며, 상기 A채널 관리 모듈 및 B채널 관리 모듈은 해당 채널에 수신된 경보 표시 신호를 인터럽트로 받아 이중화 절체와 관련된 처리를 수행하며, 상기 통신 처리 모듈은 활성화된 데이타 경로를 통해 상대 시스템과 데이타를 송수신한다.The A channel and the B channel directly transmit and receive an alarm indication signal and data from the system, and the A channel management module and the B channel management module receive an alarm indication signal received on the corresponding channel as an interrupt and perform processing related to redundancy switching. The communication processing module transmits and receives data with the counterpart system through an activated data path.

이하, 첨부된 도면을 참조하여 본 발명의 가장 바람직한 실시예를 설명한다.Hereinafter, with reference to the accompanying drawings will be described the most preferred embodiment of the present invention.

이후, 설명될 실시예에서 동일한 도면 번호는 동일한 기능의 장치 또는 이와 유사한 장치 및 동일한 기능 스텝 또는 이와 유사한 기능의 스텝으로 간주된다.Hereinafter, in the embodiments to be described, the same reference numerals are regarded as devices of the same function or similar devices and steps of the same function or similar functions.

제1도는 본 발명의 실시예에 따른 데이타 통신용 보드의 구성 블록도이고, 제2도는 상기 제1도의 통신보드 정합부의 구성 블록도이고, 제3도는 A채널이 활성화된 경우의 상기 통신보드 정합부의 연결도이고, 제4a도 및 제4b도는 각각 A채널 및 B채널의 이중화 절체과정을 도시한 순서도이다.FIG. 1 is a block diagram of a data communication board according to an embodiment of the present invention, FIG. 2 is a block diagram of the communication board matching unit of FIG. 1, and FIG. 3 is a block diagram of the communication board matching unit when the A channel is activated. 4A and 4B are flow charts illustrating a redundant switching process of A and B channels, respectively.

먼저, 제1도 및 제2도 및 제3도를 참조하여 본 발명의 실시예에 따른 이중화 접속기능을 구비한 데이타 통신용 보드의 동작을 설명한다.First, the operation of a data communication board with a redundant connection function according to an embodiment of the present invention will be described with reference to FIGS. 1, 2, and 3.

제1도를 참조하면, 본 발명의 실시예에 따른 이중화 접속기능을 구비한 데이타 통신용 보드는, 상용 워크스테이션의 사용자 영역에서 동작하는 데이타 통신 응용부(1)와, 상용 워크스테이션의 커널 영역에서 동작하며 메시지를 송수신하기 위해 상기 데이타 통신 응용부(1)에 연결되는 디바이스 드라이버부(2)와, A채널 및 B채널을 구비하여 두 채널 중 어느 하나를 통해 상대 시스템과 통신하고, 상기 디바이스 드라이버부(2)와 상대 시스템 사이에서 메시지를 송수신하기 위해 상기 디바이스 드라이버부(2)와 S-BUS 인터페이스에 의해 연결되는 통신보드 정합부(3)로 구성된다.Referring to FIG. 1, a data communication board having a redundant connection function according to an embodiment of the present invention includes a data communication application unit 1 operating in a user area of a commercial workstation and a kernel area of a commercial workstation. A device driver unit 2 connected to the data communication application unit 1 for transmitting and receiving messages, and having an A channel and a B channel to communicate with a counterpart system through one of two channels, and the device driver It consists of a communication board matching section 3 connected by the S-BUS interface with the device driver section 2 to send and receive messages between the section 2 and the counterpart system.

상대 시스템과 통신하기 위하여, 상용 워크스테이션의 사용자 영역에서 동작하는 상기 데이타 통신 응용부(1)는 상위 응용 프로그램에서 전송되어 온 메시지를 상기 디바이스 드라이버부(2)로 전송하고, 디바이스 드라이버(2)로부터 상대 시스템에서 전송되어 온 메시지를 수신한 후, 수신된 프레임을 검사하고 분석하여 해당 상위 응용 프로그램으로 전송한다.In order to communicate with the counterpart system, the data communication application unit 1 operating in the user area of a commercial workstation transmits a message transmitted from a higher level application program to the device driver unit 2, and the device driver 2 After receiving the message transmitted from the counterpart system from the partner system, the received frame is inspected, analyzed and transmitted to the upper application program.

상용 워크스테이션의 커널 영역에서 동작하는 상기 디바이스 드라이버부(2)는 데이타 통신 응용부(1)와 통신보드 정합부(3) 사이에 위치하며, 상기 데이타 통신 응용부(1)로부터 전송된 메시지를 상기 통신보드 정합부(3)로 전송하고, 상기 통신보드 정합부(3)로부터 전송된 메시지를 상기 데이타 통신 응용부(1)로 전송한다.The device driver unit 2 operating in the kernel area of a commercial workstation is located between the data communication application unit 1 and the communication board matching unit 3, and transmits a message transmitted from the data communication application unit 1. The communication board matching unit 3 transmits the message and the message transmitted from the communication board matching unit 3 to the data communication application unit 1.

S-BUS 인터페이스를 통해 상기 디바이스 드라이버부(2)와 연결된 통신보드 정합부(3)는 이중화된 A채널 및 B채널의 상태를 관리하고, 이중화 절체 기능을 수행한다.The communication board matching unit 3 connected to the device driver unit 2 through the S-BUS interface manages the state of the redundant A channel and the B channel and performs a redundant switching function.

또한, 상기 통신보드 정합부(3)는 활성화된 채널을 통해 상대 시스템으로부터 전송되어 온 메시지를 상기 디바이스 드라이버부(2)로 전송하고, 다른 시스템으로 전송하기 위하여 상기 디바이스 드라이버부(2)로부터 전송되어 온 메시지를 활성화된 채널을 통해 상대 시스템으로 전송한다.In addition, the communication board matching unit 3 transmits a message transmitted from the counterpart system through the activated channel to the device driver unit 2 and from the device driver unit 2 for transmission to another system. The transmitted message is transmitted to the counterpart system through the activated channel.

내부적으로, 상기 통신보드 정합부(3)는 일정 메모리 영역을 이용하여 현재의 데이타 전송 상태와 이중화 운용 상태를 상기 디바이스 드라이버부(2)를 통해 데이타 통신 응용부(1)로 통보하고, 데이타 통신 응용부(1)로부터 상기 디바이스 드라이버부(2)를 경유하여, 수행에 요구되는 목적 코드를 다운로딩 받는다.Internally, the communication board matching unit 3 notifies the data communication application unit 1 via the device driver unit 2 of the current data transmission state and the redundant operation state by using a predetermined memory area, and performs data communication. The object code required for execution is downloaded from the application unit 1 via the device driver unit 2.

이하, 제2도를 참조하여 상기 통신보드 정합부(3)의 구조 및 동작을 보다 상세하게 설명한다.Hereinafter, the structure and operation of the communication board matching unit 3 will be described in more detail with reference to FIG. 2.

제2도를 참조하면, 상기 통신보드 정합부(3)는 다른 시스템과 경보 표시 신호(34a) 및 데이타 신호(34b)를 송수신하는 A채널(34)과, 다른 시스템과 경보 표시 신호(35a) 및 데이타 신호(35b)를 송수신하는 B채널(35)과, 상기 A채널(34)과 경보 표시 신호(34a)를 처리하기 위한 인터럽트 신호선(36)으로 연결된 A채널 관리 모듈(31)과, 상기 B채널(35)과 경보 표시 신호(35a)를 처리하기 위한 인터럽트 신호선(39)으로 연결된 B채널 관리 모듈(33)과, 상기 A채널(34) 및 B채널(35)과 절체 가능한 각각의 데이타 신호선(37, 38)으로 연결됨과 동시에 S-BUS 인터페이스(도시하지 않음)을 통해 상기 디바이스 드라이버부(2)와 연결된 통신처리 모듈(32)로 구성된다.Referring to FIG. 2, the communication board matching unit 3 is an A-channel 34 for transmitting and receiving an alarm display signal 34a and a data signal 34b with another system, and an alarm display signal 35a with another system. And an A channel management module 31 connected to an B channel 35 for transmitting and receiving a data signal 35b, an interrupt signal line 36 for processing the A channel 34 and an alarm display signal 34a, and The B-channel management module 33 connected to the B-channel 35 and the interrupt signal line 39 for processing the alarm display signal 35a, and the respective data that can be switched between the A-channel 34 and the B-channel 35. A communication processing module 32 connected to the signal lines 37 and 38 and connected to the device driver 2 through an S-BUS interface (not shown) is provided.

상기 A채널(34) 및 B채널(35)은 상대 시스템과 경보 표시 신호(34a, 35a) 및 데이타 신호(34b, 35b)를 송수신한다.The A channel 34 and the B channel 35 transmit and receive alarm indication signals 34a and 35a and data signals 34b and 35b with the counterpart system.

이때, 경보 표시 신호가 '발생'이면 상대 시스템에 경보가 발생한 경우를 나타내고, '해제'이면 상대 시스템에 경보가 발생되지 않은 즉, 해제된 경우를 나타낸다.In this case, if the alarm display signal is 'occurred', it indicates that an alarm has occurred in the counterpart system, and if it is 'disabled', it indicates that no alarm is generated in the counterpart system, that is, it is released.

상기 A채널 관리 모듈(31) 및 B채널 관리 모듈(33)은 해당 채널에 경보 표시 신호가 발생되거나 해제되면 현재의 이중화 동작 상태를 고려하여 해당 채널의 활성 또는 대기를 결정하고, 이에 관련된 레지스터와 파라미터를 설정하여 채널 절체를 수행한 후, 상대 시스템으로 해당 채널에 경보 표시 신호를 발생시키거나 해제시키는 기능을 수행한다.When the A channel management module 31 and the B channel management module 33 generate or release an alarm indication signal on the corresponding channel, the A channel management module 31 and the B channel management module 33 determine the activation or standby of the corresponding channel in consideration of the current redundancy operation state, After changing the channel by setting the parameter, it performs the function of generating or releasing the alarm display signal to the corresponding channel to the counterpart system.

상기 통신처리 모듈(32)은 활성화된 데이타 경로를 통해 디바이스 드라이버부(2)와 활성화된 채널 사이에서 메시지를 양방향으로 송수신한다.The communication processing module 32 transmits and receives a message in both directions between the device driver 2 and the activated channel through the activated data path.

즉, 활성화된 채널이 A채널(34)이라면, A채널(34)과 디바이스 드라이버부(2) 사이에서 A채널(34)에서 디바이스 드라이버부(2)로의 메시지 전송 및 디바이스 드라이버부(2)에서 A채널(34)로의 메시지 전송을 수행한다.That is, if the activated channel is the A channel 34, the message transmission from the A channel 34 to the device driver unit 2 and the device driver unit 2 between the A channel 34 and the device driver unit 2 Message transmission to the A channel 34 is performed.

제3도는 A채널(34)이 활성화된 경우의 경로 연결을 나타낸 예로서, 상기 통신처리 모듈(32)은 활성 데이타 경로(37)를 통해 A채널(34)과 메시지를 송수신하고, 대기 데이타 경로(38)는 절단된 상태이다.3 shows an example of a path connection when the A channel 34 is activated. The communication processing module 32 transmits and receives a message with the A channel 34 through the active data path 37, and waits for the data path. 38 is a cut | disconnected state.

이 때, A채널(34)에는 상대 시스템으로부터 '해제'의 경보 표시 신호(34a)가 수신되고 있고, 또한 상대 시스템으로도 '해제'의 경보 표시 신호(34a)가 송신되고 있는 상태이다.At this time, the alarm display signal 34a of the "release" is received from the counterpart system in the A channel 34, and the alarm display signal 34a of the "off" is also transmitted to the counterpart system.

또한, B채널(35)에서는 반대로 '발생'의 경보 표시 신호(35a)가 수신 및 송신되고 있는 상태이다.On the contrary, in the B channel 35, the alarm indication signal 35a of 'occurrence' is being received and transmitted.

상기 B채널(35)은 대기 상태로 데이타 경로(38)는 절단된 상태이나, 채널의 이중화와 관련된 경보 표시 신호(35b)는 B채널 관리 모듈(33)의 제어를 받아 송수신이 가능한 상태이다.The B channel 35 is in a standby state and the data path 38 is disconnected, but the alarm indication signal 35b related to channel redundancy is under a control of the B channel management module 33 to transmit and receive.

반대로, B채널(35)이 활성화 되는 경우에는 데이타 경로(38)를 통해 통신 처리 모듈(32)과 B채널(35) 사이의 메시지 송수신이 수행되며, 데이타 경로(37)는 절단된다.In contrast, when the B channel 35 is activated, the message transmission and reception between the communication processing module 32 and the B channel 35 is performed through the data path 38, and the data path 37 is disconnected.

이 때, 상기 B채널(35)에는 '해제'의 경보 표시 신호(35a)가 송수신 되고, A채널(34)에는 '발생'의 경보 표시 신호(34a)가 송수신된다.At this time, the alarm display signal 35a of 'off' is transmitted and received on the B channel 35, and the alarm display signal 34a of 'occurrence' is transmitted and received on the A channel 34.

이상에서 살펴본 바와 같이, 이중화 채널 절체는 경보 표시 신호(34a, 35a)를 이용하여 A채널 관리 모듈(31) 및 B채널 관리 모듈(33)에 의해서만 실시간적으로 이루어진다.As described above, the redundant channel switching is performed in real time only by the A channel management module 31 and the B channel management module 33 using the alarm display signals 34a and 35a.

통신 처리 모듈(32)은 채널 절체로 인해 어느 채널이 활성 채널로 선택되던 간에 메시지의 전송에는 영향을 받지 않는다.The communication processing module 32 is not affected by the transmission of the message no matter which channel is selected as the active channel due to channel switching.

즉, 이는 데이타 통신 응용부(1) 및 디바이스 드라이버부(2)에서 어느 채널이 활성화 채널인가를 관리할 필요가 없기 때문에 이중화와 관련된 기능이 매우 단순해진다.That is, since the data communication application unit 1 and the device driver unit 2 do not need to manage which channel is the active channel, the function related to redundancy is very simple.

이하, 제4a도 및 제4b도를 참조하여 상기 통신보드 정합부(3)의 A채널 관리 모듈(31) 및 B채널 관리 모듈(33)에서 수행되는 채널의 이중화 절체과정을 설명한다.Hereinafter, referring to FIGS. 4A and 4B, a redundant switching process of channels performed by the A-channel management module 31 and the B-channel management module 33 of the communication board matching unit 3 will be described.

제4a도는 A채널의 이중화 절체과정을 도시한 순서도이고, 제4b도는 B채널의 이중화 절체과정을 도시한 순서도이다.4A is a flowchart illustrating a redundancy switching process of A channel, and FIG. 4B is a flowchart showing a redundancy switching process of B channel.

먼저, 제4a도를 참조하여 A채널의 이중화 절체과정을 살펴보면, 다른 시스템으로부터 A채널(34)로 전송된 경보 표시 신호(34a)에 의해 인터럽트 신호선(36)이 구동되어 인터럽트 신호가 A채널 관리 모듈(31)에 수신된다(S1).First, referring to FIG. 4A, the redundant switching process of the A channel is performed. The interrupt signal line 36 is driven by the alarm indication signal 34a transmitted from the other system to the A channel 34 so that the interrupt signal is managed by the A channel. It is received by the module 31 (S1).

다음으로, 수신된 경보 표시 신호(34a)로부터 A채널의 경보 상태가 '해제'인지 '발생'인지 판단된다(S2).Next, it is determined whether the alarm state of the A channel is 'off' or 'occurrence' from the received alarm display signal 34a (S2).

상기 단계(S2)에서 A채널의 경보 강태가 '해제'인 경우, 수신된 경보 표시 신호(35a)로부터 B채널의 경보 상태가 '해제'인지 '발생'인지 판단된다(S3).When the alarm intensity of the A channel is 'disabled' in the step S2, it is determined whether the alarm state of the B channel is 'disabled' or 'occurred' from the received alarm display signal 35a (S3).

마찬가지로, 상기 단계(S2)에서 A채널의 경보 상태가 '발생'인 경우에도 B채널의 경보 상태가 '해제'인지 '발생'인지 판단된다(S4).Similarly, even when the alarm state of channel A is 'occurred' in step S2, it is determined whether the alarm state of channel B is 'disabled' or 'occurred' (S4).

상기에서 A채널과 B채널의 경보 상태로부터 네가지의 경우가 발생된다.In the above, four cases arise from the alarm states of the A and B channels.

① A채널의 경보 상태가 '해제'이고 B채널의 경보 상태가 '발생'인 제1경우.① The first case where the alarm status of channel A is 'off' and the alarm status of channel B is 'occurring'.

② A채널의 경보 상태가 '해제'이고 B채널의 경보 상태가 '해제'인 제2경우.② The second case where the alarm status of channel A is 'off' and the alarm status of channel B is 'off'.

③ A채널의 경보 상태가 '발생'이고 B채널의 경보 상태가 '해제'인 제3경우.③ The third case where the alarm state of channel A is 'occurred' and the alarm state of channel B is 'off'.

④ A채널의 경보 상태가 '발생'이고 B채널의 경보 상태가 '발생'인 제4경우.④ The fourth case where the alarm state of channel A is 'occurring' and the channel B alarm state is 'occurring'.

상기 제1경우에는 A채널은 활성 상태이고, 반면에 B채널은 대기 상태로 설정된다.In the first case, channel A is active, while channel B is set to a standby state.

보다 상세하게, 상기 A채널 관리 모듈(31)에서 A채널에 관련된 절체에 요구되는 레지스터와 파라미터가 설정된다(S51).More specifically, the registers and parameters required for switching related to the A channel are set in the A channel management module 31 (S51).

상기 통신 처리 모듈(32)과 A채널(34) 간의 데이타 경로(37)의 활성 상태로 메시지의 송수신이 가능하게 되고, 상기 통신 처리 모듈(32)과 B채널(35) 간의 데이타 경로(38)는 대기 상태로 절단 상태가 되어 A채널로 데이타 경로가 절체된다(S52).A message can be transmitted and received in an active state of the data path 37 between the communication processing module 32 and the A channel 34, and the data path 38 between the communication processing module 32 and the B channel 35 is enabled. Is cut to the standby state, and the data path is switched to the A channel (S52).

또한, A채널(34)을 통해 상대 시스템으로 '해제'의 경보 표시 신호(34a)가 전송되고, B채널(35)을 통해 상대 시스템으로 '발생'의 경보 표시 신호(35a)가 전송된다(S53). 전송이 완료되면, 절체과정이 종료된다(S7).In addition, the alarm indication signal 34a of 'off' is transmitted to the counterpart system through the A channel 34, and the alarm indication signal 35a of 'occurrence' is transmitted to the counterpart system through the B channel 35 ( S53). When the transmission is completed, the transfer process is terminated (S7).

또한, 상기 제2경우는 두 채널 모두 활성화된 비정상 상태이며, 로직적으로는 존재할 수 없는 경우이다.In addition, the second case is an abnormal state in which both channels are activated and cannot logically exist.

그러나, 실제의 경우에는 이중화 절체중에 상대 시스템과의 경보 표시 신호를 송수신하는 과정에서 일시적으로 일어날 수 있는 중간 상태이다.However, in the actual case, it is an intermediate state that may occur temporarily in the process of transmitting and receiving an alarm indication signal with the counterpart system during redundancy switching.

이 경우에는, 최종 상태로 안정되도록, 이중화 상태를 변경시키지 않고 절체 과정을 종료한다(S7).In this case, the transfer process is terminated without changing the redundancy state so as to be stable to the final state (S7).

또한, 상기 제3경우에는 A채널은 대기 상태이며, 반면에 B채널은 활성 상태로 설정된다.In the third case, the A channel is in the standby state, while the B channel is set to the active state.

보다 상세하게, 상기 A채널 관리 모듈(33)에서 B채널에 관련된 절체에 요구되는 레지스터와 파라미터가 설정된다(S61).More specifically, the registers and parameters required for switching related to the B channel are set in the A channel management module 33 (S61).

상기 통신 처리 모듈(32)과 B채널(35) 간의 데이타 경로(38)는 활성 상태로 메시지의 송수신이 가능하게 되고, 상기 통신 처리 모듈(32)과 A채널(34) 간의 데이타 경로(37)는 대기 상태로 절단 상태가 되어 B채널로 데이타 경로가 절체된다(S62).The data path 38 between the communication processing module 32 and the B channel 35 enables transmission and reception of messages in an active state, and the data path 37 between the communication processing module 32 and the A channel 34. Is cut to the standby state, and the data path is switched to the B channel (S62).

또한, B채널(35)을 통해 상대 시스템으로 '해제'의 경보 표시 신호(35a)가 전송되고, A채널(34)을 통해 상대 시스템으로 '발생'의 경보 표시 신호(34a)가 전송된다(S63). 전송이 완료되면, 절체과정이 종료된다(S7).In addition, the alarm indication signal 35a of 'off' is transmitted to the counterpart system through the B channel 35, and the alarm indication signal 34a of 'occurrence' is transmitted to the counterpart system through the A channel 34 ( S63). When the transmission is completed, the transfer process is terminated (S7).

마지막으로, 상기 제4경우는 두 채널 모두 비활성화된 비정상 상태이며, 상기 제2경우와 마찬가지로 이중화 절체중에 일시적으로 일어날 수 있는 중간 상태이다.Finally, the fourth case is an abnormal state in which both channels are inactivated, and similarly to the second case, it is an intermediate state that may temporarily occur during the redundancy transfer.

이 경우에도, 최종 상태로 안정되도록 이중화 상태를 변경시키지 않고 절체과정이 종료된다(S7).Even in this case, the transfer process is terminated without changing the redundancy state so as to be stable to the final state (S7).

다음으로, 제4b도를 참조하여 B채널의 이중화 절체과정을 살펴보면, 다른 시스템으로부터 B채널(35)로 전송된 경보 표시 신호(35a)에 의해 인터럽트 신호선(39)이 구동되어 인터럽트 신호가 B채널 관리 모듈(33)에 수신된다(S1).Next, referring to FIG. 4B, the redundant switching process of the B channel is performed. The interrupt signal line 39 is driven by the alarm indication signal 35a transmitted from the other system to the B channel 35 so that the interrupt signal is the B channel. It is received by the management module 33 (S1).

수신된 경보 표시 신호(35a)로부터 B채널의 경보 상태가 '해제'인지 '발생'인지 판단된다(S2).From the received alarm display signal 35a, it is determined whether the alarm state of the B channel is 'off' or 'occurrence' (S2).

상기 단계(S2)에서 B채널의 경보 상태가 '해제'인 경우, 수신된 경보 표시 신호(34a)로부터 A채널의 경보 상태가 '해제'인지 '발생'인지 판단된다(S8).When the alarm state of the channel B is 'disabled' in the step S2, it is determined whether the alarm state of the channel A is 'disabled' or 'occurred' from the received alarm display signal 34a (S8).

마찬가지로, 상기 단계(S2)에서 B채널의 경보 상태가 '발생'인 경우에도 A채널의 경보 상태가 '해제'인지 '발생'인지 판단된다(S9).Similarly, even when the alarm state of channel B is 'occurred' in step S2, it is determined whether the alarm state of channel A is 'disabled' or 'occurred' (S9).

상기에서 A채널과 B채널의 경보 상태로부터 네가지의 경우가 발생하는데 각 경우를 살펴보면 다음과 같다.In the above, four cases occur from the alarm states of the A channel and the B channel.

① B채널의 경보 상태가 '해제'이고 A채널의 경보 상태가 '발생'인 제1경우.① The first case where alarm status of channel B is 'off' and alarm status of channel A is 'occurring'.

② B채널의 경보 상태가 '해제'이고 A채널의 경보 상태가 '해제'인 제2경우.② The second case where the alarm status of channel B is 'off' and the alarm status of channel A is 'off'.

③ B채널의 경보 상태가 '발생'이고 A채널의 경보 상태가 '해제'인 제3경우.③ The third case where the alarm state of channel B is 'occurred' and the alarm state of channel A is 'off'.

④ B채널의 경보 상태가 '발생'이고 A채널의 경보 상태가 '발생'인 제4경우.④ The fourth case where the alarm status of channel B is 'occurring' and the alarm status of channel A is 'occurring'.

상기 제1경우에는 B채널은 활성 상태로 A채널은 대기 상태로 설정된다.In the first case, the B channel is set to an active state and the A channel is set to a standby state.

보다 상세하게, 상기 B채널 관리 모듈(33)에서 B채널에 관련된 절체에 요구되는 레지스터와 파라미터가 설정된다(S101).More specifically, in the B channel management module 33, registers and parameters required for switching related to the B channel are set (S101).

상기 통신 처리 모듈(32)과 B채널(35) 간의 데이타 경로(38)는 활성 상태로 메시지의 송수신이 가능하게 되고, 상기 통신 처리 모듈(32)과 A채널(34) 간의 데이타 경로(37)는 대기 상태로 절단 상태가 되어 B채널로 데이타 경로가 절체된다(S102).The data path 38 between the communication processing module 32 and the B channel 35 enables transmission and reception of messages in an active state, and the data path 37 between the communication processing module 32 and the A channel 34. Is cut to the standby state, and the data path is switched to the B channel (S102).

또한, B채널(35)을 통해 상대 시스템으로 '해제'의 경보 표시 신호(35a)가 전송되고, A채널(34)을 통해 상대 시스템으로 '발생'의 경보 표시 신호(34a)가 전송된다(S103). 전송이 완료되면, 절체과정이 종료된다(S7).In addition, the alarm indication signal 35a of 'off' is transmitted to the counterpart system through the B channel 35, and the alarm indication signal 34a of 'occurrence' is transmitted to the counterpart system through the A channel 34 ( S103). When the transmission is completed, the transfer process is terminated (S7).

또한, 상기 제2경우는 두 채널 모두 활성화된 비정상 상태이며, 로직적으로는 존재할 수 없는 경우이다.In addition, the second case is an abnormal state in which both channels are activated and cannot logically exist.

그러나, 실제의 경우에는 이중화 절체중에 상대 시스템과의 경보 표시 신호를 송수신하는 과정에서 일시적으로 일어날 수 있는 중간 상태이다.However, in the actual case, it is an intermediate state that may occur temporarily in the process of transmitting and receiving an alarm indication signal with the counterpart system during redundancy switching.

이 경우에는, 최종 상태로 안정되도록, 이중화 상태를 변경시키지 않고 절체 과정을 종료한다(S7).In this case, the transfer process is terminated without changing the redundancy state so as to be stable to the final state (S7).

또한, 상기 제3경우에는 B채널은 대기 상태로 A채널은 활성 상태로 설정된다.In the third case, the B channel is set to the standby state and the A channel is set to the active state.

보다 상세하게, 상기 B채널 관리 모듈(33)에서 A채널에 관련된 절체에 요구되는 레지스터와 파라미터가 설정된다(S201).More specifically, the registers and parameters required for switching related to the A channel are set in the B channel management module 33 (S201).

상기 통신 처리 모듈(32)과 A채널(34) 간의 데이타 경로(37)는 활성 상태로 메시지의 송수신이 가능하게 되고, 상기 통신 처리 모듈(32)과 B채널(35) 간의 데이타 경로(38)는 대기 상태로 절단 상태가 되어 A채널로 데이타 경로가 절체된다(S202).The data path 37 between the communication processing module 32 and the A channel 34 enables active transmission and reception of messages, and the data path 38 between the communication processing module 32 and the B channel 35. Is in the truncated state, and the data path is switched to the A channel (S202).

또한, A채널(34)을 통해 상대 시스템으로 '해제'의 경보 표시 신호(34a)가 전송되고, B채널(35)을 통해 상대 시스템으로 '발생'의 경보 표시 신호(35a)가 전송된다(S203). 전송이 완료되면, 절체과정이 종료된다(S7).In addition, the alarm indication signal 34a of 'off' is transmitted to the counterpart system through the A channel 34, and the alarm indication signal 35a of 'occurrence' is transmitted to the counterpart system through the B channel 35 ( S203). When the transmission is completed, the transfer process is terminated (S7).

마지막으로, 상기 제4경우는 두 채널 모두 비활성화된 비정상 상태이며, 상기 제2경우와 마찬가지로 이중화 절체중에 일시적으로 일어날 수 있는 중간 상태이다.Finally, the fourth case is an abnormal state in which both channels are inactivated, and similarly to the second case, it is an intermediate state that may temporarily occur during the redundancy transfer.

이 경우에도, 최종 상태로 안정되도록 이중화 상태를 변경시키지 않고 절체과정이 종료된다(S7).Even in this case, the transfer process is terminated without changing the redundancy state so as to be stable to the final state (S7).

상기와 같이 구성되어 동작하는 본 발명의 효과는 다음과 같다.Effects of the present invention configured and operated as described above are as follows.

디지탈 이동 통신을 위한 목적 시스템에서 운용 보전 장치와 같은 상용 워크스테이션을 내부 통신망에 접속할 때, 이중화된 접속 기능을 제공함으로써 데이타 통신에 있어 경로의 신뢰성을 높여준다.When the target system for digital mobile communication connects a commercial workstation such as an operation maintenance device to the internal communication network, the redundant connection function increases the reliability of the path in data communication.

또한, 통신보드 정합부에서만 독립적으로 경부 표시 신호에 의해 채널을 절체시킴으로써 실시간적으로 절체가 가능하여 데이타 손실이 극소화되고, 이중화에 관련된 모듈이 최소화되어 이중화 접속기능이 매우 간단 명료하게 구현될 수 있다.In addition, switching can be performed in real time by switching channels independently by the neck display signal only in the communication board matching unit, thereby minimizing data loss and minimizing the modules related to redundancy so that the redundancy connection function can be implemented very simply and clearly. .

Claims (2)

상용 워크스테이션의 사용자 영역에서 동작하며 상위 응용 프로그램과 메시지를 송수신하는 데이타 통신 응용부와, 상용 워크스테이션의 커널 영역에서 동작하며 상기 데이타 통신 응용부와 메시지를 송수신하는 디바이스 드라이버부 및 상대 시스템과 상기 디바이스 드라이버부 사이에서 메시지를 송수신하는 통신 보드 정합부로 구성된 데이타 통신용 보드에 있어서, 상기 통신 보드 정합부는 상대 시스템과 연결되어, 상기 상대 시스템의 정상여부를 나타내는 경보 표시 신호와 데이타 신호를 송수신하는 A채널 및 B채널과; 상기 A채널의 인터럽트 요청에 의해 구동되며, 상기 A채널 및 B채널에서 수신된 상기 경보 표시 신호로부터, 상기 각 채널의 상태를 '활성' 또는 '대기'로 설정한 후, 채널의 상태가 '활성'인 채널의 데이타 경로를 연결시키고 채널의 상태가 '대기'인 채널의 데이타 경로를 차단시키도록 하는 A채널 관리 모듈과; 상기 B채널의 인터럽트 요청에 의해 구동되며, 상기 A채널 및 B채널에서 수신된 상기 경보 표시 신호로부터, 상기 각 채널의 상태를 '활성' 또는 '대기'로 설정한 후, 채널의 상태가 '활성'인 채널의 데이타 경로를 연결시키고 채널의 상태가 '대기'인 채널의 데이타 경로를 차단시키도록 하는 B채널 관리 모듈; 및 상기 A채널 관리 모듈 및 B채널 관리 모듈에 의해, 상기 A채널 또는 B채널의 데이타 경로로 연결되고 상기 다바이스 드라이버부와 인터페이스되어, 데이타 경로가 연결된 채널과 상기 디바이스 드라이버부 사이에서 데이타의 송수신을 수행하는 통신 처리 모듈로 구성된 것을 특징으로 하는 이중화 접속기능을 구비한 데이타 통신용 보드.A data communication application unit operating in the user domain of a commercial workstation and transmitting and receiving messages to and from a higher level application program, a device driver unit and a counterpart system operating in the kernel domain of a commercial workstation and transmitting and receiving messages to and from the data communication application unit, A data communication board comprising a communication board matching unit for transmitting and receiving messages between device driver units, wherein the communication board matching unit is connected to a counterpart system to transmit and receive an alarm indication signal and a data signal indicating whether the counterpart system is normal or not. And a B channel; Driven by the interrupt request of the A channel, and after setting the state of each channel to 'Active' or 'Standby' from the alarm indication signal received on the A and B channels, the state of the channel is 'Active' An A-channel management module for connecting the data path of the 'in channel and blocking the data path of the channel whose channel state is' waiting'; Driven by the interrupt request of the B channel, and after setting the state of each channel to 'active' or 'standby' from the alarm indication signal received on the A and B channels, the state of the channel is 'active' A B-channel management module for connecting the data path of the 'in channel' and blocking the data path of the channel whose channel state is 'waiting'; And the A channel management module and the B channel management module connected to the data path of the A channel or the B channel and interfaced with the device driver to transmit and receive data between the channel to which the data path is connected and the device driver. Board for data communication with a redundant connection function, characterized in that consisting of a communication processing module to perform. 일측 채널로부터 인터럽트 신호가 수신되면, 상기 인터럽트가 요청된 일측 채널로 인가된 경보 표시 신호의 상태가 '경보 발생'인지 '경보 해제'인지 판단하는 제1단계와; 타측 채널로 인가된 경보 표시 신호의 상태가 '경보 발생'인지 '경보 해제'인지 판단하는 제2단계와; 상기 제1단계 및 제2단계의 판단 결과, 상기 두 채널로 인가된 경보 표시 신호의 상태가 모두 '경보 해제' 또는 '경보 발생' 상태인경우, 최종 상태로 안정되도록 이중화 상태를 변경시키지 않고, 절체 과정을 종료하는 제3단계; 및 상기 제1단계 및 제2단계의 판단 결과, 상기 두 채널로 인가된 경보 표시 신호의 상태가 다를 경우, 그 상태가 '경보 해제'인 채널의 데이타 경로가 연결되도록 하고, 그 상태가 '경보 발생'인 채널의 데이타 경로는 차단되도록 하는 제4단계로 구성된 것을 특징으로 하는 데이타 통신용 보드의 이중화 접속 제어 방법.A first step of determining, when an interrupt signal is received from one channel, whether an alarm indication signal applied to the one channel for which the interrupt is requested is 'alarm occurrence' or 'alarm release'; Determining whether the state of the alarm display signal applied to the other channel is 'alarm generation' or 'alarm release'; As a result of the determination of the first step and the second step, when the state of the alarm display signal applied to the two channels is 'alarm release' or 'alarm occurrence' state, the redundancy state is not changed to be stable to the final state. Terminating the transfer process; And when the state of the alarm display signal applied to the two channels is different as a result of the determination in the first and second steps, the data path of the channel whose state is 'alarm release' is connected, and the state is 'alarm'. And a data path of a channel, which is 'occurred', is configured in a fourth step of blocking the data path of the data communication board.
KR1019950009780A 1995-04-25 1995-04-25 The control method for data communications board and the same duplexing interface circuit KR0155335B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950009780A KR0155335B1 (en) 1995-04-25 1995-04-25 The control method for data communications board and the same duplexing interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950009780A KR0155335B1 (en) 1995-04-25 1995-04-25 The control method for data communications board and the same duplexing interface circuit

Publications (2)

Publication Number Publication Date
KR960038642A KR960038642A (en) 1996-11-21
KR0155335B1 true KR0155335B1 (en) 1998-11-16

Family

ID=19412897

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950009780A KR0155335B1 (en) 1995-04-25 1995-04-25 The control method for data communications board and the same duplexing interface circuit

Country Status (1)

Country Link
KR (1) KR0155335B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100464354B1 (en) * 1997-07-11 2005-04-06 삼성전자주식회사 Client / server system and method for error-free message processing

Also Published As

Publication number Publication date
KR960038642A (en) 1996-11-21

Similar Documents

Publication Publication Date Title
US5559794A (en) Telecommunication system with selective remote interface assembly and method
US5182554A (en) Third party evavesdropping for bus control
US6345309B2 (en) Communication-terminal management system with storage-processing-system network and real-time-processing-system network and a communication terminal for these networks
KR0155335B1 (en) The control method for data communications board and the same duplexing interface circuit
KR100214134B1 (en) Method for self-test of standby processor in full electronic switching system
KR100277830B1 (en) Device for managing redundancy of base station in mobile communication system and method of changing its operation
JP3149047B2 (en) Redundant data processor
KR970000069B1 (en) Internal network interface for mobile communication system
KR950001517B1 (en) Dualized packet bus control circuit in the packet call control processor
JP2666849B2 (en) Remote monitoring device
KR0143970B1 (en) Telecommunication part control system
KR20040005289A (en) Apparatus and method for duplication of communication control module
KR960025162A (en) Intelligent Network Service Call Control Method for Advanced Intelligent Service Switch
KR100279827B1 (en) Independent operation control method of remote access switch module
KR100227516B1 (en) Apparatus for controlling pstn subscriber
KR940007830B1 (en) Method of signaling the time-out situation on real-time os
KR200326001Y1 (en) Redundancy device of space switch of electronic exchange
KR19990042271A (en) How to handle link control protocol in V5.2 interface
KR20000028406A (en) Structure for duplicating inter processor communication network in switching system
KR20040074862A (en) An apparatus and method for testing effectively stand-by side board
KR100271299B1 (en) Method of alternating abnormal mk5025 chip to normal mk5025 chip automatically
KR20000046529A (en) Method for reporting of device control board's duplexing status
KR0121970B1 (en) Common-bus managing method in an exchanger
KR19980041315A (en) How to manage number seven link status
JPS6220459A (en) Stand-alone transfer control system

Legal Events

Date Code Title Description
A201 Request for 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: 20070702

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee