KR20040016207A - Method and system for system-apu's interactive communication - Google Patents

Method and system for system-apu's interactive communication Download PDF

Info

Publication number
KR20040016207A
KR20040016207A KR1020020048466A KR20020048466A KR20040016207A KR 20040016207 A KR20040016207 A KR 20040016207A KR 1020020048466 A KR1020020048466 A KR 1020020048466A KR 20020048466 A KR20020048466 A KR 20020048466A KR 20040016207 A KR20040016207 A KR 20040016207A
Authority
KR
South Korea
Prior art keywords
apu
communication
transmitted
information
slave
Prior art date
Application number
KR1020020048466A
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 KR1020020048466A priority Critical patent/KR20040016207A/en
Publication of KR20040016207A publication Critical patent/KR20040016207A/en

Links

Classifications

    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE: An interactive communication method and system between a system and an APU(Alarm Panel Unit) is provided to enable a system to catch the normal operation state of an APU, having a function to receive and display the state information of the system, in real time by making the APU retransmit the data containing the state information of the APU to the system. CONSTITUTION: As the state information of an APU(20) is transmitted to a system(10), the system(10) can grasp whether the APU(20) works normally. In case that a plurality of APUs are connected and installed, one master-APU is directly connected with the system(10). The other slave-APUs is connected to the master-APU. The first slave-APU among the slave-APUs communicates with the master-APU and the second-APU. The second APU communicates with the first slave-APU and the third slave-APU. Accordingly, the state information of the first slave-APU through the Nth slave-APU is sequentially transmitted to the master-APU. The master-APU collectively transmits the transmitted state information to the system(10).

Description

시스템과 에이피유간의 양방향 통신 방법 및 시스템{METHOD AND SYSTEM FOR SYSTEM-APU'S INTERACTIVE COMMUNICATION}Bidirectional communication method and system between system and API {{METHOD AND SYSTEM FOR SYSTEM-APU'S INTERACTIVE COMMUNICATION}

본 발명은 시스템과 APU(Alarm Panel Unit)간의 통신 방법에 관한 것으로, 시스템의 상태 정보를 수신하여 표시하는 기능을 가지는 APU와 시스템간의 양방향 통신 방법 및 시스템에 관한 것이다.The present invention relates to a communication method between a system and an alarm panel unit (APU), and to a bidirectional communication method and system between an APU and a system having a function of receiving and displaying status information of a system.

APU란 소정의 시스템으로부터 시스템의 상태 정보를 전송 받아, 시스템에서 장애가 발생할 경우, 즉 장애 코드를 수신할 경우 이를 운용자에게 시각적/청각적으로 알려주는 기능을 하는 장치이다. 이때, 본 발명에서의 APU는 특정 장치를 지칭하는 용어가 아니며, 소정의 시스템에 대한 상태 정보를 수신하여, 시스템의 위험 정도를 시각적 또는 청각적으로 표시하는 모든 장치를 포함하는 개념적인 용어이다.The APU is a device that receives the system state information from a predetermined system and informs the operator visually and audibly when a failure occurs in the system, that is, when a failure code is received. In this case, the APU in the present invention is not a term referring to a specific device, but is a conceptual term that includes all devices that receive status information about a predetermined system and visually or auditively indicate a degree of danger of the system.

예컨대, 시스템이 Critical, Major 및 Minor 등과 같은 응급 단계별 차등의 고장 상태가 발생할 경우, 고장 코드를 수신 받은 APU에서는 상기 각 상태에 따라 설정된 Alarm Lamp를 점등시키거나, 스피커를 통해 소정의 구분 가능한 경고음을 출력함으로써 시스템 운용자로 하여금 시스템의 상태를 신속하게 파악할 수 있도록 한다.For example, when the system has a fault condition such as emergency, critical, major, or minor, the APU receiving the fault code turns on the alarm lamp set according to the above conditions, or a predetermined warning sound through the speaker. The output allows the system operator to quickly determine the state of the system.

또한, 상기 APU는 시스템이 설치된 장소 뿐 아니라 숙직실 및 화장실 등에 설치되어 시스템과의 이격거리에서도 시스템 운용자에게 해당 시스템의 장애를 신속하게 알려주는 역할을 한다. 따라서, 정보의 신뢰성을 확보하기 위해 시스템과APU간에는 고장 단계에 따른 정보가 항상 일치하여야 하며, 장애 발생시 이를 신속하게 운용자에게 알려주는 역할을 해야 한다.In addition, the APU is installed not only in the place where the system is installed, but also in a sleeping room and toilet, and serves to quickly notify the system operator of the failure of the system even at a distance from the system. Therefore, in order to ensure the reliability of information, the information according to the fault level should always be consistent between the system and the APU, and in case of a failure, the operator should be informed quickly.

그러나, 도 1에 도시된 바와 같이 종래의 시스템(10)과 APU(20)간의 통신은 시스템(10)에서 APU(20)로만 데이터가 전송되는 단방향 통신이었다. 따라서, APU(20)에서 시스템(10)으로 통신이 되어지지 않기 때문에 APU(20)의 정상 처리 여부를 알 수 없었으며, 또한, 시스템(10)과 APU(20) 사이의 통신 두절시 이를 알 수 있는 방법이 없었다. 즉, APU(20)에서 시스템(10)으로는 어떠한 정보도 전달되지 않음으로 인해, 시스템(10)의 상태 정보가 APU(20)에 정상적으로 전달되었는지 확인이 되지 않으며, 정상적으로 전달되었다 하더라도, APU(20)의 장애로 인해 시스템(10)의 상태가 정확하게 표시되었는지도 알 수 없다는 문제점이 있다.However, as shown in FIG. 1, the communication between the conventional system 10 and the APU 20 was a unidirectional communication in which data is transmitted only from the system 10 to the APU 20. Therefore, it is not known whether the APU 20 is normally processed because the communication is not made from the APU 20 to the system 10, and also when the communication between the system 10 and the APU 20 is lost. There was no way to do it. That is, since no information is transmitted from the APU 20 to the system 10, it is not confirmed whether the state information of the system 10 is normally transmitted to the APU 20, and even if it is normally transmitted, the APU ( There is a problem that the state of the system 10 is not correctly displayed due to the failure of 20).

따라서, 본 발명의 목적은 시스템의 상태 정보를 수신하여 표시하는 기능을 가지는 APU에서, 상기 APU의 상태정보가 포함된 데이터를 상기 시스템으로 재전송함으로써, 상기 APU의 정상적인 동작상태를 상기 시스템에서 실시간으로 파악할 수 있게 하는 시스템과 APU간의 양방향 통신 방법 및 시스템을 제공함에 있다.Accordingly, it is an object of the present invention to retransmit data including the state information of the APU to the system in an APU having a function of receiving and displaying state information of the system, thereby realizing the normal operating state of the APU in real time in the system. The present invention provides a method and system for bidirectional communication between a system and an APU.

상기한 목적을 달성하기 위한 본 발명은, 상기 시스템의 상태 정보를 포함한 데이터를 상기 APU로 전송하는 과정과, 상기 수신 받은 데이터에 포함된 시스템 상태 정보에 따라 APU에서 상기 시스템의 상태 정보를 표시하는 과정과, APU의 상태 정보가 포함된 데이터를 상기 시스템으로 전송하는 과정과, 상기 전송 받은 APU의 상태 정보를 통해 파악된 APU의 상태를 상기 시스템에서 표시하는 과정을 구비하는시스템과 APU간의 양방향 통신 방법을 구현한다.The present invention for achieving the above object, the process of transmitting the data including the state information of the system to the APU, and in accordance with the system state information included in the received data to display the state information of the system in the APU Bidirectional communication between the system and the APU, comprising: transmitting the data including the state information of the APU to the system; and displaying the state of the APU identified through the received state information of the APU in the system. Implement the method.

상기 APU는 1개의 Master-APU 및 하나 이상의 Slave-APU로 구성되며, 상기 Master-APU가 다수의 Slave-APU의 상태 정보를 취합하여, 상기 시스템으로 전송함을 특징으로 한다.The APU is composed of one Master-APU and one or more Slave-APUs, and the Master-APU collects state information of a plurality of Slave-APUs and transmits them to the system.

또한, 상기 다수의 Slave-APU는 종속 직렬(cascade) 방식 또는 병렬(parallel) 방식으로 연결되어 자신의 상태 정보가 Master-APU까지 전송됨을 특징으로 한다.In addition, the plurality of slave-APUs are connected in a cascaded or parallel manner so that their status information is transmitted to the Master-APU.

상기 APU에서 시스템으로 전송되는 APU 상태 정보는 기 설정된 소정 시간 간격으로 전송되어지며, 소정 회수 및/또는 소정 시간 이상 데이터가 전달되지 않을 경우 상기 시스템에서 APU간의 통신 두절임을 판단하여 통신 장애를 표시하는 과정을 포함한다.The APU state information transmitted from the APU to the system is transmitted at predetermined time intervals, and when data is not transmitted for a predetermined number of times and / or for a predetermined time, the system determines that communication is lost between the APUs and indicates a communication failure. Process.

상기 시스템과 APU간의 통신 장애 판단 이후, 통신이 재개되면 상기 통신 장애 표시를 해제하고 현재 시스템의 상태를 APU에 반영하는 과정을 포함한다.After the communication failure is determined between the system and the APU, if communication is resumed, the process includes releasing the indication of the communication failure and reflecting the state of the current system to the APU.

상기 APU에서 시스템으로 전송되는 APU 상태 정보 데이터는 1Byte 통신 Protocol 데이터(0x0F) 형태로 전송됨을 특징으로 한다.The APU status information data transmitted from the APU to the system is transmitted in the form of 1 byte communication protocol data (0x0F).

상기 APU에서 시스템으로 전송되는 APU 상태 정보는 APU의 ID(Identification) 정보, 가시/가청 정보, Read/Write 정보, 장애 등급 정보 및 통신 두절 상태 정보 중에서 선택된 어느 하나 이상인 것을 특징으로 한다.The APU state information transmitted from the APU to the system may be any one or more selected from identification information (ID) information, visible / audible information, read / write information, failure level information, and communication disconnection state information of the APU.

또한, 상기한 목적을 달성하기 위한 본 발명은, 소정의 시스템으로부터 전송된 시스템 상태 정보를 수신하여 표시하며, 자체 상태 정보를 외부 시스템으로 전송하는 APU(Alarm Panel Unit) 장치와, 상기 APU로부터 전송 받은 APU 상태 정보를 분석하여 시스템과 APU간의 통신 상태를 표시하는 프로그램을 조직화하여 소정의 연산을 수행하는 시스템과, 상기 APU 및 시스템간 소정의 프로토콜(protocol)에 의해 정의된 상태 정보 데이터의 송/수신을 가능하게 하는 전송 장치를 구비하는 시스템과 APU간의 양방향 통신 시스템을 구현한다.In addition, the present invention for achieving the above object, an APU (Alarm Panel Unit) device for receiving and displaying system status information transmitted from a predetermined system, and transmits its own status information to an external system, and the transmission from the APU A system for analyzing a received APU state information and organizing a program indicating a communication state between the system and the APU to perform a predetermined operation, and transmitting / receiving state information data defined by a predetermined protocol between the APU and the system. Implement a bidirectional communication system between an APU and a system having a transmission device that enables reception.

상기 APU는 1개의 Master-APU 및 하나 이상의 Slave-APU로 구성되며, 상기 Master-APU가 다수의 Slave-APU의 상태 정보를 취합하여, 상기 시스템으로 전송함을 특징으로 한다.The APU is composed of one Master-APU and one or more Slave-APUs, and the Master-APU collects state information of a plurality of Slave-APUs and transmits them to the system.

또한, 상기 다수의 Slave-APU는 종속 직렬(cascade)방식으로 연결되어 자신의 상태 정보가 순차적으로 Master-APU까지 전송됨을 특징으로 한다.In addition, the plurality of slave-APUs are connected in a cascaded manner so that their status information is sequentially transmitted to the Master-APU.

상기 APU에서 시스템으로 데이터를 전송시키는 전송 장치는 상기 시스템에서 APU로의 데이터 전송시 사용한 전송 라인과 동일한 라인을 재사용함을 특징으로 한다.The transmission device for transmitting data from the APU to the system is characterized by reusing the same line as the transmission line used when transmitting data from the system to the APU.

상기 전송 라인은 RS-232C 및 RS485 중 선택된 어느 하나의 장치를 통해 시스템 및 APU 상호간 통신함을 특징으로 한다.The transmission line is characterized in that the communication between the system and the APU via any one device selected from RS-232C and RS485.

도 1은 종래 기술에 따른 시스템과 APU(Alarm Panel Unit)간의 단방향 통신을 개략적으로 나타낸 도면.1 is a view schematically showing a one-way communication between a system and an alarm panel unit (APU) according to the prior art.

도 2는 본 발명에 따른 시스템과 APU간의 양방향 통신을 개략적으로 나타낸 도면.2 is a schematic representation of bidirectional communication between a system and an APU in accordance with the present invention;

도 3은 본 발명의 실시 예에 따른 Master-APU 와 Slave-APU 간의 종속 직렬(cascade) 접속 관계를 나타낸 도면.3 is a diagram illustrating a cascade connection relationship between a Master-APU and a Slave-APU according to an embodiment of the present invention.

도 4는 본 발명의 실시 예에 따른 Master-APU 와 Slave-APU 간의 병렬(parallel) 접속 관계를 나타낸 도면4 is a diagram illustrating a parallel connection relationship between a master-apu and a slave-apu according to an embodiment of the present invention;

도 5는 본 발명의 실시 예에 따른 APU의 구조를 나타낸 도면.5 is a view showing the structure of an APU according to an embodiment of the present invention.

도 6은 본 발명의 실시 예에 따른 인터페이스에 의한 Master-APU 와 Slave-APU 간의 병렬 접속 관계를 나타낸 도면.6 is a diagram illustrating a parallel connection relationship between a master-APU and a slave-APU by an interface according to an exemplary embodiment of the present invention.

도 7은 본 발명의 실시 예에 따른 APU의 데이터 내부 처리 절차를 나타낸 흐름도.7 is a flowchart illustrating an internal data processing procedure of an APU according to an embodiment of the present invention.

도 8은 본 발명의 실시 예에 따른 시스템과 APU간의 프로토콜을 정의한 블록도.8 is a block diagram illustrating a protocol between a system and an APU according to an embodiment of the present invention.

이하, 본 발명에 따른 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention will be described in detail.

먼저, 도 2를 참조하여 본 발명에 따른 시스템과 APU간의 양방향 통신을 설명하면, 종래에는 시스템(10)에서 APU(Alarm Panel Unit; 20)로 데이터가 단방향으로 전송되었으나, 상기 도 2에 도시된 바와 같이 본 발명에서는 APU(20)로부터 상기 시스템(10)으로 APU(20)의 상태정보가 전송되므로, APU(20)의 정상 작동 여부를 상기 시스템(10)에서 파악할 수 있다.First, referring to FIG. 2, bidirectional communication between the system and the APU according to the present invention will be described. In the related art, data is unidirectionally transmitted from the system 10 to an APU (Alarm Panel Unit) 20, but is illustrated in FIG. 2. As described above, in the present invention, since the state information of the APU 20 is transmitted from the APU 20 to the system 10, whether the APU 20 is normally operated may be determined by the system 10.

도 3 및 도 4를 참조하면, 상기 APU(20)가 다수개 연결되어 소정 위치에 설치되었을 경우, 하나의 APU를 Master-APU(21)로 설정하여 직접 시스템과 연결하고, 나머지 다수의 APU를 Slave-APU(22 내지 24)로 설정하여 Master-APU(21)와 연결함으로써, 시스템(10)과 APU(20)와의 송/수신 시스템을 보다 효율적으로 구현할 수 있다.3 and 4, when a plurality of APUs 20 are connected and installed at a predetermined position, one APU is set as a master-APU 21 to directly connect with a system, and the remaining plurality of APUs are connected. By setting the slave-APUs 22 to 24 and connecting to the master-APU 21, it is possible to implement a transmission / reception system between the system 10 and the APU 20 more efficiently.

도 3에 도시된 바에 따르면, 다수개의 Slave-APU(22 내지 24)중 제1 Slave-APU(22)는 Master-APU(21) 및 제2 Slave-APU(23)와 통신하며, 제2 Slave-APU(23)는 제1 Slave-APU(22) 및 제3 Slave-APU와 통신하는 순차적인 종속 직렬(cascade)방법으로 송/수신 시스템을 구현할 수 있다. 상기와 같은 방법에 따르면, 제1 Slave-APU(22)부터 제N Slave-APU(24)까지 자신의 상태 정보가 순차적으로 Master-APU(21)에 전송되며, 상기 전송된 다수의 각 Slave-APU(22 내지 24)의 정보가 Master-APU(21)에 종합되어 상기 시스템(10)으로 일괄 전송된다.As shown in FIG. 3, the first Slave-APU 22 of the plurality of Slave-APUs 22 to 24 communicates with the Master-APU 21 and the second Slave-APU 23, and the second Slave. The APU 23 may implement a transmit / receive system in a sequential cascade manner in communication with the first Slave-APU 22 and the third Slave-APU. According to the above method, its own state information is sequentially transmitted from the first Slave-APU 22 to the N-th Slave-APU 24 to the Master-APU 21, and the plurality of transmitted slaves- Information of the APUs 22 to 24 is integrated into the Master-APU 21 and collectively transmitted to the system 10.

예컨대, 하나의 APU(20)에 해당되는 상태 정보가 1byte로 구현된다면, Master-APU(21)에 종합되는 Master-APU(21) 및 N개의 Slave-APU(22 내지 24)의 상태 정보는 (1+N)byte가 되며, 상기 (1+N)byte 정보가 시스템(10)으로 일괄 전송된다.For example, if the state information corresponding to one APU 20 is implemented in 1 byte, the state information of the Master-APU 21 and the N Slave-APUs 22 to 24 synthesized in the Master-APU 21 may be ( 1 + N) bytes, and the (1 + N) byte information is collectively transmitted to the system 10.

상기와 다른 방법으로, 도 4에 도시된 바에 따르면, 하나의 Master-APU(21)에 다수개의 Slave-APU(22 내지 24)가 각각 병렬 연결되는 방법으로 송/수신 시스템을 구현할 수 있다. 각 Slave-APU(22 내지 24)는 개별적으로 Master-APU(21)와 통신하며, 자신의 상태 정보를 직접적으로 Master-APU(21)에 전달하며, 수집된 다수의 Slave-APU(22 내지 24)의 상태 정보는 일괄적으로 시스템(10)에 전송된다.Alternatively, as shown in FIG. 4, a transmission / reception system may be implemented in such a manner that a plurality of slave-APUs 22 to 24 are connected in parallel to one master-APU 21. Each Slave-APU 22 to 24 individually communicates with the Master-APU 21, directly transmits its status information to the Master-APU 21, and collects a plurality of Slave-APUs 22 to 24. ) Status information is collectively transmitted to the system (10).

상기와 같은 병렬 연결 방법은 상기 도 3에서 상술된 종속 직렬 방법에 비해 직접 통신이 가능하다는 장점이 있으나, 각 Slave-APU의 증가에 따른 Master-Slave간 상호 연결단자를 Master에서 추가로 구비하여야 된다는 단점이 있다.The parallel connection method as described above has the advantage that direct communication is possible compared to the slave serial method described above with reference to FIG. 3, but the master-slave interconnection terminal must be additionally provided in the master according to the increase of each slave-APU. There are disadvantages.

한편, 상기 APU를 도 5를 참조하여 상세히 설명하면, 상기 Master-APU(21)는 상술한 시스템의 실시예인 위크스테이션(10)과 연결되며, 다수의 Slave-APU(22 내지 24)와 연결된다. 상기 위크스테이션(10)은 바람직하게는 2개의 동일한 시스템으로 구비되어, 엑티브 워크스테이션(W/S ACT; 11)에 문제 발생시, 스텐바이 워크스테이션(W/S ST-BY; 12)과 통신할 수 있다.Meanwhile, when the APU is described in detail with reference to FIG. 5, the Master-APU 21 is connected to the weak station 10, which is an embodiment of the above-described system, and is connected to a plurality of slave-APUs 22 to 24. . The weak station 10 is preferably provided with two identical systems, so that when a problem occurs in the active workstation W / S ACT 11, the weak station 10 can communicate with the standby workstation W / S ST-BY 12. Can be.

상기 Master-APU(21)는 시스템(10)의 상태를 시각적 또는 청각적으로 표시해 줄 수 있도록 다수의 발광 다이오드를 포함한 비주얼 알람 패널(40) 및 스피커(47)를 구비한다. 시스템(10)으로부터 시스템의 상태 정보를 수신하면, 자체 CPU(38)를 통해 시스템의 상태 정보에 따라, 비주얼 알람 패널(40)의 다이오드(41 내지 45)를 점등시킨다. 또한, 청각적인 알람을 위해 각 상태 정보에 따라 기 설정된 신호음이 증폭기(46) 및 스피커(47)를 통해 출력된다. 추가적으로, 상기 APU의 동작을 위한 전원을 파워 모듈(30)을 통해 공급받는다.The Master-APU 21 includes a visual alarm panel 40 and a speaker 47 including a plurality of light emitting diodes so as to visually or audibly display the state of the system 10. Upon receiving the system state information from the system 10, the diodes 41 to 45 of the visual alarm panel 40 are turned on in accordance with the state information of the system via its CPU 38. In addition, a preset beep is output through the amplifier 46 and the speaker 47 according to each state information for an audible alarm. In addition, power for the operation of the APU is supplied through the power module 30.

상기 Master-APU(21)는 다수의 Slave-APU(22 내지 24) 및 시스템(10)과 양방향 통신을 하며, 바람직하게는 시스템 및 APU간 거리를 고려하여 RS-232C 또는 RS-485의 통신 인터페이스를 이용하며, RJ-45 커넥터를 사용한다. 상기 다수의 Slave-APU(22 내지 24) 및 시스템(10)과 송/수신된 데이터는 멀티플렉서(MUX; 37)를 통해 스위칭된다.The Master-APU 21 is bi-directional communication with a plurality of Slave-APU (22 to 24) and the system 10, preferably the communication interface of RS-232C or RS-485 in consideration of the distance between the system and the APU Use RJ-45 connector. The plurality of Slave-APUs 22 to 24 and the system 10 and the data transmitted / received are switched through a multiplexer (MUX) 37.

또한, 본 발명에 따라 다수의 Slave-APU(22 내지 24)로부터 수집된 상태 정보는 CPU(38)를 통해 메모리(39)에 임시 저장되며, 모든 Slave-APU(22 내지 24)의 상태 정보가 저장되면, 저장된 정보가 일괄적으로 시스템(10)으로 전달된다.Further, according to the present invention, the state information collected from the plurality of Slave-APUs 22 to 24 is temporarily stored in the memory 39 through the CPU 38, and the state information of all the Slave-APUs 22 to 24 is stored. Once stored, the stored information is transferred to the system 10 in a batch.

도 6을 참조하여, 상기 도 3에서 상술한 각 APU(20)들간의 종속 직렬 방법에 의한 연결을 설명하면, Master-APU(21)는 두 대의 워크스테이션(11 및 12)과 RS-232(11a, 12a, 21c 및 21e) 또는 RS-485(11b, 12b, 21d 및 21f) 통신 인터페이스를 통해 연결되는 것이 가능하며, 각 APU(21 내지 24)들 간에는 통상적으로 상호간 이격 거리가 상당하다는 점을 감안하여, RS-485(21b, 22b, 22b, 23a, 23b 및 24a) 통신 인터페이스를 통해 연결되는 것이 바람직하다. 또한, 각각의 APU(21 내지 24)에는 고유 ID를 부여하여 시스템(10)에서 다수의 APU(21 내지 24)를 구별할 수 있다.Referring to FIG. 6, the connection by the cascading serial method between the APUs 20 described above with reference to FIG. 3 will be described. The Master-APU 21 may include two workstations 11 and 12 and an RS-232 ( It is possible to connect via 11a, 12a, 21c and 21e) or RS-485 (11b, 12b, 21d and 21f) communication interface, and it is common for each APU 21 to 24 to have a significant mutual separation distance. In view, it is preferred to be connected via an RS-485 (21b, 22b, 22b, 23a, 23b and 24a) communication interface. In addition, each APU 21 to 24 can be assigned a unique ID to distinguish a plurality of APUs 21 to 24 in the system 10.

이하에서는, 도 7을 참조하여, 상술한 시스템에 의한 본 발명에 따른 시스템과 APU간의 양방향 통신 절차를 설명한다.Hereinafter, a bidirectional communication procedure between the system and the APU according to the present invention by the above-described system will be described with reference to FIG. 7.

먼저, 소정의 시스템(10)으로부터 상태 정보를 수신(S100)하면, 상기 시스템(10)의 상태 정보는 Master-APU 및 다수의 Slave-APU로 전송되며, 각 APU에서는 상기 상태 정보에 따라 시스템(10)의 상태를 시각적/청각적으로 표시한다.First, when receiving the state information from the predetermined system 10 (S100), the state information of the system 10 is transmitted to the master-APU and a plurality of slave-APU, each APU according to the state information in accordance with the system ( The state of 10) is visually and audibly displayed.

또한, 본 발명에 따라 각 APU와의 송/수신 상태가 정상인지를 시스템(10)에서 파악하기 위하여 Master-APU에서는 각 Slave-APU에 할당된 ID 순서대로 순차적으로(S110∼S170) 상태 읽기 명령을 전송(S120)한다. 상기 명령을 수신(S130)받은 Slave-APU에서는 자신의 APU 상태를 Master-APU로 전송하고, 상기 상태 정보는 각 APU의 ID 정보와 함께 Master-APU의 메모리에 저장(S150)된다.In addition, according to the present invention, in order to determine whether the transmission / reception state with each APU is normal, the system 10 issues a status read command sequentially (S110 to S170) in order of ID assigned to each slave-APU. Transmission (S120). The Slave-APU receiving the command (S130) transmits its APU state to the Master-APU, and the state information is stored in the memory of the Master-APU together with ID information of each APU (S150).

상기 모든 Slave-APU에 대한 상태 읽기 명령 및 상태 저장 작업이 완료되면, 상기 저장된 ID 정보 및 상태 정보가 일괄적으로 시스템(10)으로 전송(S180)된다.When the state read command and the state storage operation for all the slave-APUs are completed, the stored ID information and state information are collectively transmitted to the system 10 (S180).

한편, 상기 Master-APU의 상태 읽기 명령후, Slave-APU에서 정상적인 상태 정보를 송신하지 않거나 반응이 없을 경우(S140), 재전송을 하도록 지시하거나, Slave-APU 장치가 없는 것으로 판단(S160)하여, 상기 정보를 Master-APU의 메모리에 저장한다.On the other hand, after the status read command of the Master-APU, if the Slave-APU does not transmit normal status information or there is no reaction (S140), it is instructed to retransmit, or determined that there is no Slave-APU device (S160), The information is stored in the memory of the Master-APU.

상기 도 7에 도시되지는 않았지만, 바람직하게는 소정의 시간간격을 두고 실시간으로 시스템 및 APU간 양방향 통신을 실시하며, 소정 회수 또는 소정 시간 동안 양방향 통신이 두절되었다고 판단되었을 시는 APU 링크의 장애를 시스템에서 표시한다. 또한, 계속되는 통신 시도 결과 통신이 재개되었다고 판단될 경우, 상기 APU 링크 장애 표시를 해재하고, 현재 APU의 상태를 시스템에 반영한다.Although not shown in FIG. 7, preferably, the system and the APU perform bidirectional communication at a predetermined time interval in real time, and when it is determined that the bidirectional communication is interrupted for a predetermined number of times or for a predetermined time, the failure of the APU link is eliminated. Display on the system. In addition, if it is determined that communication is resumed as a result of the subsequent communication attempt, the APU link failure indication is released, and the current state of the APU is reflected in the system.

추가적으로, 상기 시스템에서 APU로 전송되는 시스템 상태 정보 데이터와 APU에서 시스템으로 전송되는 APU 상태 정보 데이터가 같은 라인을 통해 송/수신되므로 데이터의 충돌이 발생할 수 있다. 상기와 같은 경우에는 소정 시간 간격 후에 각 데이터를 재전송할 수 있도록 구현하는 것이 바람직하다.In addition, since system state information data transmitted from the system to the APU and APU state information data transmitted from the APU to the system are transmitted / received through the same line, data collision may occur. In such a case, it is preferable to implement each data to be retransmitted after a predetermined time interval.

상기 절차에 따라 전송되어지는 상태 정보 데이터는 양방향 통신을 위한 프로토콜이 정의되어야 하며, 바람직하게 1byte 정보로 정의될 수 있으며, 상기 데이터의 정의된 프로토콜에 의한 실시예를 도 8을 참조하여 설명한다.The state information data to be transmitted according to the above procedure should be defined as a protocol for bidirectional communication, preferably 1 byte information, an embodiment by the defined protocol of the data will be described with reference to FIG.

도 8에 도시된 바에 따르면, 각 블록당 1bit의 정보가 표시되며, 총 8가지의 정보가 1byte로 구성되어 정의될 수 있다.As shown in FIG. 8, 1 bit of information is displayed for each block, and a total of 8 pieces of information may be defined as 1 byte.

예컨대, 처음 두 bit(50 및 51)는 APU의 ID를 의미하며, 4개의 APU까지 구분이 가능하다. 즉, 00, 01, 10 및 11로 Master-APU 및 Slave-APU를 구별할 수 있다.(본 예시에서는 하나의 Master-APU 및 3개의 Slave-APU로 구성될 수 있다.)For example, the first two bits (50 and 51) represent the ID of the APU, and can distinguish up to four APUs. That is, 00, 01, 10, and 11 can distinguish the Master-APU and the Slave-APU. (In this example, it may consist of one Master-APU and three Slave-APUs.)

가시/가청 bit(52)는 APU의 가시 또는 가청 기능이 정상적으로 동작되는지에 대한 정보가 표시되며, Rd/Wr bit(53)는 시스템과 Master-APU 또는 Master-APU와 Slave-APU간의 데이터 송/수신시, 읽기 명령 및 쓰기 명령의 지시에 대한 구분 정보가 표시된다. 또한, 시스템의 위험 등급에 따라 Critical(54), Major(55) 및 Minor(56) 등의 상태 정보가 표시되며, 시스템의 상태에 따라 중복 선택될 수 있으므로, 각각 별개의 bit로 표시된다.The visible / audible bit 52 indicates information on whether the APU's visible or audible function is normally operated. The Rd / Wr bit 53 indicates data transmission / reception between the system and the master-APU or between the master-APU and the slave-APU. Upon reception, the division information for the instructions of the read command and the write command is displayed. In addition, the status information such as Critical (54), Major (55), and Minor (56) is displayed according to the system's risk level, and since it can be duplicated depending on the system's status, each bit is displayed as a separate bit.

마지막으로, 시스템과 APU 또는 Master-APU와 Slave-APU간의 데이터 통신이 두절되었을 때, LinkFail bit(57)에 표시함으로써 연결상태를 파악한다.Finally, when data communication between the system and the APU or the Master-APU and the Slave-APU is lost, the link status is indicated by the LinkFail bit (57).

상술한 바와 같은 본 발명은, 시스템과 APU간의 양방향 통신을 구현함으로써, 현재 APU의 상태를 파악할 수 있게 되며, 상기 시스템과 APU간이 통신 두절시 운용자에게 장애 발생을 알릴 수 있는 효과가 있다.The present invention as described above, by implementing the bidirectional communication between the system and the APU, it is possible to grasp the current state of the APU, there is an effect that can inform the operator of the failure when the communication between the system and the APU.

Claims (20)

시스템과 APU(Alarm Panel Unit)간의 통신 방법에 있어서,In the communication method between the system and the alarm panel unit (APU), 상기 시스템의 상태 정보를 포함한 데이터를 상기 APU로 전송하는 과정과,Transmitting data including state information of the system to the APU; 상기 수신 받은 데이터에 포함된 시스템 상태 정보에 따라 APU에서 상기 시스템의 상태 정보를 표시하는 과정과,Displaying the state information of the system by the APU according to the system state information included in the received data; APU의 상태 정보가 포함된 데이터를 상기 시스템으로 전송하는 과정과,Transmitting data including the state information of the APU to the system; 상기 전송 받은 APU의 상태 정보를 통해 파악된 APU의 상태를 상기 시스템에서 표시하는 과정을 포함함을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.And displaying the state of the APU identified through the received state information of the APU in the system. 제1항에 있어서,The method of claim 1, 상기 APU는 1개의 Master-APU 및 하나 이상의 Slave-APU로 구성되며,The APU consists of one Master-APU and one or more Slave-APUs, 상기 Master-APU가 다수의 Slave-APU의 상태 정보를 취합하여, 상기 시스템으로 전송함을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.The master-APU collects the state information of a plurality of slave-APU, and transmits to the system, characterized in that the bi-directional communication between the system and the APU. 제2항에 있어서,The method of claim 2, 상기 다수의 Slave-APU는 종속 직렬(cascade) 방식으로 연결되어 자신의 상태 정보가 순차적으로 Master-APU까지 전송됨을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.The plurality of slave-APUs are connected in a cascaded manner so that their status information is sequentially transmitted to the Master-APU. 제2항에 있어서,The method of claim 2, 상기 다수의 Slave-APU는 병렬(parallel) 방식으로 연결되어 자신의 상태 정보가 Master-APU까지 전송됨을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.The plurality of slave-APUs are connected in a parallel manner (parallel) so that their status information is transmitted to the master-APU, characterized in that the bidirectional communication between the system and the APU. 제1항에 있어서,The method of claim 1, 상기 APU에서 시스템으로 데이터를 전송시키는 전송라인은 상기 시스템에서 APU로의 데이터 전송시 사용한 라인과 동일한 라인을 재사용함을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.The transmission line for transmitting data from the APU to the system reuses the same line as the line used for data transmission from the system to the APU. 제5항에 있어서,The method of claim 5, 상기 전송 라인은 RS-232C 및 RS485 중 선택된 어느 하나의 장치를 통해 시스템 및 APU 상호간 통신함을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.The transmission line is a bidirectional communication method between the system and the APU, characterized in that the communication between the system and the APU via any one of the selected device of RS-232C and RS485. 제1항에 있어서,The method of claim 1, 상기 APU에서 시스템으로 전송되는 APU 상태 정보는 기 설정된 소정 시간 간격으로 전송되어지며, 소정 회수 및/또는 소정 시간 이상 데이터가 전달되지 않을 경우 상기 시스템에서 APU간의 통신 두절임을 판단하여 통신 장애를 표시함을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.The APU state information transmitted from the APU to the system is transmitted at a predetermined time interval, and when the data is not transmitted for a predetermined number of times and / or for a predetermined time, the system determines that communication is lost between the APUs and indicates a communication failure. Bidirectional communication method between the system and the APU. 제7항에 있어서,The method of claim 7, wherein 상기 시스템과 APU간의 통신 장애 판단 이후, 통신이 재개되면 상기 통신 장애 표시를 해제하고 현재 시스템의 상태를 APU에 반영함을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.And after communication is resumed after determining communication failure between the system and the APU, canceling the communication failure indication and reflecting the state of the current system to the APU. 제1항에 있어서,The method of claim 1, 상기 APU에서 시스템으로 전송되는 APU 상태 정보 데이터는 1Byte 통신 Protocol 데이터(0x0F) 형태로 전송됨을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.The APU status information data transmitted from the APU to the system is transmitted in the form of 1 byte communication protocol data (0x0F). 제1항에 있어서,The method of claim 1, 상기 APU에서 시스템으로 전송되는 APU 상태 정보는 APU의 ID(Identification) 정보, 가시/가청 정보, Read/Write 정보, 장애 등급 정보 및 통신 두절 상태 정보 중에서 선택된 어느 하나 이상인 것을 특징으로 하는 시스템과 APU간의 양방향 통신 방법.The APU state information transmitted from the APU to the system is any one or more selected from identification information (ID) information, visible / audible information, read / write information, failure level information, and communication disconnection status information of the APU. Bidirectional communication method. 시스템과 APU간의 통신 시스템에 있어서,In the communication system between the system and the APU, 소정의 시스템으로부터 전송된 시스템 상태 정보를 수신하여 표시하며, 자체 상태 정보를 외부 시스템으로 전송하는 APU(Alarm Panel Unit) 장치와,An alarm panel unit (APU) device that receives and displays system status information transmitted from a predetermined system and transmits its own status information to an external system; 상기 APU로부터 전송 받은 APU 상태 정보를 분석하여 시스템과 APU간의 통신 상태를 표시하는 프로그램을 조직화하여 소정의 연산을 수행하는 시스템과,A system which analyzes the APU state information received from the APU, organizes a program indicating a communication state between the system and the APU, and performs a predetermined operation; 상기 APU 및 시스템간 소정의 프로토콜(protocol)에 의해 정의된 상태 정보 데이터의 송/수신을 가능하게 하는 전송 장치를 구비함을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.And a transmission device that enables transmission / reception of status information data defined by the APU and a system-to-system protocol. 제11항에 있어서,The method of claim 11, 상기 APU는 1개의 Master-APU 및 하나 이상의 Slave-APU로 구성되며,The APU consists of one Master-APU and one or more Slave-APUs, 상기 Master-APU가 다수의 Slave-APU의 상태 정보를 취합하여, 상기 시스템으로 전송함을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.The master-APU collects the state information of the plurality of slave-APU, and transmits to the system, characterized in that the bi-directional communication system between the system and the APU. 제12항에 있어서,The method of claim 12, 상기 다수의 Slave-APU는 종속 직렬(cascade)방식으로 연결되어 자신의 상태 정보가 순차적으로 Master-APU까지 전송됨을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.The plurality of slave-APUs are connected in a cascaded manner so that their status information is sequentially transmitted to the Master-APU. 제12항에 있어서,The method of claim 12, 상기 다수의 Slave-APU는 병렬(parallel)방식으로 연결되어 자신의 상태 정보가 Master-APU까지 전송됨을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.The plurality of slave-APUs are connected in a parallel manner (parallel) so that their status information is transmitted to the Master-APU system, characterized in that the bi-directional communication system between the APU. 제11항에 있어서,The method of claim 11, 상기 APU에서 시스템으로 데이터를 전송시키는 전송 장치는 상기 시스템에서 APU로의 데이터 전송시 사용한 전송 라인과 동일한 라인을 재사용함을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.The transmission device for transmitting data from the APU to the system reuses the same line as the transmission line used for data transmission from the system to the APU. 제15항에 있어서,The method of claim 15, 상기 전송 라인은 RS-232C 및 RS485 중 선택된 어느 하나의 장치를 통해 시스템 및 APU 상호간 통신함을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.The transmission line is a bidirectional communication system between the system and the APU, characterized in that the communication between the system and the APU via any one of the selected device of RS-232C and RS485. 제11항에 있어서,The method of claim 11, 상기 APU에서 시스템으로 전송되는 APU 상태 정보는 기 설정된 소정 시간 간격으로 전송되어지며, 소정 회수 및/또는 소정 시간 이상 데이터가 전달되지 않을 경우 상기 시스템에서 APU간의 통신 두절임을 판단하여 통신 장애를 표시함을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.The APU state information transmitted from the APU to the system is transmitted at a predetermined time interval, and when the data is not transmitted for a predetermined number of times and / or for a predetermined time, the system determines that communication is lost between the APUs and indicates a communication failure. Bidirectional communication system between the system and the APU. 제17항에 있어서,The method of claim 17, 상기 시스템과 APU간의 통신 장애 판단 이후, 통신이 재개되면 상기 통신 장애 표시를 해제하고 현재 시스템의 상태를 APU에 반영함을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.After determining that the communication failure between the system and the APU, if communication is resumed, the indication of the communication failure is released and reflects the current system state to the APU, characterized in that the bidirectional communication system between the system and the APU. 제11항에 있어서,The method of claim 11, 상기 APU에서 시스템으로 전송되는 APU 상태 정보 데이터는 1Byte 통신 Protocol 데이터(0x0F) 형태로 전송됨을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.The APU status information data transmitted from the APU to the system is transmitted in the form of 1 byte communication protocol data (0x0F). 제11항에 있어서,The method of claim 11, 상기 APU에서 시스템으로 전송되는 APU 상태 정보는 APU의 ID(Identification) 정보, 가시/가청 정보, Read/Write 정보, 장애 등급 정보 및 통신 두절 상태 정보 중에서 선택된 어느 하나 이상인 것을 특징으로 하는 시스템과 APU간의 양방향 통신 시스템.The APU state information transmitted from the APU to the system is any one or more selected from identification information (ID) information, visible / audible information, read / write information, failure level information, and communication disconnection status information of the APU. Two-way communication system.
KR1020020048466A 2002-08-16 2002-08-16 Method and system for system-apu's interactive communication KR20040016207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020048466A KR20040016207A (en) 2002-08-16 2002-08-16 Method and system for system-apu's interactive communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020048466A KR20040016207A (en) 2002-08-16 2002-08-16 Method and system for system-apu's interactive communication

Publications (1)

Publication Number Publication Date
KR20040016207A true KR20040016207A (en) 2004-02-21

Family

ID=37322258

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020048466A KR20040016207A (en) 2002-08-16 2002-08-16 Method and system for system-apu's interactive communication

Country Status (1)

Country Link
KR (1) KR20040016207A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170142578A (en) * 2016-06-20 2017-12-28 전자부품연구원 Self-Control Method and System for Network Disconnect in Connected Farm

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0798667A (en) * 1993-09-29 1995-04-11 Fujitsu Ltd Remote monitor system
JPH09200381A (en) * 1996-01-12 1997-07-31 Takachiho Tsusho Kk Remote alarm device
KR0174661B1 (en) * 1996-04-10 1999-04-01 김광호 How to manage unsent data between main device and information receiving company in remote safety management system
KR20010096738A (en) * 2000-04-14 2001-11-08 정재용 Central Control Type Computer Remote Management Method using Network
KR20010110794A (en) * 1999-04-30 2001-12-13 데니스 에이치. 얼백 A status monitoring and data processing system suitable for use in a bi-directional communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0798667A (en) * 1993-09-29 1995-04-11 Fujitsu Ltd Remote monitor system
JPH09200381A (en) * 1996-01-12 1997-07-31 Takachiho Tsusho Kk Remote alarm device
KR0174661B1 (en) * 1996-04-10 1999-04-01 김광호 How to manage unsent data between main device and information receiving company in remote safety management system
KR20010110794A (en) * 1999-04-30 2001-12-13 데니스 에이치. 얼백 A status monitoring and data processing system suitable for use in a bi-directional communication device
KR20010096738A (en) * 2000-04-14 2001-11-08 정재용 Central Control Type Computer Remote Management Method using Network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170142578A (en) * 2016-06-20 2017-12-28 전자부품연구원 Self-Control Method and System for Network Disconnect in Connected Farm

Similar Documents

Publication Publication Date Title
US7538659B2 (en) Bed status information system for hospital beds
JP3754456B2 (en) Apparatus in a control and / or management system operating with CAN protocol
EP1710642B1 (en) Distributed control apparatus
US4954809A (en) Continuity-isolation testing for class A wiring in fire alarm system
JPH0157803B2 (en)
CA1299657C (en) Graphic annunciator
KR20040016207A (en) Method and system for system-apu's interactive communication
EP2101262B1 (en) Method for passing a failsafe alarm signal through a life safety system that experiences a catastrophic failure
JP3282613B2 (en) Alarm transmission system.
KR100271302B1 (en) An alarm unit and a method of managing the alarm unit in a fiber line monitoring system
RU2103744C1 (en) Guarding alarm system
JPS63185299A (en) Remote control device
AU672212B2 (en) Improved emergency lighting system
JP3372136B2 (en) Communication error detection system in disaster prevention system using multiplex transmission
JPH08276029A (en) Gas system fire extinguisher with self-diagnostic function
JPH0480616B2 (en)
JPH06132852A (en) Apparatus and method for disconnection- detection and changeover of cable
JPH053039B2 (en)
JPH0326096A (en) Cpu resetting system for controller to be supervised
JPH01191298A (en) Communication monitor system for automatic fire alarm system
JPS62173830A (en) System for detecting disconnection of time division multiplex transmission system
JPH01181263A (en) Alarm system
JP3277000B2 (en) Distributed process input / output device
JPH02149147A (en) Data transfer system for remote supervisory and controlling equipment
JPS61105944A (en) Status display system

Legal Events

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